1 2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetbase.[Ch]: new bool neverIndent() which indicates if
4 an inset does not want paragraph indentation at all.
7 * insetoptarg.h: return true for neverIndent()
8 * insettext.[Ch]: return true for neverIndent() in case
9 of tabular cells (based on a crude guess).
11 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * insetline.C: Add forgotten include
15 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * insetline.C (latex): write the size argument of \lyxline again
18 * insetquotes.C (latex): adapt to OutputParams changes
20 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
23 when switching to pwidth cell (bugs 1296, 1840).
25 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * insettabular.C (draw): pass PainterInfro::erased_ to
29 (drawCellLines): add an erased bool and handle it.
31 2005-08-03 John Levon <levon@movementarian.org>
33 * insettext.C (clear): remove bool argument.
34 (read): adapt to clear() changes.
36 * insettabular.C (cutSelection): adapt to MarkErased changes.
38 * insettext.C (markErased):
39 * insettabular.C (markErased):
40 * insetbase.C (markErased): add bool argument.
42 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
45 after copying several cells (works around bug 1919).
47 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
49 * insetcharstyle.C (metrics,draw): consider inset label for
50 width computation; fix drawing of labels of undefined char styles
52 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
54 * insettabular.C (getStatus): fix Helge's bug that a number of insets
55 including ERT could not be inserted in tabular.
57 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * insetinclude.C (string2params): fix typo in error message (bug 1963).
61 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * insettabular.C (getStatus): disable line and paragraph breaks
64 in non-fixed-width cells (bug 1938).
66 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
69 * insetwrap.C: Do not use translatable strings as internal identifier
72 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
74 * insetbase.C: include boost/current_function.hpp
76 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
78 * insetbase.C (edit,editXY,index): supress some lyxerr messages
80 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
84 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
86 * insetlabel.C (changeRefsIfUnique): remove unused code
88 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
91 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
92 reverse the logic. Make sure to set updateButtonLabel_ to true in all
93 places where params is set (directly or indirectly).
95 2005-07-15 André Pönitz <poenitz@gmx.net>
97 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
99 2005-07-15 André Pönitz <poenitz@gmx.net>
103 * insetcollapsable.[Ch]:
105 * updatableinset.[Ch]: remove UpdatableInset
107 2005-07-15 José Matos <jamatos@lyx.org>
109 * insettext.C (plaintext): fix call to asciiParagraph.
111 2005-07-15 André Pönitz <poenitz@gmx.net>
113 * insetcollapsable.[Ch]:
114 * updatableinset.[Ch] (scroll, setScroll): sanitize things
116 2005-07-14 Angus Leeming <leeming@lyx.org>
118 * insetbibtex.C (latex): when processing the LaTeX file in
119 a temp directory, copy the BibTeX databases there, mangling their
120 names in the process. Do this so that BibTeX can process the database
121 because it *really*, *really* can't handle "files with spaces".
123 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
125 * insettext.C (doDispatch): reduce some debug blabbering
127 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * ExternalSupport.C (subst_path): adjust to latex_path changes and
130 replace dots if appropriate
131 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
132 * insetexternal.C (validate): require lyxdot
134 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * ExternalSupport.C (subst_path): new argument exclude_extension
137 * ExternalSupport.C (doSubstitution): exclude the extension when
139 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
140 the extension when quoting the file name
142 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * insetquotes.C (latex): always use \og/\fg for the french
145 languages; test against the language code instead of the babel
148 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * insettabular.C (tabularFeatures): adjust cursor after adding a column
152 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * insetbranch.C (setButtonLabel): Make label prefix translatable.
156 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
158 * insettabular.[Ch] (dist): make it a real member of insettabular
159 and rewrite it to use the actuall cell dimensions for calculation,
160 not the insettext's deimensions (fixes bug 1801).
162 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * insetbibtex.C: (addDatabase): do not check for substrings but
165 but for whole tokens.
166 (delDatabase): make it actually work.
168 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
172 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * insetgraphics.C (prepareFile): don't strip the extension of quoted
176 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
178 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
181 when multiple cells are selected (bug 1837).
183 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * insetoptarg.C (InsetOptArg): make the inset open by default
188 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * insetvspace.C (draw): use VSpace::asGUIName.
192 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
195 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
196 cur.noUpdate() if nothing changed
197 * insetlatexaccent.[Ch]: spelling fixes
199 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
201 * insetcollapsable.C (doDispatch): fix
202 click-on-closed-collapsable-inset-crash bug.
204 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
206 * insettabular.C (pasteSelection):
207 * insettext.h (copy c'tor): fix paste inside tabulars.
209 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * insetoptarg.C (plaintext): add dummy method.
213 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * insetbase.h (doDispatch): document a bit more
216 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
217 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
218 cur.bv().update(), because that leads to nested updates. Call
219 cur.noUpdate() instead where approriate.
221 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
223 * insetbibtex.C: change screen label
225 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
227 2005-05-06 José Matos <jamatos@lyx.org>
229 * insetcommandparams.C (scanCommand): fix out of range string access.
231 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
233 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
235 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
236 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
239 handle undefined character styles
240 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
241 handle undefined character styles
243 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
245 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
246 in getStatus and the tabularFeature string (bug 1860).
248 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * insetbranch.C (getStatus): make the code more compact
252 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * insetcollapsable.C (doDispatch): do not pass through double/triple
255 click events when they are not in the insetext (bug 1797).
257 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * insetbase.h: document a bit more
260 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
261 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
262 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
263 (getStatus): implement
264 * insetcollapsable.[Ch] (hitButton): take a const argument
265 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
268 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * insetcollapsable.C (doDispatch): pass through double/triple
271 click events (bug 1811).
273 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
277 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
278 but the SENSITIVE label type.
280 2005-04-18 Angus Leeming <leeming@lyx.org>
282 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
283 'use_latex_path' argument. In turn, passed to the new subst_path
284 function when replacing placeholders with paths.
286 * insetexternal.C (getScreenLabel):
287 * ExternalSupport.C (lots of places): change invocation of
288 doSubstitution in lots of places, specifying the appropriate values
289 for this 'use_latex_path' boolean.
291 * insetbib.C (latex):
292 * insetgraphics.C (latex):
293 * insetinclude.C (latex): pass path to latex_path rather than to
296 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
298 * insetcharstyle.C (validate): allow nested charstyle insets
300 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
302 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
304 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * insetfloat.C (InsetFloat):
307 * insetwrap.C (InsetWrap): do not set layout here.
309 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
311 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
313 * insetbase.h (getStatus): add more documentation
314 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
317 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
319 * insetcharstyle.C (metrics, draw):
320 * insetert.C (metrics, draw):
321 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
324 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
326 * insetexternal.C (validate):
327 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
328 multiple Requirements in external material template
330 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
332 * insettext.C (drawFrame): cosmetic fix
334 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
336 * ExternalSupport.C (writeExternal):
337 * insetgraphics.C (latex):
338 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
339 mis-count in computing latex error location
341 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
343 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
344 make it *not* descend into insets (fix a crash). Move the part
345 needed from editXY to a new function getNearestCell
347 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * insetinclude.C (InsetInclude): when constructing from another
350 InsetInclude, set set_label_ to false, since the value is never
353 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
355 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
357 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
359 * insettabular.C (drawSelection): cosmetic bugfix
361 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * insettabular.C (doDispatch): get middle mouse button back again
364 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
365 when only a part of the cell is selected (fix bug 1799)
367 * insettabular.C: handle some more character attributes in
368 M. Vermeers method (when multiple cells in tables are selected);
369 disable some more senseless lfuns when multiple cells are selected
371 Move to end of cell instead of beginning when coming from the cell
374 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
376 * insettabular.C: make applying character attributes
377 possible for multiple cells in tables. Disable collapsable
378 insets for multiple-cell selection in table (Jürgen S.)
379 Bug reported by Helge Hafting.
381 2005-02-25 Andreas Vox <avox@arcor.de>
383 * insetmarginal.[hC] (docbook): new method, render as <note>
385 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
387 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
389 * insetcaption.[Ch] (doClone): implement
391 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * insetgraphics.C (prepareFile): handle non-existing files
394 * insetgraphics.C (latex): remove special handling of non-existing
397 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
399 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
400 * insettext.C: adjust metrics
402 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * insettext.C: include boost/current_function.hpp (needed when
405 assertions are disabled)
407 2005-02-20 André Pönitz <poenitz@gmx.net>
409 * insetcollapsable.C: Prevent problems on double-/
410 tripleclick on collapsable label (bug 1797).
412 2005-02-13 André Pönitz <poenitz@gmx.net>
414 * insettext.[Ch] (border_): new
415 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
418 2005-02-14 Angus Leeming <leeming@lyx.org>
420 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
421 about "truncation of constant value".
423 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
426 workaround for broken HTML converter)
428 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
430 * insetcollapsable.C (leaveInset): size() -> depth()
431 * insettabular.C (isRightToLeft): ditto
433 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * insetert.C (latex, linuxdoc, docbook): remove newline handling
436 * insetert.C (doDispatch): clean pasted paragraphs
437 * insetert.C (getStatus): suppress more lfuns
438 * insetert.C (insetAllowed): return always false
440 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
445 * updatableinset.C: Use new cursor accessors.
447 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
451 2005-01-31 Angus Leeming <leeming@lyx.org>
453 * insetgraphicsParams.C: protect a #warning preprocessor call
454 with a #ifdef WITH_WARNINGS guard.
456 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
458 * Several files: use convert<> instead of atoi,strToXXX and friends
460 2005-01-23 Angus Leeming <leeming@lyx.org>
462 * insetbibitem.h (bibitemWidest): declare the function.
464 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * insetgraphics.C (prepareFile): move the invocation of the default
467 converter to ../converter.C
468 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
469 call convert with try_default == true
471 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
474 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
475 determines what variables are substituted
476 * ExternalSupport.C (updateExternal): fix substitution of
479 2005-01-10 Angus Leeming <leeming@lyx.org>
481 * ExternalTemplate.C: use support/package.h to provide the paths to the
482 various directories used by LyX.
484 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * ExternalTransforms.C (adjAngle): tostr -> convert
494 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
496 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
499 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
501 * ExternalTransforms.C: fix LaTeX output of \scalebox.
503 * ExternalTransforms.[Ch]:
504 * insetexternal.C: store all float/double values as strings.
507 * insetgraphicsParams.C: more precise checks for the value strings.
509 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * insettext.C (doDispatch): remove unused variable was_empty
513 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * insetgraphicsParams.[Ch]: store all float/double values as strings.
518 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
520 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
522 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
525 UNSET_ALL_LINES (from Jürgen)
527 2004-12-14 Angus Leeming <leeming@lyx.org>
529 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
530 to overcome bug in the MinGW port of g++ 3.4.2.
532 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
534 * insettabular.C (getCellXPos): make it return a relative x
535 position wrt. the begin of the tabular
536 (resetPos): a couple of fixes
537 (doDispatch): add a couple of resetPos calls
538 (drawSelection): fix drawing of selection in single-cell mode
539 (draw): replace 'do not draw' optimization by 'draw with
542 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * insetbase.[Ch] (idxUpDown2): remove function
546 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
548 * insettabular.[Ch]: use size_t-like types for cell, row and column
551 2004-12-02 José Matos <jamatos@lyx.org>
553 * insetlatexaccent.C (checkContents): remove compatibility code,
556 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
558 * insetbase.h (getStatus): add better comment from src/cursor.C
560 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
562 * insettabular.[Ch]: adjust, introduce "do not draw
563 offscreen" optimization using NullPainter, (dist): introduce,
564 (getCursorPos): implement, (drawSelection): implement
566 * insetcollapsable.[Ch]: adjust
568 * insettext.C: adjust, (metrics): set the font before calling
571 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * rename a lot of InsetOld to InsetBase
575 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
578 * insettext.C: par->pit renaming
580 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * Most insets: rename priv_dispatch to doDispatch
584 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
586 * insettabular.C (tabularFeatures): fix multicolumn handling
588 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * render_base.h (operator=): use common semantics
592 * insettext.C (operator=): delete this
593 (copy constructor): implement this properly
594 (init): use for_each and bind
596 (appendParagraphs): ditto
598 * insettabular.C: add more const. Adjust for changes in tabular.
600 * insetbase.h: Use NVI on clone. Add virtual doClone and update
601 all children, also make copy constructor protected. Added some
602 safe-guards to clone.
604 * insets: adjust to fit.
606 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * insetoptarg.C (latexOptional): return number of lines instead of
611 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
613 * insettabular.[Ch] (string2params): Don't pretend to return the
614 active cell anymore and simplify keyword parsing.
616 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * insetlatexaccent.h (isLetter): implement, so that word selection
619 takes accents into account.
621 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
623 * insetcollapsable.C (priv_dispatch): do not push the inset to the
626 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * ExternalSupport.C, insetgraphics.C:
629 s/getFormatFromContents/formats.getFormatFromFile/
631 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
633 * insetcharstyle.[Ch]:
634 * insetert.[Ch]: implement getStatus
636 * insetcharstyle.C (draw): visual clue when the cursor is inside
639 2004-11-02 José Matos <jamatos@lyx.org>
641 * insetcharstyle.C (docbook):
642 * insetlabel.C (linuxdoc, docbook):
643 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
646 * insettabular.C (docbook): mixed content no longer belongs to
649 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
653 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
655 * ExternalSupport.C (updateExternal): convert files in the temp dir
657 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * insetcharstyle.C: drawing cosmetics.
661 2004-10-30 José Matos <jamatos@lyx.org>
663 * insetcharstyle.C (docbook): a compromisse solution. Don't output
664 paragraph tags inside inline elements.
666 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
668 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
669 InsetText methods rather than outputVerbatim (escapes special
670 characters) [bug 1731]
671 * insetcharstyle.C (outputVerbatim): remove this function.
672 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
673 which caused an infinite loop.
675 2004-10-29 José Matos <jamatos@lyx.org>
677 * insetgraphics.C (uniqueID): transfered to sgml.C
679 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
681 * insetlabel.C (docbook, linuxdoc):
682 * insetref.C (docbook, linuxdoc): sanitize id.
684 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
687 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
688 * insetgraphics.C (findTargetFormat): reformat
690 2004-10-28 José Matos <jamatos@lyx.org>
692 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
694 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
698 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
701 "[,,,]" without warning message
703 2004-10-26 Angus Leeming <leeming@lyx.org>
705 * ExternalSupport.C (updateExternal):
706 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
707 external files to the temp directory.
709 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
711 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
712 layouts. This fixes problems with the memoir class (which does not
713 allow \footnote) [bug 1677]
715 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
717 * insetindex.C (docbook): escape the index, to generate correct sgml.
719 2004-10-23 José Matos <jamatos@lyx.org>
721 * insettext.C (docbook): rearrange arguments, due to change in the
724 2004-10-23 André Pönitz <poenitz@gmx.net>
726 * insettabular.C (cutSelection, tabularFereatures):
727 fix cursor position after cutting selection or table rows
729 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
731 * insetgraphics.C (docbook, writeImageObject): write more than one
732 format of imageobjects in <mediaobject>.
734 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
736 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
737 DocBook output for this inset ( <citation>content</citation> )
739 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
741 * insetgraphics.C (docbook) : using mediaobject for XML;
742 correcting bug with SGML output (now '>' instead of '/>')
744 2004-10-05 José Matos <jamatos@lyx.org>
746 * insetfloatlist.C (read):
747 * insetquotes.C (read):
748 * insetspace.C (read):
749 * insetspecialchar.C (read):
750 * insettabular.C (read): replace nextToken by more appropriate lex
753 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
755 * insetgraphics.C (createDocBookAttribute, docbook) :
756 convert scale, width, height and keepaspectratio to Docbook standards)
758 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
759 to Docbook units where possible.
761 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
763 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
765 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
766 as attributes with new method for docbook.
768 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
770 * render_preview.h: Use preferred calling of Boost.Signal
772 * pch.h: use proper signal include
774 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * ExternalTransforms.h: User preferred calling of Boost.Function
778 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
780 * insetref.C (docbook): fixing problem where Docbook XML output
781 had unclosed <xref ... >
783 2004-08-16 José Matos <jamatos@lyx.org>
785 * insethfill.C (write):
786 * insetline.C (write):
787 * insetnewline.C (write):
788 * insetpagebreak.C (write): remove space at end of line.
790 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * insettabular.C (plaintext): do not use ownerPar to get the
795 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
796 and it calls getParentLanguage (which calls ownerPar)
797 (edit): do not call sanitizeEmptyText
798 (priv_dispatch): remove code resetting font on empty inset, for
799 the same reasons as above.
801 * insettabular.C (isRightToLeft): instead of using
802 BufferView::getParentLanguage, use the data from the cursor
804 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * Makefile.am: support pch
810 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * insettabular.C (draw): whitespace
814 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
816 2004-08-14 André Pönitz <poenitz@gmx.net>
818 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
820 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * insettabular.C (metrics): when the width of a cell is zero(),
823 let it use as much space as it can
825 * insettext.C (editXY): compilation fix
827 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
829 (metrics): the insets is not full width any more.
830 (draw): adjust; fix bad test for PREVIEW_OFF
831 (add_preview): fix bad test for PREVIEW_OFF
832 (display): do not return true when using \input
834 2004-08-14 José Matos <jamatos@lyx.org>
836 * insetbibitem.[Ch] (plaintext): added.
838 * insetcite.[Ch]: fix plaintext export.
840 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
842 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
845 * insetcaption.C (InsetCaption): modify call to setDrawFrame
846 * insetcollapsable.C (InsetCollapsable): ditto
847 * insetenv.C (InsetEnvironment): ditto
849 2004-08-14 André Pönitz <poenitz@gmx.net>
852 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
854 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
856 * insetoptarg.C (latexOptional): if the optional argument contains
857 a ']' enclose it in {curly brackets}
859 * insettext.C (editXY):
860 * insettabular.C (editXY):
861 * insetcollapsable.C (editXY):
862 * insetbase.C (editXY): constify
864 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
865 not ask for an update if we did nothing; on a mouse release, make
866 sure that the cursor is moved to the right position; on a mouse
867 release, exit from the inset instead of invoking a
870 * insetbase.C (dispatch): before invoking dispatch, set cursor
871 result to dispatch=update=true.
873 2004-08-13 José Matos <jamatos@lyx.org>
875 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
877 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * insetfoot.C (latex): use OutputParams::intitle instead of
880 parOwner() (avoids time consuming lookup)
882 * insetquotes.C (latex): same as above with OutputParams::lang.
883 Moreover the code actually works now.
885 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
888 * insetinclude.C, insetgraphics.C, insetfloat.C:
889 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
890 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
891 "support/std_sstream.h" to <sstream>
893 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
895 * insetgraphics.C (prepareFile): remove conversion_needed flag.
896 It made the following fail for a .eps graphics file:
898 2) view->pdf (pdflatex)
899 because the .eps file was already in the temp dir when the pdflatex
900 export happened and therefore no .eps -> pdf conversion was done.
902 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
904 * insetgraphics.C, insettabular.C: s/wether/whether/g
906 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
908 * insetgraphics.C (stripExtension): new
909 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
911 * insetgraphics.C (prepareFile): Handle "nice" exports, too
912 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
914 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * insetfloatlist.C (latex,getScreenLabel): translate according to
917 the document language (bug #1312)
919 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
922 with external_in_tmpdir and compute filename ourself
923 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
924 use it to store referenced file(s)
925 * ExternalSupport.C (writeExternal): write relative filename if
927 * ExternalTemplate.[Ch]: add ReferencedFile command
928 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
930 * insetgraphics.C (prepareFile): write relative filename if
932 * insetinclude.C (latex, docbook, linuxdoc): add file to
933 runparams.exportdata and write it to the temp dir instead of
934 writing it to the final destination
935 * insetinclude.C (docbook, linuxdoc): don't copy runparams
937 2004-05-19 Angus Leeming <leeming@lyx.org>
939 * insetcite.[Ch]: small change because namespace biblio is
940 now namespace lyx::biblio.
942 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
944 * insettabular.[Ch] (buffer): make Buffer * argument const
946 2004-05-17 Angus Leeming <leeming@lyx.org>
948 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
949 to force the button label to be re-generated.
951 2004-05-14 José Matos <jamatos@lyx.org>
953 * insetlabel (docbook): do not ouput label, for the moment.
955 2004-05-14 Angus Leeming <leeming@lyx.org>
957 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
958 new biblio::asValidLatexString function.
960 2004-05-12 Angus Leeming <leeming@lyx.org>
962 * insetcite.C: use BufferParams::cite_engine rather than the three
963 bools, use_natbib, use_jurabib, use_numerical_citations.
965 2004-05-10 Angus Leeming <leeming@lyx.org>
967 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
968 Ditto with getStyle, moved to biblio::getEngine.
970 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
972 * insetgraphics.C (validate): remove pre 233 file format stuff,
973 handle zipped files for "nice" export
975 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
977 * insetgraphics.C (prepareFile): copy zipped file and corresponding
978 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
979 * insetgraphics.C (prepareFile): unzip zipped file also if it has
980 changed since the last run
981 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
982 and copyFileIfNeeded.
984 2004-04-29 Angus Leeming <leeming@lyx.org>
986 * ExternalTemplate.[Ch]: remove redundant #includes.
988 2004-04-28 Angus Leeming <leeming@lyx.org>
991 s/updateToolbar()/updateToolbars()/
993 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * insetgraphics.C: require file extension (file format change!)
996 * insetgraphics.C (latex): handle zipped files for "nice" export
998 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1000 * insetgraphics.C (latex): strip the extension and replace dots in
1001 the filename if doing a "nice" export. This is a partial fix for
1002 bug 1231 without reintroducing bug 655.
1004 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * insetoptarg.h: remove the editable() method (InsetCollapsable
1007 does it better already)
1009 * insetbibtex.C (normalize_name): new helper function. Changes the
1010 name to be suitable to use in a latex file (relative to master
1011 buffer if necessary).
1012 (latex): use normalize_name.
1014 2004-04-20 Angus Leeming <leeming@lyx.org>
1016 * render_preview.C (startLoading): remove lyxerr statement.
1018 (getPreviewLoader): new helper function.
1020 2004-04-19 Angus Leeming <leeming@lyx.org>
1024 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1026 2004-04-19 Angus Leeming <leeming@lyx.org>
1028 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1030 (add_preview): renamed as add_preview_and_start_loading. Invoke
1031 RenderPreview::startLoading.
1033 * insetinclude.C (metrics, draw): changes due to the changed
1034 RenderPreview interface.
1036 * render_preview.C: remove cached pimage_.
1037 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1038 (draw): don't call startLoading. That's up to the user of
1041 2004-04-16 Angus Leeming <leeming@lyx.org>
1043 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1045 2004-04-13 Angus Leeming <leeming@lyx.org>
1047 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1048 the renderer to inform LyX::updateInset that the inset's status
1049 has changed and it should be redrawn.
1051 * render_button.[Ch] (clone):
1052 * render_graphic.[Ch] (c-tors, clone):
1053 * render_preview.[Ch] (c-tors, clone): ditto.
1055 * render_graphic.[Ch] (connect):
1056 * render_preview.[Ch] (connect): removed, as connection is now
1057 made in the constructors.
1061 * insetinclude.C: ensuing simplification of the client code.
1062 (statusChanged): now superfluous. Removed.
1064 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1066 * ExternalTemplate.[Ch]: remove editCommand
1067 * ExternalSupport.C (editExternal): use formats.edit() instead of
1068 the removed editCommand template parameter
1069 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1070 * insetgraphics.[Ch] (editGraphics): new method
1072 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * insetinclude.C (validate): set/reset features.buffer_ when
1075 validating the child
1077 2004-04-07 Angus Leeming <leeming@lyx.org>
1079 * insetexternal.C (priv_dispatch):
1080 * insetinclude.C (priv_dispatch): prevent crash by invoking
1081 InsetOld::priv_dispatch at the end of the switch, rather than
1082 InsetOld::dispatch...
1084 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1086 * insetcollapsable.C:
1087 * insetbranch.C: 'assign' to open/close branch inset according to
1088 selection; also print content on closed branch button
1090 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1092 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1093 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1094 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1096 * ExternalSupport.C (updateExternal): use absolute and output
1097 filename where appropriate
1099 2004-04-05 André Pönitz <poenitz@gmx.net>
1101 * insetbase.h: use LCursor & in notifyCursorLeave
1103 2004-04-05 Angus Leeming <leeming@lyx.org>
1105 * insetgraphics.C: remove unused header file "lyxrc.h".
1107 * render_graphic.C: squash bug 1372: Misleading graphics label when
1108 deactivating lyx view.
1110 2004-04-05 Angus Leeming <leeming@lyx.org>
1115 * insetlatexaccent.C:
1120 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1122 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1124 * insetfloat.C (read): fix yesterday's float fix.
1125 * insetwrap.C (read): apply the fixed float fix.
1127 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1129 * insetfloat.C (read): fix reading of float params
1132 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1134 * insettext.C (edit): comment the call to updateLocal (dangling now)
1135 * insettext.h: add allowSpellCheck() returning true
1137 2004-03-31 Angus Leeming <leeming@lyx.org>
1139 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1141 2004-03-31 Angus Leeming <leeming@lyx.org>
1143 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1144 the cursor out of an inset.
1146 * insetbranch.C (priv_dispatch):
1147 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1148 use getOutOfInset to push the cursor out of the inset when
1151 2004-03-30 Angus Leeming <leeming@lyx.org>
1153 * insetbase.[Ch] (translate): new static member function, returns
1154 an InsetBase::Code corresponding to the input string.
1156 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1158 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1159 so that it opens the inset if it refers to the currently active
1162 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1164 * insetfloat.C (addToToc): use par_const_iterator_begin and
1165 par_const_iterator_end.
1167 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1169 * insetbibtex.[Ch]: bibtopic support.
1171 * insetfloat.[Ch]: add param \sideways {true|false}
1172 (support for sideways floats from rotating.sty).
1174 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1176 * insettext.[Ch]: add a default ctor. implement const version of
1182 * insetwrap.C: adjust
1184 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1186 * insettext.h: add insetAllowed returning true by default (fixing
1187 vanishing insets problem)
1189 * insettext.C (draw): handle the responsability of adding the
1190 ouside offset to collapsable. Clean code a bit.
1192 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1193 from insettext correctly, solve a couple of off-by-one drawing
1196 2004-03-25 Angus Leeming <leeming@lyx.org>
1198 * insetcaption.C (draw): squash warning about unused variable.
1200 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1202 * ExternalSupport.C: use the master buffer's temp dir
1203 * insetgraphics.C (latex): make relative filename relative to the
1205 * insetgraphics.C: use the master buffer's temp dir
1206 * insetinclude.C (masterFilename): new function
1207 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1208 is always true if loadIfNeeded() returns true)
1210 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1212 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1213 set its parent to the current buffer.
1214 (latex): use the tmppath of the master buffer, not just the parent
1215 buffer (makes a difference with more than one level of include
1216 insets). If the file name is relative write in the .tex file a
1217 name relative to the master buffer directory.
1219 * insetinclude.C: rename masterFilename to parentFilename (this
1220 points to the direct parent)
1222 2004-03-25 André Pönitz <poenitz@gmx.net>
1224 * inset.[Ch]: remover owner
1226 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1234 * insetcharstyle.[Ch]:
1242 * insetwrap.C: adjust
1244 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * insetquote.C: use opening quote after '[' char.
1248 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1250 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1253 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * insetcite.[Ch]: support jurabib.
1257 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1259 * insetcite.C: Support second \cite option.
1261 * insetcommand.[Ch]:
1262 * insetcommandparams.[Ch]: add second optional argument.
1264 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1266 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1267 shows the inset dialog.
1269 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1271 * insetlabel.[Ch]: remove them
1272 * Makefile.am: adjust
1274 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1276 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1278 * insetinclude.C (latex): show a GUI warning if textclasses don't
1280 * insetinclude.C: use mangledFilename() for temp files
1281 * insetgraphics.C (readInsetGraphics): remove version check, since
1282 the graphics inset has no own fileformat number anymore
1284 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1286 * insetquotes.[Ch]: added new member that allows direct access
1287 to single/double quotation marks.
1288 * insetnewline.[Ch]:
1289 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1291 2004-02-16 André Pönitz <poenitz@gmx.net>
1294 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1295 implicitly assume 'DispatchResult(true, true) with exception of
1296 InsetBase::priv_dispatch which does the equivalent of
1297 'retrun DispatchResult(false)'
1299 * inset*.[Ch] (priv_dispatch): adjust
1301 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1302 simplify cursor moving function,
1303 re-enable horizontal scrolling for large tables
1305 2004-02-13 André Pönitz <poenitz@gmx.net>
1307 * insettabular.[Ch]: some work after IU
1309 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1311 * inset.C (setPosCache): switch to absolute coords in insets
1312 * insettext.[Ch] (draw, drawFrame): adjust
1313 * insetcollapsable.C (draw): adjust
1316 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1318 * insettext.C (edit):
1319 (updateLocal): use the cur argument instead of the global cursor
1320 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1322 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1326 * insetfloat.C (validate): "H" -> 'H' in call to contains
1328 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1330 2004-01-30 André Pönitz <poenitz@gmx.net>
1334 * insetcollapsable.[Ch]:
1337 * insetgraphics.[Ch]:
1339 * insettabular.[Ch]:
1342 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1345 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * insettabular.C: add using statement for std::vector, remove
1348 std:: where using was already used.
1350 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1352 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1354 * insetinclude.C (validate): use feautures.nice() instead of
1357 2004-01-20 André Pönitz <poenitz@gmx.net>
1360 * insetbase.[Ch]: move stuff from mathcursor here.
1362 * insetbibitem.[Ch]:
1366 * insetcharstyle.[Ch]:
1367 * insetcollapsable.[Ch]:
1368 * insetcommand.[Ch]:
1370 * insetexternal.[Ch]:
1372 * insetgraphics.[Ch]:
1373 * insetinclude.[Ch]:
1377 * insettabular.[Ch]:
1381 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1384 2004-01-15 André Pönitz <poenitz@gmx.net>
1387 * insetbibitem.[Ch]:
1391 * insetcharstyle.[Ch]:
1392 * insetcollapsable.[Ch]:
1393 * insetcommand.[Ch]:
1395 * insetexternal.[Ch]:
1397 * insetgraphics.[Ch]:
1398 * insetinclude.[Ch]:
1402 * insettabular.[Ch]:
1406 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1408 2004-01-08 André Pönitz <poenitz@gmx.net>
1410 * insetcollapsable.[Ch]:
1411 * insettabular.[Ch]:
1413 * updatableinset.h: use cell index info from global cursor.
1415 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1417 * insetnote.C (InsetNoteParams::write): write label only once
1419 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1421 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1423 get rid of the SameName functor
1425 * insettabular.C: improve the functor.
1427 2003-12-29 Angus Leeming <leeming@lyx.org>
1429 * insetexternal.C (setParams): update defaultTemplateName.
1431 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1433 * insetbox.C: Use term "Box" in button label
1435 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1437 * insetcharstyle.C: get getDrawFont working again
1439 2003-12-15 André Pönitz <poenitz@gmx.net>
1441 * insettabular.[Ch]:
1442 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1444 2003-12-12 Angus Leeming <leeming@lyx.org>
1446 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1448 (InsetBranchParams): remove the branchlist hack.
1449 (isBranchSelected): new function, used to decide whether to
1450 print each output format. Also used by InsetList.
1451 (read, string2params): repair my own breakage ;-)
1453 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1455 * insetminipage.[Ch]: remove from repository.
1457 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1460 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1461 insetert to insetcollapsable; introduce virtual function
1462 setButtonLabel and invoke it from collapsable
1464 2003-12-12 Angus Leeming <leeming@lyx.org>
1466 * insetinclude.C (draw): cache x,y and so enable the
1467 dialog to be opened.
1469 2003-12-12 Angus Leeming <leeming@lyx.org>
1471 * mailinset.C (print_mailer_error): tidy up the output.
1473 2003-12-11 Angus Leeming <leeming@lyx.org>
1475 * mailinset.[Ch] (print_mailer_error): new helper function.
1477 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1478 calling InsetCommandMailer.
1479 (InsetCommandMailer::string2params): pass the name of the dialog.
1481 * insetbibitem.[Ch] (d-tor):
1482 * insetbibtex.[Ch] (d-tor):
1483 * insetcite.[Ch] (d-tor):
1484 * insetfloatlist.[Ch] (d-tor):
1485 * insetindex.[Ch] (d-tor):
1486 * insetlabel.[Ch] (d-tor):
1487 * insetref.[Ch] (d-tor):
1488 * insettoc.[Ch] (d-tor):
1489 * inseturl.[Ch] (d-tor): removed.
1490 Hiding the dialog is handled by InsetCommand.
1492 * insetbibtex.[Ch] (draw, metrics):
1493 * insetfloatlist.[Ch] (draw, metrics):
1494 * insetindex.[Ch] (draw, metrics): removed.
1495 Drawing is handled by InsetCommand.
1497 * insetbibitem.[Ch] (priv_dispatch):
1498 * insetbibtex.[Ch] (priv_dispatch):
1499 * insetcite.[Ch] (priv_dispatch):
1500 * insetfloatlist.[Ch] (priv_dispatch):
1501 * insetindex.[Ch] (priv_dispatch):
1502 * insetlabel.[Ch] (priv_dispatch):
1503 * insettoc.[Ch] (priv_dispatch):
1504 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1505 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1506 LFUN_INSET_DIALOG_SHOW.
1508 * insetbox.C (string2params):
1509 * insetbranch.C (string2params):
1510 * insetert.C (string2params):
1511 * insetexternal.C (string2params):
1512 * insetfloat.C (string2params):
1513 * insetinclude.C (string2params):
1514 * insetminipage.C (string2params):
1515 * insetnote.C (string2params):
1516 * insetvspace.C (string2params):
1517 * insetwrap.C (string2params): over-hauled.
1519 2003-12-10 Angus Leeming <leeming@lyx.org>
1521 * insetexternal.[Ch]: add a draft option and respect it when
1524 2003-12-10 Angus Leeming <leeming@lyx.org>
1526 * insetbox.C: (read, write): now prepend the inset contents with
1527 'Box' to identify the inset as a box inset.
1529 * insetbox.h: move the translators out of sight.
1531 2003-12-10 Angus Leeming <leeming@lyx.org>
1533 * insetert.C (string2params): clean-up using the new lyxlex interface.
1535 * insetexternal.C: ensure that InsetExternalParams has a default
1536 template, 'RasterImage'.
1538 2003-12-10 Angus Leeming <leeming@lyx.org>
1540 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1541 to an enum. Ensuing clean-ups through out the class.
1542 (read, write): now prepend the inset contents with 'Note' to identify
1543 the inset as a note inset.
1545 2003-12-10 Angus Leeming <leeming@lyx.org>
1547 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1548 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1550 2003-12-10 André Pönitz <poenitz@gmx.net>
1554 * insettabular.[Ch]:
1555 * insettext.[Ch]: remove unused insetInset()
1557 * insetert.C: disable some LFUNs
1559 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1561 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1563 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1565 2003-12-04 Angus Leeming <leeming@lyx.org>
1567 * insetexternal.C (draw): update the xo_, yo_ cache.
1569 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1571 (RotationDataType): new helper struct wrapping the
1572 RotationData::OriginType enum.
1574 2003-12-03 André Pönitz <poenitz@gmx.net>
1576 * inset.h: remove getParagraphs()
1578 * insetcollapsable.[Ch]:
1581 * insettabular.[Ch]:
1582 * insettext.C: use getText() instead of getParagraphs()
1584 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1586 * insetert.C: fix label text updating bug
1588 2003-12-02 Angus Leeming <leeming@lyx.org>
1590 * insetvspace.[Ch] (space): new member function. Make space_ private.
1591 (read): use the new, simpler lyxlex syntax.
1593 2003-12-01 André Pönitz <poenitz@gmx.net>
1595 * insetcollapsable.[Ch]:
1596 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1598 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1600 * insetvspace.C (read): handle 'end_inset' token.
1602 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1604 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1606 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1608 * insetcollapsable.[Ch]:
1610 * insetcharstyle.C: place inset content on the button when
1613 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1615 * insetvspace.C: remove VSpace::NONE; increase inset width
1617 2003-12-01 André Pönitz <poenitz@gmx.net>
1619 * insetbase.h: whitespace
1621 * inset.[Ch]: remove latexTextWidth
1622 make setBackgroundColor virtual
1624 * insettext.[Ch]: move ParagraphList member to LyXText
1626 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1632 * insetminipage.[Ch]:
1634 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1636 2003-11-28 Angus Leeming <leeming@lyx.org>
1638 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1639 hiding and showing the dialog respectively.
1640 (priv_dispatch): also actually update the inset contents.
1642 2003-11-28 Angus Leeming <leeming@lyx.org>
1644 * insetbox.C (d-tor):
1645 * insetbranch.C (d-tor):
1646 * insetcite.C (d-tor):
1647 * insetfloat.C (d-tor):
1648 * insetfloatlist.C (d-tor):
1649 * insetinclude.C (d-tor):
1650 * insetindex.C (d-tor):
1651 simplify the invocation of the Mailer::hideDialog() function.
1653 * insetminipage.C (showInsetDialog):
1654 simplify the invocation of the Mailer::showialog() function.
1656 2003-11-28 André Pönitz <poenitz@gmx.net>
1659 * insetvspace.[Ch]: new insets
1661 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1663 * insetcharstyle.C: Syntax change for CharStyles
1665 2003-11-28 André Pönitz <poenitz@gmx.net>
1667 * updatableinset.h: remove insetInInsetY
1669 * insetcollapsable.[Ch]:
1671 * insettabular.[Ch]:
1672 * insettext.[Ch]: adjust
1674 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1678 * insetcollapsable.[Ch]:
1680 * insettabular.[Ch]: remove setFont
1682 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1684 * render_graphic.[Ch]: adjust comments
1686 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1688 * insetgraphics.C (draw): cache xo_ & yo_
1690 2003-11-24 André Pönitz <poenitz@gmx.net>
1692 * insettext.C (setViewCache): don't call LyXText::init() anymore
1694 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1697 * insetcollapsable.[Ch]:
1698 * insetert.[Ch]: remove bufferview parameter in methods
1699 open, close, status, and updateStatus.
1701 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1703 * insetcollapsable.[Ch]:
1704 * insettabular.[Ch]:
1705 * insettext.[Ch] (getCursorDim): squash unused variable
1707 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1709 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1711 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1713 * insettext.C (draw): sets LyXText absolute coordinates
1715 2003-11-20 Angus Leeming <leeming@lyx.org>
1717 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1718 warnings about unused parameters.
1720 * insetcollapsable.C (open):
1721 * insettabular.C (pasteSelection):
1722 * insettoc.C (draw): ditto.
1724 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1726 * insetcollapsable.C:
1728 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1729 remove mouse_x mouse_y etc.
1731 2003-11-17 André Pönitz <poenitz@gmx.net>
1733 * insettext.[Ch] (cx, cy): remove
1735 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1737 2003-11-13 André Pönitz <poenitz@gmx.net>
1740 * insetcollapsable.[Ch]:
1741 * insettabular.[Ch]:
1742 * insettext.[Ch] (deleteLyXText): remove
1744 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1746 * insetcollapsable.[Ch] (fitInsetCursor): remove
1747 * insettabular.[Ch] (fitInsetCursor): remove
1748 * insettext.[Ch] (fitInsetCursor): remove
1749 * updatableinset.[Ch] (fitInsetCursor): remove
1750 (getCursorDIm): add virtual
1752 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1754 * src/insets/Makefile.am:
1755 * src/insets/inset.h:
1756 * src/insets/insetcharstyle.C:
1757 * src/insets/insetcharstyle.h: The Character Style /XML short
1760 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1762 * insettext.C: remove all update calls
1763 * insetcollapsable.C: remove all update calls
1765 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1767 * insettext.C (updateLocal, insertInset, setFont): remove
1770 2003-11-10 André Pönitz <poenitz@gmx.net>
1772 * inset.h: remove Inset::id_
1774 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1779 2003-11-10 André Pönitz <poenitz@gmx.net>
1783 * insetcollapsable.[Ch]:
1787 * insettabular.[Ch]:
1790 * updatableinset.[Ch]: remove inset locking & adjust
1792 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1794 * inset.h (allowSpellCheck): add (return true)
1795 * insetert.h (allowSpellCheck): add (return false)
1797 2003-11-05 José Matos <jamatos@lyx.org>
1803 * insetcaption.[Ch]:
1805 * insetcollapsable.[Ch]:
1806 * insetcommand.[Ch]:
1809 * insetexternal.[Ch]:
1811 * insetfloatlist.[Ch]:
1813 * insetgraphics.[Ch]:
1815 * insetinclude.[Ch]:
1818 * insetlatexaccent.[Ch]:
1821 * insetmarginal.[Ch]:
1822 * insetminipage.[Ch]:
1823 * insetnewline.[Ch]:
1826 * insetpagebreak.[Ch]:
1830 * insetspecialchar.[Ch]:
1831 * insettabular.[Ch]:
1833 * insettheorem.[Ch]:
1836 * insetwrap.[Ch]: rename ascii to plaintext
1837 and LatexRunParams to OutputParams.
1839 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1841 * insetcollapsable.C (edit): add open() all
1842 * insettext.C (edit): add setViewCache call
1844 2003-11-04 André Pönitz <poenitz@gmx.net>
1846 * inset.h (edit): move locking code from dispatch() to edit()
1852 * insetcollapsable.[Ch]:
1855 * insetexternal.[Ch]:
1856 * insetgraphics.[Ch]:
1861 * insettabular.[Ch]:
1862 * insettext.[Ch]: adjust
1864 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1867 * insetcollapsable.[Ch]:
1869 * insettabular.[Ch]:
1871 * updatableinset.[Ch]: remove dead search code
1873 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1876 * insetcollapsable.[Ch]:
1878 * insettabular.[Ch]:
1880 * updatableinset.[Ch]: remove dead spellcheck code
1882 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1884 * insettabular.C (lockInsetInInset): small fix
1886 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1889 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1890 from here. Be stricter on DispatchResult returned.
1892 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * Inset::dispatch's: adjust for new DispatchResult semantics.
1896 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1898 * render_base.h: make clone return an auto_ptr
1899 * render_button.C (clone): adjust
1900 * render_graphic.C (clone): adjust
1901 * render_preview.C (clone): adjust
1903 * insettheorem.C (clone): return an auto_ptr
1905 * insettext.C (priv_dispatch): exception safety
1907 * insettabular.C: store the file scope variable paste_tabular in a
1908 scoped_ptr, adjust usage.
1910 * insetexternal.C (setParams): exception safety
1912 * insetbibitem.C (clone): exception safety
1914 2003-11-03 André Pönitz <poenitz@gmx.net>
1917 * insetcollapsable.[Ch]:
1918 * insettabular.[Ch]:
1919 * insettext.[Ch]: remove Inset::id and related functions
1921 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * insets: adjust for DispatchResult changes.
1925 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1927 * insetpagebreak.C: fix screen representation & ascii output.
1929 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1933 * insettabular.[Ch]:
1934 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1936 2003-10-31 José Matos <jamatos@lyx.org>
1938 * inset.h (ascii, linuxdoc, docbook):
1939 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1940 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1941 * insetcaption.[Ch] (ascii, docbook):
1942 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1943 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1944 * insetert.[Ch] (ascii, linuxdoc, docbook):
1945 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1946 * insetfloat.[Ch] (linuxdoc, docbook):
1947 * insetfloatlist.[Ch] (ascii):
1948 * insetfoot.[Ch] (docbook):
1949 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1950 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1951 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1952 * insetindex.[Ch] (docbook):
1953 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1954 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1955 * insetline.[Ch] (ascii, linuxdoc, docbook):
1956 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1957 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1958 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1959 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1960 * insetref.[Ch] (ascii, linuxdoc, docbook):
1961 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1962 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1963 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1964 * insettext.[Ch] (ascii, linuxdoc, docbook):
1965 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1966 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1967 * insetwrap.[Ch] (docbook):
1968 add LatexRunParams argument.
1970 2003-10-30 José Matos <jamatos@lyx.org>
1972 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1974 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * updatableinset.C (priv_dispatch):
1977 * insetwrap.C (priv_dispatch):
1978 * inseturl.C (priv_dispatch):
1979 * insettoc.C (priv_dispatch):
1980 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1981 (moveLeftIntern, moveUp, moveDown):
1982 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1983 (moveLeft, moveUp, moveDown):
1984 * insetref.C (priv_dispatch):
1985 * insetnote.C (priv_dispatch):
1986 * insetminipage.C (priv_dispatch):
1987 * insetlabel.C (priv_dispatch):
1988 * insetindex.C (priv_dispatch):
1989 * insetinclude.C (priv_dispatch):
1990 * insetgraphics.C (priv_dispatch):
1991 * insetfloatlist.C (priv_dispatch):
1992 * insetfloat.C (priv_dispatch):
1993 * insetexternal.C (priv_dispatch):
1994 * insetert.C (priv_dispatch):
1995 * insetcommand.C (priv_dispatch):
1996 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1997 * insetcite.C (priv_dispatch):
1998 * insetbranch.C (priv_dispatch):
1999 * insetbox.C (priv_dispatch):
2000 * insetbibtex.C (priv_dispatch):
2001 * insetbibitem.C (priv_dispatch):
2002 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2004 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2006 * insettext.C: small refactoring of docbook stuff
2008 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2011 (priv_dispatch): adjust for operator dispatch_result_t removal
2013 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2014 in a DispatchResult, adjust accordingly.
2015 (priv_dispatch): use strange >= construct... (will be removed later)
2017 * most insets: dispatch_result -> DispatchResult
2019 * insetbase.h: move DispatchResult out to dispatchresult.h
2021 2003-10-27 André Pönitz <poenitz@gmx.net>
2023 * insetpagebreak.[Ch]: new inset for page breaks
2025 * insetline.[Ch]: new inset for vertical lines
2030 2003-10-25 Angus Leeming <leeming@lyx.org>
2032 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2033 new virtual member functions, specialised...
2034 * render_button.h (asButton):
2035 * render_graphic.h (asGraphic):
2036 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2038 * insetexternal.C: use these new functions rather than dynamic_cast.
2039 Various other small simplifications.
2041 2003-10-22 Angus Leeming <leeming@lyx.org>
2043 * insetexternal.[Ch]: add the ability to 'preview' the external file
2046 * insetinclude.C: changes due to the changes in the RenderPreview
2049 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2050 message if the preview image is not available. Only initiate the
2051 loading of the preview from draw(). Ditto, start the monitoring
2052 of an external file from RenderMonitoredPreview::draw.
2054 2003-10-22 Angus Leeming <leeming@lyx.org>
2056 * insetcite.[Ch] (setLoadingBuffer): removed.
2057 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2058 ascertain whether to proceed with the (expensive) task of computing
2059 the natbib-style label. Remove the home-grown hack providing
2060 similar functionality.
2062 2003-10-22 Angus Leeming <leeming@lyx.org>
2064 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2065 class and into an anonymous namespace.
2067 2003-10-22 Angus Leeming <leeming@lyx.org>
2069 * insetcommand.h: remove the display method.
2073 * insetindex.h (InsetPrintIndex):
2074 * insettoc.h: add a display method, returning true.
2076 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2078 * insetcollapsable.h:
2082 * insetinclude.h: (1) finish off the inset display() work;
2083 (2) fix the "is a bit silly" bug (accessing char
2086 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2090 * insetfootlike.h: re-introduce display() for insets,
2091 fixing the various bugs (stretch of line above, math inset
2094 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2096 * insetbase.C (dispatch): new func
2097 (priv_dispatch): new func replaces...
2098 (localDispatch): this, deleted.
2100 * all insets with dispatch modified for new code.
2102 2003-10-15 André Pönitz <poenitz@gmx.net>
2104 * insetcollapsable.[Ch]
2106 * inset.h: re-add some edit(bv, index) method called by undo
2108 2003-10-14 Angus Leeming <leeming@lyx.org>
2110 * insetexternal.[Ch] (view, cache, view_):
2111 * insetgraphics.[Ch] (view, cache, view_):
2112 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2113 (statusChanged): call LyX::cref().updateInset.
2115 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2116 the BufferView cache.
2118 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2121 2003-10-14 Angus Leeming <leeming@lyx.org>
2123 * insetinclude.C (metrics, draw): only draw the preview when previews
2126 2003-10-14 André Pönitz <poenitz@gmx.net>
2128 * insetcollapsable.[Ch]:
2129 * insettabular.[Ch]:
2131 * inset.h: getText() as alternative to getParagraphs()
2133 2003-10-13 Angus Leeming <leeming@lyx.org>
2136 * insetgraphicsParams.C: displayTranslator is now a function.
2138 2003-10-13 Angus Leeming <leeming@lyx.org>
2140 * insetinclude.C: remove #include "PreviewImage.h".
2142 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * ExternalSupport.C:
2145 * ExternalTransforms.C:
2147 * insetbox.h: ws changes only
2149 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * insetinclude.C (localDispatch): do not call
2152 InsetOld::localDispatch, just return UNDISPATCHED
2153 * insetgraphics.C (localDispatch): ditto
2154 * insetcommand.C (localDispatch): ditto
2156 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * inset.h: get rid of RESULT typedef for dispatch_result
2160 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2161 * insetert.[Ch] (localDispatch): ditto
2162 * insettabular.[Ch] (localDispatch): ditto
2167 * insettext.[Ch] (localDispatch): ditto
2170 (moveRightIntern): ditto
2171 (moveLeftIntern): ditto
2174 * updatableinset.[Ch] (localDispatch): ditto
2176 2003-10-12 Angus Leeming <leeming@lyx.org>
2178 * renderbase.h (view, view_): removed.
2179 * renderbase.C: removed.
2180 * Makefile.am: remove render_base.C. The shortest lived file in
2183 * renderbutton.C (draw):
2184 * render_graphic.C (draw): don't cache the BufferView.
2186 * insetabase.h (cache, view): removed.
2188 * inset.h (generatePreview) removed.
2190 * insetcallapsable.[Ch] (cache, view, view_): removed.
2192 * insetcollapsable.C (draw): don't cache the BufferView.
2194 * insetcommand.[Ch] (view): removed.
2196 * insetexternal.[Ch] (cache, view, view_):
2197 * insetgraphics.[Ch] (cache, view, view_):
2198 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2200 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2201 when you have direct access to it. In fact, don't use the cache at all.
2203 2003-10-10 Angus Leeming <leeming@lyx.org>
2205 * insetinclude.C (metrics): use preview_->metrics.
2206 (draw): use preview_->draw.
2208 * render_preview.[Ch] (pimage): removed.
2210 2003-10-10 Angus Leeming <leeming@lyx.org>
2212 * renderers.[Ch]: removed.
2215 * render_button.[Ch]:
2216 * render_graphic.[Ch]:
2217 * render_preview.[Ch]: new files. The first three are split out of
2218 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2219 contains a re-worked InsetInclude::PreviewImpl also.
2221 * Makefile.am: reflect the changed files.
2224 * insetexternal.[Ch]:
2225 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2227 * insetinclude.[Ch]: changes reflecting the change from
2228 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2234 * inseturl.C: add #include "support/std_ostream.h"
2236 2003-10-09 Angus Leeming <leeming@lyx.org>
2238 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2239 to PreviewedInset::previewReady.
2241 2003-10-09 Angus Leeming <leeming@lyx.org>
2243 * insetexternal.[Ch] (statusChanged):
2244 * insetgraphics.[Ch] (statusChanged): make a const member function.
2246 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2249 2003-10-09 Angus Leeming <leeming@lyx.org>
2251 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2252 to PreviewedInset's previewReady and removePreview member functions.
2254 2003-10-08 André Pönitz <poenitz@gmx.net>
2256 * insetcollapsable.C:
2257 * insettext.[Ch]: saner 'init' structure
2259 * updatableinset.[Ch]: remove unneeded code
2261 2003-10-08 Angus Leeming <leeming@lyx.org>
2263 Fix doxygen warnings.
2265 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2266 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2268 2003-10-07 Angus Leeming <leeming@lyx.org>
2270 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2271 be applied to InsetExternal.
2273 * Makefile.am: add these new files.
2275 * ExternalTemplate.[Ch]: add a list of available transforms to
2276 class Template and a list of factory functions for transformer classes
2277 that can act on this data to class Format.
2279 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2281 * ExternalSupport.C: Add code to replace transform placeholders
2282 with appropriate output.
2284 2003-10-07 Angus Leeming <leeming@lyx.org>
2286 * ExternalSupport.[Ch]: new files, moving the private member functions
2287 and namespace anon functions out of insetexternal.C to here, so making
2288 it easier to understand what is going on in insetexternal itself.
2290 * Makefile.am: add new files.
2292 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2293 allowing the class to be forward declared. (Also consistent with
2294 all other Params classes.)
2295 (write): moved out of the class. Move this function and those in
2296 namespace anon to ExternalSupport.[Ch].
2298 2003-10-07 Angus Leeming <leeming@lyx.org>
2300 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2301 non-const member function.
2303 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2308 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2310 2003-10-02 André Pönitz <poenitz@gmx.net>
2312 * insettext.C (read): make sure there is at least one par
2313 in the text after reading.
2315 2003-10-01 José Matos <jamatos@lyx.org>
2317 * insetbranch.C (linuxdoc, docbook): minor fix.
2319 2003-10-01 Angus Leeming <leeming@lyx.org>
2321 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2323 * insetexternal.[Ch]: changes due to the introduction of
2324 namespace lyx::external.
2326 2003-09-30 Angus Leeming <leeming@lyx.org>
2328 * insetexternal.[Ch] (Params::read, write): new member functions.
2330 2003-09-25 Angus Leeming <leeming@lyx.org>
2332 * insetexternal.[Ch] (TempName): new (private) nested struct with
2333 fake copy semantics. Enables us to use the generated copy c-tor
2334 in the Params struct.
2335 (Params::templatename, Params::tempname): use accessor functions.
2337 2003-09-25 Angus Leeming <leeming@lyx.org>
2339 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2340 function, returning a const pointer.
2342 2003-09-23 Angus Leeming <leeming@lyx.org>
2344 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2345 store them in a vector, preambleNames.
2347 * insetexternal.C (validate): loop over all preambleNames and call
2348 LaTeXFeatures::addExternalPreamble with each.
2350 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2352 * insetbranch.C: bug fix in branches
2354 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2356 * insetnote.C: small clean-up.
2358 2003-09-19 Angus Leeming <leeming@lyx.org>
2360 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2362 * insetcommand.C (string2params): clear params using the default c-tor.
2364 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2365 InsetInclude::Params. No more data in this struct than in
2366 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2367 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2368 (clone): remove #warning as it's now redundant.
2369 (set): add a 'Buffer const &' arg. Make private.
2370 (loadIfNeeded) move out of the class definition and into namespace anon.
2371 (getMasterFilename, getFileName): ditto.
2373 2003-09-18 Angus Leeming <leeming@lyx.org>
2375 * insetcommand.C (setParams): use the params' copy constructor.
2377 2003-09-18 Angus Leeming <leeming@lyx.org>
2379 * insetinsetbase.h (getLabelList):
2380 * insetinsetcollapsable.[Ch] (getLabelList):
2381 * insetinsetinclude.[Ch] (getLabelList):
2382 * insetinsetlabel.[Ch] (getLabelList):
2383 * insetinsettabular.[Ch] (getLabelList):
2384 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2385 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2387 2003-09-18 Angus Leeming <leeming@lyx.org>
2389 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2390 redundant baggage from yesteryear.
2391 Remove Params::flag as it is redundant; the info is present in
2394 2003-09-18 Angus Leeming <leeming@lyx.org>
2396 * insetinclude.C (latexString): add a Buffer const & arg.
2398 2003-09-18 Angus Leeming <leeming@lyx.org>
2403 * insettext.h: rename EnumLColor as LColor_color.
2405 2003-09-18 Angus Leeming <leeming@lyx.org>
2407 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2408 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2410 2003-09-16 Angus Leeming <leeming@lyx.org>
2412 * insetinclude.C (localDispatch): ensure that
2413 params_.masterFilename_ is set before trying to generate a
2414 preview, else we trigger an assert.
2416 2003-09-16 Angus Leeming <leeming@lyx.org>
2418 * insetinclude.C (PreviewImpl::parent): return a const reference.
2420 2003-09-16 Angus Leeming <leeming@lyx.org>
2422 * insetcollapsable.[Ch]: make all member variables, except for
2425 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2426 than access labelfont directly.
2427 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2428 use InsetCollapsable::setCollapsed, isOpen rather than access
2429 collapsed_ directly.
2431 * insetminipage.C (metrics):
2432 * insetnote.C (metrics):
2433 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2434 access collapsed_ directly.
2436 2003-09-16 Angus Leeming <leeming@lyx.org>
2438 * insetbibitem.C: add #include "lyxfont.h".
2440 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * insetbibtex.C: use namespace alias for lyx::support::os
2445 2003-09-16 Angus Leeming <leeming@lyx.org>
2447 * insetcollapsable.h: remove unused framecolor variable.
2448 Remove #include "LColor.h".
2450 * insetcollapsable.C: remove unused framecolor variable.
2453 * insetcollapsable.C:
2461 Add #include "LColor.h".
2463 2003-09-16 Angus Leeming <leeming@lyx.org>
2465 * insettext.[Ch] (frameColor): new accessor function.
2466 (frame_color_): stored as an int, allows us to remove #include
2467 "LColor.h" from insettext.h
2472 add #include "LColor.h".
2474 * insetcollapsable.h: add #include "LColor.h"
2475 (for its framecolor member variable).
2477 2003-09-16 Angus Leeming <leeming@lyx.org>
2479 * insetenv.C (constructor): use accessor functions to access
2480 InsetText variables.
2482 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2483 rename frame_color as frame_color_. Make private.
2485 * insettext.C: associated changes.
2487 2003-09-16 Angus Leeming <leeming@lyx.org>
2489 * inset.h: store background_color_ as an int, not as an
2490 LColor::color to get LColor.h out of the header file.
2493 * insetlatexaccent.C:
2496 * insetspecialchar.C:
2498 add #include "LColor.h".
2500 2003-09-16 Angus Leeming <leeming@lyx.org>
2502 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2503 cannot string calls together.
2505 2003-09-15 Angus Leeming <leeming@lyx.org>
2507 * inset.[Ch] (setBackgroundColor, backgroundColor):
2508 * insettext.[Ch] (setFrameColor):
2509 pass EnumLColor args, rather than LColor::color ones.
2511 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * insetwrap.C: remove usage of STRCONV
2523 2003-09-15 Angus Leeming <leeming@lyx.org>
2525 * renderers.C (draw):
2526 * insetlatexaccent.C (draw): explicitly define the color passed to
2529 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2531 * insettext.C: remove block causing problems in lockInsetInInset
2532 (mentioned erroneously under Bug #1366)
2534 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2536 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2539 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2541 * several files: change Assert to BOOST_ASSERT
2543 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2545 * insettext.[Ch]: remove drawText[XY]Offset
2547 2003-09-08 Angus Leeming <leeming@lyx.org>
2549 * insetcollapsable.C:
2554 * insetspecialchar.C:
2557 * insettoc.C: remove redundant using directives.
2559 2003-09-07 Angus Leeming <leeming@lyx.org>
2562 * insetspecialchar.h: remove #include "support/std_string.h".
2564 2003-09-06 Angus Leeming <leeming@lyx.org>
2566 * renderers.C: add #include "insets/inset.h"
2568 2003-09-05 Angus Leeming <leeming@lyx.org>
2570 * *.C: strip out redundant #includes. (193 in total.)
2572 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2574 * insets/insetbibtex.[Ch]:
2575 * insets/insetcommand.h:
2576 * insets/insetfloatlist.[Ch]:
2577 * insets/insetinclude.[Ch]:
2578 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2579 of insets like bibtex, include, toc and floatlist to the visible
2580 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2581 up the dialogs. Cursor has to be in front of the inset (i.e.
2582 start of row) for this to function.
2584 2003-09-04 Angus Leeming <leeming@lyx.org>
2586 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2587 structure outside of the Format struct. Format::preambleName refers to
2588 an item in the map of all preamble snippets.
2589 Make use of the new Debug::EXTERNAL flag.
2591 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2592 (validate): Small change due to the changed storage of preamble
2595 2003-09-04 Angus Leeming <leeming@lyx.org>
2597 * insetgraphics.C: #include "support/os.h"
2599 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2600 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2601 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2603 * insetcollapsable.h:
2605 * insetnote.C: move #include "funcrequest.h" out of the header file.
2607 2003-09-03 Angus Leeming <leeming@lyx.org>
2609 * insetexternal.C (updateExternal):
2610 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2613 2003-09-03 Angus Leeming <leeming@lyx.org>
2615 * insetexternal.C: don't bring namespace lyx::support into the global
2618 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2620 * insetbranch.C: Add Branch: to label
2622 2003-09-02 John Levon <levon@movementarian.org>
2625 * insettext.C: remove cursor.i[xy]()
2627 2003-08-28 Angus Leeming <leeming@lyx.org>
2629 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2630 "sh ", enabling the conversion to be carried out even if the script
2633 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * most files: change to use const Buffer refs
2637 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2639 * insetfootlike.C: whitespace.
2641 2003-08-26 John Levon <levon@movementarian.org>
2645 * insetindex.h: remove remaining mentions of needFullRow()
2647 2003-08-26 André Pönitz <poenitz@gmx.net>
2653 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2655 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2657 * insetbranch.C: Small fix to prevent a crash on loading.
2659 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2664 * insetcollapsable.h:
2666 * insetfloatlist.[Ch]:
2667 * insetfootlike.[Ch]:
2668 * insetinclude.[Ch]:
2674 * insettheorem.[Ch]:
2675 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2676 altogether, putting the logic in metrics/draw in the insets.=20
2677 Draws short single row insets with more or less realistic metrics.
2679 2003-08-19 André Pönitz <poenitz@gmx.net>
2681 * insettext.C: use new RowPainter interface
2683 2003-08-18 John Levon <levon@movementarian.org>
2685 * insetref.C: require amsmath for eqref
2687 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2691 * insetbranch.[Ch]: implements the 'branch inset'
2692 idea. This allows the output of various versions of a document
2693 from a single source version, selectively outputing or suppressing
2694 output of parts of the text.
2695 This implementation contains a 'branch list editor' in a separate
2696 tab of the document settings dialog. Branches are user definable
2697 and have a "display colour" to distinguish them on-screen.
2699 ColorHandler was somewhat cleaned up.
2700 (1) make possible a dynamically growing LColor list by allowing
2701 the graphic context cache to grow along (vector);
2702 (2) eliminate an IMHO unnecessary step in colour allocation.
2704 2003-08-15 André Pönitz <poenitz@gmx.net>
2706 * insettext.[Ch]: adjust after rowlist split
2708 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2710 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2711 rename valign-center to valign-middle;
2712 rename VALIGN_CENTER to VALIGN_MIDDLE
2714 2003-08-11 André Pönitz <poenitz@gmx.net>
2716 * inset.h: remove resizeLyXText
2719 * insetcollapsable.[Ch]:
2721 * insettabular.[Ch]: adjust
2723 * insettext.[Ch]: remove saveLyXTextState,
2724 restoreLyXTextStat, sstate, reinitLyXText
2726 2003-08-07 André Pönitz <poenitz@gmx.net>
2728 * inset.[Ch]: move non-crucial functions out-of-line
2730 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2731 remove duplicated code.
2733 2003-08-05 André Pönitz <poenitz@gmx.net>
2736 * insetcollapsable.[Ch]:
2746 * insettabular.[Ch]:
2749 * updatableinset.[Ch]: rip out "deep update"
2751 * insettext.C (localDispatch): merge cases with default branch
2753 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2755 * insettabular.[Ch] (updateLocal): simplify logic
2757 2003-08-04 André Pönitz <poenitz@gmx.net>
2759 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2760 is 'FULL' all the time.
2762 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2764 * insetert.C (get_new_label): only add ... to the (closed) label
2765 when the string has been shortened
2767 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2769 * Always use std::endl with lyxerr
2771 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2773 * insetnote.C: update \author list
2775 2003-07-31 André Pönitz <poenitz@gmx.net>
2777 * insetcollapsable.h:
2778 * insettabular.[Ch]:
2779 * insettext.[Ch]: remove toggleSelection
2781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2783 (with help from Juergen Spitzmueller)
2784 * insetnote.C: add add i18n support. Use Prefs-definable
2785 colours for Comment and Greyedout.
2787 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2789 * insetcollapsable.[Ch]:
2791 * insetert.C: factor out the detection of clicking on the inset
2792 button as 'hitButton'. John Levon contributed.
2794 2003-07-30 André Pönitz <poenitz@gmx.net>
2796 * insetcollapsable.C:
2798 * insettabular.C: parantheses, localize vars etc.
2800 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2802 * insetnote.C: Implement a newenvironment in preamble for
2803 greyedout. Patch provided by Jürgen Spitzmüller.
2805 2003-07-29 Angus Leeming <leeming@lyx.org>
2807 * insetcommand.C (localDispatch): default to
2808 InsetOld::localDispatch.
2810 * insetbibitem.C (localDispatch):
2811 * insetbibtex.C (localDispatch): remove call to
2812 ChangeCitationsIfUnique.
2814 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2816 * insetexternal.C (read): use pushpophelper.
2818 2003-07-28 José Matos <jamatos@lyx.org>
2820 * insetext.C (read): \end_document replaces \the_end.
2822 2003-07-28 José Matos <jamatos@fep.up.pt>
2824 * insetert.C (write): \layout -> \begin_layout.
2825 Add missing \end_layout.
2827 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * insetquotes.C: document a bit the format
2831 * insettabular.C (write): remove extra space
2833 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2834 * insetnote.C: Umpf. Hope I *now* get it right :-(
2836 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2837 *insetnote.C: did the right fix to greyedout: \color
2838 instead of \textcolor.
2840 2003-07-28 Angus Leeming <leeming@lyx.org>
2842 * insetbibtex.h: remove extraneous forward declaration.
2845 * insetbibtex.h: Also remove long-dead Holder member class
2848 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2850 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2853 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * insetwrap.C (addToToc): adjust for lyx::toc
2857 * insetfloatlist.C (ascii): adjust for lyx::toc
2859 * insetfloat.C (addToToc): adjust for lyx::toc
2861 2003-07-27 José Matos <jamatos@fep.up.pt>
2863 * insetnote.h (linuxdoc,docbook): update support.
2865 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * insetfloat.C (wide): add a space to label, for consistency
2869 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * insettext.C (nextChange): adjust for lyx::find
2872 (searchForward): ditto
2873 (searchBackward): ditto
2875 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2877 * insetgraphicsParams.C:
2878 * insetexternal.C: declare extern displayTranslator
2881 * renderers.C: add #include "support/LAssert.h"
2883 2003-07-27 José Matos <jamatos@fep.up.pt>
2885 * insetfloat.[Ch] (linuxdoc):
2886 * insetgraphics.C (linuxdoc):
2887 * insettabular.C (linuxdoc):
2888 * insettext.[Ch] (linuxdoc): add support for tables and figures
2891 2003-07-27 José Matos <jamatos@fep.up.pt>
2893 * insetinclude (latex): comply with makeLaTeXFile argument change.
2895 2003-07-26 Asger Alstrup <alstrup@local>
2897 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2898 the undo crashes. We'll see what problems other places this will
2901 2003-07-26 Angus Leeming <leeming@lyx.org>
2903 * insetgraphics.C: remove unused declaration of system_tempdir.
2905 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * rename Inset to InsetOld
2909 * all inset files (clone): return a auto_ptr<InsetBase>
2911 2003-07-23 Angus Leeming <leeming@lyx.org>
2913 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2915 2003-07-23 Angus Leeming <leeming@lyx.org>
2917 * mailinset.[Ch] (inset2string):
2918 * insetcommand.[Ch] (inset2string):
2919 * insetert.[Ch] (inset2string):
2920 * insetexternal.[Ch] (inset2string):
2921 * insetfloat.[Ch] (inset2string):
2922 * insetgraphics.[Ch] (inset2string):
2923 * insetinclude.[Ch] (inset2string):
2924 * insetminipage.[Ch] (inset2string):
2925 * insetnote.[Ch] (inset2string):
2926 * insettabular.[Ch] (inset2string):
2927 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2929 * insetexternal.[Ch]:
2930 * insetgraphics.[Ch]: get rid of the view() function. Associated
2931 changes to the mailers' string2params and params2string functions.
2933 2003-07-23 Angus Leeming <leeming@lyx.org>
2935 * insetexternal.[Ch]: store the external file name in a FileName
2936 member variable rather than a string + associated changes.
2938 2003-07-21 Angus Leeming <leeming@lyx.org>
2940 * insetgraphicsParams.[Ch]: store the graphics file name in
2941 a FileName member variable rather than a string.
2943 * insetgraphics.[Ch]:
2944 * insetgraphicsParams.[Ch]: Associated changes.
2946 2003-07-21 Angus Leeming <leeming@lyx.org>
2948 * insetgraphics.[Ch] (string2params, params2string): passed a
2949 buffer_path argument.
2952 2003-07-21 Angus Leeming <leeming@lyx.org>
2955 * insetgraphicsParams.[Ch]:
2957 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2959 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2961 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2963 2003-07-18 André Pönitz <poenitz@gmx.net>
2966 * insetminipage.[Ch]:
2967 * insettabular.[Ch]:
2970 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2972 2003-07-18 André Pönitz <poenitz@gmx.net>
2976 * insetcollapsable.C:
2980 * insetgraphics.[Ch]:
2981 * insetlatexaccent.[Ch]:
2986 * insetspecialchar.C:
2987 * insettabular.[Ch]:
2989 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2991 2003-07-17 André Pönitz <poenitz@gmx.net>
2993 * insetcollapsable.C:
2995 * insettext.C: don't call Inset::update() anymore
2998 * insettabular.[Ch]: remove unneeded in_update_ members
3000 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3002 2003-07-16 André Pönitz <poenitz@gmx.net>
3004 * insettext.C (selectAll): remove
3006 2003-07-16 John Levon <levon@movementarian.org>
3009 * insetnote.C: implement showInsetDialog()
3011 2003-07-15 André Pönitz <poenitz@gmx.net>
3014 * insettext.C: refresh_status tristate -> need_update bool
3016 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3018 * insettext.C: adjust call to LyXText::init
3020 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3022 * insettext.C: use bufferview_funcs->replaceSelection()
3023 to delete selections in some cases (bugs 441, 673, 702, 954).
3025 2003-07-14 André Pönitz <poenitz@gmx.net>
3027 * insettext.C (draw): use slimmed down rowpainter interface
3029 2003-07-14 André Pönitz <poenitz@gmx.net>
3031 * insetcollapsable.C:
3033 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3034 remove unused BufferView * argument
3036 2003-07-14 André Pönitz <poenitz@gmx.net>
3038 * insettext.[Ch]: used cached metrics a bit more
3040 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3042 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3044 2003-07-10 André Pönitz <poenitz@gmx.net>
3047 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3049 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * introduce namespace lyx::graphics
3053 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * introduce namespace lyx::support
3057 2003-06-30 André Pönitz <poenitz@gmx.net>
3059 * insetcite.C (localDispatch): fix case of missing return value
3061 * insetcite.C (ascii): remove unneeded temporary
3063 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * insetspace.h: fix \file
3067 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3068 * insetinclude.C (fillWithBibKeys): ditto
3070 * insetbibitem.C: fix type const order
3072 * inset.C (getLyXText): add varname for arg
3074 * ExternalTemplate.h: fix type const order
3076 2003-06-27 André Pönitz <poenitz@gmx.net>
3078 * insettext.C: take care of removed LyXCursor::row_ member
3080 * insettext.[Ch]: use new TextCursor struct for sstate
3082 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3084 * inseterror.[Ch]: removed
3086 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3088 * insetinclude.C (docbook): use parseError instead of sgmlError
3090 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3092 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3093 of BufferList::loadLyXFile
3095 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * insettext.C (update): simplify
3098 (updateLocal): remove commented code
3099 (insetUnlock): simplify
3100 (lockInset): simplify
3101 (updateInsetInInset): simplify
3102 (localDispatch): simplify
3104 (resizeLyXText): simplify
3105 (collapseParagraphs): simplify
3107 * insetert.C (get_new_label): simplify
3109 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3111 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3112 pasteSelection with index
3114 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3116 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3118 2003-06-16 André Pönitz <poenitz@gmx.net>
3120 * insetbase.h: new virtual base function clone()
3122 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3123 Inset * clone() -> InsetBase * clone()
3125 2003-06-13 André Pönitz <poenitz@gmx.net>
3127 * insettabular.[Ch]: make tabular a proper member
3129 2003-06-12 André Pönitz <poenitz@gmx.net>
3131 * insettabular.[Ch]: some renaming plus whitespace
3133 2003-06-11 Angus Leeming <leeming@lyx.org>
3135 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3138 * insetbutton.[Ch]: removed.
3139 * graphicinset.[Ch]: renamed as renderers.[Ch].
3141 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3142 Create a new class ButtonRenderer using the InsetButton::metrics() and
3144 Derive both from a common RenderedInset base class.
3146 * insetcommand.[Ch]:
3147 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3148 Give it a ButtonRenderer member variable. Use it.
3149 Give the classes working copy c-tors.
3150 No longer derive from boost::noncopyable.
3152 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3153 display its contents as a button or as a graphic.
3155 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3158 2003-06-11 Angus Leeming <leeming@lyx.org>
3160 * insetcite.C (localDispatch): reformat.
3162 * insetref.C (localDispatch): enable dialog to be lauched.
3164 2003-06-11 John Levon <levon@movementarian.org>
3166 * insettabular.C: correctly mark all cells as erased
3168 2003-06-11 Angus Leeming <leeming@lyx.org>
3170 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3171 ExternalTemplate but its name, templatename. This means that a file
3172 containing a reference to an External Template not installed on the
3173 current machine will be saved retaining this info rather than inserting
3174 the first "valid" template from the list of templates.
3176 As a by product, the visual statement that the Template is missing is
3179 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3181 * insettext.C (appendParagraphs): remove some commented code.
3183 2003-06-10 Angus Leeming <leeming@lyx.org>
3185 * graphicinset.[Ch] (view): removed the publicly accessible
3186 function to set the cache.
3188 * insetexternal.[Ch]: move tempname_ into the Params struct.
3189 (Params d-tor): new function, to clean-up this temp file.
3190 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3192 (editExternal, doSubstitution): move out of class.
3194 2003-06-10 Angus Leeming <leeming@lyx.org>
3196 * graphicinset.[Ch] (params): removed.
3197 * graphicinset.h (operator=): declared private but not defined.
3198 (statusMessage): made private.
3200 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3202 2003-06-07 John Levon <levon@movementarian.org>
3204 * insetert.C (latex): make a newline mean just that not
3207 2003-06-07 José Matos <jamatos@fep.up.pt>
3209 * insethfill.[Ch] (linuxdoc, docbook): implement output
3210 * insetspace.C (linuxdoc, docbook): remove coments as the code
3213 2003-06-06 José Matos <jamatos@fep.up.pt>
3215 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3217 2003-06-06 André Pönitz <poenitz@gmx.net>
3219 * insetwrap.[Ch]: code compactification
3221 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3223 * mailinset.C (updateDialog): use Dialogs::visible
3225 2003-06-04 Angus Leeming <leeming@lyx.org>
3227 * graphicinset.C (draw): add a comment for the #if 0 block.
3229 * insetexternal.h: remove Params::parameters variable.
3231 * insetexternal.C (read, write): rewrite to output new ExternalInset
3232 format and read it back making full use of LyXLex.
3234 2003-06-04 André Pönitz <poenitz@gmx.net>
3236 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3238 2003-06-04 John Levon <levon@movementarian.org>
3240 * insettabular.C: back out tall table speed up. It was broken
3242 2003-06-03 Angus Leeming <leeming@lyx.org>
3244 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3245 Remove ViewCommand and UpdateCommand.
3247 * graphicinset.C (update): bug fix. Set the params before calling the
3250 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3251 the BufferView cache to enable the InsetExternal::editCommand to
3252 be invoked from the frontends. Would not be needed if this were
3253 dispatched properly.
3254 (old_ascent_): variable removed.
3256 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3257 do any necessary conversions of external material. Also use the
3258 new GraphicsInset to display the inset within LyX.
3260 2003-06-03 Angus Leeming <leeming@lyx.org>
3262 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3263 and move it somewhere where InsetExternal can use it too.
3265 * Makefile.am: add the new files.
3267 * insetgraphics.[Ch]: make use of the new GraphicInset.
3269 2003-06-03 John Levon <levon@movementarian.org>
3272 * insetbibitem.[Ch]:
3275 * insetcommand.[Ch]:
3279 * insetexternal.[Ch]:
3283 * insetgraphics.[Ch]:
3285 * insetinclude.[Ch]:
3288 * insetlatexaccent.[Ch]:
3289 * insetmarginal.[Ch]:
3290 * insetminipage.[Ch]:
3297 * insetspecialchar.[Ch]:
3298 * insettabular.[Ch]:
3300 * insetthereom.[Ch]:
3303 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3305 * insetgraphics.[Ch]:
3306 * insetgraphicsParams.[Ch]: always store an absolute
3309 2003-06-02 André Pönitz <poenitz@gmx.net>
3313 * insetlatexaccent.C: remove duplicated call to metrics()
3315 2003-06-02 John Levon <levon@movementarian.org>
3317 * insettabular.C: fix resize of column width
3319 2003-06-02 John Levon <levon@movementarian.org>
3324 * insetparent.C: remove insetparent
3326 2003-06-02 André Pönitz <poenitz@gmx.net>
3333 * insetcollapsable.[Ch]:
3337 * insetgraphics.[Ch]:
3338 * insetinclude.[Ch]:
3339 * insetlatexaccent.[Ch]:
3340 * insetminipage.[Ch]:
3341 * insetnewline.[Ch]:
3344 * insetspecialchar.[Ch]:
3345 * insettabular.[Ch]:
3346 * insettext.[Ch]: unify first drawing phase
3349 * insetbase.h: move validate() to the base
3351 2003-05-31 Angus Leeming <leeming@lyx.org>
3353 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3355 2003-05-30 André Pönitz <poenitz@gmx.net>
3360 * insetcaption.[Ch]:
3361 * insetcollapsable.[Ch]:
3364 * insetgraphics.[Ch]:
3365 * insetinclude.[Ch]:
3366 * insetlatexaccent.[Ch]:
3367 * insetnewline.[Ch]:
3370 * insetspecialchar.[Ch]:
3371 * insettabular.[Ch]:
3373 * updatableinset.[Ch]: unify second drawing phase
3375 2003-05-30 John Levon <levon@movementarian.org>
3377 * insetgraphics.C: fix a bformat
3379 2003-05-29 John Levon <levon@movementarian.org>
3381 * insettabular.C: remove unused bufferOwner()
3383 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * insettext.C (lockInsetInInset): adjust
3386 (getLabelList): use const_iterator, adjust
3387 (getInsetFromID): use const_iterator, adjust
3388 (addPreview): use const_iterator, adjust
3390 * insetwrap.C (clone): remove const_cast
3392 * insetnote.C (clone): remove const_cast
3394 * insetminipage.C (clone): remove const_cast
3396 * insetmarginal.C (clone): remove const_cast
3398 * insetfoot.C (clone): remove const_cast
3400 * insetfloat.C (clone): remove const_cast
3402 * insetert.C (clone): remove const_cast
3404 * delete commented same_id functions from a lot of files.
3406 2003-05-28 John Levon <levon@movementarian.org>
3412 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3414 * insetminipage.C: fix metrics (bug 1144)
3416 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * insettext.C (saveLyXTextState): adjust
3419 (restoreLyXTextState): adjust
3422 (unlockInsetInInset): adjust
3423 (localDispatch): adjust
3424 (getLyXText): adjust
3426 * insettabular.C (insertAsciiString): adjust
3428 2003-05-27 André Pönitz <poenitz@gmx.net>
3431 * insetcollapsable.C:
3434 * insetlatexaccent.C:
3439 * insetspecialchar.C:
3441 * insettext.C: dim.w -> dim.wid
3443 2003-05-26 John Levon <levon@movementarian.org>
3445 * insettabular.C: avoid drawing all of a long table
3446 if it's not needed. A big speedup
3448 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * remove same_id from function signatures, adjust
3452 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * insettext.C (InsetText): adjust
3456 (setParagraphData): separate same_id cases, adjust
3457 (appendParagraphs): adjust
3458 (appendParagraphs): adjust
3460 2003-05-23 André Pönitz <poenitz@gmx.net>
3462 * insetbutton.h: whitespace
3464 * insettabular.C: more compact code
3466 * updatableinset.C: remove const_cast
3469 2003-05-23 Angus Leeming <leeming@lyx.org>
3471 * insetexternal.C (write): check how many lines are output.
3472 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3473 if the template has defined it.
3475 2003-05-23 Angus Leeming <leeming@lyx.org>
3477 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3479 2003-05-23 Angus Leeming <leeming@lyx.org>
3481 * insetfoot.C (latex):
3482 * inseturl.C (latex): rename fragile as moving_arg.
3484 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * inseterror.C (localDispatch): comment out unused var.
3488 2003-05-22 Angus Leeming <leeming@lyx.org>
3490 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3491 passed through the LatexRunParams arg.
3493 2003-05-22 Angus Leeming <leeming@lyx.org>
3495 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3496 through the LatexRunParams arg.
3498 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3499 arg rather than through a global var.
3501 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insetspecialchar.C (dimension): use a string.
3505 2003-05-22 Angus Leeming <leeming@lyx.org>
3507 * insetbibtex.C (latex):
3508 * insetgraphics.C (latex):
3509 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3510 runparams rather than from the buffer itself.
3512 2003-05-22 Angus Leeming <leeming@lyx.org>
3514 * inset*.[Ch] (latex):
3515 passed a LatexRunParams parameter.
3517 * insetgraphics.C (latex): actually use it ;-)
3519 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3521 * insetfloat.C (addToToc): trivial compile fix
3523 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * insettext.[Ch] (paragraph): delete unused function
3527 * insetfloat.C (addToToc): parlist simplfication
3529 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3531 * insetspace.[Ch]: added (new space insets)
3533 * inset.h: handle new space insets
3535 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3537 * insetfloat.C (addToToc): adjust
3539 2003-05-21 André Pönitz <poenitz@gmx.net>
3541 * insettext.[Ch]: fix drawing bug introduced earlier
3543 2003-05-19 André Pönitz <poenitz@gmx.net>
3545 * insetspecialchar.C: fix bug introduced yesterday
3547 2003-05-19 André Pönitz <poenitz@gmx.net>
3551 * insetcollapsable.[Ch]:
3555 * insetgraphics.[Ch]:
3556 * insetgraphicsParams.[Ch]:
3557 * insetlatexaccent.[Ch]:
3558 * insetminipage.[Ch]:
3559 * insetnewline.[Ch]:
3561 * insetspecialchar.[Ch]:
3562 * insettabular.[Ch]:
3563 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3565 2003-05-19 André Pönitz <poenitz@gmx.net>
3568 * insettext.C: more insetenv
3570 2003-05-16 André Pönitz <poenitz@gmx.net>
3573 * insetminimpage.[Ch]:
3574 * insetcollapsable.[Ch]: fix #832
3576 2003-05-16 André Pönitz <poenitz@gmx.net>
3579 * insetbibitem.[Ch]:
3583 * insetcollapsable.[Ch]:
3584 * insetcommand.[Ch]:
3587 * insetexternal.[Ch]:
3588 * insetfloatlist.[Ch]:
3589 * insetgraphics.[Ch]:
3590 * insetinclude.[Ch]:
3593 * insetlatexaccent.[Ch]:
3596 * insettabular.[Ch]:
3600 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3602 2003-05-13 André Pönitz <poenitz@gmx.net>
3605 * insetcollapsable.C:
3609 * insetwrap.C: tostr from own header
3621 * insetwrap.C: STRCONV
3624 2003-05-12 André Pönitz <poenitz@gmx.net>
3636 * insetwwrap.C: boost::format -> bformat all over the place
3638 2003-05-05 André Pönitz <poenitz@gmx.net>
3640 * insettext.h: add missing #include <map>
3642 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * insettext.C (InsetText): parlist cleanup
3647 (insetUnlock): ditto
3649 (lockInsetInInset): ditto
3653 (searchBackward): ditto
3654 (collapseParagraphs): ditto
3656 2003-05-06 John Levon <levon@movementarian.org>
3658 * insetcaption.C: don't cast wrap inset to InsetFloat
3661 * insetfloat.C: remove unneeded type() function
3663 2003-05-05 André Pönitz <poenitz@gmx.net>
3667 * insettabular.[Ch]:
3668 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3669 replace getFirstParagraph() by getParagraphs()
3671 2003-05-03 John Levon <levon@movementarian.org>
3673 * insetcollapsable.h:
3674 * insetcollapsable.C:
3680 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3681 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3682 getCursor(). Remove explicit cursor hides.
3684 2003-05-02 André Pönitz <poenitz@gmx.net>
3686 * insettext.C: remove unneeded &*
3688 2003-04-30 John Levon <levon@movementarian.org>
3690 * insettabular.C: fix edit message
3692 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * insettext.C (setFont): do not convert iterator -> pointer
3696 * insettabular.C (localDispatch): do not convert iterator -> pointer
3698 (tabularFeatures): ditto
3700 2003-04-29 André Pönitz <poenitz@gmx.net>
3702 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3704 2003-04-28 André Pönitz <poenitz@gmx.net>
3706 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3709 2003-04-25 André Pönitz <poenitz@gmx.net>
3711 * insetenv.C: derive from InsetText instead of InsetCollapsable
3713 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * insetexternal.C (string2params): dont do anything if the string
3717 * insetgraphics.C (string2params): ditto
3718 * insetcommand.C (string2params): ditto
3719 * insetert.C (string2params): ditto
3720 * insetfloat.C (string2params): ditto
3721 * insetinclude.C (string2params): ditto
3722 * insetminipage.C (string2params): ditto
3723 * insettabular.C (string2params): ditto
3724 * insetwrap.C (string2params): ditto
3726 2003-04-24 André Pönitz <poenitz@gmx.net>
3728 * insetref.C: support for eqref
3730 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * insetert.C (read): use ParagraphList::iterator.
3734 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * insetquotes.C (latex): comment some code and add warnings.
3738 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3740 * insetexternal.C (localDispatch): added a missing DISPATCHED
3742 2003-04-12 John Levon <levon@movementarian.org>
3744 * insetwrap.C (addToToc): fix a crash, conversion
3745 from while to for loop forgot to remove the explicit
3748 2003-04-10 John Levon <levon@movementarian.org>
3750 * insettabular.C (tabularFeature): make sure
3751 to update the dialog when we change something
3754 (getStatus): don't disable some lfuns (bug 939)
3756 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * insettext.C (saveLyXTextState): adjust
3759 (localDispatch): adjust
3765 * insettabular.C (localDispatch): adjust
3767 (tabularFeatures): adjust
3769 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3771 * insettabular.C (searchForward,searchBackward): fix bug 782
3773 2003-04-07 John Levon <levon@movementarian.org>
3776 * insettext.C: clear status message on inset exit
3778 2003-04-03 John Levon <levon@movementarian.org>
3780 * insetcommand.C: return dispatched on DIALOG_UPDATE
3782 2003-04-02 John Levon <levon@movementarian.org>
3784 * insettabular.C: tab lfuns renamed
3786 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * insettext.C (update): move towards ParagraphList
3789 (updateLocal): ditto
3791 (insetUnlock): ditto
3793 (lockInsetInInset): ditto
3794 (updateInsetInInset): ditto
3795 (localDispatch): ditto
3798 (resizeLyXText): ditto
3799 (searchBackward): ditto
3800 (collapseParagraphs): ditto
3803 * insetwrap.C (InsetWrap): adjust
3804 (addToToc): adjust and rewrite loop
3806 * insettext.[Ch] (paragraph): delete function
3808 * insettabular.C (moveNextCell): adjust
3809 (movePrevCell): adjust
3810 (insertAsciiString): adjust
3812 * insetfloat.C (InsetFloat): adjust
3815 * insetert.C (InsetERT): adjust
3816 (write): adjust, and rewrite loop
3817 (latex): adjust, and rewrite loop
3818 (linuxdoc): adjust, and rewrite loop
3819 (docbook): adjust, and rewrite loop
3820 (localDispatch): adjust
3821 (get_new_label): adjust
3823 2003-04-01 John Levon <levon@movementarian.org>
3825 From Alfredo Braunstein
3828 * insetbutton.C: add localDispatch()
3830 * insetcommand.C: return DISPATCHED when edit() called
3832 * insettext.C: fix bug 967
3834 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * insettext.C: adjust
3838 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * insettext.C (draw): adjust
3841 (crow): return a RowList::iterator not a Row*
3843 * insetminipage.C (localDispatch): adjust
3845 * insetert.C (localDispatch): adjust
3847 2003-03-31 John Levon <levon@movementarian.org>
3850 * insetgraphicsParams.C: use_gui moved to lyx_gui
3852 2003-03-31 John Levon <levon@movementarian.org>
3854 * insettext.C: Alert fix
3856 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * insettext.C (ascent): adjust for RowList
3861 (getLyXText): adjust
3862 (toggleSelection): adjust
3864 * insetminipage.C (localDispatch): adjust for RowList
3866 * insetert.C (localDispatch): adjust for RowList
3867 (getMaxWidth): adjust for RowList
3869 2003-03-29 John Levon <levon@movementarian.org>
3871 * insetert.C: Alert cleanup
3873 2003-03-29 John Levon <levon@movementarian.org>
3875 * insettabular.C: Alert fix
3877 2003-03-28 John Levon <levon@movementarian.org>
3879 * insetfloat.C: reset label on INSET_MODIFY
3881 2003-03-28 John Levon <levon@movementarian.org>
3883 * insetgraphicsParams.C: read subcaptionText as a whole line
3886 2003-03-28 John Levon <levon@movementarian.org>
3888 * insettext.C: remove unused prototypes
3890 2003-03-25 Angus Leeming <leeming@lyx.org>
3892 * insetbibitem.C (localDispatch): repaint the view after modifying
3893 a bibitem inset in case the maximum InsetBibitem width has changed.
3895 2003-03-25 John Levon <levon@movementarian.org>
3898 * insettabular.C: LyXText renamings
3900 2003-03-24 John Levon <levon@movementarian.org>
3902 * insettext.C: remove some dead code. Fix bug 972 and
3903 related by posting a repaint in updateLocal(), and making
3904 the SEL functions set SELECTION.
3906 2003-03-22 John Levon <levon@movementarian.org>
3909 * inset.C: remove no-longer-needed topx_set
3911 * insetcollapsable.h:
3912 * insetcollapsable.C: remove dead code
3915 * insetert.C: rebreak the rows when a possible
3916 change in size is made, and reset the cursor
3919 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3921 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3922 topx_set. Fix drawing errors for clearInset(). Remove
3923 some unnecessary uses of topx, which should die.
3925 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3926 is no longer needed. Replace it with an ugly hack.
3928 2003-03-20 John Levon <levon@movementarian.org>
3931 * insetcollapsable.h:
3932 * insetcollapsable.C:
3940 * insettext.C: remove spurious font parameter
3941 from update(). Fix drawing of ERT insets inside
3942 insets (bug 966). Remove unused mark_dirty from
3943 tabular's updateLocal()
3945 2003-03-19 John Levon <levon@movementarian.org>
3954 * insetwrap.C: remove unused getter/setters
3956 2003-03-19 John Levon <levon@movementarian.org>
3958 * several files: bv->updateInset() doesn't take
3959 a bool mark_dirty any more
3961 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * adjust for BufferView* arg removal from lyxtext.
3965 2003-03-17 John Levon <levon@movementarian.org>
3967 * most files: remove the "cleared" parameter
3968 to draw in favour of always clearing. Associated
3971 2003-03-16 John Levon <levon@movementarian.org>
3973 * insettext.C: remove unused s.refresh
3975 2003-03-13 Angus Leeming <leeming@lyx.org>
3977 * insettext.C (edit): replace Dialogs::updateParagraph with
3978 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3980 2003-03-13 André Pönitz <poenitz@gmx.net>
3982 * Makefile.am: insert insetenv
3984 * insethenv.[Ch]: new files, currently inactive
3986 2003-03-12 John Levon <levon@movementarian.org>
3996 * insettext.C: use new insetnewline
3998 2003-03-12 John Levon <levon@movementarian.org>
4000 * insettext.C: readToken became readParagraph
4002 2003-03-12 John Levon <levon@movementarian.org>
4004 * insettext.C: use parlist iterator for reading contents
4006 2003-03-12 John Levon <levon@movementarian.org>
4008 * insettext.C: name change to readToken()
4010 2003-03-11 André Pönitz <poenitz@gmx.net>
4012 * Makefile.am: insert insethfill
4014 * insethfill.[Ch]: new files
4016 2003-03-10 Angus Leeming <leeming@lyx.org>
4018 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4020 (hideDialog): calls the new static Dialogs::hide() method.
4022 * insetbibitem.C (edit):
4023 * insetbibtex.C (edit):
4024 * insetcite.C (edit):
4025 * insetcommand.C (localDispatch):
4026 * inseterror.C (d-tor):
4027 * insetert.C (showInsetDialog):
4028 * insetexternal.C (localDispatch, edit):
4029 * insetfloat.C (localDispatch, showInsetDialog):
4030 * insetfloatlist.C (edit):
4031 * insetgraphics.C (localDispatch, edit):
4032 * insetinclude.C (localDispatch, edit):
4033 * insetindex.C (edit):
4034 * insetlabel.C (edit):
4035 * insetminipage.C (localDispatch, showInsetDialog):
4036 * insetref.C (edit):
4037 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4038 resetPos, showInsetDialog, openLayoutDialog):
4039 * insettoc.C (edit):
4040 * inseturl.C (edit):
4041 * insetwrap.C (localDispatch, showInsetDialog):
4042 changes due to the changed MailInset interface.
4044 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4046 * insetfloat.h: Set default placement to an empty string.
4048 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4050 * insettext.C (latex): adjust call to latexParagraphs.
4052 2003-03-10 Angus Leeming <leeming@lyx.org>
4054 * mailinset.C: warn the user if the BufferView has not been cached.
4056 2003-03-10 Angus Leeming <leeming@lyx.org>
4058 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4060 * insetcommand.h (inset):
4061 * insetert.h (inset):
4062 * insetexternal.h (inset):
4063 * insetfloat.h (inset):
4064 * insetgraphics.h (inset):
4065 * insetinclude.h (inset):
4066 * insetminipage.h (inset):
4067 * insettabular.h (inset):
4068 * insetwrap.h (inset):
4069 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4071 2003-03-10 Angus Leeming <leeming@lyx.org>
4073 * insetcommand.C (string2params):
4074 * insetexternal.C (string2params):
4075 * insetfloat.C (string2params):
4076 * insetgraphics.C (string2params):
4077 * insetinclude.C (string2params):
4078 * insetminipage.C (string2params):
4079 * insettabular.C (string2params):
4080 * insetwrap.C (string2params): cure warning message about missing
4083 2003-03-09 Angus Leeming <leeming@lyx.org>
4085 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4086 it to communicate with the frontend dialogs.
4088 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4089 contents of this inset!
4091 2003-03-07 Angus Leeming <leeming@lyx.org>
4093 * inseterror.C (localDispatch): new method; calls edit() on
4096 2003-03-07 Angus Leeming <leeming@lyx.org>
4098 * insetbibitem.C (localDispatch):
4099 * insetbibtex.C (localDispatch):
4100 * insetlabel.C (localDispatch):
4101 rewrite as a switch.
4103 2003-03-07 Angus Leeming <leeming@lyx.org>
4105 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4106 it to communicate with the frontend dialogs.
4108 2003-03-07 Angus Leeming <leeming@lyx.org>
4110 * insetexternal.C: remove operator== and operator!= for
4111 InsetExternal::Params. They were used only by the old controller
4114 2003-03-07 Angus Leeming <leeming@lyx.org>
4116 * insetcommand.C (localDispatch):
4117 * insetexternal.C (localDispatch):
4118 * insetfloat.C (localDispatch):
4119 * insetinclude.C (localDispatch):
4120 * insetminipage.C (localDispatch):
4121 * insetwrap.C (localDispatch):
4122 add LFUN_INSET_DIALOG_UPDATE to the switch.
4124 2003-03-07 Angus Leeming <leeming@lyx.org>
4126 * insetcommand.C (string2params):
4127 * insetexternal.C (string2params):
4128 * insetfloat.C (string2params):
4129 * insetinclude.C (string2params):
4130 * insetwrap.C (string2params): use LyXLeX more.
4133 * insetexternal.[Ch]:
4135 * insetinclude.[Ch]:
4136 * insetwrap.[Ch]: change Mailer::name_ to be static.
4138 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4139 it to communicate with the frontend dialogs.
4141 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4144 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4146 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4148 * insettext.C (updateLocal): un-const function
4149 (updateLocal): adjust
4150 (collapseParagraphs): un-const function
4151 (collapseParagraphs): adjust
4153 2003-03-05 Angus Leeming <leeming@lyx.org>
4155 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4156 it to communicate with the frontend dialogs.
4158 2003-03-05 Angus Leeming <leeming@lyx.org>
4160 * insetcollapsable.C (draw): cache the BufferView.
4162 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4163 it to communicate with the frontend dialogs.
4165 2003-03-05 Angus Leeming <leeming@lyx.org>
4167 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4170 2003-03-05 Angus Leeming <leeming@lyx.org>
4172 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4174 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4175 it to communicate with the frontend dialogs.
4177 2003-03-05 Angus Leeming <leeming@lyx.org>
4179 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4180 it to communicate with the frontend dialogs.
4182 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * insettext.C (collapseParagraphs): adjust
4185 (appendParagraphs): make it take a Buffer* instead of a
4186 BufferParams& as arg.
4187 (appendParagraphs): adjust
4189 2003-03-04 Angus Leeming <leeming@lyx.org>
4191 * insetbibitem.C (localDispatch):
4192 * insetbibtex.C (localDispatch):
4193 * insetcommand.C (localDispatch):
4194 * insetert.C (localDispatch):
4195 * insetlabel.C (localDispatch):
4196 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4198 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * insettext.C (latex): adjust for ParagraphList::iterator
4202 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * insetbutton.C (view): adjust for boost 1.30.0
4205 * insetcollapsable.C (view): ditto
4206 * insetgraphics.C (statusChanged): ditto
4208 * insettext.h: move paragraphs to be public.
4210 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * insetnote.[Ch] (InsetNote): remove unused constructor
4214 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4216 * insetgraphics.C: added include "format.h"
4218 2003-02-27 Angus Leeming <leeming@lyx.org>
4220 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4223 2003-02-27 Angus Leeming <leeming@lyx.org>
4225 * insetbibitem.C (localDispatch):
4226 * insetbibtex.C (localDispatch):
4229 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4231 2003-02-26 Angus Leeming <leeming@lyx.org>
4233 * insetbibitem.[Ch] (localDispatch):
4234 * insetbibtex.[Ch] (localDispatch):
4235 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4237 * insetcommand.C (localDispatch):
4238 act only on receipt of LFUN_XYZ_APPLY.
4240 * insetert.C (localDispatch): reformat.
4241 add LFUN_XYZ_APPLY to the switch.
4243 2003-02-26 John Levon <levon@movementarian.org>
4245 * insettext.C: use RowPainter
4247 * inset.h: make helpers take const *
4249 2003-02-26 Angus Leeming <leeming@lyx.org>
4251 * insetcommand.[Ch] (localDispatch): new method.
4253 2003-02-26 Angus Leeming <leeming@lyx.org>
4255 * insetinclude.C (draw): cache the BufferView* using cache not
4256 PreviewImpl::setView
4258 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4260 * insetgraphics.C (draw)
4261 * insetinclude.C (draw): Eliminate also the other argument (owner
4262 inset inset) in the call to PreviewImage::image
4264 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4266 * insetgraphics.C (draw)
4267 * insetinclude.C (draw): Eliminate Buferview argument in call to
4270 2003-02-25 John Levon <levon@movementarian.org>
4272 * insetgraphicsParams.h:
4273 * insetgraphics.C: don't start a load process if
4274 the inset is set to NoDisplay (bug #920)
4276 2003-02-22 John Levon <levon@movementarian.org>
4279 * insetwrap.C: TocItem changed API (bug 913)
4281 2003-02-21 Angus Leeming <leeming@lyx.org>
4283 * insetcollapsable.[Ch] (cache, edit):
4284 * insetbutton.[Ch] (cache, edit): new methods to cache the
4285 BufferView in the draw method.
4287 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4288 simplify comunication between InsetCommand-derived classes and
4291 * insetbibitem.[Ch]:
4295 * insetfloatlist.[Ch]:
4299 * inseturl.[Ch]: small changes to reflect the new interface to the
4302 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4303 other, similar classes.
4305 * Makefile.am: add new files.
4307 2003-02-21 Angus Leeming <leeming@lyx.org>
4309 * updatableinset.h (setView, view): remove.
4310 * inset.h (view, cache): to be replaced by these.
4312 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4315 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4318 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4320 2003-02-21 Allan Rae <rae@lyx.org>
4322 * insetinclude.C (loadIfNeeded): ensure loading also works when
4323 child document is under version control.
4325 2003-02-17 André Pönitz <poenitz@gmx.net>
4327 * insetbib.[Ch]: Adjust access to bibkeys
4329 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4331 * insetquotes.C (dispString): remove use of acute accent for "'"
4334 2003-02-14 John Levon <levon@movementarian.org>
4336 * insettabular.C: changed method names in tabular.C
4338 2003-02-14 John Levon <levon@movementarian.org>
4342 * insetcollapsable.h:
4343 * insetcollapsable.C:
4347 * insettext.C: remove unused getParFromID()
4349 2003-02-13 John Levon <levon@movementarian.org>
4352 * insettext.C: remove unused beginningofMainBody()
4354 2003-02-08 John Levon <levon@movementarian.org>
4358 * insetcollapsable.h:
4359 * insetcollapsable.C:
4364 add nextChange(). Make allowSpellcheck() const. Add markErased().
4366 * insetert.C: ignore deleted text
4368 * insettabular.C: make sure to keep change tracking working
4371 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4376 * insettext.C: Use error messages with identical spelling and
4379 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4381 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4383 2002-12-17 Juergen Vigna <jug@lyx.org>
4385 * insettext.C (localDispatch): hopefully fixed cursor up down
4386 movement on leaving other insets.
4388 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4390 * insettext.C: fix inconsistent usage of spaces, colons,
4391 capitalization, and the like.
4393 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4395 * insetgraphics.C (prepareFile): do not remove the extension of
4396 the file name if it is not the default extension for the given
4397 format (that is, in latex output, remove extension from foo.eps,
4398 but not from foo.epsi)
4400 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4402 * insettext.C (lfunMouseRelease): hackish solution to the "double
4405 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * insetfloat.C (addToToc): use the floats name not its type
4408 * insetwrap.C (addToToc): ditto
4410 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4412 * insetnote.C (init): make label font smaller
4414 2002-12-04 John Levon <levon@movementarian.org>
4416 * insetinclude.C: ressurect setting of command name
4418 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * insetquotes.C (dispString): disambiguate insert call
4422 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * several files: ws changes
4426 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * insetquotes.C (dispString): use string::insert for prepending a
4431 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4433 * insetparent.C (getScreenLabel): use boost::format
4435 * insetgraphics.C (prepareFile): use boost::format
4438 * insetfloatlist.C (latex): use boost::format
4440 * insetcaption.C (draw): use boost::format
4442 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4444 * insettabular.C (tabularFeatures): Support for block alignment in
4445 fixed width columns.
4447 2002-11-20 Juergen Vigna <jug@sad.it>
4449 * insettabular.C (resetPos): temporary fix for endless loop in
4450 this function on a redraw.
4452 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * insettabular.C (copySelection): STRCONV
4456 * insetinclude.C (uniqueID): STRCONV
4457 (latexString): ditto
4459 * insetgraphics.C: put VersionNumber inside anon namespace
4460 (createLatexOptions): STRCONV
4462 * insetcommandparams.C: include config.h
4464 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4466 * insetgraphicsParams.C (Write): use lyx::float_equal.
4467 Write height data correctly.
4468 (Read): zero scale when reading height data.
4470 2002-10-30 John Levon <levon@movementarian.org>
4472 * insetfloat.C (addToTOC): recursively traverse all
4473 contents looking for captions (fix #568)
4475 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4477 * insetexternal.C (doSubstitution): do not try to replace
4478 environment variables, this is done when executing the command
4480 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4482 * insetexternal.C (doSubstitution): change order of substitution
4483 to work around ReplaceEnvironmentPath brokenness
4485 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4487 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4489 * insetgraphicsParams.C (init, Write): associated changes
4490 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4491 InsetGraphicsParams::scale.
4493 2002-10-21 John Levon <levon@movementarian.org>
4495 * inset.h: remove unused DISPATCH_RESULT
4497 * insettext.C: sgml open/close tag now in sgml namespace
4499 2002-10-21 Angus Leeming <leeming@lyx.org>
4501 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4502 file path subdir/fig.eps when pasting it into a buffer in a different
4505 2002-10-16 John Levon <levon@movementarian.org>
4507 * insetspecialchar.C: remove \\protected_separator parsing
4509 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4511 * insetquote.C: fix LaTeX output of quotation marks.
4513 2002-10-14 Juergen Vigna <jug@sad.it>
4515 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4516 Backspace functions which confused the Undo handling.
4518 2002-10-09 Angus Leeming <leeming@lyx.org>
4520 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4521 BufferView::dispatch that turns off this optimisation when a new inset
4524 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4525 reload the BibTeX keys.
4527 2002-10-11 André Pönitz <poenitz@gmx.net>
4529 * insettext.h: handle LFUN_PRIOR/NEXT
4531 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4533 * insetfloat.C: fix bug with float settings
4534 (document default != float default).
4536 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4538 * insetwrap.C (addToToc): New method.
4539 (InsetWrap): Set layout to caption.
4541 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4545 2002-09-16 John Levon <levon@movementarian.org>
4547 * insettabular.h: hasSelection() needs to be public
4549 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4551 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4553 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4555 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4557 2002-09-11 André Pönitz <poenitz@gmx.net>
4559 * insettabular.C: implement LFUN_WORDSEL
4561 2002-09-10 John Levon <levon@movementarian.org>
4563 * insetinclude.h: remove unused param
4565 2002-09-09 John Levon <levon@movementarian.org>
4568 * insetinclude.C: remove noload, default to input
4570 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4572 * insetgraphics.C: disfuscated use of ']' in built output string.
4574 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4578 2002-08-29 Juergen Vigna <jug@sad.it>
4580 * insettabular.C (lfunMousePress): Pay attention where you set
4581 the x/y values as they depend on which inset in the tabular is
4582 actually locked. So you surely have to reset them if you (un)lock
4585 2002-08-29 André Pönitz <poenitz@gmx.net>
4587 * insetfootlike.h: rename include guard to ALL CAPS
4589 * insettext.C: swap object and first parameter for checkInsetHit calls
4590 as this functions has moved from BufferView to LyXText
4593 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4595 * insetgraphicsParams.C: remove local displayTranslator and use
4596 the one from graphics/GraphicsTypes.h.
4598 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4600 * insetfloat.C (wide): add BufferParams parameter
4602 * insetfloatlist.C (read):
4605 * insetfloat.C (latex):
4607 * insetcaption.C (draw): use LyXTextClass::floats()
4609 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4611 * insetoptarg.h: add std:: qualifier.
4613 2002-08-26 Juergen Vigna <jug@sad.it>
4615 * insettext.C (localDispatch): ditto.
4617 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4619 2002-08-25 John Levon <levon@movementarian.org>
4621 * inseturl.C: elide long URLs (bug 404)
4623 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4625 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4626 remove "Format Version <version_no.>" string from inset header
4629 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4631 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4632 a member of "grfx::Params" anymore.
4634 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4636 2002-08-24 John Levon <levon@movementarian.org>
4639 * insetoptarg.C: ws, pedantry ...
4641 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4643 * insettext.C (collapseParagraphs): pasteParagraph now in global
4645 (appendParagraphs): ditto
4647 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4649 * insetcite.C (latex): Remove spaces only after commmas.
4651 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * insettext.C: remove NO_COMPABILITY stuff
4655 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * insettext.C (edit): use ParagraphList iterators
4659 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4660 (bibitemWidest): ditto
4662 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * insettext.C: include <boost/bind.hpp>
4665 add using std::for_each
4666 (saveLyXTextState): use ParagraphsList::iterator
4667 (init): use for_each on paragraphlist iterators
4668 (InsetText): remove superflous setting cached_bview to 0
4669 (latex): reformat a bit
4670 (ascii): use paragraphlist iterators
4671 (validate): use for_each + boost bind
4672 (getLabelList): use paragraphlist iterators
4673 (deleteLyXText): use for_each + boost::bind
4674 (resizeLyXText): ditto
4675 (reinitLyXText): ditto
4676 (removeNewlines): use paragraphlist iterators
4677 (getParFromID): ditto
4678 (paragraph): use for_each + boost::bind
4679 (getInsetFromID): use paragraphlist iterators
4680 (getLabelList): typo fix
4682 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * insettext.C (read): assign tmp to paragraphs after return from
4685 call to parseSingleLyXformat2Token
4688 2002-08-13 Angus Leeming <leeming@lyx.org>
4706 * inseturl.C: changes due to the changed LyXView interface that
4707 now returns references to member variables not pointers.
4709 2002-08-13 Angus Leeming <leeming@lyx.org>
4712 * insetcollapsable.h:
4715 * insettext.h: forward-declare WordLangTuple
4716 (selectNextWordToSpellcheck) constify return type.
4719 * insetcollapsable.C:
4722 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4724 2002-08-12 Angus Leeming <leeming@lyx.org>
4726 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4729 2002-08-12 Juergen Vigna <jug@sad.it>
4731 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4734 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4737 (bibitemWidest): ditto
4738 * insettext.[Ch]: ditto
4740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4744 2002-08-09 Angus Leeming <leeming@lyx.org>
4746 * insetinclude.C (latexString): remove fudge now that I've found out
4747 how to enable LaTeX to find the file using input@path.
4749 2002-08-09 John Levon <levon@movementarian.org>
4752 * insettext.C: remove unused xpos
4754 2002-08-07 Juergen Vigna <jug@lyx.org>
4756 * insettabular.C (localDispatch): make delete not put the stuff
4757 in the clipboard only do this on a cut operation.
4759 * insettext.C (localDispatch): make delete and backspace not put
4760 selected stuff to the clipboard.
4762 2002-08-07 André Pönitz <poenitz@gmx.net>
4765 * insetcollapsable.[Ch]:
4769 * insettabular.[Ch]:
4770 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4772 2002-08-06 John Levon <levon@movementarian.org>
4776 * insetcollapsable.h:
4777 * insetcollapsable.C:
4783 * insettext.C: use WordLangTuple for spellcheck
4785 2002-08-06 Angus Leeming <leeming@lyx.org>
4787 * insetinclude.C: add a monitor to the previewed image, so that the
4788 image is refreshed if the \input-ed file changes.
4790 2002-08-04 John Levon <levon@movementarian.org>
4793 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4795 2002-08-02 Angus Leeming <leeming@lyx.org>
4797 * insetcommandparams.[Ch] (preview): new methods returning and setting
4798 a new bool preview_ flag.
4799 (read): read this flag.
4800 (operator==): add flag to check.
4802 * insetinclude.C (write): output new preview() flag.
4803 (previewWanted): use this flag.
4805 2002-08-02 Angus Leeming <leeming@lyx.org>
4807 * insetcollapsable.[Ch] (addPreview):
4808 * insettabular.[Ch] (addPreview):
4809 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4810 for insets in insets.
4812 2002-08-02 Angus Leeming <leeming@lyx.org>
4814 * insetcite.C: fix typo.
4816 * insetgraphics.C: kill current_view and instead cache the BufferView
4819 * insetinclude.C: kill current_view and pass the BufferView to the
4820 PreviewedInset so that it can cache it.
4822 2002-08-01 Angus Leeming <leeming@lyx.org>
4824 * inset.h (generatePreview): renamed as addPreview.
4825 (generatePreview): new method. Allows code to be moved out of
4826 math_nestinset.C and into the new PreviewedInset class.
4828 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4829 add previews to the inset when \input-ing LaTeX.
4831 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * several files: strip,frontStrip -> trim,ltrim,rtrim
4835 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * insetbib.C (latex): modify because of strip changes
4839 * insetnote.C (InsetNote): ditto
4841 2002-07-26 Juergen Vigna <jug@sad.it>
4843 * insettabular.C (searchForward): check for lastcell if we
4844 had a locking inset.
4846 2002-07-25 Juergen Vigna <jug@sad.it>
4848 * insettabular.C (insetMotionNotify): Don't update the screen
4849 if we didn't do nothing.
4850 (searchForward): last cell was not checked.
4852 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4854 * insetfloat.C (read, write): Allow default placement
4855 (floatPlacement_ is empty).
4857 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4859 * insetminipage.h (noFontChange):
4860 * insettabular.h (noFontChange):
4861 * insetfootlike.h (noFontChange):
4862 * insetfloat.h (noFontChange): return true
4864 * inset.h (noFontChange): new method, defaulting to false
4866 2002-07-22 Herbert Voss <voss@lyx.org>
4868 * insetgraphicsParams.[Ch]: support size_type for old docs
4870 2002-07-22 Herbert Voss <voss@lyx.org>
4873 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4876 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4878 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4880 * insetlatexaccent.h: do not include "lyxlex.h"
4882 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4885 * insetlatexaccent.C:
4889 * insetbib.C: #include "lyxlex.h"
4895 * insettext.C: use BufferParams::getLyXTextClass
4898 * insetfloat.C (addToToc): new method. Add to toclist the entries
4899 corresponding to Caption layouts
4900 (InsetFloat): when creating a new float, set the layout to "Caption"
4902 2002-07-21 Herbert Voss <voss@lyx.org>
4904 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4905 image relevant part into graphics/GraphicsImgae.C
4907 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4909 * insettoc.C (ascii):
4910 * insetfloatlist.C (ascii): change to use the new Toc functions
4911 instead of stuff that was in Buffer
4913 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4915 * insettext.C (localDispatch): BufferView::Dispatch has been
4916 renamed to BufferView::dispatch
4918 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4920 * insetgraphicsParams.C (as_grfxParams): use the new
4921 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4922 1.2.0 patch, and I do not really know how to adapt it to the new
4923 grfx::Cache world. Angus, please could you have a look?
4925 2002-05-01 Herbert Voss <voss@lyx.org>
4927 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4929 2002-07-18 Angus Leeming <leeming@lyx.org>
4931 * insetgraphics.C: clean-up comments (from Herbert).
4932 add a new checksum variable to the cache. Use it in PrepareFile.
4933 (draw): start monitoring the file for a change.
4934 (prepareFile): re-arrange a little to avoid unnecessary steps.
4936 2002-07-17 Angus Leeming <leeming@lyx.org>
4938 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4939 a method rather than to the signal directly.
4941 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4943 * insettext.C: use view_state_changed, switchKeyMap
4945 2002-07-17 Herbert Voss <voss@perce.de>
4947 * insetgraphics.C (prepareFile): keep the extension when
4948 exporting to nice file
4950 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * insetcite.C (getNatbibLabel):
4953 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4955 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4957 * insetgraphics.C: use ->isDrawable()
4959 2002-07-12 Angus Leeming <leeming@lyx.org>
4961 * insetgraphics.C: use the new smart loading capabilities of the image
4964 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4966 * insettabular.C (edit): Move into correct cell when entering a
4969 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4972 2002-07-05 Angus Leeming <leeming@lyx.org>
4974 * inset.h (generatePreview): new virtual method.
4976 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4978 * insetcommandparams.[Ch] (operator=): move out of class
4979 (operator!): move out of class
4981 2002-07-04 André Pönitz <poenitz@gmx.net>
4983 * insetcommandparams.[Ch]: new files
4985 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4987 2002-06-15 Herbert Voss <voss@perce.de>
4989 * insetgraphics.C (prepareFile): bugfix; return always
4990 files without extension
4992 2002-06-28 Angus Leeming <leeming@lyx.org>
4994 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4995 rename asGParams -> as_grfxParams.
4997 * insetgraphics.C: reflect above change.
4999 2002-06-26 Angus Leeming <leeming@lyx.org>
5001 * insetgraphics.h: use boost::scoped_ptr in preference to
5004 2002-06-26 Angus Leeming <leeming@lyx.org>
5006 * insetgraphics.C: moved the image loading stuff into a new class
5007 grfx::Loader. Simplifies this file enormously.
5009 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5011 * insetgraphicsParams.C: changes aassociated with moving
5012 grfx::DisplayType out of grfx::GParams.
5014 2002-06-26 André Pönitz <poenitz@gmx.net>
5016 * insetgraphics.C: use os::external_path where necesaary according to a
5017 patch from Claus Hentschel)
5019 2002-06-25 Angus Leeming <leeming@lyx.org>
5021 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5022 generating a pixmap once the graphics file is loaded into memory.
5023 The current_view ugliness that was in grfx::ModifiedImage has been
5024 moved here now that grfx::ModifiedImage is no more.
5026 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5028 * insettext.C: layout as layout
5030 2002-05-28 André Pönitz <poenitz@gmx.net>
5032 * insetfloatlist.h: remove source of compiler warning
5034 * insetref.C: tiny whitespace
5036 2002-06-15 Herbert Voss <voss@perce.de>
5038 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5039 and take always convert when no userdefined converter was
5041 (latex) small changes in the lyxerr output
5043 2002-06-15 LyX Development team <lyx@rilke>
5045 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5046 mixed content. Small white spaces clean.
5048 2002-06-14 Angus Leeming <leeming@lyx.org>
5050 * inseetexternal.C: remove the using std::difftime declaration.
5052 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5054 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5056 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5058 * insetquotes.C (draw): fix drawing of double quotes
5060 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5062 * insettabular.C: s/scrollCB/scrollDocView/
5064 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5066 * insettext.C: change of topCursorVisible()
5069 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5072 * insettext.C: rename/change of LyXScreen
5074 2002-06-07 Angus Leeming <leeming@lyx.org>
5076 Fixes needed to compile with Compaq cxx 6.5.
5078 * insetexternal.C: all c-library variables have been moved into
5079 namespace std. Wrap using std::xyz declarations inside a #ifndef
5080 CXX_GLOBAL_CSTD block.
5082 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5084 * insetinclude.C (uniqueID):
5085 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5086 conflicted with some AIX headers.
5088 2002-05-31 Juergen Vigna <jug@sad.it>
5090 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5094 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5096 * insetexternal.C (clone): fix () bug when using new
5097 (updateExternal): don't only look for difftime in global scope
5099 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5101 * insettabular.C: add const
5103 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5105 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5106 file name, in case there are weird characters like ',' in there.
5109 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5111 * switch from SigC signals to boost::signals.
5113 2002-05-28 André Pönitz <poenitz@gmx.net>
5115 * insets/insetgraphicsParams.[Ch]:
5116 put in inset related stuff from src/graphic
5118 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5126 * insetcollapsable.C:
5127 * insetcollapsable.h:
5155 * inseturl.h: use mouse_state. Kill insetKeyPress
5157 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5162 * insetcollapsable.C:
5165 * insetlatexaccent.C:
5167 * insetspecialchar.C:
5169 * insettext.C: name change for font metrics
5171 2002-05-24 Juergen Vigna <jug@sad.it>
5173 * insetgraphics.h: include inset.h first (for LString.h)
5175 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5177 * insettext.C: screen moved
5179 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5197 * inseturl.C: LyXView moved into frontends/
5199 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5204 * insetcollapsable.C:
5208 * insetgraphicsParams.C:
5209 * insetlatexaccent.C:
5211 * insetspecialchar.C:
5213 * insettext.C: move Painter to frontends/
5215 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5217 * insettabular.h: use more specific smart_ptr header.
5218 * insettext.h: ditto
5220 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5223 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5225 * insettext.C: clear selection on paste (bug 393)
5227 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5229 * insettext.C (latex): Honor the moving_arg argument.
5231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5233 * insetfoot.C (latex): if a footnote is in a title layout, then it
5234 is a \thanks. And then, its contents is a moving argument.
5236 2002-05-14 Juergen Vigna <jug@sad.it>
5238 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5241 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5243 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5244 when using options "Full author list" or "Upper case".
5246 2002-05-14 Herbert Voss <voss@perce.de>
5248 * insetgraphics.C (prepareFile): allow files with same name
5250 (readFigInset): set the flags from old figinset in the right
5252 (findTargetFormat): more comments
5254 2002-05-14 Juergen Vigna <jug@sad.it>
5256 * insettext.C (edit): tell checkAndActivateInset() that we don't
5257 have a button press.
5258 (checkAndActivateInset): if button < 0 we don't have a button press
5259 on the inset and os we won't call edit on it if it's not a Highly
5260 editable inset (then we have to enter it).
5262 2002-05-13 Juergen Vigna <jug@sad.it>
5264 * insetcollapsable.C (insetButtonRelease): returned wrong return
5267 2002-05-09 Juergen Vigna <jug@sad.it>
5269 * insetcollapsable.C (edit): first_after_edit should only be
5270 set to true if we enter this inset and it was collapsed so we
5271 open it up. This is needed to reclose it after a search/replace
5272 or spellcheck function opened it and was negative.
5274 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5276 * insetfloat.C (latex): Return correct value.
5278 2002-05-04 Herbert Voss <voss@perce.de>
5280 * InsetgraphicsParams.C (read): fix bug with WH
5282 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5284 * insetfloat.C (latex): More sensible latex output
5285 (fix the problem with endfloat).
5287 2002-05-02 José Matos <jamatos@fep.up.pt>
5289 * insetgraphics.C (validate): acess params as everyone else.
5291 2002-05-03 Juergen Vigna <jug@sad.it>
5293 * insettabular.C (fitInsetCursor): recalculate the cursor position
5296 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5298 * InsetgraphicsParams.[Ch]: whitespace.
5300 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5302 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5303 float type do not exist.
5305 2002-04-28 Herbert Voss <voss@perce.de>
5307 * insetgraphics.C (latex): fix bug with missing file-extension.
5308 LaTeX still allows a missing "eps" or "ps".
5310 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5312 * insetfloat.C (c-tor, wide): translate the name of the float.
5314 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5316 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5317 when using natbib and make it work efficiently. Must emphasise that the
5318 real work is Herbert's.
5320 2002-04-23 Herbert Voss <voss@perce.de>
5322 * insetgraphic.C (prepareFile): fix bug with overwriting and
5323 deleting an existing *.eps-file in the doc-dir
5325 2002-04-23 Juergen Vigna <jug@sad.it>
5327 * insettabular.C (drawCellSelection): fix off by 1 error.
5329 2002-04-22 Juergen Vigna <jug@sad.it>
5331 * insettabular.C (setFont): rewoke full selection if it was asked,
5332 after we changed all we had to change.
5334 * insettext.C (insetUnlock): code was uninitialized in some situations.
5336 2002-04-19 Herbert Voss <voss@perce.de>
5338 * insetgraphic.C (prepareFile): return filename without
5339 extension if we only export without compiling
5341 2002-04-19 Juergen Vigna <jug@sad.it>
5343 * insettext.C (draw): call a fullRebreak on the row where we had a
5344 change and reset the cursor and selection-cursors.
5346 * insettabular.C (insetUnlock):
5347 (insetButtonPress): call an update before setting the_locking_inset = 0
5348 as otherwise we don't repaint!
5349 (update): reset the cursor position when we changed dimensions as
5350 otherwise our cursor may be on the wrong spot.
5352 2002-04-18 Juergen Vigna <jug@sad.it>
5354 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5355 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5356 redraw otherwise we won't redraw.
5358 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5359 not really right before, but I only discovered this with the last
5360 changes to Page up/down.
5362 2002-04-17 Juergen Vigna <jug@sad.it>
5364 * insettext.C (checkAndActivateInset): simplified as we now have the
5365 edit(bv, bool) call.
5367 * insettext.h: changed behind variables to front variables to be
5368 equal to the one in the edit call (as it is for that they are used).
5370 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5372 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5373 not output anything at all!
5375 2002-04-16 Juergen Vigna <jug@sad.it>
5377 * insettabular.C (insetButtonPress):
5378 (insetUnlock): call a redraw on unlocking the cell inset.
5380 * insettext.C (insetButtonPress): same as below.
5381 (lockInset): new function to set initial values when inset should
5383 (insetButtonPress): use above function.
5384 (insetUnlock): don't force a repaint only set the updateStatus. The
5385 outside world should repaint if it thinks it should be done!
5387 * insettabular.C (insetButtonPress): init values if not set as locked
5388 as we are locked if someone presses on us and don't call the edit()
5389 call of the InsetText to lock it do it as BufferView does it!
5391 * inset.h (insetInInsetY): make func const and return an int.
5394 * insetcollapsable.C: adapt the above changed function.
5396 2002-04-15 Juergen Vigna <jug@sad.it>
5398 * insettext.C (getCursorPos): return relative position as to be able
5399 to give them directly to the edit() call.
5400 (edit): we have to set also x_fix as it is not set inside the
5401 setCursorFromCoordinates call!
5402 (insetMotionNotify): ditto.
5404 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5406 * insetbib.C (getKeys): strip leading '\t's from the line too.
5407 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5409 2002-04-12 Juergen Vigna <jug@sad.it>
5411 * insettext.h: added cix() helper function and use it where appropriate
5413 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5415 * insetgraphics.C (prepareFile): fix bug when graphics is a
5418 2002-04-12 Juergen Vigna <jug@sad.it>
5420 * insettext.C (insertInset): remove unneeded code!
5421 (updateLocal): fitCursor() fixes.
5422 (collapseParagraphs): fix a possible problem when having a selection
5423 and collapsing the paragraphs.
5425 2002-04-08 Herbert Voss <voss@perce.de>
5427 * insetgraphic.C (write): write the rotating angle as
5428 a float as is. test only for != 0.0
5430 2002-04-11 Juergen Vigna <jug@sad.it>
5432 * insettext.C: new function ciy() and use it for setting inset_y.
5434 * insetert.C (draw): fix the x return for collapsed version.
5436 2002-04-07 Herbert Voss <voss@perce.de>
5438 * insetgraphic.C (readFigInset): fix bug with subcaption and
5441 2002-04-08 Herbert Voss <voss@lyx.org>
5443 * insetgraphicsparam.C: forgot special option and delete old
5446 2002-04-05 Juergen Vigna <jug@sad.it>
5448 * insettext.C (localDispatch): make a CURSOR update if we inserted
5451 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5453 * insetfloatlist.C (getScreenLabel):
5454 (latex): use Floating::listName
5455 (validate): new method
5457 2002-04-03 José Matos <jamatos@fep.up.pt>
5459 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5461 * insetfoot.[Ch] (docbook): added forgotten method.
5463 2002-04-03 Juergen Vigna <jug@sad.it>
5465 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5466 way as in Bufferview_pimpl.
5468 2002-04-03 Allan Rae <rae@lyx.org>
5470 * insetgraphics.C (latex): one % too many makes living on the bleeding
5471 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5473 2002-03-28 Herbert Voss <voss@lyx.org>
5475 * insetgraphic.C (latex): simplify the code for the latex
5476 output when the file doesn't exist
5478 2002-03-29 Juergen Vigna <jug@sad.it>
5480 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5483 * insettabular.C (edit): call fitCursor().
5485 * insettext.C (insetButtonPress): change behaviour of no_selection
5486 to the one in the BufferView selection_possible and fix the spurious
5487 selection bug with it.
5488 (localDispatch): revoke selection on BREAK... functions.
5490 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5492 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5494 2002-03-28 Juergen Vigna <jug@sad.it>
5496 * insettabular.C (insetAllowed): return true as default value otherwise
5497 we're not able to insert insets inside paragraphs of an not locked
5500 2002-03-27 Herbert Voss <voss@lyx.org>
5502 * insetgraphicsparam.C: change c%, p% to col%, page%
5504 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5506 * insetspecialchar.C (isLineSeparator): disable the nice code to
5507 allow linebreaks after hyphenation and menu separators.
5509 2002-03-26 Herbert Voss <voss@lyx.org>
5511 * insetgraphics.C (figinsetRead): set the right lyxview
5513 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5515 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5516 $\backslash$ and pass a "string const &" to the function.
5517 (prepareFile, latex): use Path rather than MakeAbsPath.
5519 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5521 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5522 proper fix to the graphics cache.
5523 (latex): "really" nice output if the file is not found ;-)
5525 2002-03-26 Juergen Vigna <jug@sad.it>
5527 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5528 (collapseParagraphs): fixed inserting of separator ' '
5530 * insettabular.C (insertAsciiString): only check for buffer lenght
5531 not if we have \t or \n inside the buffer as if we don't have we only
5532 have 1 cell and that's it!
5534 * insetert.C (close): don't collapse if inlined.
5536 2002-03-25 Herbert Voss <voss@lyx.org>
5538 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5539 graphics file does not exist.
5541 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5543 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5544 path when preparing export.
5546 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5547 no longer MakeRelPath.
5549 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5551 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5552 Used to determine the absolute path to the graphics file in the
5553 graphics cache and only in the graphics cache.
5554 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5555 make graphics file name absolute if it is stored as a relative path.
5557 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5558 make graphics file name absolute if it is stored as a relative path.
5560 * insettext.C (edit): emit an updateParagraph signal on entering a text
5561 inset. Needs to be emitted when leaving the inset also.
5563 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5565 * all files: ws cleanup
5567 * Makefile.am: remove ld -r stuff
5569 2002-03-21 Juergen Vigna <jug@sad.it>
5571 * insettext.C (appendParagraphs): new function added to append
5572 the paragraphs to this insets paragraphs.
5574 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5576 * Makefile.am: special rules if partial linking
5578 2002-03-19 Juergen Vigna <jug@sad.it>
5580 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5582 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5584 * insetgraphics.C: Clean up Baruch's comments a little.
5585 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5587 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5590 * insettheorem.C: wrap warnings
5592 * insetgraphics.C: improve messages, move cached_status_
5593 setting to safer place
5595 2002-03-18 Juergen Vigna <jug@sad.it>
5597 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5599 (localDispatch): ditto
5601 * insettext.C (edit): removed unneeded showCursor calls.
5602 (localDispatch): ditto.
5604 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5606 * insetgraphics.h: remove display() method.
5608 2002-03-11 Juergen Vigna <jug@sad.it>
5610 * insetgraphics.C (draw): hack to fix the redrawing bug.
5611 (draw): seems this fixes #268 (force redraw of row if we changed).
5613 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5614 this inset text (don't know why I missed this earlier).
5616 2002-03-08 Juergen Vigna <jug@sad.it>
5618 * insettabular.C (updateLocal): do a FULL update if we're not locked
5619 and only a CELL update is asked.
5621 * insettext.C (updateInsetInInset): update insets inside inset also
5622 if it isn't inside the_locking_inset.
5624 * insettabular.C (updateInsetInInset): ditto.
5626 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5628 * insetexternal.C (doSubstitution): check whether we are using a
5629 temp dir for defining $$FPath
5631 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5634 * insettext.C: remove #include "WorkArea.h".
5636 2002-03-06 Juergen Vigna <jug@sad.it>
5638 * insettext.C (draw): fixed frame redrawing.
5639 (clear): forgot to set the inset_owner of the paragraph.
5641 * insetert.C (status): pay attention the bv can be 0 here!
5642 (getMaxWidth): add the default leftMargin
5644 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5646 * insetert.C (getMaxWidth): make w unsigned int.
5648 2002-03-05 Juergen Vigna <jug@sad.it>
5650 * insetert.C (status): change behaviour of Inlined.
5651 (getMaxWidth): added for new inlined behaviour.
5653 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5655 * insetnote.h (linuxdoc, docbook): add empty methods.
5656 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5657 before being initialized.
5659 2002-03-05 Juergen Vigna <jug@sad.it>
5661 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5662 only that one in the inset. Should be enough.
5663 (updateLocal): set the selection cursor always if we don't have a
5664 selection to be sure it's set!
5666 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5668 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5670 * insettext.C (clear): a gross hack to set layout on a newly
5673 2002-03-04 Juergen Vigna <jug@sad.it>
5675 * insettabular.C (localDispatch): inserted handling of
5676 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5677 (insertAsciiString): new helper function.
5679 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5681 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5684 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5686 * insettext.C (InsetText): initalize newly created par with
5687 default layout. add bufferparams parameter
5690 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5691 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5692 * insetert.[Ch] (InsetERT): ditto
5693 * insetfloat.[Ch] (InsetFloat): ditto
5694 * insetfoot.[Ch] (InsetFoot): ditto
5695 * insetfootlike.[Ch] (InsetFootLike): ditto
5696 * insetmarginal.[Ch] (InsetMarginal): ditto
5697 * insetminipage.[Ch] (InsetMinipage): ditto
5698 * insetnote.[Ch] (InsetNote): ditto
5699 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5701 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * insettext.C: layout as string
5705 * insetinclude.C: layout as string
5707 * insetert.C: layout as string
5709 * insetbib.C: layout as string
5711 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5714 * insettabular.C: remove #include "lyx_gui_misc.h".
5716 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5721 * inset.h: remove figinset, yahoo !
5723 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5725 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5726 copy c-tor and initialise member variables in the correct order.
5728 2002-02-28 Juergen Vigna <jug@sad.it>
5730 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5732 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5734 * inset.h: ... and add a better one here.
5736 * insetcommand.C (insetButtonRelease): remove that one which was a
5739 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5741 * insetcommand.C (insetButtonRelease): ... and move it here.
5743 * inseturl.h: remove insetButtonRelease from there...
5745 2002-02-26 Juergen Vigna <jug@sad.it>
5747 * inseturl.h: Added a insetButtonRelease call returning true as
5750 * insetlabel.C (edit): Fixed wrong update handling after change I
5751 leave in the wrong code for the one who wrote it to remove and have
5752 a look what he did wrong.
5754 * insettabular.C (localDispatch): force a SELECTION update if we
5755 had a selection and we passed the event down to the inset (fix #213)
5756 (localDispatch): handle font changing stuff when we have a cell
5757 selection so that the selection is not rewoked. I don't really like
5758 this fix, but it's the only way I see to do it right now.
5760 2002-02-22 Juergen Vigna <jug@sad.it>
5762 * insettext.C (insetUnlock): set the cursor to the second paragraph
5763 if available and if the first one is empty (fix #191).
5765 2002-02-20 Juergen Vigna <jug@sad.it>
5767 * insettext.C (getDrawFont): implemented this function to call the
5768 one of the owner if present as the owner normally knows what to do
5771 * insetert.C: implement getDrawFont() function and comment out all
5772 the crap for setting a special latex font inside this inset.
5773 (InsetERT): added a Lanugage parameter to this constructor.
5775 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5776 change the font for being drawn on screen (used only in InsetERT for
5779 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5780 and also above (was missing).
5781 (updateLocal): don't remove the cell selection if we have one this
5782 should be done where we really want to remove it.
5784 2002-02-20 José Matos <jamatos@fep.up.pt>
5786 * insetinclude.h: include_label made string const.
5788 * insetinclude.C (InsetInclude): moved include_label initialization.
5791 (validate): fix support for temporary directory, for docbook and
5794 * insetgraphics.h : new private member, graphic_label, that holds
5795 the entity name that defines the graphics location (SGML).
5797 * insetgraphics.C (unique_id): new function to give a unique label
5800 (validate): the file locatation is given by an entity reference.
5802 2002-02-18 Herbert Voss <voss@lyx.org>
5804 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5806 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5808 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5809 as support/systemcall.[Ch] and of class Systemcalls as class
5812 2002-02-18 José Matos <jamatos@fep.up.pt>
5814 * insetinclude.C (validate): some code only applies to latex buffers,
5815 it was made conditional.
5817 2002-02-12 Herbert Voss <voss@lyx.org>
5819 * insetgraphics.C: (prepareFile) do not check at this time
5820 if the file is present.
5822 2002-02-12 Herbert Voss <voss@lyx.org>
5824 * insetgraphics.C: latex(), return the correct newlines
5826 2002-02-13 José Matos <jamatos@fep.up.pt>
5828 * inseturl.C (docbook): escape & in url.
5830 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5832 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5833 after HYPHENATION and MENU_SEPARATOR
5835 * inset.h (isLineSeparator): new method, returns false by default.
5837 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5839 * insetert.C (status): do not update the text inset, but the ERT
5842 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5844 * insetnote.C: use notebg for background
5846 2002-02-08 Herbert Voss <voss@lyx.org>
5849 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5850 prevent LyX from unzipping when this should be handled
5851 by latex vis the graphic.cfg.
5854 2002-02-08 Herbert Voss <voss@lyx.org>
5856 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5857 exists, than return filename with extension
5859 2002-02-06 Herbert Voss <voss@lyx.org>
5861 * insetgraphic.C: prepareFile(): don't convert the file, when
5862 it's not viewed in LyX. Saves a lot of time when opening a
5865 2002-02-05 Herbert Voss <voss@lyx.org>
5868 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5869 and adding a rotate bool similiar to subcaption
5871 2002-02-04 Herbert Voss <voss@lyx.org>
5874 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5875 similiar view to the LaTeX one. Get zipped files work.
5877 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5879 * insetgraphicsParams.C (init): set display to DEFAULT.
5880 No longer #include "lyxrc.h".
5882 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5884 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5885 for now (so that the code compiles).
5887 2002-02-02 Herbert Voss <voss@lyx.org>
5889 * insetgraphic.C: delete inVariant() and some minor changes
5890 * insetgraphicsParams.[C]:
5892 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5894 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5895 interogate lyxrc.display_graphics before diaplaying the graphic.
5897 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5898 InsetGraphicsParams::DisplayType.
5900 2002-01-31 Herbert Voss <voss@lyx.org>
5902 * insetgraphic.C: (readfigInset) set display to pref-default
5904 2002-01-30 Herbert Voss <voss@lyx.org>
5906 * insetgraphic.C: get the filetyp from it's contents
5907 * insetgraphicparams.C: add token scale and lyxrc.display when
5908 creating a new inset
5910 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5912 * figinset.C: added using std::ios directive.
5914 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5916 * figinset.C (runqueue): open translation file in binary mode (for
5919 2002-01-27 Herbert Voss <voss@lyx.org>
5921 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5922 all options and to be sure that the old figinsets are correct
5924 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5925 structure and to support all lengths as LyXLength. The Parameter
5926 structure changed again, but reading of "old" 1.2 graphic insets
5929 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5931 * insetert.h (forceDefaultParagraphs): Added
5933 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5935 * insettabular.C (getMaxWidth):
5936 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5938 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5940 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5941 of LyXLength::inPixels
5943 * inset.C (latexTextWidth):
5944 * insetminipage.C (latexTextWidth): new method, which implements
5945 the equivalent of the LaTeX macro \textwidth
5947 * insetminipage.C (getMaxWidth): use latexTextWidth
5949 2002-01-18 Juergen Vigna <jug@sad.it>
5951 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5953 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5955 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5957 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5960 2002-01-17 Juergen Vigna <jug@sad.it>
5962 * insettabular.C (lockInsetInInset): same change as in insettext.
5964 * insettext.C (draw): width() function was called without setting
5965 the right top_x which could lead to wrong insetWidth setting!
5966 (lockInsetInInset): call edit instead of calling lockInset if we
5967 have to lock an inset inside!
5968 (edit): we have to also tell the inset that we have to redraw the
5969 frame on an edit call if this inset draws a frame only if locked.
5971 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5973 * insetbib.C (getFiles): uncomment Path variable.
5975 2002-01-16 Juergen Vigna <jug@sad.it>
5977 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5980 2002-01-16 Allan Rae <rae@lyx.org>
5982 * insetinclude.C (docbook): someone forgot a ";"
5984 2002-01-16 José Matos <jamatos@fep.up.pt>
5986 * figinset.C (docbook): removed a old place holder "@".
5987 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5988 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5989 ascii text version, clearly guarded inside a CDATA section.
5990 (docbook): in docbook 4, inlinegraphics is empty.
5991 * insettabular.C (linuxdoc): export the ascii version of the table
5992 inside a CDATA section.
5994 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5996 * insetparent.C (InsetParent):
5997 * insetgraphicsParams.C (Write):
5999 * insetgraphics.C (prepareFile):
6002 * insetexternal.C (executeCommand):
6003 (doSubstitution): use Buffer::filePath
6005 * insetbib.C (getFiles): add a #warning for Angus
6007 * insetgraphics.C: Add a remark about how filenames should be
6008 considered to be relative to buffer (but absolute is still allowed)
6009 (draw): do not try to get status if lyxrc.use_gui is false
6011 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6014 * insetcollapsable.[Ch]:
6015 * insettabular.[Ch] (searchForward, searchBackward): change the
6016 bool const & params to bool.
6018 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6019 to avoid the name clash with InsetCollapsable's methods of the same
6020 names but different functionality.
6022 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6024 * insettext.C (ascii): use lyx::count rather than countChar.
6026 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6028 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6030 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6032 * insetgraphics.C (updateInset): do not try to render image if
6033 lyxrc.use_gui is false (bug #104)
6035 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6036 if file does not exist
6038 * figinset.C (browseFile): add shortcuts to directory buttons
6040 * insettext.C (updateLocal): update menubar and toolbar here too.
6042 2002-01-13 Allan Rae <rae@lyx.org>
6044 * insettabular.C (InsetTabular): Both constructors now initialise
6045 all class variables.
6047 2002-01-11 Juergen Vigna <jug@sad.it>
6049 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6051 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6053 * insettabular.C (getStatus): add forgotten brace around multiline
6056 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * insetfloat.C (validate): require "float" instead of "floats".
6060 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6062 * insettabular.C (getStatus): use FuncStatus
6064 2002-01-08 Juergen Vigna <jug@sad.it>
6066 * insettabular.C (insetButtonRelease): now this should work too
6069 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6070 if the width is a percentage.
6072 * inset.h: added isChar() function and implemented this for
6073 insetspecialchar insetquotes and insetlatexaccent.
6074 added forceDefaultParagraphs() and implemented it for insettabular.
6076 2002-01-07 Juergen Vigna <jug@sad.it>
6078 * insettext.C (getLyXText): Fixed this function. An insert into the
6079 map is only done if we REALLY have a new BufferView.
6081 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6083 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6085 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6087 * insetinclude.C: fix use of FileInfo
6089 2002-01-07 Juergen Vigna <jug@sad.it>
6091 * insettabular.C (draw): fixed clearing of cell around inset.
6093 2002-01-05 Juergen Vigna <jug@sad.it>
6095 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6096 variables are updated.
6098 * insettabular.C (resetPos): set always the inset_y as it may be
6099 needed in another function.
6100 (searchBackward): don't draw while searching.
6102 2002-01-04 Juergen Vigna <jug@sad.it>
6104 * insettext.C (lockInsetInInset): forgot to set a cursor.
6106 2002-01-02 Juergen Vigna <jug@sad.it>
6108 * insettext.C (insertInset): make the correct undo informations on
6109 inserting new insets.
6111 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6113 * insettabular.C: correct single-cell select vertically
6115 2001-12-27 Juergen Vigna <jug@sad.it>
6117 * insettabular.C (ascii): export as tab-separated-values if the
6118 function was not called from export (f.ex.: clipboard).
6120 * insetcollapsable.h: added default support for ascii, linuxdoc and
6121 docbook export (the insettext is exported by default!)
6123 * insettabular.C (copySelection): suff the clipboard with the tabular
6124 data in a tab separated format, seems more naturals then with all the
6127 2001-12-24 Juergen Vigna <jug@sad.it>
6129 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6130 to check for REAL mouseMotion.
6132 2001-12-20 Juergen Vigna <jug@sad.it>
6134 * inset.C (cursor): return the owners cursor if available instead of
6135 always only the bv->text->cursor.
6137 * insettabular.C (checkLongtableSpecial): works now.
6139 2001-12-19 Juergen Vigna <jug@sad.it>
6141 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6142 this has to be always row + 1 as 0 means not selected!
6143 (checkLongtableSpecial): added
6144 (tabularFeatures): better longtable options support
6146 * insettext.C (resizeLyXText): reinit the text always also on a
6149 2001-12-18 Juergen Vigna <jug@sad.it>
6151 * insettext.C (updateInsetInInset): look if we have to autocollapse
6152 paragraps and return if the update is requested for ourself.
6154 * insetert.C (status): update the insettext not myself as that is what
6157 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6158 function only return if the update was requested with myself.
6160 * insettext.C (insetButtonPress): fixed stupid bug.
6161 (various functions): pay attention that lt is cleared BEFORE calling
6162 updateLocal() and try to use it in the right manner (don't use it
6163 if it's not really neccessary!)
6164 (collapseParagraphs): insert a blank between collapsing paragraphs
6165 if neccessary (not already there!).
6167 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * insettabular.C: move includes around a bit, add a couple of
6172 * insettext.[Ch]: move includes around a bit, other ws changes and
6175 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * insettext.C (insetButtonRelease): fix compile problem
6179 2001-12-17 Juergen Vigna <jug@sad.it>
6181 * insettext.C (insetButtonPress): set the selection cursor!
6182 (insetButtonPress): clear the selection (and set with that the
6183 selection.cursor) if we only hit an inset!
6185 * insetert.C (read): removed piece of compatibility code only needed
6188 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6191 * insetcollapsable.C (insetButtonRelease): changed so that it can
6192 open eventual existing popup dialogs on mousebutton==3.
6194 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6196 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6198 * inset.C (insetButtonRelease): return a bool for telling the outer
6199 world that we opened a dialog.
6201 2001-12-07 Juergen Vigna <jug@sad.it>
6203 * insettext.C (paragraph): remove the deleteing of paragraphs as
6204 it was a WRONG move!
6206 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6209 * insettabular.C: use new setSelection(). Allow
6210 selection of single cells.
6212 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6214 * insetquotes.C (latex): fix to use the local language setting at
6215 the point where the inset is inserted (different macros for
6216 different french packages)
6218 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6220 * inset.h: add par_owner_ member variable and parOwner
6223 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6225 * insettabular.C (everywhere): adapt because widths are now real
6226 widths and not strings
6228 * insettext.C (draw): re-introduce the calls to width(), ascent()
6229 and descent() to initialize the caching variables.
6231 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6233 * insettext.C (draw):
6234 (drawFrame): use insetWidth instead of last_width
6236 * insettext.h: remove variable last_width (insetWidth is exactly
6237 the same) and last_height (computed but never used!)
6239 2001-12-10 Allan Rae <rae@lyx.org>
6241 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6243 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6245 * insettext.C (insetAllowed): add comment
6247 2001-12-05 Juergen Vigna <jug@sad.it>
6249 * insettext.C (insetAllowed): fixed for the case that we directly
6250 ask the insettext from its LyXText.
6251 (paragraph): fixed the crash when assigning the par->next() from
6252 the EmptyParagraphMechanism!
6254 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6258 * insettext.C: change "while(" to "while ("
6260 2001-12-04 Juergen Vigna <jug@sad.it>
6262 * insetert.C (edit): handle Inlined status.
6264 * insettext.C (insertInset): trying John's fix for the trailing cursor
6266 * insetert.C (insetButtonPress): added to handle inlined status
6267 (insetMotionNotify): ditto.
6269 * insettext.C (clearInset): changed Painter & in BufferView * param,
6270 to be able to call ascent,descent methods.
6272 2001-12-03 Juergen Vigna <jug@sad.it>
6274 * insettext.C (updateInsetInInset): use lt variable to forbid
6275 changes of LyXText in an update call.
6276 (updateInsetInInset): fixed updating of non locked insets!
6278 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6280 * insettabular.C: capture some more functions to prevent
6281 selection drawing problems. Bug #451274
6283 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6286 * insetgraphicsParams.C: fix inverted sense of float_equal
6288 2001-11-30 Juergen Vigna <jug@sad.it>
6290 * insettabular.C (InsetTabular): use the save_id flag to create also
6291 the tabular with the same id's.
6293 * insettext.C (setParagraphData): added a same_id function for undo
6294 to set the same paragraph id's as of the paragraph we are setting.
6296 2001-11-30 José Matos <jamatos@fep.up.pt>
6299 * insettoc.[Ch]: DocBook -> docbook.
6301 2001-11-29 André Pönitz <poenitz@gmx.net>
6304 * insettext.C: further reduction of header dependencies by using
6305 lyx::layout_type and lyx::textclass_type from support/types.h
6307 2001-11-29 Juergen Vigna <jug@sad.it>
6309 * insettext.C: inserted a reinitLyXText function everywhere I delete
6310 the paragraphs! This should fixe the crashes we had.
6311 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6312 (paragraph): set the InsetOwner() of the new paragraphs!
6314 2001-11-28 André Pönitz <poenitz@gmx.net>
6316 * insetnote.C: add pos initialization that I removed without
6319 2001-11-28 Juergen Vigna <jug@sad.it>
6321 * insettabular.C (resetPos): hack to not crash with infinite paints.
6323 * insettabular.h: insert missing function allowSpellcheck()!
6325 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6327 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6330 * insetfloatlist.C: derive from InsetCommand so gui can use it
6333 2001-11-26 André Pönitz <poenitz@gmx.net>
6337 * insetnote.C: reduce header dependencies, introduce type for
6340 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6342 * various: update for Alert.h
6344 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6346 * inset.h: fix comment
6348 * insettext.C: use par->isInset()
6350 2001-11-22 Allan Rae <rae@lyx.org>
6352 * insetcollapsable.h:
6353 * inset.h: Changes to checkInsertChar() behaviour.
6354 Now return value indicates whether chars can be inserted.
6356 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6358 * various: updated to use the new LaTeXFeatures
6360 2001-11-14 José Matos <jamatos@fep.up.pt>
6362 * insetspecialchar.C (linuxdoc):
6363 (docbook): don't give a name to a unused variable.
6365 * insettext.C (docbook): removed unused variable.
6367 2001-11-13 Herbert Voss <voss@perce.de>
6369 * insetgraphic.C: fix scale bug
6371 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6373 * inset.h (isSpace):
6374 (isLetter): new virtual methods.
6376 * insetspecialchar.C (isSpace):
6377 (isLetter): implement here.
6379 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6381 * inset.h: new inline helpers
6383 * insettext.C: use new helpers
6385 2001-11-07 José Matos <jamatos@fep.up.pt>
6387 * insettext.C (docbook): full support for paragraphs inside insettext.
6389 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6391 * insetindex.C: added header file for std::ostream.
6393 2001-11-03 José Matos <jamatos@fep.up.pt>
6395 * insetindex.C: added using std::ostream that I forgot yesterday.
6397 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6399 * insetindex.h (docbook):
6400 * insetindex.C (docbook): added support for docbook export.
6402 2001-11-02 José Matos <jamatos@fep.up.pt>
6404 * insetcaption.C(docbook): added support for docbook export.
6406 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6408 * insetexternal.C (updateExternal): Do not run update command if
6409 result file exists and is up to date.
6411 * ExternalTemplate.C (readFormat): Support the updateresult token.
6413 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6415 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6416 external_templates) to use the buffer->fileName() but only if
6417 previewing. Generating a TeX file should make FPath return
6420 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6423 * insetert.C: fix some problems
6425 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6427 * insetexternal.C (doSubstitution): Added $$FPath token
6428 to list of usable substitutions in external inset templates.
6430 2001-10-24 Juergen Vigna <jug@sad.it>
6432 * insettabular.C: use new ltType struct for setting longtable
6433 header and footers also new UNSET enums.
6435 2001-10-24 José Matos <jamatos@fep.up.pt>
6437 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6438 (docbook): If the table is not inside a float then wrap it inside
6439 <informaltable>...</informaltable>.
6441 2001-10-23 José Matos <jamatos@fep.up.pt>
6443 * insetref.C (docbook): removed / terminator to conform SGML.
6445 * insetspecialchar.C (linuxdoc):
6446 (docbook): Added support for special chars, more than ascii export.
6448 2001-10-22 Juergen Vigna <jug@sad.it>
6450 * insettext.C (checkInsertChar): added for REALLY checking the
6451 font of the inserted char in the right inset!
6453 2001-10-19 Juergen Vigna <jug@sad.it>
6455 * inset.h: added method allowSpellcheck() so that insets who do
6456 not have anything to spellcheck can tell and so they are over-jumped.
6457 Implemented for InsetText and co.
6459 2001-10-18 Juergen Vigna <jug@sad.it>
6461 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6463 2001-10-15 José Matos <jamatos@fep.up.pt>
6465 * insetert.C: allow export for docbook and linuxdoc
6467 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6469 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6471 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6473 * insetquotes.C (dispString): fix handling of latin9 quotes
6475 2001-10-03 Juergen Vigna <jug@sad.it>
6479 * insetcollapsable.C: change updateInset calls to not tell BV that
6480 we have changed status.
6482 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6484 * insettabular.C (deletable): make const
6486 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6488 * insetert.C (latex): Fix the returned value
6490 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6492 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6493 Returns string(), so nothing in an ERT inset is spellchecked.
6495 * insetgraphics.C (draw): print the filename if not displaying the
6497 (width): make sure that the width and draw methods are consistent.
6498 (updateInset): don't even load the image into cache if not displaying
6501 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6503 * various files (selectNextWord): renamed as
6504 selectNextWordToSpellcheck.
6506 * insetgraphics.C (draw): remove the previous change. Right place
6507 is in imageLoaderXPM.C.
6508 (draw): don't display the image if params.display == NONE.
6510 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6512 * figinset.C (runqueue):
6513 * insetgraphics.C (draw): set background colour of inset from
6514 background to the user-configurable graphicsbg.
6516 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6518 * insetquotes.C (InsetQuotes): when trying to decide the side of
6519 the quote, choose `left' only after a space or '('
6521 2001-09-04 José Matos <jamatos@fep.up.pt>
6526 * insetcollapsable.h
6544 * insetlatexaccent.C
6545 * insetlatexaccent.h
6550 * insetspecialchar.C
6551 * insetspecialchar.h
6555 * insettext.C (docbook): rename docBook method to docbook.
6557 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6559 * inset.h (getFirstParagraph): New virtual method.
6561 2001-08-20 Herbert Voss <voss@perce.de>
6562 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6563 in the the bibtex-database-gui for inserting a line
6566 If no style is given than there is no tex-output.
6568 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6570 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6574 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6576 * insetert.C (latex): Fix output for multiple paragraphs.
6577 (write): New code for writing paragraph data.
6578 (read): Set font after reading the inset.
6579 (localDispatch): Call set_latex_font() for more cases.
6581 * insetnote.h: Add empty validate method.
6584 * insetnote.C (InsetNote): Set language to the language of the
6587 2001-08-16 Juergen Vigna <jug@sad.it>
6589 * insettext.C: implemented the new FINISHED states.
6591 * insettabular.C: ditto
6593 * inset.h: added more FINISHED states for cursor right,up,down
6595 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6597 * insetfloatlist.C: use "FloatName List"
6599 2001-08-14 Juergen Vigna <jug@sad.it>
6601 * insetert.C (edit): forgot to set status_ in edit calls!
6603 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6605 * insettext.C: Compilation fix
6607 2001-08-13 Juergen Vigna <jug@sad.it>
6609 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6611 * insetcollapsable.C (edit): don't recollapse an already open inset.
6613 * insettext.C: fixed problem when reinitializing LyXText by not doing
6614 it while lt is in use and post this to the next possible time in
6616 (searchForward): fixed not unlocking of inset if nothing found.
6617 (edit): set cursor behind right (was set -1 pos).
6619 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6621 * insettabular.C (tabularFeatures): fixed fix where deleting the
6622 last row didn't get the right actcell!
6624 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6626 * insettext.C (localDispatch): Change language only when the inset
6629 2001-08-10 Juergen Vigna <jug@sad.it>
6631 * insettabular.C (selectNextWordInt): use the front using edit call.
6633 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6634 the parameter overwrite class variable inset.
6636 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6638 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6639 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6641 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6642 update only for fixed with cells.
6643 (resetPos): try to fix the lockup on spellchecking or s&r.
6645 * insettext.C (update): comment this out as it seems first wrong
6646 and second not needed anymore!
6647 (some functions): call reinitLyXText() only in update() in all other
6648 positions set only need_update = INIT.
6650 2001-08-08 Juergen Vigna <jug@sad.it>
6652 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6654 * insettext.C (insetUnlock): remove double-space on inset unlock.
6656 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6658 * insettabular.C (update): fixed cursor positon after an insert.
6659 (insetAllowed): do not allow to insert insets when not inside the
6661 (draw): clear below an inset too as it could have changed height.
6663 * inset.C (getMaxWidth): fixed width for inset in inset.
6665 * insettext.C (update): small fix.
6667 * insettabular.C (tabularFeatures): added selection support to
6668 DELETE_ROW/DELETE_COLUMN.
6670 2001-08-07 Juergen Vigna <jug@sad.it>
6672 * inset.C (getMaxWidth): recoded and all it's implementations!
6674 * insettext.C (init,setParagraph+constructors): cleanups
6675 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6676 are new and I want do a save/restore of the cursor position which is
6677 not possible anymore.
6679 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6680 (searchBackward): ditto
6681 (selectNextWord): ditto
6683 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6685 * insetlatexaccent.C (checkContents): Add some debug messages
6687 2001-08-07 Juergen Vigna <jug@sad.it>
6689 * insetert.C (read): don't use InsetCollapsable::read as we don't
6690 write the collapsed status anymore only the status.
6693 2001-08-06 Juergen Vigna <jug@sad.it>
6695 * insetert.C (set_latex_font): use LyXText's setFont directly.
6697 * insettext.C (drawFrame): fixed one time more the right position
6698 and size of the frame!
6700 * insetert.C (~InsetERT): hide the dialog.
6701 (showInsetDialog): added implementation
6704 (status): new function for the status of the ERT inset (3-state).
6705 (write): output also the status of the inset for readback!
6706 (read): readback the status if available otherwise use collapsed_.
6708 * insettext.C (edit): small fix of setting the position, which could
6711 * insetert.C (width): implement this function for inlined viewing.
6712 Added minimum width of 10 pixels!
6714 * insetminipage.C (InsetMinipage): just change the colors a bit so
6715 that border/background is a bit more visible. We will remove this
6718 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6719 function for getting the important widths for drawing in various
6720 functions and in LyXText.
6721 (draw): fixed up a bit (frame drawing/clearing)
6723 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6725 * inset.C (convertFont): delete method. not used.
6727 2001-08-03 Juergen Vigna <jug@sad.it>
6729 * insettext.C (setFont): don't call for a draw update if we're just
6730 changing the cursor font!
6732 2001-08-02 Juergen Vigna <jug@sad.it>
6734 * insettext.C (draw): clear the background with the right color if
6735 needed. Update myself if x&max-width changed and return without doing
6736 anything. Let the update code handle the right stuff.
6738 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6739 inside another inset.
6741 2001-08-01 Juergen Vigna <jug@sad.it>
6743 * insetcollapsable.C (update): added an in_update bool so we avoid
6746 * insettabular.C (update): added an in_update bool so we avoid
6749 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6751 (update): added an in_update bool so we avoid reentering.
6753 * insettabular.C (localDispatch): clear col/row selection when doing
6754 something else inside an inset.
6756 * insettext.C (getLyXText): fixed bug when requesting a recursive
6759 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6761 * insetcite.C (latex): Paranoia check. Make sure that there is no
6762 whitespace between the citation keys.
6764 2001-07-31 Juergen Vigna <jug@sad.it>
6766 * inset.h (nodraw): make the set function also const so that this
6767 can be called from inside other const functions.
6769 * insetcollapsable.h: removed inline variable and moved it over
6770 to the only user InsetERT.
6772 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6773 inset opening immediately therein lying insets dialogs!
6775 * insetert.C (localDispatch): set the font also if we don't have any
6776 chars in this paragraph, otherwise if we delete all of em and start
6777 writing we have the wrong font.
6779 (draw): implemented for inline support
6780 (insetButtonRelease): ditto.
6782 2001-07-30 Juergen Vigna <jug@sad.it>
6784 * insettext.C (reinitLyXText): new function to reinit the insets
6785 text after lot's of paragraph changes. Use this instead of the
6786 cache.clear() which is VERY dangerous.
6788 * insetfloat.C (insetButtonRelease): we should only show the dialog
6789 if we press on the label otherwise we have problems to open mouse
6790 button 3 dialogs inside this float (f.ex. of a tabular!)
6792 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6794 * insetert.C: change back to "ERT"
6796 * insetfloat.C: handliign of RMB on label added.
6798 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6800 * insetgraphicsParams.C: #include LOstream.h here.
6802 * insetfoot.h: remove InsetFoot:: qualifier.
6804 2001-07-29 Baruch Even <baruch@lyx.org>
6806 * ChangeLog: Hiding time travel evidence.
6808 * insetgraphicsParams.h:
6809 * insetgraphicsParams.C:
6810 * insetgraphics.C: Added horizontal scale option, it actually
6811 scales both directions since it keeps image proportions.
6813 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6815 2001-07-29 Baruch Even <baruch@lyx.org>
6817 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6818 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6820 HACKY! Will need to add an EPS detection routine like old InsetFig
6823 2001-07-29 Baruch Even <baruch@lyx.org>
6825 * insetgraphics.C: Added EPSI to be an alias of EPS.
6827 2001-07-29 Baruch Even <baruch@lyx.org>
6829 * insetgraphics.C: Change GRAPHICS to Graphics.
6830 Changed image conversion rules (documented at the beginning of file).
6832 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6834 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6837 * insetgraphics.C: added a using std::endl directive.
6839 * insetcommand.h (getScreenLabel): removed pure virtual function,
6840 as it duplicates that in InsetButton.
6842 * insetbib.[Ch] (getScreenLabel):
6843 * insetbutton.[Ch] (getScreenLabel):
6844 * insetcite.[Ch] (getScreenLabel):
6845 * insetert.[Ch] (getScreenLabel):
6846 * insetexternal.[Ch] (getScreenLabel):
6847 * insetfloatlist.[Ch] (getScreenLabel):
6848 * insetinclude.[Ch] (getScreenLabel):
6849 * insetindex.[Ch] (getScreenLabel):
6850 * insetlabel.h (getScreenLabel):
6851 * insetparent.[Ch] (getScreenLabel):
6852 * insetref.[Ch] (getScreenLabel):
6853 * insettoc.[Ch] (getScreenLabel):
6854 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6856 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6858 (validate): remove check on "cite" when using natbib.
6860 2001-07-26 Baruch Even <baruch@lyx.org>
6862 * insetgraphics.C (draw): changed casting to be in one place
6863 rather than all over the function.
6866 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6868 * insetgraphicsParams.h:
6869 * insetgraphicsParams.C:
6870 * insetgraphics.C: Removed inline option and changed rotateAngle
6873 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6875 * insetfoot.C (validate): Added method to ensure that the
6876 right bit of LaTeX is emitted.
6878 * insetfoot.h: Added validate method to set the correct
6879 LaTeXFeatures bit for the special footnote code.
6881 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6883 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6886 2001-07-27 Juergen Vigna <jug@sad.it>
6888 * inset.h: remove unused font variable in parameter.
6889 removed checkInsertChar in UpdatableInset as it was equal to
6890 the one in Inset and so not needed.
6892 * insetert.C (checkInsertChar): implementation of function
6895 * inset.h: added new function checkInsertChar.
6897 * various files: added c-tor and clone() function.
6899 * insetcollapsable.h: removed clone function here as this should
6900 be only realized in REAL insets and added it to all collapsable
6901 insets! (with the copy-constructor).
6903 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6905 * insetminipage.C (read): handle missing parameters more gracefully
6907 * insetcollapsable.C (read): handel missing collapsed more gracefully
6909 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6911 * insetfloat.C (read): handle missing parameters.
6913 * insettext.C (read): handle old latex end_inset
6915 * insetert.C (setButtonLabel): new method
6916 (init): use it, to set the dynamic label correctly
6919 * Makefile.am (EXTRA_DIST): add files that is not part or the
6922 * insetcollapsable.h: remove autocollapsable (no users), remove
6923 draw_label, change_label_with_text and companion code. Remove args
6925 * insetert.[Ch]: move here instead (only user)
6927 * inset.h: rename private variable name to name_, make
6928 selectNextWord return a const string. make getInsetName return a
6929 string const &. Remove bool from open, add close.
6931 * Makefile.am: don't compile insetlist, insetsection
6934 2001-07-24 Juergen Vigna <jug@sad.it>
6936 * insetert.C (InsetERT): put init after the paragraph initialization,
6937 as otherwise we don't set the draw_label right.
6939 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6940 insets with the mouse without having strange selections.
6941 (edit): if the inset was collapsed and we open it here then put the
6942 cursor always at the beginning of the inset.
6943 (get_new_label): 15 instead of 10 max chars in the label.
6945 * insetert.C (localDispatch): added and handle various stuff we
6946 need to handle here (font setting on paragraph break, not permitted
6947 layout setting, etc.).
6949 * inset.h: added default copy-consturctor and implemented this in
6950 various insets with the change to use this in the clone function!
6952 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6954 * insetminipage.C (InsetMinipage): set background color to red :)
6956 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6958 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6959 draw frame mode is LOCKED.
6961 * insetcollapsable.C (edit):
6962 (insetButtonRelease): set update status to full when
6965 * insettext.C (clearInset):
6966 * insettabular.C (draw):
6967 * insetlatexaccent.C (draw): honor background color.
6969 * inset.h: new member background_color_, initialized to
6972 * inset.C (backgroundColor): new method.
6973 (setBackgroundColor): new method.
6975 * insetert.C (init): new method, called by the ctors.
6976 (InsetERT): when inserting contents, make sure the font is
6979 * insetnote.C (InsetNote): when inserting content, remove trailing
6981 (init): set background color to LColor::note
6983 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * insetcollapsable.C: adjust
6987 * insetbutton.C: adjust
6989 2001-07-23 Juergen Vigna <jug@sad.it>
6991 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6992 parameter on the _collapsed function (was not needed) and call
6993 always width_collapsed().
6995 * insetert.C (InsetERT): use setLabel with "true" flag.
6997 * insetcollapsable.C: modified various functions to set the draw_label
6998 string right in any condition.
6999 (setLabel): added a bool parameter to set change_label_with_text.
7001 * insetcollapsable.h: added draw_label string which is set to the
7002 actual drawn label-string, while label is the original static label
7003 of this collapsable inset. Added bool change_label_with_text to set
7004 if we want that the label changes to the start of the InsetText's
7005 text when collabpsed. You can set this flag with the setLabel funciton.
7006 Added bool inlined for inlined collapsable insets, but not handled
7009 * insetcollapsable.C (get_new_label): added should get a new label
7010 from the InsetText beginning (for now 10 chars).
7012 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7014 * insetquotes.C (latex): fix the handling of french double quotes
7015 when not using the french pachage.
7017 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7019 * insetcollapsable.h: make WidthCollapsed mutable.
7021 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7022 InsetPrintIndex returns INDEX_PRINT_CODE.
7024 * inset.h: add INDEX_PRINT_CODE
7026 * insetcollapsable.C (draw): init widthCollapsed if necessary
7029 * insetquotes.C (width): use the local language, not the document
7032 (dispString): add additional spacing for all french languages,
7034 (validate): make it work when there is no default language
7036 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7038 * insetnote.C (init): new method, called by the constructors
7039 (InsetNote): new constructor with contents passed as a string
7041 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7043 * insetfootlike.C (insetAllowed): disallow float in footlike.
7045 * insetert.C (InsetERT): add collapsed argument to the constrctor
7048 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7050 * insetindex.h: shut off warning
7052 2001-07-20 Juergen Vigna <jug@sad.it>
7054 * insetcollapsable.C (update): recoded hopefully works now!
7056 2001-07-19 Juergen Vigna <jug@sad.it>
7058 * most files: implemented the below new introduced function.
7060 * inset.h: added new edit(BufferView *, bool front) method to be able
7061 to enter an inset from the front/back without knowing x/y positions
7062 and baselines inside the inset. So I just can tell the inset activate
7063 me and set the cursor on the front/back of yourself.
7065 2001-07-18 Juergen Vigna <jug@sad.it>
7067 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7068 is given to the InsetText.
7069 (insetButtonPress): ditto
7070 (insetButtonRelease): ditto
7071 (insetMotionNotify): ditto
7073 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7075 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7076 LIGATURE_BREAK, since the name is so stupid.
7078 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7080 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7081 the default InsetCollapsable methods. I.e., it can insert anything.
7082 (write) output the name of the inset, not some silly hack for
7083 compatability with the old InsetInfo.
7085 * insetinfo.[Ch]: removed.
7086 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7087 now collapsable, but functionality is otherwise identical to InsetInfo.
7089 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7091 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7093 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7096 * insetquotes.C: general cleanup
7097 (dispString): add spaces inside french double quotes.
7098 (latex): ditto. Moreover, treat first the case where the frenchb
7099 or french options have been given.
7101 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7103 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7106 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7108 * figinset.C (RegisterFigure): Print debug message only when
7109 current_view is available.
7111 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * many files: update to match the change below
7115 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7116 implement the version which takes an inset here.
7118 * insetcollapsable.[Ch]: implement open and isOpen
7120 * inset.h: remove insertInsetAllowed from Inset
7121 (open): new method, to open or close an inset
7122 (isOpen): returns the status of an inset
7123 (isCollapsable, colapse): removed
7125 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7127 * insetquotes.C (dispString): display french guillemets when using
7130 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7132 * insetcollapsable.h: remove bogus return statements
7134 2001-07-18 Juergen Vigna <jug@sad.it>
7136 * insettabular.C (selectNextWord): fixed spellchecking for the
7137 first cell of a tabular (wasn't entered!)
7138 (getLyXText): changed to enter automatically insettext and return
7139 it's LyXText if we're locked.
7141 2001-07-17 Juergen Vigna <jug@sad.it>
7143 * various files: implemented the below functions.
7145 * inset.h: added functions
7146 - virtual string selectNextWord(BufferView *, float & value) const;
7147 - virtual void selectSelectedWord(BufferView *) { return; }
7148 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7149 needed for spellchecking correctly!
7151 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7153 * insetert.C (latex): write out all paragraphs.
7155 2001-07-17 Baruch Even <baruch@lyx.org>
7157 * insetgraphics.C (draw): Removed unneeded casts.
7159 2001-07-16 Juergen Vigna <jug@sad.it>
7161 * insettext.C (update): fixed small oversight (reset lt to 0).
7163 2001-07-14 Baruch Even <baruch@lyx.org>
7166 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7168 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7170 Consistent use of Lsstream.h:
7171 * figinset.C: removed using std::ostringstream directive.
7173 * insetgraphics.C (createLatexOptions):
7174 * insetinclude.C (unique_id):
7175 std::ostringstream -> ostringstream.
7176 * insettext.C (localDispatch): std::istringstream -> istringstream.
7178 2001-07-13 Juergen Vigna <jug@sad.it>
7180 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7182 * insetcollapsable.C (getLockingInset): ditto.
7184 2001-07-12 Juergen Vigna <jug@sad.it>
7186 * insetcollapsable.h: added implementation of new function for
7189 * various files: added implementation of new insertInsetAllowed-func
7190 and redone the function a bit more.
7192 * inset.h: added isCollapsable(), bool collapsed(),
7193 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7195 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7197 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7198 LyXText which is marked for removal while we're using it!
7200 * insettext.h: added private LyXText * lt to use it to assure we are
7201 not deleting our LyXText while we're using it!
7203 2001-07-11 Juergen Vigna <jug@sad.it>
7205 * insettext.C (insertInset): check if we are before the inset after
7206 inserting it! This check IS needed. Remove the Undo-Call as it is
7207 called in LyXText::insertInset!
7209 * insettext.h: added struct InnerCache.
7211 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7212 that we ONLY delete the LyXText in the getLyXText() routine. So we
7213 are sure we don't delete LyXText while someone is working with it!
7215 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7217 * insetexternal.C: (*it). -> it->
7218 * insettext.C: ditto
7220 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7222 * insetcollapsable.C (edit): always open collapsed insets (even if
7223 they are not autocollapsable)
7225 * insetcommand.C (operator=): simplify.
7227 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * insetert.C (latex): handle META_NEWLINE
7231 2001-07-09 Juergen Vigna <jug@sad.it>
7233 * insetert.h: a normal InsetText can insert insets, but we won't.
7235 * inset.h: return default "false" on insertInsetAllowed and implement
7236 this function where a returnvalue != "false" is needed.
7238 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7240 * insetert.C (InsetERT): new contructor
7242 2001-07-06 Juergen Vigna <jug@sad.it>
7244 * a lot of files: added implementation of the below new functions
7245 and the change to clone(). Also the call of the new undo-functions
7248 * inset.h: added an inset_id, added functions getParFromID,
7249 getInsetFromID, firstParagraph, cursor and id functions, added
7250 bool same_ids to clone function.
7252 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7254 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7255 of BufferView * and shared_ptr<LyXText>
7257 2001-07-05 Juergen Vigna <jug@sad.it>
7259 * insettext.C (clear): deleted also the cache not only LyXText.
7260 (setParagraphData): ditto.
7262 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * insetfloat.C (latex): let the specific placement take presedence
7265 if set, otherwise choose document placement if set, otherwise just
7266 use float default placement.
7268 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7270 * insettext.C (localDispatch): call CutAndPaste::'s static method
7273 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7275 * insetbib.C: no meed to include forms.h here.
7277 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7279 * insettext.C: added using std::make_pair directive.
7281 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7283 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7285 (deleteLyXText): ditto
7286 (resizeLyXText): ditto
7288 2001-07-02 Juergen Vigna <jug@sad.it>
7290 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7291 following calls are only returned the right pointer without the over
7292 head to search in the map.
7293 (various funcs): reset the cached_bview variable as this signs that
7294 the cache is not valid anymore.
7296 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7298 * insettabular.C (clone): do not copy the LyXTabular twice
7300 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7302 * insettext.h (TEXT): delete method
7304 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7306 * insetmarginal.C (latex):
7307 * insetfoot.C (latex): fix spacing of notes in LaTeX
7309 * insettext.C (localDispatch): use .c_str() on istringstream
7310 constructor argument.
7312 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7317 * inseturl.C: fix method names in these to begin
7318 with small char too, so they inherit
7320 2001-06-28 Juergen Vigna <jug@sad.it>
7322 * insettext.C (setFont): fixed font settings using toggleFree()
7323 instead of setFont().
7325 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * Change a lot of method names to begin with a small char.
7328 Changes to a lot of files because of this.
7330 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * insetfloatlist.C (Write): std:: qualify ostream
7335 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7339 * insetgraphics.C: send debug output to Debug::INFO instead of
7342 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7345 * insettabular.C (getStatus): update to use func_status
7347 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7349 * insetref.C (DocBook): added support for cross-references without
7352 2001-06-26 The LyX Project <jug@sad.it>
7357 * insetlabel.h: removed escape method and moved it to
7360 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7362 * insettabular.C (getMaxWidth): do the speedup in a different way,
7365 2001-06-24 The LyX Project <Asger>
7367 * insettabular.C (getMaxWidth): We cache a mapping from
7368 inset to cell in order to speed this method up.
7370 2001-06-24 The LyX Project <Asger>
7372 * insettext.C: Optimized InsetText::draw or something.
7374 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7376 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7378 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7380 * inset.h: name change from lyxinset.h
7382 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7384 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7386 2001-06-14 Juergen Vigna <jug@sad.it>
7388 * insettext.C (draw): removed warnings.
7390 2001-06-13 Juergen Vigna <jug@sad.it>
7392 * insettabular.C (nodraw): only go down the tree if we don't have
7393 that flag set otherwise it's obvious that we don't want to draw.
7394 (LocalDispatch): do also an update if we have an undispached result.
7396 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7399 * insetgraphicsParams.C:
7400 * insettext.C: removed // -*- C++ -*- as first line.
7402 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7404 * lyxinset.h (resizeLyXText): shut off warning about unused
7407 2001-06-07 Juergen Vigna <jug@sad.it>
7409 * insettext.C (resizeLyXText): honor the new force flag.
7411 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7413 * insettabular.C (deleteLyXText): new function
7415 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7423 * insetcollapsable.C:
7424 * insetcaption.C: LColor tidy
7426 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7428 * figinset.C: fix typo
7430 2001-06-01 Juergen Vigna <jug@sad.it>
7432 * insettabular.C (resetPos): small hack so that scroll is not set to
7433 0 when we are in the last column of a tabular. This is a problem we
7434 have because of constats 20 offset on both directions, so this can
7435 cause on the limit an endless loop.
7437 * insettext.C (SetFont): forgot that we can have locking insets ;)
7439 2001-05-31 Juergen Vigna <jug@sad.it>
7441 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7443 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7445 * figinset.C: add using std:: directive for the C functions which
7448 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7450 * insetfloat.C (Write): write out wide info
7451 (Read): read the wide info
7452 (Latex): use the wide info when creating latex.
7454 * insettext.C: adjust
7456 * insetgraphics.[Ch] (statusMessage): change to return string
7460 * figinset.C (runqueue): add std::
7463 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * insetcite.C (Ascii): add std:: qualifier
7467 2001-05-28 Juergen Vigna <jug@sad.it>
7469 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7470 a endless-width inset (maxWidth < 0).
7471 (Edit): change language only if not equal.
7473 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7475 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7477 2001-05-16 Juergen Vigna <jug@sad.it>
7479 * insettext.C (selectAll): added
7480 (clearSelection): added
7482 * insettabular.C (SetFont): now we may set a font on a whole selection!
7483 (getSelection): added helper function.
7485 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7487 * insetcite.C (Ascii): Add method.
7489 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7492 * insetbib.C: fix path for OS/2 & Win32
7494 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7496 * insetfoot.C (Latex): don't use % after footnote.
7498 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7500 * insettext.C (Read): use clear
7501 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7503 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7505 * insetfloatlist.h: add a bunch of std:: qualifiers.
7507 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7509 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7510 FLOAT_LIST_CODE, renumber code list.
7512 * insettoc.C (getScreenLabel): remove support for float lists
7516 * insetfloatlist.[Ch]: new files
7518 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7520 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7522 * insettabular.C (LocalDispatch):
7523 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7526 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7528 * insettext.C: remvoe !NEW_INSETS cruft
7530 * insettabular.C: remove !NEW_INSETS cruft
7532 * insetcollapsable.h: remove !NEW_INSETS cruft
7534 * insetbib.C: remove !NEW_INSETS cruft
7536 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * insettoc.C: hack to make listof algorithm work
7540 2001-04-20 Juergen Vigna <jug@sad.it>
7542 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7544 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7546 * insetquotes.C (Latex): improve the guard against
7547 unwanted !` and ?` ligatures. This should really be done in
7548 another place (to catch all this ligatures at low-level).
7550 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7552 * insettext.C (init): remvoe leftovers from cursor_visible change
7553 (draw): use c++ cast
7554 (LocalDispatch): dispatch LFUN_MESSAGE
7556 * insettabular.C (InsetTabular): remove leftovers from
7557 cursor_visible, and scoped_ptr changes
7558 (draw): use c++ cast
7560 * insetcollapsable.C (draw): use c++ cast
7562 * ExternalTemplate.h: inherit privaely from noncopyable
7563 * insetcommand.h: ditto
7564 * insetinclude.h: ditto
7566 2001-04-16 Allan Rae <rae@lyx.org>
7568 * insettoc.C (Ascii):
7569 * insettext.C (draw):
7570 * insettabular.C (setPos):
7571 * insetminipage.C (Read):
7572 * insetfloat.C (placement):
7573 * insetcaption.C (Ascii, DocBook):
7574 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7575 an unrecognised preprocessor directive. So ensure they're wrapped.
7577 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7580 * insetexternal.C: set view on Clone. Add _ to private members.
7582 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7584 * insettext.C (InsetText): fix new
7585 (InsetText): reindent some, simplify deletion of par list
7586 (clear): simplify deletion of par list, fix new
7587 (SetParagraphData): simplify deletion of par list
7589 * insettabular.[Ch] (getLabelList): implement new method
7591 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7593 * lyxinset.h: do not include gettext.h...
7601 * insetlatexaccent.C:
7605 * inseturl.C: ... and do it here instead
7607 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7611 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7613 * insetcollapsable.[Ch] (getLabelList): implement
7615 * insettext.[Ch] (getLabelList): implement
7617 * insettext.h: reindent
7619 * insettabular.h: make tabular a scoped_ptr
7621 * insettext.C (init): adjust for cursor_visible
7622 (ToggleInsetCursor): constify asc and desc, font, adjust for
7624 (ShowInsetCursor): constify asc and desc, font, adjust for
7626 (HideInsetCursor): adjust for cursor_visible
7628 * insettabular.C: reindent some
7629 (InsetTabular): adjust for scoped_ptr and cursor_visible
7630 (InsetTabular): ditto
7631 (~InsetTabular): delete delete
7632 (Clone): adjust for scoped_ptr
7633 (Read): constify old_format, adjust for scoped_ptr, move init of
7635 (draw): constify tx, localize loop vars.
7636 some other localization of variables, remove double initilizatons.
7638 * insetfoot.C: remove using std::ostream, add ostream where needed
7640 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7642 * lyxinset.h: some reindentaion, use initializer list for
7644 UpdatableInset: make cursor_visible a private var add
7645 public isCursorVisible(), add protected toggleCursorVisible() and
7646 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7648 * insettoc.C: remvoe using decl
7649 (getScreenLabel): make cmdname donst
7652 (Ascii): don't use endl
7654 * insetfootlike.C: remove using decl at file scope and add std::
7656 * insetmarginal.C: ditto
7658 * insetfoot.C: some reformatting
7660 * insetfloat.C (InsetButtonRelease): adjust the hit area
7662 * insetert.C (SetFont): some reformatting
7664 * insetcollapsable.C: some reformatting and constification
7665 (Clone): comment out.
7666 * insetcollapsable.h: some reformatting
7667 (Clone): comment out.
7672 2001-03-30 Juergen Vigna <jug@sad.it>
7674 * insetcollapsable.h: changen *inset to be a InsetText inset.
7676 * some files: changed to reflect the above change.
7678 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7680 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7681 InsetExternal::Params.
7682 Added operator==() and operator!=() for the Params struct.
7684 2001-03-29 Juergen Vigna <jug@sad.it>
7686 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7689 * insetminipage.C: removed widthp_ and all it's functions and changed
7690 to use new %-lengths of LyXLength.
7692 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7694 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7696 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7698 * insetgraphicsParams.C (operator!=): new function, needed by the
7699 ControlGraphics class.
7701 2001-03-28 Juergen Vigna <jug@sad.it>
7703 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7704 (checkAndActivateInset): don't use the values returned from
7705 call to bv->checkInsetHit.
7707 * insetminipage.C (Clone): set special minipage values.
7709 * insetcollapsable.C (draw): changed to draw the button in the
7710 upper left corner outside the textinset.
7711 (ascent): changed because of different drawing
7715 (InsetButtonPress): ditto
7716 (InsetButtonRelease): ditto
7717 (InsetMotionNotify): ditto
7719 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7721 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7725 2001-03-26 Juergen Vigna <jug@sad.it>
7727 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7729 * insettext.C (ShowInsetDialog): implemented above function.
7731 * insettabular.C (ShowInsetDialog): ditto
7733 * insetminipage.C (ShowInsetDialog): ditto
7735 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7737 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7738 InsetInclude::Params. Don't store a buffer * in Params. Store the
7739 master file name instead.
7741 2001-03-23 Juergen Vigna <jug@sad.it>
7743 * insetcollapsable.C (InsetMotionNotify):
7744 (InsetButtonRelease):
7745 (InsetButtonPress): fixed y-offset (minipages).
7747 * insettext.C (draw): force a FULL update if cleared == true.
7749 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7750 routine to draw the minipages on its position-flag.
7751 (InsetInInsetY): give back the right y position, because of minipage
7754 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7757 * insetfloat.C (DocBook): docbook export code.
7759 2001-03-22 Juergen Vigna <jug@sad.it>
7761 * insetminipage.C (getMaxWidth): added function to set the drawing
7763 (Read): should work now!
7765 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7766 if we create a new inset.
7768 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7770 * figinset.C (fl_set_preemptive_callback): moved definition outside
7773 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7775 * insetminipage.C (Read): prepare for reading of minipage arguments.
7777 2001-03-18 Baruch Even <baruch@lyx.org>
7779 * insetgraphics.C: Minor cleanups of the comments and code.
7781 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7783 * insetminipage.C (InsetMinipage): default to not collapsed
7785 2001-03-16 Juergen Vigna <jug@sad.it>
7787 * insetminipage.C (width): modified with to be a string
7788 (widthp): added widthp (for % width) support functions.
7789 (InsetButtonRelease): added to open the options dialog on button==3.
7790 (~InsetMinipage): added to hide the dialog.
7792 * insetminipage.h: added hideDialog signal
7794 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7796 * insetminipage.h: change the order or Position to match
7797 LyXParagraph::MINIPAGE_ALIGNMENT
7799 * several files: remvoe CXX_WORKING_NAMESPACES
7801 * ExternalTemplate.h: noncopyable is in namespace boost
7802 * insetinclude.h: ditto
7803 * insetcommand.h: ditto
7805 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7807 * insettext.C (Edit): #else# -> #else.
7808 * insettoc.C: added using directive.
7810 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7812 * insetminipage.h: add pos, inner_pos, width and height. + getters
7813 and setters for all of them.
7815 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7817 * insetinclude.C (Latex): Do not exit when the textclass of the
7818 included file differ from the textclass of the parent file.
7820 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7822 * ExternalTemplate.C (read): the reading of external insets now checks
7823 for \end_inset and removes it form the input stream.
7825 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7827 * ExternalTemplate.h:
7828 * ExternalTemplate.C:
7830 * insetexternal.C: move form to GUII
7832 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7835 * insetinclude.C: add InsetIncludeParams, use
7836 composition rather than derivation of InsetCommand
7838 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7840 * insettoc.C (Ascii): use the Buffer typedefs
7842 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7844 * insettoc.C (Ascii): implement for dynamic number of lists
7846 * insetcaption.[Ch]: update from new_insets branch
7847 * insetfloat.[Ch]: ditto
7849 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7852 * figinset.C: use new File Dialog
7854 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7856 * insettext.C: changes becuase of ParagraphParameters.
7858 2001-02-28 Baruch Even <baruch@ev-en.org>
7860 * insetgraphics.C (updateInset): Changed due to the change in
7863 2001-02-26 Juergen Vigna <jug@sad.it>
7865 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7866 handled in LyXText).
7868 2001-02-23 Juergen Vigna <jug@sad.it>
7870 * insettext.C (draw): some small repainting fixes.
7871 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7873 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7874 should be) and not an int.
7876 * insettabular.C (LocalDispatch): ditto
7878 * insettext.C (LocalDispatch): ditto
7880 * insetcollapsable.C (LocalDispatch): ditto
7882 2001-02-22 Juergen Vigna <jug@sad.it>
7884 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7885 DISPATCH it and we don't have a locking_inset.
7887 2001-02-21 Baruch Even <baruch@ev-en.org>
7889 * insetgraphics.[Ch]: Changed to use
7890 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7892 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7894 * insetcollapsable.C (getLyXText): add const qualifier to second
7897 2001-02-22 Juergen Vigna <jug@sad.it>
7899 * insettext.C (getLyXText): honor the recursive parameter.
7900 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7902 * inset.C (getLyXText): added bool recursive parameter.
7904 * insettext.C (SetUpdateStatus): or the update codes.
7905 (draw): check need_update with &.
7906 (InsetButtonPress): set no_selection to not put a selection when
7907 entering an inset and it is redraws in another spot.
7909 * insettext.h: made need_update an int.
7911 2001-02-20 Baruch Even <baruch@ev-en.org>
7914 * insetgraphisc.C: Changed to use better semantics when loading images
7915 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7917 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7921 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7922 consistent with InsetTabular.
7924 2001-02-19 Juergen Vigna <jug@sad.it>
7926 * insettabular.C (LocalDispatch): implement PAGE up/down.
7928 * insettext.C (draw): clear all of it on need_update==INIT too!
7930 * insettabular.C (InsetUnlock): always clear the selection.
7932 * inset.C (scroll): normally we only want to scroll the inset until
7933 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7935 2001-02-14 Juergen Vigna <jug@sad.it>
7937 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7938 (resetPos): fixed scroll behaviour.
7939 (LocalDispatch): do an update if moving cursor inside a table cell
7940 requests a scroll of the tabular.
7942 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7944 * insettext.C (textWidth): constify local var
7946 * insettabular.C: small cleanup.
7948 * insetfoot.C (Latex): constify local var
7950 * insetcollapsable.C: small cleanup.
7952 * figinset.C (runqueue): use compare instead of strcmp
7954 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7957 * insetinfo.C: remove cruft
7959 2001-02-14 Juergen Vigna <jug@sad.it>
7961 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7963 2001-02-13 Juergen Vigna <jug@sad.it>
7965 * insettext.C (InsertInset): don't move left (is this right?)
7967 * insettabular.C (LocalDispatch): use of the no_draw variable
7969 * insettabular.h: new no_draw variable to stop redraw
7971 * insettabular.C (TabularFeatures): fixed update for alignment change
7973 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7977 * insetbib.C: move dialogs to frontends/
7979 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7981 * insettext.C (LocalDispatch): Restore the language if the inset
7984 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7986 * insettext.C (moveRightIntern): Update the selection cursor.
7987 (moveLeftIntern): Ditto.
7989 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7991 * Makefile.am: remove BoundingBox.h
7993 * BoundingBox.h: removed
7995 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7997 * insettext.C (LocalDispatch): Update selection cursor when moving
7998 cursor to the right.
7999 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8000 (moveLeftIntern): Ditto.
8002 2001-02-05 Baruch Even <baruch.even@writeme.com>
8004 * insetgraphics.C: Updated automatic image conversion, it now goes into
8005 temporary directory instead of with the image itself.
8007 2001-01-21 Baruch Even <baruch@ev-en.org>
8009 * insetgraphics.C: Added Docbook support. Added Automatic image
8010 conversion to EPS or PNG when needed (support bitmap graphics).
8012 2000-11-02 Baruch Even <baruch@ev-en.org>
8015 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8016 to '\n' and removal of commented out code.
8018 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8020 * insetbib.C (callback): Update citations if the key has changed.
8022 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8024 * insetbib.C (InsetBibKey): Better computation of default key.
8025 (getScreenLabel) Show both the key and the label.
8026 (getBibLabel): New method.
8027 (callback): Force a redraw if the inset have been changed.
8029 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8031 * insetref.C (getType, getName): Move methods from
8032 src/frontends/xforms/FormRef.C.
8034 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8036 * insettabular.C: Various improvements (use only one dummy position).
8038 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8040 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8041 par->bibkey->width. This fixes the crashes when running without
8042 gui or when having included documents.
8044 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8046 * insetcommand.C (getAsString, setFromString): Cleanup.
8048 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8050 * insetref.C: Add the array InsetRef::types that contains
8051 information about all supported reference types.
8053 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8055 * lyxinset.h: remove trailing comma in enum.
8057 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8059 * insettext.C: kill LyXBell.