1 2005-02-25 Andreas Vox <avox@arcor.de>
3 * insetmarginal.[hC] (docbook): new method, render as <note>
5 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
7 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * insetcaption.[Ch] (doClone): implement
11 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * insetgraphics.C (prepareFile): handle non-existing files
14 * insetgraphics.C (latex): remove special handling of non-existing
17 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
20 * insettext.C: adjust metrics
22 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * insettext.C: include boost/current_function.hpp (needed when
25 assertions are disabled)
27 2005-02-20 André Pönitz <poenitz@gmx.net>
29 * insetcollapsable.C: Prevent problems on double-/
30 tripleclick on collapsable label (bug 1797).
32 2005-02-13 André Pönitz <poenitz@gmx.net>
34 * insettext.[Ch] (border_): new
35 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
38 2005-02-14 Angus Leeming <leeming@lyx.org>
40 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
41 about "truncation of constant value".
43 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
46 workaround for broken HTML converter)
48 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
50 * insetcollapsable.C (leaveInset): size() -> depth()
51 * insettabular.C (isRightToLeft): ditto
53 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * insetert.C (latex, linuxdoc, docbook): remove newline handling
56 * insetert.C (doDispatch): clean pasted paragraphs
57 * insetert.C (getStatus): suppress more lfuns
58 * insetert.C (insetAllowed): return always false
60 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
65 * updatableinset.C: Use new cursor accessors.
67 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
69 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
71 2005-01-31 Angus Leeming <leeming@lyx.org>
73 * insetgraphicsParams.C: protect a #warning preprocessor call
74 with a #ifdef WITH_WARNINGS guard.
76 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
78 * Several files: use convert<> instead of atoi,strToXXX and friends
80 2005-01-23 Angus Leeming <leeming@lyx.org>
82 * insetbibitem.h (bibitemWidest): declare the function.
84 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * insetgraphics.C (prepareFile): move the invocation of the default
87 converter to ../converter.C
88 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
89 call convert with try_default == true
91 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
94 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
95 determines what variables are substituted
96 * ExternalSupport.C (updateExternal): fix substitution of
99 2005-01-10 Angus Leeming <leeming@lyx.org>
101 * ExternalTemplate.C: use support/package.h to provide the paths to the
102 various directories used by LyX.
104 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
112 * ExternalTransforms.C (adjAngle): tostr -> convert
114 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
116 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
119 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * ExternalTransforms.C: fix LaTeX output of \scalebox.
123 * ExternalTransforms.[Ch]:
124 * insetexternal.C: store all float/double values as strings.
127 * insetgraphicsParams.C: more precise checks for the value strings.
129 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * insettext.C (doDispatch): remove unused variable was_empty
133 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * insetgraphicsParams.[Ch]: store all float/double values as strings.
138 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
140 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
142 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
145 UNSET_ALL_LINES (from Jürgen)
147 2004-12-14 Angus Leeming <leeming@lyx.org>
149 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
150 to overcome bug in the MinGW port of g++ 3.4.2.
152 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
154 * insettabular.C (getCellXPos): make it return a relative x
155 position wrt. the begin of the tabular
156 (resetPos): a couple of fixes
157 (doDispatch): add a couple of resetPos calls
158 (drawSelection): fix drawing of selection in single-cell mode
159 (draw): replace 'do not draw' optimization by 'draw with
162 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * insetbase.[Ch] (idxUpDown2): remove function
166 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * insettabular.[Ch]: use size_t-like types for cell, row and column
171 2004-12-02 José Matos <jamatos@lyx.org>
173 * insetlatexaccent.C (checkContents): remove compatibility code,
176 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
178 * insetbase.h (getStatus): add better comment from src/cursor.C
180 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
182 * insettabular.[Ch]: adjust, introduce "do not draw
183 offscreen" optimization using NullPainter, (dist): introduce,
184 (getCursorPos): implement, (drawSelection): implement
186 * insetcollapsable.[Ch]: adjust
188 * insettext.C: adjust, (metrics): set the font before calling
191 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
193 * rename a lot of InsetOld to InsetBase
195 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
198 * insettext.C: par->pit renaming
200 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
202 * Most insets: rename priv_dispatch to doDispatch
204 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * insettabular.C (tabularFeatures): fix multicolumn handling
208 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
210 * render_base.h (operator=): use common semantics
212 * insettext.C (operator=): delete this
213 (copy constructor): implement this properly
214 (init): use for_each and bind
216 (appendParagraphs): ditto
218 * insettabular.C: add more const. Adjust for changes in tabular.
220 * insetbase.h: Use NVI on clone. Add virtual doClone and update
221 all children, also make copy constructor protected. Added some
222 safe-guards to clone.
224 * insets: adjust to fit.
226 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * insetoptarg.C (latexOptional): return number of lines instead of
231 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * insettabular.[Ch] (string2params): Don't pretend to return the
234 active cell anymore and simplify keyword parsing.
236 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * insetlatexaccent.h (isLetter): implement, so that word selection
239 takes accents into account.
241 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
243 * insetcollapsable.C (priv_dispatch): do not push the inset to the
246 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * ExternalSupport.C, insetgraphics.C:
249 s/getFormatFromContents/formats.getFormatFromFile/
251 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
253 * insetcharstyle.[Ch]:
254 * insetert.[Ch]: implement getStatus
256 * insetcharstyle.C (draw): visual clue when the cursor is inside
259 2004-11-02 José Matos <jamatos@lyx.org>
261 * insetcharstyle.C (docbook):
262 * insetlabel.C (linuxdoc, docbook):
263 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
266 * insettabular.C (docbook): mixed content no longer belongs to
269 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
273 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * ExternalSupport.C (updateExternal): convert files in the temp dir
277 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * insetcharstyle.C: drawing cosmetics.
281 2004-10-30 José Matos <jamatos@lyx.org>
283 * insetcharstyle.C (docbook): a compromisse solution. Don't output
284 paragraph tags inside inline elements.
286 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
288 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
289 InsetText methods rather than outputVerbatim (escapes special
290 characters) [bug 1731]
291 * insetcharstyle.C (outputVerbatim): remove this function.
292 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
293 which caused an infinite loop.
295 2004-10-29 José Matos <jamatos@lyx.org>
297 * insetgraphics.C (uniqueID): transfered to sgml.C
299 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
301 * insetlabel.C (docbook, linuxdoc):
302 * insetref.C (docbook, linuxdoc): sanitize id.
304 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
307 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
308 * insetgraphics.C (findTargetFormat): reformat
310 2004-10-28 José Matos <jamatos@lyx.org>
312 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
314 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
316 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
318 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
320 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
321 "[,,,]" without warning message
323 2004-10-26 Angus Leeming <leeming@lyx.org>
325 * ExternalSupport.C (updateExternal):
326 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
327 external files to the temp directory.
329 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
331 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
332 layouts. This fixes problems with the memoir class (which does not
333 allow \footnote) [bug 1677]
335 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
337 * insetindex.C (docbook): escape the index, to generate correct sgml.
339 2004-10-23 José Matos <jamatos@lyx.org>
341 * insettext.C (docbook): rearrange arguments, due to change in the
344 2004-10-23 André Pönitz <poenitz@gmx.net>
346 * insettabular.C (cutSelection, tabularFereatures):
347 fix cursor position after cutting selection or table rows
349 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
351 * insetgraphics.C (docbook, writeImageObject): write more than one
352 format of imageobjects in <mediaobject>.
354 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
356 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
357 DocBook output for this inset ( <citation>content</citation> )
359 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
361 * insetgraphics.C (docbook) : using mediaobject for XML;
362 correcting bug with SGML output (now '>' instead of '/>')
364 2004-10-05 José Matos <jamatos@lyx.org>
366 * insetfloatlist.C (read):
367 * insetquotes.C (read):
368 * insetspace.C (read):
369 * insetspecialchar.C (read):
370 * insettabular.C (read): replace nextToken by more appropriate lex
373 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
375 * insetgraphics.C (createDocBookAttribute, docbook) :
376 convert scale, width, height and keepaspectratio to Docbook standards)
378 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
379 to Docbook units where possible.
381 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
383 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
385 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
386 as attributes with new method for docbook.
388 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
390 * render_preview.h: Use preferred calling of Boost.Signal
392 * pch.h: use proper signal include
394 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
396 * ExternalTransforms.h: User preferred calling of Boost.Function
398 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
400 * insetref.C (docbook): fixing problem where Docbook XML output
401 had unclosed <xref ... >
403 2004-08-16 José Matos <jamatos@lyx.org>
405 * insethfill.C (write):
406 * insetline.C (write):
407 * insetnewline.C (write):
408 * insetpagebreak.C (write): remove space at end of line.
410 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * insettabular.C (plaintext): do not use ownerPar to get the
415 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
416 and it calls getParentLanguage (which calls ownerPar)
417 (edit): do not call sanitizeEmptyText
418 (priv_dispatch): remove code resetting font on empty inset, for
419 the same reasons as above.
421 * insettabular.C (isRightToLeft): instead of using
422 BufferView::getParentLanguage, use the data from the cursor
424 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * Makefile.am: support pch
430 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * insettabular.C (draw): whitespace
434 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
436 2004-08-14 André Pönitz <poenitz@gmx.net>
438 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
440 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * insettabular.C (metrics): when the width of a cell is zero(),
443 let it use as much space as it can
445 * insettext.C (editXY): compilation fix
447 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
449 (metrics): the insets is not full width any more.
450 (draw): adjust; fix bad test for PREVIEW_OFF
451 (add_preview): fix bad test for PREVIEW_OFF
452 (display): do not return true when using \input
454 2004-08-14 José Matos <jamatos@lyx.org>
456 * insetbibitem.[Ch] (plaintext): added.
458 * insetcite.[Ch]: fix plaintext export.
460 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
462 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
465 * insetcaption.C (InsetCaption): modify call to setDrawFrame
466 * insetcollapsable.C (InsetCollapsable): ditto
467 * insetenv.C (InsetEnvironment): ditto
469 2004-08-14 André Pönitz <poenitz@gmx.net>
472 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
474 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * insetoptarg.C (latexOptional): if the optional argument contains
477 a ']' enclose it in {curly brackets}
479 * insettext.C (editXY):
480 * insettabular.C (editXY):
481 * insetcollapsable.C (editXY):
482 * insetbase.C (editXY): constify
484 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
485 not ask for an update if we did nothing; on a mouse release, make
486 sure that the cursor is moved to the right position; on a mouse
487 release, exit from the inset instead of invoking a
490 * insetbase.C (dispatch): before invoking dispatch, set cursor
491 result to dispatch=update=true.
493 2004-08-13 José Matos <jamatos@lyx.org>
495 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
497 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * insetfoot.C (latex): use OutputParams::intitle instead of
500 parOwner() (avoids time consuming lookup)
502 * insetquotes.C (latex): same as above with OutputParams::lang.
503 Moreover the code actually works now.
505 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
508 * insetinclude.C, insetgraphics.C, insetfloat.C:
509 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
510 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
511 "support/std_sstream.h" to <sstream>
513 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * insetgraphics.C (prepareFile): remove conversion_needed flag.
516 It made the following fail for a .eps graphics file:
518 2) view->pdf (pdflatex)
519 because the .eps file was already in the temp dir when the pdflatex
520 export happened and therefore no .eps -> pdf conversion was done.
522 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * insetgraphics.C, insettabular.C: s/wether/whether/g
526 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * insetgraphics.C (stripExtension): new
529 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
531 * insetgraphics.C (prepareFile): Handle "nice" exports, too
532 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
534 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * insetfloatlist.C (latex,getScreenLabel): translate according to
537 the document language (bug #1312)
539 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
541 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
542 with external_in_tmpdir and compute filename ourself
543 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
544 use it to store referenced file(s)
545 * ExternalSupport.C (writeExternal): write relative filename if
547 * ExternalTemplate.[Ch]: add ReferencedFile command
548 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
550 * insetgraphics.C (prepareFile): write relative filename if
552 * insetinclude.C (latex, docbook, linuxdoc): add file to
553 runparams.exportdata and write it to the temp dir instead of
554 writing it to the final destination
555 * insetinclude.C (docbook, linuxdoc): don't copy runparams
557 2004-05-19 Angus Leeming <leeming@lyx.org>
559 * insetcite.[Ch]: small change because namespace biblio is
560 now namespace lyx::biblio.
562 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * insettabular.[Ch] (buffer): make Buffer * argument const
566 2004-05-17 Angus Leeming <leeming@lyx.org>
568 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
569 to force the button label to be re-generated.
571 2004-05-14 José Matos <jamatos@lyx.org>
573 * insetlabel (docbook): do not ouput label, for the moment.
575 2004-05-14 Angus Leeming <leeming@lyx.org>
577 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
578 new biblio::asValidLatexString function.
580 2004-05-12 Angus Leeming <leeming@lyx.org>
582 * insetcite.C: use BufferParams::cite_engine rather than the three
583 bools, use_natbib, use_jurabib, use_numerical_citations.
585 2004-05-10 Angus Leeming <leeming@lyx.org>
587 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
588 Ditto with getStyle, moved to biblio::getEngine.
590 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
592 * insetgraphics.C (validate): remove pre 233 file format stuff,
593 handle zipped files for "nice" export
595 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * insetgraphics.C (prepareFile): copy zipped file and corresponding
598 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
599 * insetgraphics.C (prepareFile): unzip zipped file also if it has
600 changed since the last run
601 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
602 and copyFileIfNeeded.
604 2004-04-29 Angus Leeming <leeming@lyx.org>
606 * ExternalTemplate.[Ch]: remove redundant #includes.
608 2004-04-28 Angus Leeming <leeming@lyx.org>
611 s/updateToolbar()/updateToolbars()/
613 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * insetgraphics.C: require file extension (file format change!)
616 * insetgraphics.C (latex): handle zipped files for "nice" export
618 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * insetgraphics.C (latex): strip the extension and replace dots in
621 the filename if doing a "nice" export. This is a partial fix for
622 bug 1231 without reintroducing bug 655.
624 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * insetoptarg.h: remove the editable() method (InsetCollapsable
627 does it better already)
629 * insetbibtex.C (normalize_name): new helper function. Changes the
630 name to be suitable to use in a latex file (relative to master
631 buffer if necessary).
632 (latex): use normalize_name.
634 2004-04-20 Angus Leeming <leeming@lyx.org>
636 * render_preview.C (startLoading): remove lyxerr statement.
638 (getPreviewLoader): new helper function.
640 2004-04-19 Angus Leeming <leeming@lyx.org>
644 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
646 2004-04-19 Angus Leeming <leeming@lyx.org>
648 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
650 (add_preview): renamed as add_preview_and_start_loading. Invoke
651 RenderPreview::startLoading.
653 * insetinclude.C (metrics, draw): changes due to the changed
654 RenderPreview interface.
656 * render_preview.C: remove cached pimage_.
657 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
658 (draw): don't call startLoading. That's up to the user of
661 2004-04-16 Angus Leeming <leeming@lyx.org>
663 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
665 2004-04-13 Angus Leeming <leeming@lyx.org>
667 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
668 the renderer to inform LyX::updateInset that the inset's status
669 has changed and it should be redrawn.
671 * render_button.[Ch] (clone):
672 * render_graphic.[Ch] (c-tors, clone):
673 * render_preview.[Ch] (c-tors, clone): ditto.
675 * render_graphic.[Ch] (connect):
676 * render_preview.[Ch] (connect): removed, as connection is now
677 made in the constructors.
681 * insetinclude.C: ensuing simplification of the client code.
682 (statusChanged): now superfluous. Removed.
684 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * ExternalTemplate.[Ch]: remove editCommand
687 * ExternalSupport.C (editExternal): use formats.edit() instead of
688 the removed editCommand template parameter
689 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
690 * insetgraphics.[Ch] (editGraphics): new method
692 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * insetinclude.C (validate): set/reset features.buffer_ when
697 2004-04-07 Angus Leeming <leeming@lyx.org>
699 * insetexternal.C (priv_dispatch):
700 * insetinclude.C (priv_dispatch): prevent crash by invoking
701 InsetOld::priv_dispatch at the end of the switch, rather than
702 InsetOld::dispatch...
704 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
706 * insetcollapsable.C:
707 * insetbranch.C: 'assign' to open/close branch inset according to
708 selection; also print content on closed branch button
710 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
712 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
713 $$RelPath_Master, $$RelPath_Parent, $$Extension,
714 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
716 * ExternalSupport.C (updateExternal): use absolute and output
717 filename where appropriate
719 2004-04-05 André Pönitz <poenitz@gmx.net>
721 * insetbase.h: use LCursor & in notifyCursorLeave
723 2004-04-05 Angus Leeming <leeming@lyx.org>
725 * insetgraphics.C: remove unused header file "lyxrc.h".
727 * render_graphic.C: squash bug 1372: Misleading graphics label when
728 deactivating lyx view.
730 2004-04-05 Angus Leeming <leeming@lyx.org>
735 * insetlatexaccent.C:
740 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
742 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
744 * insetfloat.C (read): fix yesterday's float fix.
745 * insetwrap.C (read): apply the fixed float fix.
747 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * insetfloat.C (read): fix reading of float params
752 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
754 * insettext.C (edit): comment the call to updateLocal (dangling now)
755 * insettext.h: add allowSpellCheck() returning true
757 2004-03-31 Angus Leeming <leeming@lyx.org>
759 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
761 2004-03-31 Angus Leeming <leeming@lyx.org>
763 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
764 the cursor out of an inset.
766 * insetbranch.C (priv_dispatch):
767 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
768 use getOutOfInset to push the cursor out of the inset when
771 2004-03-30 Angus Leeming <leeming@lyx.org>
773 * insetbase.[Ch] (translate): new static member function, returns
774 an InsetBase::Code corresponding to the input string.
776 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
778 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
779 so that it opens the inset if it refers to the currently active
782 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
784 * insetfloat.C (addToToc): use par_const_iterator_begin and
785 par_const_iterator_end.
787 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
789 * insetbibtex.[Ch]: bibtopic support.
791 * insetfloat.[Ch]: add param \sideways {true|false}
792 (support for sideways floats from rotating.sty).
794 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
796 * insettext.[Ch]: add a default ctor. implement const version of
802 * insetwrap.C: adjust
804 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
806 * insettext.h: add insetAllowed returning true by default (fixing
807 vanishing insets problem)
809 * insettext.C (draw): handle the responsability of adding the
810 ouside offset to collapsable. Clean code a bit.
812 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
813 from insettext correctly, solve a couple of off-by-one drawing
816 2004-03-25 Angus Leeming <leeming@lyx.org>
818 * insetcaption.C (draw): squash warning about unused variable.
820 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
822 * ExternalSupport.C: use the master buffer's temp dir
823 * insetgraphics.C (latex): make relative filename relative to the
825 * insetgraphics.C: use the master buffer's temp dir
826 * insetinclude.C (masterFilename): new function
827 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
828 is always true if loadIfNeeded() returns true)
830 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
832 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
833 set its parent to the current buffer.
834 (latex): use the tmppath of the master buffer, not just the parent
835 buffer (makes a difference with more than one level of include
836 insets). If the file name is relative write in the .tex file a
837 name relative to the master buffer directory.
839 * insetinclude.C: rename masterFilename to parentFilename (this
840 points to the direct parent)
842 2004-03-25 André Pönitz <poenitz@gmx.net>
844 * inset.[Ch]: remover owner
846 * insetcollapsable.[Ch]: derive from InsetText instead having such a
854 * insetcharstyle.[Ch]:
862 * insetwrap.C: adjust
864 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
866 * insetquote.C: use opening quote after '[' char.
868 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
870 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
873 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
875 * insetcite.[Ch]: support jurabib.
877 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
879 * insetcite.C: Support second \cite option.
882 * insetcommandparams.[Ch]: add second optional argument.
884 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
886 * insetcollapsable.C (lfunMouseRelease): right mouse button only
887 shows the inset dialog.
889 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
891 * insetlabel.[Ch]: remove them
892 * Makefile.am: adjust
894 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
898 * insetinclude.C (latex): show a GUI warning if textclasses don't
900 * insetinclude.C: use mangledFilename() for temp files
901 * insetgraphics.C (readInsetGraphics): remove version check, since
902 the graphics inset has no own fileformat number anymore
904 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
906 * insetquotes.[Ch]: added new member that allows direct access
907 to single/double quotation marks.
909 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
911 2004-02-16 André Pönitz <poenitz@gmx.net>
914 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
915 implicitly assume 'DispatchResult(true, true) with exception of
916 InsetBase::priv_dispatch which does the equivalent of
917 'retrun DispatchResult(false)'
919 * inset*.[Ch] (priv_dispatch): adjust
921 * insettabular.[Ch]: remove remains of the 'update' mechanism,
922 simplify cursor moving function,
923 re-enable horizontal scrolling for large tables
925 2004-02-13 André Pönitz <poenitz@gmx.net>
927 * insettabular.[Ch]: some work after IU
929 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
931 * inset.C (setPosCache): switch to absolute coords in insets
932 * insettext.[Ch] (draw, drawFrame): adjust
933 * insetcollapsable.C (draw): adjust
936 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
938 * insettext.C (edit):
939 (updateLocal): use the cur argument instead of the global cursor
940 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
942 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
944 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
946 * insetfloat.C (validate): "H" -> 'H' in call to contains
948 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
950 2004-01-30 André Pönitz <poenitz@gmx.net>
954 * insetcollapsable.[Ch]:
957 * insetgraphics.[Ch]:
962 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
965 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
967 * insettabular.C: add using statement for std::vector, remove
968 std:: where using was already used.
970 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
972 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
974 * insetinclude.C (validate): use feautures.nice() instead of
977 2004-01-20 André Pönitz <poenitz@gmx.net>
980 * insetbase.[Ch]: move stuff from mathcursor here.
986 * insetcharstyle.[Ch]:
987 * insetcollapsable.[Ch]:
990 * insetexternal.[Ch]:
992 * insetgraphics.[Ch]:
1001 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1004 2004-01-15 André Pönitz <poenitz@gmx.net>
1007 * insetbibitem.[Ch]:
1011 * insetcharstyle.[Ch]:
1012 * insetcollapsable.[Ch]:
1013 * insetcommand.[Ch]:
1015 * insetexternal.[Ch]:
1017 * insetgraphics.[Ch]:
1018 * insetinclude.[Ch]:
1022 * insettabular.[Ch]:
1026 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1028 2004-01-08 André Pönitz <poenitz@gmx.net>
1030 * insetcollapsable.[Ch]:
1031 * insettabular.[Ch]:
1033 * updatableinset.h: use cell index info from global cursor.
1035 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1037 * insetnote.C (InsetNoteParams::write): write label only once
1039 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1041 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1043 get rid of the SameName functor
1045 * insettabular.C: improve the functor.
1047 2003-12-29 Angus Leeming <leeming@lyx.org>
1049 * insetexternal.C (setParams): update defaultTemplateName.
1051 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1053 * insetbox.C: Use term "Box" in button label
1055 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1057 * insetcharstyle.C: get getDrawFont working again
1059 2003-12-15 André Pönitz <poenitz@gmx.net>
1061 * insettabular.[Ch]:
1062 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1064 2003-12-12 Angus Leeming <leeming@lyx.org>
1066 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1068 (InsetBranchParams): remove the branchlist hack.
1069 (isBranchSelected): new function, used to decide whether to
1070 print each output format. Also used by InsetList.
1071 (read, string2params): repair my own breakage ;-)
1073 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1075 * insetminipage.[Ch]: remove from repository.
1077 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1080 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1081 insetert to insetcollapsable; introduce virtual function
1082 setButtonLabel and invoke it from collapsable
1084 2003-12-12 Angus Leeming <leeming@lyx.org>
1086 * insetinclude.C (draw): cache x,y and so enable the
1087 dialog to be opened.
1089 2003-12-12 Angus Leeming <leeming@lyx.org>
1091 * mailinset.C (print_mailer_error): tidy up the output.
1093 2003-12-11 Angus Leeming <leeming@lyx.org>
1095 * mailinset.[Ch] (print_mailer_error): new helper function.
1097 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1098 calling InsetCommandMailer.
1099 (InsetCommandMailer::string2params): pass the name of the dialog.
1101 * insetbibitem.[Ch] (d-tor):
1102 * insetbibtex.[Ch] (d-tor):
1103 * insetcite.[Ch] (d-tor):
1104 * insetfloatlist.[Ch] (d-tor):
1105 * insetindex.[Ch] (d-tor):
1106 * insetlabel.[Ch] (d-tor):
1107 * insetref.[Ch] (d-tor):
1108 * insettoc.[Ch] (d-tor):
1109 * inseturl.[Ch] (d-tor): removed.
1110 Hiding the dialog is handled by InsetCommand.
1112 * insetbibtex.[Ch] (draw, metrics):
1113 * insetfloatlist.[Ch] (draw, metrics):
1114 * insetindex.[Ch] (draw, metrics): removed.
1115 Drawing is handled by InsetCommand.
1117 * insetbibitem.[Ch] (priv_dispatch):
1118 * insetbibtex.[Ch] (priv_dispatch):
1119 * insetcite.[Ch] (priv_dispatch):
1120 * insetfloatlist.[Ch] (priv_dispatch):
1121 * insetindex.[Ch] (priv_dispatch):
1122 * insetlabel.[Ch] (priv_dispatch):
1123 * insettoc.[Ch] (priv_dispatch):
1124 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1125 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1126 LFUN_INSET_DIALOG_SHOW.
1128 * insetbox.C (string2params):
1129 * insetbranch.C (string2params):
1130 * insetert.C (string2params):
1131 * insetexternal.C (string2params):
1132 * insetfloat.C (string2params):
1133 * insetinclude.C (string2params):
1134 * insetminipage.C (string2params):
1135 * insetnote.C (string2params):
1136 * insetvspace.C (string2params):
1137 * insetwrap.C (string2params): over-hauled.
1139 2003-12-10 Angus Leeming <leeming@lyx.org>
1141 * insetexternal.[Ch]: add a draft option and respect it when
1144 2003-12-10 Angus Leeming <leeming@lyx.org>
1146 * insetbox.C: (read, write): now prepend the inset contents with
1147 'Box' to identify the inset as a box inset.
1149 * insetbox.h: move the translators out of sight.
1151 2003-12-10 Angus Leeming <leeming@lyx.org>
1153 * insetert.C (string2params): clean-up using the new lyxlex interface.
1155 * insetexternal.C: ensure that InsetExternalParams has a default
1156 template, 'RasterImage'.
1158 2003-12-10 Angus Leeming <leeming@lyx.org>
1160 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1161 to an enum. Ensuing clean-ups through out the class.
1162 (read, write): now prepend the inset contents with 'Note' to identify
1163 the inset as a note inset.
1165 2003-12-10 Angus Leeming <leeming@lyx.org>
1167 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1168 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1170 2003-12-10 André Pönitz <poenitz@gmx.net>
1174 * insettabular.[Ch]:
1175 * insettext.[Ch]: remove unused insetInset()
1177 * insetert.C: disable some LFUNs
1179 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1181 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1183 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1185 2003-12-04 Angus Leeming <leeming@lyx.org>
1187 * insetexternal.C (draw): update the xo_, yo_ cache.
1189 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1191 (RotationDataType): new helper struct wrapping the
1192 RotationData::OriginType enum.
1194 2003-12-03 André Pönitz <poenitz@gmx.net>
1196 * inset.h: remove getParagraphs()
1198 * insetcollapsable.[Ch]:
1201 * insettabular.[Ch]:
1202 * insettext.C: use getText() instead of getParagraphs()
1204 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1206 * insetert.C: fix label text updating bug
1208 2003-12-02 Angus Leeming <leeming@lyx.org>
1210 * insetvspace.[Ch] (space): new member function. Make space_ private.
1211 (read): use the new, simpler lyxlex syntax.
1213 2003-12-01 André Pönitz <poenitz@gmx.net>
1215 * insetcollapsable.[Ch]:
1216 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1218 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * insetvspace.C (read): handle 'end_inset' token.
1222 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1224 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1226 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1228 * insetcollapsable.[Ch]:
1230 * insetcharstyle.C: place inset content on the button when
1233 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1235 * insetvspace.C: remove VSpace::NONE; increase inset width
1237 2003-12-01 André Pönitz <poenitz@gmx.net>
1239 * insetbase.h: whitespace
1241 * inset.[Ch]: remove latexTextWidth
1242 make setBackgroundColor virtual
1244 * insettext.[Ch]: move ParagraphList member to LyXText
1246 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1252 * insetminipage.[Ch]:
1254 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1256 2003-11-28 Angus Leeming <leeming@lyx.org>
1258 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1259 hiding and showing the dialog respectively.
1260 (priv_dispatch): also actually update the inset contents.
1262 2003-11-28 Angus Leeming <leeming@lyx.org>
1264 * insetbox.C (d-tor):
1265 * insetbranch.C (d-tor):
1266 * insetcite.C (d-tor):
1267 * insetfloat.C (d-tor):
1268 * insetfloatlist.C (d-tor):
1269 * insetinclude.C (d-tor):
1270 * insetindex.C (d-tor):
1271 simplify the invocation of the Mailer::hideDialog() function.
1273 * insetminipage.C (showInsetDialog):
1274 simplify the invocation of the Mailer::showialog() function.
1276 2003-11-28 André Pönitz <poenitz@gmx.net>
1279 * insetvspace.[Ch]: new insets
1281 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1283 * insetcharstyle.C: Syntax change for CharStyles
1285 2003-11-28 André Pönitz <poenitz@gmx.net>
1287 * updatableinset.h: remove insetInInsetY
1289 * insetcollapsable.[Ch]:
1291 * insettabular.[Ch]:
1292 * insettext.[Ch]: adjust
1294 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1298 * insetcollapsable.[Ch]:
1300 * insettabular.[Ch]: remove setFont
1302 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1304 * render_graphic.[Ch]: adjust comments
1306 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1308 * insetgraphics.C (draw): cache xo_ & yo_
1310 2003-11-24 André Pönitz <poenitz@gmx.net>
1312 * insettext.C (setViewCache): don't call LyXText::init() anymore
1314 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1317 * insetcollapsable.[Ch]:
1318 * insetert.[Ch]: remove bufferview parameter in methods
1319 open, close, status, and updateStatus.
1321 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1323 * insetcollapsable.[Ch]:
1324 * insettabular.[Ch]:
1325 * insettext.[Ch] (getCursorDim): squash unused variable
1327 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1329 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1331 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1333 * insettext.C (draw): sets LyXText absolute coordinates
1335 2003-11-20 Angus Leeming <leeming@lyx.org>
1337 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1338 warnings about unused parameters.
1340 * insetcollapsable.C (open):
1341 * insettabular.C (pasteSelection):
1342 * insettoc.C (draw): ditto.
1344 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1346 * insetcollapsable.C:
1348 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1349 remove mouse_x mouse_y etc.
1351 2003-11-17 André Pönitz <poenitz@gmx.net>
1353 * insettext.[Ch] (cx, cy): remove
1355 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1357 2003-11-13 André Pönitz <poenitz@gmx.net>
1360 * insetcollapsable.[Ch]:
1361 * insettabular.[Ch]:
1362 * insettext.[Ch] (deleteLyXText): remove
1364 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1366 * insetcollapsable.[Ch] (fitInsetCursor): remove
1367 * insettabular.[Ch] (fitInsetCursor): remove
1368 * insettext.[Ch] (fitInsetCursor): remove
1369 * updatableinset.[Ch] (fitInsetCursor): remove
1370 (getCursorDIm): add virtual
1372 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1374 * src/insets/Makefile.am:
1375 * src/insets/inset.h:
1376 * src/insets/insetcharstyle.C:
1377 * src/insets/insetcharstyle.h: The Character Style /XML short
1380 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1382 * insettext.C: remove all update calls
1383 * insetcollapsable.C: remove all update calls
1385 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1387 * insettext.C (updateLocal, insertInset, setFont): remove
1390 2003-11-10 André Pönitz <poenitz@gmx.net>
1392 * inset.h: remove Inset::id_
1394 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1399 2003-11-10 André Pönitz <poenitz@gmx.net>
1403 * insetcollapsable.[Ch]:
1407 * insettabular.[Ch]:
1410 * updatableinset.[Ch]: remove inset locking & adjust
1412 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1414 * inset.h (allowSpellCheck): add (return true)
1415 * insetert.h (allowSpellCheck): add (return false)
1417 2003-11-05 José Matos <jamatos@lyx.org>
1423 * insetcaption.[Ch]:
1425 * insetcollapsable.[Ch]:
1426 * insetcommand.[Ch]:
1429 * insetexternal.[Ch]:
1431 * insetfloatlist.[Ch]:
1433 * insetgraphics.[Ch]:
1435 * insetinclude.[Ch]:
1438 * insetlatexaccent.[Ch]:
1441 * insetmarginal.[Ch]:
1442 * insetminipage.[Ch]:
1443 * insetnewline.[Ch]:
1446 * insetpagebreak.[Ch]:
1450 * insetspecialchar.[Ch]:
1451 * insettabular.[Ch]:
1453 * insettheorem.[Ch]:
1456 * insetwrap.[Ch]: rename ascii to plaintext
1457 and LatexRunParams to OutputParams.
1459 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1461 * insetcollapsable.C (edit): add open() all
1462 * insettext.C (edit): add setViewCache call
1464 2003-11-04 André Pönitz <poenitz@gmx.net>
1466 * inset.h (edit): move locking code from dispatch() to edit()
1472 * insetcollapsable.[Ch]:
1475 * insetexternal.[Ch]:
1476 * insetgraphics.[Ch]:
1481 * insettabular.[Ch]:
1482 * insettext.[Ch]: adjust
1484 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1487 * insetcollapsable.[Ch]:
1489 * insettabular.[Ch]:
1491 * updatableinset.[Ch]: remove dead search code
1493 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1496 * insetcollapsable.[Ch]:
1498 * insettabular.[Ch]:
1500 * updatableinset.[Ch]: remove dead spellcheck code
1502 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1504 * insettabular.C (lockInsetInInset): small fix
1506 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1508 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1509 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1510 from here. Be stricter on DispatchResult returned.
1512 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * Inset::dispatch's: adjust for new DispatchResult semantics.
1516 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1518 * render_base.h: make clone return an auto_ptr
1519 * render_button.C (clone): adjust
1520 * render_graphic.C (clone): adjust
1521 * render_preview.C (clone): adjust
1523 * insettheorem.C (clone): return an auto_ptr
1525 * insettext.C (priv_dispatch): exception safety
1527 * insettabular.C: store the file scope variable paste_tabular in a
1528 scoped_ptr, adjust usage.
1530 * insetexternal.C (setParams): exception safety
1532 * insetbibitem.C (clone): exception safety
1534 2003-11-03 André Pönitz <poenitz@gmx.net>
1537 * insetcollapsable.[Ch]:
1538 * insettabular.[Ch]:
1539 * insettext.[Ch]: remove Inset::id and related functions
1541 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * insets: adjust for DispatchResult changes.
1545 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1547 * insetpagebreak.C: fix screen representation & ascii output.
1549 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1553 * insettabular.[Ch]:
1554 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1556 2003-10-31 José Matos <jamatos@lyx.org>
1558 * inset.h (ascii, linuxdoc, docbook):
1559 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1560 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1561 * insetcaption.[Ch] (ascii, docbook):
1562 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1563 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1564 * insetert.[Ch] (ascii, linuxdoc, docbook):
1565 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1566 * insetfloat.[Ch] (linuxdoc, docbook):
1567 * insetfloatlist.[Ch] (ascii):
1568 * insetfoot.[Ch] (docbook):
1569 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1570 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1571 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1572 * insetindex.[Ch] (docbook):
1573 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1574 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1575 * insetline.[Ch] (ascii, linuxdoc, docbook):
1576 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1577 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1578 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1579 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1580 * insetref.[Ch] (ascii, linuxdoc, docbook):
1581 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1582 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1583 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1584 * insettext.[Ch] (ascii, linuxdoc, docbook):
1585 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1586 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1587 * insetwrap.[Ch] (docbook):
1588 add LatexRunParams argument.
1590 2003-10-30 José Matos <jamatos@lyx.org>
1592 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1594 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * updatableinset.C (priv_dispatch):
1597 * insetwrap.C (priv_dispatch):
1598 * inseturl.C (priv_dispatch):
1599 * insettoc.C (priv_dispatch):
1600 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1601 (moveLeftIntern, moveUp, moveDown):
1602 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1603 (moveLeft, moveUp, moveDown):
1604 * insetref.C (priv_dispatch):
1605 * insetnote.C (priv_dispatch):
1606 * insetminipage.C (priv_dispatch):
1607 * insetlabel.C (priv_dispatch):
1608 * insetindex.C (priv_dispatch):
1609 * insetinclude.C (priv_dispatch):
1610 * insetgraphics.C (priv_dispatch):
1611 * insetfloatlist.C (priv_dispatch):
1612 * insetfloat.C (priv_dispatch):
1613 * insetexternal.C (priv_dispatch):
1614 * insetert.C (priv_dispatch):
1615 * insetcommand.C (priv_dispatch):
1616 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1617 * insetcite.C (priv_dispatch):
1618 * insetbranch.C (priv_dispatch):
1619 * insetbox.C (priv_dispatch):
1620 * insetbibtex.C (priv_dispatch):
1621 * insetbibitem.C (priv_dispatch):
1622 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1624 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1626 * insettext.C: small refactoring of docbook stuff
1628 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1630 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1631 (priv_dispatch): adjust for operator dispatch_result_t removal
1633 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1634 in a DispatchResult, adjust accordingly.
1635 (priv_dispatch): use strange >= construct... (will be removed later)
1637 * most insets: dispatch_result -> DispatchResult
1639 * insetbase.h: move DispatchResult out to dispatchresult.h
1641 2003-10-27 André Pönitz <poenitz@gmx.net>
1643 * insetpagebreak.[Ch]: new inset for page breaks
1645 * insetline.[Ch]: new inset for vertical lines
1650 2003-10-25 Angus Leeming <leeming@lyx.org>
1652 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1653 new virtual member functions, specialised...
1654 * render_button.h (asButton):
1655 * render_graphic.h (asGraphic):
1656 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1658 * insetexternal.C: use these new functions rather than dynamic_cast.
1659 Various other small simplifications.
1661 2003-10-22 Angus Leeming <leeming@lyx.org>
1663 * insetexternal.[Ch]: add the ability to 'preview' the external file
1666 * insetinclude.C: changes due to the changes in the RenderPreview
1669 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1670 message if the preview image is not available. Only initiate the
1671 loading of the preview from draw(). Ditto, start the monitoring
1672 of an external file from RenderMonitoredPreview::draw.
1674 2003-10-22 Angus Leeming <leeming@lyx.org>
1676 * insetcite.[Ch] (setLoadingBuffer): removed.
1677 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1678 ascertain whether to proceed with the (expensive) task of computing
1679 the natbib-style label. Remove the home-grown hack providing
1680 similar functionality.
1682 2003-10-22 Angus Leeming <leeming@lyx.org>
1684 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1685 class and into an anonymous namespace.
1687 2003-10-22 Angus Leeming <leeming@lyx.org>
1689 * insetcommand.h: remove the display method.
1693 * insetindex.h (InsetPrintIndex):
1694 * insettoc.h: add a display method, returning true.
1696 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1698 * insetcollapsable.h:
1702 * insetinclude.h: (1) finish off the inset display() work;
1703 (2) fix the "is a bit silly" bug (accessing char
1706 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1710 * insetfootlike.h: re-introduce display() for insets,
1711 fixing the various bugs (stretch of line above, math inset
1714 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * insetbase.C (dispatch): new func
1717 (priv_dispatch): new func replaces...
1718 (localDispatch): this, deleted.
1720 * all insets with dispatch modified for new code.
1722 2003-10-15 André Pönitz <poenitz@gmx.net>
1724 * insetcollapsable.[Ch]
1726 * inset.h: re-add some edit(bv, index) method called by undo
1728 2003-10-14 Angus Leeming <leeming@lyx.org>
1730 * insetexternal.[Ch] (view, cache, view_):
1731 * insetgraphics.[Ch] (view, cache, view_):
1732 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1733 (statusChanged): call LyX::cref().updateInset.
1735 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1736 the BufferView cache.
1738 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1741 2003-10-14 Angus Leeming <leeming@lyx.org>
1743 * insetinclude.C (metrics, draw): only draw the preview when previews
1746 2003-10-14 André Pönitz <poenitz@gmx.net>
1748 * insetcollapsable.[Ch]:
1749 * insettabular.[Ch]:
1751 * inset.h: getText() as alternative to getParagraphs()
1753 2003-10-13 Angus Leeming <leeming@lyx.org>
1756 * insetgraphicsParams.C: displayTranslator is now a function.
1758 2003-10-13 Angus Leeming <leeming@lyx.org>
1760 * insetinclude.C: remove #include "PreviewImage.h".
1762 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * ExternalSupport.C:
1765 * ExternalTransforms.C:
1767 * insetbox.h: ws changes only
1769 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1771 * insetinclude.C (localDispatch): do not call
1772 InsetOld::localDispatch, just return UNDISPATCHED
1773 * insetgraphics.C (localDispatch): ditto
1774 * insetcommand.C (localDispatch): ditto
1776 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * inset.h: get rid of RESULT typedef for dispatch_result
1780 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1781 * insetert.[Ch] (localDispatch): ditto
1782 * insettabular.[Ch] (localDispatch): ditto
1787 * insettext.[Ch] (localDispatch): ditto
1790 (moveRightIntern): ditto
1791 (moveLeftIntern): ditto
1794 * updatableinset.[Ch] (localDispatch): ditto
1796 2003-10-12 Angus Leeming <leeming@lyx.org>
1798 * renderbase.h (view, view_): removed.
1799 * renderbase.C: removed.
1800 * Makefile.am: remove render_base.C. The shortest lived file in
1803 * renderbutton.C (draw):
1804 * render_graphic.C (draw): don't cache the BufferView.
1806 * insetabase.h (cache, view): removed.
1808 * inset.h (generatePreview) removed.
1810 * insetcallapsable.[Ch] (cache, view, view_): removed.
1812 * insetcollapsable.C (draw): don't cache the BufferView.
1814 * insetcommand.[Ch] (view): removed.
1816 * insetexternal.[Ch] (cache, view, view_):
1817 * insetgraphics.[Ch] (cache, view, view_):
1818 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1820 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1821 when you have direct access to it. In fact, don't use the cache at all.
1823 2003-10-10 Angus Leeming <leeming@lyx.org>
1825 * insetinclude.C (metrics): use preview_->metrics.
1826 (draw): use preview_->draw.
1828 * render_preview.[Ch] (pimage): removed.
1830 2003-10-10 Angus Leeming <leeming@lyx.org>
1832 * renderers.[Ch]: removed.
1835 * render_button.[Ch]:
1836 * render_graphic.[Ch]:
1837 * render_preview.[Ch]: new files. The first three are split out of
1838 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1839 contains a re-worked InsetInclude::PreviewImpl also.
1841 * Makefile.am: reflect the changed files.
1844 * insetexternal.[Ch]:
1845 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1847 * insetinclude.[Ch]: changes reflecting the change from
1848 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1854 * inseturl.C: add #include "support/std_ostream.h"
1856 2003-10-09 Angus Leeming <leeming@lyx.org>
1858 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1859 to PreviewedInset::previewReady.
1861 2003-10-09 Angus Leeming <leeming@lyx.org>
1863 * insetexternal.[Ch] (statusChanged):
1864 * insetgraphics.[Ch] (statusChanged): make a const member function.
1866 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1869 2003-10-09 Angus Leeming <leeming@lyx.org>
1871 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1872 to PreviewedInset's previewReady and removePreview member functions.
1874 2003-10-08 André Pönitz <poenitz@gmx.net>
1876 * insetcollapsable.C:
1877 * insettext.[Ch]: saner 'init' structure
1879 * updatableinset.[Ch]: remove unneeded code
1881 2003-10-08 Angus Leeming <leeming@lyx.org>
1883 Fix doxygen warnings.
1885 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1886 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1888 2003-10-07 Angus Leeming <leeming@lyx.org>
1890 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1891 be applied to InsetExternal.
1893 * Makefile.am: add these new files.
1895 * ExternalTemplate.[Ch]: add a list of available transforms to
1896 class Template and a list of factory functions for transformer classes
1897 that can act on this data to class Format.
1899 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1901 * ExternalSupport.C: Add code to replace transform placeholders
1902 with appropriate output.
1904 2003-10-07 Angus Leeming <leeming@lyx.org>
1906 * ExternalSupport.[Ch]: new files, moving the private member functions
1907 and namespace anon functions out of insetexternal.C to here, so making
1908 it easier to understand what is going on in insetexternal itself.
1910 * Makefile.am: add new files.
1912 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1913 allowing the class to be forward declared. (Also consistent with
1914 all other Params classes.)
1915 (write): moved out of the class. Move this function and those in
1916 namespace anon to ExternalSupport.[Ch].
1918 2003-10-07 Angus Leeming <leeming@lyx.org>
1920 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1921 non-const member function.
1923 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1928 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1930 2003-10-02 André Pönitz <poenitz@gmx.net>
1932 * insettext.C (read): make sure there is at least one par
1933 in the text after reading.
1935 2003-10-01 José Matos <jamatos@lyx.org>
1937 * insetbranch.C (linuxdoc, docbook): minor fix.
1939 2003-10-01 Angus Leeming <leeming@lyx.org>
1941 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1943 * insetexternal.[Ch]: changes due to the introduction of
1944 namespace lyx::external.
1946 2003-09-30 Angus Leeming <leeming@lyx.org>
1948 * insetexternal.[Ch] (Params::read, write): new member functions.
1950 2003-09-25 Angus Leeming <leeming@lyx.org>
1952 * insetexternal.[Ch] (TempName): new (private) nested struct with
1953 fake copy semantics. Enables us to use the generated copy c-tor
1954 in the Params struct.
1955 (Params::templatename, Params::tempname): use accessor functions.
1957 2003-09-25 Angus Leeming <leeming@lyx.org>
1959 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1960 function, returning a const pointer.
1962 2003-09-23 Angus Leeming <leeming@lyx.org>
1964 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1965 store them in a vector, preambleNames.
1967 * insetexternal.C (validate): loop over all preambleNames and call
1968 LaTeXFeatures::addExternalPreamble with each.
1970 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1972 * insetbranch.C: bug fix in branches
1974 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1976 * insetnote.C: small clean-up.
1978 2003-09-19 Angus Leeming <leeming@lyx.org>
1980 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1982 * insetcommand.C (string2params): clear params using the default c-tor.
1984 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1985 InsetInclude::Params. No more data in this struct than in
1986 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1987 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1988 (clone): remove #warning as it's now redundant.
1989 (set): add a 'Buffer const &' arg. Make private.
1990 (loadIfNeeded) move out of the class definition and into namespace anon.
1991 (getMasterFilename, getFileName): ditto.
1993 2003-09-18 Angus Leeming <leeming@lyx.org>
1995 * insetcommand.C (setParams): use the params' copy constructor.
1997 2003-09-18 Angus Leeming <leeming@lyx.org>
1999 * insetinsetbase.h (getLabelList):
2000 * insetinsetcollapsable.[Ch] (getLabelList):
2001 * insetinsetinclude.[Ch] (getLabelList):
2002 * insetinsetlabel.[Ch] (getLabelList):
2003 * insetinsettabular.[Ch] (getLabelList):
2004 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2005 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2007 2003-09-18 Angus Leeming <leeming@lyx.org>
2009 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2010 redundant baggage from yesteryear.
2011 Remove Params::flag as it is redundant; the info is present in
2014 2003-09-18 Angus Leeming <leeming@lyx.org>
2016 * insetinclude.C (latexString): add a Buffer const & arg.
2018 2003-09-18 Angus Leeming <leeming@lyx.org>
2023 * insettext.h: rename EnumLColor as LColor_color.
2025 2003-09-18 Angus Leeming <leeming@lyx.org>
2027 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2028 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2030 2003-09-16 Angus Leeming <leeming@lyx.org>
2032 * insetinclude.C (localDispatch): ensure that
2033 params_.masterFilename_ is set before trying to generate a
2034 preview, else we trigger an assert.
2036 2003-09-16 Angus Leeming <leeming@lyx.org>
2038 * insetinclude.C (PreviewImpl::parent): return a const reference.
2040 2003-09-16 Angus Leeming <leeming@lyx.org>
2042 * insetcollapsable.[Ch]: make all member variables, except for
2045 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2046 than access labelfont directly.
2047 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2048 use InsetCollapsable::setCollapsed, isOpen rather than access
2049 collapsed_ directly.
2051 * insetminipage.C (metrics):
2052 * insetnote.C (metrics):
2053 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2054 access collapsed_ directly.
2056 2003-09-16 Angus Leeming <leeming@lyx.org>
2058 * insetbibitem.C: add #include "lyxfont.h".
2060 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * insetbibtex.C: use namespace alias for lyx::support::os
2065 2003-09-16 Angus Leeming <leeming@lyx.org>
2067 * insetcollapsable.h: remove unused framecolor variable.
2068 Remove #include "LColor.h".
2070 * insetcollapsable.C: remove unused framecolor variable.
2073 * insetcollapsable.C:
2081 Add #include "LColor.h".
2083 2003-09-16 Angus Leeming <leeming@lyx.org>
2085 * insettext.[Ch] (frameColor): new accessor function.
2086 (frame_color_): stored as an int, allows us to remove #include
2087 "LColor.h" from insettext.h
2092 add #include "LColor.h".
2094 * insetcollapsable.h: add #include "LColor.h"
2095 (for its framecolor member variable).
2097 2003-09-16 Angus Leeming <leeming@lyx.org>
2099 * insetenv.C (constructor): use accessor functions to access
2100 InsetText variables.
2102 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2103 rename frame_color as frame_color_. Make private.
2105 * insettext.C: associated changes.
2107 2003-09-16 Angus Leeming <leeming@lyx.org>
2109 * inset.h: store background_color_ as an int, not as an
2110 LColor::color to get LColor.h out of the header file.
2113 * insetlatexaccent.C:
2116 * insetspecialchar.C:
2118 add #include "LColor.h".
2120 2003-09-16 Angus Leeming <leeming@lyx.org>
2122 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2123 cannot string calls together.
2125 2003-09-15 Angus Leeming <leeming@lyx.org>
2127 * inset.[Ch] (setBackgroundColor, backgroundColor):
2128 * insettext.[Ch] (setFrameColor):
2129 pass EnumLColor args, rather than LColor::color ones.
2131 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * insetwrap.C: remove usage of STRCONV
2143 2003-09-15 Angus Leeming <leeming@lyx.org>
2145 * renderers.C (draw):
2146 * insetlatexaccent.C (draw): explicitly define the color passed to
2149 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2151 * insettext.C: remove block causing problems in lockInsetInInset
2152 (mentioned erroneously under Bug #1366)
2154 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2156 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2159 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2161 * several files: change Assert to BOOST_ASSERT
2163 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2165 * insettext.[Ch]: remove drawText[XY]Offset
2167 2003-09-08 Angus Leeming <leeming@lyx.org>
2169 * insetcollapsable.C:
2174 * insetspecialchar.C:
2177 * insettoc.C: remove redundant using directives.
2179 2003-09-07 Angus Leeming <leeming@lyx.org>
2182 * insetspecialchar.h: remove #include "support/std_string.h".
2184 2003-09-06 Angus Leeming <leeming@lyx.org>
2186 * renderers.C: add #include "insets/inset.h"
2188 2003-09-05 Angus Leeming <leeming@lyx.org>
2190 * *.C: strip out redundant #includes. (193 in total.)
2192 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2194 * insets/insetbibtex.[Ch]:
2195 * insets/insetcommand.h:
2196 * insets/insetfloatlist.[Ch]:
2197 * insets/insetinclude.[Ch]:
2198 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2199 of insets like bibtex, include, toc and floatlist to the visible
2200 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2201 up the dialogs. Cursor has to be in front of the inset (i.e.
2202 start of row) for this to function.
2204 2003-09-04 Angus Leeming <leeming@lyx.org>
2206 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2207 structure outside of the Format struct. Format::preambleName refers to
2208 an item in the map of all preamble snippets.
2209 Make use of the new Debug::EXTERNAL flag.
2211 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2212 (validate): Small change due to the changed storage of preamble
2215 2003-09-04 Angus Leeming <leeming@lyx.org>
2217 * insetgraphics.C: #include "support/os.h"
2219 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2220 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2221 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2223 * insetcollapsable.h:
2225 * insetnote.C: move #include "funcrequest.h" out of the header file.
2227 2003-09-03 Angus Leeming <leeming@lyx.org>
2229 * insetexternal.C (updateExternal):
2230 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2233 2003-09-03 Angus Leeming <leeming@lyx.org>
2235 * insetexternal.C: don't bring namespace lyx::support into the global
2238 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2240 * insetbranch.C: Add Branch: to label
2242 2003-09-02 John Levon <levon@movementarian.org>
2245 * insettext.C: remove cursor.i[xy]()
2247 2003-08-28 Angus Leeming <leeming@lyx.org>
2249 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2250 "sh ", enabling the conversion to be carried out even if the script
2253 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2255 * most files: change to use const Buffer refs
2257 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2259 * insetfootlike.C: whitespace.
2261 2003-08-26 John Levon <levon@movementarian.org>
2265 * insetindex.h: remove remaining mentions of needFullRow()
2267 2003-08-26 André Pönitz <poenitz@gmx.net>
2273 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2275 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2277 * insetbranch.C: Small fix to prevent a crash on loading.
2279 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2284 * insetcollapsable.h:
2286 * insetfloatlist.[Ch]:
2287 * insetfootlike.[Ch]:
2288 * insetinclude.[Ch]:
2294 * insettheorem.[Ch]:
2295 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2296 altogether, putting the logic in metrics/draw in the insets.=20
2297 Draws short single row insets with more or less realistic metrics.
2299 2003-08-19 André Pönitz <poenitz@gmx.net>
2301 * insettext.C: use new RowPainter interface
2303 2003-08-18 John Levon <levon@movementarian.org>
2305 * insetref.C: require amsmath for eqref
2307 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2311 * insetbranch.[Ch]: implements the 'branch inset'
2312 idea. This allows the output of various versions of a document
2313 from a single source version, selectively outputing or suppressing
2314 output of parts of the text.
2315 This implementation contains a 'branch list editor' in a separate
2316 tab of the document settings dialog. Branches are user definable
2317 and have a "display colour" to distinguish them on-screen.
2319 ColorHandler was somewhat cleaned up.
2320 (1) make possible a dynamically growing LColor list by allowing
2321 the graphic context cache to grow along (vector);
2322 (2) eliminate an IMHO unnecessary step in colour allocation.
2324 2003-08-15 André Pönitz <poenitz@gmx.net>
2326 * insettext.[Ch]: adjust after rowlist split
2328 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2330 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2331 rename valign-center to valign-middle;
2332 rename VALIGN_CENTER to VALIGN_MIDDLE
2334 2003-08-11 André Pönitz <poenitz@gmx.net>
2336 * inset.h: remove resizeLyXText
2339 * insetcollapsable.[Ch]:
2341 * insettabular.[Ch]: adjust
2343 * insettext.[Ch]: remove saveLyXTextState,
2344 restoreLyXTextStat, sstate, reinitLyXText
2346 2003-08-07 André Pönitz <poenitz@gmx.net>
2348 * inset.[Ch]: move non-crucial functions out-of-line
2350 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2351 remove duplicated code.
2353 2003-08-05 André Pönitz <poenitz@gmx.net>
2356 * insetcollapsable.[Ch]:
2366 * insettabular.[Ch]:
2369 * updatableinset.[Ch]: rip out "deep update"
2371 * insettext.C (localDispatch): merge cases with default branch
2373 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2375 * insettabular.[Ch] (updateLocal): simplify logic
2377 2003-08-04 André Pönitz <poenitz@gmx.net>
2379 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2380 is 'FULL' all the time.
2382 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2384 * insetert.C (get_new_label): only add ... to the (closed) label
2385 when the string has been shortened
2387 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2389 * Always use std::endl with lyxerr
2391 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2393 * insetnote.C: update \author list
2395 2003-07-31 André Pönitz <poenitz@gmx.net>
2397 * insetcollapsable.h:
2398 * insettabular.[Ch]:
2399 * insettext.[Ch]: remove toggleSelection
2401 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2403 (with help from Juergen Spitzmueller)
2404 * insetnote.C: add add i18n support. Use Prefs-definable
2405 colours for Comment and Greyedout.
2407 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2409 * insetcollapsable.[Ch]:
2411 * insetert.C: factor out the detection of clicking on the inset
2412 button as 'hitButton'. John Levon contributed.
2414 2003-07-30 André Pönitz <poenitz@gmx.net>
2416 * insetcollapsable.C:
2418 * insettabular.C: parantheses, localize vars etc.
2420 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2422 * insetnote.C: Implement a newenvironment in preamble for
2423 greyedout. Patch provided by Jürgen Spitzmüller.
2425 2003-07-29 Angus Leeming <leeming@lyx.org>
2427 * insetcommand.C (localDispatch): default to
2428 InsetOld::localDispatch.
2430 * insetbibitem.C (localDispatch):
2431 * insetbibtex.C (localDispatch): remove call to
2432 ChangeCitationsIfUnique.
2434 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2436 * insetexternal.C (read): use pushpophelper.
2438 2003-07-28 José Matos <jamatos@lyx.org>
2440 * insetext.C (read): \end_document replaces \the_end.
2442 2003-07-28 José Matos <jamatos@fep.up.pt>
2444 * insetert.C (write): \layout -> \begin_layout.
2445 Add missing \end_layout.
2447 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2449 * insetquotes.C: document a bit the format
2451 * insettabular.C (write): remove extra space
2453 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2454 * insetnote.C: Umpf. Hope I *now* get it right :-(
2456 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2457 *insetnote.C: did the right fix to greyedout: \color
2458 instead of \textcolor.
2460 2003-07-28 Angus Leeming <leeming@lyx.org>
2462 * insetbibtex.h: remove extraneous forward declaration.
2465 * insetbibtex.h: Also remove long-dead Holder member class
2468 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2470 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2473 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * insetwrap.C (addToToc): adjust for lyx::toc
2477 * insetfloatlist.C (ascii): adjust for lyx::toc
2479 * insetfloat.C (addToToc): adjust for lyx::toc
2481 2003-07-27 José Matos <jamatos@fep.up.pt>
2483 * insetnote.h (linuxdoc,docbook): update support.
2485 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2487 * insetfloat.C (wide): add a space to label, for consistency
2489 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * insettext.C (nextChange): adjust for lyx::find
2492 (searchForward): ditto
2493 (searchBackward): ditto
2495 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * insetgraphicsParams.C:
2498 * insetexternal.C: declare extern displayTranslator
2501 * renderers.C: add #include "support/LAssert.h"
2503 2003-07-27 José Matos <jamatos@fep.up.pt>
2505 * insetfloat.[Ch] (linuxdoc):
2506 * insetgraphics.C (linuxdoc):
2507 * insettabular.C (linuxdoc):
2508 * insettext.[Ch] (linuxdoc): add support for tables and figures
2511 2003-07-27 José Matos <jamatos@fep.up.pt>
2513 * insetinclude (latex): comply with makeLaTeXFile argument change.
2515 2003-07-26 Asger Alstrup <alstrup@local>
2517 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2518 the undo crashes. We'll see what problems other places this will
2521 2003-07-26 Angus Leeming <leeming@lyx.org>
2523 * insetgraphics.C: remove unused declaration of system_tempdir.
2525 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * rename Inset to InsetOld
2529 * all inset files (clone): return a auto_ptr<InsetBase>
2531 2003-07-23 Angus Leeming <leeming@lyx.org>
2533 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2535 2003-07-23 Angus Leeming <leeming@lyx.org>
2537 * mailinset.[Ch] (inset2string):
2538 * insetcommand.[Ch] (inset2string):
2539 * insetert.[Ch] (inset2string):
2540 * insetexternal.[Ch] (inset2string):
2541 * insetfloat.[Ch] (inset2string):
2542 * insetgraphics.[Ch] (inset2string):
2543 * insetinclude.[Ch] (inset2string):
2544 * insetminipage.[Ch] (inset2string):
2545 * insetnote.[Ch] (inset2string):
2546 * insettabular.[Ch] (inset2string):
2547 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2549 * insetexternal.[Ch]:
2550 * insetgraphics.[Ch]: get rid of the view() function. Associated
2551 changes to the mailers' string2params and params2string functions.
2553 2003-07-23 Angus Leeming <leeming@lyx.org>
2555 * insetexternal.[Ch]: store the external file name in a FileName
2556 member variable rather than a string + associated changes.
2558 2003-07-21 Angus Leeming <leeming@lyx.org>
2560 * insetgraphicsParams.[Ch]: store the graphics file name in
2561 a FileName member variable rather than a string.
2563 * insetgraphics.[Ch]:
2564 * insetgraphicsParams.[Ch]: Associated changes.
2566 2003-07-21 Angus Leeming <leeming@lyx.org>
2568 * insetgraphics.[Ch] (string2params, params2string): passed a
2569 buffer_path argument.
2572 2003-07-21 Angus Leeming <leeming@lyx.org>
2575 * insetgraphicsParams.[Ch]:
2577 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2579 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2581 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2583 2003-07-18 André Pönitz <poenitz@gmx.net>
2586 * insetminipage.[Ch]:
2587 * insettabular.[Ch]:
2590 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2592 2003-07-18 André Pönitz <poenitz@gmx.net>
2596 * insetcollapsable.C:
2600 * insetgraphics.[Ch]:
2601 * insetlatexaccent.[Ch]:
2606 * insetspecialchar.C:
2607 * insettabular.[Ch]:
2609 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2611 2003-07-17 André Pönitz <poenitz@gmx.net>
2613 * insetcollapsable.C:
2615 * insettext.C: don't call Inset::update() anymore
2618 * insettabular.[Ch]: remove unneeded in_update_ members
2620 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2622 2003-07-16 André Pönitz <poenitz@gmx.net>
2624 * insettext.C (selectAll): remove
2626 2003-07-16 John Levon <levon@movementarian.org>
2629 * insetnote.C: implement showInsetDialog()
2631 2003-07-15 André Pönitz <poenitz@gmx.net>
2634 * insettext.C: refresh_status tristate -> need_update bool
2636 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2638 * insettext.C: adjust call to LyXText::init
2640 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2642 * insettext.C: use bufferview_funcs->replaceSelection()
2643 to delete selections in some cases (bugs 441, 673, 702, 954).
2645 2003-07-14 André Pönitz <poenitz@gmx.net>
2647 * insettext.C (draw): use slimmed down rowpainter interface
2649 2003-07-14 André Pönitz <poenitz@gmx.net>
2651 * insetcollapsable.C:
2653 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2654 remove unused BufferView * argument
2656 2003-07-14 André Pönitz <poenitz@gmx.net>
2658 * insettext.[Ch]: used cached metrics a bit more
2660 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2662 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2664 2003-07-10 André Pönitz <poenitz@gmx.net>
2667 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2669 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * introduce namespace lyx::graphics
2673 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * introduce namespace lyx::support
2677 2003-06-30 André Pönitz <poenitz@gmx.net>
2679 * insetcite.C (localDispatch): fix case of missing return value
2681 * insetcite.C (ascii): remove unneeded temporary
2683 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * insetspace.h: fix \file
2687 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2688 * insetinclude.C (fillWithBibKeys): ditto
2690 * insetbibitem.C: fix type const order
2692 * inset.C (getLyXText): add varname for arg
2694 * ExternalTemplate.h: fix type const order
2696 2003-06-27 André Pönitz <poenitz@gmx.net>
2698 * insettext.C: take care of removed LyXCursor::row_ member
2700 * insettext.[Ch]: use new TextCursor struct for sstate
2702 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2704 * inseterror.[Ch]: removed
2706 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2708 * insetinclude.C (docbook): use parseError instead of sgmlError
2710 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2712 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2713 of BufferList::loadLyXFile
2715 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * insettext.C (update): simplify
2718 (updateLocal): remove commented code
2719 (insetUnlock): simplify
2720 (lockInset): simplify
2721 (updateInsetInInset): simplify
2722 (localDispatch): simplify
2724 (resizeLyXText): simplify
2725 (collapseParagraphs): simplify
2727 * insetert.C (get_new_label): simplify
2729 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2731 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2732 pasteSelection with index
2734 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2736 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2738 2003-06-16 André Pönitz <poenitz@gmx.net>
2740 * insetbase.h: new virtual base function clone()
2742 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2743 Inset * clone() -> InsetBase * clone()
2745 2003-06-13 André Pönitz <poenitz@gmx.net>
2747 * insettabular.[Ch]: make tabular a proper member
2749 2003-06-12 André Pönitz <poenitz@gmx.net>
2751 * insettabular.[Ch]: some renaming plus whitespace
2753 2003-06-11 Angus Leeming <leeming@lyx.org>
2755 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2758 * insetbutton.[Ch]: removed.
2759 * graphicinset.[Ch]: renamed as renderers.[Ch].
2761 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2762 Create a new class ButtonRenderer using the InsetButton::metrics() and
2764 Derive both from a common RenderedInset base class.
2766 * insetcommand.[Ch]:
2767 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2768 Give it a ButtonRenderer member variable. Use it.
2769 Give the classes working copy c-tors.
2770 No longer derive from boost::noncopyable.
2772 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2773 display its contents as a button or as a graphic.
2775 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2778 2003-06-11 Angus Leeming <leeming@lyx.org>
2780 * insetcite.C (localDispatch): reformat.
2782 * insetref.C (localDispatch): enable dialog to be lauched.
2784 2003-06-11 John Levon <levon@movementarian.org>
2786 * insettabular.C: correctly mark all cells as erased
2788 2003-06-11 Angus Leeming <leeming@lyx.org>
2790 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2791 ExternalTemplate but its name, templatename. This means that a file
2792 containing a reference to an External Template not installed on the
2793 current machine will be saved retaining this info rather than inserting
2794 the first "valid" template from the list of templates.
2796 As a by product, the visual statement that the Template is missing is
2799 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2801 * insettext.C (appendParagraphs): remove some commented code.
2803 2003-06-10 Angus Leeming <leeming@lyx.org>
2805 * graphicinset.[Ch] (view): removed the publicly accessible
2806 function to set the cache.
2808 * insetexternal.[Ch]: move tempname_ into the Params struct.
2809 (Params d-tor): new function, to clean-up this temp file.
2810 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2812 (editExternal, doSubstitution): move out of class.
2814 2003-06-10 Angus Leeming <leeming@lyx.org>
2816 * graphicinset.[Ch] (params): removed.
2817 * graphicinset.h (operator=): declared private but not defined.
2818 (statusMessage): made private.
2820 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2822 2003-06-07 John Levon <levon@movementarian.org>
2824 * insetert.C (latex): make a newline mean just that not
2827 2003-06-07 José Matos <jamatos@fep.up.pt>
2829 * insethfill.[Ch] (linuxdoc, docbook): implement output
2830 * insetspace.C (linuxdoc, docbook): remove coments as the code
2833 2003-06-06 José Matos <jamatos@fep.up.pt>
2835 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2837 2003-06-06 André Pönitz <poenitz@gmx.net>
2839 * insetwrap.[Ch]: code compactification
2841 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2843 * mailinset.C (updateDialog): use Dialogs::visible
2845 2003-06-04 Angus Leeming <leeming@lyx.org>
2847 * graphicinset.C (draw): add a comment for the #if 0 block.
2849 * insetexternal.h: remove Params::parameters variable.
2851 * insetexternal.C (read, write): rewrite to output new ExternalInset
2852 format and read it back making full use of LyXLex.
2854 2003-06-04 André Pönitz <poenitz@gmx.net>
2856 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2858 2003-06-04 John Levon <levon@movementarian.org>
2860 * insettabular.C: back out tall table speed up. It was broken
2862 2003-06-03 Angus Leeming <leeming@lyx.org>
2864 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2865 Remove ViewCommand and UpdateCommand.
2867 * graphicinset.C (update): bug fix. Set the params before calling the
2870 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2871 the BufferView cache to enable the InsetExternal::editCommand to
2872 be invoked from the frontends. Would not be needed if this were
2873 dispatched properly.
2874 (old_ascent_): variable removed.
2876 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2877 do any necessary conversions of external material. Also use the
2878 new GraphicsInset to display the inset within LyX.
2880 2003-06-03 Angus Leeming <leeming@lyx.org>
2882 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2883 and move it somewhere where InsetExternal can use it too.
2885 * Makefile.am: add the new files.
2887 * insetgraphics.[Ch]: make use of the new GraphicInset.
2889 2003-06-03 John Levon <levon@movementarian.org>
2892 * insetbibitem.[Ch]:
2895 * insetcommand.[Ch]:
2899 * insetexternal.[Ch]:
2903 * insetgraphics.[Ch]:
2905 * insetinclude.[Ch]:
2908 * insetlatexaccent.[Ch]:
2909 * insetmarginal.[Ch]:
2910 * insetminipage.[Ch]:
2917 * insetspecialchar.[Ch]:
2918 * insettabular.[Ch]:
2920 * insetthereom.[Ch]:
2923 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2925 * insetgraphics.[Ch]:
2926 * insetgraphicsParams.[Ch]: always store an absolute
2929 2003-06-02 André Pönitz <poenitz@gmx.net>
2933 * insetlatexaccent.C: remove duplicated call to metrics()
2935 2003-06-02 John Levon <levon@movementarian.org>
2937 * insettabular.C: fix resize of column width
2939 2003-06-02 John Levon <levon@movementarian.org>
2944 * insetparent.C: remove insetparent
2946 2003-06-02 André Pönitz <poenitz@gmx.net>
2953 * insetcollapsable.[Ch]:
2957 * insetgraphics.[Ch]:
2958 * insetinclude.[Ch]:
2959 * insetlatexaccent.[Ch]:
2960 * insetminipage.[Ch]:
2961 * insetnewline.[Ch]:
2964 * insetspecialchar.[Ch]:
2965 * insettabular.[Ch]:
2966 * insettext.[Ch]: unify first drawing phase
2969 * insetbase.h: move validate() to the base
2971 2003-05-31 Angus Leeming <leeming@lyx.org>
2973 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2975 2003-05-30 André Pönitz <poenitz@gmx.net>
2980 * insetcaption.[Ch]:
2981 * insetcollapsable.[Ch]:
2984 * insetgraphics.[Ch]:
2985 * insetinclude.[Ch]:
2986 * insetlatexaccent.[Ch]:
2987 * insetnewline.[Ch]:
2990 * insetspecialchar.[Ch]:
2991 * insettabular.[Ch]:
2993 * updatableinset.[Ch]: unify second drawing phase
2995 2003-05-30 John Levon <levon@movementarian.org>
2997 * insetgraphics.C: fix a bformat
2999 2003-05-29 John Levon <levon@movementarian.org>
3001 * insettabular.C: remove unused bufferOwner()
3003 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * insettext.C (lockInsetInInset): adjust
3006 (getLabelList): use const_iterator, adjust
3007 (getInsetFromID): use const_iterator, adjust
3008 (addPreview): use const_iterator, adjust
3010 * insetwrap.C (clone): remove const_cast
3012 * insetnote.C (clone): remove const_cast
3014 * insetminipage.C (clone): remove const_cast
3016 * insetmarginal.C (clone): remove const_cast
3018 * insetfoot.C (clone): remove const_cast
3020 * insetfloat.C (clone): remove const_cast
3022 * insetert.C (clone): remove const_cast
3024 * delete commented same_id functions from a lot of files.
3026 2003-05-28 John Levon <levon@movementarian.org>
3032 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3034 * insetminipage.C: fix metrics (bug 1144)
3036 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * insettext.C (saveLyXTextState): adjust
3039 (restoreLyXTextState): adjust
3042 (unlockInsetInInset): adjust
3043 (localDispatch): adjust
3044 (getLyXText): adjust
3046 * insettabular.C (insertAsciiString): adjust
3048 2003-05-27 André Pönitz <poenitz@gmx.net>
3051 * insetcollapsable.C:
3054 * insetlatexaccent.C:
3059 * insetspecialchar.C:
3061 * insettext.C: dim.w -> dim.wid
3063 2003-05-26 John Levon <levon@movementarian.org>
3065 * insettabular.C: avoid drawing all of a long table
3066 if it's not needed. A big speedup
3068 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3070 * remove same_id from function signatures, adjust
3072 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * insettext.C (InsetText): adjust
3076 (setParagraphData): separate same_id cases, adjust
3077 (appendParagraphs): adjust
3078 (appendParagraphs): adjust
3080 2003-05-23 André Pönitz <poenitz@gmx.net>
3082 * insetbutton.h: whitespace
3084 * insettabular.C: more compact code
3086 * updatableinset.C: remove const_cast
3089 2003-05-23 Angus Leeming <leeming@lyx.org>
3091 * insetexternal.C (write): check how many lines are output.
3092 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3093 if the template has defined it.
3095 2003-05-23 Angus Leeming <leeming@lyx.org>
3097 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3099 2003-05-23 Angus Leeming <leeming@lyx.org>
3101 * insetfoot.C (latex):
3102 * inseturl.C (latex): rename fragile as moving_arg.
3104 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * inseterror.C (localDispatch): comment out unused var.
3108 2003-05-22 Angus Leeming <leeming@lyx.org>
3110 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3111 passed through the LatexRunParams arg.
3113 2003-05-22 Angus Leeming <leeming@lyx.org>
3115 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3116 through the LatexRunParams arg.
3118 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3119 arg rather than through a global var.
3121 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * insetspecialchar.C (dimension): use a string.
3125 2003-05-22 Angus Leeming <leeming@lyx.org>
3127 * insetbibtex.C (latex):
3128 * insetgraphics.C (latex):
3129 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3130 runparams rather than from the buffer itself.
3132 2003-05-22 Angus Leeming <leeming@lyx.org>
3134 * inset*.[Ch] (latex):
3135 passed a LatexRunParams parameter.
3137 * insetgraphics.C (latex): actually use it ;-)
3139 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3141 * insetfloat.C (addToToc): trivial compile fix
3143 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * insettext.[Ch] (paragraph): delete unused function
3147 * insetfloat.C (addToToc): parlist simplfication
3149 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3151 * insetspace.[Ch]: added (new space insets)
3153 * inset.h: handle new space insets
3155 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * insetfloat.C (addToToc): adjust
3159 2003-05-21 André Pönitz <poenitz@gmx.net>
3161 * insettext.[Ch]: fix drawing bug introduced earlier
3163 2003-05-19 André Pönitz <poenitz@gmx.net>
3165 * insetspecialchar.C: fix bug introduced yesterday
3167 2003-05-19 André Pönitz <poenitz@gmx.net>
3171 * insetcollapsable.[Ch]:
3175 * insetgraphics.[Ch]:
3176 * insetgraphicsParams.[Ch]:
3177 * insetlatexaccent.[Ch]:
3178 * insetminipage.[Ch]:
3179 * insetnewline.[Ch]:
3181 * insetspecialchar.[Ch]:
3182 * insettabular.[Ch]:
3183 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3185 2003-05-19 André Pönitz <poenitz@gmx.net>
3188 * insettext.C: more insetenv
3190 2003-05-16 André Pönitz <poenitz@gmx.net>
3193 * insetminimpage.[Ch]:
3194 * insetcollapsable.[Ch]: fix #832
3196 2003-05-16 André Pönitz <poenitz@gmx.net>
3199 * insetbibitem.[Ch]:
3203 * insetcollapsable.[Ch]:
3204 * insetcommand.[Ch]:
3207 * insetexternal.[Ch]:
3208 * insetfloatlist.[Ch]:
3209 * insetgraphics.[Ch]:
3210 * insetinclude.[Ch]:
3213 * insetlatexaccent.[Ch]:
3216 * insettabular.[Ch]:
3220 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3222 2003-05-13 André Pönitz <poenitz@gmx.net>
3225 * insetcollapsable.C:
3229 * insetwrap.C: tostr from own header
3241 * insetwrap.C: STRCONV
3244 2003-05-12 André Pönitz <poenitz@gmx.net>
3256 * insetwwrap.C: boost::format -> bformat all over the place
3258 2003-05-05 André Pönitz <poenitz@gmx.net>
3260 * insettext.h: add missing #include <map>
3262 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * insettext.C (InsetText): parlist cleanup
3267 (insetUnlock): ditto
3269 (lockInsetInInset): ditto
3273 (searchBackward): ditto
3274 (collapseParagraphs): ditto
3276 2003-05-06 John Levon <levon@movementarian.org>
3278 * insetcaption.C: don't cast wrap inset to InsetFloat
3281 * insetfloat.C: remove unneeded type() function
3283 2003-05-05 André Pönitz <poenitz@gmx.net>
3287 * insettabular.[Ch]:
3288 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3289 replace getFirstParagraph() by getParagraphs()
3291 2003-05-03 John Levon <levon@movementarian.org>
3293 * insetcollapsable.h:
3294 * insetcollapsable.C:
3300 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3301 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3302 getCursor(). Remove explicit cursor hides.
3304 2003-05-02 André Pönitz <poenitz@gmx.net>
3306 * insettext.C: remove unneeded &*
3308 2003-04-30 John Levon <levon@movementarian.org>
3310 * insettabular.C: fix edit message
3312 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * insettext.C (setFont): do not convert iterator -> pointer
3316 * insettabular.C (localDispatch): do not convert iterator -> pointer
3318 (tabularFeatures): ditto
3320 2003-04-29 André Pönitz <poenitz@gmx.net>
3322 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3324 2003-04-28 André Pönitz <poenitz@gmx.net>
3326 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3329 2003-04-25 André Pönitz <poenitz@gmx.net>
3331 * insetenv.C: derive from InsetText instead of InsetCollapsable
3333 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * insetexternal.C (string2params): dont do anything if the string
3337 * insetgraphics.C (string2params): ditto
3338 * insetcommand.C (string2params): ditto
3339 * insetert.C (string2params): ditto
3340 * insetfloat.C (string2params): ditto
3341 * insetinclude.C (string2params): ditto
3342 * insetminipage.C (string2params): ditto
3343 * insettabular.C (string2params): ditto
3344 * insetwrap.C (string2params): ditto
3346 2003-04-24 André Pönitz <poenitz@gmx.net>
3348 * insetref.C: support for eqref
3350 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3352 * insetert.C (read): use ParagraphList::iterator.
3354 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * insetquotes.C (latex): comment some code and add warnings.
3358 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3360 * insetexternal.C (localDispatch): added a missing DISPATCHED
3362 2003-04-12 John Levon <levon@movementarian.org>
3364 * insetwrap.C (addToToc): fix a crash, conversion
3365 from while to for loop forgot to remove the explicit
3368 2003-04-10 John Levon <levon@movementarian.org>
3370 * insettabular.C (tabularFeature): make sure
3371 to update the dialog when we change something
3374 (getStatus): don't disable some lfuns (bug 939)
3376 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * insettext.C (saveLyXTextState): adjust
3379 (localDispatch): adjust
3385 * insettabular.C (localDispatch): adjust
3387 (tabularFeatures): adjust
3389 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3391 * insettabular.C (searchForward,searchBackward): fix bug 782
3393 2003-04-07 John Levon <levon@movementarian.org>
3396 * insettext.C: clear status message on inset exit
3398 2003-04-03 John Levon <levon@movementarian.org>
3400 * insetcommand.C: return dispatched on DIALOG_UPDATE
3402 2003-04-02 John Levon <levon@movementarian.org>
3404 * insettabular.C: tab lfuns renamed
3406 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * insettext.C (update): move towards ParagraphList
3409 (updateLocal): ditto
3411 (insetUnlock): ditto
3413 (lockInsetInInset): ditto
3414 (updateInsetInInset): ditto
3415 (localDispatch): ditto
3418 (resizeLyXText): ditto
3419 (searchBackward): ditto
3420 (collapseParagraphs): ditto
3423 * insetwrap.C (InsetWrap): adjust
3424 (addToToc): adjust and rewrite loop
3426 * insettext.[Ch] (paragraph): delete function
3428 * insettabular.C (moveNextCell): adjust
3429 (movePrevCell): adjust
3430 (insertAsciiString): adjust
3432 * insetfloat.C (InsetFloat): adjust
3435 * insetert.C (InsetERT): adjust
3436 (write): adjust, and rewrite loop
3437 (latex): adjust, and rewrite loop
3438 (linuxdoc): adjust, and rewrite loop
3439 (docbook): adjust, and rewrite loop
3440 (localDispatch): adjust
3441 (get_new_label): adjust
3443 2003-04-01 John Levon <levon@movementarian.org>
3445 From Alfredo Braunstein
3448 * insetbutton.C: add localDispatch()
3450 * insetcommand.C: return DISPATCHED when edit() called
3452 * insettext.C: fix bug 967
3454 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * insettext.C: adjust
3458 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * insettext.C (draw): adjust
3461 (crow): return a RowList::iterator not a Row*
3463 * insetminipage.C (localDispatch): adjust
3465 * insetert.C (localDispatch): adjust
3467 2003-03-31 John Levon <levon@movementarian.org>
3470 * insetgraphicsParams.C: use_gui moved to lyx_gui
3472 2003-03-31 John Levon <levon@movementarian.org>
3474 * insettext.C: Alert fix
3476 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * insettext.C (ascent): adjust for RowList
3481 (getLyXText): adjust
3482 (toggleSelection): adjust
3484 * insetminipage.C (localDispatch): adjust for RowList
3486 * insetert.C (localDispatch): adjust for RowList
3487 (getMaxWidth): adjust for RowList
3489 2003-03-29 John Levon <levon@movementarian.org>
3491 * insetert.C: Alert cleanup
3493 2003-03-29 John Levon <levon@movementarian.org>
3495 * insettabular.C: Alert fix
3497 2003-03-28 John Levon <levon@movementarian.org>
3499 * insetfloat.C: reset label on INSET_MODIFY
3501 2003-03-28 John Levon <levon@movementarian.org>
3503 * insetgraphicsParams.C: read subcaptionText as a whole line
3506 2003-03-28 John Levon <levon@movementarian.org>
3508 * insettext.C: remove unused prototypes
3510 2003-03-25 Angus Leeming <leeming@lyx.org>
3512 * insetbibitem.C (localDispatch): repaint the view after modifying
3513 a bibitem inset in case the maximum InsetBibitem width has changed.
3515 2003-03-25 John Levon <levon@movementarian.org>
3518 * insettabular.C: LyXText renamings
3520 2003-03-24 John Levon <levon@movementarian.org>
3522 * insettext.C: remove some dead code. Fix bug 972 and
3523 related by posting a repaint in updateLocal(), and making
3524 the SEL functions set SELECTION.
3526 2003-03-22 John Levon <levon@movementarian.org>
3529 * inset.C: remove no-longer-needed topx_set
3531 * insetcollapsable.h:
3532 * insetcollapsable.C: remove dead code
3535 * insetert.C: rebreak the rows when a possible
3536 change in size is made, and reset the cursor
3539 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3541 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3542 topx_set. Fix drawing errors for clearInset(). Remove
3543 some unnecessary uses of topx, which should die.
3545 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3546 is no longer needed. Replace it with an ugly hack.
3548 2003-03-20 John Levon <levon@movementarian.org>
3551 * insetcollapsable.h:
3552 * insetcollapsable.C:
3560 * insettext.C: remove spurious font parameter
3561 from update(). Fix drawing of ERT insets inside
3562 insets (bug 966). Remove unused mark_dirty from
3563 tabular's updateLocal()
3565 2003-03-19 John Levon <levon@movementarian.org>
3574 * insetwrap.C: remove unused getter/setters
3576 2003-03-19 John Levon <levon@movementarian.org>
3578 * several files: bv->updateInset() doesn't take
3579 a bool mark_dirty any more
3581 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * adjust for BufferView* arg removal from lyxtext.
3585 2003-03-17 John Levon <levon@movementarian.org>
3587 * most files: remove the "cleared" parameter
3588 to draw in favour of always clearing. Associated
3591 2003-03-16 John Levon <levon@movementarian.org>
3593 * insettext.C: remove unused s.refresh
3595 2003-03-13 Angus Leeming <leeming@lyx.org>
3597 * insettext.C (edit): replace Dialogs::updateParagraph with
3598 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3600 2003-03-13 André Pönitz <poenitz@gmx.net>
3602 * Makefile.am: insert insetenv
3604 * insethenv.[Ch]: new files, currently inactive
3606 2003-03-12 John Levon <levon@movementarian.org>
3616 * insettext.C: use new insetnewline
3618 2003-03-12 John Levon <levon@movementarian.org>
3620 * insettext.C: readToken became readParagraph
3622 2003-03-12 John Levon <levon@movementarian.org>
3624 * insettext.C: use parlist iterator for reading contents
3626 2003-03-12 John Levon <levon@movementarian.org>
3628 * insettext.C: name change to readToken()
3630 2003-03-11 André Pönitz <poenitz@gmx.net>
3632 * Makefile.am: insert insethfill
3634 * insethfill.[Ch]: new files
3636 2003-03-10 Angus Leeming <leeming@lyx.org>
3638 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3640 (hideDialog): calls the new static Dialogs::hide() method.
3642 * insetbibitem.C (edit):
3643 * insetbibtex.C (edit):
3644 * insetcite.C (edit):
3645 * insetcommand.C (localDispatch):
3646 * inseterror.C (d-tor):
3647 * insetert.C (showInsetDialog):
3648 * insetexternal.C (localDispatch, edit):
3649 * insetfloat.C (localDispatch, showInsetDialog):
3650 * insetfloatlist.C (edit):
3651 * insetgraphics.C (localDispatch, edit):
3652 * insetinclude.C (localDispatch, edit):
3653 * insetindex.C (edit):
3654 * insetlabel.C (edit):
3655 * insetminipage.C (localDispatch, showInsetDialog):
3656 * insetref.C (edit):
3657 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3658 resetPos, showInsetDialog, openLayoutDialog):
3659 * insettoc.C (edit):
3660 * inseturl.C (edit):
3661 * insetwrap.C (localDispatch, showInsetDialog):
3662 changes due to the changed MailInset interface.
3664 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3666 * insetfloat.h: Set default placement to an empty string.
3668 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3670 * insettext.C (latex): adjust call to latexParagraphs.
3672 2003-03-10 Angus Leeming <leeming@lyx.org>
3674 * mailinset.C: warn the user if the BufferView has not been cached.
3676 2003-03-10 Angus Leeming <leeming@lyx.org>
3678 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3680 * insetcommand.h (inset):
3681 * insetert.h (inset):
3682 * insetexternal.h (inset):
3683 * insetfloat.h (inset):
3684 * insetgraphics.h (inset):
3685 * insetinclude.h (inset):
3686 * insetminipage.h (inset):
3687 * insettabular.h (inset):
3688 * insetwrap.h (inset):
3689 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3691 2003-03-10 Angus Leeming <leeming@lyx.org>
3693 * insetcommand.C (string2params):
3694 * insetexternal.C (string2params):
3695 * insetfloat.C (string2params):
3696 * insetgraphics.C (string2params):
3697 * insetinclude.C (string2params):
3698 * insetminipage.C (string2params):
3699 * insettabular.C (string2params):
3700 * insetwrap.C (string2params): cure warning message about missing
3703 2003-03-09 Angus Leeming <leeming@lyx.org>
3705 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3706 it to communicate with the frontend dialogs.
3708 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3709 contents of this inset!
3711 2003-03-07 Angus Leeming <leeming@lyx.org>
3713 * inseterror.C (localDispatch): new method; calls edit() on
3716 2003-03-07 Angus Leeming <leeming@lyx.org>
3718 * insetbibitem.C (localDispatch):
3719 * insetbibtex.C (localDispatch):
3720 * insetlabel.C (localDispatch):
3721 rewrite as a switch.
3723 2003-03-07 Angus Leeming <leeming@lyx.org>
3725 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3726 it to communicate with the frontend dialogs.
3728 2003-03-07 Angus Leeming <leeming@lyx.org>
3730 * insetexternal.C: remove operator== and operator!= for
3731 InsetExternal::Params. They were used only by the old controller
3734 2003-03-07 Angus Leeming <leeming@lyx.org>
3736 * insetcommand.C (localDispatch):
3737 * insetexternal.C (localDispatch):
3738 * insetfloat.C (localDispatch):
3739 * insetinclude.C (localDispatch):
3740 * insetminipage.C (localDispatch):
3741 * insetwrap.C (localDispatch):
3742 add LFUN_INSET_DIALOG_UPDATE to the switch.
3744 2003-03-07 Angus Leeming <leeming@lyx.org>
3746 * insetcommand.C (string2params):
3747 * insetexternal.C (string2params):
3748 * insetfloat.C (string2params):
3749 * insetinclude.C (string2params):
3750 * insetwrap.C (string2params): use LyXLeX more.
3753 * insetexternal.[Ch]:
3755 * insetinclude.[Ch]:
3756 * insetwrap.[Ch]: change Mailer::name_ to be static.
3758 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3759 it to communicate with the frontend dialogs.
3761 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3764 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3766 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * insettext.C (updateLocal): un-const function
3769 (updateLocal): adjust
3770 (collapseParagraphs): un-const function
3771 (collapseParagraphs): adjust
3773 2003-03-05 Angus Leeming <leeming@lyx.org>
3775 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3776 it to communicate with the frontend dialogs.
3778 2003-03-05 Angus Leeming <leeming@lyx.org>
3780 * insetcollapsable.C (draw): cache the BufferView.
3782 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3783 it to communicate with the frontend dialogs.
3785 2003-03-05 Angus Leeming <leeming@lyx.org>
3787 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3790 2003-03-05 Angus Leeming <leeming@lyx.org>
3792 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3794 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3795 it to communicate with the frontend dialogs.
3797 2003-03-05 Angus Leeming <leeming@lyx.org>
3799 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3800 it to communicate with the frontend dialogs.
3802 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * insettext.C (collapseParagraphs): adjust
3805 (appendParagraphs): make it take a Buffer* instead of a
3806 BufferParams& as arg.
3807 (appendParagraphs): adjust
3809 2003-03-04 Angus Leeming <leeming@lyx.org>
3811 * insetbibitem.C (localDispatch):
3812 * insetbibtex.C (localDispatch):
3813 * insetcommand.C (localDispatch):
3814 * insetert.C (localDispatch):
3815 * insetlabel.C (localDispatch):
3816 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3818 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * insettext.C (latex): adjust for ParagraphList::iterator
3822 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * insetbutton.C (view): adjust for boost 1.30.0
3825 * insetcollapsable.C (view): ditto
3826 * insetgraphics.C (statusChanged): ditto
3828 * insettext.h: move paragraphs to be public.
3830 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * insetnote.[Ch] (InsetNote): remove unused constructor
3834 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3836 * insetgraphics.C: added include "format.h"
3838 2003-02-27 Angus Leeming <leeming@lyx.org>
3840 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3843 2003-02-27 Angus Leeming <leeming@lyx.org>
3845 * insetbibitem.C (localDispatch):
3846 * insetbibtex.C (localDispatch):
3849 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3851 2003-02-26 Angus Leeming <leeming@lyx.org>
3853 * insetbibitem.[Ch] (localDispatch):
3854 * insetbibtex.[Ch] (localDispatch):
3855 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3857 * insetcommand.C (localDispatch):
3858 act only on receipt of LFUN_XYZ_APPLY.
3860 * insetert.C (localDispatch): reformat.
3861 add LFUN_XYZ_APPLY to the switch.
3863 2003-02-26 John Levon <levon@movementarian.org>
3865 * insettext.C: use RowPainter
3867 * inset.h: make helpers take const *
3869 2003-02-26 Angus Leeming <leeming@lyx.org>
3871 * insetcommand.[Ch] (localDispatch): new method.
3873 2003-02-26 Angus Leeming <leeming@lyx.org>
3875 * insetinclude.C (draw): cache the BufferView* using cache not
3876 PreviewImpl::setView
3878 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3880 * insetgraphics.C (draw)
3881 * insetinclude.C (draw): Eliminate also the other argument (owner
3882 inset inset) in the call to PreviewImage::image
3884 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3886 * insetgraphics.C (draw)
3887 * insetinclude.C (draw): Eliminate Buferview argument in call to
3890 2003-02-25 John Levon <levon@movementarian.org>
3892 * insetgraphicsParams.h:
3893 * insetgraphics.C: don't start a load process if
3894 the inset is set to NoDisplay (bug #920)
3896 2003-02-22 John Levon <levon@movementarian.org>
3899 * insetwrap.C: TocItem changed API (bug 913)
3901 2003-02-21 Angus Leeming <leeming@lyx.org>
3903 * insetcollapsable.[Ch] (cache, edit):
3904 * insetbutton.[Ch] (cache, edit): new methods to cache the
3905 BufferView in the draw method.
3907 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3908 simplify comunication between InsetCommand-derived classes and
3911 * insetbibitem.[Ch]:
3915 * insetfloatlist.[Ch]:
3919 * inseturl.[Ch]: small changes to reflect the new interface to the
3922 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3923 other, similar classes.
3925 * Makefile.am: add new files.
3927 2003-02-21 Angus Leeming <leeming@lyx.org>
3929 * updatableinset.h (setView, view): remove.
3930 * inset.h (view, cache): to be replaced by these.
3932 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3935 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3938 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3940 2003-02-21 Allan Rae <rae@lyx.org>
3942 * insetinclude.C (loadIfNeeded): ensure loading also works when
3943 child document is under version control.
3945 2003-02-17 André Pönitz <poenitz@gmx.net>
3947 * insetbib.[Ch]: Adjust access to bibkeys
3949 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3951 * insetquotes.C (dispString): remove use of acute accent for "'"
3954 2003-02-14 John Levon <levon@movementarian.org>
3956 * insettabular.C: changed method names in tabular.C
3958 2003-02-14 John Levon <levon@movementarian.org>
3962 * insetcollapsable.h:
3963 * insetcollapsable.C:
3967 * insettext.C: remove unused getParFromID()
3969 2003-02-13 John Levon <levon@movementarian.org>
3972 * insettext.C: remove unused beginningofMainBody()
3974 2003-02-08 John Levon <levon@movementarian.org>
3978 * insetcollapsable.h:
3979 * insetcollapsable.C:
3984 add nextChange(). Make allowSpellcheck() const. Add markErased().
3986 * insetert.C: ignore deleted text
3988 * insettabular.C: make sure to keep change tracking working
3991 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3996 * insettext.C: Use error messages with identical spelling and
3999 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4001 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4003 2002-12-17 Juergen Vigna <jug@lyx.org>
4005 * insettext.C (localDispatch): hopefully fixed cursor up down
4006 movement on leaving other insets.
4008 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4010 * insettext.C: fix inconsistent usage of spaces, colons,
4011 capitalization, and the like.
4013 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4015 * insetgraphics.C (prepareFile): do not remove the extension of
4016 the file name if it is not the default extension for the given
4017 format (that is, in latex output, remove extension from foo.eps,
4018 but not from foo.epsi)
4020 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4022 * insettext.C (lfunMouseRelease): hackish solution to the "double
4025 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * insetfloat.C (addToToc): use the floats name not its type
4028 * insetwrap.C (addToToc): ditto
4030 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4032 * insetnote.C (init): make label font smaller
4034 2002-12-04 John Levon <levon@movementarian.org>
4036 * insetinclude.C: ressurect setting of command name
4038 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * insetquotes.C (dispString): disambiguate insert call
4042 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * several files: ws changes
4046 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * insetquotes.C (dispString): use string::insert for prepending a
4051 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4053 * insetparent.C (getScreenLabel): use boost::format
4055 * insetgraphics.C (prepareFile): use boost::format
4058 * insetfloatlist.C (latex): use boost::format
4060 * insetcaption.C (draw): use boost::format
4062 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4064 * insettabular.C (tabularFeatures): Support for block alignment in
4065 fixed width columns.
4067 2002-11-20 Juergen Vigna <jug@sad.it>
4069 * insettabular.C (resetPos): temporary fix for endless loop in
4070 this function on a redraw.
4072 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * insettabular.C (copySelection): STRCONV
4076 * insetinclude.C (uniqueID): STRCONV
4077 (latexString): ditto
4079 * insetgraphics.C: put VersionNumber inside anon namespace
4080 (createLatexOptions): STRCONV
4082 * insetcommandparams.C: include config.h
4084 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4086 * insetgraphicsParams.C (Write): use lyx::float_equal.
4087 Write height data correctly.
4088 (Read): zero scale when reading height data.
4090 2002-10-30 John Levon <levon@movementarian.org>
4092 * insetfloat.C (addToTOC): recursively traverse all
4093 contents looking for captions (fix #568)
4095 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4097 * insetexternal.C (doSubstitution): do not try to replace
4098 environment variables, this is done when executing the command
4100 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4102 * insetexternal.C (doSubstitution): change order of substitution
4103 to work around ReplaceEnvironmentPath brokenness
4105 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4107 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4109 * insetgraphicsParams.C (init, Write): associated changes
4110 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4111 InsetGraphicsParams::scale.
4113 2002-10-21 John Levon <levon@movementarian.org>
4115 * inset.h: remove unused DISPATCH_RESULT
4117 * insettext.C: sgml open/close tag now in sgml namespace
4119 2002-10-21 Angus Leeming <leeming@lyx.org>
4121 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4122 file path subdir/fig.eps when pasting it into a buffer in a different
4125 2002-10-16 John Levon <levon@movementarian.org>
4127 * insetspecialchar.C: remove \\protected_separator parsing
4129 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4131 * insetquote.C: fix LaTeX output of quotation marks.
4133 2002-10-14 Juergen Vigna <jug@sad.it>
4135 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4136 Backspace functions which confused the Undo handling.
4138 2002-10-09 Angus Leeming <leeming@lyx.org>
4140 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4141 BufferView::dispatch that turns off this optimisation when a new inset
4144 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4145 reload the BibTeX keys.
4147 2002-10-11 André Pönitz <poenitz@gmx.net>
4149 * insettext.h: handle LFUN_PRIOR/NEXT
4151 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4153 * insetfloat.C: fix bug with float settings
4154 (document default != float default).
4156 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4158 * insetwrap.C (addToToc): New method.
4159 (InsetWrap): Set layout to caption.
4161 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4165 2002-09-16 John Levon <levon@movementarian.org>
4167 * insettabular.h: hasSelection() needs to be public
4169 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4171 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4173 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4175 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4177 2002-09-11 André Pönitz <poenitz@gmx.net>
4179 * insettabular.C: implement LFUN_WORDSEL
4181 2002-09-10 John Levon <levon@movementarian.org>
4183 * insetinclude.h: remove unused param
4185 2002-09-09 John Levon <levon@movementarian.org>
4188 * insetinclude.C: remove noload, default to input
4190 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4192 * insetgraphics.C: disfuscated use of ']' in built output string.
4194 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4198 2002-08-29 Juergen Vigna <jug@sad.it>
4200 * insettabular.C (lfunMousePress): Pay attention where you set
4201 the x/y values as they depend on which inset in the tabular is
4202 actually locked. So you surely have to reset them if you (un)lock
4205 2002-08-29 André Pönitz <poenitz@gmx.net>
4207 * insetfootlike.h: rename include guard to ALL CAPS
4209 * insettext.C: swap object and first parameter for checkInsetHit calls
4210 as this functions has moved from BufferView to LyXText
4213 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4215 * insetgraphicsParams.C: remove local displayTranslator and use
4216 the one from graphics/GraphicsTypes.h.
4218 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4220 * insetfloat.C (wide): add BufferParams parameter
4222 * insetfloatlist.C (read):
4225 * insetfloat.C (latex):
4227 * insetcaption.C (draw): use LyXTextClass::floats()
4229 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4231 * insetoptarg.h: add std:: qualifier.
4233 2002-08-26 Juergen Vigna <jug@sad.it>
4235 * insettext.C (localDispatch): ditto.
4237 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4239 2002-08-25 John Levon <levon@movementarian.org>
4241 * inseturl.C: elide long URLs (bug 404)
4243 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4245 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4246 remove "Format Version <version_no.>" string from inset header
4249 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4251 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4252 a member of "grfx::Params" anymore.
4254 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4256 2002-08-24 John Levon <levon@movementarian.org>
4259 * insetoptarg.C: ws, pedantry ...
4261 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4263 * insettext.C (collapseParagraphs): pasteParagraph now in global
4265 (appendParagraphs): ditto
4267 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4269 * insetcite.C (latex): Remove spaces only after commmas.
4271 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * insettext.C: remove NO_COMPABILITY stuff
4275 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * insettext.C (edit): use ParagraphList iterators
4279 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4280 (bibitemWidest): ditto
4282 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * insettext.C: include <boost/bind.hpp>
4285 add using std::for_each
4286 (saveLyXTextState): use ParagraphsList::iterator
4287 (init): use for_each on paragraphlist iterators
4288 (InsetText): remove superflous setting cached_bview to 0
4289 (latex): reformat a bit
4290 (ascii): use paragraphlist iterators
4291 (validate): use for_each + boost bind
4292 (getLabelList): use paragraphlist iterators
4293 (deleteLyXText): use for_each + boost::bind
4294 (resizeLyXText): ditto
4295 (reinitLyXText): ditto
4296 (removeNewlines): use paragraphlist iterators
4297 (getParFromID): ditto
4298 (paragraph): use for_each + boost::bind
4299 (getInsetFromID): use paragraphlist iterators
4300 (getLabelList): typo fix
4302 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * insettext.C (read): assign tmp to paragraphs after return from
4305 call to parseSingleLyXformat2Token
4308 2002-08-13 Angus Leeming <leeming@lyx.org>
4326 * inseturl.C: changes due to the changed LyXView interface that
4327 now returns references to member variables not pointers.
4329 2002-08-13 Angus Leeming <leeming@lyx.org>
4332 * insetcollapsable.h:
4335 * insettext.h: forward-declare WordLangTuple
4336 (selectNextWordToSpellcheck) constify return type.
4339 * insetcollapsable.C:
4342 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4344 2002-08-12 Angus Leeming <leeming@lyx.org>
4346 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4349 2002-08-12 Juergen Vigna <jug@sad.it>
4351 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4354 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4357 (bibitemWidest): ditto
4358 * insettext.[Ch]: ditto
4360 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4364 2002-08-09 Angus Leeming <leeming@lyx.org>
4366 * insetinclude.C (latexString): remove fudge now that I've found out
4367 how to enable LaTeX to find the file using input@path.
4369 2002-08-09 John Levon <levon@movementarian.org>
4372 * insettext.C: remove unused xpos
4374 2002-08-07 Juergen Vigna <jug@lyx.org>
4376 * insettabular.C (localDispatch): make delete not put the stuff
4377 in the clipboard only do this on a cut operation.
4379 * insettext.C (localDispatch): make delete and backspace not put
4380 selected stuff to the clipboard.
4382 2002-08-07 André Pönitz <poenitz@gmx.net>
4385 * insetcollapsable.[Ch]:
4389 * insettabular.[Ch]:
4390 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4392 2002-08-06 John Levon <levon@movementarian.org>
4396 * insetcollapsable.h:
4397 * insetcollapsable.C:
4403 * insettext.C: use WordLangTuple for spellcheck
4405 2002-08-06 Angus Leeming <leeming@lyx.org>
4407 * insetinclude.C: add a monitor to the previewed image, so that the
4408 image is refreshed if the \input-ed file changes.
4410 2002-08-04 John Levon <levon@movementarian.org>
4413 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4415 2002-08-02 Angus Leeming <leeming@lyx.org>
4417 * insetcommandparams.[Ch] (preview): new methods returning and setting
4418 a new bool preview_ flag.
4419 (read): read this flag.
4420 (operator==): add flag to check.
4422 * insetinclude.C (write): output new preview() flag.
4423 (previewWanted): use this flag.
4425 2002-08-02 Angus Leeming <leeming@lyx.org>
4427 * insetcollapsable.[Ch] (addPreview):
4428 * insettabular.[Ch] (addPreview):
4429 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4430 for insets in insets.
4432 2002-08-02 Angus Leeming <leeming@lyx.org>
4434 * insetcite.C: fix typo.
4436 * insetgraphics.C: kill current_view and instead cache the BufferView
4439 * insetinclude.C: kill current_view and pass the BufferView to the
4440 PreviewedInset so that it can cache it.
4442 2002-08-01 Angus Leeming <leeming@lyx.org>
4444 * inset.h (generatePreview): renamed as addPreview.
4445 (generatePreview): new method. Allows code to be moved out of
4446 math_nestinset.C and into the new PreviewedInset class.
4448 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4449 add previews to the inset when \input-ing LaTeX.
4451 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * several files: strip,frontStrip -> trim,ltrim,rtrim
4455 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * insetbib.C (latex): modify because of strip changes
4459 * insetnote.C (InsetNote): ditto
4461 2002-07-26 Juergen Vigna <jug@sad.it>
4463 * insettabular.C (searchForward): check for lastcell if we
4464 had a locking inset.
4466 2002-07-25 Juergen Vigna <jug@sad.it>
4468 * insettabular.C (insetMotionNotify): Don't update the screen
4469 if we didn't do nothing.
4470 (searchForward): last cell was not checked.
4472 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4474 * insetfloat.C (read, write): Allow default placement
4475 (floatPlacement_ is empty).
4477 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4479 * insetminipage.h (noFontChange):
4480 * insettabular.h (noFontChange):
4481 * insetfootlike.h (noFontChange):
4482 * insetfloat.h (noFontChange): return true
4484 * inset.h (noFontChange): new method, defaulting to false
4486 2002-07-22 Herbert Voss <voss@lyx.org>
4488 * insetgraphicsParams.[Ch]: support size_type for old docs
4490 2002-07-22 Herbert Voss <voss@lyx.org>
4493 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4496 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4498 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4500 * insetlatexaccent.h: do not include "lyxlex.h"
4502 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4505 * insetlatexaccent.C:
4509 * insetbib.C: #include "lyxlex.h"
4515 * insettext.C: use BufferParams::getLyXTextClass
4518 * insetfloat.C (addToToc): new method. Add to toclist the entries
4519 corresponding to Caption layouts
4520 (InsetFloat): when creating a new float, set the layout to "Caption"
4522 2002-07-21 Herbert Voss <voss@lyx.org>
4524 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4525 image relevant part into graphics/GraphicsImgae.C
4527 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4529 * insettoc.C (ascii):
4530 * insetfloatlist.C (ascii): change to use the new Toc functions
4531 instead of stuff that was in Buffer
4533 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4535 * insettext.C (localDispatch): BufferView::Dispatch has been
4536 renamed to BufferView::dispatch
4538 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * insetgraphicsParams.C (as_grfxParams): use the new
4541 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4542 1.2.0 patch, and I do not really know how to adapt it to the new
4543 grfx::Cache world. Angus, please could you have a look?
4545 2002-05-01 Herbert Voss <voss@lyx.org>
4547 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4549 2002-07-18 Angus Leeming <leeming@lyx.org>
4551 * insetgraphics.C: clean-up comments (from Herbert).
4552 add a new checksum variable to the cache. Use it in PrepareFile.
4553 (draw): start monitoring the file for a change.
4554 (prepareFile): re-arrange a little to avoid unnecessary steps.
4556 2002-07-17 Angus Leeming <leeming@lyx.org>
4558 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4559 a method rather than to the signal directly.
4561 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4563 * insettext.C: use view_state_changed, switchKeyMap
4565 2002-07-17 Herbert Voss <voss@perce.de>
4567 * insetgraphics.C (prepareFile): keep the extension when
4568 exporting to nice file
4570 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4572 * insetcite.C (getNatbibLabel):
4573 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4575 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4577 * insetgraphics.C: use ->isDrawable()
4579 2002-07-12 Angus Leeming <leeming@lyx.org>
4581 * insetgraphics.C: use the new smart loading capabilities of the image
4584 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4586 * insettabular.C (edit): Move into correct cell when entering a
4589 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4592 2002-07-05 Angus Leeming <leeming@lyx.org>
4594 * inset.h (generatePreview): new virtual method.
4596 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4598 * insetcommandparams.[Ch] (operator=): move out of class
4599 (operator!): move out of class
4601 2002-07-04 André Pönitz <poenitz@gmx.net>
4603 * insetcommandparams.[Ch]: new files
4605 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4607 2002-06-15 Herbert Voss <voss@perce.de>
4609 * insetgraphics.C (prepareFile): bugfix; return always
4610 files without extension
4612 2002-06-28 Angus Leeming <leeming@lyx.org>
4614 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4615 rename asGParams -> as_grfxParams.
4617 * insetgraphics.C: reflect above change.
4619 2002-06-26 Angus Leeming <leeming@lyx.org>
4621 * insetgraphics.h: use boost::scoped_ptr in preference to
4624 2002-06-26 Angus Leeming <leeming@lyx.org>
4626 * insetgraphics.C: moved the image loading stuff into a new class
4627 grfx::Loader. Simplifies this file enormously.
4629 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4631 * insetgraphicsParams.C: changes aassociated with moving
4632 grfx::DisplayType out of grfx::GParams.
4634 2002-06-26 André Pönitz <poenitz@gmx.net>
4636 * insetgraphics.C: use os::external_path where necesaary according to a
4637 patch from Claus Hentschel)
4639 2002-06-25 Angus Leeming <leeming@lyx.org>
4641 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4642 generating a pixmap once the graphics file is loaded into memory.
4643 The current_view ugliness that was in grfx::ModifiedImage has been
4644 moved here now that grfx::ModifiedImage is no more.
4646 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4648 * insettext.C: layout as layout
4650 2002-05-28 André Pönitz <poenitz@gmx.net>
4652 * insetfloatlist.h: remove source of compiler warning
4654 * insetref.C: tiny whitespace
4656 2002-06-15 Herbert Voss <voss@perce.de>
4658 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4659 and take always convert when no userdefined converter was
4661 (latex) small changes in the lyxerr output
4663 2002-06-15 LyX Development team <lyx@rilke>
4665 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4666 mixed content. Small white spaces clean.
4668 2002-06-14 Angus Leeming <leeming@lyx.org>
4670 * inseetexternal.C: remove the using std::difftime declaration.
4672 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4674 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4676 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4678 * insetquotes.C (draw): fix drawing of double quotes
4680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4682 * insettabular.C: s/scrollCB/scrollDocView/
4684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4686 * insettext.C: change of topCursorVisible()
4689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4692 * insettext.C: rename/change of LyXScreen
4694 2002-06-07 Angus Leeming <leeming@lyx.org>
4696 Fixes needed to compile with Compaq cxx 6.5.
4698 * insetexternal.C: all c-library variables have been moved into
4699 namespace std. Wrap using std::xyz declarations inside a #ifndef
4700 CXX_GLOBAL_CSTD block.
4702 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * insetinclude.C (uniqueID):
4705 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4706 conflicted with some AIX headers.
4708 2002-05-31 Juergen Vigna <jug@sad.it>
4710 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4714 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4716 * insetexternal.C (clone): fix () bug when using new
4717 (updateExternal): don't only look for difftime in global scope
4719 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4721 * insettabular.C: add const
4723 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4725 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4726 file name, in case there are weird characters like ',' in there.
4729 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4731 * switch from SigC signals to boost::signals.
4733 2002-05-28 André Pönitz <poenitz@gmx.net>
4735 * insets/insetgraphicsParams.[Ch]:
4736 put in inset related stuff from src/graphic
4738 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4746 * insetcollapsable.C:
4747 * insetcollapsable.h:
4775 * inseturl.h: use mouse_state. Kill insetKeyPress
4777 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4782 * insetcollapsable.C:
4785 * insetlatexaccent.C:
4787 * insetspecialchar.C:
4789 * insettext.C: name change for font metrics
4791 2002-05-24 Juergen Vigna <jug@sad.it>
4793 * insetgraphics.h: include inset.h first (for LString.h)
4795 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4797 * insettext.C: screen moved
4799 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4817 * inseturl.C: LyXView moved into frontends/
4819 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4824 * insetcollapsable.C:
4828 * insetgraphicsParams.C:
4829 * insetlatexaccent.C:
4831 * insetspecialchar.C:
4833 * insettext.C: move Painter to frontends/
4835 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4837 * insettabular.h: use more specific smart_ptr header.
4838 * insettext.h: ditto
4840 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4843 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4845 * insettext.C: clear selection on paste (bug 393)
4847 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4849 * insettext.C (latex): Honor the moving_arg argument.
4851 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4853 * insetfoot.C (latex): if a footnote is in a title layout, then it
4854 is a \thanks. And then, its contents is a moving argument.
4856 2002-05-14 Juergen Vigna <jug@sad.it>
4858 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4861 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4863 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4864 when using options "Full author list" or "Upper case".
4866 2002-05-14 Herbert Voss <voss@perce.de>
4868 * insetgraphics.C (prepareFile): allow files with same name
4870 (readFigInset): set the flags from old figinset in the right
4872 (findTargetFormat): more comments
4874 2002-05-14 Juergen Vigna <jug@sad.it>
4876 * insettext.C (edit): tell checkAndActivateInset() that we don't
4877 have a button press.
4878 (checkAndActivateInset): if button < 0 we don't have a button press
4879 on the inset and os we won't call edit on it if it's not a Highly
4880 editable inset (then we have to enter it).
4882 2002-05-13 Juergen Vigna <jug@sad.it>
4884 * insetcollapsable.C (insetButtonRelease): returned wrong return
4887 2002-05-09 Juergen Vigna <jug@sad.it>
4889 * insetcollapsable.C (edit): first_after_edit should only be
4890 set to true if we enter this inset and it was collapsed so we
4891 open it up. This is needed to reclose it after a search/replace
4892 or spellcheck function opened it and was negative.
4894 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4896 * insetfloat.C (latex): Return correct value.
4898 2002-05-04 Herbert Voss <voss@perce.de>
4900 * InsetgraphicsParams.C (read): fix bug with WH
4902 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4904 * insetfloat.C (latex): More sensible latex output
4905 (fix the problem with endfloat).
4907 2002-05-02 José Matos <jamatos@fep.up.pt>
4909 * insetgraphics.C (validate): acess params as everyone else.
4911 2002-05-03 Juergen Vigna <jug@sad.it>
4913 * insettabular.C (fitInsetCursor): recalculate the cursor position
4916 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4918 * InsetgraphicsParams.[Ch]: whitespace.
4920 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4922 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4923 float type do not exist.
4925 2002-04-28 Herbert Voss <voss@perce.de>
4927 * insetgraphics.C (latex): fix bug with missing file-extension.
4928 LaTeX still allows a missing "eps" or "ps".
4930 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4932 * insetfloat.C (c-tor, wide): translate the name of the float.
4934 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4936 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4937 when using natbib and make it work efficiently. Must emphasise that the
4938 real work is Herbert's.
4940 2002-04-23 Herbert Voss <voss@perce.de>
4942 * insetgraphic.C (prepareFile): fix bug with overwriting and
4943 deleting an existing *.eps-file in the doc-dir
4945 2002-04-23 Juergen Vigna <jug@sad.it>
4947 * insettabular.C (drawCellSelection): fix off by 1 error.
4949 2002-04-22 Juergen Vigna <jug@sad.it>
4951 * insettabular.C (setFont): rewoke full selection if it was asked,
4952 after we changed all we had to change.
4954 * insettext.C (insetUnlock): code was uninitialized in some situations.
4956 2002-04-19 Herbert Voss <voss@perce.de>
4958 * insetgraphic.C (prepareFile): return filename without
4959 extension if we only export without compiling
4961 2002-04-19 Juergen Vigna <jug@sad.it>
4963 * insettext.C (draw): call a fullRebreak on the row where we had a
4964 change and reset the cursor and selection-cursors.
4966 * insettabular.C (insetUnlock):
4967 (insetButtonPress): call an update before setting the_locking_inset = 0
4968 as otherwise we don't repaint!
4969 (update): reset the cursor position when we changed dimensions as
4970 otherwise our cursor may be on the wrong spot.
4972 2002-04-18 Juergen Vigna <jug@sad.it>
4974 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4975 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4976 redraw otherwise we won't redraw.
4978 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4979 not really right before, but I only discovered this with the last
4980 changes to Page up/down.
4982 2002-04-17 Juergen Vigna <jug@sad.it>
4984 * insettext.C (checkAndActivateInset): simplified as we now have the
4985 edit(bv, bool) call.
4987 * insettext.h: changed behind variables to front variables to be
4988 equal to the one in the edit call (as it is for that they are used).
4990 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4992 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4993 not output anything at all!
4995 2002-04-16 Juergen Vigna <jug@sad.it>
4997 * insettabular.C (insetButtonPress):
4998 (insetUnlock): call a redraw on unlocking the cell inset.
5000 * insettext.C (insetButtonPress): same as below.
5001 (lockInset): new function to set initial values when inset should
5003 (insetButtonPress): use above function.
5004 (insetUnlock): don't force a repaint only set the updateStatus. The
5005 outside world should repaint if it thinks it should be done!
5007 * insettabular.C (insetButtonPress): init values if not set as locked
5008 as we are locked if someone presses on us and don't call the edit()
5009 call of the InsetText to lock it do it as BufferView does it!
5011 * inset.h (insetInInsetY): make func const and return an int.
5014 * insetcollapsable.C: adapt the above changed function.
5016 2002-04-15 Juergen Vigna <jug@sad.it>
5018 * insettext.C (getCursorPos): return relative position as to be able
5019 to give them directly to the edit() call.
5020 (edit): we have to set also x_fix as it is not set inside the
5021 setCursorFromCoordinates call!
5022 (insetMotionNotify): ditto.
5024 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5026 * insetbib.C (getKeys): strip leading '\t's from the line too.
5027 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5029 2002-04-12 Juergen Vigna <jug@sad.it>
5031 * insettext.h: added cix() helper function and use it where appropriate
5033 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5035 * insetgraphics.C (prepareFile): fix bug when graphics is a
5038 2002-04-12 Juergen Vigna <jug@sad.it>
5040 * insettext.C (insertInset): remove unneeded code!
5041 (updateLocal): fitCursor() fixes.
5042 (collapseParagraphs): fix a possible problem when having a selection
5043 and collapsing the paragraphs.
5045 2002-04-08 Herbert Voss <voss@perce.de>
5047 * insetgraphic.C (write): write the rotating angle as
5048 a float as is. test only for != 0.0
5050 2002-04-11 Juergen Vigna <jug@sad.it>
5052 * insettext.C: new function ciy() and use it for setting inset_y.
5054 * insetert.C (draw): fix the x return for collapsed version.
5056 2002-04-07 Herbert Voss <voss@perce.de>
5058 * insetgraphic.C (readFigInset): fix bug with subcaption and
5061 2002-04-08 Herbert Voss <voss@lyx.org>
5063 * insetgraphicsparam.C: forgot special option and delete old
5066 2002-04-05 Juergen Vigna <jug@sad.it>
5068 * insettext.C (localDispatch): make a CURSOR update if we inserted
5071 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * insetfloatlist.C (getScreenLabel):
5074 (latex): use Floating::listName
5075 (validate): new method
5077 2002-04-03 José Matos <jamatos@fep.up.pt>
5079 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5081 * insetfoot.[Ch] (docbook): added forgotten method.
5083 2002-04-03 Juergen Vigna <jug@sad.it>
5085 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5086 way as in Bufferview_pimpl.
5088 2002-04-03 Allan Rae <rae@lyx.org>
5090 * insetgraphics.C (latex): one % too many makes living on the bleeding
5091 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5093 2002-03-28 Herbert Voss <voss@lyx.org>
5095 * insetgraphic.C (latex): simplify the code for the latex
5096 output when the file doesn't exist
5098 2002-03-29 Juergen Vigna <jug@sad.it>
5100 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5103 * insettabular.C (edit): call fitCursor().
5105 * insettext.C (insetButtonPress): change behaviour of no_selection
5106 to the one in the BufferView selection_possible and fix the spurious
5107 selection bug with it.
5108 (localDispatch): revoke selection on BREAK... functions.
5110 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5112 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5114 2002-03-28 Juergen Vigna <jug@sad.it>
5116 * insettabular.C (insetAllowed): return true as default value otherwise
5117 we're not able to insert insets inside paragraphs of an not locked
5120 2002-03-27 Herbert Voss <voss@lyx.org>
5122 * insetgraphicsparam.C: change c%, p% to col%, page%
5124 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * insetspecialchar.C (isLineSeparator): disable the nice code to
5127 allow linebreaks after hyphenation and menu separators.
5129 2002-03-26 Herbert Voss <voss@lyx.org>
5131 * insetgraphics.C (figinsetRead): set the right lyxview
5133 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5135 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5136 $\backslash$ and pass a "string const &" to the function.
5137 (prepareFile, latex): use Path rather than MakeAbsPath.
5139 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5141 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5142 proper fix to the graphics cache.
5143 (latex): "really" nice output if the file is not found ;-)
5145 2002-03-26 Juergen Vigna <jug@sad.it>
5147 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5148 (collapseParagraphs): fixed inserting of separator ' '
5150 * insettabular.C (insertAsciiString): only check for buffer lenght
5151 not if we have \t or \n inside the buffer as if we don't have we only
5152 have 1 cell and that's it!
5154 * insetert.C (close): don't collapse if inlined.
5156 2002-03-25 Herbert Voss <voss@lyx.org>
5158 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5159 graphics file does not exist.
5161 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5163 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5164 path when preparing export.
5166 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5167 no longer MakeRelPath.
5169 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5171 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5172 Used to determine the absolute path to the graphics file in the
5173 graphics cache and only in the graphics cache.
5174 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5175 make graphics file name absolute if it is stored as a relative path.
5177 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5178 make graphics file name absolute if it is stored as a relative path.
5180 * insettext.C (edit): emit an updateParagraph signal on entering a text
5181 inset. Needs to be emitted when leaving the inset also.
5183 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5185 * all files: ws cleanup
5187 * Makefile.am: remove ld -r stuff
5189 2002-03-21 Juergen Vigna <jug@sad.it>
5191 * insettext.C (appendParagraphs): new function added to append
5192 the paragraphs to this insets paragraphs.
5194 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5196 * Makefile.am: special rules if partial linking
5198 2002-03-19 Juergen Vigna <jug@sad.it>
5200 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5202 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5204 * insetgraphics.C: Clean up Baruch's comments a little.
5205 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5207 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5210 * insettheorem.C: wrap warnings
5212 * insetgraphics.C: improve messages, move cached_status_
5213 setting to safer place
5215 2002-03-18 Juergen Vigna <jug@sad.it>
5217 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5219 (localDispatch): ditto
5221 * insettext.C (edit): removed unneeded showCursor calls.
5222 (localDispatch): ditto.
5224 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5226 * insetgraphics.h: remove display() method.
5228 2002-03-11 Juergen Vigna <jug@sad.it>
5230 * insetgraphics.C (draw): hack to fix the redrawing bug.
5231 (draw): seems this fixes #268 (force redraw of row if we changed).
5233 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5234 this inset text (don't know why I missed this earlier).
5236 2002-03-08 Juergen Vigna <jug@sad.it>
5238 * insettabular.C (updateLocal): do a FULL update if we're not locked
5239 and only a CELL update is asked.
5241 * insettext.C (updateInsetInInset): update insets inside inset also
5242 if it isn't inside the_locking_inset.
5244 * insettabular.C (updateInsetInInset): ditto.
5246 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5248 * insetexternal.C (doSubstitution): check whether we are using a
5249 temp dir for defining $$FPath
5251 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5254 * insettext.C: remove #include "WorkArea.h".
5256 2002-03-06 Juergen Vigna <jug@sad.it>
5258 * insettext.C (draw): fixed frame redrawing.
5259 (clear): forgot to set the inset_owner of the paragraph.
5261 * insetert.C (status): pay attention the bv can be 0 here!
5262 (getMaxWidth): add the default leftMargin
5264 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5266 * insetert.C (getMaxWidth): make w unsigned int.
5268 2002-03-05 Juergen Vigna <jug@sad.it>
5270 * insetert.C (status): change behaviour of Inlined.
5271 (getMaxWidth): added for new inlined behaviour.
5273 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5275 * insetnote.h (linuxdoc, docbook): add empty methods.
5276 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5277 before being initialized.
5279 2002-03-05 Juergen Vigna <jug@sad.it>
5281 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5282 only that one in the inset. Should be enough.
5283 (updateLocal): set the selection cursor always if we don't have a
5284 selection to be sure it's set!
5286 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5288 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5290 * insettext.C (clear): a gross hack to set layout on a newly
5293 2002-03-04 Juergen Vigna <jug@sad.it>
5295 * insettabular.C (localDispatch): inserted handling of
5296 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5297 (insertAsciiString): new helper function.
5299 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5301 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5304 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5306 * insettext.C (InsetText): initalize newly created par with
5307 default layout. add bufferparams parameter
5310 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5311 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5312 * insetert.[Ch] (InsetERT): ditto
5313 * insetfloat.[Ch] (InsetFloat): ditto
5314 * insetfoot.[Ch] (InsetFoot): ditto
5315 * insetfootlike.[Ch] (InsetFootLike): ditto
5316 * insetmarginal.[Ch] (InsetMarginal): ditto
5317 * insetminipage.[Ch] (InsetMinipage): ditto
5318 * insetnote.[Ch] (InsetNote): ditto
5319 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5321 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5323 * insettext.C: layout as string
5325 * insetinclude.C: layout as string
5327 * insetert.C: layout as string
5329 * insetbib.C: layout as string
5331 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5334 * insettabular.C: remove #include "lyx_gui_misc.h".
5336 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5341 * inset.h: remove figinset, yahoo !
5343 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5345 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5346 copy c-tor and initialise member variables in the correct order.
5348 2002-02-28 Juergen Vigna <jug@sad.it>
5350 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5352 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5354 * inset.h: ... and add a better one here.
5356 * insetcommand.C (insetButtonRelease): remove that one which was a
5359 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5361 * insetcommand.C (insetButtonRelease): ... and move it here.
5363 * inseturl.h: remove insetButtonRelease from there...
5365 2002-02-26 Juergen Vigna <jug@sad.it>
5367 * inseturl.h: Added a insetButtonRelease call returning true as
5370 * insetlabel.C (edit): Fixed wrong update handling after change I
5371 leave in the wrong code for the one who wrote it to remove and have
5372 a look what he did wrong.
5374 * insettabular.C (localDispatch): force a SELECTION update if we
5375 had a selection and we passed the event down to the inset (fix #213)
5376 (localDispatch): handle font changing stuff when we have a cell
5377 selection so that the selection is not rewoked. I don't really like
5378 this fix, but it's the only way I see to do it right now.
5380 2002-02-22 Juergen Vigna <jug@sad.it>
5382 * insettext.C (insetUnlock): set the cursor to the second paragraph
5383 if available and if the first one is empty (fix #191).
5385 2002-02-20 Juergen Vigna <jug@sad.it>
5387 * insettext.C (getDrawFont): implemented this function to call the
5388 one of the owner if present as the owner normally knows what to do
5391 * insetert.C: implement getDrawFont() function and comment out all
5392 the crap for setting a special latex font inside this inset.
5393 (InsetERT): added a Lanugage parameter to this constructor.
5395 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5396 change the font for being drawn on screen (used only in InsetERT for
5399 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5400 and also above (was missing).
5401 (updateLocal): don't remove the cell selection if we have one this
5402 should be done where we really want to remove it.
5404 2002-02-20 José Matos <jamatos@fep.up.pt>
5406 * insetinclude.h: include_label made string const.
5408 * insetinclude.C (InsetInclude): moved include_label initialization.
5411 (validate): fix support for temporary directory, for docbook and
5414 * insetgraphics.h : new private member, graphic_label, that holds
5415 the entity name that defines the graphics location (SGML).
5417 * insetgraphics.C (unique_id): new function to give a unique label
5420 (validate): the file locatation is given by an entity reference.
5422 2002-02-18 Herbert Voss <voss@lyx.org>
5424 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5426 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5428 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5429 as support/systemcall.[Ch] and of class Systemcalls as class
5432 2002-02-18 José Matos <jamatos@fep.up.pt>
5434 * insetinclude.C (validate): some code only applies to latex buffers,
5435 it was made conditional.
5437 2002-02-12 Herbert Voss <voss@lyx.org>
5439 * insetgraphics.C: (prepareFile) do not check at this time
5440 if the file is present.
5442 2002-02-12 Herbert Voss <voss@lyx.org>
5444 * insetgraphics.C: latex(), return the correct newlines
5446 2002-02-13 José Matos <jamatos@fep.up.pt>
5448 * inseturl.C (docbook): escape & in url.
5450 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5452 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5453 after HYPHENATION and MENU_SEPARATOR
5455 * inset.h (isLineSeparator): new method, returns false by default.
5457 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5459 * insetert.C (status): do not update the text inset, but the ERT
5462 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5464 * insetnote.C: use notebg for background
5466 2002-02-08 Herbert Voss <voss@lyx.org>
5469 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5470 prevent LyX from unzipping when this should be handled
5471 by latex vis the graphic.cfg.
5474 2002-02-08 Herbert Voss <voss@lyx.org>
5476 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5477 exists, than return filename with extension
5479 2002-02-06 Herbert Voss <voss@lyx.org>
5481 * insetgraphic.C: prepareFile(): don't convert the file, when
5482 it's not viewed in LyX. Saves a lot of time when opening a
5485 2002-02-05 Herbert Voss <voss@lyx.org>
5488 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5489 and adding a rotate bool similiar to subcaption
5491 2002-02-04 Herbert Voss <voss@lyx.org>
5494 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5495 similiar view to the LaTeX one. Get zipped files work.
5497 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5499 * insetgraphicsParams.C (init): set display to DEFAULT.
5500 No longer #include "lyxrc.h".
5502 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5504 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5505 for now (so that the code compiles).
5507 2002-02-02 Herbert Voss <voss@lyx.org>
5509 * insetgraphic.C: delete inVariant() and some minor changes
5510 * insetgraphicsParams.[C]:
5512 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5514 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5515 interogate lyxrc.display_graphics before diaplaying the graphic.
5517 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5518 InsetGraphicsParams::DisplayType.
5520 2002-01-31 Herbert Voss <voss@lyx.org>
5522 * insetgraphic.C: (readfigInset) set display to pref-default
5524 2002-01-30 Herbert Voss <voss@lyx.org>
5526 * insetgraphic.C: get the filetyp from it's contents
5527 * insetgraphicparams.C: add token scale and lyxrc.display when
5528 creating a new inset
5530 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5532 * figinset.C: added using std::ios directive.
5534 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5536 * figinset.C (runqueue): open translation file in binary mode (for
5539 2002-01-27 Herbert Voss <voss@lyx.org>
5541 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5542 all options and to be sure that the old figinsets are correct
5544 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5545 structure and to support all lengths as LyXLength. The Parameter
5546 structure changed again, but reading of "old" 1.2 graphic insets
5549 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5551 * insetert.h (forceDefaultParagraphs): Added
5553 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5555 * insettabular.C (getMaxWidth):
5556 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5558 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5560 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5561 of LyXLength::inPixels
5563 * inset.C (latexTextWidth):
5564 * insetminipage.C (latexTextWidth): new method, which implements
5565 the equivalent of the LaTeX macro \textwidth
5567 * insetminipage.C (getMaxWidth): use latexTextWidth
5569 2002-01-18 Juergen Vigna <jug@sad.it>
5571 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5573 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5575 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5577 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5580 2002-01-17 Juergen Vigna <jug@sad.it>
5582 * insettabular.C (lockInsetInInset): same change as in insettext.
5584 * insettext.C (draw): width() function was called without setting
5585 the right top_x which could lead to wrong insetWidth setting!
5586 (lockInsetInInset): call edit instead of calling lockInset if we
5587 have to lock an inset inside!
5588 (edit): we have to also tell the inset that we have to redraw the
5589 frame on an edit call if this inset draws a frame only if locked.
5591 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5593 * insetbib.C (getFiles): uncomment Path variable.
5595 2002-01-16 Juergen Vigna <jug@sad.it>
5597 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5600 2002-01-16 Allan Rae <rae@lyx.org>
5602 * insetinclude.C (docbook): someone forgot a ";"
5604 2002-01-16 José Matos <jamatos@fep.up.pt>
5606 * figinset.C (docbook): removed a old place holder "@".
5607 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5608 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5609 ascii text version, clearly guarded inside a CDATA section.
5610 (docbook): in docbook 4, inlinegraphics is empty.
5611 * insettabular.C (linuxdoc): export the ascii version of the table
5612 inside a CDATA section.
5614 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5616 * insetparent.C (InsetParent):
5617 * insetgraphicsParams.C (Write):
5619 * insetgraphics.C (prepareFile):
5622 * insetexternal.C (executeCommand):
5623 (doSubstitution): use Buffer::filePath
5625 * insetbib.C (getFiles): add a #warning for Angus
5627 * insetgraphics.C: Add a remark about how filenames should be
5628 considered to be relative to buffer (but absolute is still allowed)
5629 (draw): do not try to get status if lyxrc.use_gui is false
5631 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5634 * insetcollapsable.[Ch]:
5635 * insettabular.[Ch] (searchForward, searchBackward): change the
5636 bool const & params to bool.
5638 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5639 to avoid the name clash with InsetCollapsable's methods of the same
5640 names but different functionality.
5642 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5644 * insettext.C (ascii): use lyx::count rather than countChar.
5646 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5648 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5650 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5652 * insetgraphics.C (updateInset): do not try to render image if
5653 lyxrc.use_gui is false (bug #104)
5655 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5656 if file does not exist
5658 * figinset.C (browseFile): add shortcuts to directory buttons
5660 * insettext.C (updateLocal): update menubar and toolbar here too.
5662 2002-01-13 Allan Rae <rae@lyx.org>
5664 * insettabular.C (InsetTabular): Both constructors now initialise
5665 all class variables.
5667 2002-01-11 Juergen Vigna <jug@sad.it>
5669 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5671 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5673 * insettabular.C (getStatus): add forgotten brace around multiline
5676 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5678 * insetfloat.C (validate): require "float" instead of "floats".
5680 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5682 * insettabular.C (getStatus): use FuncStatus
5684 2002-01-08 Juergen Vigna <jug@sad.it>
5686 * insettabular.C (insetButtonRelease): now this should work too
5689 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5690 if the width is a percentage.
5692 * inset.h: added isChar() function and implemented this for
5693 insetspecialchar insetquotes and insetlatexaccent.
5694 added forceDefaultParagraphs() and implemented it for insettabular.
5696 2002-01-07 Juergen Vigna <jug@sad.it>
5698 * insettext.C (getLyXText): Fixed this function. An insert into the
5699 map is only done if we REALLY have a new BufferView.
5701 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5703 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5705 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5707 * insetinclude.C: fix use of FileInfo
5709 2002-01-07 Juergen Vigna <jug@sad.it>
5711 * insettabular.C (draw): fixed clearing of cell around inset.
5713 2002-01-05 Juergen Vigna <jug@sad.it>
5715 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5716 variables are updated.
5718 * insettabular.C (resetPos): set always the inset_y as it may be
5719 needed in another function.
5720 (searchBackward): don't draw while searching.
5722 2002-01-04 Juergen Vigna <jug@sad.it>
5724 * insettext.C (lockInsetInInset): forgot to set a cursor.
5726 2002-01-02 Juergen Vigna <jug@sad.it>
5728 * insettext.C (insertInset): make the correct undo informations on
5729 inserting new insets.
5731 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5733 * insettabular.C: correct single-cell select vertically
5735 2001-12-27 Juergen Vigna <jug@sad.it>
5737 * insettabular.C (ascii): export as tab-separated-values if the
5738 function was not called from export (f.ex.: clipboard).
5740 * insetcollapsable.h: added default support for ascii, linuxdoc and
5741 docbook export (the insettext is exported by default!)
5743 * insettabular.C (copySelection): suff the clipboard with the tabular
5744 data in a tab separated format, seems more naturals then with all the
5747 2001-12-24 Juergen Vigna <jug@sad.it>
5749 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5750 to check for REAL mouseMotion.
5752 2001-12-20 Juergen Vigna <jug@sad.it>
5754 * inset.C (cursor): return the owners cursor if available instead of
5755 always only the bv->text->cursor.
5757 * insettabular.C (checkLongtableSpecial): works now.
5759 2001-12-19 Juergen Vigna <jug@sad.it>
5761 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5762 this has to be always row + 1 as 0 means not selected!
5763 (checkLongtableSpecial): added
5764 (tabularFeatures): better longtable options support
5766 * insettext.C (resizeLyXText): reinit the text always also on a
5769 2001-12-18 Juergen Vigna <jug@sad.it>
5771 * insettext.C (updateInsetInInset): look if we have to autocollapse
5772 paragraps and return if the update is requested for ourself.
5774 * insetert.C (status): update the insettext not myself as that is what
5777 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5778 function only return if the update was requested with myself.
5780 * insettext.C (insetButtonPress): fixed stupid bug.
5781 (various functions): pay attention that lt is cleared BEFORE calling
5782 updateLocal() and try to use it in the right manner (don't use it
5783 if it's not really neccessary!)
5784 (collapseParagraphs): insert a blank between collapsing paragraphs
5785 if neccessary (not already there!).
5787 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5789 * insettabular.C: move includes around a bit, add a couple of
5792 * insettext.[Ch]: move includes around a bit, other ws changes and
5795 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5797 * insettext.C (insetButtonRelease): fix compile problem
5799 2001-12-17 Juergen Vigna <jug@sad.it>
5801 * insettext.C (insetButtonPress): set the selection cursor!
5802 (insetButtonPress): clear the selection (and set with that the
5803 selection.cursor) if we only hit an inset!
5805 * insetert.C (read): removed piece of compatibility code only needed
5808 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5811 * insetcollapsable.C (insetButtonRelease): changed so that it can
5812 open eventual existing popup dialogs on mousebutton==3.
5814 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5816 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5818 * inset.C (insetButtonRelease): return a bool for telling the outer
5819 world that we opened a dialog.
5821 2001-12-07 Juergen Vigna <jug@sad.it>
5823 * insettext.C (paragraph): remove the deleteing of paragraphs as
5824 it was a WRONG move!
5826 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5829 * insettabular.C: use new setSelection(). Allow
5830 selection of single cells.
5832 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5834 * insetquotes.C (latex): fix to use the local language setting at
5835 the point where the inset is inserted (different macros for
5836 different french packages)
5838 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5840 * inset.h: add par_owner_ member variable and parOwner
5843 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5845 * insettabular.C (everywhere): adapt because widths are now real
5846 widths and not strings
5848 * insettext.C (draw): re-introduce the calls to width(), ascent()
5849 and descent() to initialize the caching variables.
5851 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5853 * insettext.C (draw):
5854 (drawFrame): use insetWidth instead of last_width
5856 * insettext.h: remove variable last_width (insetWidth is exactly
5857 the same) and last_height (computed but never used!)
5859 2001-12-10 Allan Rae <rae@lyx.org>
5861 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5865 * insettext.C (insetAllowed): add comment
5867 2001-12-05 Juergen Vigna <jug@sad.it>
5869 * insettext.C (insetAllowed): fixed for the case that we directly
5870 ask the insettext from its LyXText.
5871 (paragraph): fixed the crash when assigning the par->next() from
5872 the EmptyParagraphMechanism!
5874 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5878 * insettext.C: change "while(" to "while ("
5880 2001-12-04 Juergen Vigna <jug@sad.it>
5882 * insetert.C (edit): handle Inlined status.
5884 * insettext.C (insertInset): trying John's fix for the trailing cursor
5886 * insetert.C (insetButtonPress): added to handle inlined status
5887 (insetMotionNotify): ditto.
5889 * insettext.C (clearInset): changed Painter & in BufferView * param,
5890 to be able to call ascent,descent methods.
5892 2001-12-03 Juergen Vigna <jug@sad.it>
5894 * insettext.C (updateInsetInInset): use lt variable to forbid
5895 changes of LyXText in an update call.
5896 (updateInsetInInset): fixed updating of non locked insets!
5898 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5900 * insettabular.C: capture some more functions to prevent
5901 selection drawing problems. Bug #451274
5903 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5906 * insetgraphicsParams.C: fix inverted sense of float_equal
5908 2001-11-30 Juergen Vigna <jug@sad.it>
5910 * insettabular.C (InsetTabular): use the save_id flag to create also
5911 the tabular with the same id's.
5913 * insettext.C (setParagraphData): added a same_id function for undo
5914 to set the same paragraph id's as of the paragraph we are setting.
5916 2001-11-30 José Matos <jamatos@fep.up.pt>
5919 * insettoc.[Ch]: DocBook -> docbook.
5921 2001-11-29 André Pönitz <poenitz@gmx.net>
5924 * insettext.C: further reduction of header dependencies by using
5925 lyx::layout_type and lyx::textclass_type from support/types.h
5927 2001-11-29 Juergen Vigna <jug@sad.it>
5929 * insettext.C: inserted a reinitLyXText function everywhere I delete
5930 the paragraphs! This should fixe the crashes we had.
5931 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5932 (paragraph): set the InsetOwner() of the new paragraphs!
5934 2001-11-28 André Pönitz <poenitz@gmx.net>
5936 * insetnote.C: add pos initialization that I removed without
5939 2001-11-28 Juergen Vigna <jug@sad.it>
5941 * insettabular.C (resetPos): hack to not crash with infinite paints.
5943 * insettabular.h: insert missing function allowSpellcheck()!
5945 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5947 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5950 * insetfloatlist.C: derive from InsetCommand so gui can use it
5953 2001-11-26 André Pönitz <poenitz@gmx.net>
5957 * insetnote.C: reduce header dependencies, introduce type for
5960 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5962 * various: update for Alert.h
5964 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5966 * inset.h: fix comment
5968 * insettext.C: use par->isInset()
5970 2001-11-22 Allan Rae <rae@lyx.org>
5972 * insetcollapsable.h:
5973 * inset.h: Changes to checkInsertChar() behaviour.
5974 Now return value indicates whether chars can be inserted.
5976 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5978 * various: updated to use the new LaTeXFeatures
5980 2001-11-14 José Matos <jamatos@fep.up.pt>
5982 * insetspecialchar.C (linuxdoc):
5983 (docbook): don't give a name to a unused variable.
5985 * insettext.C (docbook): removed unused variable.
5987 2001-11-13 Herbert Voss <voss@perce.de>
5989 * insetgraphic.C: fix scale bug
5991 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5993 * inset.h (isSpace):
5994 (isLetter): new virtual methods.
5996 * insetspecialchar.C (isSpace):
5997 (isLetter): implement here.
5999 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6001 * inset.h: new inline helpers
6003 * insettext.C: use new helpers
6005 2001-11-07 José Matos <jamatos@fep.up.pt>
6007 * insettext.C (docbook): full support for paragraphs inside insettext.
6009 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6011 * insetindex.C: added header file for std::ostream.
6013 2001-11-03 José Matos <jamatos@fep.up.pt>
6015 * insetindex.C: added using std::ostream that I forgot yesterday.
6017 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6019 * insetindex.h (docbook):
6020 * insetindex.C (docbook): added support for docbook export.
6022 2001-11-02 José Matos <jamatos@fep.up.pt>
6024 * insetcaption.C(docbook): added support for docbook export.
6026 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6028 * insetexternal.C (updateExternal): Do not run update command if
6029 result file exists and is up to date.
6031 * ExternalTemplate.C (readFormat): Support the updateresult token.
6033 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6035 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6036 external_templates) to use the buffer->fileName() but only if
6037 previewing. Generating a TeX file should make FPath return
6040 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6043 * insetert.C: fix some problems
6045 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6047 * insetexternal.C (doSubstitution): Added $$FPath token
6048 to list of usable substitutions in external inset templates.
6050 2001-10-24 Juergen Vigna <jug@sad.it>
6052 * insettabular.C: use new ltType struct for setting longtable
6053 header and footers also new UNSET enums.
6055 2001-10-24 José Matos <jamatos@fep.up.pt>
6057 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6058 (docbook): If the table is not inside a float then wrap it inside
6059 <informaltable>...</informaltable>.
6061 2001-10-23 José Matos <jamatos@fep.up.pt>
6063 * insetref.C (docbook): removed / terminator to conform SGML.
6065 * insetspecialchar.C (linuxdoc):
6066 (docbook): Added support for special chars, more than ascii export.
6068 2001-10-22 Juergen Vigna <jug@sad.it>
6070 * insettext.C (checkInsertChar): added for REALLY checking the
6071 font of the inserted char in the right inset!
6073 2001-10-19 Juergen Vigna <jug@sad.it>
6075 * inset.h: added method allowSpellcheck() so that insets who do
6076 not have anything to spellcheck can tell and so they are over-jumped.
6077 Implemented for InsetText and co.
6079 2001-10-18 Juergen Vigna <jug@sad.it>
6081 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6083 2001-10-15 José Matos <jamatos@fep.up.pt>
6085 * insetert.C: allow export for docbook and linuxdoc
6087 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6089 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6091 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6093 * insetquotes.C (dispString): fix handling of latin9 quotes
6095 2001-10-03 Juergen Vigna <jug@sad.it>
6099 * insetcollapsable.C: change updateInset calls to not tell BV that
6100 we have changed status.
6102 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * insettabular.C (deletable): make const
6106 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6108 * insetert.C (latex): Fix the returned value
6110 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6112 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6113 Returns string(), so nothing in an ERT inset is spellchecked.
6115 * insetgraphics.C (draw): print the filename if not displaying the
6117 (width): make sure that the width and draw methods are consistent.
6118 (updateInset): don't even load the image into cache if not displaying
6121 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6123 * various files (selectNextWord): renamed as
6124 selectNextWordToSpellcheck.
6126 * insetgraphics.C (draw): remove the previous change. Right place
6127 is in imageLoaderXPM.C.
6128 (draw): don't display the image if params.display == NONE.
6130 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6132 * figinset.C (runqueue):
6133 * insetgraphics.C (draw): set background colour of inset from
6134 background to the user-configurable graphicsbg.
6136 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6138 * insetquotes.C (InsetQuotes): when trying to decide the side of
6139 the quote, choose `left' only after a space or '('
6141 2001-09-04 José Matos <jamatos@fep.up.pt>
6146 * insetcollapsable.h
6164 * insetlatexaccent.C
6165 * insetlatexaccent.h
6170 * insetspecialchar.C
6171 * insetspecialchar.h
6175 * insettext.C (docbook): rename docBook method to docbook.
6177 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6179 * inset.h (getFirstParagraph): New virtual method.
6181 2001-08-20 Herbert Voss <voss@perce.de>
6182 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6183 in the the bibtex-database-gui for inserting a line
6186 If no style is given than there is no tex-output.
6188 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6190 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6194 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6196 * insetert.C (latex): Fix output for multiple paragraphs.
6197 (write): New code for writing paragraph data.
6198 (read): Set font after reading the inset.
6199 (localDispatch): Call set_latex_font() for more cases.
6201 * insetnote.h: Add empty validate method.
6204 * insetnote.C (InsetNote): Set language to the language of the
6207 2001-08-16 Juergen Vigna <jug@sad.it>
6209 * insettext.C: implemented the new FINISHED states.
6211 * insettabular.C: ditto
6213 * inset.h: added more FINISHED states for cursor right,up,down
6215 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6217 * insetfloatlist.C: use "FloatName List"
6219 2001-08-14 Juergen Vigna <jug@sad.it>
6221 * insetert.C (edit): forgot to set status_ in edit calls!
6223 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6225 * insettext.C: Compilation fix
6227 2001-08-13 Juergen Vigna <jug@sad.it>
6229 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6231 * insetcollapsable.C (edit): don't recollapse an already open inset.
6233 * insettext.C: fixed problem when reinitializing LyXText by not doing
6234 it while lt is in use and post this to the next possible time in
6236 (searchForward): fixed not unlocking of inset if nothing found.
6237 (edit): set cursor behind right (was set -1 pos).
6239 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6241 * insettabular.C (tabularFeatures): fixed fix where deleting the
6242 last row didn't get the right actcell!
6244 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6246 * insettext.C (localDispatch): Change language only when the inset
6249 2001-08-10 Juergen Vigna <jug@sad.it>
6251 * insettabular.C (selectNextWordInt): use the front using edit call.
6253 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6254 the parameter overwrite class variable inset.
6256 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6258 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6259 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6261 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6262 update only for fixed with cells.
6263 (resetPos): try to fix the lockup on spellchecking or s&r.
6265 * insettext.C (update): comment this out as it seems first wrong
6266 and second not needed anymore!
6267 (some functions): call reinitLyXText() only in update() in all other
6268 positions set only need_update = INIT.
6270 2001-08-08 Juergen Vigna <jug@sad.it>
6272 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6274 * insettext.C (insetUnlock): remove double-space on inset unlock.
6276 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6278 * insettabular.C (update): fixed cursor positon after an insert.
6279 (insetAllowed): do not allow to insert insets when not inside the
6281 (draw): clear below an inset too as it could have changed height.
6283 * inset.C (getMaxWidth): fixed width for inset in inset.
6285 * insettext.C (update): small fix.
6287 * insettabular.C (tabularFeatures): added selection support to
6288 DELETE_ROW/DELETE_COLUMN.
6290 2001-08-07 Juergen Vigna <jug@sad.it>
6292 * inset.C (getMaxWidth): recoded and all it's implementations!
6294 * insettext.C (init,setParagraph+constructors): cleanups
6295 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6296 are new and I want do a save/restore of the cursor position which is
6297 not possible anymore.
6299 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6300 (searchBackward): ditto
6301 (selectNextWord): ditto
6303 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6305 * insetlatexaccent.C (checkContents): Add some debug messages
6307 2001-08-07 Juergen Vigna <jug@sad.it>
6309 * insetert.C (read): don't use InsetCollapsable::read as we don't
6310 write the collapsed status anymore only the status.
6313 2001-08-06 Juergen Vigna <jug@sad.it>
6315 * insetert.C (set_latex_font): use LyXText's setFont directly.
6317 * insettext.C (drawFrame): fixed one time more the right position
6318 and size of the frame!
6320 * insetert.C (~InsetERT): hide the dialog.
6321 (showInsetDialog): added implementation
6324 (status): new function for the status of the ERT inset (3-state).
6325 (write): output also the status of the inset for readback!
6326 (read): readback the status if available otherwise use collapsed_.
6328 * insettext.C (edit): small fix of setting the position, which could
6331 * insetert.C (width): implement this function for inlined viewing.
6332 Added minimum width of 10 pixels!
6334 * insetminipage.C (InsetMinipage): just change the colors a bit so
6335 that border/background is a bit more visible. We will remove this
6338 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6339 function for getting the important widths for drawing in various
6340 functions and in LyXText.
6341 (draw): fixed up a bit (frame drawing/clearing)
6343 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6345 * inset.C (convertFont): delete method. not used.
6347 2001-08-03 Juergen Vigna <jug@sad.it>
6349 * insettext.C (setFont): don't call for a draw update if we're just
6350 changing the cursor font!
6352 2001-08-02 Juergen Vigna <jug@sad.it>
6354 * insettext.C (draw): clear the background with the right color if
6355 needed. Update myself if x&max-width changed and return without doing
6356 anything. Let the update code handle the right stuff.
6358 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6359 inside another inset.
6361 2001-08-01 Juergen Vigna <jug@sad.it>
6363 * insetcollapsable.C (update): added an in_update bool so we avoid
6366 * insettabular.C (update): added an in_update bool so we avoid
6369 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6371 (update): added an in_update bool so we avoid reentering.
6373 * insettabular.C (localDispatch): clear col/row selection when doing
6374 something else inside an inset.
6376 * insettext.C (getLyXText): fixed bug when requesting a recursive
6379 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6381 * insetcite.C (latex): Paranoia check. Make sure that there is no
6382 whitespace between the citation keys.
6384 2001-07-31 Juergen Vigna <jug@sad.it>
6386 * inset.h (nodraw): make the set function also const so that this
6387 can be called from inside other const functions.
6389 * insetcollapsable.h: removed inline variable and moved it over
6390 to the only user InsetERT.
6392 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6393 inset opening immediately therein lying insets dialogs!
6395 * insetert.C (localDispatch): set the font also if we don't have any
6396 chars in this paragraph, otherwise if we delete all of em and start
6397 writing we have the wrong font.
6399 (draw): implemented for inline support
6400 (insetButtonRelease): ditto.
6402 2001-07-30 Juergen Vigna <jug@sad.it>
6404 * insettext.C (reinitLyXText): new function to reinit the insets
6405 text after lot's of paragraph changes. Use this instead of the
6406 cache.clear() which is VERY dangerous.
6408 * insetfloat.C (insetButtonRelease): we should only show the dialog
6409 if we press on the label otherwise we have problems to open mouse
6410 button 3 dialogs inside this float (f.ex. of a tabular!)
6412 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * insetert.C: change back to "ERT"
6416 * insetfloat.C: handliign of RMB on label added.
6418 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6420 * insetgraphicsParams.C: #include LOstream.h here.
6422 * insetfoot.h: remove InsetFoot:: qualifier.
6424 2001-07-29 Baruch Even <baruch@lyx.org>
6426 * ChangeLog: Hiding time travel evidence.
6428 * insetgraphicsParams.h:
6429 * insetgraphicsParams.C:
6430 * insetgraphics.C: Added horizontal scale option, it actually
6431 scales both directions since it keeps image proportions.
6433 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6435 2001-07-29 Baruch Even <baruch@lyx.org>
6437 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6438 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6440 HACKY! Will need to add an EPS detection routine like old InsetFig
6443 2001-07-29 Baruch Even <baruch@lyx.org>
6445 * insetgraphics.C: Added EPSI to be an alias of EPS.
6447 2001-07-29 Baruch Even <baruch@lyx.org>
6449 * insetgraphics.C: Change GRAPHICS to Graphics.
6450 Changed image conversion rules (documented at the beginning of file).
6452 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6454 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6457 * insetgraphics.C: added a using std::endl directive.
6459 * insetcommand.h (getScreenLabel): removed pure virtual function,
6460 as it duplicates that in InsetButton.
6462 * insetbib.[Ch] (getScreenLabel):
6463 * insetbutton.[Ch] (getScreenLabel):
6464 * insetcite.[Ch] (getScreenLabel):
6465 * insetert.[Ch] (getScreenLabel):
6466 * insetexternal.[Ch] (getScreenLabel):
6467 * insetfloatlist.[Ch] (getScreenLabel):
6468 * insetinclude.[Ch] (getScreenLabel):
6469 * insetindex.[Ch] (getScreenLabel):
6470 * insetlabel.h (getScreenLabel):
6471 * insetparent.[Ch] (getScreenLabel):
6472 * insetref.[Ch] (getScreenLabel):
6473 * insettoc.[Ch] (getScreenLabel):
6474 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6476 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6478 (validate): remove check on "cite" when using natbib.
6480 2001-07-26 Baruch Even <baruch@lyx.org>
6482 * insetgraphics.C (draw): changed casting to be in one place
6483 rather than all over the function.
6486 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6488 * insetgraphicsParams.h:
6489 * insetgraphicsParams.C:
6490 * insetgraphics.C: Removed inline option and changed rotateAngle
6493 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6495 * insetfoot.C (validate): Added method to ensure that the
6496 right bit of LaTeX is emitted.
6498 * insetfoot.h: Added validate method to set the correct
6499 LaTeXFeatures bit for the special footnote code.
6501 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6503 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6506 2001-07-27 Juergen Vigna <jug@sad.it>
6508 * inset.h: remove not used font variable in parameter.
6509 removed checkInsertChar in UpdatableInset as it was equal to
6510 the one in Inset and so not needed.
6512 * insetert.C (checkInsertChar): implementation of function
6515 * inset.h: added new function checkInsertChar.
6517 * various files: added c-tor and clone() function.
6519 * insetcollapsable.h: removed clone function here as this should
6520 be only realized in REAL insets and added it to all collapsable
6521 insets! (with the copy-constructor).
6523 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6525 * insetminipage.C (read): handle missing parameters more gracefully
6527 * insetcollapsable.C (read): handel missing collapsed more gracefully
6529 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6531 * insetfloat.C (read): handle missing parameters.
6533 * insettext.C (read): handle old latex end_inset
6535 * insetert.C (setButtonLabel): new method
6536 (init): use it, to set the dynamic label correctly
6539 * Makefile.am (EXTRA_DIST): add files that is not part or the
6542 * insetcollapsable.h: remove autocollapsable (no users), remove
6543 draw_label, change_label_with_text and companion code. Remove args
6545 * insetert.[Ch]: move here instead (only user)
6547 * inset.h: rename private variable name to name_, make
6548 selectNextWord return a const string. make getInsetName return a
6549 string const &. Remove bool from open, add close.
6551 * Makefile.am: don't compile insetlist, insetsection
6554 2001-07-24 Juergen Vigna <jug@sad.it>
6556 * insetert.C (InsetERT): put init after the paragraph initialization,
6557 as otherwise we don't set the draw_label right.
6559 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6560 insets with the mouse without having strange selections.
6561 (edit): if the inset was collapsed and we open it here then put the
6562 cursor always at the beginning of the inset.
6563 (get_new_label): 15 instead of 10 max chars in the label.
6565 * insetert.C (localDispatch): added and handle various stuff we
6566 need to handle here (font setting on paragraph break, not permitted
6567 layout setting, etc.).
6569 * inset.h: added default copy-consturctor and implemented this in
6570 various insets with the change to use this in the clone function!
6572 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6574 * insetminipage.C (InsetMinipage): set background color to red :)
6576 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6579 draw frame mode is LOCKED.
6581 * insetcollapsable.C (edit):
6582 (insetButtonRelease): set update status to full when
6585 * insettext.C (clearInset):
6586 * insettabular.C (draw):
6587 * insetlatexaccent.C (draw): honor background color.
6589 * inset.h: new member background_color_, initialized to
6592 * inset.C (backgroundColor): new method.
6593 (setBackgroundColor): new method.
6595 * insetert.C (init): new method, called by the ctors.
6596 (InsetERT): when inserting contents, make sure the font is
6599 * insetnote.C (InsetNote): when inserting content, remove trailing
6601 (init): set background color to LColor::note
6603 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6605 * insetcollapsable.C: adjust
6607 * insetbutton.C: adjust
6609 2001-07-23 Juergen Vigna <jug@sad.it>
6611 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6612 parameter on the _collapsed function (was not needed) and call
6613 always width_collapsed().
6615 * insetert.C (InsetERT): use setLabel with "true" flag.
6617 * insetcollapsable.C: modified various functions to set the draw_label
6618 string right in any condition.
6619 (setLabel): added a bool parameter to set change_label_with_text.
6621 * insetcollapsable.h: added draw_label string which is set to the
6622 actual drawn label-string, while label is the original static label
6623 of this collapsable inset. Added bool change_label_with_text to set
6624 if we want that the label changes to the start of the InsetText's
6625 text when collabpsed. You can set this flag with the setLabel funciton.
6626 Added bool inlined for inlined collapsable insets, but not handled
6629 * insetcollapsable.C (get_new_label): added should get a new label
6630 from the InsetText beginning (for now 10 chars).
6632 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6634 * insetquotes.C (latex): fix the handling of french double quotes
6635 when not using the french pachage.
6637 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6639 * insetcollapsable.h: make WidthCollapsed mutable.
6641 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6642 InsetPrintIndex returns INDEX_PRINT_CODE.
6644 * inset.h: add INDEX_PRINT_CODE
6646 * insetcollapsable.C (draw): init widthCollapsed if necessary
6649 * insetquotes.C (width): use the local language, not the document
6652 (dispString): add additional spacing for all french languages,
6654 (validate): make it work when there is no default language
6656 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6658 * insetnote.C (init): new method, called by the constructors
6659 (InsetNote): new constructor with contents passed as a string
6661 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6663 * insetfootlike.C (insetAllowed): disallow float in footlike.
6665 * insetert.C (InsetERT): add collapsed argument to the constrctor
6668 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6670 * insetindex.h: shut off warning
6672 2001-07-20 Juergen Vigna <jug@sad.it>
6674 * insetcollapsable.C (update): recoded hopefully works now!
6676 2001-07-19 Juergen Vigna <jug@sad.it>
6678 * most files: implemented the below new introduced function.
6680 * inset.h: added new edit(BufferView *, bool front) method to be able
6681 to enter an inset from the front/back without knowing x/y positions
6682 and baselines inside the inset. So I just can tell the inset activate
6683 me and set the cursor on the front/back of yourself.
6685 2001-07-18 Juergen Vigna <jug@sad.it>
6687 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6688 is given to the InsetText.
6689 (insetButtonPress): ditto
6690 (insetButtonRelease): ditto
6691 (insetMotionNotify): ditto
6693 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6695 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6696 LIGATURE_BREAK, since the name is so stupid.
6698 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6700 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6701 the default InsetCollapsable methods. I.e., it can insert anything.
6702 (write) output the name of the inset, not some silly hack for
6703 compatability with the old InsetInfo.
6705 * insetinfo.[Ch]: removed.
6706 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6707 now collapsable, but functionality is otherwise identical to InsetInfo.
6709 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6711 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6713 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6716 * insetquotes.C: general cleanup
6717 (dispString): add spaces inside french double quotes.
6718 (latex): ditto. Moreover, treat first the case where the frenchb
6719 or french options have been given.
6721 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6723 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6726 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6728 * figinset.C (RegisterFigure): Print debug message only when
6729 current_view is available.
6731 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6733 * many files: update to match the change below
6735 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6736 implement the version which takes an inset here.
6738 * insetcollapsable.[Ch]: implement open and isOpen
6740 * inset.h: remove insertInsetAllowed from Inset
6741 (open): new method, to open or close an inset
6742 (isOpen): returns the status of an inset
6743 (isCollapsable, colapse): removed
6745 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6747 * insetquotes.C (dispString): display french guillemets when using
6750 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * insetcollapsable.h: remove bogus return statements
6754 2001-07-18 Juergen Vigna <jug@sad.it>
6756 * insettabular.C (selectNextWord): fixed spellchecking for the
6757 first cell of a tabular (wasn't entered!)
6758 (getLyXText): changed to enter automatically insettext and return
6759 it's LyXText if we're locked.
6761 2001-07-17 Juergen Vigna <jug@sad.it>
6763 * various files: implemented the below functions.
6765 * inset.h: added functions
6766 - virtual string selectNextWord(BufferView *, float & value) const;
6767 - virtual void selectSelectedWord(BufferView *) { return; }
6768 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6769 needed for spellchecking correctly!
6771 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6773 * insetert.C (latex): write out all paragraphs.
6775 2001-07-17 Baruch Even <baruch@lyx.org>
6777 * insetgraphics.C (draw): Removed unneeded casts.
6779 2001-07-16 Juergen Vigna <jug@sad.it>
6781 * insettext.C (update): fixed small oversight (reset lt to 0).
6783 2001-07-14 Baruch Even <baruch@lyx.org>
6786 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6788 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6790 Consistent use of Lsstream.h:
6791 * figinset.C: removed using std::ostringstream directive.
6793 * insetgraphics.C (createLatexOptions):
6794 * insetinclude.C (unique_id):
6795 std::ostringstream -> ostringstream.
6796 * insettext.C (localDispatch): std::istringstream -> istringstream.
6798 2001-07-13 Juergen Vigna <jug@sad.it>
6800 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6802 * insetcollapsable.C (getLockingInset): ditto.
6804 2001-07-12 Juergen Vigna <jug@sad.it>
6806 * insetcollapsable.h: added implementation of new function for
6809 * various files: added implementation of new insertInsetAllowed-func
6810 and redone the function a bit more.
6812 * inset.h: added isCollapsable(), bool collapsed(),
6813 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6815 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6817 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6818 LyXText which is marked for removal while we're using it!
6820 * insettext.h: added private LyXText * lt to use it to assure we are
6821 not deleting our LyXText while we're using it!
6823 2001-07-11 Juergen Vigna <jug@sad.it>
6825 * insettext.C (insertInset): check if we are before the inset after
6826 inserting it! This check IS needed. Remove the Undo-Call as it is
6827 called in LyXText::insertInset!
6829 * insettext.h: added struct InnerCache.
6831 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6832 that we ONLY delete the LyXText in the getLyXText() routine. So we
6833 are sure we don't delete LyXText while someone is working with it!
6835 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6837 * insetexternal.C: (*it). -> it->
6838 * insettext.C: ditto
6840 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6842 * insetcollapsable.C (edit): always open collapsed insets (even if
6843 they are not autocollapsable)
6845 * insetcommand.C (operator=): simplify.
6847 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6849 * insetert.C (latex): handle META_NEWLINE
6851 2001-07-09 Juergen Vigna <jug@sad.it>
6853 * insetert.h: a normal InsetText can insert insets, but we won't.
6855 * inset.h: return default "false" on insertInsetAllowed and implement
6856 this function where a returnvalue != "false" is needed.
6858 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6860 * insetert.C (InsetERT): new contructor
6862 2001-07-06 Juergen Vigna <jug@sad.it>
6864 * a lot of files: added implementation of the below new functions
6865 and the change to clone(). Also the call of the new undo-functions
6868 * inset.h: added an inset_id, added functions getParFromID,
6869 getInsetFromID, firstParagraph, cursor and id functions, added
6870 bool same_ids to clone function.
6872 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6874 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6875 of BufferView * and shared_ptr<LyXText>
6877 2001-07-05 Juergen Vigna <jug@sad.it>
6879 * insettext.C (clear): deleted also the cache not only LyXText.
6880 (setParagraphData): ditto.
6882 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6884 * insetfloat.C (latex): let the specific placement take presedence
6885 if set, otherwise choose document placement if set, otherwise just
6886 use float default placement.
6888 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6890 * insettext.C (localDispatch): call CutAndPaste::'s static method
6893 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6895 * insetbib.C: no meed to include forms.h here.
6897 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6899 * insettext.C: added using std::make_pair directive.
6901 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6903 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6905 (deleteLyXText): ditto
6906 (resizeLyXText): ditto
6908 2001-07-02 Juergen Vigna <jug@sad.it>
6910 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6911 following calls are only returned the right pointer without the over
6912 head to search in the map.
6913 (various funcs): reset the cached_bview variable as this signs that
6914 the cache is not valid anymore.
6916 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6918 * insettabular.C (clone): do not copy the LyXTabular twice
6920 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6922 * insettext.h (TEXT): delete method
6924 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6926 * insetmarginal.C (latex):
6927 * insetfoot.C (latex): fix spacing of notes in LaTeX
6929 * insettext.C (localDispatch): use .c_str() on istringstream
6930 constructor argument.
6932 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6937 * inseturl.C: fix method names in these to begin
6938 with small char too, so they inherit
6940 2001-06-28 Juergen Vigna <jug@sad.it>
6942 * insettext.C (setFont): fixed font settings using toggleFree()
6943 instead of setFont().
6945 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6947 * Change a lot of method names to begin with a small char.
6948 Changes to a lot of files because of this.
6950 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6952 * insetfloatlist.C (Write): std:: qualify ostream
6955 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6959 * insetgraphics.C: send debug output to Debug::INFO instead of
6962 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6965 * insettabular.C (getStatus): update to use func_status
6967 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6969 * insetref.C (DocBook): added support for cross-references without
6972 2001-06-26 The LyX Project <jug@sad.it>
6977 * insetlabel.h: removed escape method and moved it to
6980 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * insettabular.C (getMaxWidth): do the speedup in a different way,
6985 2001-06-24 The LyX Project <Asger>
6987 * insettabular.C (getMaxWidth): We cache a mapping from
6988 inset to cell in order to speed this method up.
6990 2001-06-24 The LyX Project <Asger>
6992 * insettext.C: Optimized InsetText::draw or something.
6994 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6996 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6998 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7000 * inset.h: name change from lyxinset.h
7002 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7004 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7006 2001-06-14 Juergen Vigna <jug@sad.it>
7008 * insettext.C (draw): removed warnings.
7010 2001-06-13 Juergen Vigna <jug@sad.it>
7012 * insettabular.C (nodraw): only go down the tree if we don't have
7013 that flag set otherwise it's obvious that we don't want to draw.
7014 (LocalDispatch): do also an update if we have an undispached result.
7016 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7019 * insetgraphicsParams.C:
7020 * insettext.C: removed // -*- C++ -*- as first line.
7022 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7024 * lyxinset.h (resizeLyXText): shut off warning about unused
7027 2001-06-07 Juergen Vigna <jug@sad.it>
7029 * insettext.C (resizeLyXText): honor the new force flag.
7031 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7033 * insettabular.C (deleteLyXText): new function
7035 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7043 * insetcollapsable.C:
7044 * insetcaption.C: LColor tidy
7046 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7048 * figinset.C: fix typo
7050 2001-06-01 Juergen Vigna <jug@sad.it>
7052 * insettabular.C (resetPos): small hack so that scroll is not set to
7053 0 when we are in the last column of a tabular. This is a problem we
7054 have because of constats 20 offset on both directions, so this can
7055 cause on the limit an endless loop.
7057 * insettext.C (SetFont): forgot that we can have locking insets ;)
7059 2001-05-31 Juergen Vigna <jug@sad.it>
7061 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7063 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7065 * figinset.C: add using std:: directive for the C functions which
7068 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7070 * insetfloat.C (Write): write out wide info
7071 (Read): read the wide info
7072 (Latex): use the wide info when creating latex.
7074 * insettext.C: adjust
7076 * insetgraphics.[Ch] (statusMessage): change to return string
7080 * figinset.C (runqueue): add std::
7083 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7085 * insetcite.C (Ascii): add std:: qualifier
7087 2001-05-28 Juergen Vigna <jug@sad.it>
7089 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7090 a endless-width inset (maxWidth < 0).
7091 (Edit): change language only if not equal.
7093 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7095 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7097 2001-05-16 Juergen Vigna <jug@sad.it>
7099 * insettext.C (selectAll): added
7100 (clearSelection): added
7102 * insettabular.C (SetFont): now we may set a font on a whole selection!
7103 (getSelection): added helper function.
7105 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7107 * insetcite.C (Ascii): Add method.
7109 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7112 * insetbib.C: fix path for OS/2 & Win32
7114 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7116 * insetfoot.C (Latex): don't use % after footnote.
7118 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7120 * insettext.C (Read): use clear
7121 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7123 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7125 * insetfloatlist.h: add a bunch of std:: qualifiers.
7127 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7129 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7130 FLOAT_LIST_CODE, renumber code list.
7132 * insettoc.C (getScreenLabel): remove support for float lists
7136 * insetfloatlist.[Ch]: new files
7138 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7140 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7142 * insettabular.C (LocalDispatch):
7143 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7146 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7148 * insettext.C: remvoe !NEW_INSETS cruft
7150 * insettabular.C: remove !NEW_INSETS cruft
7152 * insetcollapsable.h: remove !NEW_INSETS cruft
7154 * insetbib.C: remove !NEW_INSETS cruft
7156 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7158 * insettoc.C: hack to make listof algorithm work
7160 2001-04-20 Juergen Vigna <jug@sad.it>
7162 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7164 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7166 * insetquotes.C (Latex): improve the guard against
7167 unwanted !` and ?` ligatures. This should really be done in
7168 another place (to catch all this ligatures at low-level).
7170 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * insettext.C (init): remvoe leftovers from cursor_visible change
7173 (draw): use c++ cast
7174 (LocalDispatch): dispatch LFUN_MESSAGE
7176 * insettabular.C (InsetTabular): remove leftovers from
7177 cursor_visible, and scoped_ptr changes
7178 (draw): use c++ cast
7180 * insetcollapsable.C (draw): use c++ cast
7182 * ExternalTemplate.h: inherit privaely from noncopyable
7183 * insetcommand.h: ditto
7184 * insetinclude.h: ditto
7186 2001-04-16 Allan Rae <rae@lyx.org>
7188 * insettoc.C (Ascii):
7189 * insettext.C (draw):
7190 * insettabular.C (setPos):
7191 * insetminipage.C (Read):
7192 * insetfloat.C (placement):
7193 * insetcaption.C (Ascii, DocBook):
7194 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7195 an unrecognised preprocessor directive. So ensure they're wrapped.
7197 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7200 * insetexternal.C: set view on Clone. Add _ to private members.
7202 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7204 * insettext.C (InsetText): fix new
7205 (InsetText): reindent some, simplify deletion of par list
7206 (clear): simplify deletion of par list, fix new
7207 (SetParagraphData): simplify deletion of par list
7209 * insettabular.[Ch] (getLabelList): implement new method
7211 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * lyxinset.h: do not include gettext.h...
7221 * insetlatexaccent.C:
7225 * inseturl.C: ... and do it here instead
7227 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7231 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7233 * insetcollapsable.[Ch] (getLabelList): implement
7235 * insettext.[Ch] (getLabelList): implement
7237 * insettext.h: reindent
7239 * insettabular.h: make tabular a scoped_ptr
7241 * insettext.C (init): adjust for cursor_visible
7242 (ToggleInsetCursor): constify asc and desc, font, adjust for
7244 (ShowInsetCursor): constify asc and desc, font, adjust for
7246 (HideInsetCursor): adjust for cursor_visible
7248 * insettabular.C: reindent some
7249 (InsetTabular): adjust for scoped_ptr and cursor_visible
7250 (InsetTabular): ditto
7251 (~InsetTabular): delete delete
7252 (Clone): adjust for scoped_ptr
7253 (Read): constify old_format, adjust for scoped_ptr, move init of
7255 (draw): constify tx, localize loop vars.
7256 some other localization of variables, remove double initilizatons.
7258 * insetfoot.C: remove using std::ostream, add ostream where needed
7260 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7262 * lyxinset.h: some reindentaion, use initializer list for
7264 UpdatableInset: make cursor_visible a private var add
7265 public isCursorVisible(), add protected toggleCursorVisible() and
7266 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7268 * insettoc.C: remvoe using decl
7269 (getScreenLabel): make cmdname donst
7272 (Ascii): don't use endl
7274 * insetfootlike.C: remove using decl at file scope and add std::
7276 * insetmarginal.C: ditto
7278 * insetfoot.C: some reformatting
7280 * insetfloat.C (InsetButtonRelease): adjust the hit area
7282 * insetert.C (SetFont): some reformatting
7284 * insetcollapsable.C: some reformatting and constification
7285 (Clone): comment out.
7286 * insetcollapsable.h: some reformatting
7287 (Clone): comment out.
7292 2001-03-30 Juergen Vigna <jug@sad.it>
7294 * insetcollapsable.h: changen *inset to be a InsetText inset.
7296 * some files: changed to reflect the above change.
7298 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7300 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7301 InsetExternal::Params.
7302 Added operator==() and operator!=() for the Params struct.
7304 2001-03-29 Juergen Vigna <jug@sad.it>
7306 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7309 * insetminipage.C: removed widthp_ and all it's functions and changed
7310 to use new %-lengths of LyXLength.
7312 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7314 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7316 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7318 * insetgraphicsParams.C (operator!=): new function, needed by the
7319 ControlGraphics class.
7321 2001-03-28 Juergen Vigna <jug@sad.it>
7323 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7324 (checkAndActivateInset): don't use the values returned from
7325 call to bv->checkInsetHit.
7327 * insetminipage.C (Clone): set special minipage values.
7329 * insetcollapsable.C (draw): changed to draw the button in the
7330 upper left corner outside the textinset.
7331 (ascent): changed because of different drawing
7335 (InsetButtonPress): ditto
7336 (InsetButtonRelease): ditto
7337 (InsetMotionNotify): ditto
7339 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7341 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7345 2001-03-26 Juergen Vigna <jug@sad.it>
7347 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7349 * insettext.C (ShowInsetDialog): implemented above function.
7351 * insettabular.C (ShowInsetDialog): ditto
7353 * insetminipage.C (ShowInsetDialog): ditto
7355 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7357 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7358 InsetInclude::Params. Don't store a buffer * in Params. Store the
7359 master file name instead.
7361 2001-03-23 Juergen Vigna <jug@sad.it>
7363 * insetcollapsable.C (InsetMotionNotify):
7364 (InsetButtonRelease):
7365 (InsetButtonPress): fixed y-offset (minipages).
7367 * insettext.C (draw): force a FULL update if cleared == true.
7369 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7370 routine to draw the minipages on its position-flag.
7371 (InsetInInsetY): give back the right y position, because of minipage
7374 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7377 * insetfloat.C (DocBook): docbook export code.
7379 2001-03-22 Juergen Vigna <jug@sad.it>
7381 * insetminipage.C (getMaxWidth): added function to set the drawing
7383 (Read): should work now!
7385 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7386 if we create a new inset.
7388 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7390 * figinset.C (fl_set_preemptive_callback): moved definition outside
7393 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7395 * insetminipage.C (Read): prepare for reading of minipage arguments.
7397 2001-03-18 Baruch Even <baruch@lyx.org>
7399 * insetgraphics.C: Minor cleanups of the comments and code.
7401 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7403 * insetminipage.C (InsetMinipage): default to not collapsed
7405 2001-03-16 Juergen Vigna <jug@sad.it>
7407 * insetminipage.C (width): modified with to be a string
7408 (widthp): added widthp (for % width) support functions.
7409 (InsetButtonRelease): added to open the options dialog on button==3.
7410 (~InsetMinipage): added to hide the dialog.
7412 * insetminipage.h: added hideDialog signal
7414 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7416 * insetminipage.h: change the order or Position to match
7417 LyXParagraph::MINIPAGE_ALIGNMENT
7419 * several files: remvoe CXX_WORKING_NAMESPACES
7421 * ExternalTemplate.h: noncopyable is in namespace boost
7422 * insetinclude.h: ditto
7423 * insetcommand.h: ditto
7425 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7427 * insettext.C (Edit): #else# -> #else.
7428 * insettoc.C: added using directive.
7430 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7432 * insetminipage.h: add pos, inner_pos, width and height. + getters
7433 and setters for all of them.
7435 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7437 * insetinclude.C (Latex): Do not exit when the textclass of the
7438 included file differ from the textclass of the parent file.
7440 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7442 * ExternalTemplate.C (read): the reading of external insets now checks
7443 for \end_inset and removes it form the input stream.
7445 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7447 * ExternalTemplate.h:
7448 * ExternalTemplate.C:
7450 * insetexternal.C: move form to GUII
7452 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7455 * insetinclude.C: add InsetIncludeParams, use
7456 composition rather than derivation of InsetCommand
7458 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7460 * insettoc.C (Ascii): use the Buffer typedefs
7462 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7464 * insettoc.C (Ascii): implement for dynamic number of lists
7466 * insetcaption.[Ch]: update from new_insets branch
7467 * insetfloat.[Ch]: ditto
7469 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7472 * figinset.C: use new File Dialog
7474 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7476 * insettext.C: changes becuase of ParagraphParameters.
7478 2001-02-28 Baruch Even <baruch@ev-en.org>
7480 * insetgraphics.C (updateInset): Changed due to the change in
7483 2001-02-26 Juergen Vigna <jug@sad.it>
7485 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7486 handled in LyXText).
7488 2001-02-23 Juergen Vigna <jug@sad.it>
7490 * insettext.C (draw): some small repainting fixes.
7491 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7493 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7494 should be) and not an int.
7496 * insettabular.C (LocalDispatch): ditto
7498 * insettext.C (LocalDispatch): ditto
7500 * insetcollapsable.C (LocalDispatch): ditto
7502 2001-02-22 Juergen Vigna <jug@sad.it>
7504 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7505 DISPATCH it and we don't have a locking_inset.
7507 2001-02-21 Baruch Even <baruch@ev-en.org>
7509 * insetgraphics.[Ch]: Changed to use
7510 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7512 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7514 * insetcollapsable.C (getLyXText): add const qualifier to second
7517 2001-02-22 Juergen Vigna <jug@sad.it>
7519 * insettext.C (getLyXText): honor the recursive parameter.
7520 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7522 * inset.C (getLyXText): added bool recursive parameter.
7524 * insettext.C (SetUpdateStatus): or the update codes.
7525 (draw): check need_update with &.
7526 (InsetButtonPress): set no_selection to not put a selection when
7527 entering an inset and it is redraws in another spot.
7529 * insettext.h: made need_update an int.
7531 2001-02-20 Baruch Even <baruch@ev-en.org>
7534 * insetgraphisc.C: Changed to use better semantics when loading images
7535 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7537 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7541 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7542 consistent with InsetTabular.
7544 2001-02-19 Juergen Vigna <jug@sad.it>
7546 * insettabular.C (LocalDispatch): implement PAGE up/down.
7548 * insettext.C (draw): clear all of it on need_update==INIT too!
7550 * insettabular.C (InsetUnlock): always clear the selection.
7552 * inset.C (scroll): normally we only want to scroll the inset until
7553 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7555 2001-02-14 Juergen Vigna <jug@sad.it>
7557 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7558 (resetPos): fixed scroll behaviour.
7559 (LocalDispatch): do an update if moving cursor inside a table cell
7560 requests a scroll of the tabular.
7562 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7564 * insettext.C (textWidth): constify local var
7566 * insettabular.C: small cleanup.
7568 * insetfoot.C (Latex): constify local var
7570 * insetcollapsable.C: small cleanup.
7572 * figinset.C (runqueue): use compare instead of strcmp
7574 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7577 * insetinfo.C: remove cruft
7579 2001-02-14 Juergen Vigna <jug@sad.it>
7581 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7583 2001-02-13 Juergen Vigna <jug@sad.it>
7585 * insettext.C (InsertInset): don't move left (is this right?)
7587 * insettabular.C (LocalDispatch): use of the no_draw variable
7589 * insettabular.h: new no_draw variable to stop redraw
7591 * insettabular.C (TabularFeatures): fixed update for alignment change
7593 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7597 * insetbib.C: move dialogs to frontends/
7599 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7601 * insettext.C (LocalDispatch): Restore the language if the inset
7604 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7606 * insettext.C (moveRightIntern): Update the selection cursor.
7607 (moveLeftIntern): Ditto.
7609 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7611 * Makefile.am: remove BoundingBox.h
7613 * BoundingBox.h: removed
7615 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7617 * insettext.C (LocalDispatch): Update selection cursor when moving
7618 cursor to the right.
7619 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7620 (moveLeftIntern): Ditto.
7622 2001-02-05 Baruch Even <baruch.even@writeme.com>
7624 * insetgraphics.C: Updated automatic image conversion, it now goes into
7625 temporary directory instead of with the image itself.
7627 2001-01-21 Baruch Even <baruch@ev-en.org>
7629 * insetgraphics.C: Added Docbook support. Added Automatic image
7630 conversion to EPS or PNG when needed (support bitmap graphics).
7632 2000-11-02 Baruch Even <baruch@ev-en.org>
7635 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7636 to '\n' and removal of commented out code.
7638 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7640 * insetbib.C (callback): Update citations if the key has changed.
7642 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7644 * insetbib.C (InsetBibKey): Better computation of default key.
7645 (getScreenLabel) Show both the key and the label.
7646 (getBibLabel): New method.
7647 (callback): Force a redraw if the inset have been changed.
7649 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7651 * insetref.C (getType, getName): Move methods from
7652 src/frontends/xforms/FormRef.C.
7654 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7656 * insettabular.C: Various improvements (use only one dummy position).
7658 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7660 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7661 par->bibkey->width. This fixes the crashes when running without
7662 gui or when having included documents.
7664 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7666 * insetcommand.C (getAsString, setFromString): Cleanup.
7668 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7670 * insetref.C: Add the array InsetRef::types that contains
7671 information about all supported reference types.
7673 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7675 * lyxinset.h: remove trailing comma in enum.
7677 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7679 * insettext.C: kill LyXBell.