1 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
4 workaround for broken HTML converter)
6 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * insetcollapsable.C (leaveInset): size() -> depth()
9 * insettabular.C (isRightToLeft): ditto
11 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * insetert.C (latex, linuxdoc, docbook): remove newline handling
14 * insetert.C (doDispatch): clean pasted paragraphs
15 * insetert.C (getStatus): suppress more lfuns
16 * insetert.C (insetAllowed): return always false
18 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
23 * updatableinset.C: Use new cursor accessors.
25 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
27 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
29 2005-01-31 Angus Leeming <leeming@lyx.org>
31 * insetgraphicsParams.C: protect a #warning preprocessor call
32 with a #ifdef WITH_WARNINGS guard.
34 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
36 * Several files: use convert<> instead of atoi,strToXXX and friends
38 2005-01-23 Angus Leeming <leeming@lyx.org>
40 * insetbibitem.h (bibitemWidest): declare the function.
42 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
44 * insetgraphics.C (prepareFile): move the invocation of the default
45 converter to ../converter.C
46 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
47 call convert with try_default == true
49 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
52 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
53 determines what variables are substituted
54 * ExternalSupport.C (updateExternal): fix substitution of
57 2005-01-10 Angus Leeming <leeming@lyx.org>
59 * ExternalTemplate.C: use support/package.h to provide the paths to the
60 various directories used by LyX.
62 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * ExternalTransforms.C (adjAngle): tostr -> convert
72 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
77 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
79 * ExternalTransforms.C: fix LaTeX output of \scalebox.
81 * ExternalTransforms.[Ch]:
82 * insetexternal.C: store all float/double values as strings.
85 * insetgraphicsParams.C: more precise checks for the value strings.
87 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * insettext.C (doDispatch): remove unused variable was_empty
91 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * insetgraphicsParams.[Ch]: store all float/double values as strings.
96 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
98 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
100 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
103 UNSET_ALL_LINES (from Jürgen)
105 2004-12-14 Angus Leeming <leeming@lyx.org>
107 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
108 to overcome bug in the MinGW port of g++ 3.4.2.
110 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
112 * insettabular.C (getCellXPos): make it return a relative x
113 position wrt. the begin of the tabular
114 (resetPos): a couple of fixes
115 (doDispatch): add a couple of resetPos calls
116 (drawSelection): fix drawing of selection in single-cell mode
117 (draw): replace 'do not draw' optimization by 'draw with
120 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * insetbase.[Ch] (idxUpDown2): remove function
124 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
126 * insettabular.[Ch]: use size_t-like types for cell, row and column
129 2004-12-02 José Matos <jamatos@lyx.org>
131 * insetlatexaccent.C (checkContents): remove compatibility code,
134 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * insetbase.h (getStatus): add better comment from src/cursor.C
138 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
140 * insettabular.[Ch]: adjust, introduce "do not draw
141 offscreen" optimization using NullPainter, (dist): introduce,
142 (getCursorPos): implement, (drawSelection): implement
144 * insetcollapsable.[Ch]: adjust
146 * insettext.C: adjust, (metrics): set the font before calling
149 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
151 * rename a lot of InsetOld to InsetBase
153 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
156 * insettext.C: par->pit renaming
158 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * Most insets: rename priv_dispatch to doDispatch
162 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
164 * insettabular.C (tabularFeatures): fix multicolumn handling
166 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
168 * render_base.h (operator=): use common semantics
170 * insettext.C (operator=): delete this
171 (copy constructor): implement this properly
172 (init): use for_each and bind
174 (appendParagraphs): ditto
176 * insettabular.C: add more const. Adjust for changes in tabular.
178 * insetbase.h: Use NVI on clone. Add virtual doClone and update
179 all children, also make copy constructor protected. Added some
180 safe-guards to clone.
182 * insets: adjust to fit.
184 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * insetoptarg.C (latexOptional): return number of lines instead of
189 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * insettabular.[Ch] (string2params): Don't pretend to return the
192 active cell anymore and simplify keyword parsing.
194 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * insetlatexaccent.h (isLetter): implement, so that word selection
197 takes accents into account.
199 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
201 * insetcollapsable.C (priv_dispatch): do not push the inset to the
204 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * ExternalSupport.C, insetgraphics.C:
207 s/getFormatFromContents/formats.getFormatFromFile/
209 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * insetcharstyle.[Ch]:
212 * insetert.[Ch]: implement getStatus
214 * insetcharstyle.C (draw): visual clue when the cursor is inside
217 2004-11-02 José Matos <jamatos@lyx.org>
219 * insetcharstyle.C (docbook):
220 * insetlabel.C (linuxdoc, docbook):
221 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
224 * insettabular.C (docbook): mixed content no longer belongs to
227 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
231 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * ExternalSupport.C (updateExternal): convert files in the temp dir
235 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * insetcharstyle.C: drawing cosmetics.
239 2004-10-30 José Matos <jamatos@lyx.org>
241 * insetcharstyle.C (docbook): a compromisse solution. Don't output
242 paragraph tags inside inline elements.
244 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
247 InsetText methods rather than outputVerbatim (escapes special
248 characters) [bug 1731]
249 * insetcharstyle.C (outputVerbatim): remove this function.
250 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
251 which caused an infinite loop.
253 2004-10-29 José Matos <jamatos@lyx.org>
255 * insetgraphics.C (uniqueID): transfered to sgml.C
257 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
259 * insetlabel.C (docbook, linuxdoc):
260 * insetref.C (docbook, linuxdoc): sanitize id.
262 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
265 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
266 * insetgraphics.C (findTargetFormat): reformat
268 2004-10-28 José Matos <jamatos@lyx.org>
270 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
272 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
276 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
279 "[,,,]" without warning message
281 2004-10-26 Angus Leeming <leeming@lyx.org>
283 * ExternalSupport.C (updateExternal):
284 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
285 external files to the temp directory.
287 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
290 layouts. This fixes problems with the memoir class (which does not
291 allow \footnote) [bug 1677]
293 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
295 * insetindex.C (docbook): escape the index, to generate correct sgml.
297 2004-10-23 José Matos <jamatos@lyx.org>
299 * insettext.C (docbook): rearrange arguments, due to change in the
302 2004-10-23 André Pönitz <poenitz@gmx.net>
304 * insettabular.C (cutSelection, tabularFereatures):
305 fix cursor position after cutting selection or table rows
307 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
309 * insetgraphics.C (docbook, writeImageObject): write more than one
310 format of imageobjects in <mediaobject>.
312 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
314 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
315 DocBook output for this inset ( <citation>content</citation> )
317 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
319 * insetgraphics.C (docbook) : using mediaobject for XML;
320 correcting bug with SGML output (now '>' instead of '/>')
322 2004-10-05 José Matos <jamatos@lyx.org>
324 * insetfloatlist.C (read):
325 * insetquotes.C (read):
326 * insetspace.C (read):
327 * insetspecialchar.C (read):
328 * insettabular.C (read): replace nextToken by more appropriate lex
331 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
333 * insetgraphics.C (createDocBookAttribute, docbook) :
334 convert scale, width, height and keepaspectratio to Docbook standards)
336 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
337 to Docbook units where possible.
339 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
341 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
343 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
344 as attributes with new method for docbook.
346 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
348 * render_preview.h: Use preferred calling of Boost.Signal
350 * pch.h: use proper signal include
352 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
354 * ExternalTransforms.h: User preferred calling of Boost.Function
356 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
358 * insetref.C (docbook): fixing problem where Docbook XML output
359 had unclosed <xref ... >
361 2004-08-16 José Matos <jamatos@lyx.org>
363 * insethfill.C (write):
364 * insetline.C (write):
365 * insetnewline.C (write):
366 * insetpagebreak.C (write): remove space at end of line.
368 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * insettabular.C (plaintext): do not use ownerPar to get the
373 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
374 and it calls getParentLanguage (which calls ownerPar)
375 (edit): do not call sanitizeEmptyText
376 (priv_dispatch): remove code resetting font on empty inset, for
377 the same reasons as above.
379 * insettabular.C (isRightToLeft): instead of using
380 BufferView::getParentLanguage, use the data from the cursor
382 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
386 * Makefile.am: support pch
388 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 * insettabular.C (draw): whitespace
392 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
394 2004-08-14 André Pönitz <poenitz@gmx.net>
396 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
398 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * insettabular.C (metrics): when the width of a cell is zero(),
401 let it use as much space as it can
403 * insettext.C (editXY): compilation fix
405 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
407 (metrics): the insets is not full width any more.
408 (draw): adjust; fix bad test for PREVIEW_OFF
409 (add_preview): fix bad test for PREVIEW_OFF
410 (display): do not return true when using \input
412 2004-08-14 José Matos <jamatos@lyx.org>
414 * insetbibitem.[Ch] (plaintext): added.
416 * insetcite.[Ch]: fix plaintext export.
418 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
420 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
423 * insetcaption.C (InsetCaption): modify call to setDrawFrame
424 * insetcollapsable.C (InsetCollapsable): ditto
425 * insetenv.C (InsetEnvironment): ditto
427 2004-08-14 André Pönitz <poenitz@gmx.net>
430 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
432 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * insetoptarg.C (latexOptional): if the optional argument contains
435 a ']' enclose it in {curly brackets}
437 * insettext.C (editXY):
438 * insettabular.C (editXY):
439 * insetcollapsable.C (editXY):
440 * insetbase.C (editXY): constify
442 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
443 not ask for an update if we did nothing; on a mouse release, make
444 sure that the cursor is moved to the right position; on a mouse
445 release, exit from the inset instead of invoking a
448 * insetbase.C (dispatch): before invoking dispatch, set cursor
449 result to dispatch=update=true.
451 2004-08-13 José Matos <jamatos@lyx.org>
453 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
455 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * insetfoot.C (latex): use OutputParams::intitle instead of
458 parOwner() (avoids time consuming lookup)
460 * insetquotes.C (latex): same as above with OutputParams::lang.
461 Moreover the code actually works now.
463 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
465 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
466 * insetinclude.C, insetgraphics.C, insetfloat.C:
467 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
468 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
469 "support/std_sstream.h" to <sstream>
471 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * insetgraphics.C (prepareFile): remove conversion_needed flag.
474 It made the following fail for a .eps graphics file:
476 2) view->pdf (pdflatex)
477 because the .eps file was already in the temp dir when the pdflatex
478 export happened and therefore no .eps -> pdf conversion was done.
480 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
482 * insetgraphics.C, insettabular.C: s/wether/whether/g
484 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
486 * insetgraphics.C (stripExtension): new
487 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
489 * insetgraphics.C (prepareFile): Handle "nice" exports, too
490 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
492 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * insetfloatlist.C (latex,getScreenLabel): translate according to
495 the document language (bug #1312)
497 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
500 with external_in_tmpdir and compute filename ourself
501 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
502 use it to store referenced file(s)
503 * ExternalSupport.C (writeExternal): write relative filename if
505 * ExternalTemplate.[Ch]: add ReferencedFile command
506 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
508 * insetgraphics.C (prepareFile): write relative filename if
510 * insetinclude.C (latex, docbook, linuxdoc): add file to
511 runparams.exportdata and write it to the temp dir instead of
512 writing it to the final destination
513 * insetinclude.C (docbook, linuxdoc): don't copy runparams
515 2004-05-19 Angus Leeming <leeming@lyx.org>
517 * insetcite.[Ch]: small change because namespace biblio is
518 now namespace lyx::biblio.
520 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * insettabular.[Ch] (buffer): make Buffer * argument const
524 2004-05-17 Angus Leeming <leeming@lyx.org>
526 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
527 to force the button label to be re-generated.
529 2004-05-14 José Matos <jamatos@lyx.org>
531 * insetlabel (docbook): do not ouput label, for the moment.
533 2004-05-14 Angus Leeming <leeming@lyx.org>
535 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
536 new biblio::asValidLatexString function.
538 2004-05-12 Angus Leeming <leeming@lyx.org>
540 * insetcite.C: use BufferParams::cite_engine rather than the three
541 bools, use_natbib, use_jurabib, use_numerical_citations.
543 2004-05-10 Angus Leeming <leeming@lyx.org>
545 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
546 Ditto with getStyle, moved to biblio::getEngine.
548 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * insetgraphics.C (validate): remove pre 233 file format stuff,
551 handle zipped files for "nice" export
553 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * insetgraphics.C (prepareFile): copy zipped file and corresponding
556 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
557 * insetgraphics.C (prepareFile): unzip zipped file also if it has
558 changed since the last run
559 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
560 and copyFileIfNeeded.
562 2004-04-29 Angus Leeming <leeming@lyx.org>
564 * ExternalTemplate.[Ch]: remove redundant #includes.
566 2004-04-28 Angus Leeming <leeming@lyx.org>
569 s/updateToolbar()/updateToolbars()/
571 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
573 * insetgraphics.C: require file extension (file format change!)
574 * insetgraphics.C (latex): handle zipped files for "nice" export
576 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
578 * insetgraphics.C (latex): strip the extension and replace dots in
579 the filename if doing a "nice" export. This is a partial fix for
580 bug 1231 without reintroducing bug 655.
582 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * insetoptarg.h: remove the editable() method (InsetCollapsable
585 does it better already)
587 * insetbibtex.C (normalize_name): new helper function. Changes the
588 name to be suitable to use in a latex file (relative to master
589 buffer if necessary).
590 (latex): use normalize_name.
592 2004-04-20 Angus Leeming <leeming@lyx.org>
594 * render_preview.C (startLoading): remove lyxerr statement.
596 (getPreviewLoader): new helper function.
598 2004-04-19 Angus Leeming <leeming@lyx.org>
602 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
604 2004-04-19 Angus Leeming <leeming@lyx.org>
606 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
608 (add_preview): renamed as add_preview_and_start_loading. Invoke
609 RenderPreview::startLoading.
611 * insetinclude.C (metrics, draw): changes due to the changed
612 RenderPreview interface.
614 * render_preview.C: remove cached pimage_.
615 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
616 (draw): don't call startLoading. That's up to the user of
619 2004-04-16 Angus Leeming <leeming@lyx.org>
621 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
623 2004-04-13 Angus Leeming <leeming@lyx.org>
625 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
626 the renderer to inform LyX::updateInset that the inset's status
627 has changed and it should be redrawn.
629 * render_button.[Ch] (clone):
630 * render_graphic.[Ch] (c-tors, clone):
631 * render_preview.[Ch] (c-tors, clone): ditto.
633 * render_graphic.[Ch] (connect):
634 * render_preview.[Ch] (connect): removed, as connection is now
635 made in the constructors.
639 * insetinclude.C: ensuing simplification of the client code.
640 (statusChanged): now superfluous. Removed.
642 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
644 * ExternalTemplate.[Ch]: remove editCommand
645 * ExternalSupport.C (editExternal): use formats.edit() instead of
646 the removed editCommand template parameter
647 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
648 * insetgraphics.[Ch] (editGraphics): new method
650 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
652 * insetinclude.C (validate): set/reset features.buffer_ when
655 2004-04-07 Angus Leeming <leeming@lyx.org>
657 * insetexternal.C (priv_dispatch):
658 * insetinclude.C (priv_dispatch): prevent crash by invoking
659 InsetOld::priv_dispatch at the end of the switch, rather than
660 InsetOld::dispatch...
662 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
664 * insetcollapsable.C:
665 * insetbranch.C: 'assign' to open/close branch inset according to
666 selection; also print content on closed branch button
668 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
670 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
671 $$RelPath_Master, $$RelPath_Parent, $$Extension,
672 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
674 * ExternalSupport.C (updateExternal): use absolute and output
675 filename where appropriate
677 2004-04-05 André Pönitz <poenitz@gmx.net>
679 * insetbase.h: use LCursor & in notifyCursorLeave
681 2004-04-05 Angus Leeming <leeming@lyx.org>
683 * insetgraphics.C: remove unused header file "lyxrc.h".
685 * render_graphic.C: squash bug 1372: Misleading graphics label when
686 deactivating lyx view.
688 2004-04-05 Angus Leeming <leeming@lyx.org>
693 * insetlatexaccent.C:
698 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
700 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
702 * insetfloat.C (read): fix yesterday's float fix.
703 * insetwrap.C (read): apply the fixed float fix.
705 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
707 * insetfloat.C (read): fix reading of float params
710 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
712 * insettext.C (edit): comment the call to updateLocal (dangling now)
713 * insettext.h: add allowSpellCheck() returning true
715 2004-03-31 Angus Leeming <leeming@lyx.org>
717 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
719 2004-03-31 Angus Leeming <leeming@lyx.org>
721 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
722 the cursor out of an inset.
724 * insetbranch.C (priv_dispatch):
725 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
726 use getOutOfInset to push the cursor out of the inset when
729 2004-03-30 Angus Leeming <leeming@lyx.org>
731 * insetbase.[Ch] (translate): new static member function, returns
732 an InsetBase::Code corresponding to the input string.
734 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
736 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
737 so that it opens the inset if it refers to the currently active
740 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
742 * insetfloat.C (addToToc): use par_const_iterator_begin and
743 par_const_iterator_end.
745 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
747 * insetbibtex.[Ch]: bibtopic support.
749 * insetfloat.[Ch]: add param \sideways {true|false}
750 (support for sideways floats from rotating.sty).
752 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
754 * insettext.[Ch]: add a default ctor. implement const version of
760 * insetwrap.C: adjust
762 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
764 * insettext.h: add insetAllowed returning true by default (fixing
765 vanishing insets problem)
767 * insettext.C (draw): handle the responsability of adding the
768 ouside offset to collapsable. Clean code a bit.
770 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
771 from insettext correctly, solve a couple of off-by-one drawing
774 2004-03-25 Angus Leeming <leeming@lyx.org>
776 * insetcaption.C (draw): squash warning about unused variable.
778 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
780 * ExternalSupport.C: use the master buffer's temp dir
781 * insetgraphics.C (latex): make relative filename relative to the
783 * insetgraphics.C: use the master buffer's temp dir
784 * insetinclude.C (masterFilename): new function
785 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
786 is always true if loadIfNeeded() returns true)
788 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
790 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
791 set its parent to the current buffer.
792 (latex): use the tmppath of the master buffer, not just the parent
793 buffer (makes a difference with more than one level of include
794 insets). If the file name is relative write in the .tex file a
795 name relative to the master buffer directory.
797 * insetinclude.C: rename masterFilename to parentFilename (this
798 points to the direct parent)
800 2004-03-25 André Pönitz <poenitz@gmx.net>
802 * inset.[Ch]: remover owner
804 * insetcollapsable.[Ch]: derive from InsetText instead having such a
812 * insetcharstyle.[Ch]:
820 * insetwrap.C: adjust
822 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
824 * insetquote.C: use opening quote after '[' char.
826 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
828 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
831 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
833 * insetcite.[Ch]: support jurabib.
835 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
837 * insetcite.C: Support second \cite option.
840 * insetcommandparams.[Ch]: add second optional argument.
842 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
844 * insetcollapsable.C (lfunMouseRelease): right mouse button only
845 shows the inset dialog.
847 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
849 * insetlabel.[Ch]: remove them
850 * Makefile.am: adjust
852 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
854 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
856 * insetinclude.C (latex): show a GUI warning if textclasses don't
858 * insetinclude.C: use mangledFilename() for temp files
859 * insetgraphics.C (readInsetGraphics): remove version check, since
860 the graphics inset has no own fileformat number anymore
862 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
864 * insetquotes.[Ch]: added new member that allows direct access
865 to single/double quotation marks.
867 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
869 2004-02-16 André Pönitz <poenitz@gmx.net>
872 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
873 implicitly assume 'DispatchResult(true, true) with exception of
874 InsetBase::priv_dispatch which does the equivalent of
875 'retrun DispatchResult(false)'
877 * inset*.[Ch] (priv_dispatch): adjust
879 * insettabular.[Ch]: remove remains of the 'update' mechanism,
880 simplify cursor moving function,
881 re-enable horizontal scrolling for large tables
883 2004-02-13 André Pönitz <poenitz@gmx.net>
885 * insettabular.[Ch]: some work after IU
887 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
889 * inset.C (setPosCache): switch to absolute coords in insets
890 * insettext.[Ch] (draw, drawFrame): adjust
891 * insetcollapsable.C (draw): adjust
894 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
896 * insettext.C (edit):
897 (updateLocal): use the cur argument instead of the global cursor
898 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
900 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
902 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
904 * insetfloat.C (validate): "H" -> 'H' in call to contains
906 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
908 2004-01-30 André Pönitz <poenitz@gmx.net>
912 * insetcollapsable.[Ch]:
915 * insetgraphics.[Ch]:
920 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
923 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
925 * insettabular.C: add using statement for std::vector, remove
926 std:: where using was already used.
928 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
930 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
932 * insetinclude.C (validate): use feautures.nice() instead of
935 2004-01-20 André Pönitz <poenitz@gmx.net>
938 * insetbase.[Ch]: move stuff from mathcursor here.
944 * insetcharstyle.[Ch]:
945 * insetcollapsable.[Ch]:
948 * insetexternal.[Ch]:
950 * insetgraphics.[Ch]:
959 * updatableinset.[Ch]: Adjust to IU changes (see comment in
962 2004-01-15 André Pönitz <poenitz@gmx.net>
969 * insetcharstyle.[Ch]:
970 * insetcollapsable.[Ch]:
973 * insetexternal.[Ch]:
975 * insetgraphics.[Ch]:
984 * updatableinset.[Ch] (priv_dispatch et al): change signature.
986 2004-01-08 André Pönitz <poenitz@gmx.net>
988 * insetcollapsable.[Ch]:
991 * updatableinset.h: use cell index info from global cursor.
993 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * insetnote.C (InsetNoteParams::write): write label only once
997 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
999 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1001 get rid of the SameName functor
1003 * insettabular.C: improve the functor.
1005 2003-12-29 Angus Leeming <leeming@lyx.org>
1007 * insetexternal.C (setParams): update defaultTemplateName.
1009 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1011 * insetbox.C: Use term "Box" in button label
1013 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1015 * insetcharstyle.C: get getDrawFont working again
1017 2003-12-15 André Pönitz <poenitz@gmx.net>
1019 * insettabular.[Ch]:
1020 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1022 2003-12-12 Angus Leeming <leeming@lyx.org>
1024 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1026 (InsetBranchParams): remove the branchlist hack.
1027 (isBranchSelected): new function, used to decide whether to
1028 print each output format. Also used by InsetList.
1029 (read, string2params): repair my own breakage ;-)
1031 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1033 * insetminipage.[Ch]: remove from repository.
1035 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1038 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1039 insetert to insetcollapsable; introduce virtual function
1040 setButtonLabel and invoke it from collapsable
1042 2003-12-12 Angus Leeming <leeming@lyx.org>
1044 * insetinclude.C (draw): cache x,y and so enable the
1045 dialog to be opened.
1047 2003-12-12 Angus Leeming <leeming@lyx.org>
1049 * mailinset.C (print_mailer_error): tidy up the output.
1051 2003-12-11 Angus Leeming <leeming@lyx.org>
1053 * mailinset.[Ch] (print_mailer_error): new helper function.
1055 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1056 calling InsetCommandMailer.
1057 (InsetCommandMailer::string2params): pass the name of the dialog.
1059 * insetbibitem.[Ch] (d-tor):
1060 * insetbibtex.[Ch] (d-tor):
1061 * insetcite.[Ch] (d-tor):
1062 * insetfloatlist.[Ch] (d-tor):
1063 * insetindex.[Ch] (d-tor):
1064 * insetlabel.[Ch] (d-tor):
1065 * insetref.[Ch] (d-tor):
1066 * insettoc.[Ch] (d-tor):
1067 * inseturl.[Ch] (d-tor): removed.
1068 Hiding the dialog is handled by InsetCommand.
1070 * insetbibtex.[Ch] (draw, metrics):
1071 * insetfloatlist.[Ch] (draw, metrics):
1072 * insetindex.[Ch] (draw, metrics): removed.
1073 Drawing is handled by InsetCommand.
1075 * insetbibitem.[Ch] (priv_dispatch):
1076 * insetbibtex.[Ch] (priv_dispatch):
1077 * insetcite.[Ch] (priv_dispatch):
1078 * insetfloatlist.[Ch] (priv_dispatch):
1079 * insetindex.[Ch] (priv_dispatch):
1080 * insetlabel.[Ch] (priv_dispatch):
1081 * insettoc.[Ch] (priv_dispatch):
1082 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1083 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1084 LFUN_INSET_DIALOG_SHOW.
1086 * insetbox.C (string2params):
1087 * insetbranch.C (string2params):
1088 * insetert.C (string2params):
1089 * insetexternal.C (string2params):
1090 * insetfloat.C (string2params):
1091 * insetinclude.C (string2params):
1092 * insetminipage.C (string2params):
1093 * insetnote.C (string2params):
1094 * insetvspace.C (string2params):
1095 * insetwrap.C (string2params): over-hauled.
1097 2003-12-10 Angus Leeming <leeming@lyx.org>
1099 * insetexternal.[Ch]: add a draft option and respect it when
1102 2003-12-10 Angus Leeming <leeming@lyx.org>
1104 * insetbox.C: (read, write): now prepend the inset contents with
1105 'Box' to identify the inset as a box inset.
1107 * insetbox.h: move the translators out of sight.
1109 2003-12-10 Angus Leeming <leeming@lyx.org>
1111 * insetert.C (string2params): clean-up using the new lyxlex interface.
1113 * insetexternal.C: ensure that InsetExternalParams has a default
1114 template, 'RasterImage'.
1116 2003-12-10 Angus Leeming <leeming@lyx.org>
1118 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1119 to an enum. Ensuing clean-ups through out the class.
1120 (read, write): now prepend the inset contents with 'Note' to identify
1121 the inset as a note inset.
1123 2003-12-10 Angus Leeming <leeming@lyx.org>
1125 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1126 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1128 2003-12-10 André Pönitz <poenitz@gmx.net>
1132 * insettabular.[Ch]:
1133 * insettext.[Ch]: remove unused insetInset()
1135 * insetert.C: disable some LFUNs
1137 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1139 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1141 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1143 2003-12-04 Angus Leeming <leeming@lyx.org>
1145 * insetexternal.C (draw): update the xo_, yo_ cache.
1147 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1149 (RotationDataType): new helper struct wrapping the
1150 RotationData::OriginType enum.
1152 2003-12-03 André Pönitz <poenitz@gmx.net>
1154 * inset.h: remove getParagraphs()
1156 * insetcollapsable.[Ch]:
1159 * insettabular.[Ch]:
1160 * insettext.C: use getText() instead of getParagraphs()
1162 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1164 * insetert.C: fix label text updating bug
1166 2003-12-02 Angus Leeming <leeming@lyx.org>
1168 * insetvspace.[Ch] (space): new member function. Make space_ private.
1169 (read): use the new, simpler lyxlex syntax.
1171 2003-12-01 André Pönitz <poenitz@gmx.net>
1173 * insetcollapsable.[Ch]:
1174 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1176 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1178 * insetvspace.C (read): handle 'end_inset' token.
1180 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1182 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1184 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1186 * insetcollapsable.[Ch]:
1188 * insetcharstyle.C: place inset content on the button when
1191 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1193 * insetvspace.C: remove VSpace::NONE; increase inset width
1195 2003-12-01 André Pönitz <poenitz@gmx.net>
1197 * insetbase.h: whitespace
1199 * inset.[Ch]: remove latexTextWidth
1200 make setBackgroundColor virtual
1202 * insettext.[Ch]: move ParagraphList member to LyXText
1204 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1210 * insetminipage.[Ch]:
1212 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1214 2003-11-28 Angus Leeming <leeming@lyx.org>
1216 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1217 hiding and showing the dialog respectively.
1218 (priv_dispatch): also actually update the inset contents.
1220 2003-11-28 Angus Leeming <leeming@lyx.org>
1222 * insetbox.C (d-tor):
1223 * insetbranch.C (d-tor):
1224 * insetcite.C (d-tor):
1225 * insetfloat.C (d-tor):
1226 * insetfloatlist.C (d-tor):
1227 * insetinclude.C (d-tor):
1228 * insetindex.C (d-tor):
1229 simplify the invocation of the Mailer::hideDialog() function.
1231 * insetminipage.C (showInsetDialog):
1232 simplify the invocation of the Mailer::showialog() function.
1234 2003-11-28 André Pönitz <poenitz@gmx.net>
1237 * insetvspace.[Ch]: new insets
1239 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1241 * insetcharstyle.C: Syntax change for CharStyles
1243 2003-11-28 André Pönitz <poenitz@gmx.net>
1245 * updatableinset.h: remove insetInInsetY
1247 * insetcollapsable.[Ch]:
1249 * insettabular.[Ch]:
1250 * insettext.[Ch]: adjust
1252 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1256 * insetcollapsable.[Ch]:
1258 * insettabular.[Ch]: remove setFont
1260 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1262 * render_graphic.[Ch]: adjust comments
1264 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1266 * insetgraphics.C (draw): cache xo_ & yo_
1268 2003-11-24 André Pönitz <poenitz@gmx.net>
1270 * insettext.C (setViewCache): don't call LyXText::init() anymore
1272 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1275 * insetcollapsable.[Ch]:
1276 * insetert.[Ch]: remove bufferview parameter in methods
1277 open, close, status, and updateStatus.
1279 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1281 * insetcollapsable.[Ch]:
1282 * insettabular.[Ch]:
1283 * insettext.[Ch] (getCursorDim): squash unused variable
1285 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1287 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1289 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1291 * insettext.C (draw): sets LyXText absolute coordinates
1293 2003-11-20 Angus Leeming <leeming@lyx.org>
1295 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1296 warnings about unused parameters.
1298 * insetcollapsable.C (open):
1299 * insettabular.C (pasteSelection):
1300 * insettoc.C (draw): ditto.
1302 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1304 * insetcollapsable.C:
1306 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1307 remove mouse_x mouse_y etc.
1309 2003-11-17 André Pönitz <poenitz@gmx.net>
1311 * insettext.[Ch] (cx, cy): remove
1313 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1315 2003-11-13 André Pönitz <poenitz@gmx.net>
1318 * insetcollapsable.[Ch]:
1319 * insettabular.[Ch]:
1320 * insettext.[Ch] (deleteLyXText): remove
1322 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1324 * insetcollapsable.[Ch] (fitInsetCursor): remove
1325 * insettabular.[Ch] (fitInsetCursor): remove
1326 * insettext.[Ch] (fitInsetCursor): remove
1327 * updatableinset.[Ch] (fitInsetCursor): remove
1328 (getCursorDIm): add virtual
1330 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1332 * src/insets/Makefile.am:
1333 * src/insets/inset.h:
1334 * src/insets/insetcharstyle.C:
1335 * src/insets/insetcharstyle.h: The Character Style /XML short
1338 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1340 * insettext.C: remove all update calls
1341 * insetcollapsable.C: remove all update calls
1343 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1345 * insettext.C (updateLocal, insertInset, setFont): remove
1348 2003-11-10 André Pönitz <poenitz@gmx.net>
1350 * inset.h: remove Inset::id_
1352 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1357 2003-11-10 André Pönitz <poenitz@gmx.net>
1361 * insetcollapsable.[Ch]:
1365 * insettabular.[Ch]:
1368 * updatableinset.[Ch]: remove inset locking & adjust
1370 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1372 * inset.h (allowSpellCheck): add (return true)
1373 * insetert.h (allowSpellCheck): add (return false)
1375 2003-11-05 José Matos <jamatos@lyx.org>
1381 * insetcaption.[Ch]:
1383 * insetcollapsable.[Ch]:
1384 * insetcommand.[Ch]:
1387 * insetexternal.[Ch]:
1389 * insetfloatlist.[Ch]:
1391 * insetgraphics.[Ch]:
1393 * insetinclude.[Ch]:
1396 * insetlatexaccent.[Ch]:
1399 * insetmarginal.[Ch]:
1400 * insetminipage.[Ch]:
1401 * insetnewline.[Ch]:
1404 * insetpagebreak.[Ch]:
1408 * insetspecialchar.[Ch]:
1409 * insettabular.[Ch]:
1411 * insettheorem.[Ch]:
1414 * insetwrap.[Ch]: rename ascii to plaintext
1415 and LatexRunParams to OutputParams.
1417 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1419 * insetcollapsable.C (edit): add open() all
1420 * insettext.C (edit): add setViewCache call
1422 2003-11-04 André Pönitz <poenitz@gmx.net>
1424 * inset.h (edit): move locking code from dispatch() to edit()
1430 * insetcollapsable.[Ch]:
1433 * insetexternal.[Ch]:
1434 * insetgraphics.[Ch]:
1439 * insettabular.[Ch]:
1440 * insettext.[Ch]: adjust
1442 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1445 * insetcollapsable.[Ch]:
1447 * insettabular.[Ch]:
1449 * updatableinset.[Ch]: remove dead search code
1451 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1454 * insetcollapsable.[Ch]:
1456 * insettabular.[Ch]:
1458 * updatableinset.[Ch]: remove dead spellcheck code
1460 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1462 * insettabular.C (lockInsetInInset): small fix
1464 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1467 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1468 from here. Be stricter on DispatchResult returned.
1470 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * Inset::dispatch's: adjust for new DispatchResult semantics.
1474 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * render_base.h: make clone return an auto_ptr
1477 * render_button.C (clone): adjust
1478 * render_graphic.C (clone): adjust
1479 * render_preview.C (clone): adjust
1481 * insettheorem.C (clone): return an auto_ptr
1483 * insettext.C (priv_dispatch): exception safety
1485 * insettabular.C: store the file scope variable paste_tabular in a
1486 scoped_ptr, adjust usage.
1488 * insetexternal.C (setParams): exception safety
1490 * insetbibitem.C (clone): exception safety
1492 2003-11-03 André Pönitz <poenitz@gmx.net>
1495 * insetcollapsable.[Ch]:
1496 * insettabular.[Ch]:
1497 * insettext.[Ch]: remove Inset::id and related functions
1499 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1501 * insets: adjust for DispatchResult changes.
1503 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1505 * insetpagebreak.C: fix screen representation & ascii output.
1507 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1511 * insettabular.[Ch]:
1512 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1514 2003-10-31 José Matos <jamatos@lyx.org>
1516 * inset.h (ascii, linuxdoc, docbook):
1517 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1518 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1519 * insetcaption.[Ch] (ascii, docbook):
1520 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1521 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1522 * insetert.[Ch] (ascii, linuxdoc, docbook):
1523 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1524 * insetfloat.[Ch] (linuxdoc, docbook):
1525 * insetfloatlist.[Ch] (ascii):
1526 * insetfoot.[Ch] (docbook):
1527 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1528 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1529 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1530 * insetindex.[Ch] (docbook):
1531 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1532 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1533 * insetline.[Ch] (ascii, linuxdoc, docbook):
1534 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1535 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1536 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1537 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1538 * insetref.[Ch] (ascii, linuxdoc, docbook):
1539 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1540 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1541 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1542 * insettext.[Ch] (ascii, linuxdoc, docbook):
1543 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1544 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1545 * insetwrap.[Ch] (docbook):
1546 add LatexRunParams argument.
1548 2003-10-30 José Matos <jamatos@lyx.org>
1550 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1552 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1554 * updatableinset.C (priv_dispatch):
1555 * insetwrap.C (priv_dispatch):
1556 * inseturl.C (priv_dispatch):
1557 * insettoc.C (priv_dispatch):
1558 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1559 (moveLeftIntern, moveUp, moveDown):
1560 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1561 (moveLeft, moveUp, moveDown):
1562 * insetref.C (priv_dispatch):
1563 * insetnote.C (priv_dispatch):
1564 * insetminipage.C (priv_dispatch):
1565 * insetlabel.C (priv_dispatch):
1566 * insetindex.C (priv_dispatch):
1567 * insetinclude.C (priv_dispatch):
1568 * insetgraphics.C (priv_dispatch):
1569 * insetfloatlist.C (priv_dispatch):
1570 * insetfloat.C (priv_dispatch):
1571 * insetexternal.C (priv_dispatch):
1572 * insetert.C (priv_dispatch):
1573 * insetcommand.C (priv_dispatch):
1574 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1575 * insetcite.C (priv_dispatch):
1576 * insetbranch.C (priv_dispatch):
1577 * insetbox.C (priv_dispatch):
1578 * insetbibtex.C (priv_dispatch):
1579 * insetbibitem.C (priv_dispatch):
1580 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1582 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1584 * insettext.C: small refactoring of docbook stuff
1586 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1589 (priv_dispatch): adjust for operator dispatch_result_t removal
1591 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1592 in a DispatchResult, adjust accordingly.
1593 (priv_dispatch): use strange >= construct... (will be removed later)
1595 * most insets: dispatch_result -> DispatchResult
1597 * insetbase.h: move DispatchResult out to dispatchresult.h
1599 2003-10-27 André Pönitz <poenitz@gmx.net>
1601 * insetpagebreak.[Ch]: new inset for page breaks
1603 * insetline.[Ch]: new inset for vertical lines
1608 2003-10-25 Angus Leeming <leeming@lyx.org>
1610 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1611 new virtual member functions, specialised...
1612 * render_button.h (asButton):
1613 * render_graphic.h (asGraphic):
1614 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1616 * insetexternal.C: use these new functions rather than dynamic_cast.
1617 Various other small simplifications.
1619 2003-10-22 Angus Leeming <leeming@lyx.org>
1621 * insetexternal.[Ch]: add the ability to 'preview' the external file
1624 * insetinclude.C: changes due to the changes in the RenderPreview
1627 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1628 message if the preview image is not available. Only initiate the
1629 loading of the preview from draw(). Ditto, start the monitoring
1630 of an external file from RenderMonitoredPreview::draw.
1632 2003-10-22 Angus Leeming <leeming@lyx.org>
1634 * insetcite.[Ch] (setLoadingBuffer): removed.
1635 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1636 ascertain whether to proceed with the (expensive) task of computing
1637 the natbib-style label. Remove the home-grown hack providing
1638 similar functionality.
1640 2003-10-22 Angus Leeming <leeming@lyx.org>
1642 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1643 class and into an anonymous namespace.
1645 2003-10-22 Angus Leeming <leeming@lyx.org>
1647 * insetcommand.h: remove the display method.
1651 * insetindex.h (InsetPrintIndex):
1652 * insettoc.h: add a display method, returning true.
1654 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1656 * insetcollapsable.h:
1660 * insetinclude.h: (1) finish off the inset display() work;
1661 (2) fix the "is a bit silly" bug (accessing char
1664 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1668 * insetfootlike.h: re-introduce display() for insets,
1669 fixing the various bugs (stretch of line above, math inset
1672 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * insetbase.C (dispatch): new func
1675 (priv_dispatch): new func replaces...
1676 (localDispatch): this, deleted.
1678 * all insets with dispatch modified for new code.
1680 2003-10-15 André Pönitz <poenitz@gmx.net>
1682 * insetcollapsable.[Ch]
1684 * inset.h: re-add some edit(bv, index) method called by undo
1686 2003-10-14 Angus Leeming <leeming@lyx.org>
1688 * insetexternal.[Ch] (view, cache, view_):
1689 * insetgraphics.[Ch] (view, cache, view_):
1690 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1691 (statusChanged): call LyX::cref().updateInset.
1693 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1694 the BufferView cache.
1696 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1699 2003-10-14 Angus Leeming <leeming@lyx.org>
1701 * insetinclude.C (metrics, draw): only draw the preview when previews
1704 2003-10-14 André Pönitz <poenitz@gmx.net>
1706 * insetcollapsable.[Ch]:
1707 * insettabular.[Ch]:
1709 * inset.h: getText() as alternative to getParagraphs()
1711 2003-10-13 Angus Leeming <leeming@lyx.org>
1714 * insetgraphicsParams.C: displayTranslator is now a function.
1716 2003-10-13 Angus Leeming <leeming@lyx.org>
1718 * insetinclude.C: remove #include "PreviewImage.h".
1720 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * ExternalSupport.C:
1723 * ExternalTransforms.C:
1725 * insetbox.h: ws changes only
1727 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * insetinclude.C (localDispatch): do not call
1730 InsetOld::localDispatch, just return UNDISPATCHED
1731 * insetgraphics.C (localDispatch): ditto
1732 * insetcommand.C (localDispatch): ditto
1734 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * inset.h: get rid of RESULT typedef for dispatch_result
1738 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1739 * insetert.[Ch] (localDispatch): ditto
1740 * insettabular.[Ch] (localDispatch): ditto
1745 * insettext.[Ch] (localDispatch): ditto
1748 (moveRightIntern): ditto
1749 (moveLeftIntern): ditto
1752 * updatableinset.[Ch] (localDispatch): ditto
1754 2003-10-12 Angus Leeming <leeming@lyx.org>
1756 * renderbase.h (view, view_): removed.
1757 * renderbase.C: removed.
1758 * Makefile.am: remove render_base.C. The shortest lived file in
1761 * renderbutton.C (draw):
1762 * render_graphic.C (draw): don't cache the BufferView.
1764 * insetabase.h (cache, view): removed.
1766 * inset.h (generatePreview) removed.
1768 * insetcallapsable.[Ch] (cache, view, view_): removed.
1770 * insetcollapsable.C (draw): don't cache the BufferView.
1772 * insetcommand.[Ch] (view): removed.
1774 * insetexternal.[Ch] (cache, view, view_):
1775 * insetgraphics.[Ch] (cache, view, view_):
1776 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1778 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1779 when you have direct access to it. In fact, don't use the cache at all.
1781 2003-10-10 Angus Leeming <leeming@lyx.org>
1783 * insetinclude.C (metrics): use preview_->metrics.
1784 (draw): use preview_->draw.
1786 * render_preview.[Ch] (pimage): removed.
1788 2003-10-10 Angus Leeming <leeming@lyx.org>
1790 * renderers.[Ch]: removed.
1793 * render_button.[Ch]:
1794 * render_graphic.[Ch]:
1795 * render_preview.[Ch]: new files. The first three are split out of
1796 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1797 contains a re-worked InsetInclude::PreviewImpl also.
1799 * Makefile.am: reflect the changed files.
1802 * insetexternal.[Ch]:
1803 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1805 * insetinclude.[Ch]: changes reflecting the change from
1806 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1812 * inseturl.C: add #include "support/std_ostream.h"
1814 2003-10-09 Angus Leeming <leeming@lyx.org>
1816 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1817 to PreviewedInset::previewReady.
1819 2003-10-09 Angus Leeming <leeming@lyx.org>
1821 * insetexternal.[Ch] (statusChanged):
1822 * insetgraphics.[Ch] (statusChanged): make a const member function.
1824 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1827 2003-10-09 Angus Leeming <leeming@lyx.org>
1829 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1830 to PreviewedInset's previewReady and removePreview member functions.
1832 2003-10-08 André Pönitz <poenitz@gmx.net>
1834 * insetcollapsable.C:
1835 * insettext.[Ch]: saner 'init' structure
1837 * updatableinset.[Ch]: remove unneeded code
1839 2003-10-08 Angus Leeming <leeming@lyx.org>
1841 Fix doxygen warnings.
1843 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1844 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1846 2003-10-07 Angus Leeming <leeming@lyx.org>
1848 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1849 be applied to InsetExternal.
1851 * Makefile.am: add these new files.
1853 * ExternalTemplate.[Ch]: add a list of available transforms to
1854 class Template and a list of factory functions for transformer classes
1855 that can act on this data to class Format.
1857 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1859 * ExternalSupport.C: Add code to replace transform placeholders
1860 with appropriate output.
1862 2003-10-07 Angus Leeming <leeming@lyx.org>
1864 * ExternalSupport.[Ch]: new files, moving the private member functions
1865 and namespace anon functions out of insetexternal.C to here, so making
1866 it easier to understand what is going on in insetexternal itself.
1868 * Makefile.am: add new files.
1870 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1871 allowing the class to be forward declared. (Also consistent with
1872 all other Params classes.)
1873 (write): moved out of the class. Move this function and those in
1874 namespace anon to ExternalSupport.[Ch].
1876 2003-10-07 Angus Leeming <leeming@lyx.org>
1878 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1879 non-const member function.
1881 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1886 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1888 2003-10-02 André Pönitz <poenitz@gmx.net>
1890 * insettext.C (read): make sure there is at least one par
1891 in the text after reading.
1893 2003-10-01 José Matos <jamatos@lyx.org>
1895 * insetbranch.C (linuxdoc, docbook): minor fix.
1897 2003-10-01 Angus Leeming <leeming@lyx.org>
1899 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1901 * insetexternal.[Ch]: changes due to the introduction of
1902 namespace lyx::external.
1904 2003-09-30 Angus Leeming <leeming@lyx.org>
1906 * insetexternal.[Ch] (Params::read, write): new member functions.
1908 2003-09-25 Angus Leeming <leeming@lyx.org>
1910 * insetexternal.[Ch] (TempName): new (private) nested struct with
1911 fake copy semantics. Enables us to use the generated copy c-tor
1912 in the Params struct.
1913 (Params::templatename, Params::tempname): use accessor functions.
1915 2003-09-25 Angus Leeming <leeming@lyx.org>
1917 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1918 function, returning a const pointer.
1920 2003-09-23 Angus Leeming <leeming@lyx.org>
1922 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1923 store them in a vector, preambleNames.
1925 * insetexternal.C (validate): loop over all preambleNames and call
1926 LaTeXFeatures::addExternalPreamble with each.
1928 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1930 * insetbranch.C: bug fix in branches
1932 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1934 * insetnote.C: small clean-up.
1936 2003-09-19 Angus Leeming <leeming@lyx.org>
1938 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1940 * insetcommand.C (string2params): clear params using the default c-tor.
1942 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1943 InsetInclude::Params. No more data in this struct than in
1944 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1945 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1946 (clone): remove #warning as it's now redundant.
1947 (set): add a 'Buffer const &' arg. Make private.
1948 (loadIfNeeded) move out of the class definition and into namespace anon.
1949 (getMasterFilename, getFileName): ditto.
1951 2003-09-18 Angus Leeming <leeming@lyx.org>
1953 * insetcommand.C (setParams): use the params' copy constructor.
1955 2003-09-18 Angus Leeming <leeming@lyx.org>
1957 * insetinsetbase.h (getLabelList):
1958 * insetinsetcollapsable.[Ch] (getLabelList):
1959 * insetinsetinclude.[Ch] (getLabelList):
1960 * insetinsetlabel.[Ch] (getLabelList):
1961 * insetinsettabular.[Ch] (getLabelList):
1962 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1963 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1965 2003-09-18 Angus Leeming <leeming@lyx.org>
1967 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1968 redundant baggage from yesteryear.
1969 Remove Params::flag as it is redundant; the info is present in
1972 2003-09-18 Angus Leeming <leeming@lyx.org>
1974 * insetinclude.C (latexString): add a Buffer const & arg.
1976 2003-09-18 Angus Leeming <leeming@lyx.org>
1981 * insettext.h: rename EnumLColor as LColor_color.
1983 2003-09-18 Angus Leeming <leeming@lyx.org>
1985 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1986 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1988 2003-09-16 Angus Leeming <leeming@lyx.org>
1990 * insetinclude.C (localDispatch): ensure that
1991 params_.masterFilename_ is set before trying to generate a
1992 preview, else we trigger an assert.
1994 2003-09-16 Angus Leeming <leeming@lyx.org>
1996 * insetinclude.C (PreviewImpl::parent): return a const reference.
1998 2003-09-16 Angus Leeming <leeming@lyx.org>
2000 * insetcollapsable.[Ch]: make all member variables, except for
2003 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2004 than access labelfont directly.
2005 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2006 use InsetCollapsable::setCollapsed, isOpen rather than access
2007 collapsed_ directly.
2009 * insetminipage.C (metrics):
2010 * insetnote.C (metrics):
2011 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2012 access collapsed_ directly.
2014 2003-09-16 Angus Leeming <leeming@lyx.org>
2016 * insetbibitem.C: add #include "lyxfont.h".
2018 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * insetbibtex.C: use namespace alias for lyx::support::os
2023 2003-09-16 Angus Leeming <leeming@lyx.org>
2025 * insetcollapsable.h: remove unused framecolor variable.
2026 Remove #include "LColor.h".
2028 * insetcollapsable.C: remove unused framecolor variable.
2031 * insetcollapsable.C:
2039 Add #include "LColor.h".
2041 2003-09-16 Angus Leeming <leeming@lyx.org>
2043 * insettext.[Ch] (frameColor): new accessor function.
2044 (frame_color_): stored as an int, allows us to remove #include
2045 "LColor.h" from insettext.h
2050 add #include "LColor.h".
2052 * insetcollapsable.h: add #include "LColor.h"
2053 (for its framecolor member variable).
2055 2003-09-16 Angus Leeming <leeming@lyx.org>
2057 * insetenv.C (constructor): use accessor functions to access
2058 InsetText variables.
2060 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2061 rename frame_color as frame_color_. Make private.
2063 * insettext.C: associated changes.
2065 2003-09-16 Angus Leeming <leeming@lyx.org>
2067 * inset.h: store background_color_ as an int, not as an
2068 LColor::color to get LColor.h out of the header file.
2071 * insetlatexaccent.C:
2074 * insetspecialchar.C:
2076 add #include "LColor.h".
2078 2003-09-16 Angus Leeming <leeming@lyx.org>
2080 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2081 cannot string calls together.
2083 2003-09-15 Angus Leeming <leeming@lyx.org>
2085 * inset.[Ch] (setBackgroundColor, backgroundColor):
2086 * insettext.[Ch] (setFrameColor):
2087 pass EnumLColor args, rather than LColor::color ones.
2089 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * insetwrap.C: remove usage of STRCONV
2101 2003-09-15 Angus Leeming <leeming@lyx.org>
2103 * renderers.C (draw):
2104 * insetlatexaccent.C (draw): explicitly define the color passed to
2107 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2109 * insettext.C: remove block causing problems in lockInsetInInset
2110 (mentioned erroneously under Bug #1366)
2112 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2114 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2117 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2119 * several files: change Assert to BOOST_ASSERT
2121 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2123 * insettext.[Ch]: remove drawText[XY]Offset
2125 2003-09-08 Angus Leeming <leeming@lyx.org>
2127 * insetcollapsable.C:
2132 * insetspecialchar.C:
2135 * insettoc.C: remove redundant using directives.
2137 2003-09-07 Angus Leeming <leeming@lyx.org>
2140 * insetspecialchar.h: remove #include "support/std_string.h".
2142 2003-09-06 Angus Leeming <leeming@lyx.org>
2144 * renderers.C: add #include "insets/inset.h"
2146 2003-09-05 Angus Leeming <leeming@lyx.org>
2148 * *.C: strip out redundant #includes. (193 in total.)
2150 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2152 * insets/insetbibtex.[Ch]:
2153 * insets/insetcommand.h:
2154 * insets/insetfloatlist.[Ch]:
2155 * insets/insetinclude.[Ch]:
2156 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2157 of insets like bibtex, include, toc and floatlist to the visible
2158 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2159 up the dialogs. Cursor has to be in front of the inset (i.e.
2160 start of row) for this to function.
2162 2003-09-04 Angus Leeming <leeming@lyx.org>
2164 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2165 structure outside of the Format struct. Format::preambleName refers to
2166 an item in the map of all preamble snippets.
2167 Make use of the new Debug::EXTERNAL flag.
2169 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2170 (validate): Small change due to the changed storage of preamble
2173 2003-09-04 Angus Leeming <leeming@lyx.org>
2175 * insetgraphics.C: #include "support/os.h"
2177 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2178 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2179 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2181 * insetcollapsable.h:
2183 * insetnote.C: move #include "funcrequest.h" out of the header file.
2185 2003-09-03 Angus Leeming <leeming@lyx.org>
2187 * insetexternal.C (updateExternal):
2188 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2191 2003-09-03 Angus Leeming <leeming@lyx.org>
2193 * insetexternal.C: don't bring namespace lyx::support into the global
2196 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2198 * insetbranch.C: Add Branch: to label
2200 2003-09-02 John Levon <levon@movementarian.org>
2203 * insettext.C: remove cursor.i[xy]()
2205 2003-08-28 Angus Leeming <leeming@lyx.org>
2207 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2208 "sh ", enabling the conversion to be carried out even if the script
2211 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2213 * most files: change to use const Buffer refs
2215 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2217 * insetfootlike.C: whitespace.
2219 2003-08-26 John Levon <levon@movementarian.org>
2223 * insetindex.h: remove remaining mentions of needFullRow()
2225 2003-08-26 André Pönitz <poenitz@gmx.net>
2231 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2233 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2235 * insetbranch.C: Small fix to prevent a crash on loading.
2237 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2242 * insetcollapsable.h:
2244 * insetfloatlist.[Ch]:
2245 * insetfootlike.[Ch]:
2246 * insetinclude.[Ch]:
2252 * insettheorem.[Ch]:
2253 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2254 altogether, putting the logic in metrics/draw in the insets.=20
2255 Draws short single row insets with more or less realistic metrics.
2257 2003-08-19 André Pönitz <poenitz@gmx.net>
2259 * insettext.C: use new RowPainter interface
2261 2003-08-18 John Levon <levon@movementarian.org>
2263 * insetref.C: require amsmath for eqref
2265 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2269 * insetbranch.[Ch]: implements the 'branch inset'
2270 idea. This allows the output of various versions of a document
2271 from a single source version, selectively outputing or suppressing
2272 output of parts of the text.
2273 This implementation contains a 'branch list editor' in a separate
2274 tab of the document settings dialog. Branches are user definable
2275 and have a "display colour" to distinguish them on-screen.
2277 ColorHandler was somewhat cleaned up.
2278 (1) make possible a dynamically growing LColor list by allowing
2279 the graphic context cache to grow along (vector);
2280 (2) eliminate an IMHO unnecessary step in colour allocation.
2282 2003-08-15 André Pönitz <poenitz@gmx.net>
2284 * insettext.[Ch]: adjust after rowlist split
2286 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2288 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2289 rename valign-center to valign-middle;
2290 rename VALIGN_CENTER to VALIGN_MIDDLE
2292 2003-08-11 André Pönitz <poenitz@gmx.net>
2294 * inset.h: remove resizeLyXText
2297 * insetcollapsable.[Ch]:
2299 * insettabular.[Ch]: adjust
2301 * insettext.[Ch]: remove saveLyXTextState,
2302 restoreLyXTextStat, sstate, reinitLyXText
2304 2003-08-07 André Pönitz <poenitz@gmx.net>
2306 * inset.[Ch]: move non-crucial functions out-of-line
2308 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2309 remove duplicated code.
2311 2003-08-05 André Pönitz <poenitz@gmx.net>
2314 * insetcollapsable.[Ch]:
2324 * insettabular.[Ch]:
2327 * updatableinset.[Ch]: rip out "deep update"
2329 * insettext.C (localDispatch): merge cases with default branch
2331 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2333 * insettabular.[Ch] (updateLocal): simplify logic
2335 2003-08-04 André Pönitz <poenitz@gmx.net>
2337 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2338 is 'FULL' all the time.
2340 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * insetert.C (get_new_label): only add ... to the (closed) label
2343 when the string has been shortened
2345 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2347 * Always use std::endl with lyxerr
2349 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2351 * insetnote.C: update \author list
2353 2003-07-31 André Pönitz <poenitz@gmx.net>
2355 * insetcollapsable.h:
2356 * insettabular.[Ch]:
2357 * insettext.[Ch]: remove toggleSelection
2359 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2361 (with help from Juergen Spitzmueller)
2362 * insetnote.C: add add i18n support. Use Prefs-definable
2363 colours for Comment and Greyedout.
2365 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2367 * insetcollapsable.[Ch]:
2369 * insetert.C: factor out the detection of clicking on the inset
2370 button as 'hitButton'. John Levon contributed.
2372 2003-07-30 André Pönitz <poenitz@gmx.net>
2374 * insetcollapsable.C:
2376 * insettabular.C: parantheses, localize vars etc.
2378 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2380 * insetnote.C: Implement a newenvironment in preamble for
2381 greyedout. Patch provided by Jürgen Spitzmüller.
2383 2003-07-29 Angus Leeming <leeming@lyx.org>
2385 * insetcommand.C (localDispatch): default to
2386 InsetOld::localDispatch.
2388 * insetbibitem.C (localDispatch):
2389 * insetbibtex.C (localDispatch): remove call to
2390 ChangeCitationsIfUnique.
2392 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2394 * insetexternal.C (read): use pushpophelper.
2396 2003-07-28 José Matos <jamatos@lyx.org>
2398 * insetext.C (read): \end_document replaces \the_end.
2400 2003-07-28 José Matos <jamatos@fep.up.pt>
2402 * insetert.C (write): \layout -> \begin_layout.
2403 Add missing \end_layout.
2405 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2407 * insetquotes.C: document a bit the format
2409 * insettabular.C (write): remove extra space
2411 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2412 * insetnote.C: Umpf. Hope I *now* get it right :-(
2414 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2415 *insetnote.C: did the right fix to greyedout: \color
2416 instead of \textcolor.
2418 2003-07-28 Angus Leeming <leeming@lyx.org>
2420 * insetbibtex.h: remove extraneous forward declaration.
2423 * insetbibtex.h: Also remove long-dead Holder member class
2426 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2428 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2431 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * insetwrap.C (addToToc): adjust for lyx::toc
2435 * insetfloatlist.C (ascii): adjust for lyx::toc
2437 * insetfloat.C (addToToc): adjust for lyx::toc
2439 2003-07-27 José Matos <jamatos@fep.up.pt>
2441 * insetnote.h (linuxdoc,docbook): update support.
2443 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2445 * insetfloat.C (wide): add a space to label, for consistency
2447 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2449 * insettext.C (nextChange): adjust for lyx::find
2450 (searchForward): ditto
2451 (searchBackward): ditto
2453 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * insetgraphicsParams.C:
2456 * insetexternal.C: declare extern displayTranslator
2459 * renderers.C: add #include "support/LAssert.h"
2461 2003-07-27 José Matos <jamatos@fep.up.pt>
2463 * insetfloat.[Ch] (linuxdoc):
2464 * insetgraphics.C (linuxdoc):
2465 * insettabular.C (linuxdoc):
2466 * insettext.[Ch] (linuxdoc): add support for tables and figures
2469 2003-07-27 José Matos <jamatos@fep.up.pt>
2471 * insetinclude (latex): comply with makeLaTeXFile argument change.
2473 2003-07-26 Asger Alstrup <alstrup@local>
2475 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2476 the undo crashes. We'll see what problems other places this will
2479 2003-07-26 Angus Leeming <leeming@lyx.org>
2481 * insetgraphics.C: remove unused declaration of system_tempdir.
2483 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * rename Inset to InsetOld
2487 * all inset files (clone): return a auto_ptr<InsetBase>
2489 2003-07-23 Angus Leeming <leeming@lyx.org>
2491 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2493 2003-07-23 Angus Leeming <leeming@lyx.org>
2495 * mailinset.[Ch] (inset2string):
2496 * insetcommand.[Ch] (inset2string):
2497 * insetert.[Ch] (inset2string):
2498 * insetexternal.[Ch] (inset2string):
2499 * insetfloat.[Ch] (inset2string):
2500 * insetgraphics.[Ch] (inset2string):
2501 * insetinclude.[Ch] (inset2string):
2502 * insetminipage.[Ch] (inset2string):
2503 * insetnote.[Ch] (inset2string):
2504 * insettabular.[Ch] (inset2string):
2505 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2507 * insetexternal.[Ch]:
2508 * insetgraphics.[Ch]: get rid of the view() function. Associated
2509 changes to the mailers' string2params and params2string functions.
2511 2003-07-23 Angus Leeming <leeming@lyx.org>
2513 * insetexternal.[Ch]: store the external file name in a FileName
2514 member variable rather than a string + associated changes.
2516 2003-07-21 Angus Leeming <leeming@lyx.org>
2518 * insetgraphicsParams.[Ch]: store the graphics file name in
2519 a FileName member variable rather than a string.
2521 * insetgraphics.[Ch]:
2522 * insetgraphicsParams.[Ch]: Associated changes.
2524 2003-07-21 Angus Leeming <leeming@lyx.org>
2526 * insetgraphics.[Ch] (string2params, params2string): passed a
2527 buffer_path argument.
2530 2003-07-21 Angus Leeming <leeming@lyx.org>
2533 * insetgraphicsParams.[Ch]:
2535 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2537 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2539 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2541 2003-07-18 André Pönitz <poenitz@gmx.net>
2544 * insetminipage.[Ch]:
2545 * insettabular.[Ch]:
2548 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2550 2003-07-18 André Pönitz <poenitz@gmx.net>
2554 * insetcollapsable.C:
2558 * insetgraphics.[Ch]:
2559 * insetlatexaccent.[Ch]:
2564 * insetspecialchar.C:
2565 * insettabular.[Ch]:
2567 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2569 2003-07-17 André Pönitz <poenitz@gmx.net>
2571 * insetcollapsable.C:
2573 * insettext.C: don't call Inset::update() anymore
2576 * insettabular.[Ch]: remove unneeded in_update_ members
2578 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2580 2003-07-16 André Pönitz <poenitz@gmx.net>
2582 * insettext.C (selectAll): remove
2584 2003-07-16 John Levon <levon@movementarian.org>
2587 * insetnote.C: implement showInsetDialog()
2589 2003-07-15 André Pönitz <poenitz@gmx.net>
2592 * insettext.C: refresh_status tristate -> need_update bool
2594 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2596 * insettext.C: adjust call to LyXText::init
2598 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2600 * insettext.C: use bufferview_funcs->replaceSelection()
2601 to delete selections in some cases (bugs 441, 673, 702, 954).
2603 2003-07-14 André Pönitz <poenitz@gmx.net>
2605 * insettext.C (draw): use slimmed down rowpainter interface
2607 2003-07-14 André Pönitz <poenitz@gmx.net>
2609 * insetcollapsable.C:
2611 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2612 remove unused BufferView * argument
2614 2003-07-14 André Pönitz <poenitz@gmx.net>
2616 * insettext.[Ch]: used cached metrics a bit more
2618 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2620 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2622 2003-07-10 André Pönitz <poenitz@gmx.net>
2625 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2627 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * introduce namespace lyx::graphics
2631 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * introduce namespace lyx::support
2635 2003-06-30 André Pönitz <poenitz@gmx.net>
2637 * insetcite.C (localDispatch): fix case of missing return value
2639 * insetcite.C (ascii): remove unneeded temporary
2641 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * insetspace.h: fix \file
2645 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2646 * insetinclude.C (fillWithBibKeys): ditto
2648 * insetbibitem.C: fix type const order
2650 * inset.C (getLyXText): add varname for arg
2652 * ExternalTemplate.h: fix type const order
2654 2003-06-27 André Pönitz <poenitz@gmx.net>
2656 * insettext.C: take care of removed LyXCursor::row_ member
2658 * insettext.[Ch]: use new TextCursor struct for sstate
2660 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2662 * inseterror.[Ch]: removed
2664 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2666 * insetinclude.C (docbook): use parseError instead of sgmlError
2668 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2670 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2671 of BufferList::loadLyXFile
2673 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * insettext.C (update): simplify
2676 (updateLocal): remove commented code
2677 (insetUnlock): simplify
2678 (lockInset): simplify
2679 (updateInsetInInset): simplify
2680 (localDispatch): simplify
2682 (resizeLyXText): simplify
2683 (collapseParagraphs): simplify
2685 * insetert.C (get_new_label): simplify
2687 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2689 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2690 pasteSelection with index
2692 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2694 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2696 2003-06-16 André Pönitz <poenitz@gmx.net>
2698 * insetbase.h: new virtual base function clone()
2700 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2701 Inset * clone() -> InsetBase * clone()
2703 2003-06-13 André Pönitz <poenitz@gmx.net>
2705 * insettabular.[Ch]: make tabular a proper member
2707 2003-06-12 André Pönitz <poenitz@gmx.net>
2709 * insettabular.[Ch]: some renaming plus whitespace
2711 2003-06-11 Angus Leeming <leeming@lyx.org>
2713 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2716 * insetbutton.[Ch]: removed.
2717 * graphicinset.[Ch]: renamed as renderers.[Ch].
2719 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2720 Create a new class ButtonRenderer using the InsetButton::metrics() and
2722 Derive both from a common RenderedInset base class.
2724 * insetcommand.[Ch]:
2725 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2726 Give it a ButtonRenderer member variable. Use it.
2727 Give the classes working copy c-tors.
2728 No longer derive from boost::noncopyable.
2730 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2731 display its contents as a button or as a graphic.
2733 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2736 2003-06-11 Angus Leeming <leeming@lyx.org>
2738 * insetcite.C (localDispatch): reformat.
2740 * insetref.C (localDispatch): enable dialog to be lauched.
2742 2003-06-11 John Levon <levon@movementarian.org>
2744 * insettabular.C: correctly mark all cells as erased
2746 2003-06-11 Angus Leeming <leeming@lyx.org>
2748 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2749 ExternalTemplate but its name, templatename. This means that a file
2750 containing a reference to an External Template not installed on the
2751 current machine will be saved retaining this info rather than inserting
2752 the first "valid" template from the list of templates.
2754 As a by product, the visual statement that the Template is missing is
2757 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2759 * insettext.C (appendParagraphs): remove some commented code.
2761 2003-06-10 Angus Leeming <leeming@lyx.org>
2763 * graphicinset.[Ch] (view): removed the publicly accessible
2764 function to set the cache.
2766 * insetexternal.[Ch]: move tempname_ into the Params struct.
2767 (Params d-tor): new function, to clean-up this temp file.
2768 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2770 (editExternal, doSubstitution): move out of class.
2772 2003-06-10 Angus Leeming <leeming@lyx.org>
2774 * graphicinset.[Ch] (params): removed.
2775 * graphicinset.h (operator=): declared private but not defined.
2776 (statusMessage): made private.
2778 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2780 2003-06-07 John Levon <levon@movementarian.org>
2782 * insetert.C (latex): make a newline mean just that not
2785 2003-06-07 José Matos <jamatos@fep.up.pt>
2787 * insethfill.[Ch] (linuxdoc, docbook): implement output
2788 * insetspace.C (linuxdoc, docbook): remove coments as the code
2791 2003-06-06 José Matos <jamatos@fep.up.pt>
2793 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2795 2003-06-06 André Pönitz <poenitz@gmx.net>
2797 * insetwrap.[Ch]: code compactification
2799 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2801 * mailinset.C (updateDialog): use Dialogs::visible
2803 2003-06-04 Angus Leeming <leeming@lyx.org>
2805 * graphicinset.C (draw): add a comment for the #if 0 block.
2807 * insetexternal.h: remove Params::parameters variable.
2809 * insetexternal.C (read, write): rewrite to output new ExternalInset
2810 format and read it back making full use of LyXLex.
2812 2003-06-04 André Pönitz <poenitz@gmx.net>
2814 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2816 2003-06-04 John Levon <levon@movementarian.org>
2818 * insettabular.C: back out tall table speed up. It was broken
2820 2003-06-03 Angus Leeming <leeming@lyx.org>
2822 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2823 Remove ViewCommand and UpdateCommand.
2825 * graphicinset.C (update): bug fix. Set the params before calling the
2828 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2829 the BufferView cache to enable the InsetExternal::editCommand to
2830 be invoked from the frontends. Would not be needed if this were
2831 dispatched properly.
2832 (old_ascent_): variable removed.
2834 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2835 do any necessary conversions of external material. Also use the
2836 new GraphicsInset to display the inset within LyX.
2838 2003-06-03 Angus Leeming <leeming@lyx.org>
2840 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2841 and move it somewhere where InsetExternal can use it too.
2843 * Makefile.am: add the new files.
2845 * insetgraphics.[Ch]: make use of the new GraphicInset.
2847 2003-06-03 John Levon <levon@movementarian.org>
2850 * insetbibitem.[Ch]:
2853 * insetcommand.[Ch]:
2857 * insetexternal.[Ch]:
2861 * insetgraphics.[Ch]:
2863 * insetinclude.[Ch]:
2866 * insetlatexaccent.[Ch]:
2867 * insetmarginal.[Ch]:
2868 * insetminipage.[Ch]:
2875 * insetspecialchar.[Ch]:
2876 * insettabular.[Ch]:
2878 * insetthereom.[Ch]:
2881 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2883 * insetgraphics.[Ch]:
2884 * insetgraphicsParams.[Ch]: always store an absolute
2887 2003-06-02 André Pönitz <poenitz@gmx.net>
2891 * insetlatexaccent.C: remove duplicated call to metrics()
2893 2003-06-02 John Levon <levon@movementarian.org>
2895 * insettabular.C: fix resize of column width
2897 2003-06-02 John Levon <levon@movementarian.org>
2902 * insetparent.C: remove insetparent
2904 2003-06-02 André Pönitz <poenitz@gmx.net>
2911 * insetcollapsable.[Ch]:
2915 * insetgraphics.[Ch]:
2916 * insetinclude.[Ch]:
2917 * insetlatexaccent.[Ch]:
2918 * insetminipage.[Ch]:
2919 * insetnewline.[Ch]:
2922 * insetspecialchar.[Ch]:
2923 * insettabular.[Ch]:
2924 * insettext.[Ch]: unify first drawing phase
2927 * insetbase.h: move validate() to the base
2929 2003-05-31 Angus Leeming <leeming@lyx.org>
2931 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2933 2003-05-30 André Pönitz <poenitz@gmx.net>
2938 * insetcaption.[Ch]:
2939 * insetcollapsable.[Ch]:
2942 * insetgraphics.[Ch]:
2943 * insetinclude.[Ch]:
2944 * insetlatexaccent.[Ch]:
2945 * insetnewline.[Ch]:
2948 * insetspecialchar.[Ch]:
2949 * insettabular.[Ch]:
2951 * updatableinset.[Ch]: unify second drawing phase
2953 2003-05-30 John Levon <levon@movementarian.org>
2955 * insetgraphics.C: fix a bformat
2957 2003-05-29 John Levon <levon@movementarian.org>
2959 * insettabular.C: remove unused bufferOwner()
2961 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * insettext.C (lockInsetInInset): adjust
2964 (getLabelList): use const_iterator, adjust
2965 (getInsetFromID): use const_iterator, adjust
2966 (addPreview): use const_iterator, adjust
2968 * insetwrap.C (clone): remove const_cast
2970 * insetnote.C (clone): remove const_cast
2972 * insetminipage.C (clone): remove const_cast
2974 * insetmarginal.C (clone): remove const_cast
2976 * insetfoot.C (clone): remove const_cast
2978 * insetfloat.C (clone): remove const_cast
2980 * insetert.C (clone): remove const_cast
2982 * delete commented same_id functions from a lot of files.
2984 2003-05-28 John Levon <levon@movementarian.org>
2990 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2992 * insetminipage.C: fix metrics (bug 1144)
2994 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * insettext.C (saveLyXTextState): adjust
2997 (restoreLyXTextState): adjust
3000 (unlockInsetInInset): adjust
3001 (localDispatch): adjust
3002 (getLyXText): adjust
3004 * insettabular.C (insertAsciiString): adjust
3006 2003-05-27 André Pönitz <poenitz@gmx.net>
3009 * insetcollapsable.C:
3012 * insetlatexaccent.C:
3017 * insetspecialchar.C:
3019 * insettext.C: dim.w -> dim.wid
3021 2003-05-26 John Levon <levon@movementarian.org>
3023 * insettabular.C: avoid drawing all of a long table
3024 if it's not needed. A big speedup
3026 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * remove same_id from function signatures, adjust
3030 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3032 * insettext.C (InsetText): adjust
3034 (setParagraphData): separate same_id cases, adjust
3035 (appendParagraphs): adjust
3036 (appendParagraphs): adjust
3038 2003-05-23 André Pönitz <poenitz@gmx.net>
3040 * insetbutton.h: whitespace
3042 * insettabular.C: more compact code
3044 * updatableinset.C: remove const_cast
3047 2003-05-23 Angus Leeming <leeming@lyx.org>
3049 * insetexternal.C (write): check how many lines are output.
3050 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3051 if the template has defined it.
3053 2003-05-23 Angus Leeming <leeming@lyx.org>
3055 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3057 2003-05-23 Angus Leeming <leeming@lyx.org>
3059 * insetfoot.C (latex):
3060 * inseturl.C (latex): rename fragile as moving_arg.
3062 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * inseterror.C (localDispatch): comment out unused var.
3066 2003-05-22 Angus Leeming <leeming@lyx.org>
3068 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3069 passed through the LatexRunParams arg.
3071 2003-05-22 Angus Leeming <leeming@lyx.org>
3073 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3074 through the LatexRunParams arg.
3076 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3077 arg rather than through a global var.
3079 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * insetspecialchar.C (dimension): use a string.
3083 2003-05-22 Angus Leeming <leeming@lyx.org>
3085 * insetbibtex.C (latex):
3086 * insetgraphics.C (latex):
3087 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3088 runparams rather than from the buffer itself.
3090 2003-05-22 Angus Leeming <leeming@lyx.org>
3092 * inset*.[Ch] (latex):
3093 passed a LatexRunParams parameter.
3095 * insetgraphics.C (latex): actually use it ;-)
3097 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3099 * insetfloat.C (addToToc): trivial compile fix
3101 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * insettext.[Ch] (paragraph): delete unused function
3105 * insetfloat.C (addToToc): parlist simplfication
3107 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3109 * insetspace.[Ch]: added (new space insets)
3111 * inset.h: handle new space insets
3113 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * insetfloat.C (addToToc): adjust
3117 2003-05-21 André Pönitz <poenitz@gmx.net>
3119 * insettext.[Ch]: fix drawing bug introduced earlier
3121 2003-05-19 André Pönitz <poenitz@gmx.net>
3123 * insetspecialchar.C: fix bug introduced yesterday
3125 2003-05-19 André Pönitz <poenitz@gmx.net>
3129 * insetcollapsable.[Ch]:
3133 * insetgraphics.[Ch]:
3134 * insetgraphicsParams.[Ch]:
3135 * insetlatexaccent.[Ch]:
3136 * insetminipage.[Ch]:
3137 * insetnewline.[Ch]:
3139 * insetspecialchar.[Ch]:
3140 * insettabular.[Ch]:
3141 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3143 2003-05-19 André Pönitz <poenitz@gmx.net>
3146 * insettext.C: more insetenv
3148 2003-05-16 André Pönitz <poenitz@gmx.net>
3151 * insetminimpage.[Ch]:
3152 * insetcollapsable.[Ch]: fix #832
3154 2003-05-16 André Pönitz <poenitz@gmx.net>
3157 * insetbibitem.[Ch]:
3161 * insetcollapsable.[Ch]:
3162 * insetcommand.[Ch]:
3165 * insetexternal.[Ch]:
3166 * insetfloatlist.[Ch]:
3167 * insetgraphics.[Ch]:
3168 * insetinclude.[Ch]:
3171 * insetlatexaccent.[Ch]:
3174 * insettabular.[Ch]:
3178 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3180 2003-05-13 André Pönitz <poenitz@gmx.net>
3183 * insetcollapsable.C:
3187 * insetwrap.C: tostr from own header
3199 * insetwrap.C: STRCONV
3202 2003-05-12 André Pönitz <poenitz@gmx.net>
3214 * insetwwrap.C: boost::format -> bformat all over the place
3216 2003-05-05 André Pönitz <poenitz@gmx.net>
3218 * insettext.h: add missing #include <map>
3220 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * insettext.C (InsetText): parlist cleanup
3225 (insetUnlock): ditto
3227 (lockInsetInInset): ditto
3231 (searchBackward): ditto
3232 (collapseParagraphs): ditto
3234 2003-05-06 John Levon <levon@movementarian.org>
3236 * insetcaption.C: don't cast wrap inset to InsetFloat
3239 * insetfloat.C: remove unneeded type() function
3241 2003-05-05 André Pönitz <poenitz@gmx.net>
3245 * insettabular.[Ch]:
3246 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3247 replace getFirstParagraph() by getParagraphs()
3249 2003-05-03 John Levon <levon@movementarian.org>
3251 * insetcollapsable.h:
3252 * insetcollapsable.C:
3258 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3259 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3260 getCursor(). Remove explicit cursor hides.
3262 2003-05-02 André Pönitz <poenitz@gmx.net>
3264 * insettext.C: remove unneeded &*
3266 2003-04-30 John Levon <levon@movementarian.org>
3268 * insettabular.C: fix edit message
3270 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * insettext.C (setFont): do not convert iterator -> pointer
3274 * insettabular.C (localDispatch): do not convert iterator -> pointer
3276 (tabularFeatures): ditto
3278 2003-04-29 André Pönitz <poenitz@gmx.net>
3280 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3282 2003-04-28 André Pönitz <poenitz@gmx.net>
3284 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3287 2003-04-25 André Pönitz <poenitz@gmx.net>
3289 * insetenv.C: derive from InsetText instead of InsetCollapsable
3291 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * insetexternal.C (string2params): dont do anything if the string
3295 * insetgraphics.C (string2params): ditto
3296 * insetcommand.C (string2params): ditto
3297 * insetert.C (string2params): ditto
3298 * insetfloat.C (string2params): ditto
3299 * insetinclude.C (string2params): ditto
3300 * insetminipage.C (string2params): ditto
3301 * insettabular.C (string2params): ditto
3302 * insetwrap.C (string2params): ditto
3304 2003-04-24 André Pönitz <poenitz@gmx.net>
3306 * insetref.C: support for eqref
3308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * insetert.C (read): use ParagraphList::iterator.
3312 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * insetquotes.C (latex): comment some code and add warnings.
3316 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3318 * insetexternal.C (localDispatch): added a missing DISPATCHED
3320 2003-04-12 John Levon <levon@movementarian.org>
3322 * insetwrap.C (addToToc): fix a crash, conversion
3323 from while to for loop forgot to remove the explicit
3326 2003-04-10 John Levon <levon@movementarian.org>
3328 * insettabular.C (tabularFeature): make sure
3329 to update the dialog when we change something
3332 (getStatus): don't disable some lfuns (bug 939)
3334 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * insettext.C (saveLyXTextState): adjust
3337 (localDispatch): adjust
3343 * insettabular.C (localDispatch): adjust
3345 (tabularFeatures): adjust
3347 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3349 * insettabular.C (searchForward,searchBackward): fix bug 782
3351 2003-04-07 John Levon <levon@movementarian.org>
3354 * insettext.C: clear status message on inset exit
3356 2003-04-03 John Levon <levon@movementarian.org>
3358 * insetcommand.C: return dispatched on DIALOG_UPDATE
3360 2003-04-02 John Levon <levon@movementarian.org>
3362 * insettabular.C: tab lfuns renamed
3364 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * insettext.C (update): move towards ParagraphList
3367 (updateLocal): ditto
3369 (insetUnlock): ditto
3371 (lockInsetInInset): ditto
3372 (updateInsetInInset): ditto
3373 (localDispatch): ditto
3376 (resizeLyXText): ditto
3377 (searchBackward): ditto
3378 (collapseParagraphs): ditto
3381 * insetwrap.C (InsetWrap): adjust
3382 (addToToc): adjust and rewrite loop
3384 * insettext.[Ch] (paragraph): delete function
3386 * insettabular.C (moveNextCell): adjust
3387 (movePrevCell): adjust
3388 (insertAsciiString): adjust
3390 * insetfloat.C (InsetFloat): adjust
3393 * insetert.C (InsetERT): adjust
3394 (write): adjust, and rewrite loop
3395 (latex): adjust, and rewrite loop
3396 (linuxdoc): adjust, and rewrite loop
3397 (docbook): adjust, and rewrite loop
3398 (localDispatch): adjust
3399 (get_new_label): adjust
3401 2003-04-01 John Levon <levon@movementarian.org>
3403 From Alfredo Braunstein
3406 * insetbutton.C: add localDispatch()
3408 * insetcommand.C: return DISPATCHED when edit() called
3410 * insettext.C: fix bug 967
3412 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * insettext.C: adjust
3416 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * insettext.C (draw): adjust
3419 (crow): return a RowList::iterator not a Row*
3421 * insetminipage.C (localDispatch): adjust
3423 * insetert.C (localDispatch): adjust
3425 2003-03-31 John Levon <levon@movementarian.org>
3428 * insetgraphicsParams.C: use_gui moved to lyx_gui
3430 2003-03-31 John Levon <levon@movementarian.org>
3432 * insettext.C: Alert fix
3434 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * insettext.C (ascent): adjust for RowList
3439 (getLyXText): adjust
3440 (toggleSelection): adjust
3442 * insetminipage.C (localDispatch): adjust for RowList
3444 * insetert.C (localDispatch): adjust for RowList
3445 (getMaxWidth): adjust for RowList
3447 2003-03-29 John Levon <levon@movementarian.org>
3449 * insetert.C: Alert cleanup
3451 2003-03-29 John Levon <levon@movementarian.org>
3453 * insettabular.C: Alert fix
3455 2003-03-28 John Levon <levon@movementarian.org>
3457 * insetfloat.C: reset label on INSET_MODIFY
3459 2003-03-28 John Levon <levon@movementarian.org>
3461 * insetgraphicsParams.C: read subcaptionText as a whole line
3464 2003-03-28 John Levon <levon@movementarian.org>
3466 * insettext.C: remove unused prototypes
3468 2003-03-25 Angus Leeming <leeming@lyx.org>
3470 * insetbibitem.C (localDispatch): repaint the view after modifying
3471 a bibitem inset in case the maximum InsetBibitem width has changed.
3473 2003-03-25 John Levon <levon@movementarian.org>
3476 * insettabular.C: LyXText renamings
3478 2003-03-24 John Levon <levon@movementarian.org>
3480 * insettext.C: remove some dead code. Fix bug 972 and
3481 related by posting a repaint in updateLocal(), and making
3482 the SEL functions set SELECTION.
3484 2003-03-22 John Levon <levon@movementarian.org>
3487 * inset.C: remove no-longer-needed topx_set
3489 * insetcollapsable.h:
3490 * insetcollapsable.C: remove dead code
3493 * insetert.C: rebreak the rows when a possible
3494 change in size is made, and reset the cursor
3497 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3499 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3500 topx_set. Fix drawing errors for clearInset(). Remove
3501 some unnecessary uses of topx, which should die.
3503 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3504 is no longer needed. Replace it with an ugly hack.
3506 2003-03-20 John Levon <levon@movementarian.org>
3509 * insetcollapsable.h:
3510 * insetcollapsable.C:
3518 * insettext.C: remove spurious font parameter
3519 from update(). Fix drawing of ERT insets inside
3520 insets (bug 966). Remove unused mark_dirty from
3521 tabular's updateLocal()
3523 2003-03-19 John Levon <levon@movementarian.org>
3532 * insetwrap.C: remove unused getter/setters
3534 2003-03-19 John Levon <levon@movementarian.org>
3536 * several files: bv->updateInset() doesn't take
3537 a bool mark_dirty any more
3539 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * adjust for BufferView* arg removal from lyxtext.
3543 2003-03-17 John Levon <levon@movementarian.org>
3545 * most files: remove the "cleared" parameter
3546 to draw in favour of always clearing. Associated
3549 2003-03-16 John Levon <levon@movementarian.org>
3551 * insettext.C: remove unused s.refresh
3553 2003-03-13 Angus Leeming <leeming@lyx.org>
3555 * insettext.C (edit): replace Dialogs::updateParagraph with
3556 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3558 2003-03-13 André Pönitz <poenitz@gmx.net>
3560 * Makefile.am: insert insetenv
3562 * insethenv.[Ch]: new files, currently inactive
3564 2003-03-12 John Levon <levon@movementarian.org>
3574 * insettext.C: use new insetnewline
3576 2003-03-12 John Levon <levon@movementarian.org>
3578 * insettext.C: readToken became readParagraph
3580 2003-03-12 John Levon <levon@movementarian.org>
3582 * insettext.C: use parlist iterator for reading contents
3584 2003-03-12 John Levon <levon@movementarian.org>
3586 * insettext.C: name change to readToken()
3588 2003-03-11 André Pönitz <poenitz@gmx.net>
3590 * Makefile.am: insert insethfill
3592 * insethfill.[Ch]: new files
3594 2003-03-10 Angus Leeming <leeming@lyx.org>
3596 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3598 (hideDialog): calls the new static Dialogs::hide() method.
3600 * insetbibitem.C (edit):
3601 * insetbibtex.C (edit):
3602 * insetcite.C (edit):
3603 * insetcommand.C (localDispatch):
3604 * inseterror.C (d-tor):
3605 * insetert.C (showInsetDialog):
3606 * insetexternal.C (localDispatch, edit):
3607 * insetfloat.C (localDispatch, showInsetDialog):
3608 * insetfloatlist.C (edit):
3609 * insetgraphics.C (localDispatch, edit):
3610 * insetinclude.C (localDispatch, edit):
3611 * insetindex.C (edit):
3612 * insetlabel.C (edit):
3613 * insetminipage.C (localDispatch, showInsetDialog):
3614 * insetref.C (edit):
3615 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3616 resetPos, showInsetDialog, openLayoutDialog):
3617 * insettoc.C (edit):
3618 * inseturl.C (edit):
3619 * insetwrap.C (localDispatch, showInsetDialog):
3620 changes due to the changed MailInset interface.
3622 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3624 * insetfloat.h: Set default placement to an empty string.
3626 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3628 * insettext.C (latex): adjust call to latexParagraphs.
3630 2003-03-10 Angus Leeming <leeming@lyx.org>
3632 * mailinset.C: warn the user if the BufferView has not been cached.
3634 2003-03-10 Angus Leeming <leeming@lyx.org>
3636 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3638 * insetcommand.h (inset):
3639 * insetert.h (inset):
3640 * insetexternal.h (inset):
3641 * insetfloat.h (inset):
3642 * insetgraphics.h (inset):
3643 * insetinclude.h (inset):
3644 * insetminipage.h (inset):
3645 * insettabular.h (inset):
3646 * insetwrap.h (inset):
3647 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3649 2003-03-10 Angus Leeming <leeming@lyx.org>
3651 * insetcommand.C (string2params):
3652 * insetexternal.C (string2params):
3653 * insetfloat.C (string2params):
3654 * insetgraphics.C (string2params):
3655 * insetinclude.C (string2params):
3656 * insetminipage.C (string2params):
3657 * insettabular.C (string2params):
3658 * insetwrap.C (string2params): cure warning message about missing
3661 2003-03-09 Angus Leeming <leeming@lyx.org>
3663 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3664 it to communicate with the frontend dialogs.
3666 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3667 contents of this inset!
3669 2003-03-07 Angus Leeming <leeming@lyx.org>
3671 * inseterror.C (localDispatch): new method; calls edit() on
3674 2003-03-07 Angus Leeming <leeming@lyx.org>
3676 * insetbibitem.C (localDispatch):
3677 * insetbibtex.C (localDispatch):
3678 * insetlabel.C (localDispatch):
3679 rewrite as a switch.
3681 2003-03-07 Angus Leeming <leeming@lyx.org>
3683 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3684 it to communicate with the frontend dialogs.
3686 2003-03-07 Angus Leeming <leeming@lyx.org>
3688 * insetexternal.C: remove operator== and operator!= for
3689 InsetExternal::Params. They were used only by the old controller
3692 2003-03-07 Angus Leeming <leeming@lyx.org>
3694 * insetcommand.C (localDispatch):
3695 * insetexternal.C (localDispatch):
3696 * insetfloat.C (localDispatch):
3697 * insetinclude.C (localDispatch):
3698 * insetminipage.C (localDispatch):
3699 * insetwrap.C (localDispatch):
3700 add LFUN_INSET_DIALOG_UPDATE to the switch.
3702 2003-03-07 Angus Leeming <leeming@lyx.org>
3704 * insetcommand.C (string2params):
3705 * insetexternal.C (string2params):
3706 * insetfloat.C (string2params):
3707 * insetinclude.C (string2params):
3708 * insetwrap.C (string2params): use LyXLeX more.
3711 * insetexternal.[Ch]:
3713 * insetinclude.[Ch]:
3714 * insetwrap.[Ch]: change Mailer::name_ to be static.
3716 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3717 it to communicate with the frontend dialogs.
3719 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3722 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3724 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * insettext.C (updateLocal): un-const function
3727 (updateLocal): adjust
3728 (collapseParagraphs): un-const function
3729 (collapseParagraphs): adjust
3731 2003-03-05 Angus Leeming <leeming@lyx.org>
3733 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3734 it to communicate with the frontend dialogs.
3736 2003-03-05 Angus Leeming <leeming@lyx.org>
3738 * insetcollapsable.C (draw): cache the BufferView.
3740 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3741 it to communicate with the frontend dialogs.
3743 2003-03-05 Angus Leeming <leeming@lyx.org>
3745 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3748 2003-03-05 Angus Leeming <leeming@lyx.org>
3750 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3752 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3753 it to communicate with the frontend dialogs.
3755 2003-03-05 Angus Leeming <leeming@lyx.org>
3757 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3758 it to communicate with the frontend dialogs.
3760 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * insettext.C (collapseParagraphs): adjust
3763 (appendParagraphs): make it take a Buffer* instead of a
3764 BufferParams& as arg.
3765 (appendParagraphs): adjust
3767 2003-03-04 Angus Leeming <leeming@lyx.org>
3769 * insetbibitem.C (localDispatch):
3770 * insetbibtex.C (localDispatch):
3771 * insetcommand.C (localDispatch):
3772 * insetert.C (localDispatch):
3773 * insetlabel.C (localDispatch):
3774 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3776 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * insettext.C (latex): adjust for ParagraphList::iterator
3780 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * insetbutton.C (view): adjust for boost 1.30.0
3783 * insetcollapsable.C (view): ditto
3784 * insetgraphics.C (statusChanged): ditto
3786 * insettext.h: move paragraphs to be public.
3788 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * insetnote.[Ch] (InsetNote): remove unused constructor
3792 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3794 * insetgraphics.C: added include "format.h"
3796 2003-02-27 Angus Leeming <leeming@lyx.org>
3798 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3801 2003-02-27 Angus Leeming <leeming@lyx.org>
3803 * insetbibitem.C (localDispatch):
3804 * insetbibtex.C (localDispatch):
3807 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3809 2003-02-26 Angus Leeming <leeming@lyx.org>
3811 * insetbibitem.[Ch] (localDispatch):
3812 * insetbibtex.[Ch] (localDispatch):
3813 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3815 * insetcommand.C (localDispatch):
3816 act only on receipt of LFUN_XYZ_APPLY.
3818 * insetert.C (localDispatch): reformat.
3819 add LFUN_XYZ_APPLY to the switch.
3821 2003-02-26 John Levon <levon@movementarian.org>
3823 * insettext.C: use RowPainter
3825 * inset.h: make helpers take const *
3827 2003-02-26 Angus Leeming <leeming@lyx.org>
3829 * insetcommand.[Ch] (localDispatch): new method.
3831 2003-02-26 Angus Leeming <leeming@lyx.org>
3833 * insetinclude.C (draw): cache the BufferView* using cache not
3834 PreviewImpl::setView
3836 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3838 * insetgraphics.C (draw)
3839 * insetinclude.C (draw): Eliminate also the other argument (owner
3840 inset inset) in the call to PreviewImage::image
3842 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3844 * insetgraphics.C (draw)
3845 * insetinclude.C (draw): Eliminate Buferview argument in call to
3848 2003-02-25 John Levon <levon@movementarian.org>
3850 * insetgraphicsParams.h:
3851 * insetgraphics.C: don't start a load process if
3852 the inset is set to NoDisplay (bug #920)
3854 2003-02-22 John Levon <levon@movementarian.org>
3857 * insetwrap.C: TocItem changed API (bug 913)
3859 2003-02-21 Angus Leeming <leeming@lyx.org>
3861 * insetcollapsable.[Ch] (cache, edit):
3862 * insetbutton.[Ch] (cache, edit): new methods to cache the
3863 BufferView in the draw method.
3865 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3866 simplify comunication between InsetCommand-derived classes and
3869 * insetbibitem.[Ch]:
3873 * insetfloatlist.[Ch]:
3877 * inseturl.[Ch]: small changes to reflect the new interface to the
3880 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3881 other, similar classes.
3883 * Makefile.am: add new files.
3885 2003-02-21 Angus Leeming <leeming@lyx.org>
3887 * updatableinset.h (setView, view): remove.
3888 * inset.h (view, cache): to be replaced by these.
3890 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3893 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3896 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3898 2003-02-21 Allan Rae <rae@lyx.org>
3900 * insetinclude.C (loadIfNeeded): ensure loading also works when
3901 child document is under version control.
3903 2003-02-17 André Pönitz <poenitz@gmx.net>
3905 * insetbib.[Ch]: Adjust access to bibkeys
3907 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3909 * insetquotes.C (dispString): remove use of acute accent for "'"
3912 2003-02-14 John Levon <levon@movementarian.org>
3914 * insettabular.C: changed method names in tabular.C
3916 2003-02-14 John Levon <levon@movementarian.org>
3920 * insetcollapsable.h:
3921 * insetcollapsable.C:
3925 * insettext.C: remove unused getParFromID()
3927 2003-02-13 John Levon <levon@movementarian.org>
3930 * insettext.C: remove unused beginningofMainBody()
3932 2003-02-08 John Levon <levon@movementarian.org>
3936 * insetcollapsable.h:
3937 * insetcollapsable.C:
3942 add nextChange(). Make allowSpellcheck() const. Add markErased().
3944 * insetert.C: ignore deleted text
3946 * insettabular.C: make sure to keep change tracking working
3949 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3954 * insettext.C: Use error messages with identical spelling and
3957 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3959 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3961 2002-12-17 Juergen Vigna <jug@lyx.org>
3963 * insettext.C (localDispatch): hopefully fixed cursor up down
3964 movement on leaving other insets.
3966 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3968 * insettext.C: fix inconsistent usage of spaces, colons,
3969 capitalization, and the like.
3971 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3973 * insetgraphics.C (prepareFile): do not remove the extension of
3974 the file name if it is not the default extension for the given
3975 format (that is, in latex output, remove extension from foo.eps,
3976 but not from foo.epsi)
3978 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3980 * insettext.C (lfunMouseRelease): hackish solution to the "double
3983 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * insetfloat.C (addToToc): use the floats name not its type
3986 * insetwrap.C (addToToc): ditto
3988 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3990 * insetnote.C (init): make label font smaller
3992 2002-12-04 John Levon <levon@movementarian.org>
3994 * insetinclude.C: ressurect setting of command name
3996 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * insetquotes.C (dispString): disambiguate insert call
4000 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * several files: ws changes
4004 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * insetquotes.C (dispString): use string::insert for prepending a
4009 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4011 * insetparent.C (getScreenLabel): use boost::format
4013 * insetgraphics.C (prepareFile): use boost::format
4016 * insetfloatlist.C (latex): use boost::format
4018 * insetcaption.C (draw): use boost::format
4020 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4022 * insettabular.C (tabularFeatures): Support for block alignment in
4023 fixed width columns.
4025 2002-11-20 Juergen Vigna <jug@sad.it>
4027 * insettabular.C (resetPos): temporary fix for endless loop in
4028 this function on a redraw.
4030 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * insettabular.C (copySelection): STRCONV
4034 * insetinclude.C (uniqueID): STRCONV
4035 (latexString): ditto
4037 * insetgraphics.C: put VersionNumber inside anon namespace
4038 (createLatexOptions): STRCONV
4040 * insetcommandparams.C: include config.h
4042 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4044 * insetgraphicsParams.C (Write): use lyx::float_equal.
4045 Write height data correctly.
4046 (Read): zero scale when reading height data.
4048 2002-10-30 John Levon <levon@movementarian.org>
4050 * insetfloat.C (addToTOC): recursively traverse all
4051 contents looking for captions (fix #568)
4053 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4055 * insetexternal.C (doSubstitution): do not try to replace
4056 environment variables, this is done when executing the command
4058 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * insetexternal.C (doSubstitution): change order of substitution
4061 to work around ReplaceEnvironmentPath brokenness
4063 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4065 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4067 * insetgraphicsParams.C (init, Write): associated changes
4068 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4069 InsetGraphicsParams::scale.
4071 2002-10-21 John Levon <levon@movementarian.org>
4073 * inset.h: remove unused DISPATCH_RESULT
4075 * insettext.C: sgml open/close tag now in sgml namespace
4077 2002-10-21 Angus Leeming <leeming@lyx.org>
4079 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4080 file path subdir/fig.eps when pasting it into a buffer in a different
4083 2002-10-16 John Levon <levon@movementarian.org>
4085 * insetspecialchar.C: remove \\protected_separator parsing
4087 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4089 * insetquote.C: fix LaTeX output of quotation marks.
4091 2002-10-14 Juergen Vigna <jug@sad.it>
4093 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4094 Backspace functions which confused the Undo handling.
4096 2002-10-09 Angus Leeming <leeming@lyx.org>
4098 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4099 BufferView::dispatch that turns off this optimisation when a new inset
4102 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4103 reload the BibTeX keys.
4105 2002-10-11 André Pönitz <poenitz@gmx.net>
4107 * insettext.h: handle LFUN_PRIOR/NEXT
4109 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4111 * insetfloat.C: fix bug with float settings
4112 (document default != float default).
4114 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4116 * insetwrap.C (addToToc): New method.
4117 (InsetWrap): Set layout to caption.
4119 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4123 2002-09-16 John Levon <levon@movementarian.org>
4125 * insettabular.h: hasSelection() needs to be public
4127 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4129 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4131 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4133 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4135 2002-09-11 André Pönitz <poenitz@gmx.net>
4137 * insettabular.C: implement LFUN_WORDSEL
4139 2002-09-10 John Levon <levon@movementarian.org>
4141 * insetinclude.h: remove unused param
4143 2002-09-09 John Levon <levon@movementarian.org>
4146 * insetinclude.C: remove noload, default to input
4148 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4150 * insetgraphics.C: disfuscated use of ']' in built output string.
4152 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4154 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4156 2002-08-29 Juergen Vigna <jug@sad.it>
4158 * insettabular.C (lfunMousePress): Pay attention where you set
4159 the x/y values as they depend on which inset in the tabular is
4160 actually locked. So you surely have to reset them if you (un)lock
4163 2002-08-29 André Pönitz <poenitz@gmx.net>
4165 * insetfootlike.h: rename include guard to ALL CAPS
4167 * insettext.C: swap object and first parameter for checkInsetHit calls
4168 as this functions has moved from BufferView to LyXText
4171 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4173 * insetgraphicsParams.C: remove local displayTranslator and use
4174 the one from graphics/GraphicsTypes.h.
4176 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4178 * insetfloat.C (wide): add BufferParams parameter
4180 * insetfloatlist.C (read):
4183 * insetfloat.C (latex):
4185 * insetcaption.C (draw): use LyXTextClass::floats()
4187 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4189 * insetoptarg.h: add std:: qualifier.
4191 2002-08-26 Juergen Vigna <jug@sad.it>
4193 * insettext.C (localDispatch): ditto.
4195 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4197 2002-08-25 John Levon <levon@movementarian.org>
4199 * inseturl.C: elide long URLs (bug 404)
4201 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4203 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4204 remove "Format Version <version_no.>" string from inset header
4207 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4209 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4210 a member of "grfx::Params" anymore.
4212 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4214 2002-08-24 John Levon <levon@movementarian.org>
4217 * insetoptarg.C: ws, pedantry ...
4219 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4221 * insettext.C (collapseParagraphs): pasteParagraph now in global
4223 (appendParagraphs): ditto
4225 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4227 * insetcite.C (latex): Remove spaces only after commmas.
4229 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * insettext.C: remove NO_COMPABILITY stuff
4233 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * insettext.C (edit): use ParagraphList iterators
4237 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4238 (bibitemWidest): ditto
4240 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * insettext.C: include <boost/bind.hpp>
4243 add using std::for_each
4244 (saveLyXTextState): use ParagraphsList::iterator
4245 (init): use for_each on paragraphlist iterators
4246 (InsetText): remove superflous setting cached_bview to 0
4247 (latex): reformat a bit
4248 (ascii): use paragraphlist iterators
4249 (validate): use for_each + boost bind
4250 (getLabelList): use paragraphlist iterators
4251 (deleteLyXText): use for_each + boost::bind
4252 (resizeLyXText): ditto
4253 (reinitLyXText): ditto
4254 (removeNewlines): use paragraphlist iterators
4255 (getParFromID): ditto
4256 (paragraph): use for_each + boost::bind
4257 (getInsetFromID): use paragraphlist iterators
4258 (getLabelList): typo fix
4260 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * insettext.C (read): assign tmp to paragraphs after return from
4263 call to parseSingleLyXformat2Token
4266 2002-08-13 Angus Leeming <leeming@lyx.org>
4284 * inseturl.C: changes due to the changed LyXView interface that
4285 now returns references to member variables not pointers.
4287 2002-08-13 Angus Leeming <leeming@lyx.org>
4290 * insetcollapsable.h:
4293 * insettext.h: forward-declare WordLangTuple
4294 (selectNextWordToSpellcheck) constify return type.
4297 * insetcollapsable.C:
4300 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4302 2002-08-12 Angus Leeming <leeming@lyx.org>
4304 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4307 2002-08-12 Juergen Vigna <jug@sad.it>
4309 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4312 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4315 (bibitemWidest): ditto
4316 * insettext.[Ch]: ditto
4318 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4322 2002-08-09 Angus Leeming <leeming@lyx.org>
4324 * insetinclude.C (latexString): remove fudge now that I've found out
4325 how to enable LaTeX to find the file using input@path.
4327 2002-08-09 John Levon <levon@movementarian.org>
4330 * insettext.C: remove unused xpos
4332 2002-08-07 Juergen Vigna <jug@lyx.org>
4334 * insettabular.C (localDispatch): make delete not put the stuff
4335 in the clipboard only do this on a cut operation.
4337 * insettext.C (localDispatch): make delete and backspace not put
4338 selected stuff to the clipboard.
4340 2002-08-07 André Pönitz <poenitz@gmx.net>
4343 * insetcollapsable.[Ch]:
4347 * insettabular.[Ch]:
4348 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4350 2002-08-06 John Levon <levon@movementarian.org>
4354 * insetcollapsable.h:
4355 * insetcollapsable.C:
4361 * insettext.C: use WordLangTuple for spellcheck
4363 2002-08-06 Angus Leeming <leeming@lyx.org>
4365 * insetinclude.C: add a monitor to the previewed image, so that the
4366 image is refreshed if the \input-ed file changes.
4368 2002-08-04 John Levon <levon@movementarian.org>
4371 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4373 2002-08-02 Angus Leeming <leeming@lyx.org>
4375 * insetcommandparams.[Ch] (preview): new methods returning and setting
4376 a new bool preview_ flag.
4377 (read): read this flag.
4378 (operator==): add flag to check.
4380 * insetinclude.C (write): output new preview() flag.
4381 (previewWanted): use this flag.
4383 2002-08-02 Angus Leeming <leeming@lyx.org>
4385 * insetcollapsable.[Ch] (addPreview):
4386 * insettabular.[Ch] (addPreview):
4387 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4388 for insets in insets.
4390 2002-08-02 Angus Leeming <leeming@lyx.org>
4392 * insetcite.C: fix typo.
4394 * insetgraphics.C: kill current_view and instead cache the BufferView
4397 * insetinclude.C: kill current_view and pass the BufferView to the
4398 PreviewedInset so that it can cache it.
4400 2002-08-01 Angus Leeming <leeming@lyx.org>
4402 * inset.h (generatePreview): renamed as addPreview.
4403 (generatePreview): new method. Allows code to be moved out of
4404 math_nestinset.C and into the new PreviewedInset class.
4406 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4407 add previews to the inset when \input-ing LaTeX.
4409 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * several files: strip,frontStrip -> trim,ltrim,rtrim
4413 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4415 * insetbib.C (latex): modify because of strip changes
4417 * insetnote.C (InsetNote): ditto
4419 2002-07-26 Juergen Vigna <jug@sad.it>
4421 * insettabular.C (searchForward): check for lastcell if we
4422 had a locking inset.
4424 2002-07-25 Juergen Vigna <jug@sad.it>
4426 * insettabular.C (insetMotionNotify): Don't update the screen
4427 if we didn't do nothing.
4428 (searchForward): last cell was not checked.
4430 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4432 * insetfloat.C (read, write): Allow default placement
4433 (floatPlacement_ is empty).
4435 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4437 * insetminipage.h (noFontChange):
4438 * insettabular.h (noFontChange):
4439 * insetfootlike.h (noFontChange):
4440 * insetfloat.h (noFontChange): return true
4442 * inset.h (noFontChange): new method, defaulting to false
4444 2002-07-22 Herbert Voss <voss@lyx.org>
4446 * insetgraphicsParams.[Ch]: support size_type for old docs
4448 2002-07-22 Herbert Voss <voss@lyx.org>
4451 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4454 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4458 * insetlatexaccent.h: do not include "lyxlex.h"
4460 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4463 * insetlatexaccent.C:
4467 * insetbib.C: #include "lyxlex.h"
4473 * insettext.C: use BufferParams::getLyXTextClass
4476 * insetfloat.C (addToToc): new method. Add to toclist the entries
4477 corresponding to Caption layouts
4478 (InsetFloat): when creating a new float, set the layout to "Caption"
4480 2002-07-21 Herbert Voss <voss@lyx.org>
4482 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4483 image relevant part into graphics/GraphicsImgae.C
4485 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4487 * insettoc.C (ascii):
4488 * insetfloatlist.C (ascii): change to use the new Toc functions
4489 instead of stuff that was in Buffer
4491 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4493 * insettext.C (localDispatch): BufferView::Dispatch has been
4494 renamed to BufferView::dispatch
4496 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4498 * insetgraphicsParams.C (as_grfxParams): use the new
4499 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4500 1.2.0 patch, and I do not really know how to adapt it to the new
4501 grfx::Cache world. Angus, please could you have a look?
4503 2002-05-01 Herbert Voss <voss@lyx.org>
4505 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4507 2002-07-18 Angus Leeming <leeming@lyx.org>
4509 * insetgraphics.C: clean-up comments (from Herbert).
4510 add a new checksum variable to the cache. Use it in PrepareFile.
4511 (draw): start monitoring the file for a change.
4512 (prepareFile): re-arrange a little to avoid unnecessary steps.
4514 2002-07-17 Angus Leeming <leeming@lyx.org>
4516 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4517 a method rather than to the signal directly.
4519 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4521 * insettext.C: use view_state_changed, switchKeyMap
4523 2002-07-17 Herbert Voss <voss@perce.de>
4525 * insetgraphics.C (prepareFile): keep the extension when
4526 exporting to nice file
4528 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4530 * insetcite.C (getNatbibLabel):
4531 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4533 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4535 * insetgraphics.C: use ->isDrawable()
4537 2002-07-12 Angus Leeming <leeming@lyx.org>
4539 * insetgraphics.C: use the new smart loading capabilities of the image
4542 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4544 * insettabular.C (edit): Move into correct cell when entering a
4547 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4550 2002-07-05 Angus Leeming <leeming@lyx.org>
4552 * inset.h (generatePreview): new virtual method.
4554 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4556 * insetcommandparams.[Ch] (operator=): move out of class
4557 (operator!): move out of class
4559 2002-07-04 André Pönitz <poenitz@gmx.net>
4561 * insetcommandparams.[Ch]: new files
4563 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4565 2002-06-15 Herbert Voss <voss@perce.de>
4567 * insetgraphics.C (prepareFile): bugfix; return always
4568 files without extension
4570 2002-06-28 Angus Leeming <leeming@lyx.org>
4572 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4573 rename asGParams -> as_grfxParams.
4575 * insetgraphics.C: reflect above change.
4577 2002-06-26 Angus Leeming <leeming@lyx.org>
4579 * insetgraphics.h: use boost::scoped_ptr in preference to
4582 2002-06-26 Angus Leeming <leeming@lyx.org>
4584 * insetgraphics.C: moved the image loading stuff into a new class
4585 grfx::Loader. Simplifies this file enormously.
4587 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4589 * insetgraphicsParams.C: changes aassociated with moving
4590 grfx::DisplayType out of grfx::GParams.
4592 2002-06-26 André Pönitz <poenitz@gmx.net>
4594 * insetgraphics.C: use os::external_path where necesaary according to a
4595 patch from Claus Hentschel)
4597 2002-06-25 Angus Leeming <leeming@lyx.org>
4599 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4600 generating a pixmap once the graphics file is loaded into memory.
4601 The current_view ugliness that was in grfx::ModifiedImage has been
4602 moved here now that grfx::ModifiedImage is no more.
4604 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4606 * insettext.C: layout as layout
4608 2002-05-28 André Pönitz <poenitz@gmx.net>
4610 * insetfloatlist.h: remove source of compiler warning
4612 * insetref.C: tiny whitespace
4614 2002-06-15 Herbert Voss <voss@perce.de>
4616 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4617 and take always convert when no userdefined converter was
4619 (latex) small changes in the lyxerr output
4621 2002-06-15 LyX Development team <lyx@rilke>
4623 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4624 mixed content. Small white spaces clean.
4626 2002-06-14 Angus Leeming <leeming@lyx.org>
4628 * inseetexternal.C: remove the using std::difftime declaration.
4630 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4632 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4634 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4636 * insetquotes.C (draw): fix drawing of double quotes
4638 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4640 * insettabular.C: s/scrollCB/scrollDocView/
4642 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4644 * insettext.C: change of topCursorVisible()
4647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4650 * insettext.C: rename/change of LyXScreen
4652 2002-06-07 Angus Leeming <leeming@lyx.org>
4654 Fixes needed to compile with Compaq cxx 6.5.
4656 * insetexternal.C: all c-library variables have been moved into
4657 namespace std. Wrap using std::xyz declarations inside a #ifndef
4658 CXX_GLOBAL_CSTD block.
4660 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * insetinclude.C (uniqueID):
4663 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4664 conflicted with some AIX headers.
4666 2002-05-31 Juergen Vigna <jug@sad.it>
4668 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4672 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4674 * insetexternal.C (clone): fix () bug when using new
4675 (updateExternal): don't only look for difftime in global scope
4677 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4679 * insettabular.C: add const
4681 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4683 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4684 file name, in case there are weird characters like ',' in there.
4687 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4689 * switch from SigC signals to boost::signals.
4691 2002-05-28 André Pönitz <poenitz@gmx.net>
4693 * insets/insetgraphicsParams.[Ch]:
4694 put in inset related stuff from src/graphic
4696 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4704 * insetcollapsable.C:
4705 * insetcollapsable.h:
4733 * inseturl.h: use mouse_state. Kill insetKeyPress
4735 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4740 * insetcollapsable.C:
4743 * insetlatexaccent.C:
4745 * insetspecialchar.C:
4747 * insettext.C: name change for font metrics
4749 2002-05-24 Juergen Vigna <jug@sad.it>
4751 * insetgraphics.h: include inset.h first (for LString.h)
4753 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4755 * insettext.C: screen moved
4757 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4775 * inseturl.C: LyXView moved into frontends/
4777 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4782 * insetcollapsable.C:
4786 * insetgraphicsParams.C:
4787 * insetlatexaccent.C:
4789 * insetspecialchar.C:
4791 * insettext.C: move Painter to frontends/
4793 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4795 * insettabular.h: use more specific smart_ptr header.
4796 * insettext.h: ditto
4798 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4801 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4803 * insettext.C: clear selection on paste (bug 393)
4805 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4807 * insettext.C (latex): Honor the moving_arg argument.
4809 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4811 * insetfoot.C (latex): if a footnote is in a title layout, then it
4812 is a \thanks. And then, its contents is a moving argument.
4814 2002-05-14 Juergen Vigna <jug@sad.it>
4816 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4819 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4821 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4822 when using options "Full author list" or "Upper case".
4824 2002-05-14 Herbert Voss <voss@perce.de>
4826 * insetgraphics.C (prepareFile): allow files with same name
4828 (readFigInset): set the flags from old figinset in the right
4830 (findTargetFormat): more comments
4832 2002-05-14 Juergen Vigna <jug@sad.it>
4834 * insettext.C (edit): tell checkAndActivateInset() that we don't
4835 have a button press.
4836 (checkAndActivateInset): if button < 0 we don't have a button press
4837 on the inset and os we won't call edit on it if it's not a Highly
4838 editable inset (then we have to enter it).
4840 2002-05-13 Juergen Vigna <jug@sad.it>
4842 * insetcollapsable.C (insetButtonRelease): returned wrong return
4845 2002-05-09 Juergen Vigna <jug@sad.it>
4847 * insetcollapsable.C (edit): first_after_edit should only be
4848 set to true if we enter this inset and it was collapsed so we
4849 open it up. This is needed to reclose it after a search/replace
4850 or spellcheck function opened it and was negative.
4852 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4854 * insetfloat.C (latex): Return correct value.
4856 2002-05-04 Herbert Voss <voss@perce.de>
4858 * InsetgraphicsParams.C (read): fix bug with WH
4860 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4862 * insetfloat.C (latex): More sensible latex output
4863 (fix the problem with endfloat).
4865 2002-05-02 José Matos <jamatos@fep.up.pt>
4867 * insetgraphics.C (validate): acess params as everyone else.
4869 2002-05-03 Juergen Vigna <jug@sad.it>
4871 * insettabular.C (fitInsetCursor): recalculate the cursor position
4874 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4876 * InsetgraphicsParams.[Ch]: whitespace.
4878 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4880 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4881 float type do not exist.
4883 2002-04-28 Herbert Voss <voss@perce.de>
4885 * insetgraphics.C (latex): fix bug with missing file-extension.
4886 LaTeX still allows a missing "eps" or "ps".
4888 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4890 * insetfloat.C (c-tor, wide): translate the name of the float.
4892 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4894 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4895 when using natbib and make it work efficiently. Must emphasise that the
4896 real work is Herbert's.
4898 2002-04-23 Herbert Voss <voss@perce.de>
4900 * insetgraphic.C (prepareFile): fix bug with overwriting and
4901 deleting an existing *.eps-file in the doc-dir
4903 2002-04-23 Juergen Vigna <jug@sad.it>
4905 * insettabular.C (drawCellSelection): fix off by 1 error.
4907 2002-04-22 Juergen Vigna <jug@sad.it>
4909 * insettabular.C (setFont): rewoke full selection if it was asked,
4910 after we changed all we had to change.
4912 * insettext.C (insetUnlock): code was uninitialized in some situations.
4914 2002-04-19 Herbert Voss <voss@perce.de>
4916 * insetgraphic.C (prepareFile): return filename without
4917 extension if we only export without compiling
4919 2002-04-19 Juergen Vigna <jug@sad.it>
4921 * insettext.C (draw): call a fullRebreak on the row where we had a
4922 change and reset the cursor and selection-cursors.
4924 * insettabular.C (insetUnlock):
4925 (insetButtonPress): call an update before setting the_locking_inset = 0
4926 as otherwise we don't repaint!
4927 (update): reset the cursor position when we changed dimensions as
4928 otherwise our cursor may be on the wrong spot.
4930 2002-04-18 Juergen Vigna <jug@sad.it>
4932 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4933 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4934 redraw otherwise we won't redraw.
4936 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4937 not really right before, but I only discovered this with the last
4938 changes to Page up/down.
4940 2002-04-17 Juergen Vigna <jug@sad.it>
4942 * insettext.C (checkAndActivateInset): simplified as we now have the
4943 edit(bv, bool) call.
4945 * insettext.h: changed behind variables to front variables to be
4946 equal to the one in the edit call (as it is for that they are used).
4948 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4950 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4951 not output anything at all!
4953 2002-04-16 Juergen Vigna <jug@sad.it>
4955 * insettabular.C (insetButtonPress):
4956 (insetUnlock): call a redraw on unlocking the cell inset.
4958 * insettext.C (insetButtonPress): same as below.
4959 (lockInset): new function to set initial values when inset should
4961 (insetButtonPress): use above function.
4962 (insetUnlock): don't force a repaint only set the updateStatus. The
4963 outside world should repaint if it thinks it should be done!
4965 * insettabular.C (insetButtonPress): init values if not set as locked
4966 as we are locked if someone presses on us and don't call the edit()
4967 call of the InsetText to lock it do it as BufferView does it!
4969 * inset.h (insetInInsetY): make func const and return an int.
4972 * insetcollapsable.C: adapt the above changed function.
4974 2002-04-15 Juergen Vigna <jug@sad.it>
4976 * insettext.C (getCursorPos): return relative position as to be able
4977 to give them directly to the edit() call.
4978 (edit): we have to set also x_fix as it is not set inside the
4979 setCursorFromCoordinates call!
4980 (insetMotionNotify): ditto.
4982 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4984 * insetbib.C (getKeys): strip leading '\t's from the line too.
4985 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4987 2002-04-12 Juergen Vigna <jug@sad.it>
4989 * insettext.h: added cix() helper function and use it where appropriate
4991 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4993 * insetgraphics.C (prepareFile): fix bug when graphics is a
4996 2002-04-12 Juergen Vigna <jug@sad.it>
4998 * insettext.C (insertInset): remove unneeded code!
4999 (updateLocal): fitCursor() fixes.
5000 (collapseParagraphs): fix a possible problem when having a selection
5001 and collapsing the paragraphs.
5003 2002-04-08 Herbert Voss <voss@perce.de>
5005 * insetgraphic.C (write): write the rotating angle as
5006 a float as is. test only for != 0.0
5008 2002-04-11 Juergen Vigna <jug@sad.it>
5010 * insettext.C: new function ciy() and use it for setting inset_y.
5012 * insetert.C (draw): fix the x return for collapsed version.
5014 2002-04-07 Herbert Voss <voss@perce.de>
5016 * insetgraphic.C (readFigInset): fix bug with subcaption and
5019 2002-04-08 Herbert Voss <voss@lyx.org>
5021 * insetgraphicsparam.C: forgot special option and delete old
5024 2002-04-05 Juergen Vigna <jug@sad.it>
5026 * insettext.C (localDispatch): make a CURSOR update if we inserted
5029 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5031 * insetfloatlist.C (getScreenLabel):
5032 (latex): use Floating::listName
5033 (validate): new method
5035 2002-04-03 José Matos <jamatos@fep.up.pt>
5037 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5039 * insetfoot.[Ch] (docbook): added forgotten method.
5041 2002-04-03 Juergen Vigna <jug@sad.it>
5043 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5044 way as in Bufferview_pimpl.
5046 2002-04-03 Allan Rae <rae@lyx.org>
5048 * insetgraphics.C (latex): one % too many makes living on the bleeding
5049 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5051 2002-03-28 Herbert Voss <voss@lyx.org>
5053 * insetgraphic.C (latex): simplify the code for the latex
5054 output when the file doesn't exist
5056 2002-03-29 Juergen Vigna <jug@sad.it>
5058 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5061 * insettabular.C (edit): call fitCursor().
5063 * insettext.C (insetButtonPress): change behaviour of no_selection
5064 to the one in the BufferView selection_possible and fix the spurious
5065 selection bug with it.
5066 (localDispatch): revoke selection on BREAK... functions.
5068 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5072 2002-03-28 Juergen Vigna <jug@sad.it>
5074 * insettabular.C (insetAllowed): return true as default value otherwise
5075 we're not able to insert insets inside paragraphs of an not locked
5078 2002-03-27 Herbert Voss <voss@lyx.org>
5080 * insetgraphicsparam.C: change c%, p% to col%, page%
5082 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5084 * insetspecialchar.C (isLineSeparator): disable the nice code to
5085 allow linebreaks after hyphenation and menu separators.
5087 2002-03-26 Herbert Voss <voss@lyx.org>
5089 * insetgraphics.C (figinsetRead): set the right lyxview
5091 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5093 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5094 $\backslash$ and pass a "string const &" to the function.
5095 (prepareFile, latex): use Path rather than MakeAbsPath.
5097 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5099 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5100 proper fix to the graphics cache.
5101 (latex): "really" nice output if the file is not found ;-)
5103 2002-03-26 Juergen Vigna <jug@sad.it>
5105 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5106 (collapseParagraphs): fixed inserting of separator ' '
5108 * insettabular.C (insertAsciiString): only check for buffer lenght
5109 not if we have \t or \n inside the buffer as if we don't have we only
5110 have 1 cell and that's it!
5112 * insetert.C (close): don't collapse if inlined.
5114 2002-03-25 Herbert Voss <voss@lyx.org>
5116 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5117 graphics file does not exist.
5119 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5121 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5122 path when preparing export.
5124 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5125 no longer MakeRelPath.
5127 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5129 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5130 Used to determine the absolute path to the graphics file in the
5131 graphics cache and only in the graphics cache.
5132 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5133 make graphics file name absolute if it is stored as a relative path.
5135 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5136 make graphics file name absolute if it is stored as a relative path.
5138 * insettext.C (edit): emit an updateParagraph signal on entering a text
5139 inset. Needs to be emitted when leaving the inset also.
5141 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5143 * all files: ws cleanup
5145 * Makefile.am: remove ld -r stuff
5147 2002-03-21 Juergen Vigna <jug@sad.it>
5149 * insettext.C (appendParagraphs): new function added to append
5150 the paragraphs to this insets paragraphs.
5152 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5154 * Makefile.am: special rules if partial linking
5156 2002-03-19 Juergen Vigna <jug@sad.it>
5158 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5160 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5162 * insetgraphics.C: Clean up Baruch's comments a little.
5163 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5165 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5168 * insettheorem.C: wrap warnings
5170 * insetgraphics.C: improve messages, move cached_status_
5171 setting to safer place
5173 2002-03-18 Juergen Vigna <jug@sad.it>
5175 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5177 (localDispatch): ditto
5179 * insettext.C (edit): removed unneeded showCursor calls.
5180 (localDispatch): ditto.
5182 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5184 * insetgraphics.h: remove display() method.
5186 2002-03-11 Juergen Vigna <jug@sad.it>
5188 * insetgraphics.C (draw): hack to fix the redrawing bug.
5189 (draw): seems this fixes #268 (force redraw of row if we changed).
5191 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5192 this inset text (don't know why I missed this earlier).
5194 2002-03-08 Juergen Vigna <jug@sad.it>
5196 * insettabular.C (updateLocal): do a FULL update if we're not locked
5197 and only a CELL update is asked.
5199 * insettext.C (updateInsetInInset): update insets inside inset also
5200 if it isn't inside the_locking_inset.
5202 * insettabular.C (updateInsetInInset): ditto.
5204 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5206 * insetexternal.C (doSubstitution): check whether we are using a
5207 temp dir for defining $$FPath
5209 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5212 * insettext.C: remove #include "WorkArea.h".
5214 2002-03-06 Juergen Vigna <jug@sad.it>
5216 * insettext.C (draw): fixed frame redrawing.
5217 (clear): forgot to set the inset_owner of the paragraph.
5219 * insetert.C (status): pay attention the bv can be 0 here!
5220 (getMaxWidth): add the default leftMargin
5222 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5224 * insetert.C (getMaxWidth): make w unsigned int.
5226 2002-03-05 Juergen Vigna <jug@sad.it>
5228 * insetert.C (status): change behaviour of Inlined.
5229 (getMaxWidth): added for new inlined behaviour.
5231 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5233 * insetnote.h (linuxdoc, docbook): add empty methods.
5234 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5235 before being initialized.
5237 2002-03-05 Juergen Vigna <jug@sad.it>
5239 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5240 only that one in the inset. Should be enough.
5241 (updateLocal): set the selection cursor always if we don't have a
5242 selection to be sure it's set!
5244 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5246 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5248 * insettext.C (clear): a gross hack to set layout on a newly
5251 2002-03-04 Juergen Vigna <jug@sad.it>
5253 * insettabular.C (localDispatch): inserted handling of
5254 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5255 (insertAsciiString): new helper function.
5257 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5259 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5262 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5264 * insettext.C (InsetText): initalize newly created par with
5265 default layout. add bufferparams parameter
5268 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5269 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5270 * insetert.[Ch] (InsetERT): ditto
5271 * insetfloat.[Ch] (InsetFloat): ditto
5272 * insetfoot.[Ch] (InsetFoot): ditto
5273 * insetfootlike.[Ch] (InsetFootLike): ditto
5274 * insetmarginal.[Ch] (InsetMarginal): ditto
5275 * insetminipage.[Ch] (InsetMinipage): ditto
5276 * insetnote.[Ch] (InsetNote): ditto
5277 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5279 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5281 * insettext.C: layout as string
5283 * insetinclude.C: layout as string
5285 * insetert.C: layout as string
5287 * insetbib.C: layout as string
5289 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5292 * insettabular.C: remove #include "lyx_gui_misc.h".
5294 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5299 * inset.h: remove figinset, yahoo !
5301 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5303 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5304 copy c-tor and initialise member variables in the correct order.
5306 2002-02-28 Juergen Vigna <jug@sad.it>
5308 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5310 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5312 * inset.h: ... and add a better one here.
5314 * insetcommand.C (insetButtonRelease): remove that one which was a
5317 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5319 * insetcommand.C (insetButtonRelease): ... and move it here.
5321 * inseturl.h: remove insetButtonRelease from there...
5323 2002-02-26 Juergen Vigna <jug@sad.it>
5325 * inseturl.h: Added a insetButtonRelease call returning true as
5328 * insetlabel.C (edit): Fixed wrong update handling after change I
5329 leave in the wrong code for the one who wrote it to remove and have
5330 a look what he did wrong.
5332 * insettabular.C (localDispatch): force a SELECTION update if we
5333 had a selection and we passed the event down to the inset (fix #213)
5334 (localDispatch): handle font changing stuff when we have a cell
5335 selection so that the selection is not rewoked. I don't really like
5336 this fix, but it's the only way I see to do it right now.
5338 2002-02-22 Juergen Vigna <jug@sad.it>
5340 * insettext.C (insetUnlock): set the cursor to the second paragraph
5341 if available and if the first one is empty (fix #191).
5343 2002-02-20 Juergen Vigna <jug@sad.it>
5345 * insettext.C (getDrawFont): implemented this function to call the
5346 one of the owner if present as the owner normally knows what to do
5349 * insetert.C: implement getDrawFont() function and comment out all
5350 the crap for setting a special latex font inside this inset.
5351 (InsetERT): added a Lanugage parameter to this constructor.
5353 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5354 change the font for being drawn on screen (used only in InsetERT for
5357 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5358 and also above (was missing).
5359 (updateLocal): don't remove the cell selection if we have one this
5360 should be done where we really want to remove it.
5362 2002-02-20 José Matos <jamatos@fep.up.pt>
5364 * insetinclude.h: include_label made string const.
5366 * insetinclude.C (InsetInclude): moved include_label initialization.
5369 (validate): fix support for temporary directory, for docbook and
5372 * insetgraphics.h : new private member, graphic_label, that holds
5373 the entity name that defines the graphics location (SGML).
5375 * insetgraphics.C (unique_id): new function to give a unique label
5378 (validate): the file locatation is given by an entity reference.
5380 2002-02-18 Herbert Voss <voss@lyx.org>
5382 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5384 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5386 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5387 as support/systemcall.[Ch] and of class Systemcalls as class
5390 2002-02-18 José Matos <jamatos@fep.up.pt>
5392 * insetinclude.C (validate): some code only applies to latex buffers,
5393 it was made conditional.
5395 2002-02-12 Herbert Voss <voss@lyx.org>
5397 * insetgraphics.C: (prepareFile) do not check at this time
5398 if the file is present.
5400 2002-02-12 Herbert Voss <voss@lyx.org>
5402 * insetgraphics.C: latex(), return the correct newlines
5404 2002-02-13 José Matos <jamatos@fep.up.pt>
5406 * inseturl.C (docbook): escape & in url.
5408 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5410 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5411 after HYPHENATION and MENU_SEPARATOR
5413 * inset.h (isLineSeparator): new method, returns false by default.
5415 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5417 * insetert.C (status): do not update the text inset, but the ERT
5420 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5422 * insetnote.C: use notebg for background
5424 2002-02-08 Herbert Voss <voss@lyx.org>
5427 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5428 prevent LyX from unzipping when this should be handled
5429 by latex vis the graphic.cfg.
5432 2002-02-08 Herbert Voss <voss@lyx.org>
5434 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5435 exists, than return filename with extension
5437 2002-02-06 Herbert Voss <voss@lyx.org>
5439 * insetgraphic.C: prepareFile(): don't convert the file, when
5440 it's not viewed in LyX. Saves a lot of time when opening a
5443 2002-02-05 Herbert Voss <voss@lyx.org>
5446 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5447 and adding a rotate bool similiar to subcaption
5449 2002-02-04 Herbert Voss <voss@lyx.org>
5452 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5453 similiar view to the LaTeX one. Get zipped files work.
5455 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5457 * insetgraphicsParams.C (init): set display to DEFAULT.
5458 No longer #include "lyxrc.h".
5460 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5462 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5463 for now (so that the code compiles).
5465 2002-02-02 Herbert Voss <voss@lyx.org>
5467 * insetgraphic.C: delete inVariant() and some minor changes
5468 * insetgraphicsParams.[C]:
5470 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5472 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5473 interogate lyxrc.display_graphics before diaplaying the graphic.
5475 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5476 InsetGraphicsParams::DisplayType.
5478 2002-01-31 Herbert Voss <voss@lyx.org>
5480 * insetgraphic.C: (readfigInset) set display to pref-default
5482 2002-01-30 Herbert Voss <voss@lyx.org>
5484 * insetgraphic.C: get the filetyp from it's contents
5485 * insetgraphicparams.C: add token scale and lyxrc.display when
5486 creating a new inset
5488 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5490 * figinset.C: added using std::ios directive.
5492 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5494 * figinset.C (runqueue): open translation file in binary mode (for
5497 2002-01-27 Herbert Voss <voss@lyx.org>
5499 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5500 all options and to be sure that the old figinsets are correct
5502 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5503 structure and to support all lengths as LyXLength. The Parameter
5504 structure changed again, but reading of "old" 1.2 graphic insets
5507 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5509 * insetert.h (forceDefaultParagraphs): Added
5511 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5513 * insettabular.C (getMaxWidth):
5514 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5516 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5518 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5519 of LyXLength::inPixels
5521 * inset.C (latexTextWidth):
5522 * insetminipage.C (latexTextWidth): new method, which implements
5523 the equivalent of the LaTeX macro \textwidth
5525 * insetminipage.C (getMaxWidth): use latexTextWidth
5527 2002-01-18 Juergen Vigna <jug@sad.it>
5529 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5531 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5535 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5538 2002-01-17 Juergen Vigna <jug@sad.it>
5540 * insettabular.C (lockInsetInInset): same change as in insettext.
5542 * insettext.C (draw): width() function was called without setting
5543 the right top_x which could lead to wrong insetWidth setting!
5544 (lockInsetInInset): call edit instead of calling lockInset if we
5545 have to lock an inset inside!
5546 (edit): we have to also tell the inset that we have to redraw the
5547 frame on an edit call if this inset draws a frame only if locked.
5549 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5551 * insetbib.C (getFiles): uncomment Path variable.
5553 2002-01-16 Juergen Vigna <jug@sad.it>
5555 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5558 2002-01-16 Allan Rae <rae@lyx.org>
5560 * insetinclude.C (docbook): someone forgot a ";"
5562 2002-01-16 José Matos <jamatos@fep.up.pt>
5564 * figinset.C (docbook): removed a old place holder "@".
5565 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5566 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5567 ascii text version, clearly guarded inside a CDATA section.
5568 (docbook): in docbook 4, inlinegraphics is empty.
5569 * insettabular.C (linuxdoc): export the ascii version of the table
5570 inside a CDATA section.
5572 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5574 * insetparent.C (InsetParent):
5575 * insetgraphicsParams.C (Write):
5577 * insetgraphics.C (prepareFile):
5580 * insetexternal.C (executeCommand):
5581 (doSubstitution): use Buffer::filePath
5583 * insetbib.C (getFiles): add a #warning for Angus
5585 * insetgraphics.C: Add a remark about how filenames should be
5586 considered to be relative to buffer (but absolute is still allowed)
5587 (draw): do not try to get status if lyxrc.use_gui is false
5589 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5592 * insetcollapsable.[Ch]:
5593 * insettabular.[Ch] (searchForward, searchBackward): change the
5594 bool const & params to bool.
5596 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5597 to avoid the name clash with InsetCollapsable's methods of the same
5598 names but different functionality.
5600 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5602 * insettext.C (ascii): use lyx::count rather than countChar.
5604 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5606 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5608 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5610 * insetgraphics.C (updateInset): do not try to render image if
5611 lyxrc.use_gui is false (bug #104)
5613 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5614 if file does not exist
5616 * figinset.C (browseFile): add shortcuts to directory buttons
5618 * insettext.C (updateLocal): update menubar and toolbar here too.
5620 2002-01-13 Allan Rae <rae@lyx.org>
5622 * insettabular.C (InsetTabular): Both constructors now initialise
5623 all class variables.
5625 2002-01-11 Juergen Vigna <jug@sad.it>
5627 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5629 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5631 * insettabular.C (getStatus): add forgotten brace around multiline
5634 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5636 * insetfloat.C (validate): require "float" instead of "floats".
5638 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5640 * insettabular.C (getStatus): use FuncStatus
5642 2002-01-08 Juergen Vigna <jug@sad.it>
5644 * insettabular.C (insetButtonRelease): now this should work too
5647 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5648 if the width is a percentage.
5650 * inset.h: added isChar() function and implemented this for
5651 insetspecialchar insetquotes and insetlatexaccent.
5652 added forceDefaultParagraphs() and implemented it for insettabular.
5654 2002-01-07 Juergen Vigna <jug@sad.it>
5656 * insettext.C (getLyXText): Fixed this function. An insert into the
5657 map is only done if we REALLY have a new BufferView.
5659 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5661 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5663 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5665 * insetinclude.C: fix use of FileInfo
5667 2002-01-07 Juergen Vigna <jug@sad.it>
5669 * insettabular.C (draw): fixed clearing of cell around inset.
5671 2002-01-05 Juergen Vigna <jug@sad.it>
5673 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5674 variables are updated.
5676 * insettabular.C (resetPos): set always the inset_y as it may be
5677 needed in another function.
5678 (searchBackward): don't draw while searching.
5680 2002-01-04 Juergen Vigna <jug@sad.it>
5682 * insettext.C (lockInsetInInset): forgot to set a cursor.
5684 2002-01-02 Juergen Vigna <jug@sad.it>
5686 * insettext.C (insertInset): make the correct undo informations on
5687 inserting new insets.
5689 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5691 * insettabular.C: correct single-cell select vertically
5693 2001-12-27 Juergen Vigna <jug@sad.it>
5695 * insettabular.C (ascii): export as tab-separated-values if the
5696 function was not called from export (f.ex.: clipboard).
5698 * insetcollapsable.h: added default support for ascii, linuxdoc and
5699 docbook export (the insettext is exported by default!)
5701 * insettabular.C (copySelection): suff the clipboard with the tabular
5702 data in a tab separated format, seems more naturals then with all the
5705 2001-12-24 Juergen Vigna <jug@sad.it>
5707 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5708 to check for REAL mouseMotion.
5710 2001-12-20 Juergen Vigna <jug@sad.it>
5712 * inset.C (cursor): return the owners cursor if available instead of
5713 always only the bv->text->cursor.
5715 * insettabular.C (checkLongtableSpecial): works now.
5717 2001-12-19 Juergen Vigna <jug@sad.it>
5719 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5720 this has to be always row + 1 as 0 means not selected!
5721 (checkLongtableSpecial): added
5722 (tabularFeatures): better longtable options support
5724 * insettext.C (resizeLyXText): reinit the text always also on a
5727 2001-12-18 Juergen Vigna <jug@sad.it>
5729 * insettext.C (updateInsetInInset): look if we have to autocollapse
5730 paragraps and return if the update is requested for ourself.
5732 * insetert.C (status): update the insettext not myself as that is what
5735 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5736 function only return if the update was requested with myself.
5738 * insettext.C (insetButtonPress): fixed stupid bug.
5739 (various functions): pay attention that lt is cleared BEFORE calling
5740 updateLocal() and try to use it in the right manner (don't use it
5741 if it's not really neccessary!)
5742 (collapseParagraphs): insert a blank between collapsing paragraphs
5743 if neccessary (not already there!).
5745 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5747 * insettabular.C: move includes around a bit, add a couple of
5750 * insettext.[Ch]: move includes around a bit, other ws changes and
5753 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5755 * insettext.C (insetButtonRelease): fix compile problem
5757 2001-12-17 Juergen Vigna <jug@sad.it>
5759 * insettext.C (insetButtonPress): set the selection cursor!
5760 (insetButtonPress): clear the selection (and set with that the
5761 selection.cursor) if we only hit an inset!
5763 * insetert.C (read): removed piece of compatibility code only needed
5766 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5769 * insetcollapsable.C (insetButtonRelease): changed so that it can
5770 open eventual existing popup dialogs on mousebutton==3.
5772 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5774 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5776 * inset.C (insetButtonRelease): return a bool for telling the outer
5777 world that we opened a dialog.
5779 2001-12-07 Juergen Vigna <jug@sad.it>
5781 * insettext.C (paragraph): remove the deleteing of paragraphs as
5782 it was a WRONG move!
5784 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5787 * insettabular.C: use new setSelection(). Allow
5788 selection of single cells.
5790 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5792 * insetquotes.C (latex): fix to use the local language setting at
5793 the point where the inset is inserted (different macros for
5794 different french packages)
5796 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5798 * inset.h: add par_owner_ member variable and parOwner
5801 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5803 * insettabular.C (everywhere): adapt because widths are now real
5804 widths and not strings
5806 * insettext.C (draw): re-introduce the calls to width(), ascent()
5807 and descent() to initialize the caching variables.
5809 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5811 * insettext.C (draw):
5812 (drawFrame): use insetWidth instead of last_width
5814 * insettext.h: remove variable last_width (insetWidth is exactly
5815 the same) and last_height (computed but never used!)
5817 2001-12-10 Allan Rae <rae@lyx.org>
5819 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5821 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5823 * insettext.C (insetAllowed): add comment
5825 2001-12-05 Juergen Vigna <jug@sad.it>
5827 * insettext.C (insetAllowed): fixed for the case that we directly
5828 ask the insettext from its LyXText.
5829 (paragraph): fixed the crash when assigning the par->next() from
5830 the EmptyParagraphMechanism!
5832 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5836 * insettext.C: change "while(" to "while ("
5838 2001-12-04 Juergen Vigna <jug@sad.it>
5840 * insetert.C (edit): handle Inlined status.
5842 * insettext.C (insertInset): trying John's fix for the trailing cursor
5844 * insetert.C (insetButtonPress): added to handle inlined status
5845 (insetMotionNotify): ditto.
5847 * insettext.C (clearInset): changed Painter & in BufferView * param,
5848 to be able to call ascent,descent methods.
5850 2001-12-03 Juergen Vigna <jug@sad.it>
5852 * insettext.C (updateInsetInInset): use lt variable to forbid
5853 changes of LyXText in an update call.
5854 (updateInsetInInset): fixed updating of non locked insets!
5856 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5858 * insettabular.C: capture some more functions to prevent
5859 selection drawing problems. Bug #451274
5861 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5864 * insetgraphicsParams.C: fix inverted sense of float_equal
5866 2001-11-30 Juergen Vigna <jug@sad.it>
5868 * insettabular.C (InsetTabular): use the save_id flag to create also
5869 the tabular with the same id's.
5871 * insettext.C (setParagraphData): added a same_id function for undo
5872 to set the same paragraph id's as of the paragraph we are setting.
5874 2001-11-30 José Matos <jamatos@fep.up.pt>
5877 * insettoc.[Ch]: DocBook -> docbook.
5879 2001-11-29 André Pönitz <poenitz@gmx.net>
5882 * insettext.C: further reduction of header dependencies by using
5883 lyx::layout_type and lyx::textclass_type from support/types.h
5885 2001-11-29 Juergen Vigna <jug@sad.it>
5887 * insettext.C: inserted a reinitLyXText function everywhere I delete
5888 the paragraphs! This should fixe the crashes we had.
5889 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5890 (paragraph): set the InsetOwner() of the new paragraphs!
5892 2001-11-28 André Pönitz <poenitz@gmx.net>
5894 * insetnote.C: add pos initialization that I removed without
5897 2001-11-28 Juergen Vigna <jug@sad.it>
5899 * insettabular.C (resetPos): hack to not crash with infinite paints.
5901 * insettabular.h: insert missing function allowSpellcheck()!
5903 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5905 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5908 * insetfloatlist.C: derive from InsetCommand so gui can use it
5911 2001-11-26 André Pönitz <poenitz@gmx.net>
5915 * insetnote.C: reduce header dependencies, introduce type for
5918 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5920 * various: update for Alert.h
5922 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5924 * inset.h: fix comment
5926 * insettext.C: use par->isInset()
5928 2001-11-22 Allan Rae <rae@lyx.org>
5930 * insetcollapsable.h:
5931 * inset.h: Changes to checkInsertChar() behaviour.
5932 Now return value indicates whether chars can be inserted.
5934 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5936 * various: updated to use the new LaTeXFeatures
5938 2001-11-14 José Matos <jamatos@fep.up.pt>
5940 * insetspecialchar.C (linuxdoc):
5941 (docbook): don't give a name to a unused variable.
5943 * insettext.C (docbook): removed unused variable.
5945 2001-11-13 Herbert Voss <voss@perce.de>
5947 * insetgraphic.C: fix scale bug
5949 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5951 * inset.h (isSpace):
5952 (isLetter): new virtual methods.
5954 * insetspecialchar.C (isSpace):
5955 (isLetter): implement here.
5957 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5959 * inset.h: new inline helpers
5961 * insettext.C: use new helpers
5963 2001-11-07 José Matos <jamatos@fep.up.pt>
5965 * insettext.C (docbook): full support for paragraphs inside insettext.
5967 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5969 * insetindex.C: added header file for std::ostream.
5971 2001-11-03 José Matos <jamatos@fep.up.pt>
5973 * insetindex.C: added using std::ostream that I forgot yesterday.
5975 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5977 * insetindex.h (docbook):
5978 * insetindex.C (docbook): added support for docbook export.
5980 2001-11-02 José Matos <jamatos@fep.up.pt>
5982 * insetcaption.C(docbook): added support for docbook export.
5984 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5986 * insetexternal.C (updateExternal): Do not run update command if
5987 result file exists and is up to date.
5989 * ExternalTemplate.C (readFormat): Support the updateresult token.
5991 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5993 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5994 external_templates) to use the buffer->fileName() but only if
5995 previewing. Generating a TeX file should make FPath return
5998 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6001 * insetert.C: fix some problems
6003 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6005 * insetexternal.C (doSubstitution): Added $$FPath token
6006 to list of usable substitutions in external inset templates.
6008 2001-10-24 Juergen Vigna <jug@sad.it>
6010 * insettabular.C: use new ltType struct for setting longtable
6011 header and footers also new UNSET enums.
6013 2001-10-24 José Matos <jamatos@fep.up.pt>
6015 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6016 (docbook): If the table is not inside a float then wrap it inside
6017 <informaltable>...</informaltable>.
6019 2001-10-23 José Matos <jamatos@fep.up.pt>
6021 * insetref.C (docbook): removed / terminator to conform SGML.
6023 * insetspecialchar.C (linuxdoc):
6024 (docbook): Added support for special chars, more than ascii export.
6026 2001-10-22 Juergen Vigna <jug@sad.it>
6028 * insettext.C (checkInsertChar): added for REALLY checking the
6029 font of the inserted char in the right inset!
6031 2001-10-19 Juergen Vigna <jug@sad.it>
6033 * inset.h: added method allowSpellcheck() so that insets who do
6034 not have anything to spellcheck can tell and so they are over-jumped.
6035 Implemented for InsetText and co.
6037 2001-10-18 Juergen Vigna <jug@sad.it>
6039 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6041 2001-10-15 José Matos <jamatos@fep.up.pt>
6043 * insetert.C: allow export for docbook and linuxdoc
6045 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6047 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6049 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6051 * insetquotes.C (dispString): fix handling of latin9 quotes
6053 2001-10-03 Juergen Vigna <jug@sad.it>
6057 * insetcollapsable.C: change updateInset calls to not tell BV that
6058 we have changed status.
6060 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6062 * insettabular.C (deletable): make const
6064 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6066 * insetert.C (latex): Fix the returned value
6068 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6070 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6071 Returns string(), so nothing in an ERT inset is spellchecked.
6073 * insetgraphics.C (draw): print the filename if not displaying the
6075 (width): make sure that the width and draw methods are consistent.
6076 (updateInset): don't even load the image into cache if not displaying
6079 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6081 * various files (selectNextWord): renamed as
6082 selectNextWordToSpellcheck.
6084 * insetgraphics.C (draw): remove the previous change. Right place
6085 is in imageLoaderXPM.C.
6086 (draw): don't display the image if params.display == NONE.
6088 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6090 * figinset.C (runqueue):
6091 * insetgraphics.C (draw): set background colour of inset from
6092 background to the user-configurable graphicsbg.
6094 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * insetquotes.C (InsetQuotes): when trying to decide the side of
6097 the quote, choose `left' only after a space or '('
6099 2001-09-04 José Matos <jamatos@fep.up.pt>
6104 * insetcollapsable.h
6122 * insetlatexaccent.C
6123 * insetlatexaccent.h
6128 * insetspecialchar.C
6129 * insetspecialchar.h
6133 * insettext.C (docbook): rename docBook method to docbook.
6135 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6137 * inset.h (getFirstParagraph): New virtual method.
6139 2001-08-20 Herbert Voss <voss@perce.de>
6140 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6141 in the the bibtex-database-gui for inserting a line
6144 If no style is given than there is no tex-output.
6146 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6148 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6152 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6154 * insetert.C (latex): Fix output for multiple paragraphs.
6155 (write): New code for writing paragraph data.
6156 (read): Set font after reading the inset.
6157 (localDispatch): Call set_latex_font() for more cases.
6159 * insetnote.h: Add empty validate method.
6162 * insetnote.C (InsetNote): Set language to the language of the
6165 2001-08-16 Juergen Vigna <jug@sad.it>
6167 * insettext.C: implemented the new FINISHED states.
6169 * insettabular.C: ditto
6171 * inset.h: added more FINISHED states for cursor right,up,down
6173 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6175 * insetfloatlist.C: use "FloatName List"
6177 2001-08-14 Juergen Vigna <jug@sad.it>
6179 * insetert.C (edit): forgot to set status_ in edit calls!
6181 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6183 * insettext.C: Compilation fix
6185 2001-08-13 Juergen Vigna <jug@sad.it>
6187 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6189 * insetcollapsable.C (edit): don't recollapse an already open inset.
6191 * insettext.C: fixed problem when reinitializing LyXText by not doing
6192 it while lt is in use and post this to the next possible time in
6194 (searchForward): fixed not unlocking of inset if nothing found.
6195 (edit): set cursor behind right (was set -1 pos).
6197 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6199 * insettabular.C (tabularFeatures): fixed fix where deleting the
6200 last row didn't get the right actcell!
6202 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6204 * insettext.C (localDispatch): Change language only when the inset
6207 2001-08-10 Juergen Vigna <jug@sad.it>
6209 * insettabular.C (selectNextWordInt): use the front using edit call.
6211 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6212 the parameter overwrite class variable inset.
6214 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6216 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6217 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6219 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6220 update only for fixed with cells.
6221 (resetPos): try to fix the lockup on spellchecking or s&r.
6223 * insettext.C (update): comment this out as it seems first wrong
6224 and second not needed anymore!
6225 (some functions): call reinitLyXText() only in update() in all other
6226 positions set only need_update = INIT.
6228 2001-08-08 Juergen Vigna <jug@sad.it>
6230 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6232 * insettext.C (insetUnlock): remove double-space on inset unlock.
6234 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6236 * insettabular.C (update): fixed cursor positon after an insert.
6237 (insetAllowed): do not allow to insert insets when not inside the
6239 (draw): clear below an inset too as it could have changed height.
6241 * inset.C (getMaxWidth): fixed width for inset in inset.
6243 * insettext.C (update): small fix.
6245 * insettabular.C (tabularFeatures): added selection support to
6246 DELETE_ROW/DELETE_COLUMN.
6248 2001-08-07 Juergen Vigna <jug@sad.it>
6250 * inset.C (getMaxWidth): recoded and all it's implementations!
6252 * insettext.C (init,setParagraph+constructors): cleanups
6253 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6254 are new and I want do a save/restore of the cursor position which is
6255 not possible anymore.
6257 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6258 (searchBackward): ditto
6259 (selectNextWord): ditto
6261 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6263 * insetlatexaccent.C (checkContents): Add some debug messages
6265 2001-08-07 Juergen Vigna <jug@sad.it>
6267 * insetert.C (read): don't use InsetCollapsable::read as we don't
6268 write the collapsed status anymore only the status.
6271 2001-08-06 Juergen Vigna <jug@sad.it>
6273 * insetert.C (set_latex_font): use LyXText's setFont directly.
6275 * insettext.C (drawFrame): fixed one time more the right position
6276 and size of the frame!
6278 * insetert.C (~InsetERT): hide the dialog.
6279 (showInsetDialog): added implementation
6282 (status): new function for the status of the ERT inset (3-state).
6283 (write): output also the status of the inset for readback!
6284 (read): readback the status if available otherwise use collapsed_.
6286 * insettext.C (edit): small fix of setting the position, which could
6289 * insetert.C (width): implement this function for inlined viewing.
6290 Added minimum width of 10 pixels!
6292 * insetminipage.C (InsetMinipage): just change the colors a bit so
6293 that border/background is a bit more visible. We will remove this
6296 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6297 function for getting the important widths for drawing in various
6298 functions and in LyXText.
6299 (draw): fixed up a bit (frame drawing/clearing)
6301 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6303 * inset.C (convertFont): delete method. not used.
6305 2001-08-03 Juergen Vigna <jug@sad.it>
6307 * insettext.C (setFont): don't call for a draw update if we're just
6308 changing the cursor font!
6310 2001-08-02 Juergen Vigna <jug@sad.it>
6312 * insettext.C (draw): clear the background with the right color if
6313 needed. Update myself if x&max-width changed and return without doing
6314 anything. Let the update code handle the right stuff.
6316 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6317 inside another inset.
6319 2001-08-01 Juergen Vigna <jug@sad.it>
6321 * insetcollapsable.C (update): added an in_update bool so we avoid
6324 * insettabular.C (update): added an in_update bool so we avoid
6327 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6329 (update): added an in_update bool so we avoid reentering.
6331 * insettabular.C (localDispatch): clear col/row selection when doing
6332 something else inside an inset.
6334 * insettext.C (getLyXText): fixed bug when requesting a recursive
6337 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6339 * insetcite.C (latex): Paranoia check. Make sure that there is no
6340 whitespace between the citation keys.
6342 2001-07-31 Juergen Vigna <jug@sad.it>
6344 * inset.h (nodraw): make the set function also const so that this
6345 can be called from inside other const functions.
6347 * insetcollapsable.h: removed inline variable and moved it over
6348 to the only user InsetERT.
6350 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6351 inset opening immediately therein lying insets dialogs!
6353 * insetert.C (localDispatch): set the font also if we don't have any
6354 chars in this paragraph, otherwise if we delete all of em and start
6355 writing we have the wrong font.
6357 (draw): implemented for inline support
6358 (insetButtonRelease): ditto.
6360 2001-07-30 Juergen Vigna <jug@sad.it>
6362 * insettext.C (reinitLyXText): new function to reinit the insets
6363 text after lot's of paragraph changes. Use this instead of the
6364 cache.clear() which is VERY dangerous.
6366 * insetfloat.C (insetButtonRelease): we should only show the dialog
6367 if we press on the label otherwise we have problems to open mouse
6368 button 3 dialogs inside this float (f.ex. of a tabular!)
6370 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6372 * insetert.C: change back to "ERT"
6374 * insetfloat.C: handliign of RMB on label added.
6376 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6378 * insetgraphicsParams.C: #include LOstream.h here.
6380 * insetfoot.h: remove InsetFoot:: qualifier.
6382 2001-07-29 Baruch Even <baruch@lyx.org>
6384 * ChangeLog: Hiding time travel evidence.
6386 * insetgraphicsParams.h:
6387 * insetgraphicsParams.C:
6388 * insetgraphics.C: Added horizontal scale option, it actually
6389 scales both directions since it keeps image proportions.
6391 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6393 2001-07-29 Baruch Even <baruch@lyx.org>
6395 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6396 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6398 HACKY! Will need to add an EPS detection routine like old InsetFig
6401 2001-07-29 Baruch Even <baruch@lyx.org>
6403 * insetgraphics.C: Added EPSI to be an alias of EPS.
6405 2001-07-29 Baruch Even <baruch@lyx.org>
6407 * insetgraphics.C: Change GRAPHICS to Graphics.
6408 Changed image conversion rules (documented at the beginning of file).
6410 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6412 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6415 * insetgraphics.C: added a using std::endl directive.
6417 * insetcommand.h (getScreenLabel): removed pure virtual function,
6418 as it duplicates that in InsetButton.
6420 * insetbib.[Ch] (getScreenLabel):
6421 * insetbutton.[Ch] (getScreenLabel):
6422 * insetcite.[Ch] (getScreenLabel):
6423 * insetert.[Ch] (getScreenLabel):
6424 * insetexternal.[Ch] (getScreenLabel):
6425 * insetfloatlist.[Ch] (getScreenLabel):
6426 * insetinclude.[Ch] (getScreenLabel):
6427 * insetindex.[Ch] (getScreenLabel):
6428 * insetlabel.h (getScreenLabel):
6429 * insetparent.[Ch] (getScreenLabel):
6430 * insetref.[Ch] (getScreenLabel):
6431 * insettoc.[Ch] (getScreenLabel):
6432 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6434 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6436 (validate): remove check on "cite" when using natbib.
6438 2001-07-26 Baruch Even <baruch@lyx.org>
6440 * insetgraphics.C (draw): changed casting to be in one place
6441 rather than all over the function.
6444 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6446 * insetgraphicsParams.h:
6447 * insetgraphicsParams.C:
6448 * insetgraphics.C: Removed inline option and changed rotateAngle
6451 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6453 * insetfoot.C (validate): Added method to ensure that the
6454 right bit of LaTeX is emitted.
6456 * insetfoot.h: Added validate method to set the correct
6457 LaTeXFeatures bit for the special footnote code.
6459 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6461 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6464 2001-07-27 Juergen Vigna <jug@sad.it>
6466 * inset.h: remove not used font variable in parameter.
6467 removed checkInsertChar in UpdatableInset as it was equal to
6468 the one in Inset and so not needed.
6470 * insetert.C (checkInsertChar): implementation of function
6473 * inset.h: added new function checkInsertChar.
6475 * various files: added c-tor and clone() function.
6477 * insetcollapsable.h: removed clone function here as this should
6478 be only realized in REAL insets and added it to all collapsable
6479 insets! (with the copy-constructor).
6481 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * insetminipage.C (read): handle missing parameters more gracefully
6485 * insetcollapsable.C (read): handel missing collapsed more gracefully
6487 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6489 * insetfloat.C (read): handle missing parameters.
6491 * insettext.C (read): handle old latex end_inset
6493 * insetert.C (setButtonLabel): new method
6494 (init): use it, to set the dynamic label correctly
6497 * Makefile.am (EXTRA_DIST): add files that is not part or the
6500 * insetcollapsable.h: remove autocollapsable (no users), remove
6501 draw_label, change_label_with_text and companion code. Remove args
6503 * insetert.[Ch]: move here instead (only user)
6505 * inset.h: rename private variable name to name_, make
6506 selectNextWord return a const string. make getInsetName return a
6507 string const &. Remove bool from open, add close.
6509 * Makefile.am: don't compile insetlist, insetsection
6512 2001-07-24 Juergen Vigna <jug@sad.it>
6514 * insetert.C (InsetERT): put init after the paragraph initialization,
6515 as otherwise we don't set the draw_label right.
6517 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6518 insets with the mouse without having strange selections.
6519 (edit): if the inset was collapsed and we open it here then put the
6520 cursor always at the beginning of the inset.
6521 (get_new_label): 15 instead of 10 max chars in the label.
6523 * insetert.C (localDispatch): added and handle various stuff we
6524 need to handle here (font setting on paragraph break, not permitted
6525 layout setting, etc.).
6527 * inset.h: added default copy-consturctor and implemented this in
6528 various insets with the change to use this in the clone function!
6530 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6532 * insetminipage.C (InsetMinipage): set background color to red :)
6534 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6536 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6537 draw frame mode is LOCKED.
6539 * insetcollapsable.C (edit):
6540 (insetButtonRelease): set update status to full when
6543 * insettext.C (clearInset):
6544 * insettabular.C (draw):
6545 * insetlatexaccent.C (draw): honor background color.
6547 * inset.h: new member background_color_, initialized to
6550 * inset.C (backgroundColor): new method.
6551 (setBackgroundColor): new method.
6553 * insetert.C (init): new method, called by the ctors.
6554 (InsetERT): when inserting contents, make sure the font is
6557 * insetnote.C (InsetNote): when inserting content, remove trailing
6559 (init): set background color to LColor::note
6561 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6563 * insetcollapsable.C: adjust
6565 * insetbutton.C: adjust
6567 2001-07-23 Juergen Vigna <jug@sad.it>
6569 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6570 parameter on the _collapsed function (was not needed) and call
6571 always width_collapsed().
6573 * insetert.C (InsetERT): use setLabel with "true" flag.
6575 * insetcollapsable.C: modified various functions to set the draw_label
6576 string right in any condition.
6577 (setLabel): added a bool parameter to set change_label_with_text.
6579 * insetcollapsable.h: added draw_label string which is set to the
6580 actual drawn label-string, while label is the original static label
6581 of this collapsable inset. Added bool change_label_with_text to set
6582 if we want that the label changes to the start of the InsetText's
6583 text when collabpsed. You can set this flag with the setLabel funciton.
6584 Added bool inlined for inlined collapsable insets, but not handled
6587 * insetcollapsable.C (get_new_label): added should get a new label
6588 from the InsetText beginning (for now 10 chars).
6590 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6592 * insetquotes.C (latex): fix the handling of french double quotes
6593 when not using the french pachage.
6595 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6597 * insetcollapsable.h: make WidthCollapsed mutable.
6599 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6600 InsetPrintIndex returns INDEX_PRINT_CODE.
6602 * inset.h: add INDEX_PRINT_CODE
6604 * insetcollapsable.C (draw): init widthCollapsed if necessary
6607 * insetquotes.C (width): use the local language, not the document
6610 (dispString): add additional spacing for all french languages,
6612 (validate): make it work when there is no default language
6614 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6616 * insetnote.C (init): new method, called by the constructors
6617 (InsetNote): new constructor with contents passed as a string
6619 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6621 * insetfootlike.C (insetAllowed): disallow float in footlike.
6623 * insetert.C (InsetERT): add collapsed argument to the constrctor
6626 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6628 * insetindex.h: shut off warning
6630 2001-07-20 Juergen Vigna <jug@sad.it>
6632 * insetcollapsable.C (update): recoded hopefully works now!
6634 2001-07-19 Juergen Vigna <jug@sad.it>
6636 * most files: implemented the below new introduced function.
6638 * inset.h: added new edit(BufferView *, bool front) method to be able
6639 to enter an inset from the front/back without knowing x/y positions
6640 and baselines inside the inset. So I just can tell the inset activate
6641 me and set the cursor on the front/back of yourself.
6643 2001-07-18 Juergen Vigna <jug@sad.it>
6645 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6646 is given to the InsetText.
6647 (insetButtonPress): ditto
6648 (insetButtonRelease): ditto
6649 (insetMotionNotify): ditto
6651 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6653 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6654 LIGATURE_BREAK, since the name is so stupid.
6656 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6658 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6659 the default InsetCollapsable methods. I.e., it can insert anything.
6660 (write) output the name of the inset, not some silly hack for
6661 compatability with the old InsetInfo.
6663 * insetinfo.[Ch]: removed.
6664 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6665 now collapsable, but functionality is otherwise identical to InsetInfo.
6667 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6669 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6671 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6674 * insetquotes.C: general cleanup
6675 (dispString): add spaces inside french double quotes.
6676 (latex): ditto. Moreover, treat first the case where the frenchb
6677 or french options have been given.
6679 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6681 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6684 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6686 * figinset.C (RegisterFigure): Print debug message only when
6687 current_view is available.
6689 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6691 * many files: update to match the change below
6693 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6694 implement the version which takes an inset here.
6696 * insetcollapsable.[Ch]: implement open and isOpen
6698 * inset.h: remove insertInsetAllowed from Inset
6699 (open): new method, to open or close an inset
6700 (isOpen): returns the status of an inset
6701 (isCollapsable, colapse): removed
6703 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6705 * insetquotes.C (dispString): display french guillemets when using
6708 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6710 * insetcollapsable.h: remove bogus return statements
6712 2001-07-18 Juergen Vigna <jug@sad.it>
6714 * insettabular.C (selectNextWord): fixed spellchecking for the
6715 first cell of a tabular (wasn't entered!)
6716 (getLyXText): changed to enter automatically insettext and return
6717 it's LyXText if we're locked.
6719 2001-07-17 Juergen Vigna <jug@sad.it>
6721 * various files: implemented the below functions.
6723 * inset.h: added functions
6724 - virtual string selectNextWord(BufferView *, float & value) const;
6725 - virtual void selectSelectedWord(BufferView *) { return; }
6726 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6727 needed for spellchecking correctly!
6729 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6731 * insetert.C (latex): write out all paragraphs.
6733 2001-07-17 Baruch Even <baruch@lyx.org>
6735 * insetgraphics.C (draw): Removed unneeded casts.
6737 2001-07-16 Juergen Vigna <jug@sad.it>
6739 * insettext.C (update): fixed small oversight (reset lt to 0).
6741 2001-07-14 Baruch Even <baruch@lyx.org>
6744 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6746 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6748 Consistent use of Lsstream.h:
6749 * figinset.C: removed using std::ostringstream directive.
6751 * insetgraphics.C (createLatexOptions):
6752 * insetinclude.C (unique_id):
6753 std::ostringstream -> ostringstream.
6754 * insettext.C (localDispatch): std::istringstream -> istringstream.
6756 2001-07-13 Juergen Vigna <jug@sad.it>
6758 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6760 * insetcollapsable.C (getLockingInset): ditto.
6762 2001-07-12 Juergen Vigna <jug@sad.it>
6764 * insetcollapsable.h: added implementation of new function for
6767 * various files: added implementation of new insertInsetAllowed-func
6768 and redone the function a bit more.
6770 * inset.h: added isCollapsable(), bool collapsed(),
6771 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6773 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6775 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6776 LyXText which is marked for removal while we're using it!
6778 * insettext.h: added private LyXText * lt to use it to assure we are
6779 not deleting our LyXText while we're using it!
6781 2001-07-11 Juergen Vigna <jug@sad.it>
6783 * insettext.C (insertInset): check if we are before the inset after
6784 inserting it! This check IS needed. Remove the Undo-Call as it is
6785 called in LyXText::insertInset!
6787 * insettext.h: added struct InnerCache.
6789 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6790 that we ONLY delete the LyXText in the getLyXText() routine. So we
6791 are sure we don't delete LyXText while someone is working with it!
6793 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6795 * insetexternal.C: (*it). -> it->
6796 * insettext.C: ditto
6798 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6800 * insetcollapsable.C (edit): always open collapsed insets (even if
6801 they are not autocollapsable)
6803 * insetcommand.C (operator=): simplify.
6805 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6807 * insetert.C (latex): handle META_NEWLINE
6809 2001-07-09 Juergen Vigna <jug@sad.it>
6811 * insetert.h: a normal InsetText can insert insets, but we won't.
6813 * inset.h: return default "false" on insertInsetAllowed and implement
6814 this function where a returnvalue != "false" is needed.
6816 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6818 * insetert.C (InsetERT): new contructor
6820 2001-07-06 Juergen Vigna <jug@sad.it>
6822 * a lot of files: added implementation of the below new functions
6823 and the change to clone(). Also the call of the new undo-functions
6826 * inset.h: added an inset_id, added functions getParFromID,
6827 getInsetFromID, firstParagraph, cursor and id functions, added
6828 bool same_ids to clone function.
6830 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6833 of BufferView * and shared_ptr<LyXText>
6835 2001-07-05 Juergen Vigna <jug@sad.it>
6837 * insettext.C (clear): deleted also the cache not only LyXText.
6838 (setParagraphData): ditto.
6840 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6842 * insetfloat.C (latex): let the specific placement take presedence
6843 if set, otherwise choose document placement if set, otherwise just
6844 use float default placement.
6846 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6848 * insettext.C (localDispatch): call CutAndPaste::'s static method
6851 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6853 * insetbib.C: no meed to include forms.h here.
6855 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6857 * insettext.C: added using std::make_pair directive.
6859 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6861 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6863 (deleteLyXText): ditto
6864 (resizeLyXText): ditto
6866 2001-07-02 Juergen Vigna <jug@sad.it>
6868 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6869 following calls are only returned the right pointer without the over
6870 head to search in the map.
6871 (various funcs): reset the cached_bview variable as this signs that
6872 the cache is not valid anymore.
6874 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6876 * insettabular.C (clone): do not copy the LyXTabular twice
6878 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6880 * insettext.h (TEXT): delete method
6882 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6884 * insetmarginal.C (latex):
6885 * insetfoot.C (latex): fix spacing of notes in LaTeX
6887 * insettext.C (localDispatch): use .c_str() on istringstream
6888 constructor argument.
6890 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6895 * inseturl.C: fix method names in these to begin
6896 with small char too, so they inherit
6898 2001-06-28 Juergen Vigna <jug@sad.it>
6900 * insettext.C (setFont): fixed font settings using toggleFree()
6901 instead of setFont().
6903 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6905 * Change a lot of method names to begin with a small char.
6906 Changes to a lot of files because of this.
6908 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6910 * insetfloatlist.C (Write): std:: qualify ostream
6913 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6917 * insetgraphics.C: send debug output to Debug::INFO instead of
6920 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6923 * insettabular.C (getStatus): update to use func_status
6925 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6927 * insetref.C (DocBook): added support for cross-references without
6930 2001-06-26 The LyX Project <jug@sad.it>
6935 * insetlabel.h: removed escape method and moved it to
6938 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * insettabular.C (getMaxWidth): do the speedup in a different way,
6943 2001-06-24 The LyX Project <Asger>
6945 * insettabular.C (getMaxWidth): We cache a mapping from
6946 inset to cell in order to speed this method up.
6948 2001-06-24 The LyX Project <Asger>
6950 * insettext.C: Optimized InsetText::draw or something.
6952 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6954 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6956 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * inset.h: name change from lyxinset.h
6960 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6962 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6964 2001-06-14 Juergen Vigna <jug@sad.it>
6966 * insettext.C (draw): removed warnings.
6968 2001-06-13 Juergen Vigna <jug@sad.it>
6970 * insettabular.C (nodraw): only go down the tree if we don't have
6971 that flag set otherwise it's obvious that we don't want to draw.
6972 (LocalDispatch): do also an update if we have an undispached result.
6974 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6977 * insetgraphicsParams.C:
6978 * insettext.C: removed // -*- C++ -*- as first line.
6980 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6982 * lyxinset.h (resizeLyXText): shut off warning about unused
6985 2001-06-07 Juergen Vigna <jug@sad.it>
6987 * insettext.C (resizeLyXText): honor the new force flag.
6989 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6991 * insettabular.C (deleteLyXText): new function
6993 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7001 * insetcollapsable.C:
7002 * insetcaption.C: LColor tidy
7004 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7006 * figinset.C: fix typo
7008 2001-06-01 Juergen Vigna <jug@sad.it>
7010 * insettabular.C (resetPos): small hack so that scroll is not set to
7011 0 when we are in the last column of a tabular. This is a problem we
7012 have because of constats 20 offset on both directions, so this can
7013 cause on the limit an endless loop.
7015 * insettext.C (SetFont): forgot that we can have locking insets ;)
7017 2001-05-31 Juergen Vigna <jug@sad.it>
7019 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7021 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7023 * figinset.C: add using std:: directive for the C functions which
7026 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7028 * insetfloat.C (Write): write out wide info
7029 (Read): read the wide info
7030 (Latex): use the wide info when creating latex.
7032 * insettext.C: adjust
7034 * insetgraphics.[Ch] (statusMessage): change to return string
7038 * figinset.C (runqueue): add std::
7041 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7043 * insetcite.C (Ascii): add std:: qualifier
7045 2001-05-28 Juergen Vigna <jug@sad.it>
7047 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7048 a endless-width inset (maxWidth < 0).
7049 (Edit): change language only if not equal.
7051 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7053 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7055 2001-05-16 Juergen Vigna <jug@sad.it>
7057 * insettext.C (selectAll): added
7058 (clearSelection): added
7060 * insettabular.C (SetFont): now we may set a font on a whole selection!
7061 (getSelection): added helper function.
7063 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7065 * insetcite.C (Ascii): Add method.
7067 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7070 * insetbib.C: fix path for OS/2 & Win32
7072 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * insetfoot.C (Latex): don't use % after footnote.
7076 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7078 * insettext.C (Read): use clear
7079 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7081 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7083 * insetfloatlist.h: add a bunch of std:: qualifiers.
7085 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7087 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7088 FLOAT_LIST_CODE, renumber code list.
7090 * insettoc.C (getScreenLabel): remove support for float lists
7094 * insetfloatlist.[Ch]: new files
7096 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7098 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7100 * insettabular.C (LocalDispatch):
7101 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7104 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * insettext.C: remvoe !NEW_INSETS cruft
7108 * insettabular.C: remove !NEW_INSETS cruft
7110 * insetcollapsable.h: remove !NEW_INSETS cruft
7112 * insetbib.C: remove !NEW_INSETS cruft
7114 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7116 * insettoc.C: hack to make listof algorithm work
7118 2001-04-20 Juergen Vigna <jug@sad.it>
7120 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7122 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7124 * insetquotes.C (Latex): improve the guard against
7125 unwanted !` and ?` ligatures. This should really be done in
7126 another place (to catch all this ligatures at low-level).
7128 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7130 * insettext.C (init): remvoe leftovers from cursor_visible change
7131 (draw): use c++ cast
7132 (LocalDispatch): dispatch LFUN_MESSAGE
7134 * insettabular.C (InsetTabular): remove leftovers from
7135 cursor_visible, and scoped_ptr changes
7136 (draw): use c++ cast
7138 * insetcollapsable.C (draw): use c++ cast
7140 * ExternalTemplate.h: inherit privaely from noncopyable
7141 * insetcommand.h: ditto
7142 * insetinclude.h: ditto
7144 2001-04-16 Allan Rae <rae@lyx.org>
7146 * insettoc.C (Ascii):
7147 * insettext.C (draw):
7148 * insettabular.C (setPos):
7149 * insetminipage.C (Read):
7150 * insetfloat.C (placement):
7151 * insetcaption.C (Ascii, DocBook):
7152 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7153 an unrecognised preprocessor directive. So ensure they're wrapped.
7155 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7158 * insetexternal.C: set view on Clone. Add _ to private members.
7160 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * insettext.C (InsetText): fix new
7163 (InsetText): reindent some, simplify deletion of par list
7164 (clear): simplify deletion of par list, fix new
7165 (SetParagraphData): simplify deletion of par list
7167 * insettabular.[Ch] (getLabelList): implement new method
7169 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7171 * lyxinset.h: do not include gettext.h...
7179 * insetlatexaccent.C:
7183 * inseturl.C: ... and do it here instead
7185 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7187 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7189 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7191 * insetcollapsable.[Ch] (getLabelList): implement
7193 * insettext.[Ch] (getLabelList): implement
7195 * insettext.h: reindent
7197 * insettabular.h: make tabular a scoped_ptr
7199 * insettext.C (init): adjust for cursor_visible
7200 (ToggleInsetCursor): constify asc and desc, font, adjust for
7202 (ShowInsetCursor): constify asc and desc, font, adjust for
7204 (HideInsetCursor): adjust for cursor_visible
7206 * insettabular.C: reindent some
7207 (InsetTabular): adjust for scoped_ptr and cursor_visible
7208 (InsetTabular): ditto
7209 (~InsetTabular): delete delete
7210 (Clone): adjust for scoped_ptr
7211 (Read): constify old_format, adjust for scoped_ptr, move init of
7213 (draw): constify tx, localize loop vars.
7214 some other localization of variables, remove double initilizatons.
7216 * insetfoot.C: remove using std::ostream, add ostream where needed
7218 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * lyxinset.h: some reindentaion, use initializer list for
7222 UpdatableInset: make cursor_visible a private var add
7223 public isCursorVisible(), add protected toggleCursorVisible() and
7224 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7226 * insettoc.C: remvoe using decl
7227 (getScreenLabel): make cmdname donst
7230 (Ascii): don't use endl
7232 * insetfootlike.C: remove using decl at file scope and add std::
7234 * insetmarginal.C: ditto
7236 * insetfoot.C: some reformatting
7238 * insetfloat.C (InsetButtonRelease): adjust the hit area
7240 * insetert.C (SetFont): some reformatting
7242 * insetcollapsable.C: some reformatting and constification
7243 (Clone): comment out.
7244 * insetcollapsable.h: some reformatting
7245 (Clone): comment out.
7250 2001-03-30 Juergen Vigna <jug@sad.it>
7252 * insetcollapsable.h: changen *inset to be a InsetText inset.
7254 * some files: changed to reflect the above change.
7256 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7258 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7259 InsetExternal::Params.
7260 Added operator==() and operator!=() for the Params struct.
7262 2001-03-29 Juergen Vigna <jug@sad.it>
7264 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7267 * insetminipage.C: removed widthp_ and all it's functions and changed
7268 to use new %-lengths of LyXLength.
7270 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7272 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7274 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7276 * insetgraphicsParams.C (operator!=): new function, needed by the
7277 ControlGraphics class.
7279 2001-03-28 Juergen Vigna <jug@sad.it>
7281 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7282 (checkAndActivateInset): don't use the values returned from
7283 call to bv->checkInsetHit.
7285 * insetminipage.C (Clone): set special minipage values.
7287 * insetcollapsable.C (draw): changed to draw the button in the
7288 upper left corner outside the textinset.
7289 (ascent): changed because of different drawing
7293 (InsetButtonPress): ditto
7294 (InsetButtonRelease): ditto
7295 (InsetMotionNotify): ditto
7297 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7299 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7303 2001-03-26 Juergen Vigna <jug@sad.it>
7305 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7307 * insettext.C (ShowInsetDialog): implemented above function.
7309 * insettabular.C (ShowInsetDialog): ditto
7311 * insetminipage.C (ShowInsetDialog): ditto
7313 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7315 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7316 InsetInclude::Params. Don't store a buffer * in Params. Store the
7317 master file name instead.
7319 2001-03-23 Juergen Vigna <jug@sad.it>
7321 * insetcollapsable.C (InsetMotionNotify):
7322 (InsetButtonRelease):
7323 (InsetButtonPress): fixed y-offset (minipages).
7325 * insettext.C (draw): force a FULL update if cleared == true.
7327 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7328 routine to draw the minipages on its position-flag.
7329 (InsetInInsetY): give back the right y position, because of minipage
7332 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7335 * insetfloat.C (DocBook): docbook export code.
7337 2001-03-22 Juergen Vigna <jug@sad.it>
7339 * insetminipage.C (getMaxWidth): added function to set the drawing
7341 (Read): should work now!
7343 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7344 if we create a new inset.
7346 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7348 * figinset.C (fl_set_preemptive_callback): moved definition outside
7351 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7353 * insetminipage.C (Read): prepare for reading of minipage arguments.
7355 2001-03-18 Baruch Even <baruch@lyx.org>
7357 * insetgraphics.C: Minor cleanups of the comments and code.
7359 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7361 * insetminipage.C (InsetMinipage): default to not collapsed
7363 2001-03-16 Juergen Vigna <jug@sad.it>
7365 * insetminipage.C (width): modified with to be a string
7366 (widthp): added widthp (for % width) support functions.
7367 (InsetButtonRelease): added to open the options dialog on button==3.
7368 (~InsetMinipage): added to hide the dialog.
7370 * insetminipage.h: added hideDialog signal
7372 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7374 * insetminipage.h: change the order or Position to match
7375 LyXParagraph::MINIPAGE_ALIGNMENT
7377 * several files: remvoe CXX_WORKING_NAMESPACES
7379 * ExternalTemplate.h: noncopyable is in namespace boost
7380 * insetinclude.h: ditto
7381 * insetcommand.h: ditto
7383 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7385 * insettext.C (Edit): #else# -> #else.
7386 * insettoc.C: added using directive.
7388 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7390 * insetminipage.h: add pos, inner_pos, width and height. + getters
7391 and setters for all of them.
7393 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7395 * insetinclude.C (Latex): Do not exit when the textclass of the
7396 included file differ from the textclass of the parent file.
7398 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7400 * ExternalTemplate.C (read): the reading of external insets now checks
7401 for \end_inset and removes it form the input stream.
7403 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7405 * ExternalTemplate.h:
7406 * ExternalTemplate.C:
7408 * insetexternal.C: move form to GUII
7410 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7413 * insetinclude.C: add InsetIncludeParams, use
7414 composition rather than derivation of InsetCommand
7416 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7418 * insettoc.C (Ascii): use the Buffer typedefs
7420 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7422 * insettoc.C (Ascii): implement for dynamic number of lists
7424 * insetcaption.[Ch]: update from new_insets branch
7425 * insetfloat.[Ch]: ditto
7427 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7430 * figinset.C: use new File Dialog
7432 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7434 * insettext.C: changes becuase of ParagraphParameters.
7436 2001-02-28 Baruch Even <baruch@ev-en.org>
7438 * insetgraphics.C (updateInset): Changed due to the change in
7441 2001-02-26 Juergen Vigna <jug@sad.it>
7443 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7444 handled in LyXText).
7446 2001-02-23 Juergen Vigna <jug@sad.it>
7448 * insettext.C (draw): some small repainting fixes.
7449 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7451 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7452 should be) and not an int.
7454 * insettabular.C (LocalDispatch): ditto
7456 * insettext.C (LocalDispatch): ditto
7458 * insetcollapsable.C (LocalDispatch): ditto
7460 2001-02-22 Juergen Vigna <jug@sad.it>
7462 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7463 DISPATCH it and we don't have a locking_inset.
7465 2001-02-21 Baruch Even <baruch@ev-en.org>
7467 * insetgraphics.[Ch]: Changed to use
7468 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7470 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7472 * insetcollapsable.C (getLyXText): add const qualifier to second
7475 2001-02-22 Juergen Vigna <jug@sad.it>
7477 * insettext.C (getLyXText): honor the recursive parameter.
7478 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7480 * inset.C (getLyXText): added bool recursive parameter.
7482 * insettext.C (SetUpdateStatus): or the update codes.
7483 (draw): check need_update with &.
7484 (InsetButtonPress): set no_selection to not put a selection when
7485 entering an inset and it is redraws in another spot.
7487 * insettext.h: made need_update an int.
7489 2001-02-20 Baruch Even <baruch@ev-en.org>
7492 * insetgraphisc.C: Changed to use better semantics when loading images
7493 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7495 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7499 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7500 consistent with InsetTabular.
7502 2001-02-19 Juergen Vigna <jug@sad.it>
7504 * insettabular.C (LocalDispatch): implement PAGE up/down.
7506 * insettext.C (draw): clear all of it on need_update==INIT too!
7508 * insettabular.C (InsetUnlock): always clear the selection.
7510 * inset.C (scroll): normally we only want to scroll the inset until
7511 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7513 2001-02-14 Juergen Vigna <jug@sad.it>
7515 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7516 (resetPos): fixed scroll behaviour.
7517 (LocalDispatch): do an update if moving cursor inside a table cell
7518 requests a scroll of the tabular.
7520 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7522 * insettext.C (textWidth): constify local var
7524 * insettabular.C: small cleanup.
7526 * insetfoot.C (Latex): constify local var
7528 * insetcollapsable.C: small cleanup.
7530 * figinset.C (runqueue): use compare instead of strcmp
7532 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7535 * insetinfo.C: remove cruft
7537 2001-02-14 Juergen Vigna <jug@sad.it>
7539 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7541 2001-02-13 Juergen Vigna <jug@sad.it>
7543 * insettext.C (InsertInset): don't move left (is this right?)
7545 * insettabular.C (LocalDispatch): use of the no_draw variable
7547 * insettabular.h: new no_draw variable to stop redraw
7549 * insettabular.C (TabularFeatures): fixed update for alignment change
7551 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7555 * insetbib.C: move dialogs to frontends/
7557 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7559 * insettext.C (LocalDispatch): Restore the language if the inset
7562 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7564 * insettext.C (moveRightIntern): Update the selection cursor.
7565 (moveLeftIntern): Ditto.
7567 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7569 * Makefile.am: remove BoundingBox.h
7571 * BoundingBox.h: removed
7573 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7575 * insettext.C (LocalDispatch): Update selection cursor when moving
7576 cursor to the right.
7577 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7578 (moveLeftIntern): Ditto.
7580 2001-02-05 Baruch Even <baruch.even@writeme.com>
7582 * insetgraphics.C: Updated automatic image conversion, it now goes into
7583 temporary directory instead of with the image itself.
7585 2001-01-21 Baruch Even <baruch@ev-en.org>
7587 * insetgraphics.C: Added Docbook support. Added Automatic image
7588 conversion to EPS or PNG when needed (support bitmap graphics).
7590 2000-11-02 Baruch Even <baruch@ev-en.org>
7593 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7594 to '\n' and removal of commented out code.
7596 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7598 * insetbib.C (callback): Update citations if the key has changed.
7600 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7602 * insetbib.C (InsetBibKey): Better computation of default key.
7603 (getScreenLabel) Show both the key and the label.
7604 (getBibLabel): New method.
7605 (callback): Force a redraw if the inset have been changed.
7607 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7609 * insetref.C (getType, getName): Move methods from
7610 src/frontends/xforms/FormRef.C.
7612 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7614 * insettabular.C: Various improvements (use only one dummy position).
7616 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7618 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7619 par->bibkey->width. This fixes the crashes when running without
7620 gui or when having included documents.
7622 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7624 * insetcommand.C (getAsString, setFromString): Cleanup.
7626 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7628 * insetref.C: Add the array InsetRef::types that contains
7629 information about all supported reference types.
7631 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * lyxinset.h: remove trailing comma in enum.
7635 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7637 * insettext.C: kill LyXBell.