1 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4 * insetert.[Ch]: implement getStatus
6 * insetcharstyle.C (draw): visual clue when the cursor is inside
9 2004-11-02 José Matos <jamatos@lyx.org>
11 * insetcharstyle.C (docbook):
12 * insetlabel.C (linuxdoc, docbook):
13 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
16 * insettabular.C (docbook): mixed content no longer belongs to
19 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
23 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * ExternalSupport.C (updateExternal): convert files in the temp dir
27 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * insetcharstyle.C: drawing cosmetics.
31 2004-10-30 José Matos <jamatos@lyx.org>
33 * insetcharstyle.C (docbook): a compromisse solution. Don't output
34 paragraph tags inside inline elements.
36 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
39 InsetText methods rather than outputVerbatim (escapes special
40 characters) [bug 1731]
41 * insetcharstyle.C (outputVerbatim): remove this function.
42 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
43 which caused an infinite loop.
45 2004-10-29 José Matos <jamatos@lyx.org>
47 * insetgraphics.C (uniqueID): transfered to sgml.C
49 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
51 * insetlabel.C (docbook, linuxdoc):
52 * insetref.C (docbook, linuxdoc): sanitize id.
54 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
57 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
58 * insetgraphics.C (findTargetFormat): reformat
60 2004-10-28 José Matos <jamatos@lyx.org>
62 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
64 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
68 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
71 "[,,,]" without warning message
73 2004-10-26 Angus Leeming <leeming@lyx.org>
75 * ExternalSupport.C (updateExternal):
76 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move external
77 files to the temp directory.
79 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
82 layouts. This fixes problems with the memoir class (which does not
83 allow \footnote) [bug 1677]
85 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
87 * insetindex.C (docbook): escape the index, to generate correct sgml.
89 2004-10-23 José Matos <jamatos@lyx.org>
91 * insettext.C (docbook): rearrange arguments, due to change in the upper
94 2004-10-23 André Pönitz <poenitz@gmx.net>
96 * insettabular.C (cutSelection, tabularFereatures):
97 fix cursor position after cutting selection or table rows
99 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
101 * insetgraphics.C (docbook, writeImageObject): write more than one
102 format of imageobjects in <mediaobject>.
104 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
106 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
107 DocBook output for this inset ( <citation>content</citation> )
109 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
111 * insetgraphics.C (docbook) : using mediaobject for XML;
112 correcting bug with SGML output (now '>' instead of '/>')
114 2004-10-05 José Matos <jamatos@lyx.org>
116 * insetfloatlist.C (read):
117 * insetquotes.C (read):
118 * insetspace.C (read):
119 * insetspecialchar.C (read):
120 * insettabular.C (read): replace nextToken by more appropriate lex
123 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
125 * insetgraphics.C (createDocBookAttribute, docbook) :
126 convert scale, width, height and keepaspectratio to Docbook standards)
128 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
129 to Docbook units where possible.
131 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
133 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
135 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
136 as attributes with new method for docbook.
138 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * render_preview.h: Use preferred calling of Boost.Signal
142 * pch.h: use proper signal include
144 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * ExternalTransforms.h: User preferred calling of Boost.Function
148 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
150 * insetref.C (docbook): fixing problem where Docbook XML output
151 had unclosed <xref ... >
153 2004-08-16 José Matos <jamatos@lyx.org>
155 * insethfill.C (write):
156 * insetline.C (write):
157 * insetnewline.C (write):
158 * insetpagebreak.C (write): remove space at end of line.
160 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * insettabular.C (plaintext): do not use ownerPar to get the
165 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
166 and it calls getParentLanguage (which calls ownerPar)
167 (edit): do not call sanitizeEmptyText
168 (priv_dispatch): remove code resetting font on empty inset, for
169 the same reasons as above.
171 * insettabular.C (isRightToLeft): instead of using
172 BufferView::getParentLanguage, use the data from the cursor
174 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * Makefile.am: support pch
180 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * insettabular.C (draw): whitespace
184 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
186 2004-08-14 André Pönitz <poenitz@gmx.net>
188 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
190 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * insettabular.C (metrics): when the width of a cell is zero(),
193 let it use as much space as it can
195 * insettext.C (editXY): compilation fix
197 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
199 (metrics): the insets is not full width any more.
200 (draw): adjust; fix bad test for PREVIEW_OFF
201 (add_preview): fix bad test for PREVIEW_OFF
202 (display): do not return true when using \input
204 2004-08-14 José Matos <jamatos@lyx.org>
206 * insetbibitem.[Ch] (plaintext): added.
208 * insetcite.[Ch]: fix plaintext export.
210 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
212 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
215 * insetcaption.C (InsetCaption): modify call to setDrawFrame
216 * insetcollapsable.C (InsetCollapsable): ditto
217 * insetenv.C (InsetEnvironment): ditto
219 2004-08-14 André Pönitz <poenitz@gmx.net>
222 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
224 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * insetoptarg.C (latexOptional): if the optional argument contains
227 a ']' enclose it in {curly brackets}
229 * insettext.C (editXY):
230 * insettabular.C (editXY):
231 * insetcollapsable.C (editXY):
232 * insetbase.C (editXY): constify
234 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
235 not ask for an update if we did nothing; on a mouse release, make
236 sure that the cursor is moved to the right position; on a mouse
237 release, exit from the inset instead of invoking a
240 * insetbase.C (dispatch): before invoking dispatch, set cursor
241 result to dispatch=update=true.
243 2004-08-13 José Matos <jamatos@lyx.org>
245 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
247 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * insetfoot.C (latex): use OutputParams::intitle instead of
250 parOwner() (avoids time consuming lookup)
252 * insetquotes.C (latex): same as above with OutputParams::lang.
253 Moreover the code actually works now.
255 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
257 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
258 * insetinclude.C, insetgraphics.C, insetfloat.C:
259 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
260 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
261 "support/std_sstream.h" to <sstream>
263 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * insetgraphics.C (prepareFile): remove conversion_needed flag.
266 It made the following fail for a .eps graphics file:
268 2) view->pdf (pdflatex)
269 because the .eps file was already in the temp dir when the pdflatex
270 export happened and therefore no .eps -> pdf conversion was done.
272 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * insetgraphics.C, insettabular.C: s/wether/whether/g
276 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * insetgraphics.C (stripExtension): new
279 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
281 * insetgraphics.C (prepareFile): Handle "nice" exports, too
282 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
284 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * insetfloatlist.C (latex,getScreenLabel): translate according to
287 the document language (bug #1312)
289 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
292 with external_in_tmpdir and compute filename ourself
293 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
294 use it to store referenced file(s)
295 * ExternalSupport.C (writeExternal): write relative filename if
297 * ExternalTemplate.[Ch]: add ReferencedFile command
298 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
300 * insetgraphics.C (prepareFile): write relative filename if
302 * insetinclude.C (latex, docbook, linuxdoc): add file to
303 runparams.exportdata and write it to the temp dir instead of
304 writing it to the final destination
305 * insetinclude.C (docbook, linuxdoc): don't copy runparams
307 2004-05-19 Angus Leeming <leeming@lyx.org>
309 * insetcite.[Ch]: small change because namespace biblio is
310 now namespace lyx::biblio.
312 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * insettabular.[Ch] (buffer): make Buffer * argument const
316 2004-05-17 Angus Leeming <leeming@lyx.org>
318 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
319 to force the button label to be re-generated.
321 2004-05-14 José Matos <jamatos@lyx.org>
323 * insetlabel (docbook): do not ouput label, for the moment.
325 2004-05-14 Angus Leeming <leeming@lyx.org>
327 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
328 new biblio::asValidLatexString function.
330 2004-05-12 Angus Leeming <leeming@lyx.org>
332 * insetcite.C: use BufferParams::cite_engine rather than the three
333 bools, use_natbib, use_jurabib, use_numerical_citations.
335 2004-05-10 Angus Leeming <leeming@lyx.org>
337 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
338 Ditto with getStyle, moved to biblio::getEngine.
340 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
342 * insetgraphics.C (validate): remove pre 233 file format stuff,
343 handle zipped files for "nice" export
345 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * insetgraphics.C (prepareFile): copy zipped file and corresponding
348 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
349 * insetgraphics.C (prepareFile): unzip zipped file also if it has
350 changed since the last run
351 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
352 and copyFileIfNeeded.
354 2004-04-29 Angus Leeming <leeming@lyx.org>
356 * ExternalTemplate.[Ch]: remove redundant #includes.
358 2004-04-28 Angus Leeming <leeming@lyx.org>
361 s/updateToolbar()/updateToolbars()/
363 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * insetgraphics.C: require file extension (file format change!)
366 * insetgraphics.C (latex): handle zipped files for "nice" export
368 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
370 * insetgraphics.C (latex): strip the extension and replace dots in
371 the filename if doing a "nice" export. This is a partial fix for
372 bug 1231 without reintroducing bug 655.
374 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * insetoptarg.h: remove the editable() method (InsetCollapsable
377 does it better already)
379 * insetbibtex.C (normalize_name): new helper function. Changes the
380 name to be suitable to use in a latex file (relative to master
381 buffer if necessary).
382 (latex): use normalize_name.
384 2004-04-20 Angus Leeming <leeming@lyx.org>
386 * render_preview.C (startLoading): remove lyxerr statement.
388 (getPreviewLoader): new helper function.
390 2004-04-19 Angus Leeming <leeming@lyx.org>
394 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
396 2004-04-19 Angus Leeming <leeming@lyx.org>
398 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
400 (add_preview): renamed as add_preview_and_start_loading. Invoke
401 RenderPreview::startLoading.
403 * insetinclude.C (metrics, draw): changes due to the changed
404 RenderPreview interface.
406 * render_preview.C: remove cached pimage_.
407 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
408 (draw): don't call startLoading. That's up to the user of
411 2004-04-16 Angus Leeming <leeming@lyx.org>
413 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
415 2004-04-13 Angus Leeming <leeming@lyx.org>
417 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
418 the renderer to inform LyX::updateInset that the inset's status
419 has changed and it should be redrawn.
421 * render_button.[Ch] (clone):
422 * render_graphic.[Ch] (c-tors, clone):
423 * render_preview.[Ch] (c-tors, clone): ditto.
425 * render_graphic.[Ch] (connect):
426 * render_preview.[Ch] (connect): removed, as connection is now
427 made in the constructors.
431 * insetinclude.C: ensuing simplification of the client code.
432 (statusChanged): now superfluous. Removed.
434 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * ExternalTemplate.[Ch]: remove editCommand
437 * ExternalSupport.C (editExternal): use formats.edit() instead of
438 the removed editCommand template parameter
439 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
440 * insetgraphics.[Ch] (editGraphics): new method
442 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * insetinclude.C (validate): set/reset features.buffer_ when
447 2004-04-07 Angus Leeming <leeming@lyx.org>
449 * insetexternal.C (priv_dispatch):
450 * insetinclude.C (priv_dispatch): prevent crash by invoking
451 InsetOld::priv_dispatch at the end of the switch, rather than
452 InsetOld::dispatch...
454 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
456 * insetcollapsable.C:
457 * insetbranch.C: 'assign' to open/close branch inset according to
458 selection; also print content on closed branch button
460 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
463 $$RelPath_Master, $$RelPath_Parent, $$Extension,
464 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
466 * ExternalSupport.C (updateExternal): use absolute and output
467 filename where appropriate
469 2004-04-05 André Pönitz <poenitz@gmx.net>
471 * insetbase.h: use LCursor & in notifyCursorLeave
473 2004-04-05 Angus Leeming <leeming@lyx.org>
475 * insetgraphics.C: remove unused header file "lyxrc.h".
477 * render_graphic.C: squash bug 1372: Misleading graphics label when
478 deactivating lyx view.
480 2004-04-05 Angus Leeming <leeming@lyx.org>
485 * insetlatexaccent.C:
490 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
492 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * insetfloat.C (read): fix yesterday's float fix.
495 * insetwrap.C (read): apply the fixed float fix.
497 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * insetfloat.C (read): fix reading of float params
502 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
504 * insettext.C (edit): comment the call to updateLocal (dangling now)
505 * insettext.h: add allowSpellCheck() returning true
507 2004-03-31 Angus Leeming <leeming@lyx.org>
509 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
511 2004-03-31 Angus Leeming <leeming@lyx.org>
513 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
514 the cursor out of an inset.
516 * insetbranch.C (priv_dispatch):
517 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
518 use getOutOfInset to push the cursor out of the inset when
521 2004-03-30 Angus Leeming <leeming@lyx.org>
523 * insetbase.[Ch] (translate): new static member function, returns
524 an InsetBase::Code corresponding to the input string.
526 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
528 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
529 so that it opens the inset if it refers to the currently active
532 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
534 * insetfloat.C (addToToc): use par_const_iterator_begin and
535 par_const_iterator_end.
537 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * insetbibtex.[Ch]: bibtopic support.
541 * insetfloat.[Ch]: add param \sideways {true|false}
542 (support for sideways floats from rotating.sty).
544 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
546 * insettext.[Ch]: add a default ctor. implement const version of
552 * insetwrap.C: adjust
554 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
556 * insettext.h: add insetAllowed returning true by default (fixing
557 vanishing insets problem)
559 * insettext.C (draw): handle the responsability of adding the
560 ouside offset to collapsable. Clean code a bit.
562 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
563 from insettext correctly, solve a couple of off-by-one drawing
566 2004-03-25 Angus Leeming <leeming@lyx.org>
568 * insetcaption.C (draw): squash warning about unused variable.
570 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
572 * ExternalSupport.C: use the master buffer's temp dir
573 * insetgraphics.C (latex): make relative filename relative to the
575 * insetgraphics.C: use the master buffer's temp dir
576 * insetinclude.C (masterFilename): new function
577 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
578 is always true if loadIfNeeded() returns true)
580 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
582 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
583 set its parent to the current buffer.
584 (latex): use the tmppath of the master buffer, not just the parent
585 buffer (makes a difference with more than one level of include
586 insets). If the file name is relative write in the .tex file a
587 name relative to the master buffer directory.
589 * insetinclude.C: rename masterFilename to parentFilename (this
590 points to the direct parent)
592 2004-03-25 André Pönitz <poenitz@gmx.net>
594 * inset.[Ch]: remover owner
596 * insetcollapsable.[Ch]: derive from InsetText instead having such a
604 * insetcharstyle.[Ch]:
612 * insetwrap.C: adjust
614 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * insetquote.C: use opening quote after '[' char.
618 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
620 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
623 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * insetcite.[Ch]: support jurabib.
627 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * insetcite.C: Support second \cite option.
632 * insetcommandparams.[Ch]: add second optional argument.
634 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
636 * insetcollapsable.C (lfunMouseRelease): right mouse button only
637 shows the inset dialog.
639 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
641 * insetlabel.[Ch]: remove them
642 * Makefile.am: adjust
644 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
646 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
648 * insetinclude.C (latex): show a GUI warning if textclasses don't
650 * insetinclude.C: use mangledFilename() for temp files
651 * insetgraphics.C (readInsetGraphics): remove version check, since
652 the graphics inset has no own fileformat number anymore
654 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * insetquotes.[Ch]: added new member that allows direct access
657 to single/double quotation marks.
659 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
661 2004-02-16 André Pönitz <poenitz@gmx.net>
664 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
665 implicitly assume 'DispatchResult(true, true) with exception of
666 InsetBase::priv_dispatch which does the equivalent of
667 'retrun DispatchResult(false)'
669 * inset*.[Ch] (priv_dispatch): adjust
671 * insettabular.[Ch]: remove remains of the 'update' mechanism,
672 simplify cursor moving function,
673 re-enable horizontal scrolling for large tables
675 2004-02-13 André Pönitz <poenitz@gmx.net>
677 * insettabular.[Ch]: some work after IU
679 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
681 * inset.C (setPosCache): switch to absolute coords in insets
682 * insettext.[Ch] (draw, drawFrame): adjust
683 * insetcollapsable.C (draw): adjust
686 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
688 * insettext.C (edit):
689 (updateLocal): use the cur argument instead of the global cursor
690 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
692 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
696 * insetfloat.C (validate): "H" -> 'H' in call to contains
698 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
700 2004-01-30 André Pönitz <poenitz@gmx.net>
704 * insetcollapsable.[Ch]:
707 * insetgraphics.[Ch]:
712 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
715 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
717 * insettabular.C: add using statement for std::vector, remove
718 std:: where using was already used.
720 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
724 * insetinclude.C (validate): use feautures.nice() instead of
727 2004-01-20 André Pönitz <poenitz@gmx.net>
730 * insetbase.[Ch]: move stuff from mathcursor here.
736 * insetcharstyle.[Ch]:
737 * insetcollapsable.[Ch]:
740 * insetexternal.[Ch]:
742 * insetgraphics.[Ch]:
751 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
753 2004-01-15 André Pönitz <poenitz@gmx.net>
760 * insetcharstyle.[Ch]:
761 * insetcollapsable.[Ch]:
764 * insetexternal.[Ch]:
766 * insetgraphics.[Ch]:
775 * updatableinset.[Ch] (priv_dispatch et al): change signature.
777 2004-01-08 André Pönitz <poenitz@gmx.net>
779 * insetcollapsable.[Ch]:
782 * updatableinset.h: use cell index info from global cursor.
784 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * insetnote.C (InsetNoteParams::write): write label only once
788 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
792 get rid of the SameName functor
794 * insettabular.C: improve the functor.
796 2003-12-29 Angus Leeming <leeming@lyx.org>
798 * insetexternal.C (setParams): update defaultTemplateName.
800 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
802 * insetbox.C: Use term "Box" in button label
804 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
806 * insetcharstyle.C: get getDrawFont working again
808 2003-12-15 André Pönitz <poenitz@gmx.net>
811 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
813 2003-12-12 Angus Leeming <leeming@lyx.org>
815 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
817 (InsetBranchParams): remove the branchlist hack.
818 (isBranchSelected): new function, used to decide whether to
819 print each output format. Also used by InsetList.
820 (read, string2params): repair my own breakage ;-)
822 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * insetminipage.[Ch]: remove from repository.
826 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
829 * insetcollapsable.[Ch]: Move all CollapseStatus code from
830 insetert to insetcollapsable; introduce virtual function
831 setButtonLabel and invoke it from collapsable
833 2003-12-12 Angus Leeming <leeming@lyx.org>
835 * insetinclude.C (draw): cache x,y and so enable the
838 2003-12-12 Angus Leeming <leeming@lyx.org>
840 * mailinset.C (print_mailer_error): tidy up the output.
842 2003-12-11 Angus Leeming <leeming@lyx.org>
844 * mailinset.[Ch] (print_mailer_error): new helper function.
846 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
847 calling InsetCommandMailer.
848 (InsetCommandMailer::string2params): pass the name of the dialog.
850 * insetbibitem.[Ch] (d-tor):
851 * insetbibtex.[Ch] (d-tor):
852 * insetcite.[Ch] (d-tor):
853 * insetfloatlist.[Ch] (d-tor):
854 * insetindex.[Ch] (d-tor):
855 * insetlabel.[Ch] (d-tor):
856 * insetref.[Ch] (d-tor):
857 * insettoc.[Ch] (d-tor):
858 * inseturl.[Ch] (d-tor): removed.
859 Hiding the dialog is handled by InsetCommand.
861 * insetbibtex.[Ch] (draw, metrics):
862 * insetfloatlist.[Ch] (draw, metrics):
863 * insetindex.[Ch] (draw, metrics): removed.
864 Drawing is handled by InsetCommand.
866 * insetbibitem.[Ch] (priv_dispatch):
867 * insetbibtex.[Ch] (priv_dispatch):
868 * insetcite.[Ch] (priv_dispatch):
869 * insetfloatlist.[Ch] (priv_dispatch):
870 * insetindex.[Ch] (priv_dispatch):
871 * insetlabel.[Ch] (priv_dispatch):
872 * insettoc.[Ch] (priv_dispatch):
873 * inseturl.[Ch] (priv_dispatch): removed or simplified.
874 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
875 LFUN_INSET_DIALOG_SHOW.
877 * insetbox.C (string2params):
878 * insetbranch.C (string2params):
879 * insetert.C (string2params):
880 * insetexternal.C (string2params):
881 * insetfloat.C (string2params):
882 * insetinclude.C (string2params):
883 * insetminipage.C (string2params):
884 * insetnote.C (string2params):
885 * insetvspace.C (string2params):
886 * insetwrap.C (string2params): over-hauled.
888 2003-12-10 Angus Leeming <leeming@lyx.org>
890 * insetexternal.[Ch]: add a draft option and respect it when
893 2003-12-10 Angus Leeming <leeming@lyx.org>
895 * insetbox.C: (read, write): now prepend the inset contents with
896 'Box' to identify the inset as a box inset.
898 * insetbox.h: move the translators out of sight.
900 2003-12-10 Angus Leeming <leeming@lyx.org>
902 * insetert.C (string2params): clean-up using the new lyxlex interface.
904 * insetexternal.C: ensure that InsetExternalParams has a default
905 template, 'RasterImage'.
907 2003-12-10 Angus Leeming <leeming@lyx.org>
909 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
910 to an enum. Ensuing clean-ups through out the class.
911 (read, write): now prepend the inset contents with 'Note' to identify
912 the inset as a note inset.
914 2003-12-10 Angus Leeming <leeming@lyx.org>
916 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
917 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
919 2003-12-10 André Pönitz <poenitz@gmx.net>
924 * insettext.[Ch]: remove unused insetInset()
926 * insetert.C: disable some LFUNs
928 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
930 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
932 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
934 2003-12-04 Angus Leeming <leeming@lyx.org>
936 * insetexternal.C (draw): update the xo_, yo_ cache.
938 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
940 (RotationDataType): new helper struct wrapping the
941 RotationData::OriginType enum.
943 2003-12-03 André Pönitz <poenitz@gmx.net>
945 * inset.h: remove getParagraphs()
947 * insetcollapsable.[Ch]:
951 * insettext.C: use getText() instead of getParagraphs()
953 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
955 * insetert.C: fix label text updating bug
957 2003-12-02 Angus Leeming <leeming@lyx.org>
959 * insetvspace.[Ch] (space): new member function. Make space_ private.
960 (read): use the new, simpler lyxlex syntax.
962 2003-12-01 André Pönitz <poenitz@gmx.net>
964 * insetcollapsable.[Ch]:
965 * insetert.[Ch]: move 'inline' state to InsetCollapsable
967 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
969 * insetvspace.C (read): handle 'end_inset' token.
971 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
973 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
975 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
977 * insetcollapsable.[Ch]:
979 * insetcharstyle.C: place inset content on the button when
982 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
984 * insetvspace.C: remove VSpace::NONE; increase inset width
986 2003-12-01 André Pönitz <poenitz@gmx.net>
988 * insetbase.h: whitespace
990 * inset.[Ch]: remove latexTextWidth
991 make setBackgroundColor virtual
993 * insettext.[Ch]: move ParagraphList member to LyXText
995 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1001 * insetminipage.[Ch]:
1003 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1005 2003-11-28 Angus Leeming <leeming@lyx.org>
1007 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1008 hiding and showing the dialog respectively.
1009 (priv_dispatch): also actually update the inset contents.
1011 2003-11-28 Angus Leeming <leeming@lyx.org>
1013 * insetbox.C (d-tor):
1014 * insetbranch.C (d-tor):
1015 * insetcite.C (d-tor):
1016 * insetfloat.C (d-tor):
1017 * insetfloatlist.C (d-tor):
1018 * insetinclude.C (d-tor):
1019 * insetindex.C (d-tor):
1020 simplify the invocation of the Mailer::hideDialog() function.
1022 * insetminipage.C (showInsetDialog):
1023 simplify the invocation of the Mailer::showialog() function.
1025 2003-11-28 André Pönitz <poenitz@gmx.net>
1028 * insetvspace.[Ch]: new insets
1030 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1032 * insetcharstyle.C: Syntax change for CharStyles
1034 2003-11-28 André Pönitz <poenitz@gmx.net>
1036 * updatableinset.h: remove insetInInsetY
1038 * insetcollapsable.[Ch]:
1040 * insettabular.[Ch]:
1041 * insettext.[Ch]: adjust
1043 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1047 * insetcollapsable.[Ch]:
1049 * insettabular.[Ch]: remove setFont
1051 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1053 * render_graphic.[Ch]: adjust comments
1055 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1057 * insetgraphics.C (draw): cache xo_ & yo_
1059 2003-11-24 André Pönitz <poenitz@gmx.net>
1061 * insettext.C (setViewCache): don't call LyXText::init() anymore
1063 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1066 * insetcollapsable.[Ch]:
1067 * insetert.[Ch]: remove bufferview parameter in methods
1068 open, close, status, and updateStatus.
1070 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1072 * insetcollapsable.[Ch]:
1073 * insettabular.[Ch]:
1074 * insettext.[Ch] (getCursorDim): squash unused variable
1076 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1078 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1080 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1082 * insettext.C (draw): sets LyXText absolute coordinates
1084 2003-11-20 Angus Leeming <leeming@lyx.org>
1086 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
1087 about unused parameters.
1089 * insetcollapsable.C (open):
1090 * insettabular.C (pasteSelection):
1091 * insettoc.C (draw): ditto.
1093 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1095 * insetcollapsable.C:
1097 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1098 remove mouse_x mouse_y etc.
1100 2003-11-17 André Pönitz <poenitz@gmx.net>
1102 * insettext.[Ch] (cx, cy): remove
1104 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1106 2003-11-13 André Pönitz <poenitz@gmx.net>
1109 * insetcollapsable.[Ch]:
1110 * insettabular.[Ch]:
1111 * insettext.[Ch] (deleteLyXText): remove
1113 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1115 * insetcollapsable.[Ch] (fitInsetCursor): remove
1116 * insettabular.[Ch] (fitInsetCursor): remove
1117 * insettext.[Ch] (fitInsetCursor): remove
1118 * updatableinset.[Ch] (fitInsetCursor): remove
1119 (getCursorDIm): add virtual
1121 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1123 * src/insets/Makefile.am:
1124 * src/insets/inset.h:
1125 * src/insets/insetcharstyle.C:
1126 * src/insets/insetcharstyle.h: The Character Style /XML short
1129 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1131 * insettext.C: remove all update calls
1132 * insetcollapsable.C: remove all update calls
1134 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1136 * insettext.C (updateLocal, insertInset, setFont): remove
1139 2003-11-10 André Pönitz <poenitz@gmx.net>
1141 * inset.h: remove Inset::id_
1143 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
1146 2003-11-10 André Pönitz <poenitz@gmx.net>
1150 * insetcollapsable.[Ch]:
1154 * insettabular.[Ch]:
1157 * updatableinset.[Ch]: remove inset locking & adjust
1159 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1161 * inset.h (allowSpellCheck): add (return true)
1162 * insetert.h (allowSpellCheck): add (return false)
1164 2003-11-05 José Matos <jamatos@lyx.org>
1170 * insetcaption.[Ch]:
1172 * insetcollapsable.[Ch]:
1173 * insetcommand.[Ch]:
1176 * insetexternal.[Ch]:
1178 * insetfloatlist.[Ch]:
1180 * insetgraphics.[Ch]:
1182 * insetinclude.[Ch]:
1185 * insetlatexaccent.[Ch]:
1188 * insetmarginal.[Ch]:
1189 * insetminipage.[Ch]:
1190 * insetnewline.[Ch]:
1193 * insetpagebreak.[Ch]:
1197 * insetspecialchar.[Ch]:
1198 * insettabular.[Ch]:
1200 * insettheorem.[Ch]:
1203 * insetwrap.[Ch]: rename ascii to plaintext
1204 and LatexRunParams to OutputParams.
1206 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1208 * insetcollapsable.C (edit): add open() all
1209 * insettext.C (edit): add setViewCache call
1211 2003-11-04 André Pönitz <poenitz@gmx.net>
1213 * inset.h (edit): move locking code from dispatch() to edit()
1219 * insetcollapsable.[Ch]:
1222 * insetexternal.[Ch]:
1223 * insetgraphics.[Ch]:
1228 * insettabular.[Ch]:
1229 * insettext.[Ch]: adjust
1231 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1234 * insetcollapsable.[Ch]:
1236 * insettabular.[Ch]:
1238 * updatableinset.[Ch]: remove dead search code
1240 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1243 * insetcollapsable.[Ch]:
1245 * insettabular.[Ch]:
1247 * updatableinset.[Ch]: remove dead spellcheck code
1249 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1251 * insettabular.C (lockInsetInInset): small fix
1253 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1255 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1256 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1257 from here. Be stricter on DispatchResult returned.
1259 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * Inset::dispatch's: adjust for new DispatchResult semantics.
1263 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * render_base.h: make clone return an auto_ptr
1266 * render_button.C (clone): adjust
1267 * render_graphic.C (clone): adjust
1268 * render_preview.C (clone): adjust
1270 * insettheorem.C (clone): return an auto_ptr
1272 * insettext.C (priv_dispatch): exception safety
1274 * insettabular.C: store the file scope variable paste_tabular in a
1275 scoped_ptr, adjust usage.
1277 * insetexternal.C (setParams): exception safety
1279 * insetbibitem.C (clone): exception safety
1281 2003-11-03 André Pönitz <poenitz@gmx.net>
1284 * insetcollapsable.[Ch]:
1285 * insettabular.[Ch]:
1286 * insettext.[Ch]: remove Inset::id and related functions
1288 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1290 * insets: adjust for DispatchResult changes.
1292 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1294 * insetpagebreak.C: fix screen representation & ascii output.
1296 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1300 * insettabular.[Ch]:
1301 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1303 2003-10-31 José Matos <jamatos@lyx.org>
1305 * inset.h (ascii, linuxdoc, docbook):
1306 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1307 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1308 * insetcaption.[Ch] (ascii, docbook):
1309 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1310 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1311 * insetert.[Ch] (ascii, linuxdoc, docbook):
1312 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1313 * insetfloat.[Ch] (linuxdoc, docbook):
1314 * insetfloatlist.[Ch] (ascii):
1315 * insetfoot.[Ch] (docbook):
1316 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1317 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1318 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1319 * insetindex.[Ch] (docbook):
1320 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1321 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1322 * insetline.[Ch] (ascii, linuxdoc, docbook):
1323 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1324 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1325 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1326 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1327 * insetref.[Ch] (ascii, linuxdoc, docbook):
1328 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1329 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1330 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1331 * insettext.[Ch] (ascii, linuxdoc, docbook):
1332 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1333 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1334 * insetwrap.[Ch] (docbook):
1335 add LatexRunParams argument.
1337 2003-10-30 José Matos <jamatos@lyx.org>
1339 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1341 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * updatableinset.C (priv_dispatch):
1344 * insetwrap.C (priv_dispatch):
1345 * inseturl.C (priv_dispatch):
1346 * insettoc.C (priv_dispatch):
1347 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1348 (moveLeftIntern, moveUp, moveDown):
1349 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1350 (moveLeft, moveUp, moveDown):
1351 * insetref.C (priv_dispatch):
1352 * insetnote.C (priv_dispatch):
1353 * insetminipage.C (priv_dispatch):
1354 * insetlabel.C (priv_dispatch):
1355 * insetindex.C (priv_dispatch):
1356 * insetinclude.C (priv_dispatch):
1357 * insetgraphics.C (priv_dispatch):
1358 * insetfloatlist.C (priv_dispatch):
1359 * insetfloat.C (priv_dispatch):
1360 * insetexternal.C (priv_dispatch):
1361 * insetert.C (priv_dispatch):
1362 * insetcommand.C (priv_dispatch):
1363 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1364 * insetcite.C (priv_dispatch):
1365 * insetbranch.C (priv_dispatch):
1366 * insetbox.C (priv_dispatch):
1367 * insetbibtex.C (priv_dispatch):
1368 * insetbibitem.C (priv_dispatch):
1369 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1371 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1373 * insettext.C: small refactoring of docbook stuff
1375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1378 (priv_dispatch): adjust for operator dispatch_result_t removal
1380 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1381 in a DispatchResult, adjust accordingly.
1382 (priv_dispatch): use strange >= construct... (will be removed later)
1384 * most insets: dispatch_result -> DispatchResult
1386 * insetbase.h: move DispatchResult out to dispatchresult.h
1388 2003-10-27 André Pönitz <poenitz@gmx.net>
1390 * insetpagebreak.[Ch]: new inset for page breaks
1392 * insetline.[Ch]: new inset for vertical lines
1397 2003-10-25 Angus Leeming <leeming@lyx.org>
1399 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1400 new virtual member functions, specialised...
1401 * render_button.h (asButton):
1402 * render_graphic.h (asGraphic):
1403 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1405 * insetexternal.C: use these new functions rather than dynamic_cast.
1406 Various other small simplifications.
1408 2003-10-22 Angus Leeming <leeming@lyx.org>
1410 * insetexternal.[Ch]: add the ability to 'preview' the external file
1413 * insetinclude.C: changes due to the changes in the RenderPreview
1416 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1417 message if the preview image is not available. Only initiate the
1418 loading of the preview from draw(). Ditto, start the monitoring
1419 of an external file from RenderMonitoredPreview::draw.
1421 2003-10-22 Angus Leeming <leeming@lyx.org>
1423 * insetcite.[Ch] (setLoadingBuffer): removed.
1424 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1425 ascertain whether to proceed with the (expensive) task of computing
1426 the natbib-style label. Remove the home-grown hack providing
1427 similar functionality.
1429 2003-10-22 Angus Leeming <leeming@lyx.org>
1431 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1432 class and into an anonymous namespace.
1434 2003-10-22 Angus Leeming <leeming@lyx.org>
1436 * insetcommand.h: remove the display method.
1440 * insetindex.h (InsetPrintIndex):
1441 * insettoc.h: add a display method, returning true.
1443 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1445 * insetcollapsable.h:
1449 * insetinclude.h: (1) finish off the inset display() work;
1450 (2) fix the "is a bit silly" bug (accessing char
1453 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1457 * insetfootlike.h: re-introduce display() for insets,
1458 fixing the various bugs (stretch of line above, math inset
1461 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * insetbase.C (dispatch): new func
1464 (priv_dispatch): new func replaces...
1465 (localDispatch): this, deleted.
1467 * all insets with dispatch modified for new code.
1469 2003-10-15 André Pönitz <poenitz@gmx.net>
1471 * insetcollapsable.[Ch]
1473 * inset.h: re-add some edit(bv, index) method called by undo
1475 2003-10-14 Angus Leeming <leeming@lyx.org>
1477 * insetexternal.[Ch] (view, cache, view_):
1478 * insetgraphics.[Ch] (view, cache, view_):
1479 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1480 (statusChanged): call LyX::cref().updateInset.
1482 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1483 the BufferView cache.
1485 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1488 2003-10-14 Angus Leeming <leeming@lyx.org>
1490 * insetinclude.C (metrics, draw): only draw the preview when previews
1493 2003-10-14 André Pönitz <poenitz@gmx.net>
1495 * insetcollapsable.[Ch]:
1496 * insettabular.[Ch]:
1498 * inset.h: getText() as alternative to getParagraphs()
1500 2003-10-13 Angus Leeming <leeming@lyx.org>
1503 * insetgraphicsParams.C: displayTranslator is now a function.
1505 2003-10-13 Angus Leeming <leeming@lyx.org>
1507 * insetinclude.C: remove #include "PreviewImage.h".
1509 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * ExternalSupport.C:
1512 * ExternalTransforms.C:
1514 * insetbox.h: ws changes only
1516 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * insetinclude.C (localDispatch): do not call
1519 InsetOld::localDispatch, just return UNDISPATCHED
1520 * insetgraphics.C (localDispatch): ditto
1521 * insetcommand.C (localDispatch): ditto
1523 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * inset.h: get rid of RESULT typedef for dispatch_result
1527 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1528 * insetert.[Ch] (localDispatch): ditto
1529 * insettabular.[Ch] (localDispatch): ditto
1534 * insettext.[Ch] (localDispatch): ditto
1537 (moveRightIntern): ditto
1538 (moveLeftIntern): ditto
1541 * updatableinset.[Ch] (localDispatch): ditto
1543 2003-10-12 Angus Leeming <leeming@lyx.org>
1545 * renderbase.h (view, view_): removed.
1546 * renderbase.C: removed.
1547 * Makefile.am: remove render_base.C. The shortest lived file in
1550 * renderbutton.C (draw):
1551 * render_graphic.C (draw): don't cache the BufferView.
1553 * insetabase.h (cache, view): removed.
1555 * inset.h (generatePreview) removed.
1557 * insetcallapsable.[Ch] (cache, view, view_): removed.
1559 * insetcollapsable.C (draw): don't cache the BufferView.
1561 * insetcommand.[Ch] (view): removed.
1563 * insetexternal.[Ch] (cache, view, view_):
1564 * insetgraphics.[Ch] (cache, view, view_):
1565 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1567 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1568 when you have direct access to it. In fact, don't use the cache at all.
1570 2003-10-10 Angus Leeming <leeming@lyx.org>
1572 * insetinclude.C (metrics): use preview_->metrics.
1573 (draw): use preview_->draw.
1575 * render_preview.[Ch] (pimage): removed.
1577 2003-10-10 Angus Leeming <leeming@lyx.org>
1579 * renderers.[Ch]: removed.
1582 * render_button.[Ch]:
1583 * render_graphic.[Ch]:
1584 * render_preview.[Ch]: new files. The first three are split out of
1585 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1586 contains a re-worked InsetInclude::PreviewImpl also.
1588 * Makefile.am: reflect the changed files.
1591 * insetexternal.[Ch]:
1592 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1594 * insetinclude.[Ch]: changes reflecting the change from
1595 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1601 * inseturl.C: add #include "support/std_ostream.h"
1603 2003-10-09 Angus Leeming <leeming@lyx.org>
1605 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1606 to PreviewedInset::previewReady.
1608 2003-10-09 Angus Leeming <leeming@lyx.org>
1610 * insetexternal.[Ch] (statusChanged):
1611 * insetgraphics.[Ch] (statusChanged): make a const member function.
1613 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1616 2003-10-09 Angus Leeming <leeming@lyx.org>
1618 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1619 to PreviewedInset's previewReady and removePreview member functions.
1621 2003-10-08 André Pönitz <poenitz@gmx.net>
1623 * insetcollapsable.C:
1624 * insettext.[Ch]: saner 'init' structure
1626 * updatableinset.[Ch]: remove unneeded code
1628 2003-10-08 Angus Leeming <leeming@lyx.org>
1630 Fix doxygen warnings.
1632 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1633 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1635 2003-10-07 Angus Leeming <leeming@lyx.org>
1637 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1638 be applied to InsetExternal.
1640 * Makefile.am: add these new files.
1642 * ExternalTemplate.[Ch]: add a list of available transforms to
1643 class Template and a list of factory functions for transformer classes
1644 that can act on this data to class Format.
1646 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1648 * ExternalSupport.C: Add code to replace transform placeholders
1649 with appropriate output.
1651 2003-10-07 Angus Leeming <leeming@lyx.org>
1653 * ExternalSupport.[Ch]: new files, moving the private member functions
1654 and namespace anon functions out of insetexternal.C to here, so making
1655 it easier to understand what is going on in insetexternal itself.
1657 * Makefile.am: add new files.
1659 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1660 allowing the class to be forward declared. (Also consistent with
1661 all other Params classes.)
1662 (write): moved out of the class. Move this function and those in
1663 namespace anon to ExternalSupport.[Ch].
1665 2003-10-07 Angus Leeming <leeming@lyx.org>
1667 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1668 non-const member function.
1670 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1675 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1677 2003-10-02 André Pönitz <poenitz@gmx.net>
1679 * insettext.C (read): make sure there is at least one par
1680 in the text after reading.
1682 2003-10-01 José Matos <jamatos@lyx.org>
1684 * insetbranch.C (linuxdoc, docbook): minor fix.
1686 2003-10-01 Angus Leeming <leeming@lyx.org>
1688 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1690 * insetexternal.[Ch]: changes due to the introduction of
1691 namespace lyx::external.
1693 2003-09-30 Angus Leeming <leeming@lyx.org>
1695 * insetexternal.[Ch] (Params::read, write): new member functions.
1697 2003-09-25 Angus Leeming <leeming@lyx.org>
1699 * insetexternal.[Ch] (TempName): new (private) nested struct with
1700 fake copy semantics. Enables us to use the generated copy c-tor
1701 in the Params struct.
1702 (Params::templatename, Params::tempname): use accessor functions.
1704 2003-09-25 Angus Leeming <leeming@lyx.org>
1706 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1707 function, returning a const pointer.
1709 2003-09-23 Angus Leeming <leeming@lyx.org>
1711 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1712 store them in a vector, preambleNames.
1714 * insetexternal.C (validate): loop over all preambleNames and call
1715 LaTeXFeatures::addExternalPreamble with each.
1717 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1719 * insetbranch.C: bug fix in branches
1721 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1723 * insetnote.C: small clean-up.
1725 2003-09-19 Angus Leeming <leeming@lyx.org>
1727 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1729 * insetcommand.C (string2params): clear params using the default c-tor.
1731 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1732 InsetInclude::Params. No more data in this struct than in
1733 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1734 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1735 (clone): remove #warning as it's now redundant.
1736 (set): add a 'Buffer const &' arg. Make private.
1737 (loadIfNeeded) move out of the class definition and into namespace anon.
1738 (getMasterFilename, getFileName): ditto.
1740 2003-09-18 Angus Leeming <leeming@lyx.org>
1742 * insetcommand.C (setParams): use the params' copy constructor.
1744 2003-09-18 Angus Leeming <leeming@lyx.org>
1746 * insetinsetbase.h (getLabelList):
1747 * insetinsetcollapsable.[Ch] (getLabelList):
1748 * insetinsetinclude.[Ch] (getLabelList):
1749 * insetinsetlabel.[Ch] (getLabelList):
1750 * insetinsettabular.[Ch] (getLabelList):
1751 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1752 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1754 2003-09-18 Angus Leeming <leeming@lyx.org>
1756 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1757 redundant baggage from yesteryear.
1758 Remove Params::flag as it is redundant; the info is present in
1761 2003-09-18 Angus Leeming <leeming@lyx.org>
1763 * insetinclude.C (latexString): add a Buffer const & arg.
1765 2003-09-18 Angus Leeming <leeming@lyx.org>
1770 * insettext.h: rename EnumLColor as LColor_color.
1772 2003-09-18 Angus Leeming <leeming@lyx.org>
1774 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1775 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1777 2003-09-16 Angus Leeming <leeming@lyx.org>
1779 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1780 set before trying to generate a preview, else we trigger an assert.
1782 2003-09-16 Angus Leeming <leeming@lyx.org>
1784 * insetinclude.C (PreviewImpl::parent): return a const reference.
1786 2003-09-16 Angus Leeming <leeming@lyx.org>
1788 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1790 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1792 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1793 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1795 * insetminipage.C (metrics):
1796 * insetnote.C (metrics):
1797 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1798 access collapsed_ directly.
1800 2003-09-16 Angus Leeming <leeming@lyx.org>
1802 * insetbibitem.C: add #include "lyxfont.h".
1804 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * insetbibtex.C: use namespace alias for lyx::support::os
1809 2003-09-16 Angus Leeming <leeming@lyx.org>
1811 * insetcollapsable.h: remove unused framecolor variable.
1812 Remove #include "LColor.h".
1814 * insetcollapsable.C: remove unused framecolor variable.
1817 * insetcollapsable.C:
1825 Add #include "LColor.h".
1827 2003-09-16 Angus Leeming <leeming@lyx.org>
1829 * insettext.[Ch] (frameColor): new accessor function.
1830 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1836 add #include "LColor.h".
1838 * insetcollapsable.h: add #include "LColor.h"
1839 (for its framecolor member variable).
1841 2003-09-16 Angus Leeming <leeming@lyx.org>
1843 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1845 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1846 rename frame_color as frame_color_. Make private.
1848 * insettext.C: associated changes.
1850 2003-09-16 Angus Leeming <leeming@lyx.org>
1852 * inset.h: store background_color_ as an int, not as an LColor::color to
1853 get LColor.h out of the header file.
1856 * insetlatexaccent.C:
1859 * insetspecialchar.C:
1861 add #include "LColor.h".
1863 2003-09-16 Angus Leeming <leeming@lyx.org>
1865 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1868 2003-09-15 Angus Leeming <leeming@lyx.org>
1870 * inset.[Ch] (setBackgroundColor, backgroundColor):
1871 * insettext.[Ch] (setFrameColor):
1872 pass EnumLColor args, rather than LColor::color ones.
1874 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * insetwrap.C: remove usage of STRCONV
1886 2003-09-15 Angus Leeming <leeming@lyx.org>
1888 * renderers.C (draw):
1889 * insetlatexaccent.C (draw): explicitly define the color passed to
1892 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1894 * insettext.C: remove block causing problems in lockInsetInInset
1895 (mentioned erroneously under Bug #1366)
1897 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1899 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1902 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1904 * several files: change Assert to BOOST_ASSERT
1906 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1908 * insettext.[Ch]: remove drawText[XY]Offset
1910 2003-09-08 Angus Leeming <leeming@lyx.org>
1912 * insetcollapsable.C:
1917 * insetspecialchar.C:
1920 * insettoc.C: remove redundant using directives.
1922 2003-09-07 Angus Leeming <leeming@lyx.org>
1925 * insetspecialchar.h: remove #include "support/std_string.h".
1927 2003-09-06 Angus Leeming <leeming@lyx.org>
1929 * renderers.C: add #include "insets/inset.h"
1931 2003-09-05 Angus Leeming <leeming@lyx.org>
1933 * *.C: strip out redundant #includes. (193 in total.)
1935 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1937 * insets/insetbibtex.[Ch]:
1938 * insets/insetcommand.h:
1939 * insets/insetfloatlist.[Ch]:
1940 * insets/insetinclude.[Ch]:
1941 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1942 of insets like bibtex, include, toc and floatlist to the visible
1943 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1944 up the dialogs. Cursor has to be in front of the inset (i.e.
1945 start of row) for this to function.
1947 2003-09-04 Angus Leeming <leeming@lyx.org>
1949 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1950 structure outside of the Format struct. Format::preambleName refers to
1951 an item in the map of all preamble snippets.
1952 Make use of the new Debug::EXTERNAL flag.
1954 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1955 (validate): Small change due to the changed storage of preamble snippets.
1957 2003-09-04 Angus Leeming <leeming@lyx.org>
1959 * insetgraphics.C: #include "support/os.h"
1961 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1962 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1963 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1965 * insetcollapsable.h:
1967 * insetnote.C: move #include "funcrequest.h" out of the header file.
1969 2003-09-03 Angus Leeming <leeming@lyx.org>
1971 * insetexternal.C (updateExternal):
1972 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1975 2003-09-03 Angus Leeming <leeming@lyx.org>
1977 * insetexternal.C: don't bring namespace lyx::support into the global
1980 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1982 * insetbranch.C: Add Branch: to label
1984 2003-09-02 John Levon <levon@movementarian.org>
1987 * insettext.C: remove cursor.i[xy]()
1989 2003-08-28 Angus Leeming <leeming@lyx.org>
1991 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1992 "sh ", enabling the conversion to be carried out even if the script
1995 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * most files: change to use const Buffer refs
1999 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2001 * insetfootlike.C: whitespace.
2003 2003-08-26 John Levon <levon@movementarian.org>
2007 * insetindex.h: remove remaining mentions of needFullRow()
2009 2003-08-26 André Pönitz <poenitz@gmx.net>
2015 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2017 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2019 * insetbranch.C: Small fix to prevent a crash on loading.
2021 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2026 * insetcollapsable.h:
2028 * insetfloatlist.[Ch]:
2029 * insetfootlike.[Ch]:
2030 * insetinclude.[Ch]:
2036 * insettheorem.[Ch]:
2037 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2038 altogether, putting the logic in metrics/draw in the insets.=20
2039 Draws short single row insets with more or less realistic metrics.
2041 2003-08-19 André Pönitz <poenitz@gmx.net>
2043 * insettext.C: use new RowPainter interface
2045 2003-08-18 John Levon <levon@movementarian.org>
2047 * insetref.C: require amsmath for eqref
2049 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2053 * insetbranch.[Ch]: implements the 'branch inset'
2054 idea. This allows the output of various versions of a document
2055 from a single source version, selectively outputing or suppressing
2056 output of parts of the text.
2057 This implementation contains a 'branch list editor' in a separate
2058 tab of the document settings dialog. Branches are user definable
2059 and have a "display colour" to distinguish them on-screen.
2061 ColorHandler was somewhat cleaned up.
2062 (1) make possible a dynamically growing LColor list by allowing
2063 the graphic context cache to grow along (vector);
2064 (2) eliminate an IMHO unnecessary step in colour allocation.
2066 2003-08-15 André Pönitz <poenitz@gmx.net>
2068 * insettext.[Ch]: adjust after rowlist split
2070 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2072 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2073 rename valign-center to valign-middle;
2074 rename VALIGN_CENTER to VALIGN_MIDDLE
2076 2003-08-11 André Pönitz <poenitz@gmx.net>
2078 * inset.h: remove resizeLyXText
2081 * insetcollapsable.[Ch]:
2083 * insettabular.[Ch]: adjust
2085 * insettext.[Ch]: remove saveLyXTextState,
2086 restoreLyXTextStat, sstate, reinitLyXText
2088 2003-08-07 André Pönitz <poenitz@gmx.net>
2090 * inset.[Ch]: move non-crucial functions out-of-line
2092 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2093 remove duplicated code.
2095 2003-08-05 André Pönitz <poenitz@gmx.net>
2098 * insetcollapsable.[Ch]:
2108 * insettabular.[Ch]:
2111 * updatableinset.[Ch]: rip out "deep update"
2113 * insettext.C (localDispatch): merge cases with default branch
2115 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2117 * insettabular.[Ch] (updateLocal): simplify logic
2119 2003-08-04 André Pönitz <poenitz@gmx.net>
2121 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2122 is 'FULL' all the time.
2124 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * insetert.C (get_new_label): only add ... to the (closed) label
2127 when the string has been shortened
2129 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2131 * Always use std::endl with lyxerr
2133 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2135 * insetnote.C: update \author list
2137 2003-07-31 André Pönitz <poenitz@gmx.net>
2139 * insetcollapsable.h:
2140 * insettabular.[Ch]:
2141 * insettext.[Ch]: remove toggleSelection
2143 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2145 (with help from Juergen Spitzmueller)
2146 * insetnote.C: add add i18n support. Use Prefs-definable
2147 colours for Comment and Greyedout.
2149 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2151 * insetcollapsable.[Ch]:
2153 * insetert.C: factor out the detection of clicking on the inset
2154 button as 'hitButton'. John Levon contributed.
2156 2003-07-30 André Pönitz <poenitz@gmx.net>
2158 * insetcollapsable.C:
2160 * insettabular.C: parantheses, localize vars etc.
2162 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2164 * insetnote.C: Implement a newenvironment in preamble for
2165 greyedout. Patch provided by Jürgen Spitzmüller.
2167 2003-07-29 Angus Leeming <leeming@lyx.org>
2169 * insetcommand.C (localDispatch): default to
2170 InsetOld::localDispatch.
2172 * insetbibitem.C (localDispatch):
2173 * insetbibtex.C (localDispatch): remove call to
2174 ChangeCitationsIfUnique.
2176 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2178 * insetexternal.C (read): use pushpophelper.
2180 2003-07-28 José Matos <jamatos@lyx.org>
2182 * insetext.C (read): \end_document replaces \the_end.
2184 2003-07-28 José Matos <jamatos@fep.up.pt>
2186 * insetert.C (write): \layout -> \begin_layout.
2187 Add missing \end_layout.
2189 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * insetquotes.C: document a bit the format
2193 * insettabular.C (write): remove extra space
2195 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2196 * insetnote.C: Umpf. Hope I *now* get it right :-(
2198 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2199 *insetnote.C: did the right fix to greyedout: \color
2200 instead of \textcolor.
2202 2003-07-28 Angus Leeming <leeming@lyx.org>
2204 * insetbibtex.h: remove extraneous forward declaration.
2207 * insetbibtex.h: Also remove long-dead Holder member class
2210 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2212 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2215 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * insetwrap.C (addToToc): adjust for lyx::toc
2219 * insetfloatlist.C (ascii): adjust for lyx::toc
2221 * insetfloat.C (addToToc): adjust for lyx::toc
2223 2003-07-27 José Matos <jamatos@fep.up.pt>
2225 * insetnote.h (linuxdoc,docbook): update support.
2227 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2229 * insetfloat.C (wide): add a space to label, for consistency
2231 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * insettext.C (nextChange): adjust for lyx::find
2234 (searchForward): ditto
2235 (searchBackward): ditto
2237 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2239 * insetgraphicsParams.C:
2240 * insetexternal.C: declare extern displayTranslator
2243 * renderers.C: add #include "support/LAssert.h"
2245 2003-07-27 José Matos <jamatos@fep.up.pt>
2247 * insetfloat.[Ch] (linuxdoc):
2248 * insetgraphics.C (linuxdoc):
2249 * insettabular.C (linuxdoc):
2250 * insettext.[Ch] (linuxdoc): add support for tables and figures
2253 2003-07-27 José Matos <jamatos@fep.up.pt>
2255 * insetinclude (latex): comply with makeLaTeXFile argument change.
2257 2003-07-26 Asger Alstrup <alstrup@local>
2259 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2260 the undo crashes. We'll see what problems other places this will
2263 2003-07-26 Angus Leeming <leeming@lyx.org>
2265 * insetgraphics.C: remove unused declaration of system_tempdir.
2267 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * rename Inset to InsetOld
2271 * all inset files (clone): return a auto_ptr<InsetBase>
2273 2003-07-23 Angus Leeming <leeming@lyx.org>
2275 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2277 2003-07-23 Angus Leeming <leeming@lyx.org>
2279 * mailinset.[Ch] (inset2string):
2280 * insetcommand.[Ch] (inset2string):
2281 * insetert.[Ch] (inset2string):
2282 * insetexternal.[Ch] (inset2string):
2283 * insetfloat.[Ch] (inset2string):
2284 * insetgraphics.[Ch] (inset2string):
2285 * insetinclude.[Ch] (inset2string):
2286 * insetminipage.[Ch] (inset2string):
2287 * insetnote.[Ch] (inset2string):
2288 * insettabular.[Ch] (inset2string):
2289 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2291 * insetexternal.[Ch]:
2292 * insetgraphics.[Ch]: get rid of the view() function. Associated
2293 changes to the mailers' string2params and params2string functions.
2295 2003-07-23 Angus Leeming <leeming@lyx.org>
2297 * insetexternal.[Ch]: store the external file name in a FileName
2298 member variable rather than a string + associated changes.
2300 2003-07-21 Angus Leeming <leeming@lyx.org>
2302 * insetgraphicsParams.[Ch]: store the graphics file name in
2303 a FileName member variable rather than a string.
2305 * insetgraphics.[Ch]:
2306 * insetgraphicsParams.[Ch]: Associated changes.
2308 2003-07-21 Angus Leeming <leeming@lyx.org>
2310 * insetgraphics.[Ch] (string2params, params2string): passed a
2311 buffer_path argument.
2314 2003-07-21 Angus Leeming <leeming@lyx.org>
2317 * insetgraphicsParams.[Ch]:
2319 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2321 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2323 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2325 2003-07-18 André Pönitz <poenitz@gmx.net>
2328 * insetminipage.[Ch]:
2329 * insettabular.[Ch]:
2332 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2334 2003-07-18 André Pönitz <poenitz@gmx.net>
2338 * insetcollapsable.C:
2342 * insetgraphics.[Ch]:
2343 * insetlatexaccent.[Ch]:
2348 * insetspecialchar.C:
2349 * insettabular.[Ch]:
2351 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2353 2003-07-17 André Pönitz <poenitz@gmx.net>
2355 * insetcollapsable.C:
2357 * insettext.C: don't call Inset::update() anymore
2360 * insettabular.[Ch]: remove unneeded in_update_ members
2362 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2364 2003-07-16 André Pönitz <poenitz@gmx.net>
2366 * insettext.C (selectAll): remove
2368 2003-07-16 John Levon <levon@movementarian.org>
2371 * insetnote.C: implement showInsetDialog()
2373 2003-07-15 André Pönitz <poenitz@gmx.net>
2376 * insettext.C: refresh_status tristate -> need_update bool
2378 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2380 * insettext.C: adjust call to LyXText::init
2382 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2384 * insettext.C: use bufferview_funcs->replaceSelection()
2385 to delete selections in some cases (bugs 441, 673, 702, 954).
2387 2003-07-14 André Pönitz <poenitz@gmx.net>
2389 * insettext.C (draw): use slimmed down rowpainter interface
2391 2003-07-14 André Pönitz <poenitz@gmx.net>
2393 * insetcollapsable.C:
2395 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2396 remove unused BufferView * argument
2398 2003-07-14 André Pönitz <poenitz@gmx.net>
2400 * insettext.[Ch]: used cached metrics a bit more
2402 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2404 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2406 2003-07-10 André Pönitz <poenitz@gmx.net>
2409 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2411 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * introduce namespace lyx::graphics
2415 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2417 * introduce namespace lyx::support
2419 2003-06-30 André Pönitz <poenitz@gmx.net>
2421 * insetcite.C (localDispatch): fix case of missing return value
2423 * insetcite.C (ascii): remove unneeded temporary
2425 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * insetspace.h: fix \file
2429 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2430 * insetinclude.C (fillWithBibKeys): ditto
2432 * insetbibitem.C: fix type const order
2434 * inset.C (getLyXText): add varname for arg
2436 * ExternalTemplate.h: fix type const order
2438 2003-06-27 André Pönitz <poenitz@gmx.net>
2440 * insettext.C: take care of removed LyXCursor::row_ member
2442 * insettext.[Ch]: use new TextCursor struct for sstate
2444 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2446 * inseterror.[Ch]: removed
2448 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2450 * insetinclude.C (docbook): use parseError instead of sgmlError
2452 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2454 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2455 of BufferList::loadLyXFile
2457 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * insettext.C (update): simplify
2460 (updateLocal): remove commented code
2461 (insetUnlock): simplify
2462 (lockInset): simplify
2463 (updateInsetInInset): simplify
2464 (localDispatch): simplify
2466 (resizeLyXText): simplify
2467 (collapseParagraphs): simplify
2469 * insetert.C (get_new_label): simplify
2471 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2473 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2474 pasteSelection with index
2476 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2480 2003-06-16 André Pönitz <poenitz@gmx.net>
2482 * insetbase.h: new virtual base function clone()
2484 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2485 Inset * clone() -> InsetBase * clone()
2487 2003-06-13 André Pönitz <poenitz@gmx.net>
2489 * insettabular.[Ch]: make tabular a proper member
2491 2003-06-12 André Pönitz <poenitz@gmx.net>
2493 * insettabular.[Ch]: some renaming plus whitespace
2495 2003-06-11 Angus Leeming <leeming@lyx.org>
2497 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2500 * insetbutton.[Ch]: removed.
2501 * graphicinset.[Ch]: renamed as renderers.[Ch].
2503 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2504 Create a new class ButtonRenderer using the InsetButton::metrics() and
2506 Derive both from a common RenderedInset base class.
2508 * insetcommand.[Ch]:
2509 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2510 Give it a ButtonRenderer member variable. Use it.
2511 Give the classes working copy c-tors.
2512 No longer derive from boost::noncopyable.
2514 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2515 display its contents as a button or as a graphic.
2517 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2520 2003-06-11 Angus Leeming <leeming@lyx.org>
2522 * insetcite.C (localDispatch): reformat.
2524 * insetref.C (localDispatch): enable dialog to be lauched.
2526 2003-06-11 John Levon <levon@movementarian.org>
2528 * insettabular.C: correctly mark all cells as erased
2530 2003-06-11 Angus Leeming <leeming@lyx.org>
2532 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2533 ExternalTemplate but its name, templatename. This means that a file
2534 containing a reference to an External Template not installed on the
2535 current machine will be saved retaining this info rather than inserting
2536 the first "valid" template from the list of templates.
2538 As a by product, the visual statement that the Template is missing is
2541 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2543 * insettext.C (appendParagraphs): remove some commented code.
2545 2003-06-10 Angus Leeming <leeming@lyx.org>
2547 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2550 * insetexternal.[Ch]: move tempname_ into the Params struct.
2551 (Params d-tor): new function, to clean-up this temp file.
2552 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2554 (editExternal, doSubstitution): move out of class.
2556 2003-06-10 Angus Leeming <leeming@lyx.org>
2558 * graphicinset.[Ch] (params): removed.
2559 * graphicinset.h (operator=): declared private but not defined.
2560 (statusMessage): made private.
2562 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2564 2003-06-07 John Levon <levon@movementarian.org>
2566 * insetert.C (latex): make a newline mean just that not
2569 2003-06-07 José Matos <jamatos@fep.up.pt>
2571 * insethfill.[Ch] (linuxdoc, docbook): implement output
2572 * insetspace.C (linuxdoc, docbook): remove coments as the code
2575 2003-06-06 José Matos <jamatos@fep.up.pt>
2577 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2579 2003-06-06 André Pönitz <poenitz@gmx.net>
2581 * insetwrap.[Ch]: code compactification
2583 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2585 * mailinset.C (updateDialog): use Dialogs::visible
2587 2003-06-04 Angus Leeming <leeming@lyx.org>
2589 * graphicinset.C (draw): add a comment for the #if 0 block.
2591 * insetexternal.h: remove Params::parameters variable.
2592 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2593 and read it back making full use of LyXLex.
2595 2003-06-04 André Pönitz <poenitz@gmx.net>
2597 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2599 2003-06-04 John Levon <levon@movementarian.org>
2601 * insettabular.C: back out tall table speed up. It was broken
2603 2003-06-03 Angus Leeming <leeming@lyx.org>
2605 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2606 Remove ViewCommand and UpdateCommand.
2608 * graphicinset.C (update): bug fix. Set the params before calling the
2610 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2611 BufferView cache to enable the InsetExternal::editCommand to be invoked
2612 from the frontends. Would not be needed if this were dispatched properly.
2613 (old_ascent_): variable removed.
2615 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2616 do any necessary conversions of external material. Also use the
2617 new GraphicsInset to display the inset within LyX.
2619 2003-06-03 Angus Leeming <leeming@lyx.org>
2621 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2622 and move it somewhere where InsetExternal can use it too.
2624 * Makefile.am: add the new files.
2626 * insetgraphics.[Ch]: make use of the new GraphicInset.
2628 2003-06-03 John Levon <levon@movementarian.org>
2631 * insetbibitem.[Ch]:
2634 * insetcommand.[Ch]:
2638 * insetexternal.[Ch]:
2642 * insetgraphics.[Ch]:
2644 * insetinclude.[Ch]:
2647 * insetlatexaccent.[Ch]:
2648 * insetmarginal.[Ch]:
2649 * insetminipage.[Ch]:
2656 * insetspecialchar.[Ch]:
2657 * insettabular.[Ch]:
2659 * insetthereom.[Ch]:
2662 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2664 * insetgraphics.[Ch]:
2665 * insetgraphicsParams.[Ch]: always store an absolute
2668 2003-06-02 André Pönitz <poenitz@gmx.net>
2672 * insetlatexaccent.C: remove duplicated call to metrics()
2674 2003-06-02 John Levon <levon@movementarian.org>
2676 * insettabular.C: fix resize of column width
2678 2003-06-02 John Levon <levon@movementarian.org>
2683 * insetparent.C: remove insetparent
2685 2003-06-02 André Pönitz <poenitz@gmx.net>
2692 * insetcollapsable.[Ch]:
2696 * insetgraphics.[Ch]:
2697 * insetinclude.[Ch]:
2698 * insetlatexaccent.[Ch]:
2699 * insetminipage.[Ch]:
2700 * insetnewline.[Ch]:
2703 * insetspecialchar.[Ch]:
2704 * insettabular.[Ch]:
2705 * insettext.[Ch]: unify first drawing phase
2708 * insetbase.h: move validate() to the base
2710 2003-05-31 Angus Leeming <leeming@lyx.org>
2712 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2714 2003-05-30 André Pönitz <poenitz@gmx.net>
2719 * insetcaption.[Ch]:
2720 * insetcollapsable.[Ch]:
2723 * insetgraphics.[Ch]:
2724 * insetinclude.[Ch]:
2725 * insetlatexaccent.[Ch]:
2726 * insetnewline.[Ch]:
2729 * insetspecialchar.[Ch]:
2730 * insettabular.[Ch]:
2732 * updatableinset.[Ch]: unify second drawing phase
2734 2003-05-30 John Levon <levon@movementarian.org>
2736 * insetgraphics.C: fix a bformat
2738 2003-05-29 John Levon <levon@movementarian.org>
2740 * insettabular.C: remove unused bufferOwner()
2742 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * insettext.C (lockInsetInInset): adjust
2745 (getLabelList): use const_iterator, adjust
2746 (getInsetFromID): use const_iterator, adjust
2747 (addPreview): use const_iterator, adjust
2749 * insetwrap.C (clone): remove const_cast
2751 * insetnote.C (clone): remove const_cast
2753 * insetminipage.C (clone): remove const_cast
2755 * insetmarginal.C (clone): remove const_cast
2757 * insetfoot.C (clone): remove const_cast
2759 * insetfloat.C (clone): remove const_cast
2761 * insetert.C (clone): remove const_cast
2763 * delete commented same_id functions from a lot of files.
2765 2003-05-28 John Levon <levon@movementarian.org>
2771 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2773 * insetminipage.C: fix metrics (bug 1144)
2775 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2777 * insettext.C (saveLyXTextState): adjust
2778 (restoreLyXTextState): adjust
2781 (unlockInsetInInset): adjust
2782 (localDispatch): adjust
2783 (getLyXText): adjust
2785 * insettabular.C (insertAsciiString): adjust
2787 2003-05-27 André Pönitz <poenitz@gmx.net>
2790 * insetcollapsable.C:
2793 * insetlatexaccent.C:
2798 * insetspecialchar.C:
2800 * insettext.C: dim.w -> dim.wid
2802 2003-05-26 John Levon <levon@movementarian.org>
2804 * insettabular.C: avoid drawing all of a long table
2805 if it's not needed. A big speedup
2807 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * remove same_id from function signatures, adjust
2811 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * insettext.C (InsetText): adjust
2815 (setParagraphData): separate same_id cases, adjust
2816 (appendParagraphs): adjust
2817 (appendParagraphs): adjust
2819 2003-05-23 André Pönitz <poenitz@gmx.net>
2821 * insetbutton.h: whitespace
2823 * insettabular.C: more compact code
2825 * updatableinset.C: remove const_cast
2828 2003-05-23 Angus Leeming <leeming@lyx.org>
2830 * insetexternal.C (write): check how many lines are output.
2831 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2832 if the template has defined it.
2834 2003-05-23 Angus Leeming <leeming@lyx.org>
2836 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2838 2003-05-23 Angus Leeming <leeming@lyx.org>
2840 * insetfoot.C (latex):
2841 * inseturl.C (latex): rename fragile as moving_arg.
2843 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * inseterror.C (localDispatch): comment out unused var.
2847 2003-05-22 Angus Leeming <leeming@lyx.org>
2849 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2850 passed through the LatexRunParams arg.
2852 2003-05-22 Angus Leeming <leeming@lyx.org>
2854 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2855 through the LatexRunParams arg.
2857 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2858 arg rather than through a global var.
2860 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2862 * insetspecialchar.C (dimension): use a string.
2864 2003-05-22 Angus Leeming <leeming@lyx.org>
2866 * insetbibtex.C (latex):
2867 * insetgraphics.C (latex):
2868 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2869 runparams rather than from the buffer itself.
2871 2003-05-22 Angus Leeming <leeming@lyx.org>
2873 * inset*.[Ch] (latex):
2874 passed a LatexRunParams parameter.
2876 * insetgraphics.C (latex): actually use it ;-)
2878 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2880 * insetfloat.C (addToToc): trivial compile fix
2882 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * insettext.[Ch] (paragraph): delete unused function
2886 * insetfloat.C (addToToc): parlist simplfication
2888 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2890 * insetspace.[Ch]: added (new space insets)
2892 * inset.h: handle new space insets
2894 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * insetfloat.C (addToToc): adjust
2898 2003-05-21 André Pönitz <poenitz@gmx.net>
2900 * insettext.[Ch]: fix drawing bug introduced earlier
2902 2003-05-19 André Pönitz <poenitz@gmx.net>
2904 * insetspecialchar.C: fix bug introduced yesterday
2906 2003-05-19 André Pönitz <poenitz@gmx.net>
2910 * insetcollapsable.[Ch]:
2914 * insetgraphics.[Ch]:
2915 * insetgraphicsParams.[Ch]:
2916 * insetlatexaccent.[Ch]:
2917 * insetminipage.[Ch]:
2918 * insetnewline.[Ch]:
2920 * insetspecialchar.[Ch]:
2921 * insettabular.[Ch]:
2922 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2924 2003-05-19 André Pönitz <poenitz@gmx.net>
2927 * insettext.C: more insetenv
2929 2003-05-16 André Pönitz <poenitz@gmx.net>
2932 * insetminimpage.[Ch]:
2933 * insetcollapsable.[Ch]: fix #832
2935 2003-05-16 André Pönitz <poenitz@gmx.net>
2938 * insetbibitem.[Ch]:
2942 * insetcollapsable.[Ch]:
2943 * insetcommand.[Ch]:
2946 * insetexternal.[Ch]:
2947 * insetfloatlist.[Ch]:
2948 * insetgraphics.[Ch]:
2949 * insetinclude.[Ch]:
2952 * insetlatexaccent.[Ch]:
2955 * insettabular.[Ch]:
2959 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2961 2003-05-13 André Pönitz <poenitz@gmx.net>
2964 * insetcollapsable.C:
2968 * insetwrap.C: tostr from own header
2980 * insetwrap.C: STRCONV
2983 2003-05-12 André Pönitz <poenitz@gmx.net>
2995 * insetwwrap.C: boost::format -> bformat all over the place
2997 2003-05-05 André Pönitz <poenitz@gmx.net>
2999 * insettext.h: add missing #include <map>
3001 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * insettext.C (InsetText): parlist cleanup
3006 (insetUnlock): ditto
3008 (lockInsetInInset): ditto
3012 (searchBackward): ditto
3013 (collapseParagraphs): ditto
3015 2003-05-06 John Levon <levon@movementarian.org>
3017 * insetcaption.C: don't cast wrap inset to InsetFloat
3020 * insetfloat.C: remove unneeded type() function
3022 2003-05-05 André Pönitz <poenitz@gmx.net>
3026 * insettabular.[Ch]:
3027 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3028 replace getFirstParagraph() by getParagraphs()
3030 2003-05-03 John Levon <levon@movementarian.org>
3032 * insetcollapsable.h:
3033 * insetcollapsable.C:
3039 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3040 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3041 getCursor(). Remove explicit cursor hides.
3043 2003-05-02 André Pönitz <poenitz@gmx.net>
3045 * insettext.C: remove unneeded &*
3047 2003-04-30 John Levon <levon@movementarian.org>
3049 * insettabular.C: fix edit message
3051 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * insettext.C (setFont): do not convert iterator -> pointer
3055 * insettabular.C (localDispatch): do not convert iterator -> pointer
3057 (tabularFeatures): ditto
3059 2003-04-29 André Pönitz <poenitz@gmx.net>
3061 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3063 2003-04-28 André Pönitz <poenitz@gmx.net>
3065 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3068 2003-04-25 André Pönitz <poenitz@gmx.net>
3070 * insetenv.C: derive from InsetText instead of InsetCollapsable
3072 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * insetexternal.C (string2params): dont do anything if the string
3076 * insetgraphics.C (string2params): ditto
3077 * insetcommand.C (string2params): ditto
3078 * insetert.C (string2params): ditto
3079 * insetfloat.C (string2params): ditto
3080 * insetinclude.C (string2params): ditto
3081 * insetminipage.C (string2params): ditto
3082 * insettabular.C (string2params): ditto
3083 * insetwrap.C (string2params): ditto
3085 2003-04-24 André Pönitz <poenitz@gmx.net>
3087 * insetref.C: support for eqref
3089 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * insetert.C (read): use ParagraphList::iterator.
3093 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * insetquotes.C (latex): comment some code and add warnings.
3097 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3099 * insetexternal.C (localDispatch): added a missing DISPATCHED
3101 2003-04-12 John Levon <levon@movementarian.org>
3103 * insetwrap.C (addToToc): fix a crash, conversion
3104 from while to for loop forgot to remove the explicit
3107 2003-04-10 John Levon <levon@movementarian.org>
3109 * insettabular.C (tabularFeature): make sure
3110 to update the dialog when we change something
3113 (getStatus): don't disable some lfuns (bug 939)
3115 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * insettext.C (saveLyXTextState): adjust
3118 (localDispatch): adjust
3124 * insettabular.C (localDispatch): adjust
3126 (tabularFeatures): adjust
3128 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3130 * insettabular.C (searchForward,searchBackward): fix bug 782
3132 2003-04-07 John Levon <levon@movementarian.org>
3135 * insettext.C: clear status message on inset exit
3137 2003-04-03 John Levon <levon@movementarian.org>
3139 * insetcommand.C: return dispatched on DIALOG_UPDATE
3141 2003-04-02 John Levon <levon@movementarian.org>
3143 * insettabular.C: tab lfuns renamed
3145 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * insettext.C (update): move towards ParagraphList
3148 (updateLocal): ditto
3150 (insetUnlock): ditto
3152 (lockInsetInInset): ditto
3153 (updateInsetInInset): ditto
3154 (localDispatch): ditto
3157 (resizeLyXText): ditto
3158 (searchBackward): ditto
3159 (collapseParagraphs): ditto
3162 * insetwrap.C (InsetWrap): adjust
3163 (addToToc): adjust and rewrite loop
3165 * insettext.[Ch] (paragraph): delete function
3167 * insettabular.C (moveNextCell): adjust
3168 (movePrevCell): adjust
3169 (insertAsciiString): adjust
3171 * insetfloat.C (InsetFloat): adjust
3174 * insetert.C (InsetERT): adjust
3175 (write): adjust, and rewrite loop
3176 (latex): adjust, and rewrite loop
3177 (linuxdoc): adjust, and rewrite loop
3178 (docbook): adjust, and rewrite loop
3179 (localDispatch): adjust
3180 (get_new_label): adjust
3182 2003-04-01 John Levon <levon@movementarian.org>
3184 From Alfredo Braunstein
3187 * insetbutton.C: add localDispatch()
3189 * insetcommand.C: return DISPATCHED when edit() called
3191 * insettext.C: fix bug 967
3193 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * insettext.C: adjust
3197 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * insettext.C (draw): adjust
3200 (crow): return a RowList::iterator not a Row*
3202 * insetminipage.C (localDispatch): adjust
3204 * insetert.C (localDispatch): adjust
3206 2003-03-31 John Levon <levon@movementarian.org>
3209 * insetgraphicsParams.C: use_gui moved to lyx_gui
3211 2003-03-31 John Levon <levon@movementarian.org>
3213 * insettext.C: Alert fix
3215 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * insettext.C (ascent): adjust for RowList
3220 (getLyXText): adjust
3221 (toggleSelection): adjust
3223 * insetminipage.C (localDispatch): adjust for RowList
3225 * insetert.C (localDispatch): adjust for RowList
3226 (getMaxWidth): adjust for RowList
3228 2003-03-29 John Levon <levon@movementarian.org>
3230 * insetert.C: Alert cleanup
3232 2003-03-29 John Levon <levon@movementarian.org>
3234 * insettabular.C: Alert fix
3236 2003-03-28 John Levon <levon@movementarian.org>
3238 * insetfloat.C: reset label on INSET_MODIFY
3240 2003-03-28 John Levon <levon@movementarian.org>
3242 * insetgraphicsParams.C: read subcaptionText as a whole line
3245 2003-03-28 John Levon <levon@movementarian.org>
3247 * insettext.C: remove unused prototypes
3249 2003-03-25 Angus Leeming <leeming@lyx.org>
3251 * insetbibitem.C (localDispatch): repaint the view after modifying
3252 a bibitem inset in case the maximum InsetBibitem width has changed.
3254 2003-03-25 John Levon <levon@movementarian.org>
3257 * insettabular.C: LyXText renamings
3259 2003-03-24 John Levon <levon@movementarian.org>
3261 * insettext.C: remove some dead code. Fix bug 972 and
3262 related by posting a repaint in updateLocal(), and making
3263 the SEL functions set SELECTION.
3265 2003-03-22 John Levon <levon@movementarian.org>
3268 * inset.C: remove no-longer-needed topx_set
3270 * insetcollapsable.h:
3271 * insetcollapsable.C: remove dead code
3274 * insetert.C: rebreak the rows when a possible
3275 change in size is made, and reset the cursor
3278 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3280 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3281 topx_set. Fix drawing errors for clearInset(). Remove
3282 some unnecessary uses of topx, which should die.
3284 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3285 is no longer needed. Replace it with an ugly hack.
3287 2003-03-20 John Levon <levon@movementarian.org>
3290 * insetcollapsable.h:
3291 * insetcollapsable.C:
3299 * insettext.C: remove spurious font parameter
3300 from update(). Fix drawing of ERT insets inside
3301 insets (bug 966). Remove unused mark_dirty from
3302 tabular's updateLocal()
3304 2003-03-19 John Levon <levon@movementarian.org>
3313 * insetwrap.C: remove unused getter/setters
3315 2003-03-19 John Levon <levon@movementarian.org>
3317 * several files: bv->updateInset() doesn't take
3318 a bool mark_dirty any more
3320 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * adjust for BufferView* arg removal from lyxtext.
3324 2003-03-17 John Levon <levon@movementarian.org>
3326 * most files: remove the "cleared" parameter
3327 to draw in favour of always clearing. Associated
3330 2003-03-16 John Levon <levon@movementarian.org>
3332 * insettext.C: remove unused s.refresh
3334 2003-03-13 Angus Leeming <leeming@lyx.org>
3336 * insettext.C (edit): replace Dialogs::updateParagraph with
3337 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3339 2003-03-13 André Pönitz <poenitz@gmx.net>
3341 * Makefile.am: insert insetenv
3343 * insethenv.[Ch]: new files, currently inactive
3345 2003-03-12 John Levon <levon@movementarian.org>
3355 * insettext.C: use new insetnewline
3357 2003-03-12 John Levon <levon@movementarian.org>
3359 * insettext.C: readToken became readParagraph
3361 2003-03-12 John Levon <levon@movementarian.org>
3363 * insettext.C: use parlist iterator for reading contents
3365 2003-03-12 John Levon <levon@movementarian.org>
3367 * insettext.C: name change to readToken()
3369 2003-03-11 André Pönitz <poenitz@gmx.net>
3371 * Makefile.am: insert insethfill
3373 * insethfill.[Ch]: new files
3375 2003-03-10 Angus Leeming <leeming@lyx.org>
3377 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3379 (hideDialog): calls the new static Dialogs::hide() method.
3381 * insetbibitem.C (edit):
3382 * insetbibtex.C (edit):
3383 * insetcite.C (edit):
3384 * insetcommand.C (localDispatch):
3385 * inseterror.C (d-tor):
3386 * insetert.C (showInsetDialog):
3387 * insetexternal.C (localDispatch, edit):
3388 * insetfloat.C (localDispatch, showInsetDialog):
3389 * insetfloatlist.C (edit):
3390 * insetgraphics.C (localDispatch, edit):
3391 * insetinclude.C (localDispatch, edit):
3392 * insetindex.C (edit):
3393 * insetlabel.C (edit):
3394 * insetminipage.C (localDispatch, showInsetDialog):
3395 * insetref.C (edit):
3396 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3397 resetPos, showInsetDialog, openLayoutDialog):
3398 * insettoc.C (edit):
3399 * inseturl.C (edit):
3400 * insetwrap.C (localDispatch, showInsetDialog):
3401 changes due to the changed MailInset interface.
3403 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3405 * insetfloat.h: Set default placement to an empty string.
3407 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3409 * insettext.C (latex): adjust call to latexParagraphs.
3411 2003-03-10 Angus Leeming <leeming@lyx.org>
3413 * mailinset.C: warn the user if the BufferView has not been cached.
3415 2003-03-10 Angus Leeming <leeming@lyx.org>
3417 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3419 * insetcommand.h (inset):
3420 * insetert.h (inset):
3421 * insetexternal.h (inset):
3422 * insetfloat.h (inset):
3423 * insetgraphics.h (inset):
3424 * insetinclude.h (inset):
3425 * insetminipage.h (inset):
3426 * insettabular.h (inset):
3427 * insetwrap.h (inset):
3428 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3430 2003-03-10 Angus Leeming <leeming@lyx.org>
3432 * insetcommand.C (string2params):
3433 * insetexternal.C (string2params):
3434 * insetfloat.C (string2params):
3435 * insetgraphics.C (string2params):
3436 * insetinclude.C (string2params):
3437 * insetminipage.C (string2params):
3438 * insettabular.C (string2params):
3439 * insetwrap.C (string2params): cure warning message about missing
3442 2003-03-09 Angus Leeming <leeming@lyx.org>
3444 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3445 it to communicate with the frontend dialogs.
3447 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3448 contents of this inset!
3450 2003-03-07 Angus Leeming <leeming@lyx.org>
3452 * inseterror.C (localDispatch): new method; calls edit() on
3455 2003-03-07 Angus Leeming <leeming@lyx.org>
3457 * insetbibitem.C (localDispatch):
3458 * insetbibtex.C (localDispatch):
3459 * insetlabel.C (localDispatch):
3460 rewrite as a switch.
3462 2003-03-07 Angus Leeming <leeming@lyx.org>
3464 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3465 it to communicate with the frontend dialogs.
3467 2003-03-07 Angus Leeming <leeming@lyx.org>
3469 * insetexternal.C: remove operator== and operator!= for
3470 InsetExternal::Params. They were used only by the old controller
3473 2003-03-07 Angus Leeming <leeming@lyx.org>
3475 * insetcommand.C (localDispatch):
3476 * insetexternal.C (localDispatch):
3477 * insetfloat.C (localDispatch):
3478 * insetinclude.C (localDispatch):
3479 * insetminipage.C (localDispatch):
3480 * insetwrap.C (localDispatch):
3481 add LFUN_INSET_DIALOG_UPDATE to the switch.
3483 2003-03-07 Angus Leeming <leeming@lyx.org>
3485 * insetcommand.C (string2params):
3486 * insetexternal.C (string2params):
3487 * insetfloat.C (string2params):
3488 * insetinclude.C (string2params):
3489 * insetwrap.C (string2params): use LyXLeX more.
3492 * insetexternal.[Ch]:
3494 * insetinclude.[Ch]:
3495 * insetwrap.[Ch]: change Mailer::name_ to be static.
3497 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3498 it to communicate with the frontend dialogs.
3500 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3503 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3505 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * insettext.C (updateLocal): un-const function
3508 (updateLocal): adjust
3509 (collapseParagraphs): un-const function
3510 (collapseParagraphs): adjust
3512 2003-03-05 Angus Leeming <leeming@lyx.org>
3514 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3515 it to communicate with the frontend dialogs.
3517 2003-03-05 Angus Leeming <leeming@lyx.org>
3519 * insetcollapsable.C (draw): cache the BufferView.
3521 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3522 it to communicate with the frontend dialogs.
3524 2003-03-05 Angus Leeming <leeming@lyx.org>
3526 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3529 2003-03-05 Angus Leeming <leeming@lyx.org>
3531 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3533 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3534 it to communicate with the frontend dialogs.
3536 2003-03-05 Angus Leeming <leeming@lyx.org>
3538 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3539 it to communicate with the frontend dialogs.
3541 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * insettext.C (collapseParagraphs): adjust
3544 (appendParagraphs): make it take a Buffer* instead of a
3545 BufferParams& as arg.
3546 (appendParagraphs): adjust
3548 2003-03-04 Angus Leeming <leeming@lyx.org>
3550 * insetbibitem.C (localDispatch):
3551 * insetbibtex.C (localDispatch):
3552 * insetcommand.C (localDispatch):
3553 * insetert.C (localDispatch):
3554 * insetlabel.C (localDispatch):
3555 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3557 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * insettext.C (latex): adjust for ParagraphList::iterator
3561 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * insetbutton.C (view): adjust for boost 1.30.0
3564 * insetcollapsable.C (view): ditto
3565 * insetgraphics.C (statusChanged): ditto
3567 * insettext.h: move paragraphs to be public.
3569 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * insetnote.[Ch] (InsetNote): remove unused constructor
3573 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3575 * insetgraphics.C: added include "format.h"
3577 2003-02-27 Angus Leeming <leeming@lyx.org>
3579 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3582 2003-02-27 Angus Leeming <leeming@lyx.org>
3584 * insetbibitem.C (localDispatch):
3585 * insetbibtex.C (localDispatch):
3588 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3590 2003-02-26 Angus Leeming <leeming@lyx.org>
3592 * insetbibitem.[Ch] (localDispatch):
3593 * insetbibtex.[Ch] (localDispatch):
3594 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3596 * insetcommand.C (localDispatch):
3597 act only on receipt of LFUN_XYZ_APPLY.
3599 * insetert.C (localDispatch): reformat.
3600 add LFUN_XYZ_APPLY to the switch.
3602 2003-02-26 John Levon <levon@movementarian.org>
3604 * insettext.C: use RowPainter
3606 * inset.h: make helpers take const *
3608 2003-02-26 Angus Leeming <leeming@lyx.org>
3610 * insetcommand.[Ch] (localDispatch): new method.
3612 2003-02-26 Angus Leeming <leeming@lyx.org>
3614 * insetinclude.C (draw): cache the BufferView* using cache not
3615 PreviewImpl::setView
3617 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3619 * insetgraphics.C (draw)
3620 * insetinclude.C (draw): Eliminate also the other argument (owner
3621 inset inset) in the call to PreviewImage::image
3623 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3625 * insetgraphics.C (draw)
3626 * insetinclude.C (draw): Eliminate Buferview argument in call to
3629 2003-02-25 John Levon <levon@movementarian.org>
3631 * insetgraphicsParams.h:
3632 * insetgraphics.C: don't start a load process if
3633 the inset is set to NoDisplay (bug #920)
3635 2003-02-22 John Levon <levon@movementarian.org>
3638 * insetwrap.C: TocItem changed API (bug 913)
3640 2003-02-21 Angus Leeming <leeming@lyx.org>
3642 * insetcollapsable.[Ch] (cache, edit):
3643 * insetbutton.[Ch] (cache, edit): new methods to cache the
3644 BufferView in the draw method.
3646 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3647 simplify comunication between InsetCommand-derived classes and
3650 * insetbibitem.[Ch]:
3654 * insetfloatlist.[Ch]:
3658 * inseturl.[Ch]: small changes to reflect the new interface to the
3661 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3662 other, similar classes.
3664 * Makefile.am: add new files.
3666 2003-02-21 Angus Leeming <leeming@lyx.org>
3668 * updatableinset.h (setView, view): remove.
3669 * inset.h (view, cache): to be replaced by these.
3671 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3674 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3677 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3679 2003-02-21 Allan Rae <rae@lyx.org>
3681 * insetinclude.C (loadIfNeeded): ensure loading also works when
3682 child document is under version control.
3684 2003-02-17 André Pönitz <poenitz@gmx.net>
3686 * insetbib.[Ch]: Adjust access to bibkeys
3688 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3690 * insetquotes.C (dispString): remove use of acute accent for "'"
3693 2003-02-14 John Levon <levon@movementarian.org>
3695 * insettabular.C: changed method names in tabular.C
3697 2003-02-14 John Levon <levon@movementarian.org>
3701 * insetcollapsable.h:
3702 * insetcollapsable.C:
3706 * insettext.C: remove unused getParFromID()
3708 2003-02-13 John Levon <levon@movementarian.org>
3711 * insettext.C: remove unused beginningofMainBody()
3713 2003-02-08 John Levon <levon@movementarian.org>
3717 * insetcollapsable.h:
3718 * insetcollapsable.C:
3723 add nextChange(). Make allowSpellcheck() const. Add markErased().
3725 * insetert.C: ignore deleted text
3727 * insettabular.C: make sure to keep change tracking working
3730 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3735 * insettext.C: Use error messages with identical spelling and punctuation
3737 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3739 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3741 2002-12-17 Juergen Vigna <jug@lyx.org>
3743 * insettext.C (localDispatch): hopefully fixed cursor up down
3744 movement on leaving other insets.
3746 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3748 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3751 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3753 * insetgraphics.C (prepareFile): do not remove the extension of
3754 the file name if it is not the default extension for the given
3755 format (that is, in latex output, remove extension from foo.eps,
3756 but not from foo.epsi)
3758 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3760 * insettext.C (lfunMouseRelease): hackish solution to the "double
3763 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * insetfloat.C (addToToc): use the floats name not its type
3766 * insetwrap.C (addToToc): ditto
3768 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3770 * insetnote.C (init): make label font smaller
3772 2002-12-04 John Levon <levon@movementarian.org>
3774 * insetinclude.C: ressurect setting of command name
3776 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * insetquotes.C (dispString): disambiguate insert call
3780 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * several files: ws changes
3784 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3786 * insetquotes.C (dispString): use string::insert for prepending a
3789 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3791 * insetparent.C (getScreenLabel): use boost::format
3793 * insetgraphics.C (prepareFile): use boost::format
3796 * insetfloatlist.C (latex): use boost::format
3798 * insetcaption.C (draw): use boost::format
3800 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3802 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3805 2002-11-20 Juergen Vigna <jug@sad.it>
3807 * insettabular.C (resetPos): temporary fix for endless loop in
3808 this function on a redraw.
3810 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * insettabular.C (copySelection): STRCONV
3814 * insetinclude.C (uniqueID): STRCONV
3815 (latexString): ditto
3817 * insetgraphics.C: put VersionNumber inside anon namespace
3818 (createLatexOptions): STRCONV
3820 * insetcommandparams.C: include config.h
3822 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3824 * insetgraphicsParams.C (Write): use lyx::float_equal.
3825 Write height data correctly.
3826 (Read): zero scale when reading height data.
3828 2002-10-30 John Levon <levon@movementarian.org>
3830 * insetfloat.C (addToTOC): recursively traverse all
3831 contents looking for captions (fix #568)
3833 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3835 * insetexternal.C (doSubstitution): do not try to replace
3836 environment variables, this is done when executing the command
3838 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3840 * insetexternal.C (doSubstitution): change order of substitution
3841 to work around ReplaceEnvironmentPath brokenness
3843 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3845 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3847 * insetgraphicsParams.C (init, Write): associated changes
3848 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3849 InsetGraphicsParams::scale.
3851 2002-10-21 John Levon <levon@movementarian.org>
3853 * inset.h: remove unused DISPATCH_RESULT
3855 * insettext.C: sgml open/close tag now in sgml namespace
3857 2002-10-21 Angus Leeming <leeming@lyx.org>
3859 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3860 file path subdir/fig.eps when pasting it into a buffer in a different
3863 2002-10-16 John Levon <levon@movementarian.org>
3865 * insetspecialchar.C: remove \\protected_separator parsing
3867 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3869 * insetquote.C: fix LaTeX output of quotation marks.
3871 2002-10-14 Juergen Vigna <jug@sad.it>
3873 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3874 Backspace functions which confused the Undo handling.
3876 2002-10-09 Angus Leeming <leeming@lyx.org>
3878 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3879 BufferView::dispatch that turns off this optimisation when a new inset
3882 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3883 reload the BibTeX keys.
3885 2002-10-11 André Pönitz <poenitz@gmx.net>
3887 * insettext.h: handle LFUN_PRIOR/NEXT
3889 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3891 * insetfloat.C: fix bug with float settings
3892 (document default != float default).
3894 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3896 * insetwrap.C (addToToc): New method.
3897 (InsetWrap): Set layout to caption.
3899 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3903 2002-09-16 John Levon <levon@movementarian.org>
3905 * insettabular.h: hasSelection() needs to be public
3907 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3909 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3911 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3913 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3915 2002-09-11 André Pönitz <poenitz@gmx.net>
3917 * insettabular.C: implement LFUN_WORDSEL
3919 2002-09-10 John Levon <levon@movementarian.org>
3921 * insetinclude.h: remove unused param
3923 2002-09-09 John Levon <levon@movementarian.org>
3926 * insetinclude.C: remove noload, default to input
3928 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3930 * insetgraphics.C: disfuscated use of ']' in built output string.
3932 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3936 2002-08-29 Juergen Vigna <jug@sad.it>
3938 * insettabular.C (lfunMousePress): Pay attention where you set
3939 the x/y values as they depend on which inset in the tabular is
3940 actually locked. So you surely have to reset them if you (un)lock
3943 2002-08-29 André Pönitz <poenitz@gmx.net>
3945 * insetfootlike.h: rename include guard to ALL CAPS
3947 * insettext.C: swap object and first parameter for checkInsetHit calls
3948 as this functions has moved from BufferView to LyXText
3951 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3953 * insetgraphicsParams.C: remove local displayTranslator and use
3954 the one from graphics/GraphicsTypes.h.
3956 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3958 * insetfloat.C (wide): add BufferParams parameter
3960 * insetfloatlist.C (read):
3963 * insetfloat.C (latex):
3965 * insetcaption.C (draw): use LyXTextClass::floats()
3967 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3969 * insetoptarg.h: add std:: qualifier.
3971 2002-08-26 Juergen Vigna <jug@sad.it>
3973 * insettext.C (localDispatch): ditto.
3975 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3977 2002-08-25 John Levon <levon@movementarian.org>
3979 * inseturl.C: elide long URLs (bug 404)
3981 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3983 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3984 remove "Format Version <version_no.>" string from inset header
3987 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3989 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3990 a member of "grfx::Params" anymore.
3992 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3994 2002-08-24 John Levon <levon@movementarian.org>
3997 * insetoptarg.C: ws, pedantry ...
3999 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4001 * insettext.C (collapseParagraphs): pasteParagraph now in global
4003 (appendParagraphs): ditto
4005 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4007 * insetcite.C (latex): Remove spaces only after commmas.
4009 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4011 * insettext.C: remove NO_COMPABILITY stuff
4013 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * insettext.C (edit): use ParagraphList iterators
4017 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4018 (bibitemWidest): ditto
4020 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4022 * insettext.C: include <boost/bind.hpp>
4023 add using std::for_each
4024 (saveLyXTextState): use ParagraphsList::iterator
4025 (init): use for_each on paragraphlist iterators
4026 (InsetText): remove superflous setting cached_bview to 0
4027 (latex): reformat a bit
4028 (ascii): use paragraphlist iterators
4029 (validate): use for_each + boost bind
4030 (getLabelList): use paragraphlist iterators
4031 (deleteLyXText): use for_each + boost::bind
4032 (resizeLyXText): ditto
4033 (reinitLyXText): ditto
4034 (removeNewlines): use paragraphlist iterators
4035 (getParFromID): ditto
4036 (paragraph): use for_each + boost::bind
4037 (getInsetFromID): use paragraphlist iterators
4038 (getLabelList): typo fix
4040 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * insettext.C (read): assign tmp to paragraphs after return from
4043 call to parseSingleLyXformat2Token
4046 2002-08-13 Angus Leeming <leeming@lyx.org>
4065 changes due to the changed LyXView interface that now returns references
4066 to member variables not pointers.
4068 2002-08-13 Angus Leeming <leeming@lyx.org>
4071 * insetcollapsable.h:
4074 * insettext.h: forward-declare WordLangTuple
4075 (selectNextWordToSpellcheck) constify return type.
4078 * insetcollapsable.C:
4081 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4083 2002-08-12 Angus Leeming <leeming@lyx.org>
4085 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
4087 2002-08-12 Juergen Vigna <jug@sad.it>
4089 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4092 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4095 (bibitemWidest): ditto
4096 * insettext.[Ch]: ditto
4098 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4102 2002-08-09 Angus Leeming <leeming@lyx.org>
4104 * insetinclude.C (latexString): remove fudge now that I've found out
4105 how to enable LaTeX to find the file using input@path.
4107 2002-08-09 John Levon <levon@movementarian.org>
4110 * insettext.C: remove unused xpos
4112 2002-08-07 Juergen Vigna <jug@lyx.org>
4114 * insettabular.C (localDispatch): make delete not put the stuff
4115 in the clipboard only do this on a cut operation.
4117 * insettext.C (localDispatch): make delete and backspace not put
4118 selected stuff to the clipboard.
4120 2002-08-07 André Pönitz <poenitz@gmx.net>
4123 * insetcollapsable.[Ch]:
4127 * insettabular.[Ch]:
4128 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4130 2002-08-06 John Levon <levon@movementarian.org>
4134 * insetcollapsable.h:
4135 * insetcollapsable.C:
4141 * insettext.C: use WordLangTuple for spellcheck
4143 2002-08-06 Angus Leeming <leeming@lyx.org>
4145 * insetinclude.C: add a monitor to the previewed image, so that the
4146 image is refreshed if the \input-ed file changes.
4148 2002-08-04 John Levon <levon@movementarian.org>
4151 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4153 2002-08-02 Angus Leeming <leeming@lyx.org>
4155 * insetcommandparams.[Ch] (preview): new methods returning and setting
4156 a new bool preview_ flag.
4157 (read): read this flag.
4158 (operator==): add flag to check.
4160 * insetinclude.C (write): output new preview() flag.
4161 (previewWanted): use this flag.
4163 2002-08-02 Angus Leeming <leeming@lyx.org>
4165 * insetcollapsable.[Ch] (addPreview):
4166 * insettabular.[Ch] (addPreview):
4167 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4168 for insets in insets.
4170 2002-08-02 Angus Leeming <leeming@lyx.org>
4172 * insetcite.C: fix typo.
4174 * insetgraphics.C: kill current_view and instead cache the BufferView
4177 * insetinclude.C: kill current_view and pass the BufferView to the
4178 PreviewedInset so that it can cache it.
4180 2002-08-01 Angus Leeming <leeming@lyx.org>
4182 * inset.h (generatePreview): renamed as addPreview.
4183 (generatePreview): new method. Allows code to be moved out of
4184 math_nestinset.C and into the new PreviewedInset class.
4186 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4187 add previews to the inset when \input-ing LaTeX.
4189 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * several files: strip,frontStrip -> trim,ltrim,rtrim
4193 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * insetbib.C (latex): modify because of strip changes
4197 * insetnote.C (InsetNote): ditto
4199 2002-07-26 Juergen Vigna <jug@sad.it>
4201 * insettabular.C (searchForward): check for lastcell if we
4202 had a locking inset.
4204 2002-07-25 Juergen Vigna <jug@sad.it>
4206 * insettabular.C (insetMotionNotify): Don't update the screen
4207 if we didn't do nothing.
4208 (searchForward): last cell was not checked.
4210 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4212 * insetfloat.C (read, write): Allow default placement
4213 (floatPlacement_ is empty).
4215 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4217 * insetminipage.h (noFontChange):
4218 * insettabular.h (noFontChange):
4219 * insetfootlike.h (noFontChange):
4220 * insetfloat.h (noFontChange): return true
4222 * inset.h (noFontChange): new method, defaulting to false
4224 2002-07-22 Herbert Voss <voss@lyx.org>
4226 * insetgraphicsParams.[Ch]: support size_type for old docs
4228 2002-07-22 Herbert Voss <voss@lyx.org>
4231 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4234 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4236 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4238 * insetlatexaccent.h: do not include "lyxlex.h"
4240 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4243 * insetlatexaccent.C:
4247 * insetbib.C: #include "lyxlex.h"
4253 * insettext.C: use BufferParams::getLyXTextClass
4256 * insetfloat.C (addToToc): new method. Add to toclist the entries
4257 corresponding to Caption layouts
4258 (InsetFloat): when creating a new float, set the layout to "Caption"
4260 2002-07-21 Herbert Voss <voss@lyx.org>
4262 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4263 image relevant part into graphics/GraphicsImgae.C
4265 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4267 * insettoc.C (ascii):
4268 * insetfloatlist.C (ascii): change to use the new Toc functions
4269 instead of stuff that was in Buffer
4271 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4273 * insettext.C (localDispatch): BufferView::Dispatch has been
4274 renamed to BufferView::dispatch
4276 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4278 * insetgraphicsParams.C (as_grfxParams): use the new
4279 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4280 1.2.0 patch, and I do not really know how to adapt it to the new
4281 grfx::Cache world. Angus, please could you have a look?
4283 2002-05-01 Herbert Voss <voss@lyx.org>
4285 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4287 2002-07-18 Angus Leeming <leeming@lyx.org>
4289 * insetgraphics.C: clean-up comments (from Herbert).
4290 add a new checksum variable to the cache. Use it in PrepareFile.
4291 (draw): start monitoring the file for a change.
4292 (prepareFile): re-arrange a little to avoid unnecessary steps.
4294 2002-07-17 Angus Leeming <leeming@lyx.org>
4296 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4297 a method rather than to the signal directly.
4299 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4301 * insettext.C: use view_state_changed, switchKeyMap
4303 2002-07-17 Herbert Voss <voss@perce.de>
4305 * insetgraphics.C (prepareFile): keep the extension when
4306 exporting to nice file
4308 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4310 * insetcite.C (getNatbibLabel):
4311 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4313 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4315 * insetgraphics.C: use ->isDrawable()
4317 2002-07-12 Angus Leeming <leeming@lyx.org>
4319 * insetgraphics.C: use the new smart loading capabilities of the image
4322 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4324 * insettabular.C (edit): Move into correct cell when entering a
4327 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4330 2002-07-05 Angus Leeming <leeming@lyx.org>
4332 * inset.h (generatePreview): new virtual method.
4334 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4336 * insetcommandparams.[Ch] (operator=): move out of class
4337 (operator!): move out of class
4339 2002-07-04 André Pönitz <poenitz@gmx.net>
4341 * insetcommandparams.[Ch]: new files
4343 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4345 2002-06-15 Herbert Voss <voss@perce.de>
4347 * insetgraphics.C (prepareFile): bugfix; return always
4348 files without extension
4350 2002-06-28 Angus Leeming <leeming@lyx.org>
4352 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4353 rename asGParams -> as_grfxParams.
4355 * insetgraphics.C: reflect above change.
4357 2002-06-26 Angus Leeming <leeming@lyx.org>
4359 * insetgraphics.h: use boost::scoped_ptr in preference to
4362 2002-06-26 Angus Leeming <leeming@lyx.org>
4364 * insetgraphics.C: moved the image loading stuff into a new class
4365 grfx::Loader. Simplifies this file enormously.
4367 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4369 * insetgraphicsParams.C: changes aassociated with moving
4370 grfx::DisplayType out of grfx::GParams.
4372 2002-06-26 André Pönitz <poenitz@gmx.net>
4374 * insetgraphics.C: use os::external_path where necesaary according to a
4375 patch from Claus Hentschel)
4377 2002-06-25 Angus Leeming <leeming@lyx.org>
4379 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4380 generating a pixmap once the graphics file is loaded into memory.
4381 The current_view ugliness that was in grfx::ModifiedImage has been
4382 moved here now that grfx::ModifiedImage is no more.
4384 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4386 * insettext.C: layout as layout
4388 2002-05-28 André Pönitz <poenitz@gmx.net>
4390 * insetfloatlist.h: remove source of compiler warning
4392 * insetref.C: tiny whitespace
4394 2002-06-15 Herbert Voss <voss@perce.de>
4396 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4397 and take always convert when no userdefined converter was
4399 (latex) small changes in the lyxerr output
4401 2002-06-15 LyX Development team <lyx@rilke>
4403 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4404 mixed content. Small white spaces clean.
4406 2002-06-14 Angus Leeming <leeming@lyx.org>
4408 * inseetexternal.C: remove the using std::difftime declaration.
4410 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4412 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4414 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4416 * insetquotes.C (draw): fix drawing of double quotes
4418 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4420 * insettabular.C: s/scrollCB/scrollDocView/
4422 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4424 * insettext.C: change of topCursorVisible()
4427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4430 * insettext.C: rename/change of LyXScreen
4432 2002-06-07 Angus Leeming <leeming@lyx.org>
4434 Fixes needed to compile with Compaq cxx 6.5.
4436 all c-library variables have been moved into namespace std.
4437 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4439 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4441 * insetinclude.C (uniqueID):
4442 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4443 conflicted with some AIX headers.
4445 2002-05-31 Juergen Vigna <jug@sad.it>
4447 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4451 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4453 * insetexternal.C (clone): fix () bug when using new
4454 (updateExternal): don't only look for difftime in global scope
4456 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4458 * insettabular.C: add const
4460 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4462 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4463 file name, in case there are weird characters like ',' in there.
4466 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4468 * switch from SigC signals to boost::signals.
4470 2002-05-28 André Pönitz <poenitz@gmx.net>
4472 * insets/insetgraphicsParams.[Ch]:
4473 put in inset related stuff from src/graphic
4475 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4483 * insetcollapsable.C:
4484 * insetcollapsable.h:
4512 * inseturl.h: use mouse_state. Kill insetKeyPress
4514 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4519 * insetcollapsable.C:
4522 * insetlatexaccent.C:
4524 * insetspecialchar.C:
4526 * insettext.C: name change for font metrics
4528 2002-05-24 Juergen Vigna <jug@sad.it>
4530 * insetgraphics.h: include inset.h first (for LString.h)
4532 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4534 * insettext.C: screen moved
4536 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4554 * inseturl.C: LyXView moved into frontends/
4556 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4561 * insetcollapsable.C:
4565 * insetgraphicsParams.C:
4566 * insetlatexaccent.C:
4568 * insetspecialchar.C:
4570 * insettext.C: move Painter to frontends/
4572 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4574 * insettabular.h: use more specific smart_ptr header.
4575 * insettext.h: ditto
4577 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4580 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4582 * insettext.C: clear selection on paste (bug 393)
4584 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4586 * insettext.C (latex): Honor the moving_arg argument.
4588 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4590 * insetfoot.C (latex): if a footnote is in a title layout, then it
4591 is a \thanks. And then, its contents is a moving argument.
4593 2002-05-14 Juergen Vigna <jug@sad.it>
4595 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4598 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4600 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4601 when using options "Full author list" or "Upper case".
4603 2002-05-14 Herbert Voss <voss@perce.de>
4605 * insetgraphics.C (prepareFile): allow files with same name
4607 (readFigInset): set the flags from old figinset in the right
4609 (findTargetFormat): more comments
4611 2002-05-14 Juergen Vigna <jug@sad.it>
4613 * insettext.C (edit): tell checkAndActivateInset() that we don't
4614 have a button press.
4615 (checkAndActivateInset): if button < 0 we don't have a button press
4616 on the inset and os we won't call edit on it if it's not a Highly
4617 editable inset (then we have to enter it).
4619 2002-05-13 Juergen Vigna <jug@sad.it>
4621 * insetcollapsable.C (insetButtonRelease): returned wrong return
4624 2002-05-09 Juergen Vigna <jug@sad.it>
4626 * insetcollapsable.C (edit): first_after_edit should only be
4627 set to true if we enter this inset and it was collapsed so we
4628 open it up. This is needed to reclose it after a search/replace
4629 or spellcheck function opened it and was negative.
4631 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4633 * insetfloat.C (latex): Return correct value.
4635 2002-05-04 Herbert Voss <voss@perce.de>
4637 * InsetgraphicsParams.C (read): fix bug with WH
4639 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4641 * insetfloat.C (latex): More sensible latex output
4642 (fix the problem with endfloat).
4644 2002-05-02 José Matos <jamatos@fep.up.pt>
4646 * insetgraphics.C (validate): acess params as everyone else.
4648 2002-05-03 Juergen Vigna <jug@sad.it>
4650 * insettabular.C (fitInsetCursor): recalculate the cursor position
4653 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4655 * InsetgraphicsParams.[Ch]: whitespace.
4657 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4659 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4660 float type do not exist.
4662 2002-04-28 Herbert Voss <voss@perce.de>
4664 * insetgraphics.C (latex): fix bug with missing file-extension.
4665 LaTeX still allows a missing "eps" or "ps".
4667 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4669 * insetfloat.C (c-tor, wide): translate the name of the float.
4671 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4673 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4674 when using natbib and make it work efficiently. Must emphasise that the
4675 real work is Herbert's.
4677 2002-04-23 Herbert Voss <voss@perce.de>
4679 * insetgraphic.C (prepareFile): fix bug with overwriting and
4680 deleting an existing *.eps-file in the doc-dir
4682 2002-04-23 Juergen Vigna <jug@sad.it>
4684 * insettabular.C (drawCellSelection): fix off by 1 error.
4686 2002-04-22 Juergen Vigna <jug@sad.it>
4688 * insettabular.C (setFont): rewoke full selection if it was asked,
4689 after we changed all we had to change.
4691 * insettext.C (insetUnlock): code was uninitialized in some situations.
4693 2002-04-19 Herbert Voss <voss@perce.de>
4695 * insetgraphic.C (prepareFile): return filename without
4696 extension if we only export without compiling
4698 2002-04-19 Juergen Vigna <jug@sad.it>
4700 * insettext.C (draw): call a fullRebreak on the row where we had a
4701 change and reset the cursor and selection-cursors.
4703 * insettabular.C (insetUnlock):
4704 (insetButtonPress): call an update before setting the_locking_inset = 0
4705 as otherwise we don't repaint!
4706 (update): reset the cursor position when we changed dimensions as
4707 otherwise our cursor may be on the wrong spot.
4709 2002-04-18 Juergen Vigna <jug@sad.it>
4711 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4712 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4713 redraw otherwise we won't redraw.
4715 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4716 not really right before, but I only discovered this with the last
4717 changes to Page up/down.
4719 2002-04-17 Juergen Vigna <jug@sad.it>
4721 * insettext.C (checkAndActivateInset): simplified as we now have the
4722 edit(bv, bool) call.
4724 * insettext.h: changed behind variables to front variables to be
4725 equal to the one in the edit call (as it is for that they are used).
4727 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4729 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4730 not output anything at all!
4732 2002-04-16 Juergen Vigna <jug@sad.it>
4734 * insettabular.C (insetButtonPress):
4735 (insetUnlock): call a redraw on unlocking the cell inset.
4737 * insettext.C (insetButtonPress): same as below.
4738 (lockInset): new function to set initial values when inset should
4740 (insetButtonPress): use above function.
4741 (insetUnlock): don't force a repaint only set the updateStatus. The
4742 outside world should repaint if it thinks it should be done!
4744 * insettabular.C (insetButtonPress): init values if not set as locked
4745 as we are locked if someone presses on us and don't call the edit()
4746 call of the InsetText to lock it do it as BufferView does it!
4748 * inset.h (insetInInsetY): make func const and return an int.
4751 * insetcollapsable.C: adapt the above changed function.
4753 2002-04-15 Juergen Vigna <jug@sad.it>
4755 * insettext.C (getCursorPos): return relative position as to be able
4756 to give them directly to the edit() call.
4757 (edit): we have to set also x_fix as it is not set inside the
4758 setCursorFromCoordinates call!
4759 (insetMotionNotify): ditto.
4761 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4763 * insetbib.C (getKeys): strip leading '\t's from the line too.
4764 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4766 2002-04-12 Juergen Vigna <jug@sad.it>
4768 * insettext.h: added cix() helper function and use it where appropriate
4770 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4772 * insetgraphics.C (prepareFile): fix bug when graphics is a
4775 2002-04-12 Juergen Vigna <jug@sad.it>
4777 * insettext.C (insertInset): remove unneeded code!
4778 (updateLocal): fitCursor() fixes.
4779 (collapseParagraphs): fix a possible problem when having a selection
4780 and collapsing the paragraphs.
4782 2002-04-08 Herbert Voss <voss@perce.de>
4784 * insetgraphic.C (write): write the rotating angle as
4785 a float as is. test only for != 0.0
4787 2002-04-11 Juergen Vigna <jug@sad.it>
4789 * insettext.C: new function ciy() and use it for setting inset_y.
4791 * insetert.C (draw): fix the x return for collapsed version.
4793 2002-04-07 Herbert Voss <voss@perce.de>
4795 * insetgraphic.C (readFigInset): fix bug with subcaption and
4798 2002-04-08 Herbert Voss <voss@lyx.org>
4800 * insetgraphicsparam.C: forgot special option and delete old
4803 2002-04-05 Juergen Vigna <jug@sad.it>
4805 * insettext.C (localDispatch): make a CURSOR update if we inserted
4808 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4810 * insetfloatlist.C (getScreenLabel):
4811 (latex): use Floating::listName
4812 (validate): new method
4814 2002-04-03 José Matos <jamatos@fep.up.pt>
4816 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4818 * insetfoot.[Ch] (docbook): added forgotten method.
4820 2002-04-03 Juergen Vigna <jug@sad.it>
4822 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4823 way as in Bufferview_pimpl.
4825 2002-04-03 Allan Rae <rae@lyx.org>
4827 * insetgraphics.C (latex): one % too many makes living on the bleeding
4828 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4830 2002-03-28 Herbert Voss <voss@lyx.org>
4832 * insetgraphic.C (latex): simplify the code for the latex
4833 output when the file doesn't exist
4835 2002-03-29 Juergen Vigna <jug@sad.it>
4837 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4840 * insettabular.C (edit): call fitCursor().
4842 * insettext.C (insetButtonPress): change behaviour of no_selection
4843 to the one in the BufferView selection_possible and fix the spurious
4844 selection bug with it.
4845 (localDispatch): revoke selection on BREAK... functions.
4847 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4849 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4851 2002-03-28 Juergen Vigna <jug@sad.it>
4853 * insettabular.C (insetAllowed): return true as default value otherwise
4854 we're not able to insert insets inside paragraphs of an not locked
4857 2002-03-27 Herbert Voss <voss@lyx.org>
4859 * insetgraphicsparam.C: change c%, p% to col%, page%
4861 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4863 * insetspecialchar.C (isLineSeparator): disable the nice code to
4864 allow linebreaks after hyphenation and menu separators.
4866 2002-03-26 Herbert Voss <voss@lyx.org>
4868 * insetgraphics.C (figinsetRead): set the right lyxview
4870 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4872 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4873 $\backslash$ and pass a "string const &" to the function.
4874 (prepareFile, latex): use Path rather than MakeAbsPath.
4876 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4878 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4879 proper fix to the graphics cache.
4880 (latex): "really" nice output if the file is not found ;-)
4882 2002-03-26 Juergen Vigna <jug@sad.it>
4884 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4885 (collapseParagraphs): fixed inserting of separator ' '
4887 * insettabular.C (insertAsciiString): only check for buffer lenght
4888 not if we have \t or \n inside the buffer as if we don't have we only
4889 have 1 cell and that's it!
4891 * insetert.C (close): don't collapse if inlined.
4893 2002-03-25 Herbert Voss <voss@lyx.org>
4895 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4896 graphics file does not exist.
4898 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4900 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4901 path when preparing export.
4903 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4904 no longer MakeRelPath.
4906 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4908 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4909 Used to determine the absolute path to the graphics file in the
4910 graphics cache and only in the graphics cache.
4911 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4912 make graphics file name absolute if it is stored as a relative path.
4914 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4915 make graphics file name absolute if it is stored as a relative path.
4917 * insettext.C (edit): emit an updateParagraph signal on entering a text
4918 inset. Needs to be emitted when leaving the inset also.
4920 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4922 * all files: ws cleanup
4924 * Makefile.am: remove ld -r stuff
4926 2002-03-21 Juergen Vigna <jug@sad.it>
4928 * insettext.C (appendParagraphs): new function added to append
4929 the paragraphs to this insets paragraphs.
4931 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4933 * Makefile.am: special rules if partial linking
4935 2002-03-19 Juergen Vigna <jug@sad.it>
4937 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4939 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4941 * insetgraphics.C: Clean up Baruch's comments a little.
4942 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4944 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4947 * insettheorem.C: wrap warnings
4949 * insetgraphics.C: improve messages, move cached_status_
4950 setting to safer place
4952 2002-03-18 Juergen Vigna <jug@sad.it>
4954 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4956 (localDispatch): ditto
4958 * insettext.C (edit): removed unneeded showCursor calls.
4959 (localDispatch): ditto.
4961 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * insetgraphics.h: remove display() method.
4965 2002-03-11 Juergen Vigna <jug@sad.it>
4967 * insetgraphics.C (draw): hack to fix the redrawing bug.
4968 (draw): seems this fixes #268 (force redraw of row if we changed).
4970 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4971 this inset text (don't know why I missed this earlier).
4973 2002-03-08 Juergen Vigna <jug@sad.it>
4975 * insettabular.C (updateLocal): do a FULL update if we're not locked
4976 and only a CELL update is asked.
4978 * insettext.C (updateInsetInInset): update insets inside inset also
4979 if it isn't inside the_locking_inset.
4981 * insettabular.C (updateInsetInInset): ditto.
4983 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4985 * insetexternal.C (doSubstitution): check whether we are using a
4986 temp dir for defining $$FPath
4988 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4991 * insettext.C: remove #include "WorkArea.h".
4993 2002-03-06 Juergen Vigna <jug@sad.it>
4995 * insettext.C (draw): fixed frame redrawing.
4996 (clear): forgot to set the inset_owner of the paragraph.
4998 * insetert.C (status): pay attention the bv can be 0 here!
4999 (getMaxWidth): add the default leftMargin
5001 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5003 * insetert.C (getMaxWidth): make w unsigned int.
5005 2002-03-05 Juergen Vigna <jug@sad.it>
5007 * insetert.C (status): change behaviour of Inlined.
5008 (getMaxWidth): added for new inlined behaviour.
5010 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5012 * insetnote.h (linuxdoc, docbook): add empty methods.
5013 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5014 before being initialized.
5016 2002-03-05 Juergen Vigna <jug@sad.it>
5018 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5019 only that one in the inset. Should be enough.
5020 (updateLocal): set the selection cursor always if we don't have a
5021 selection to be sure it's set!
5023 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5025 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5027 * insettext.C (clear): a gross hack to set layout on a newly
5030 2002-03-04 Juergen Vigna <jug@sad.it>
5032 * insettabular.C (localDispatch): inserted handling of
5033 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5034 (insertAsciiString): new helper function.
5036 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5038 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5041 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5043 * insettext.C (InsetText): initalize newly created par with
5044 default layout. add bufferparams parameter
5047 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5048 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5049 * insetert.[Ch] (InsetERT): ditto
5050 * insetfloat.[Ch] (InsetFloat): ditto
5051 * insetfoot.[Ch] (InsetFoot): ditto
5052 * insetfootlike.[Ch] (InsetFootLike): ditto
5053 * insetmarginal.[Ch] (InsetMarginal): ditto
5054 * insetminipage.[Ch] (InsetMinipage): ditto
5055 * insetnote.[Ch] (InsetNote): ditto
5056 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5058 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5060 * insettext.C: layout as string
5062 * insetinclude.C: layout as string
5064 * insetert.C: layout as string
5066 * insetbib.C: layout as string
5068 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5071 * insettabular.C: remove #include "lyx_gui_misc.h".
5073 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5078 * inset.h: remove figinset, yahoo !
5080 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5082 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5083 copy c-tor and initialise member variables in the correct order.
5085 2002-02-28 Juergen Vigna <jug@sad.it>
5087 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5089 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5091 * inset.h: ... and add a better one here.
5093 * insetcommand.C (insetButtonRelease): remove that one which was a
5096 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * insetcommand.C (insetButtonRelease): ... and move it here.
5100 * inseturl.h: remove insetButtonRelease from there...
5102 2002-02-26 Juergen Vigna <jug@sad.it>
5104 * inseturl.h: Added a insetButtonRelease call returning true as
5107 * insetlabel.C (edit): Fixed wrong update handling after change I
5108 leave in the wrong code for the one who wrote it to remove and have
5109 a look what he did wrong.
5111 * insettabular.C (localDispatch): force a SELECTION update if we
5112 had a selection and we passed the event down to the inset (fix #213)
5113 (localDispatch): handle font changing stuff when we have a cell
5114 selection so that the selection is not rewoked. I don't really like
5115 this fix, but it's the only way I see to do it right now.
5117 2002-02-22 Juergen Vigna <jug@sad.it>
5119 * insettext.C (insetUnlock): set the cursor to the second paragraph
5120 if available and if the first one is empty (fix #191).
5122 2002-02-20 Juergen Vigna <jug@sad.it>
5124 * insettext.C (getDrawFont): implemented this function to call the
5125 one of the owner if present as the owner normally knows what to do
5128 * insetert.C: implement getDrawFont() function and comment out all
5129 the crap for setting a special latex font inside this inset.
5130 (InsetERT): added a Lanugage parameter to this constructor.
5132 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5133 change the font for being drawn on screen (used only in InsetERT for
5136 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5137 and also above (was missing).
5138 (updateLocal): don't remove the cell selection if we have one this
5139 should be done where we really want to remove it.
5141 2002-02-20 José Matos <jamatos@fep.up.pt>
5143 * insetinclude.h: include_label made string const.
5145 * insetinclude.C (InsetInclude): moved include_label initialization.
5148 (validate): fix support for temporary directory, for docbook and
5151 * insetgraphics.h : new private member, graphic_label, that holds
5152 the entity name that defines the graphics location (SGML).
5154 * insetgraphics.C (unique_id): new function to give a unique label
5157 (validate): the file locatation is given by an entity reference.
5159 2002-02-18 Herbert Voss <voss@lyx.org>
5161 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5163 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5165 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5166 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5168 2002-02-18 José Matos <jamatos@fep.up.pt>
5170 * insetinclude.C (validate): some code only applies to latex buffers,
5171 it was made conditional.
5173 2002-02-12 Herbert Voss <voss@lyx.org>
5175 * insetgraphics.C: (prepareFile) do not check at this time
5176 if the file is present.
5178 2002-02-12 Herbert Voss <voss@lyx.org>
5180 * insetgraphics.C: latex(), return the correct newlines
5182 2002-02-13 José Matos <jamatos@fep.up.pt>
5184 * inseturl.C (docbook): escape & in url.
5186 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5188 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5189 after HYPHENATION and MENU_SEPARATOR
5191 * inset.h (isLineSeparator): new method, returns false by default.
5193 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5195 * insetert.C (status): do not update the text inset, but the ERT
5198 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5200 * insetnote.C: use notebg for background
5202 2002-02-08 Herbert Voss <voss@lyx.org>
5205 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5206 prevent LyX from unzipping when this should be handled
5207 by latex vis the graphic.cfg.
5210 2002-02-08 Herbert Voss <voss@lyx.org>
5212 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5213 exists, than return filename with extension
5215 2002-02-06 Herbert Voss <voss@lyx.org>
5217 * insetgraphic.C: prepareFile(): don't convert the file, when
5218 it's not viewed in LyX. Saves a lot of time when opening a
5221 2002-02-05 Herbert Voss <voss@lyx.org>
5224 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5225 and adding a rotate bool similiar to subcaption
5227 2002-02-04 Herbert Voss <voss@lyx.org>
5230 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5231 similiar view to the LaTeX one. Get zipped files work.
5233 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5235 * insetgraphicsParams.C (init): set display to DEFAULT.
5236 No longer #include "lyxrc.h".
5238 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5240 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5241 for now (so that the code compiles).
5243 2002-02-02 Herbert Voss <voss@lyx.org>
5245 * insetgraphic.C: delete inVariant() and some minor changes
5246 * insetgraphicsParams.[C]:
5248 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5250 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5251 interogate lyxrc.display_graphics before diaplaying the graphic.
5253 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5254 InsetGraphicsParams::DisplayType.
5256 2002-01-31 Herbert Voss <voss@lyx.org>
5258 * insetgraphic.C: (readfigInset) set display to pref-default
5260 2002-01-30 Herbert Voss <voss@lyx.org>
5262 * insetgraphic.C: get the filetyp from it's contents
5263 * insetgraphicparams.C: add token scale and lyxrc.display when
5264 creating a new inset
5266 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5268 * figinset.C: added using std::ios directive.
5270 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5272 * figinset.C (runqueue): open translation file in binary mode (for
5275 2002-01-27 Herbert Voss <voss@lyx.org>
5277 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5278 all options and to be sure that the old figinsets are correct
5280 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5281 structure and to support all lengths as LyXLength. The Parameter
5282 structure changed again, but reading of "old" 1.2 graphic insets
5285 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5287 * insetert.h (forceDefaultParagraphs): Added
5289 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5291 * insettabular.C (getMaxWidth):
5292 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5294 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5296 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5297 of LyXLength::inPixels
5299 * inset.C (latexTextWidth):
5300 * insetminipage.C (latexTextWidth): new method, which implements
5301 the equivalent of the LaTeX macro \textwidth
5303 * insetminipage.C (getMaxWidth): use latexTextWidth
5305 2002-01-18 Juergen Vigna <jug@sad.it>
5307 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5309 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5311 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5313 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5316 2002-01-17 Juergen Vigna <jug@sad.it>
5318 * insettabular.C (lockInsetInInset): same change as in insettext.
5320 * insettext.C (draw): width() function was called without setting
5321 the right top_x which could lead to wrong insetWidth setting!
5322 (lockInsetInInset): call edit instead of calling lockInset if we
5323 have to lock an inset inside!
5324 (edit): we have to also tell the inset that we have to redraw the
5325 frame on an edit call if this inset draws a frame only if locked.
5327 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * insetbib.C (getFiles): uncomment Path variable.
5331 2002-01-16 Juergen Vigna <jug@sad.it>
5333 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5336 2002-01-16 Allan Rae <rae@lyx.org>
5338 * insetinclude.C (docbook): someone forgot a ";"
5340 2002-01-16 José Matos <jamatos@fep.up.pt>
5342 * figinset.C (docbook): removed a old place holder "@".
5343 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5344 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5345 ascii text version, clearly guarded inside a CDATA section.
5346 (docbook): in docbook 4, inlinegraphics is empty.
5347 * insettabular.C (linuxdoc): export the ascii version of the table
5348 inside a CDATA section.
5350 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5352 * insetparent.C (InsetParent):
5353 * insetgraphicsParams.C (Write):
5355 * insetgraphics.C (prepareFile):
5358 * insetexternal.C (executeCommand):
5359 (doSubstitution): use Buffer::filePath
5361 * insetbib.C (getFiles): add a #warning for Angus
5363 * insetgraphics.C: Add a remark about how filenames should be
5364 considered to be relative to buffer (but absolute is still allowed)
5365 (draw): do not try to get status if lyxrc.use_gui is false
5367 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5370 * insetcollapsable.[Ch]:
5371 * insettabular.[Ch] (searchForward, searchBackward): change the
5372 bool const & params to bool.
5374 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5375 to avoid the name clash with InsetCollapsable's methods of the same
5376 names but different functionality.
5378 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5380 * insettext.C (ascii): use lyx::count rather than countChar.
5382 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5384 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5386 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5388 * insetgraphics.C (updateInset): do not try to render image if
5389 lyxrc.use_gui is false (bug #104)
5391 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5392 if file does not exist
5394 * figinset.C (browseFile): add shortcuts to directory buttons
5396 * insettext.C (updateLocal): update menubar and toolbar here too.
5398 2002-01-13 Allan Rae <rae@lyx.org>
5400 * insettabular.C (InsetTabular): Both constructors now initialise
5401 all class variables.
5403 2002-01-11 Juergen Vigna <jug@sad.it>
5405 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5407 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5409 * insettabular.C (getStatus): add forgotten brace around multiline
5412 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5414 * insetfloat.C (validate): require "float" instead of "floats".
5416 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5418 * insettabular.C (getStatus): use FuncStatus
5420 2002-01-08 Juergen Vigna <jug@sad.it>
5422 * insettabular.C (insetButtonRelease): now this should work too
5425 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5426 if the width is a percentage.
5428 * inset.h: added isChar() function and implemented this for
5429 insetspecialchar insetquotes and insetlatexaccent.
5430 added forceDefaultParagraphs() and implemented it for insettabular.
5432 2002-01-07 Juergen Vigna <jug@sad.it>
5434 * insettext.C (getLyXText): Fixed this function. An insert into the
5435 map is only done if we REALLY have a new BufferView.
5437 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5439 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5441 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5443 * insetinclude.C: fix use of FileInfo
5445 2002-01-07 Juergen Vigna <jug@sad.it>
5447 * insettabular.C (draw): fixed clearing of cell around inset.
5449 2002-01-05 Juergen Vigna <jug@sad.it>
5451 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5452 variables are updated.
5454 * insettabular.C (resetPos): set always the inset_y as it may be
5455 needed in another function.
5456 (searchBackward): don't draw while searching.
5458 2002-01-04 Juergen Vigna <jug@sad.it>
5460 * insettext.C (lockInsetInInset): forgot to set a cursor.
5462 2002-01-02 Juergen Vigna <jug@sad.it>
5464 * insettext.C (insertInset): make the correct undo informations on
5465 inserting new insets.
5467 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5469 * insettabular.C: correct single-cell select vertically
5471 2001-12-27 Juergen Vigna <jug@sad.it>
5473 * insettabular.C (ascii): export as tab-separated-values if the
5474 function was not called from export (f.ex.: clipboard).
5476 * insetcollapsable.h: added default support for ascii, linuxdoc and
5477 docbook export (the insettext is exported by default!)
5479 * insettabular.C (copySelection): suff the clipboard with the tabular
5480 data in a tab separated format, seems more naturals then with all the
5483 2001-12-24 Juergen Vigna <jug@sad.it>
5485 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5486 to check for REAL mouseMotion.
5488 2001-12-20 Juergen Vigna <jug@sad.it>
5490 * inset.C (cursor): return the owners cursor if available instead of
5491 always only the bv->text->cursor.
5493 * insettabular.C (checkLongtableSpecial): works now.
5495 2001-12-19 Juergen Vigna <jug@sad.it>
5497 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5498 this has to be always row + 1 as 0 means not selected!
5499 (checkLongtableSpecial): added
5500 (tabularFeatures): better longtable options support
5502 * insettext.C (resizeLyXText): reinit the text always also on a
5505 2001-12-18 Juergen Vigna <jug@sad.it>
5507 * insettext.C (updateInsetInInset): look if we have to autocollapse
5508 paragraps and return if the update is requested for ourself.
5510 * insetert.C (status): update the insettext not myself as that is what
5513 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5514 function only return if the update was requested with myself.
5516 * insettext.C (insetButtonPress): fixed stupid bug.
5517 (various functions): pay attention that lt is cleared BEFORE calling
5518 updateLocal() and try to use it in the right manner (don't use it
5519 if it's not really neccessary!)
5520 (collapseParagraphs): insert a blank between collapsing paragraphs
5521 if neccessary (not already there!).
5523 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5525 * insettabular.C: move includes around a bit, add a couple of
5528 * insettext.[Ch]: move includes around a bit, other ws changes and
5531 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * insettext.C (insetButtonRelease): fix compile problem
5535 2001-12-17 Juergen Vigna <jug@sad.it>
5537 * insettext.C (insetButtonPress): set the selection cursor!
5538 (insetButtonPress): clear the selection (and set with that the
5539 selection.cursor) if we only hit an inset!
5541 * insetert.C (read): removed piece of compatibility code only needed
5544 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5547 * insetcollapsable.C (insetButtonRelease): changed so that it can
5548 open eventual existing popup dialogs on mousebutton==3.
5550 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5552 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5554 * inset.C (insetButtonRelease): return a bool for telling the outer
5555 world that we opened a dialog.
5557 2001-12-07 Juergen Vigna <jug@sad.it>
5559 * insettext.C (paragraph): remove the deleteing of paragraphs as
5560 it was a WRONG move!
5562 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5565 * insettabular.C: use new setSelection(). Allow
5566 selection of single cells.
5568 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5570 * insetquotes.C (latex): fix to use the local language setting at
5571 the point where the inset is inserted (different macros for
5572 different french packages)
5574 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * inset.h: add par_owner_ member variable and parOwner
5579 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5581 * insettabular.C (everywhere): adapt because widths are now real
5582 widths and not strings
5584 * insettext.C (draw): re-introduce the calls to width(), ascent()
5585 and descent() to initialize the caching variables.
5587 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * insettext.C (draw):
5590 (drawFrame): use insetWidth instead of last_width
5592 * insettext.h: remove variable last_width (insetWidth is exactly
5593 the same) and last_height (computed but never used!)
5595 2001-12-10 Allan Rae <rae@lyx.org>
5597 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5601 * insettext.C (insetAllowed): add comment
5603 2001-12-05 Juergen Vigna <jug@sad.it>
5605 * insettext.C (insetAllowed): fixed for the case that we directly
5606 ask the insettext from its LyXText.
5607 (paragraph): fixed the crash when assigning the par->next() from
5608 the EmptyParagraphMechanism!
5610 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5614 * insettext.C: change "while(" to "while ("
5616 2001-12-04 Juergen Vigna <jug@sad.it>
5618 * insetert.C (edit): handle Inlined status.
5620 * insettext.C (insertInset): trying John's fix for the trailing cursor
5622 * insetert.C (insetButtonPress): added to handle inlined status
5623 (insetMotionNotify): ditto.
5625 * insettext.C (clearInset): changed Painter & in BufferView * param,
5626 to be able to call ascent,descent methods.
5628 2001-12-03 Juergen Vigna <jug@sad.it>
5630 * insettext.C (updateInsetInInset): use lt variable to forbid
5631 changes of LyXText in an update call.
5632 (updateInsetInInset): fixed updating of non locked insets!
5634 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5636 * insettabular.C: capture some more functions to prevent
5637 selection drawing problems. Bug #451274
5639 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5642 * insetgraphicsParams.C: fix inverted sense of float_equal
5644 2001-11-30 Juergen Vigna <jug@sad.it>
5646 * insettabular.C (InsetTabular): use the save_id flag to create also
5647 the tabular with the same id's.
5649 * insettext.C (setParagraphData): added a same_id function for undo
5650 to set the same paragraph id's as of the paragraph we are setting.
5652 2001-11-30 José Matos <jamatos@fep.up.pt>
5655 * insettoc.[Ch]: DocBook -> docbook.
5657 2001-11-29 André Pönitz <poenitz@gmx.net>
5660 * insettext.C: further reduction of header dependencies by using
5661 lyx::layout_type and lyx::textclass_type from support/types.h
5663 2001-11-29 Juergen Vigna <jug@sad.it>
5665 * insettext.C: inserted a reinitLyXText function everywhere I delete
5666 the paragraphs! This should fixe the crashes we had.
5667 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5668 (paragraph): set the InsetOwner() of the new paragraphs!
5670 2001-11-28 André Pönitz <poenitz@gmx.net>
5672 * insetnote.C: add pos initialization that I removed without
5675 2001-11-28 Juergen Vigna <jug@sad.it>
5677 * insettabular.C (resetPos): hack to not crash with infinite paints.
5679 * insettabular.h: insert missing function allowSpellcheck()!
5681 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5683 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5686 * insetfloatlist.C: derive from InsetCommand so gui can use it
5689 2001-11-26 André Pönitz <poenitz@gmx.net>
5693 * insetnote.C: reduce header dependencies, introduce type for
5696 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5698 * various: update for Alert.h
5700 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5702 * inset.h: fix comment
5704 * insettext.C: use par->isInset()
5706 2001-11-22 Allan Rae <rae@lyx.org>
5708 * insetcollapsable.h:
5709 * inset.h: Changes to checkInsertChar() behaviour.
5710 Now return value indicates whether chars can be inserted.
5712 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5714 * various: updated to use the new LaTeXFeatures
5716 2001-11-14 José Matos <jamatos@fep.up.pt>
5718 * insetspecialchar.C (linuxdoc):
5719 (docbook): don't give a name to a unused variable.
5721 * insettext.C (docbook): removed unused variable.
5723 2001-11-13 Herbert Voss <voss@perce.de>
5725 * insetgraphic.C: fix scale bug
5727 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5729 * inset.h (isSpace):
5730 (isLetter): new virtual methods.
5732 * insetspecialchar.C (isSpace):
5733 (isLetter): implement here.
5735 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5737 * inset.h: new inline helpers
5739 * insettext.C: use new helpers
5741 2001-11-07 José Matos <jamatos@fep.up.pt>
5743 * insettext.C (docbook): full support for paragraphs inside insettext.
5745 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5747 * insetindex.C: added header file for std::ostream.
5749 2001-11-03 José Matos <jamatos@fep.up.pt>
5751 * insetindex.C: added using std::ostream that I forgot yesterday.
5753 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5755 * insetindex.h (docbook):
5756 * insetindex.C (docbook): added support for docbook export.
5758 2001-11-02 José Matos <jamatos@fep.up.pt>
5760 * insetcaption.C(docbook): added support for docbook export.
5762 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5764 * insetexternal.C (updateExternal): Do not run update command if
5765 result file exists and is up to date.
5767 * ExternalTemplate.C (readFormat): Support the updateresult token.
5769 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5771 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5772 external_templates) to use the buffer->fileName() but only if
5773 previewing. Generating a TeX file should make FPath return
5776 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5779 * insetert.C: fix some problems
5781 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5783 * insetexternal.C (doSubstitution): Added $$FPath token
5784 to list of usable substitutions in external inset templates.
5786 2001-10-24 Juergen Vigna <jug@sad.it>
5788 * insettabular.C: use new ltType struct for setting longtable
5789 header and footers also new UNSET enums.
5791 2001-10-24 José Matos <jamatos@fep.up.pt>
5793 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5794 (docbook): If the table is not inside a float then wrap it inside
5795 <informaltable>...</informaltable>.
5797 2001-10-23 José Matos <jamatos@fep.up.pt>
5799 * insetref.C (docbook): removed / terminator to conform SGML.
5801 * insetspecialchar.C (linuxdoc):
5802 (docbook): Added support for special chars, more than ascii export.
5804 2001-10-22 Juergen Vigna <jug@sad.it>
5806 * insettext.C (checkInsertChar): added for REALLY checking the
5807 font of the inserted char in the right inset!
5809 2001-10-19 Juergen Vigna <jug@sad.it>
5811 * inset.h: added method allowSpellcheck() so that insets who do
5812 not have anything to spellcheck can tell and so they are over-jumped.
5813 Implemented for InsetText and co.
5815 2001-10-18 Juergen Vigna <jug@sad.it>
5817 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5819 2001-10-15 José Matos <jamatos@fep.up.pt>
5821 * insetert.C: allow export for docbook and linuxdoc
5823 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5825 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5827 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5829 * insetquotes.C (dispString): fix handling of latin9 quotes
5831 2001-10-03 Juergen Vigna <jug@sad.it>
5835 * insetcollapsable.C: change updateInset calls to not tell BV that
5836 we have changed status.
5838 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5840 * insettabular.C (deletable): make const
5842 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5844 * insetert.C (latex): Fix the returned value
5846 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5848 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5849 Returns string(), so nothing in an ERT inset is spellchecked.
5851 * insetgraphics.C (draw): print the filename if not displaying the
5853 (width): make sure that the width and draw methods are consistent.
5854 (updateInset): don't even load the image into cache if not displaying
5857 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5859 * various files (selectNextWord): renamed as
5860 selectNextWordToSpellcheck.
5862 * insetgraphics.C (draw): remove the previous change. Right place
5863 is in imageLoaderXPM.C.
5864 (draw): don't display the image if params.display == NONE.
5866 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5868 * figinset.C (runqueue):
5869 * insetgraphics.C (draw): set background colour of inset from
5870 background to the user-configurable graphicsbg.
5872 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5874 * insetquotes.C (InsetQuotes): when trying to decide the side of
5875 the quote, choose `left' only after a space or '('
5877 2001-09-04 José Matos <jamatos@fep.up.pt>
5882 * insetcollapsable.h
5900 * insetlatexaccent.C
5901 * insetlatexaccent.h
5906 * insetspecialchar.C
5907 * insetspecialchar.h
5911 * insettext.C (docbook): rename docBook method to docbook.
5913 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5915 * inset.h (getFirstParagraph): New virtual method.
5917 2001-08-20 Herbert Voss <voss@perce.de>
5918 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5919 in the the bibtex-database-gui for inserting a line
5922 If no style is given than there is no tex-output.
5924 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5926 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5930 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5932 * insetert.C (latex): Fix output for multiple paragraphs.
5933 (write): New code for writing paragraph data.
5934 (read): Set font after reading the inset.
5935 (localDispatch): Call set_latex_font() for more cases.
5937 * insetnote.h: Add empty validate method.
5940 * insetnote.C (InsetNote): Set language to the language of the
5943 2001-08-16 Juergen Vigna <jug@sad.it>
5945 * insettext.C: implemented the new FINISHED states.
5947 * insettabular.C: ditto
5949 * inset.h: added more FINISHED states for cursor right,up,down
5951 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5953 * insetfloatlist.C: use "FloatName List"
5955 2001-08-14 Juergen Vigna <jug@sad.it>
5957 * insetert.C (edit): forgot to set status_ in edit calls!
5959 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5961 * insettext.C: Compilation fix
5963 2001-08-13 Juergen Vigna <jug@sad.it>
5965 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5967 * insetcollapsable.C (edit): don't recollapse an already open inset.
5969 * insettext.C: fixed problem when reinitializing LyXText by not doing
5970 it while lt is in use and post this to the next possible time in
5972 (searchForward): fixed not unlocking of inset if nothing found.
5973 (edit): set cursor behind right (was set -1 pos).
5975 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5977 * insettabular.C (tabularFeatures): fixed fix where deleting the
5978 last row didn't get the right actcell!
5980 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5982 * insettext.C (localDispatch): Change language only when the inset
5985 2001-08-10 Juergen Vigna <jug@sad.it>
5987 * insettabular.C (selectNextWordInt): use the front using edit call.
5989 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5990 the parameter overwrite class variable inset.
5992 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5994 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5995 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5997 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5998 update only for fixed with cells.
5999 (resetPos): try to fix the lockup on spellchecking or s&r.
6001 * insettext.C (update): comment this out as it seems first wrong
6002 and second not needed anymore!
6003 (some functions): call reinitLyXText() only in update() in all other
6004 positions set only need_update = INIT.
6006 2001-08-08 Juergen Vigna <jug@sad.it>
6008 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6010 * insettext.C (insetUnlock): remove double-space on inset unlock.
6012 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6014 * insettabular.C (update): fixed cursor positon after an insert.
6015 (insetAllowed): do not allow to insert insets when not inside the
6017 (draw): clear below an inset too as it could have changed height.
6019 * inset.C (getMaxWidth): fixed width for inset in inset.
6021 * insettext.C (update): small fix.
6023 * insettabular.C (tabularFeatures): added selection support to
6024 DELETE_ROW/DELETE_COLUMN.
6026 2001-08-07 Juergen Vigna <jug@sad.it>
6028 * inset.C (getMaxWidth): recoded and all it's implementations!
6030 * insettext.C (init,setParagraph+constructors): cleanups
6031 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6032 are new and I want do a save/restore of the cursor position which is
6033 not possible anymore.
6035 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6036 (searchBackward): ditto
6037 (selectNextWord): ditto
6039 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6041 * insetlatexaccent.C (checkContents): Add some debug messages
6043 2001-08-07 Juergen Vigna <jug@sad.it>
6045 * insetert.C (read): don't use InsetCollapsable::read as we don't
6046 write the collapsed status anymore only the status.
6049 2001-08-06 Juergen Vigna <jug@sad.it>
6051 * insetert.C (set_latex_font): use LyXText's setFont directly.
6053 * insettext.C (drawFrame): fixed one time more the right position
6054 and size of the frame!
6056 * insetert.C (~InsetERT): hide the dialog.
6057 (showInsetDialog): added implementation
6060 (status): new function for the status of the ERT inset (3-state).
6061 (write): output also the status of the inset for readback!
6062 (read): readback the status if available otherwise use collapsed_.
6064 * insettext.C (edit): small fix of setting the position, which could
6067 * insetert.C (width): implement this function for inlined viewing.
6068 Added minimum width of 10 pixels!
6070 * insetminipage.C (InsetMinipage): just change the colors a bit so
6071 that border/background is a bit more visible. We will remove this
6074 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6075 function for getting the important widths for drawing in various
6076 functions and in LyXText.
6077 (draw): fixed up a bit (frame drawing/clearing)
6079 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6081 * inset.C (convertFont): delete method. not used.
6083 2001-08-03 Juergen Vigna <jug@sad.it>
6085 * insettext.C (setFont): don't call for a draw update if we're just
6086 changing the cursor font!
6088 2001-08-02 Juergen Vigna <jug@sad.it>
6090 * insettext.C (draw): clear the background with the right color if
6091 needed. Update myself if x&max-width changed and return without doing
6092 anything. Let the update code handle the right stuff.
6094 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6095 inside another inset.
6097 2001-08-01 Juergen Vigna <jug@sad.it>
6099 * insetcollapsable.C (update): added an in_update bool so we avoid
6102 * insettabular.C (update): added an in_update bool so we avoid
6105 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6107 (update): added an in_update bool so we avoid reentering.
6109 * insettabular.C (localDispatch): clear col/row selection when doing
6110 something else inside an inset.
6112 * insettext.C (getLyXText): fixed bug when requesting a recursive
6115 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6117 * insetcite.C (latex): Paranoia check. Make sure that there is no
6118 whitespace between the citation keys.
6120 2001-07-31 Juergen Vigna <jug@sad.it>
6122 * inset.h (nodraw): make the set function also const so that this
6123 can be called from inside other const functions.
6125 * insetcollapsable.h: removed inline variable and moved it over
6126 to the only user InsetERT.
6128 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6129 inset opening immediately therein lying insets dialogs!
6131 * insetert.C (localDispatch): set the font also if we don't have any
6132 chars in this paragraph, otherwise if we delete all of em and start
6133 writing we have the wrong font.
6135 (draw): implemented for inline support
6136 (insetButtonRelease): ditto.
6138 2001-07-30 Juergen Vigna <jug@sad.it>
6140 * insettext.C (reinitLyXText): new function to reinit the insets
6141 text after lot's of paragraph changes. Use this instead of the
6142 cache.clear() which is VERY dangerous.
6144 * insetfloat.C (insetButtonRelease): we should only show the dialog
6145 if we press on the label otherwise we have problems to open mouse
6146 button 3 dialogs inside this float (f.ex. of a tabular!)
6148 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * insetert.C: change back to "ERT"
6152 * insetfloat.C: handliign of RMB on label added.
6154 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * insetgraphicsParams.C: #include LOstream.h here.
6158 * insetfoot.h: remove InsetFoot:: qualifier.
6160 2001-07-29 Baruch Even <baruch@lyx.org>
6162 * ChangeLog: Hiding time travel evidence.
6164 * insetgraphicsParams.h:
6165 * insetgraphicsParams.C:
6166 * insetgraphics.C: Added horizontal scale option, it actually scales both
6167 directions since it keeps image proportions.
6169 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6171 2001-07-29 Baruch Even <baruch@lyx.org>
6173 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
6174 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6176 HACKY! Will need to add an EPS detection routine like old InsetFig does!
6178 2001-07-29 Baruch Even <baruch@lyx.org>
6180 * insetgraphics.C: Added EPSI to be an alias of EPS.
6182 2001-07-29 Baruch Even <baruch@lyx.org>
6184 * insetgraphics.C: Change GRAPHICS to Graphics.
6185 Changed image conversion rules (documented at the beginning of file).
6187 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6189 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6192 * insetgraphics.C: added a using std::endl directive.
6194 * insetcommand.h (getScreenLabel): removed pure virtual function,
6195 as it duplicates that in InsetButton.
6197 * insetbib.[Ch] (getScreenLabel):
6198 * insetbutton.[Ch] (getScreenLabel):
6199 * insetcite.[Ch] (getScreenLabel):
6200 * insetert.[Ch] (getScreenLabel):
6201 * insetexternal.[Ch] (getScreenLabel):
6202 * insetfloatlist.[Ch] (getScreenLabel):
6203 * insetinclude.[Ch] (getScreenLabel):
6204 * insetindex.[Ch] (getScreenLabel):
6205 * insetlabel.h (getScreenLabel):
6206 * insetparent.[Ch] (getScreenLabel):
6207 * insetref.[Ch] (getScreenLabel):
6208 * insettoc.[Ch] (getScreenLabel):
6209 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6211 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6213 (validate): remove check on "cite" when using natbib.
6215 2001-07-26 Baruch Even <baruch@lyx.org>
6217 * insetgraphics.C (draw): changed casting to be in one place rather than
6218 all over the function.
6221 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6223 * insetgraphicsParams.h:
6224 * insetgraphicsParams.C:
6225 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
6227 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6229 * insetfoot.C (validate): Added method to ensure that the
6230 right bit of LaTeX is emitted.
6232 * insetfoot.h: Added validate method to set the correct
6233 LaTeXFeatures bit for the special footnote code.
6235 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6237 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6240 2001-07-27 Juergen Vigna <jug@sad.it>
6242 * inset.h: remove not used font variable in parameter.
6243 removed checkInsertChar in UpdatableInset as it was equal to
6244 the one in Inset and so not needed.
6246 * insetert.C (checkInsertChar): implementation of function
6249 * inset.h: added new function checkInsertChar.
6251 * various files: added c-tor and clone() function.
6253 * insetcollapsable.h: removed clone function here as this should
6254 be only realized in REAL insets and added it to all collapsable
6255 insets! (with the copy-constructor).
6257 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6259 * insetminipage.C (read): handle missing parameters more gracefully
6261 * insetcollapsable.C (read): handel missing collapsed more gracefully
6263 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6265 * insetfloat.C (read): handle missing parameters.
6267 * insettext.C (read): handle old latex end_inset
6269 * insetert.C (setButtonLabel): new method
6270 (init): use it, to set the dynamic label correctly
6273 * Makefile.am (EXTRA_DIST): add files that is not part or the
6276 * insetcollapsable.h: remove autocollapsable (no users), remove
6277 draw_label, change_label_with_text and companion code. Remove args
6279 * insetert.[Ch]: move here instead (only user)
6281 * inset.h: rename private variable name to name_, make
6282 selectNextWord return a const string. make getInsetName return a
6283 string const &. Remove bool from open, add close.
6285 * Makefile.am: don't compile insetlist, insetsection
6288 2001-07-24 Juergen Vigna <jug@sad.it>
6290 * insetert.C (InsetERT): put init after the paragraph initialization,
6291 as otherwise we don't set the draw_label right.
6293 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6294 insets with the mouse without having strange selections.
6295 (edit): if the inset was collapsed and we open it here then put the
6296 cursor always at the beginning of the inset.
6297 (get_new_label): 15 instead of 10 max chars in the label.
6299 * insetert.C (localDispatch): added and handle various stuff we
6300 need to handle here (font setting on paragraph break, not permitted
6301 layout setting, etc.).
6303 * inset.h: added default copy-consturctor and implemented this in
6304 various insets with the change to use this in the clone function!
6306 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6308 * insetminipage.C (InsetMinipage): set background color to red :)
6310 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6312 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6313 draw frame mode is LOCKED.
6315 * insetcollapsable.C (edit):
6316 (insetButtonRelease): set update status to full when
6319 * insettext.C (clearInset):
6320 * insettabular.C (draw):
6321 * insetlatexaccent.C (draw): honor background color.
6323 * inset.h: new member background_color_, initialized to
6326 * inset.C (backgroundColor): new method.
6327 (setBackgroundColor): new method.
6329 * insetert.C (init): new method, called by the ctors.
6330 (InsetERT): when inserting contents, make sure the font is
6333 * insetnote.C (InsetNote): when inserting content, remove trailing
6335 (init): set background color to LColor::note
6337 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6339 * insetcollapsable.C: adjust
6341 * insetbutton.C: adjust
6343 2001-07-23 Juergen Vigna <jug@sad.it>
6345 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6346 parameter on the _collapsed function (was not needed) and call
6347 always width_collapsed().
6349 * insetert.C (InsetERT): use setLabel with "true" flag.
6351 * insetcollapsable.C: modified various functions to set the draw_label
6352 string right in any condition.
6353 (setLabel): added a bool parameter to set change_label_with_text.
6355 * insetcollapsable.h: added draw_label string which is set to the
6356 actual drawn label-string, while label is the original static label
6357 of this collapsable inset. Added bool change_label_with_text to set
6358 if we want that the label changes to the start of the InsetText's
6359 text when collabpsed. You can set this flag with the setLabel funciton.
6360 Added bool inlined for inlined collapsable insets, but not handled
6363 * insetcollapsable.C (get_new_label): added should get a new label
6364 from the InsetText beginning (for now 10 chars).
6366 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6368 * insetquotes.C (latex): fix the handling of french double quotes
6369 when not using the french pachage.
6371 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6373 * insetcollapsable.h: make WidthCollapsed mutable.
6375 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6376 InsetPrintIndex returns INDEX_PRINT_CODE.
6378 * inset.h: add INDEX_PRINT_CODE
6380 * insetcollapsable.C (draw): init widthCollapsed if necessary
6383 * insetquotes.C (width): use the local language, not the document
6386 (dispString): add additional spacing for all french languages,
6388 (validate): make it work when there is no default language
6390 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6392 * insetnote.C (init): new method, called by the constructors
6393 (InsetNote): new constructor with contents passed as a string
6395 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6397 * insetfootlike.C (insetAllowed): disallow float in footlike.
6399 * insetert.C (InsetERT): add collapsed argument to the constrctor
6402 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6404 * insetindex.h: shut off warning
6406 2001-07-20 Juergen Vigna <jug@sad.it>
6408 * insetcollapsable.C (update): recoded hopefully works now!
6410 2001-07-19 Juergen Vigna <jug@sad.it>
6412 * most files: implemented the below new introduced function.
6414 * inset.h: added new edit(BufferView *, bool front) method to be able
6415 to enter an inset from the front/back without knowing x/y positions
6416 and baselines inside the inset. So I just can tell the inset activate
6417 me and set the cursor on the front/back of yourself.
6419 2001-07-18 Juergen Vigna <jug@sad.it>
6421 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6422 is given to the InsetText.
6423 (insetButtonPress): ditto
6424 (insetButtonRelease): ditto
6425 (insetMotionNotify): ditto
6427 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6429 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6430 LIGATURE_BREAK, since the name is so stupid.
6432 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6434 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6435 the default InsetCollapsable methods. I.e., it can insert anything.
6436 (write) output the name of the inset, not some silly hack for
6437 compatability with the old InsetInfo.
6439 * insetinfo.[Ch]: removed.
6440 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6441 now collapsable, but functionality is otherwise identical to InsetInfo.
6443 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6445 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6447 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6450 * insetquotes.C: general cleanup
6451 (dispString): add spaces inside french double quotes.
6452 (latex): ditto. Moreover, treat first the case where the frenchb
6453 or french options have been given.
6455 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6457 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6460 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6462 * figinset.C (RegisterFigure): Print debug message only when
6463 current_view is available.
6465 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6467 * many files: update to match the change below
6469 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6470 implement the version which takes an inset here.
6472 * insetcollapsable.[Ch]: implement open and isOpen
6474 * inset.h: remove insertInsetAllowed from Inset
6475 (open): new method, to open or close an inset
6476 (isOpen): returns the status of an inset
6477 (isCollapsable, colapse): removed
6479 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6481 * insetquotes.C (dispString): display french guillemets when using
6484 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6486 * insetcollapsable.h: remove bogus return statements
6488 2001-07-18 Juergen Vigna <jug@sad.it>
6490 * insettabular.C (selectNextWord): fixed spellchecking for the
6491 first cell of a tabular (wasn't entered!)
6492 (getLyXText): changed to enter automatically insettext and return
6493 it's LyXText if we're locked.
6495 2001-07-17 Juergen Vigna <jug@sad.it>
6497 * various files: implemented the below functions.
6499 * inset.h: added functions
6500 - virtual string selectNextWord(BufferView *, float & value) const;
6501 - virtual void selectSelectedWord(BufferView *) { return; }
6502 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6503 needed for spellchecking correctly!
6505 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6507 * insetert.C (latex): write out all paragraphs.
6509 2001-07-17 Baruch Even <baruch@lyx.org>
6511 * insetgraphics.C (draw): Removed unneeded casts.
6513 2001-07-16 Juergen Vigna <jug@sad.it>
6515 * insettext.C (update): fixed small oversight (reset lt to 0).
6517 2001-07-14 Baruch Even <baruch@lyx.org>
6520 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6522 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6524 Consistent use of Lsstream.h:
6525 * figinset.C: removed using std::ostringstream directive.
6527 * insetgraphics.C (createLatexOptions):
6528 * insetinclude.C (unique_id):
6529 std::ostringstream -> ostringstream.
6530 * insettext.C (localDispatch): std::istringstream -> istringstream.
6532 2001-07-13 Juergen Vigna <jug@sad.it>
6534 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6536 * insetcollapsable.C (getLockingInset): ditto.
6538 2001-07-12 Juergen Vigna <jug@sad.it>
6540 * insetcollapsable.h: added implementation of new function for
6543 * various files: added implementation of new insertInsetAllowed-func
6544 and redone the function a bit more.
6546 * inset.h: added isCollapsable(), bool collapsed(),
6547 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6549 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6551 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6552 LyXText which is marked for removal while we're using it!
6554 * insettext.h: added private LyXText * lt to use it to assure we are
6555 not deleting our LyXText while we're using it!
6557 2001-07-11 Juergen Vigna <jug@sad.it>
6559 * insettext.C (insertInset): check if we are before the inset after
6560 inserting it! This check IS needed. Remove the Undo-Call as it is
6561 called in LyXText::insertInset!
6563 * insettext.h: added struct InnerCache.
6565 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6566 that we ONLY delete the LyXText in the getLyXText() routine. So we
6567 are sure we don't delete LyXText while someone is working with it!
6569 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6571 * insetexternal.C: (*it). -> it->
6572 * insettext.C: ditto
6574 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * insetcollapsable.C (edit): always open collapsed insets (even if
6577 they are not autocollapsable)
6579 * insetcommand.C (operator=): simplify.
6581 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * insetert.C (latex): handle META_NEWLINE
6585 2001-07-09 Juergen Vigna <jug@sad.it>
6587 * insetert.h: a normal InsetText can insert insets, but we won't.
6589 * inset.h: return default "false" on insertInsetAllowed and implement
6590 this function where a returnvalue != "false" is needed.
6592 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6594 * insetert.C (InsetERT): new contructor
6596 2001-07-06 Juergen Vigna <jug@sad.it>
6598 * a lot of files: added implementation of the below new functions
6599 and the change to clone(). Also the call of the new undo-functions
6602 * inset.h: added an inset_id, added functions getParFromID,
6603 getInsetFromID, firstParagraph, cursor and id functions, added
6604 bool same_ids to clone function.
6606 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6608 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6609 of BufferView * and shared_ptr<LyXText>
6611 2001-07-05 Juergen Vigna <jug@sad.it>
6613 * insettext.C (clear): deleted also the cache not only LyXText.
6614 (setParagraphData): ditto.
6616 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6618 * insetfloat.C (latex): let the specific placement take presedence
6619 if set, otherwise choose document placement if set, otherwise just
6620 use float default placement.
6622 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * insettext.C (localDispatch): call CutAndPaste::'s static method
6627 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6629 * insetbib.C: no meed to include forms.h here.
6631 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6633 * insettext.C: added using std::make_pair directive.
6635 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6637 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6639 (deleteLyXText): ditto
6640 (resizeLyXText): ditto
6642 2001-07-02 Juergen Vigna <jug@sad.it>
6644 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6645 following calls are only returned the right pointer without the over
6646 head to search in the map.
6647 (various funcs): reset the cached_bview variable as this signs that
6648 the cache is not valid anymore.
6650 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6652 * insettabular.C (clone): do not copy the LyXTabular twice
6654 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6656 * insettext.h (TEXT): delete method
6658 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6660 * insetmarginal.C (latex):
6661 * insetfoot.C (latex): fix spacing of notes in LaTeX
6663 * insettext.C (localDispatch): use .c_str() on istringstream
6664 constructor argument.
6666 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6671 * inseturl.C: fix method names in these to begin
6672 with small char too, so they inherit
6674 2001-06-28 Juergen Vigna <jug@sad.it>
6676 * insettext.C (setFont): fixed font settings using toggleFree()
6677 instead of setFont().
6679 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6681 * Change a lot of method names to begin with a small char.
6682 Changes to a lot of files because of this.
6684 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6686 * insetfloatlist.C (Write): std:: qualify ostream
6689 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6693 * insetgraphics.C: send debug output to Debug::INFO instead of
6696 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6699 * insettabular.C (getStatus): update to use func_status
6701 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6703 * insetref.C (DocBook): added support for cross-references without
6706 2001-06-26 The LyX Project <jug@sad.it>
6711 * insetlabel.h: removed escape method and moved it to
6714 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6716 * insettabular.C (getMaxWidth): do the speedup in a different way,
6719 2001-06-24 The LyX Project <Asger>
6721 * insettabular.C (getMaxWidth): We cache a mapping from
6722 inset to cell in order to speed this method up.
6724 2001-06-24 The LyX Project <Asger>
6726 * insettext.C: Optimized InsetText::draw or something.
6728 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6730 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6732 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6734 * inset.h: name change from lyxinset.h
6736 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6738 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6740 2001-06-14 Juergen Vigna <jug@sad.it>
6742 * insettext.C (draw): removed warnings.
6744 2001-06-13 Juergen Vigna <jug@sad.it>
6746 * insettabular.C (nodraw): only go down the tree if we don't have
6747 that flag set otherwise it's obvious that we don't want to draw.
6748 (LocalDispatch): do also an update if we have an undispached result.
6750 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6753 * insetgraphicsParams.C:
6754 * insettext.C: removed // -*- C++ -*- as first line.
6756 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6758 * lyxinset.h (resizeLyXText): shut off warning about unused
6761 2001-06-07 Juergen Vigna <jug@sad.it>
6763 * insettext.C (resizeLyXText): honor the new force flag.
6765 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6767 * insettabular.C (deleteLyXText): new function
6769 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6777 * insetcollapsable.C:
6778 * insetcaption.C: LColor tidy
6780 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6782 * figinset.C: fix typo
6784 2001-06-01 Juergen Vigna <jug@sad.it>
6786 * insettabular.C (resetPos): small hack so that scroll is not set to
6787 0 when we are in the last column of a tabular. This is a problem we
6788 have because of constats 20 offset on both directions, so this can
6789 cause on the limit an endless loop.
6791 * insettext.C (SetFont): forgot that we can have locking insets ;)
6793 2001-05-31 Juergen Vigna <jug@sad.it>
6795 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6797 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6799 * figinset.C: add using std:: directive for the C functions which
6802 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6804 * insetfloat.C (Write): write out wide info
6805 (Read): read the wide info
6806 (Latex): use the wide info when creating latex.
6808 * insettext.C: adjust
6810 * insetgraphics.[Ch] (statusMessage): change to return string
6814 * figinset.C (runqueue): add std::
6817 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6819 * insetcite.C (Ascii): add std:: qualifier
6821 2001-05-28 Juergen Vigna <jug@sad.it>
6823 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6824 a endless-width inset (maxWidth < 0).
6825 (Edit): change language only if not equal.
6827 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6829 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6831 2001-05-16 Juergen Vigna <jug@sad.it>
6833 * insettext.C (selectAll): added
6834 (clearSelection): added
6836 * insettabular.C (SetFont): now we may set a font on a whole selection!
6837 (getSelection): added helper function.
6839 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6841 * insetcite.C (Ascii): Add method.
6843 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6846 * insetbib.C: fix path for OS/2 & Win32
6848 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6850 * insetfoot.C (Latex): don't use % after footnote.
6852 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6854 * insettext.C (Read): use clear
6855 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6857 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * insetfloatlist.h: add a bunch of std:: qualifiers.
6861 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6863 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6864 FLOAT_LIST_CODE, renumber code list.
6866 * insettoc.C (getScreenLabel): remove support for float lists
6870 * insetfloatlist.[Ch]: new files
6872 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6874 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6876 * insettabular.C (LocalDispatch):
6877 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6880 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6882 * insettext.C: remvoe !NEW_INSETS cruft
6884 * insettabular.C: remove !NEW_INSETS cruft
6886 * insetcollapsable.h: remove !NEW_INSETS cruft
6888 * insetbib.C: remove !NEW_INSETS cruft
6890 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6892 * insettoc.C: hack to make listof algorithm work
6894 2001-04-20 Juergen Vigna <jug@sad.it>
6896 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6898 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6900 * insetquotes.C (Latex): improve the guard against
6901 unwanted !` and ?` ligatures. This should really be done in
6902 another place (to catch all this ligatures at low-level).
6904 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * insettext.C (init): remvoe leftovers from cursor_visible change
6907 (draw): use c++ cast
6908 (LocalDispatch): dispatch LFUN_MESSAGE
6910 * insettabular.C (InsetTabular): remove leftovers from
6911 cursor_visible, and scoped_ptr changes
6912 (draw): use c++ cast
6914 * insetcollapsable.C (draw): use c++ cast
6916 * ExternalTemplate.h: inherit privaely from noncopyable
6917 * insetcommand.h: ditto
6918 * insetinclude.h: ditto
6920 2001-04-16 Allan Rae <rae@lyx.org>
6922 * insettoc.C (Ascii):
6923 * insettext.C (draw):
6924 * insettabular.C (setPos):
6925 * insetminipage.C (Read):
6926 * insetfloat.C (placement):
6927 * insetcaption.C (Ascii, DocBook):
6928 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6929 an unrecognised preprocessor directive. So ensure they're wrapped.
6931 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6934 * insetexternal.C: set view on Clone. Add _ to private members.
6936 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * insettext.C (InsetText): fix new
6939 (InsetText): reindent some, simplify deletion of par list
6940 (clear): simplify deletion of par list, fix new
6941 (SetParagraphData): simplify deletion of par list
6943 * insettabular.[Ch] (getLabelList): implement new method
6945 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6947 * lyxinset.h: do not include gettext.h...
6955 * insetlatexaccent.C:
6959 * inseturl.C: ... and do it here instead
6961 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6963 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6965 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6967 * insetcollapsable.[Ch] (getLabelList): implement
6969 * insettext.[Ch] (getLabelList): implement
6971 * insettext.h: reindent
6973 * insettabular.h: make tabular a scoped_ptr
6975 * insettext.C (init): adjust for cursor_visible
6976 (ToggleInsetCursor): constify asc and desc, font, adjust for
6978 (ShowInsetCursor): constify asc and desc, font, adjust for
6980 (HideInsetCursor): adjust for cursor_visible
6982 * insettabular.C: reindent some
6983 (InsetTabular): adjust for scoped_ptr and cursor_visible
6984 (InsetTabular): ditto
6985 (~InsetTabular): delete delete
6986 (Clone): adjust for scoped_ptr
6987 (Read): constify old_format, adjust for scoped_ptr, move init of
6989 (draw): constify tx, localize loop vars.
6990 some other localization of variables, remove double initilizatons.
6992 * insetfoot.C: remove using std::ostream, add ostream where needed
6994 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * lyxinset.h: some reindentaion, use initializer list for
6998 UpdatableInset: make cursor_visible a private var add
6999 public isCursorVisible(), add protected toggleCursorVisible() and
7000 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7002 * insettoc.C: remvoe using decl
7003 (getScreenLabel): make cmdname donst
7006 (Ascii): don't use endl
7008 * insetfootlike.C: remove using decl at file scope and add std::
7010 * insetmarginal.C: ditto
7012 * insetfoot.C: some reformatting
7014 * insetfloat.C (InsetButtonRelease): adjust the hit area
7016 * insetert.C (SetFont): some reformatting
7018 * insetcollapsable.C: some reformatting and constification
7019 (Clone): comment out.
7020 * insetcollapsable.h: some reformatting
7021 (Clone): comment out.
7026 2001-03-30 Juergen Vigna <jug@sad.it>
7028 * insetcollapsable.h: changen *inset to be a InsetText inset.
7030 * some files: changed to reflect the above change.
7032 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7034 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7035 InsetExternal::Params.
7036 Added operator==() and operator!=() for the Params struct.
7038 2001-03-29 Juergen Vigna <jug@sad.it>
7040 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7043 * insetminipage.C: removed widthp_ and all it's functions and changed
7044 to use new %-lengths of LyXLength.
7046 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7048 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7050 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7052 * insetgraphicsParams.C (operator!=): new function, needed by the
7053 ControlGraphics class.
7055 2001-03-28 Juergen Vigna <jug@sad.it>
7057 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7058 (checkAndActivateInset): don't use the values returned from
7059 call to bv->checkInsetHit.
7061 * insetminipage.C (Clone): set special minipage values.
7063 * insetcollapsable.C (draw): changed to draw the button in the
7064 upper left corner outside the textinset.
7065 (ascent): changed because of different drawing
7069 (InsetButtonPress): ditto
7070 (InsetButtonRelease): ditto
7071 (InsetMotionNotify): ditto
7073 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7075 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7079 2001-03-26 Juergen Vigna <jug@sad.it>
7081 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7083 * insettext.C (ShowInsetDialog): implemented above function.
7085 * insettabular.C (ShowInsetDialog): ditto
7087 * insetminipage.C (ShowInsetDialog): ditto
7089 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7091 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7092 InsetInclude::Params. Don't store a buffer * in Params. Store the
7093 master file name instead.
7095 2001-03-23 Juergen Vigna <jug@sad.it>
7097 * insetcollapsable.C (InsetMotionNotify):
7098 (InsetButtonRelease):
7099 (InsetButtonPress): fixed y-offset (minipages).
7101 * insettext.C (draw): force a FULL update if cleared == true.
7103 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7104 routine to draw the minipages on its position-flag.
7105 (InsetInInsetY): give back the right y position, because of minipage
7108 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7111 * insetfloat.C (DocBook): docbook export code.
7113 2001-03-22 Juergen Vigna <jug@sad.it>
7115 * insetminipage.C (getMaxWidth): added function to set the drawing
7117 (Read): should work now!
7119 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7120 if we create a new inset.
7122 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7124 * figinset.C (fl_set_preemptive_callback): moved definition outside
7127 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7129 * insetminipage.C (Read): prepare for reading of minipage arguments.
7131 2001-03-18 Baruch Even <baruch@lyx.org>
7133 * insetgraphics.C: Minor cleanups of the comments and code.
7135 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7137 * insetminipage.C (InsetMinipage): default to not collapsed
7139 2001-03-16 Juergen Vigna <jug@sad.it>
7141 * insetminipage.C (width): modified with to be a string
7142 (widthp): added widthp (for % width) support functions.
7143 (InsetButtonRelease): added to open the options dialog on button==3.
7144 (~InsetMinipage): added to hide the dialog.
7146 * insetminipage.h: added hideDialog signal
7148 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7150 * insetminipage.h: change the order or Position to match
7151 LyXParagraph::MINIPAGE_ALIGNMENT
7153 * several files: remvoe CXX_WORKING_NAMESPACES
7155 * ExternalTemplate.h: noncopyable is in namespace boost
7156 * insetinclude.h: ditto
7157 * insetcommand.h: ditto
7159 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7161 * insettext.C (Edit): #else# -> #else.
7162 * insettoc.C: added using directive.
7164 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7166 * insetminipage.h: add pos, inner_pos, width and height. + getters
7167 and setters for all of them.
7169 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7171 * insetinclude.C (Latex): Do not exit when the textclass of the
7172 included file differ from the textclass of the parent file.
7174 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7176 * ExternalTemplate.C (read): the reading of external insets now checks
7177 for \end_inset and removes it form the input stream.
7179 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7181 * ExternalTemplate.h:
7182 * ExternalTemplate.C:
7184 * insetexternal.C: move form to GUII
7186 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7189 * insetinclude.C: add InsetIncludeParams, use
7190 composition rather than derivation of InsetCommand
7192 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7194 * insettoc.C (Ascii): use the Buffer typedefs
7196 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7198 * insettoc.C (Ascii): implement for dynamic number of lists
7200 * insetcaption.[Ch]: update from new_insets branch
7201 * insetfloat.[Ch]: ditto
7203 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7206 * figinset.C: use new File Dialog
7208 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7210 * insettext.C: changes becuase of ParagraphParameters.
7212 2001-02-28 Baruch Even <baruch@ev-en.org>
7214 * insetgraphics.C (updateInset): Changed due to the change in
7217 2001-02-26 Juergen Vigna <jug@sad.it>
7219 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7220 handled in LyXText).
7222 2001-02-23 Juergen Vigna <jug@sad.it>
7224 * insettext.C (draw): some small repainting fixes.
7225 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7227 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7228 should be) and not an int.
7230 * insettabular.C (LocalDispatch): ditto
7232 * insettext.C (LocalDispatch): ditto
7234 * insetcollapsable.C (LocalDispatch): ditto
7236 2001-02-22 Juergen Vigna <jug@sad.it>
7238 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7239 DISPATCH it and we don't have a locking_inset.
7241 2001-02-21 Baruch Even <baruch@ev-en.org>
7243 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
7244 instead of GraphicsCacheItem *.
7246 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * insetcollapsable.C (getLyXText): add const qualifier to second
7251 2001-02-22 Juergen Vigna <jug@sad.it>
7253 * insettext.C (getLyXText): honor the recursive parameter.
7254 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7256 * inset.C (getLyXText): added bool recursive parameter.
7258 * insettext.C (SetUpdateStatus): or the update codes.
7259 (draw): check need_update with &.
7260 (InsetButtonPress): set no_selection to not put a selection when
7261 entering an inset and it is redraws in another spot.
7263 * insettext.h: made need_update an int.
7265 2001-02-20 Baruch Even <baruch@ev-en.org>
7268 * insetgraphisc.C: Changed to use better semantics when loading images
7269 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7271 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7275 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7276 consistent with InsetTabular.
7278 2001-02-19 Juergen Vigna <jug@sad.it>
7280 * insettabular.C (LocalDispatch): implement PAGE up/down.
7282 * insettext.C (draw): clear all of it on need_update==INIT too!
7284 * insettabular.C (InsetUnlock): always clear the selection.
7286 * inset.C (scroll): normally we only want to scroll the inset until
7287 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7289 2001-02-14 Juergen Vigna <jug@sad.it>
7291 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7292 (resetPos): fixed scroll behaviour.
7293 (LocalDispatch): do an update if moving cursor inside a table cell
7294 requests a scroll of the tabular.
7296 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7298 * insettext.C (textWidth): constify local var
7300 * insettabular.C: small cleanup.
7302 * insetfoot.C (Latex): constify local var
7304 * insetcollapsable.C: small cleanup.
7306 * figinset.C (runqueue): use compare instead of strcmp
7308 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7311 * insetinfo.C: remove cruft
7313 2001-02-14 Juergen Vigna <jug@sad.it>
7315 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7317 2001-02-13 Juergen Vigna <jug@sad.it>
7319 * insettext.C (InsertInset): don't move left (is this right?)
7321 * insettabular.C (LocalDispatch): use of the no_draw variable
7323 * insettabular.h: new no_draw variable to stop redraw
7325 * insettabular.C (TabularFeatures): fixed update for alignment change
7327 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7331 * insetbib.C: move dialogs to frontends/
7333 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7335 * insettext.C (LocalDispatch): Restore the language if the inset
7338 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7340 * insettext.C (moveRightIntern): Update the selection cursor.
7341 (moveLeftIntern): Ditto.
7343 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7345 * Makefile.am: remove BoundingBox.h
7347 * BoundingBox.h: removed
7349 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7351 * insettext.C (LocalDispatch): Update selection cursor when moving
7352 cursor to the right.
7353 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7354 (moveLeftIntern): Ditto.
7356 2001-02-05 Baruch Even <baruch.even@writeme.com>
7358 * insetgraphics.C: Updated automatic image conversion, it now goes into
7359 temporary directory instead of with the image itself.
7361 2001-01-21 Baruch Even <baruch@ev-en.org>
7363 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7364 to EPS or PNG when needed (support bitmap graphics).
7366 2000-11-02 Baruch Even <baruch@ev-en.org>
7369 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7370 and removal of commented out code.
7372 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7374 * insetbib.C (callback): Update citations if the key has changed.
7376 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7378 * insetbib.C (InsetBibKey): Better computation of default key.
7379 (getScreenLabel) Show both the key and the label.
7380 (getBibLabel): New method.
7381 (callback): Force a redraw if the inset have been changed.
7383 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7385 * insetref.C (getType, getName): Move methods from
7386 src/frontends/xforms/FormRef.C.
7388 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7390 * insettabular.C: Various improvements (use only one dummy position).
7392 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7394 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7395 par->bibkey->width. This fixes the crashes when running without
7396 gui or when having included documents.
7398 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7400 * insetcommand.C (getAsString, setFromString): Cleanup.
7402 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7404 * insetref.C: Add the array InsetRef::types that contains
7405 information about all supported reference types.
7407 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7409 * lyxinset.h: remove trailing comma in enum.
7411 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7413 * insettext.C: kill LyXBell.