1 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
3 * insetbox.[Ch]: fix bugs 2136, 2123
5 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
7 * insetbox.C (metrics): fix width problems (bug 2137)
9 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
11 * insettabular.C (tabularFeatures): Move some code to
12 setColumnPWidth and setMColumnPWidth
14 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * insetcharstyle.[Ch]:
19 * insetlatexaccent.[Ch]:
23 * insetspecialchar.[Ch]:
24 * inseturl.[Ch]: new method textString (fix bug 2089)
26 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
28 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
30 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 change argument of forceDefaultParagraphs from inset to cell.
37 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
39 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * insetbase.h: document the EDITABLE enum.
43 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
48 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
50 * insetbranch.C: partial fix bug 2092: branches not
51 propagated to child docs
52 * insetcharstyle.C: Also replace LColor::red by LColor::error
54 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * insetbranch.C (isBranchSelected): take a buffer as argument.
57 adapt to work with child documents (bug 2092).
59 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * insettabular.C (doDispatch): get rid of annoying debug message.
63 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
64 code from InsetCollapsable.
66 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
67 inset is toggled to Closed, move cursor to the right (part of bug
70 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
72 * insettext.C: remove obsolete old_pit
74 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * insettabular.C (doDispatch): do not override the result of
77 LFUN_RIGHT/LEFT. (bug 2101)
79 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
81 * insetvspace.C (metrics): compute ascent and descent in a way that
82 the cursor is placed on the same level as the label text
84 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
87 of autoopen, which means that collapsables automatically open
88 whenever the cursor enters (and close again on leave) (fixes bug 1921).
90 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
93 and '\space' to '\space{}' (consistency).
95 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
97 * insettabular.C (tabularFeatures): validate cursor after
98 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
100 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
102 * insettabular.C: fixes bug 1765: multicol cell width on screen not
105 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * insettabular.C: use recordUndoInset instead of recordUndo
108 (fixes bug 1937 and 1986).
110 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * insetvspace.C (metrics): include label text
113 * insetvspace.[Ch] (label): new, needed for the above
115 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * insetbase.[Ch]: new bool neverIndent() which indicates if
118 an inset does not want paragraph indentation at all.
121 * insetoptarg.h: return true for neverIndent()
122 * insettext.[Ch]: return true for neverIndent() in case
123 of tabular cells (based on a crude guess).
125 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * insetline.C: Add forgotten include
129 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * insetline.C (latex): write the size argument of \lyxline again
132 * insetquotes.C (latex): adapt to OutputParams changes
134 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
137 when switching to pwidth cell (bugs 1296, 1840).
139 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * insettabular.C (draw): pass PainterInfro::erased_ to
143 (drawCellLines): add an erased bool and handle it.
145 2005-08-03 John Levon <levon@movementarian.org>
147 * insettext.C (clear): remove bool argument.
148 (read): adapt to clear() changes.
150 * insettabular.C (cutSelection): adapt to MarkErased changes.
152 * insettext.C (markErased):
153 * insettabular.C (markErased):
154 * insetbase.C (markErased): add bool argument.
156 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
158 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
159 after copying several cells (works around bug 1919).
161 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
163 * insetcharstyle.C (metrics,draw): consider inset label for
164 width computation; fix drawing of labels of undefined char styles
166 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
168 * insettabular.C (getStatus): fix Helge's bug that a number of insets
169 including ERT could not be inserted in tabular.
171 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * insetinclude.C (string2params): fix typo in error message (bug 1963).
175 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * insettabular.C (getStatus): disable line and paragraph breaks
178 in non-fixed-width cells (bug 1938).
180 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * insetwrap.C: Do not use translatable strings as internal identifier
186 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
188 * insetbase.C: include boost/current_function.hpp
190 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
192 * insetbase.C (edit,editXY,index): supress some lyxerr messages
194 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
198 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
200 * insetlabel.C (changeRefsIfUnique): remove unused code
202 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
205 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
206 reverse the logic. Make sure to set updateButtonLabel_ to true in all
207 places where params is set (directly or indirectly).
209 2005-07-15 André Pönitz <poenitz@gmx.net>
211 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
213 2005-07-15 André Pönitz <poenitz@gmx.net>
217 * insetcollapsable.[Ch]:
219 * updatableinset.[Ch]: remove UpdatableInset
221 2005-07-15 José Matos <jamatos@lyx.org>
223 * insettext.C (plaintext): fix call to asciiParagraph.
225 2005-07-15 André Pönitz <poenitz@gmx.net>
227 * insetcollapsable.[Ch]:
228 * updatableinset.[Ch] (scroll, setScroll): sanitize things
230 2005-07-14 Angus Leeming <leeming@lyx.org>
232 * insetbibtex.C (latex): when processing the LaTeX file in
233 a temp directory, copy the BibTeX databases there, mangling their
234 names in the process. Do this so that BibTeX can process the database
235 because it *really*, *really* can't handle "files with spaces".
237 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
239 * insettext.C (doDispatch): reduce some debug blabbering
241 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * ExternalSupport.C (subst_path): adjust to latex_path changes and
244 replace dots if appropriate
245 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
246 * insetexternal.C (validate): require lyxdot
248 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * ExternalSupport.C (subst_path): new argument exclude_extension
251 * ExternalSupport.C (doSubstitution): exclude the extension when
253 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
254 the extension when quoting the file name
256 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * insetquotes.C (latex): always use \og/\fg for the french
259 languages; test against the language code instead of the babel
262 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * insettabular.C (tabularFeatures): adjust cursor after adding a column
266 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * insetbranch.C (setButtonLabel): Make label prefix translatable.
270 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
272 * insettabular.[Ch] (dist): make it a real member of insettabular
273 and rewrite it to use the actuall cell dimensions for calculation,
274 not the insettext's deimensions (fixes bug 1801).
276 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
278 * insetbibtex.C: (addDatabase): do not check for substrings but
279 but for whole tokens.
280 (delDatabase): make it actually work.
282 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
286 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
288 * insetgraphics.C (prepareFile): don't strip the extension of quoted
290 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
292 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
294 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
295 when multiple cells are selected (bug 1837).
297 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * insetoptarg.C (InsetOptArg): make the inset open by default
302 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * insetvspace.C (draw): use VSpace::asGUIName.
306 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
308 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
309 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
310 cur.noUpdate() if nothing changed
311 * insetlatexaccent.[Ch]: spelling fixes
313 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
315 * insetcollapsable.C (doDispatch): fix
316 click-on-closed-collapsable-inset-crash bug.
318 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
320 * insettabular.C (pasteSelection):
321 * insettext.h (copy c'tor): fix paste inside tabulars.
323 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * insetoptarg.C (plaintext): add dummy method.
327 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * insetbase.h (doDispatch): document a bit more
330 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
331 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
332 cur.bv().update(), because that leads to nested updates. Call
333 cur.noUpdate() instead where approriate.
335 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
337 * insetbibtex.C: change screen label
339 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
341 2005-05-06 José Matos <jamatos@lyx.org>
343 * insetcommandparams.C (scanCommand): fix out of range string access.
345 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
347 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
349 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
350 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
353 handle undefined character styles
354 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
355 handle undefined character styles
357 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
359 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
360 in getStatus and the tabularFeature string (bug 1860).
362 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
364 * insetbranch.C (getStatus): make the code more compact
366 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
368 * insetcollapsable.C (doDispatch): do not pass through double/triple
369 click events when they are not in the insetext (bug 1797).
371 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * insetbase.h: document a bit more
374 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
375 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
376 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
377 (getStatus): implement
378 * insetcollapsable.[Ch] (hitButton): take a const argument
379 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
382 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * insetcollapsable.C (doDispatch): pass through double/triple
385 click events (bug 1811).
387 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
391 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
392 but the SENSITIVE label type.
394 2005-04-18 Angus Leeming <leeming@lyx.org>
396 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
397 'use_latex_path' argument. In turn, passed to the new subst_path
398 function when replacing placeholders with paths.
400 * insetexternal.C (getScreenLabel):
401 * ExternalSupport.C (lots of places): change invocation of
402 doSubstitution in lots of places, specifying the appropriate values
403 for this 'use_latex_path' boolean.
405 * insetbib.C (latex):
406 * insetgraphics.C (latex):
407 * insetinclude.C (latex): pass path to latex_path rather than to
410 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
412 * insetcharstyle.C (validate): allow nested charstyle insets
414 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
418 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * insetfloat.C (InsetFloat):
421 * insetwrap.C (InsetWrap): do not set layout here.
423 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
427 * insetbase.h (getStatus): add more documentation
428 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
431 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
433 * insetcharstyle.C (metrics, draw):
434 * insetert.C (metrics, draw):
435 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
438 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
440 * insetexternal.C (validate):
441 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
442 multiple Requirements in external material template
444 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
446 * insettext.C (drawFrame): cosmetic fix
448 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
450 * ExternalSupport.C (writeExternal):
451 * insetgraphics.C (latex):
452 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
453 mis-count in computing latex error location
455 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
457 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
458 make it *not* descend into insets (fix a crash). Move the part
459 needed from editXY to a new function getNearestCell
461 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * insetinclude.C (InsetInclude): when constructing from another
464 InsetInclude, set set_label_ to false, since the value is never
467 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
471 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
473 * insettabular.C (drawSelection): cosmetic bugfix
475 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
477 * insettabular.C (doDispatch): get middle mouse button back again
478 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
479 when only a part of the cell is selected (fix bug 1799)
481 * insettabular.C: handle some more character attributes in
482 M. Vermeers method (when multiple cells in tables are selected);
483 disable some more senseless lfuns when multiple cells are selected
485 Move to end of cell instead of beginning when coming from the cell
488 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
490 * insettabular.C: make applying character attributes
491 possible for multiple cells in tables. Disable collapsable
492 insets for multiple-cell selection in table (Jürgen S.)
493 Bug reported by Helge Hafting.
495 2005-02-25 Andreas Vox <avox@arcor.de>
497 * insetmarginal.[hC] (docbook): new method, render as <note>
499 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
501 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
503 * insetcaption.[Ch] (doClone): implement
505 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * insetgraphics.C (prepareFile): handle non-existing files
508 * insetgraphics.C (latex): remove special handling of non-existing
511 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
514 * insettext.C: adjust metrics
516 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * insettext.C: include boost/current_function.hpp (needed when
519 assertions are disabled)
521 2005-02-20 André Pönitz <poenitz@gmx.net>
523 * insetcollapsable.C: Prevent problems on double-/
524 tripleclick on collapsable label (bug 1797).
526 2005-02-13 André Pönitz <poenitz@gmx.net>
528 * insettext.[Ch] (border_): new
529 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
532 2005-02-14 Angus Leeming <leeming@lyx.org>
534 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
535 about "truncation of constant value".
537 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
540 workaround for broken HTML converter)
542 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * insetcollapsable.C (leaveInset): size() -> depth()
545 * insettabular.C (isRightToLeft): ditto
547 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * insetert.C (latex, linuxdoc, docbook): remove newline handling
550 * insetert.C (doDispatch): clean pasted paragraphs
551 * insetert.C (getStatus): suppress more lfuns
552 * insetert.C (insetAllowed): return always false
554 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
559 * updatableinset.C: Use new cursor accessors.
561 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
565 2005-01-31 Angus Leeming <leeming@lyx.org>
567 * insetgraphicsParams.C: protect a #warning preprocessor call
568 with a #ifdef WITH_WARNINGS guard.
570 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
572 * Several files: use convert<> instead of atoi,strToXXX and friends
574 2005-01-23 Angus Leeming <leeming@lyx.org>
576 * insetbibitem.h (bibitemWidest): declare the function.
578 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * insetgraphics.C (prepareFile): move the invocation of the default
581 converter to ../converter.C
582 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
583 call convert with try_default == true
585 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
587 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
588 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
589 determines what variables are substituted
590 * ExternalSupport.C (updateExternal): fix substitution of
593 2005-01-10 Angus Leeming <leeming@lyx.org>
595 * ExternalTemplate.C: use support/package.h to provide the paths to the
596 various directories used by LyX.
598 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * ExternalTransforms.C (adjAngle): tostr -> convert
608 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
613 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * ExternalTransforms.C: fix LaTeX output of \scalebox.
617 * ExternalTransforms.[Ch]:
618 * insetexternal.C: store all float/double values as strings.
621 * insetgraphicsParams.C: more precise checks for the value strings.
623 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * insettext.C (doDispatch): remove unused variable was_empty
627 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * insetgraphicsParams.[Ch]: store all float/double values as strings.
632 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
634 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
636 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
639 UNSET_ALL_LINES (from Jürgen)
641 2004-12-14 Angus Leeming <leeming@lyx.org>
643 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
644 to overcome bug in the MinGW port of g++ 3.4.2.
646 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
648 * insettabular.C (getCellXPos): make it return a relative x
649 position wrt. the begin of the tabular
650 (resetPos): a couple of fixes
651 (doDispatch): add a couple of resetPos calls
652 (drawSelection): fix drawing of selection in single-cell mode
653 (draw): replace 'do not draw' optimization by 'draw with
656 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
658 * insetbase.[Ch] (idxUpDown2): remove function
660 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
662 * insettabular.[Ch]: use size_t-like types for cell, row and column
665 2004-12-02 José Matos <jamatos@lyx.org>
667 * insetlatexaccent.C (checkContents): remove compatibility code,
670 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * insetbase.h (getStatus): add better comment from src/cursor.C
674 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
676 * insettabular.[Ch]: adjust, introduce "do not draw
677 offscreen" optimization using NullPainter, (dist): introduce,
678 (getCursorPos): implement, (drawSelection): implement
680 * insetcollapsable.[Ch]: adjust
682 * insettext.C: adjust, (metrics): set the font before calling
685 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
687 * rename a lot of InsetOld to InsetBase
689 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
692 * insettext.C: par->pit renaming
694 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * Most insets: rename priv_dispatch to doDispatch
698 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * insettabular.C (tabularFeatures): fix multicolumn handling
702 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * render_base.h (operator=): use common semantics
706 * insettext.C (operator=): delete this
707 (copy constructor): implement this properly
708 (init): use for_each and bind
710 (appendParagraphs): ditto
712 * insettabular.C: add more const. Adjust for changes in tabular.
714 * insetbase.h: Use NVI on clone. Add virtual doClone and update
715 all children, also make copy constructor protected. Added some
716 safe-guards to clone.
718 * insets: adjust to fit.
720 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * insetoptarg.C (latexOptional): return number of lines instead of
725 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * insettabular.[Ch] (string2params): Don't pretend to return the
728 active cell anymore and simplify keyword parsing.
730 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * insetlatexaccent.h (isLetter): implement, so that word selection
733 takes accents into account.
735 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
737 * insetcollapsable.C (priv_dispatch): do not push the inset to the
740 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * ExternalSupport.C, insetgraphics.C:
743 s/getFormatFromContents/formats.getFormatFromFile/
745 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
747 * insetcharstyle.[Ch]:
748 * insetert.[Ch]: implement getStatus
750 * insetcharstyle.C (draw): visual clue when the cursor is inside
753 2004-11-02 José Matos <jamatos@lyx.org>
755 * insetcharstyle.C (docbook):
756 * insetlabel.C (linuxdoc, docbook):
757 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
760 * insettabular.C (docbook): mixed content no longer belongs to
763 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
767 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
769 * ExternalSupport.C (updateExternal): convert files in the temp dir
771 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
773 * insetcharstyle.C: drawing cosmetics.
775 2004-10-30 José Matos <jamatos@lyx.org>
777 * insetcharstyle.C (docbook): a compromisse solution. Don't output
778 paragraph tags inside inline elements.
780 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
782 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
783 InsetText methods rather than outputVerbatim (escapes special
784 characters) [bug 1731]
785 * insetcharstyle.C (outputVerbatim): remove this function.
786 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
787 which caused an infinite loop.
789 2004-10-29 José Matos <jamatos@lyx.org>
791 * insetgraphics.C (uniqueID): transfered to sgml.C
793 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
795 * insetlabel.C (docbook, linuxdoc):
796 * insetref.C (docbook, linuxdoc): sanitize id.
798 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
800 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
801 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
802 * insetgraphics.C (findTargetFormat): reformat
804 2004-10-28 José Matos <jamatos@lyx.org>
806 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
808 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
812 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
814 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
815 "[,,,]" without warning message
817 2004-10-26 Angus Leeming <leeming@lyx.org>
819 * ExternalSupport.C (updateExternal):
820 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
821 external files to the temp directory.
823 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
825 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
826 layouts. This fixes problems with the memoir class (which does not
827 allow \footnote) [bug 1677]
829 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
831 * insetindex.C (docbook): escape the index, to generate correct sgml.
833 2004-10-23 José Matos <jamatos@lyx.org>
835 * insettext.C (docbook): rearrange arguments, due to change in the
838 2004-10-23 André Pönitz <poenitz@gmx.net>
840 * insettabular.C (cutSelection, tabularFereatures):
841 fix cursor position after cutting selection or table rows
843 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
845 * insetgraphics.C (docbook, writeImageObject): write more than one
846 format of imageobjects in <mediaobject>.
848 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
850 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
851 DocBook output for this inset ( <citation>content</citation> )
853 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
855 * insetgraphics.C (docbook) : using mediaobject for XML;
856 correcting bug with SGML output (now '>' instead of '/>')
858 2004-10-05 José Matos <jamatos@lyx.org>
860 * insetfloatlist.C (read):
861 * insetquotes.C (read):
862 * insetspace.C (read):
863 * insetspecialchar.C (read):
864 * insettabular.C (read): replace nextToken by more appropriate lex
867 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
869 * insetgraphics.C (createDocBookAttribute, docbook) :
870 convert scale, width, height and keepaspectratio to Docbook standards)
872 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
873 to Docbook units where possible.
875 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
877 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
879 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
880 as attributes with new method for docbook.
882 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * render_preview.h: Use preferred calling of Boost.Signal
886 * pch.h: use proper signal include
888 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * ExternalTransforms.h: User preferred calling of Boost.Function
892 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
894 * insetref.C (docbook): fixing problem where Docbook XML output
895 had unclosed <xref ... >
897 2004-08-16 José Matos <jamatos@lyx.org>
899 * insethfill.C (write):
900 * insetline.C (write):
901 * insetnewline.C (write):
902 * insetpagebreak.C (write): remove space at end of line.
904 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * insettabular.C (plaintext): do not use ownerPar to get the
909 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
910 and it calls getParentLanguage (which calls ownerPar)
911 (edit): do not call sanitizeEmptyText
912 (priv_dispatch): remove code resetting font on empty inset, for
913 the same reasons as above.
915 * insettabular.C (isRightToLeft): instead of using
916 BufferView::getParentLanguage, use the data from the cursor
918 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * Makefile.am: support pch
924 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * insettabular.C (draw): whitespace
928 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
930 2004-08-14 André Pönitz <poenitz@gmx.net>
932 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
934 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * insettabular.C (metrics): when the width of a cell is zero(),
937 let it use as much space as it can
939 * insettext.C (editXY): compilation fix
941 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
943 (metrics): the insets is not full width any more.
944 (draw): adjust; fix bad test for PREVIEW_OFF
945 (add_preview): fix bad test for PREVIEW_OFF
946 (display): do not return true when using \input
948 2004-08-14 José Matos <jamatos@lyx.org>
950 * insetbibitem.[Ch] (plaintext): added.
952 * insetcite.[Ch]: fix plaintext export.
954 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
956 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
959 * insetcaption.C (InsetCaption): modify call to setDrawFrame
960 * insetcollapsable.C (InsetCollapsable): ditto
961 * insetenv.C (InsetEnvironment): ditto
963 2004-08-14 André Pönitz <poenitz@gmx.net>
966 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
968 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
970 * insetoptarg.C (latexOptional): if the optional argument contains
971 a ']' enclose it in {curly brackets}
973 * insettext.C (editXY):
974 * insettabular.C (editXY):
975 * insetcollapsable.C (editXY):
976 * insetbase.C (editXY): constify
978 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
979 not ask for an update if we did nothing; on a mouse release, make
980 sure that the cursor is moved to the right position; on a mouse
981 release, exit from the inset instead of invoking a
984 * insetbase.C (dispatch): before invoking dispatch, set cursor
985 result to dispatch=update=true.
987 2004-08-13 José Matos <jamatos@lyx.org>
989 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
991 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
993 * insetfoot.C (latex): use OutputParams::intitle instead of
994 parOwner() (avoids time consuming lookup)
996 * insetquotes.C (latex): same as above with OutputParams::lang.
997 Moreover the code actually works now.
999 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1002 * insetinclude.C, insetgraphics.C, insetfloat.C:
1003 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1004 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1005 "support/std_sstream.h" to <sstream>
1007 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1009 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1010 It made the following fail for a .eps graphics file:
1012 2) view->pdf (pdflatex)
1013 because the .eps file was already in the temp dir when the pdflatex
1014 export happened and therefore no .eps -> pdf conversion was done.
1016 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * insetgraphics.C, insettabular.C: s/wether/whether/g
1020 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1022 * insetgraphics.C (stripExtension): new
1023 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1024 the caller does this
1025 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1026 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1028 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * insetfloatlist.C (latex,getScreenLabel): translate according to
1031 the document language (bug #1312)
1033 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1035 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1036 with external_in_tmpdir and compute filename ourself
1037 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1038 use it to store referenced file(s)
1039 * ExternalSupport.C (writeExternal): write relative filename if
1041 * ExternalTemplate.[Ch]: add ReferencedFile command
1042 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1043 runparams.exportdata
1044 * insetgraphics.C (prepareFile): write relative filename if
1046 * insetinclude.C (latex, docbook, linuxdoc): add file to
1047 runparams.exportdata and write it to the temp dir instead of
1048 writing it to the final destination
1049 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1051 2004-05-19 Angus Leeming <leeming@lyx.org>
1053 * insetcite.[Ch]: small change because namespace biblio is
1054 now namespace lyx::biblio.
1056 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * insettabular.[Ch] (buffer): make Buffer * argument const
1060 2004-05-17 Angus Leeming <leeming@lyx.org>
1062 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1063 to force the button label to be re-generated.
1065 2004-05-14 José Matos <jamatos@lyx.org>
1067 * insetlabel (docbook): do not ouput label, for the moment.
1069 2004-05-14 Angus Leeming <leeming@lyx.org>
1071 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1072 new biblio::asValidLatexString function.
1074 2004-05-12 Angus Leeming <leeming@lyx.org>
1076 * insetcite.C: use BufferParams::cite_engine rather than the three
1077 bools, use_natbib, use_jurabib, use_numerical_citations.
1079 2004-05-10 Angus Leeming <leeming@lyx.org>
1081 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1082 Ditto with getStyle, moved to biblio::getEngine.
1084 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1086 * insetgraphics.C (validate): remove pre 233 file format stuff,
1087 handle zipped files for "nice" export
1089 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1091 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1092 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1093 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1094 changed since the last run
1095 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1096 and copyFileIfNeeded.
1098 2004-04-29 Angus Leeming <leeming@lyx.org>
1100 * ExternalTemplate.[Ch]: remove redundant #includes.
1102 2004-04-28 Angus Leeming <leeming@lyx.org>
1105 s/updateToolbar()/updateToolbars()/
1107 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * insetgraphics.C: require file extension (file format change!)
1110 * insetgraphics.C (latex): handle zipped files for "nice" export
1112 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1114 * insetgraphics.C (latex): strip the extension and replace dots in
1115 the filename if doing a "nice" export. This is a partial fix for
1116 bug 1231 without reintroducing bug 655.
1118 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * insetoptarg.h: remove the editable() method (InsetCollapsable
1121 does it better already)
1123 * insetbibtex.C (normalize_name): new helper function. Changes the
1124 name to be suitable to use in a latex file (relative to master
1125 buffer if necessary).
1126 (latex): use normalize_name.
1128 2004-04-20 Angus Leeming <leeming@lyx.org>
1130 * render_preview.C (startLoading): remove lyxerr statement.
1132 (getPreviewLoader): new helper function.
1134 2004-04-19 Angus Leeming <leeming@lyx.org>
1138 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1140 2004-04-19 Angus Leeming <leeming@lyx.org>
1142 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1144 (add_preview): renamed as add_preview_and_start_loading. Invoke
1145 RenderPreview::startLoading.
1147 * insetinclude.C (metrics, draw): changes due to the changed
1148 RenderPreview interface.
1150 * render_preview.C: remove cached pimage_.
1151 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1152 (draw): don't call startLoading. That's up to the user of
1155 2004-04-16 Angus Leeming <leeming@lyx.org>
1157 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1159 2004-04-13 Angus Leeming <leeming@lyx.org>
1161 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1162 the renderer to inform LyX::updateInset that the inset's status
1163 has changed and it should be redrawn.
1165 * render_button.[Ch] (clone):
1166 * render_graphic.[Ch] (c-tors, clone):
1167 * render_preview.[Ch] (c-tors, clone): ditto.
1169 * render_graphic.[Ch] (connect):
1170 * render_preview.[Ch] (connect): removed, as connection is now
1171 made in the constructors.
1175 * insetinclude.C: ensuing simplification of the client code.
1176 (statusChanged): now superfluous. Removed.
1178 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1180 * ExternalTemplate.[Ch]: remove editCommand
1181 * ExternalSupport.C (editExternal): use formats.edit() instead of
1182 the removed editCommand template parameter
1183 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1184 * insetgraphics.[Ch] (editGraphics): new method
1186 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1188 * insetinclude.C (validate): set/reset features.buffer_ when
1189 validating the child
1191 2004-04-07 Angus Leeming <leeming@lyx.org>
1193 * insetexternal.C (priv_dispatch):
1194 * insetinclude.C (priv_dispatch): prevent crash by invoking
1195 InsetOld::priv_dispatch at the end of the switch, rather than
1196 InsetOld::dispatch...
1198 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1200 * insetcollapsable.C:
1201 * insetbranch.C: 'assign' to open/close branch inset according to
1202 selection; also print content on closed branch button
1204 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1207 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1208 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1210 * ExternalSupport.C (updateExternal): use absolute and output
1211 filename where appropriate
1213 2004-04-05 André Pönitz <poenitz@gmx.net>
1215 * insetbase.h: use LCursor & in notifyCursorLeave
1217 2004-04-05 Angus Leeming <leeming@lyx.org>
1219 * insetgraphics.C: remove unused header file "lyxrc.h".
1221 * render_graphic.C: squash bug 1372: Misleading graphics label when
1222 deactivating lyx view.
1224 2004-04-05 Angus Leeming <leeming@lyx.org>
1229 * insetlatexaccent.C:
1234 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1236 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1238 * insetfloat.C (read): fix yesterday's float fix.
1239 * insetwrap.C (read): apply the fixed float fix.
1241 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1243 * insetfloat.C (read): fix reading of float params
1246 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1248 * insettext.C (edit): comment the call to updateLocal (dangling now)
1249 * insettext.h: add allowSpellCheck() returning true
1251 2004-03-31 Angus Leeming <leeming@lyx.org>
1253 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1255 2004-03-31 Angus Leeming <leeming@lyx.org>
1257 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1258 the cursor out of an inset.
1260 * insetbranch.C (priv_dispatch):
1261 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1262 use getOutOfInset to push the cursor out of the inset when
1265 2004-03-30 Angus Leeming <leeming@lyx.org>
1267 * insetbase.[Ch] (translate): new static member function, returns
1268 an InsetBase::Code corresponding to the input string.
1270 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1272 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1273 so that it opens the inset if it refers to the currently active
1276 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1278 * insetfloat.C (addToToc): use par_const_iterator_begin and
1279 par_const_iterator_end.
1281 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * insetbibtex.[Ch]: bibtopic support.
1285 * insetfloat.[Ch]: add param \sideways {true|false}
1286 (support for sideways floats from rotating.sty).
1288 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1290 * insettext.[Ch]: add a default ctor. implement const version of
1296 * insetwrap.C: adjust
1298 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1300 * insettext.h: add insetAllowed returning true by default (fixing
1301 vanishing insets problem)
1303 * insettext.C (draw): handle the responsability of adding the
1304 ouside offset to collapsable. Clean code a bit.
1306 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1307 from insettext correctly, solve a couple of off-by-one drawing
1310 2004-03-25 Angus Leeming <leeming@lyx.org>
1312 * insetcaption.C (draw): squash warning about unused variable.
1314 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1316 * ExternalSupport.C: use the master buffer's temp dir
1317 * insetgraphics.C (latex): make relative filename relative to the
1319 * insetgraphics.C: use the master buffer's temp dir
1320 * insetinclude.C (masterFilename): new function
1321 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1322 is always true if loadIfNeeded() returns true)
1324 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1326 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1327 set its parent to the current buffer.
1328 (latex): use the tmppath of the master buffer, not just the parent
1329 buffer (makes a difference with more than one level of include
1330 insets). If the file name is relative write in the .tex file a
1331 name relative to the master buffer directory.
1333 * insetinclude.C: rename masterFilename to parentFilename (this
1334 points to the direct parent)
1336 2004-03-25 André Pönitz <poenitz@gmx.net>
1338 * inset.[Ch]: remover owner
1340 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1348 * insetcharstyle.[Ch]:
1356 * insetwrap.C: adjust
1358 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1360 * insetquote.C: use opening quote after '[' char.
1362 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1364 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1367 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1369 * insetcite.[Ch]: support jurabib.
1371 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1373 * insetcite.C: Support second \cite option.
1375 * insetcommand.[Ch]:
1376 * insetcommandparams.[Ch]: add second optional argument.
1378 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1380 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1381 shows the inset dialog.
1383 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1385 * insetlabel.[Ch]: remove them
1386 * Makefile.am: adjust
1388 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1390 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1392 * insetinclude.C (latex): show a GUI warning if textclasses don't
1394 * insetinclude.C: use mangledFilename() for temp files
1395 * insetgraphics.C (readInsetGraphics): remove version check, since
1396 the graphics inset has no own fileformat number anymore
1398 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1400 * insetquotes.[Ch]: added new member that allows direct access
1401 to single/double quotation marks.
1402 * insetnewline.[Ch]:
1403 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1405 2004-02-16 André Pönitz <poenitz@gmx.net>
1408 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1409 implicitly assume 'DispatchResult(true, true) with exception of
1410 InsetBase::priv_dispatch which does the equivalent of
1411 'retrun DispatchResult(false)'
1413 * inset*.[Ch] (priv_dispatch): adjust
1415 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1416 simplify cursor moving function,
1417 re-enable horizontal scrolling for large tables
1419 2004-02-13 André Pönitz <poenitz@gmx.net>
1421 * insettabular.[Ch]: some work after IU
1423 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1425 * inset.C (setPosCache): switch to absolute coords in insets
1426 * insettext.[Ch] (draw, drawFrame): adjust
1427 * insetcollapsable.C (draw): adjust
1430 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1432 * insettext.C (edit):
1433 (updateLocal): use the cur argument instead of the global cursor
1434 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1436 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1440 * insetfloat.C (validate): "H" -> 'H' in call to contains
1442 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1444 2004-01-30 André Pönitz <poenitz@gmx.net>
1448 * insetcollapsable.[Ch]:
1451 * insetgraphics.[Ch]:
1453 * insettabular.[Ch]:
1456 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1459 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * insettabular.C: add using statement for std::vector, remove
1462 std:: where using was already used.
1464 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1466 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1468 * insetinclude.C (validate): use feautures.nice() instead of
1471 2004-01-20 André Pönitz <poenitz@gmx.net>
1474 * insetbase.[Ch]: move stuff from mathcursor here.
1476 * insetbibitem.[Ch]:
1480 * insetcharstyle.[Ch]:
1481 * insetcollapsable.[Ch]:
1482 * insetcommand.[Ch]:
1484 * insetexternal.[Ch]:
1486 * insetgraphics.[Ch]:
1487 * insetinclude.[Ch]:
1491 * insettabular.[Ch]:
1495 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1498 2004-01-15 André Pönitz <poenitz@gmx.net>
1501 * insetbibitem.[Ch]:
1505 * insetcharstyle.[Ch]:
1506 * insetcollapsable.[Ch]:
1507 * insetcommand.[Ch]:
1509 * insetexternal.[Ch]:
1511 * insetgraphics.[Ch]:
1512 * insetinclude.[Ch]:
1516 * insettabular.[Ch]:
1520 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1522 2004-01-08 André Pönitz <poenitz@gmx.net>
1524 * insetcollapsable.[Ch]:
1525 * insettabular.[Ch]:
1527 * updatableinset.h: use cell index info from global cursor.
1529 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1531 * insetnote.C (InsetNoteParams::write): write label only once
1533 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1537 get rid of the SameName functor
1539 * insettabular.C: improve the functor.
1541 2003-12-29 Angus Leeming <leeming@lyx.org>
1543 * insetexternal.C (setParams): update defaultTemplateName.
1545 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1547 * insetbox.C: Use term "Box" in button label
1549 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1551 * insetcharstyle.C: get getDrawFont working again
1553 2003-12-15 André Pönitz <poenitz@gmx.net>
1555 * insettabular.[Ch]:
1556 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1558 2003-12-12 Angus Leeming <leeming@lyx.org>
1560 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1562 (InsetBranchParams): remove the branchlist hack.
1563 (isBranchSelected): new function, used to decide whether to
1564 print each output format. Also used by InsetList.
1565 (read, string2params): repair my own breakage ;-)
1567 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1569 * insetminipage.[Ch]: remove from repository.
1571 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1574 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1575 insetert to insetcollapsable; introduce virtual function
1576 setButtonLabel and invoke it from collapsable
1578 2003-12-12 Angus Leeming <leeming@lyx.org>
1580 * insetinclude.C (draw): cache x,y and so enable the
1581 dialog to be opened.
1583 2003-12-12 Angus Leeming <leeming@lyx.org>
1585 * mailinset.C (print_mailer_error): tidy up the output.
1587 2003-12-11 Angus Leeming <leeming@lyx.org>
1589 * mailinset.[Ch] (print_mailer_error): new helper function.
1591 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1592 calling InsetCommandMailer.
1593 (InsetCommandMailer::string2params): pass the name of the dialog.
1595 * insetbibitem.[Ch] (d-tor):
1596 * insetbibtex.[Ch] (d-tor):
1597 * insetcite.[Ch] (d-tor):
1598 * insetfloatlist.[Ch] (d-tor):
1599 * insetindex.[Ch] (d-tor):
1600 * insetlabel.[Ch] (d-tor):
1601 * insetref.[Ch] (d-tor):
1602 * insettoc.[Ch] (d-tor):
1603 * inseturl.[Ch] (d-tor): removed.
1604 Hiding the dialog is handled by InsetCommand.
1606 * insetbibtex.[Ch] (draw, metrics):
1607 * insetfloatlist.[Ch] (draw, metrics):
1608 * insetindex.[Ch] (draw, metrics): removed.
1609 Drawing is handled by InsetCommand.
1611 * insetbibitem.[Ch] (priv_dispatch):
1612 * insetbibtex.[Ch] (priv_dispatch):
1613 * insetcite.[Ch] (priv_dispatch):
1614 * insetfloatlist.[Ch] (priv_dispatch):
1615 * insetindex.[Ch] (priv_dispatch):
1616 * insetlabel.[Ch] (priv_dispatch):
1617 * insettoc.[Ch] (priv_dispatch):
1618 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1619 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1620 LFUN_INSET_DIALOG_SHOW.
1622 * insetbox.C (string2params):
1623 * insetbranch.C (string2params):
1624 * insetert.C (string2params):
1625 * insetexternal.C (string2params):
1626 * insetfloat.C (string2params):
1627 * insetinclude.C (string2params):
1628 * insetminipage.C (string2params):
1629 * insetnote.C (string2params):
1630 * insetvspace.C (string2params):
1631 * insetwrap.C (string2params): over-hauled.
1633 2003-12-10 Angus Leeming <leeming@lyx.org>
1635 * insetexternal.[Ch]: add a draft option and respect it when
1638 2003-12-10 Angus Leeming <leeming@lyx.org>
1640 * insetbox.C: (read, write): now prepend the inset contents with
1641 'Box' to identify the inset as a box inset.
1643 * insetbox.h: move the translators out of sight.
1645 2003-12-10 Angus Leeming <leeming@lyx.org>
1647 * insetert.C (string2params): clean-up using the new lyxlex interface.
1649 * insetexternal.C: ensure that InsetExternalParams has a default
1650 template, 'RasterImage'.
1652 2003-12-10 Angus Leeming <leeming@lyx.org>
1654 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1655 to an enum. Ensuing clean-ups through out the class.
1656 (read, write): now prepend the inset contents with 'Note' to identify
1657 the inset as a note inset.
1659 2003-12-10 Angus Leeming <leeming@lyx.org>
1661 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1662 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1664 2003-12-10 André Pönitz <poenitz@gmx.net>
1668 * insettabular.[Ch]:
1669 * insettext.[Ch]: remove unused insetInset()
1671 * insetert.C: disable some LFUNs
1673 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1675 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1677 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1679 2003-12-04 Angus Leeming <leeming@lyx.org>
1681 * insetexternal.C (draw): update the xo_, yo_ cache.
1683 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1685 (RotationDataType): new helper struct wrapping the
1686 RotationData::OriginType enum.
1688 2003-12-03 André Pönitz <poenitz@gmx.net>
1690 * inset.h: remove getParagraphs()
1692 * insetcollapsable.[Ch]:
1695 * insettabular.[Ch]:
1696 * insettext.C: use getText() instead of getParagraphs()
1698 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1700 * insetert.C: fix label text updating bug
1702 2003-12-02 Angus Leeming <leeming@lyx.org>
1704 * insetvspace.[Ch] (space): new member function. Make space_ private.
1705 (read): use the new, simpler lyxlex syntax.
1707 2003-12-01 André Pönitz <poenitz@gmx.net>
1709 * insetcollapsable.[Ch]:
1710 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1712 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1714 * insetvspace.C (read): handle 'end_inset' token.
1716 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1718 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1720 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1722 * insetcollapsable.[Ch]:
1724 * insetcharstyle.C: place inset content on the button when
1727 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1729 * insetvspace.C: remove VSpace::NONE; increase inset width
1731 2003-12-01 André Pönitz <poenitz@gmx.net>
1733 * insetbase.h: whitespace
1735 * inset.[Ch]: remove latexTextWidth
1736 make setBackgroundColor virtual
1738 * insettext.[Ch]: move ParagraphList member to LyXText
1740 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1746 * insetminipage.[Ch]:
1748 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1750 2003-11-28 Angus Leeming <leeming@lyx.org>
1752 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1753 hiding and showing the dialog respectively.
1754 (priv_dispatch): also actually update the inset contents.
1756 2003-11-28 Angus Leeming <leeming@lyx.org>
1758 * insetbox.C (d-tor):
1759 * insetbranch.C (d-tor):
1760 * insetcite.C (d-tor):
1761 * insetfloat.C (d-tor):
1762 * insetfloatlist.C (d-tor):
1763 * insetinclude.C (d-tor):
1764 * insetindex.C (d-tor):
1765 simplify the invocation of the Mailer::hideDialog() function.
1767 * insetminipage.C (showInsetDialog):
1768 simplify the invocation of the Mailer::showialog() function.
1770 2003-11-28 André Pönitz <poenitz@gmx.net>
1773 * insetvspace.[Ch]: new insets
1775 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1777 * insetcharstyle.C: Syntax change for CharStyles
1779 2003-11-28 André Pönitz <poenitz@gmx.net>
1781 * updatableinset.h: remove insetInInsetY
1783 * insetcollapsable.[Ch]:
1785 * insettabular.[Ch]:
1786 * insettext.[Ch]: adjust
1788 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1792 * insetcollapsable.[Ch]:
1794 * insettabular.[Ch]: remove setFont
1796 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1798 * render_graphic.[Ch]: adjust comments
1800 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1802 * insetgraphics.C (draw): cache xo_ & yo_
1804 2003-11-24 André Pönitz <poenitz@gmx.net>
1806 * insettext.C (setViewCache): don't call LyXText::init() anymore
1808 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1811 * insetcollapsable.[Ch]:
1812 * insetert.[Ch]: remove bufferview parameter in methods
1813 open, close, status, and updateStatus.
1815 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1817 * insetcollapsable.[Ch]:
1818 * insettabular.[Ch]:
1819 * insettext.[Ch] (getCursorDim): squash unused variable
1821 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1823 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1825 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1827 * insettext.C (draw): sets LyXText absolute coordinates
1829 2003-11-20 Angus Leeming <leeming@lyx.org>
1831 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1832 warnings about unused parameters.
1834 * insetcollapsable.C (open):
1835 * insettabular.C (pasteSelection):
1836 * insettoc.C (draw): ditto.
1838 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1840 * insetcollapsable.C:
1842 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1843 remove mouse_x mouse_y etc.
1845 2003-11-17 André Pönitz <poenitz@gmx.net>
1847 * insettext.[Ch] (cx, cy): remove
1849 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1851 2003-11-13 André Pönitz <poenitz@gmx.net>
1854 * insetcollapsable.[Ch]:
1855 * insettabular.[Ch]:
1856 * insettext.[Ch] (deleteLyXText): remove
1858 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1860 * insetcollapsable.[Ch] (fitInsetCursor): remove
1861 * insettabular.[Ch] (fitInsetCursor): remove
1862 * insettext.[Ch] (fitInsetCursor): remove
1863 * updatableinset.[Ch] (fitInsetCursor): remove
1864 (getCursorDIm): add virtual
1866 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1868 * src/insets/Makefile.am:
1869 * src/insets/inset.h:
1870 * src/insets/insetcharstyle.C:
1871 * src/insets/insetcharstyle.h: The Character Style /XML short
1874 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1876 * insettext.C: remove all update calls
1877 * insetcollapsable.C: remove all update calls
1879 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1881 * insettext.C (updateLocal, insertInset, setFont): remove
1884 2003-11-10 André Pönitz <poenitz@gmx.net>
1886 * inset.h: remove Inset::id_
1888 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1893 2003-11-10 André Pönitz <poenitz@gmx.net>
1897 * insetcollapsable.[Ch]:
1901 * insettabular.[Ch]:
1904 * updatableinset.[Ch]: remove inset locking & adjust
1906 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1908 * inset.h (allowSpellCheck): add (return true)
1909 * insetert.h (allowSpellCheck): add (return false)
1911 2003-11-05 José Matos <jamatos@lyx.org>
1917 * insetcaption.[Ch]:
1919 * insetcollapsable.[Ch]:
1920 * insetcommand.[Ch]:
1923 * insetexternal.[Ch]:
1925 * insetfloatlist.[Ch]:
1927 * insetgraphics.[Ch]:
1929 * insetinclude.[Ch]:
1932 * insetlatexaccent.[Ch]:
1935 * insetmarginal.[Ch]:
1936 * insetminipage.[Ch]:
1937 * insetnewline.[Ch]:
1940 * insetpagebreak.[Ch]:
1944 * insetspecialchar.[Ch]:
1945 * insettabular.[Ch]:
1947 * insettheorem.[Ch]:
1950 * insetwrap.[Ch]: rename ascii to plaintext
1951 and LatexRunParams to OutputParams.
1953 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1955 * insetcollapsable.C (edit): add open() all
1956 * insettext.C (edit): add setViewCache call
1958 2003-11-04 André Pönitz <poenitz@gmx.net>
1960 * inset.h (edit): move locking code from dispatch() to edit()
1966 * insetcollapsable.[Ch]:
1969 * insetexternal.[Ch]:
1970 * insetgraphics.[Ch]:
1975 * insettabular.[Ch]:
1976 * insettext.[Ch]: adjust
1978 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1981 * insetcollapsable.[Ch]:
1983 * insettabular.[Ch]:
1985 * updatableinset.[Ch]: remove dead search code
1987 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1990 * insetcollapsable.[Ch]:
1992 * insettabular.[Ch]:
1994 * updatableinset.[Ch]: remove dead spellcheck code
1996 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1998 * insettabular.C (lockInsetInInset): small fix
2000 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2002 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2003 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2004 from here. Be stricter on DispatchResult returned.
2006 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * Inset::dispatch's: adjust for new DispatchResult semantics.
2010 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * render_base.h: make clone return an auto_ptr
2013 * render_button.C (clone): adjust
2014 * render_graphic.C (clone): adjust
2015 * render_preview.C (clone): adjust
2017 * insettheorem.C (clone): return an auto_ptr
2019 * insettext.C (priv_dispatch): exception safety
2021 * insettabular.C: store the file scope variable paste_tabular in a
2022 scoped_ptr, adjust usage.
2024 * insetexternal.C (setParams): exception safety
2026 * insetbibitem.C (clone): exception safety
2028 2003-11-03 André Pönitz <poenitz@gmx.net>
2031 * insetcollapsable.[Ch]:
2032 * insettabular.[Ch]:
2033 * insettext.[Ch]: remove Inset::id and related functions
2035 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * insets: adjust for DispatchResult changes.
2039 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2041 * insetpagebreak.C: fix screen representation & ascii output.
2043 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2047 * insettabular.[Ch]:
2048 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2050 2003-10-31 José Matos <jamatos@lyx.org>
2052 * inset.h (ascii, linuxdoc, docbook):
2053 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2054 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2055 * insetcaption.[Ch] (ascii, docbook):
2056 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2057 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2058 * insetert.[Ch] (ascii, linuxdoc, docbook):
2059 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2060 * insetfloat.[Ch] (linuxdoc, docbook):
2061 * insetfloatlist.[Ch] (ascii):
2062 * insetfoot.[Ch] (docbook):
2063 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2064 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2065 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2066 * insetindex.[Ch] (docbook):
2067 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2068 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2069 * insetline.[Ch] (ascii, linuxdoc, docbook):
2070 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2071 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2072 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2073 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2074 * insetref.[Ch] (ascii, linuxdoc, docbook):
2075 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2076 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2077 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2078 * insettext.[Ch] (ascii, linuxdoc, docbook):
2079 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2080 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2081 * insetwrap.[Ch] (docbook):
2082 add LatexRunParams argument.
2084 2003-10-30 José Matos <jamatos@lyx.org>
2086 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2088 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2090 * updatableinset.C (priv_dispatch):
2091 * insetwrap.C (priv_dispatch):
2092 * inseturl.C (priv_dispatch):
2093 * insettoc.C (priv_dispatch):
2094 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2095 (moveLeftIntern, moveUp, moveDown):
2096 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2097 (moveLeft, moveUp, moveDown):
2098 * insetref.C (priv_dispatch):
2099 * insetnote.C (priv_dispatch):
2100 * insetminipage.C (priv_dispatch):
2101 * insetlabel.C (priv_dispatch):
2102 * insetindex.C (priv_dispatch):
2103 * insetinclude.C (priv_dispatch):
2104 * insetgraphics.C (priv_dispatch):
2105 * insetfloatlist.C (priv_dispatch):
2106 * insetfloat.C (priv_dispatch):
2107 * insetexternal.C (priv_dispatch):
2108 * insetert.C (priv_dispatch):
2109 * insetcommand.C (priv_dispatch):
2110 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2111 * insetcite.C (priv_dispatch):
2112 * insetbranch.C (priv_dispatch):
2113 * insetbox.C (priv_dispatch):
2114 * insetbibtex.C (priv_dispatch):
2115 * insetbibitem.C (priv_dispatch):
2116 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2118 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2120 * insettext.C: small refactoring of docbook stuff
2122 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2125 (priv_dispatch): adjust for operator dispatch_result_t removal
2127 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2128 in a DispatchResult, adjust accordingly.
2129 (priv_dispatch): use strange >= construct... (will be removed later)
2131 * most insets: dispatch_result -> DispatchResult
2133 * insetbase.h: move DispatchResult out to dispatchresult.h
2135 2003-10-27 André Pönitz <poenitz@gmx.net>
2137 * insetpagebreak.[Ch]: new inset for page breaks
2139 * insetline.[Ch]: new inset for vertical lines
2144 2003-10-25 Angus Leeming <leeming@lyx.org>
2146 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2147 new virtual member functions, specialised...
2148 * render_button.h (asButton):
2149 * render_graphic.h (asGraphic):
2150 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2152 * insetexternal.C: use these new functions rather than dynamic_cast.
2153 Various other small simplifications.
2155 2003-10-22 Angus Leeming <leeming@lyx.org>
2157 * insetexternal.[Ch]: add the ability to 'preview' the external file
2160 * insetinclude.C: changes due to the changes in the RenderPreview
2163 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2164 message if the preview image is not available. Only initiate the
2165 loading of the preview from draw(). Ditto, start the monitoring
2166 of an external file from RenderMonitoredPreview::draw.
2168 2003-10-22 Angus Leeming <leeming@lyx.org>
2170 * insetcite.[Ch] (setLoadingBuffer): removed.
2171 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2172 ascertain whether to proceed with the (expensive) task of computing
2173 the natbib-style label. Remove the home-grown hack providing
2174 similar functionality.
2176 2003-10-22 Angus Leeming <leeming@lyx.org>
2178 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2179 class and into an anonymous namespace.
2181 2003-10-22 Angus Leeming <leeming@lyx.org>
2183 * insetcommand.h: remove the display method.
2187 * insetindex.h (InsetPrintIndex):
2188 * insettoc.h: add a display method, returning true.
2190 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2192 * insetcollapsable.h:
2196 * insetinclude.h: (1) finish off the inset display() work;
2197 (2) fix the "is a bit silly" bug (accessing char
2200 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2204 * insetfootlike.h: re-introduce display() for insets,
2205 fixing the various bugs (stretch of line above, math inset
2208 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * insetbase.C (dispatch): new func
2211 (priv_dispatch): new func replaces...
2212 (localDispatch): this, deleted.
2214 * all insets with dispatch modified for new code.
2216 2003-10-15 André Pönitz <poenitz@gmx.net>
2218 * insetcollapsable.[Ch]
2220 * inset.h: re-add some edit(bv, index) method called by undo
2222 2003-10-14 Angus Leeming <leeming@lyx.org>
2224 * insetexternal.[Ch] (view, cache, view_):
2225 * insetgraphics.[Ch] (view, cache, view_):
2226 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2227 (statusChanged): call LyX::cref().updateInset.
2229 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2230 the BufferView cache.
2232 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2235 2003-10-14 Angus Leeming <leeming@lyx.org>
2237 * insetinclude.C (metrics, draw): only draw the preview when previews
2240 2003-10-14 André Pönitz <poenitz@gmx.net>
2242 * insetcollapsable.[Ch]:
2243 * insettabular.[Ch]:
2245 * inset.h: getText() as alternative to getParagraphs()
2247 2003-10-13 Angus Leeming <leeming@lyx.org>
2250 * insetgraphicsParams.C: displayTranslator is now a function.
2252 2003-10-13 Angus Leeming <leeming@lyx.org>
2254 * insetinclude.C: remove #include "PreviewImage.h".
2256 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * ExternalSupport.C:
2259 * ExternalTransforms.C:
2261 * insetbox.h: ws changes only
2263 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * insetinclude.C (localDispatch): do not call
2266 InsetOld::localDispatch, just return UNDISPATCHED
2267 * insetgraphics.C (localDispatch): ditto
2268 * insetcommand.C (localDispatch): ditto
2270 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2272 * inset.h: get rid of RESULT typedef for dispatch_result
2274 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2275 * insetert.[Ch] (localDispatch): ditto
2276 * insettabular.[Ch] (localDispatch): ditto
2281 * insettext.[Ch] (localDispatch): ditto
2284 (moveRightIntern): ditto
2285 (moveLeftIntern): ditto
2288 * updatableinset.[Ch] (localDispatch): ditto
2290 2003-10-12 Angus Leeming <leeming@lyx.org>
2292 * renderbase.h (view, view_): removed.
2293 * renderbase.C: removed.
2294 * Makefile.am: remove render_base.C. The shortest lived file in
2297 * renderbutton.C (draw):
2298 * render_graphic.C (draw): don't cache the BufferView.
2300 * insetabase.h (cache, view): removed.
2302 * inset.h (generatePreview) removed.
2304 * insetcallapsable.[Ch] (cache, view, view_): removed.
2306 * insetcollapsable.C (draw): don't cache the BufferView.
2308 * insetcommand.[Ch] (view): removed.
2310 * insetexternal.[Ch] (cache, view, view_):
2311 * insetgraphics.[Ch] (cache, view, view_):
2312 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2314 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2315 when you have direct access to it. In fact, don't use the cache at all.
2317 2003-10-10 Angus Leeming <leeming@lyx.org>
2319 * insetinclude.C (metrics): use preview_->metrics.
2320 (draw): use preview_->draw.
2322 * render_preview.[Ch] (pimage): removed.
2324 2003-10-10 Angus Leeming <leeming@lyx.org>
2326 * renderers.[Ch]: removed.
2329 * render_button.[Ch]:
2330 * render_graphic.[Ch]:
2331 * render_preview.[Ch]: new files. The first three are split out of
2332 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2333 contains a re-worked InsetInclude::PreviewImpl also.
2335 * Makefile.am: reflect the changed files.
2338 * insetexternal.[Ch]:
2339 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2341 * insetinclude.[Ch]: changes reflecting the change from
2342 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2348 * inseturl.C: add #include "support/std_ostream.h"
2350 2003-10-09 Angus Leeming <leeming@lyx.org>
2352 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2353 to PreviewedInset::previewReady.
2355 2003-10-09 Angus Leeming <leeming@lyx.org>
2357 * insetexternal.[Ch] (statusChanged):
2358 * insetgraphics.[Ch] (statusChanged): make a const member function.
2360 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2363 2003-10-09 Angus Leeming <leeming@lyx.org>
2365 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2366 to PreviewedInset's previewReady and removePreview member functions.
2368 2003-10-08 André Pönitz <poenitz@gmx.net>
2370 * insetcollapsable.C:
2371 * insettext.[Ch]: saner 'init' structure
2373 * updatableinset.[Ch]: remove unneeded code
2375 2003-10-08 Angus Leeming <leeming@lyx.org>
2377 Fix doxygen warnings.
2379 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2380 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2382 2003-10-07 Angus Leeming <leeming@lyx.org>
2384 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2385 be applied to InsetExternal.
2387 * Makefile.am: add these new files.
2389 * ExternalTemplate.[Ch]: add a list of available transforms to
2390 class Template and a list of factory functions for transformer classes
2391 that can act on this data to class Format.
2393 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2395 * ExternalSupport.C: Add code to replace transform placeholders
2396 with appropriate output.
2398 2003-10-07 Angus Leeming <leeming@lyx.org>
2400 * ExternalSupport.[Ch]: new files, moving the private member functions
2401 and namespace anon functions out of insetexternal.C to here, so making
2402 it easier to understand what is going on in insetexternal itself.
2404 * Makefile.am: add new files.
2406 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2407 allowing the class to be forward declared. (Also consistent with
2408 all other Params classes.)
2409 (write): moved out of the class. Move this function and those in
2410 namespace anon to ExternalSupport.[Ch].
2412 2003-10-07 Angus Leeming <leeming@lyx.org>
2414 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2415 non-const member function.
2417 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2422 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2424 2003-10-02 André Pönitz <poenitz@gmx.net>
2426 * insettext.C (read): make sure there is at least one par
2427 in the text after reading.
2429 2003-10-01 José Matos <jamatos@lyx.org>
2431 * insetbranch.C (linuxdoc, docbook): minor fix.
2433 2003-10-01 Angus Leeming <leeming@lyx.org>
2435 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2437 * insetexternal.[Ch]: changes due to the introduction of
2438 namespace lyx::external.
2440 2003-09-30 Angus Leeming <leeming@lyx.org>
2442 * insetexternal.[Ch] (Params::read, write): new member functions.
2444 2003-09-25 Angus Leeming <leeming@lyx.org>
2446 * insetexternal.[Ch] (TempName): new (private) nested struct with
2447 fake copy semantics. Enables us to use the generated copy c-tor
2448 in the Params struct.
2449 (Params::templatename, Params::tempname): use accessor functions.
2451 2003-09-25 Angus Leeming <leeming@lyx.org>
2453 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2454 function, returning a const pointer.
2456 2003-09-23 Angus Leeming <leeming@lyx.org>
2458 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2459 store them in a vector, preambleNames.
2461 * insetexternal.C (validate): loop over all preambleNames and call
2462 LaTeXFeatures::addExternalPreamble with each.
2464 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2466 * insetbranch.C: bug fix in branches
2468 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2470 * insetnote.C: small clean-up.
2472 2003-09-19 Angus Leeming <leeming@lyx.org>
2474 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2476 * insetcommand.C (string2params): clear params using the default c-tor.
2478 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2479 InsetInclude::Params. No more data in this struct than in
2480 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2481 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2482 (clone): remove #warning as it's now redundant.
2483 (set): add a 'Buffer const &' arg. Make private.
2484 (loadIfNeeded) move out of the class definition and into namespace anon.
2485 (getMasterFilename, getFileName): ditto.
2487 2003-09-18 Angus Leeming <leeming@lyx.org>
2489 * insetcommand.C (setParams): use the params' copy constructor.
2491 2003-09-18 Angus Leeming <leeming@lyx.org>
2493 * insetinsetbase.h (getLabelList):
2494 * insetinsetcollapsable.[Ch] (getLabelList):
2495 * insetinsetinclude.[Ch] (getLabelList):
2496 * insetinsetlabel.[Ch] (getLabelList):
2497 * insetinsettabular.[Ch] (getLabelList):
2498 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2499 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2501 2003-09-18 Angus Leeming <leeming@lyx.org>
2503 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2504 redundant baggage from yesteryear.
2505 Remove Params::flag as it is redundant; the info is present in
2508 2003-09-18 Angus Leeming <leeming@lyx.org>
2510 * insetinclude.C (latexString): add a Buffer const & arg.
2512 2003-09-18 Angus Leeming <leeming@lyx.org>
2517 * insettext.h: rename EnumLColor as LColor_color.
2519 2003-09-18 Angus Leeming <leeming@lyx.org>
2521 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2522 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2524 2003-09-16 Angus Leeming <leeming@lyx.org>
2526 * insetinclude.C (localDispatch): ensure that
2527 params_.masterFilename_ is set before trying to generate a
2528 preview, else we trigger an assert.
2530 2003-09-16 Angus Leeming <leeming@lyx.org>
2532 * insetinclude.C (PreviewImpl::parent): return a const reference.
2534 2003-09-16 Angus Leeming <leeming@lyx.org>
2536 * insetcollapsable.[Ch]: make all member variables, except for
2539 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2540 than access labelfont directly.
2541 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2542 use InsetCollapsable::setCollapsed, isOpen rather than access
2543 collapsed_ directly.
2545 * insetminipage.C (metrics):
2546 * insetnote.C (metrics):
2547 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2548 access collapsed_ directly.
2550 2003-09-16 Angus Leeming <leeming@lyx.org>
2552 * insetbibitem.C: add #include "lyxfont.h".
2554 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * insetbibtex.C: use namespace alias for lyx::support::os
2559 2003-09-16 Angus Leeming <leeming@lyx.org>
2561 * insetcollapsable.h: remove unused framecolor variable.
2562 Remove #include "LColor.h".
2564 * insetcollapsable.C: remove unused framecolor variable.
2567 * insetcollapsable.C:
2575 Add #include "LColor.h".
2577 2003-09-16 Angus Leeming <leeming@lyx.org>
2579 * insettext.[Ch] (frameColor): new accessor function.
2580 (frame_color_): stored as an int, allows us to remove #include
2581 "LColor.h" from insettext.h
2586 add #include "LColor.h".
2588 * insetcollapsable.h: add #include "LColor.h"
2589 (for its framecolor member variable).
2591 2003-09-16 Angus Leeming <leeming@lyx.org>
2593 * insetenv.C (constructor): use accessor functions to access
2594 InsetText variables.
2596 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2597 rename frame_color as frame_color_. Make private.
2599 * insettext.C: associated changes.
2601 2003-09-16 Angus Leeming <leeming@lyx.org>
2603 * inset.h: store background_color_ as an int, not as an
2604 LColor::color to get LColor.h out of the header file.
2607 * insetlatexaccent.C:
2610 * insetspecialchar.C:
2612 add #include "LColor.h".
2614 2003-09-16 Angus Leeming <leeming@lyx.org>
2616 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2617 cannot string calls together.
2619 2003-09-15 Angus Leeming <leeming@lyx.org>
2621 * inset.[Ch] (setBackgroundColor, backgroundColor):
2622 * insettext.[Ch] (setFrameColor):
2623 pass EnumLColor args, rather than LColor::color ones.
2625 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * insetwrap.C: remove usage of STRCONV
2637 2003-09-15 Angus Leeming <leeming@lyx.org>
2639 * renderers.C (draw):
2640 * insetlatexaccent.C (draw): explicitly define the color passed to
2643 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2645 * insettext.C: remove block causing problems in lockInsetInInset
2646 (mentioned erroneously under Bug #1366)
2648 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2650 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2653 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2655 * several files: change Assert to BOOST_ASSERT
2657 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2659 * insettext.[Ch]: remove drawText[XY]Offset
2661 2003-09-08 Angus Leeming <leeming@lyx.org>
2663 * insetcollapsable.C:
2668 * insetspecialchar.C:
2671 * insettoc.C: remove redundant using directives.
2673 2003-09-07 Angus Leeming <leeming@lyx.org>
2676 * insetspecialchar.h: remove #include "support/std_string.h".
2678 2003-09-06 Angus Leeming <leeming@lyx.org>
2680 * renderers.C: add #include "insets/inset.h"
2682 2003-09-05 Angus Leeming <leeming@lyx.org>
2684 * *.C: strip out redundant #includes. (193 in total.)
2686 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2688 * insets/insetbibtex.[Ch]:
2689 * insets/insetcommand.h:
2690 * insets/insetfloatlist.[Ch]:
2691 * insets/insetinclude.[Ch]:
2692 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2693 of insets like bibtex, include, toc and floatlist to the visible
2694 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2695 up the dialogs. Cursor has to be in front of the inset (i.e.
2696 start of row) for this to function.
2698 2003-09-04 Angus Leeming <leeming@lyx.org>
2700 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2701 structure outside of the Format struct. Format::preambleName refers to
2702 an item in the map of all preamble snippets.
2703 Make use of the new Debug::EXTERNAL flag.
2705 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2706 (validate): Small change due to the changed storage of preamble
2709 2003-09-04 Angus Leeming <leeming@lyx.org>
2711 * insetgraphics.C: #include "support/os.h"
2713 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2714 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2715 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2717 * insetcollapsable.h:
2719 * insetnote.C: move #include "funcrequest.h" out of the header file.
2721 2003-09-03 Angus Leeming <leeming@lyx.org>
2723 * insetexternal.C (updateExternal):
2724 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2727 2003-09-03 Angus Leeming <leeming@lyx.org>
2729 * insetexternal.C: don't bring namespace lyx::support into the global
2732 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2734 * insetbranch.C: Add Branch: to label
2736 2003-09-02 John Levon <levon@movementarian.org>
2739 * insettext.C: remove cursor.i[xy]()
2741 2003-08-28 Angus Leeming <leeming@lyx.org>
2743 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2744 "sh ", enabling the conversion to be carried out even if the script
2747 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * most files: change to use const Buffer refs
2751 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2753 * insetfootlike.C: whitespace.
2755 2003-08-26 John Levon <levon@movementarian.org>
2759 * insetindex.h: remove remaining mentions of needFullRow()
2761 2003-08-26 André Pönitz <poenitz@gmx.net>
2767 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2769 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2771 * insetbranch.C: Small fix to prevent a crash on loading.
2773 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2778 * insetcollapsable.h:
2780 * insetfloatlist.[Ch]:
2781 * insetfootlike.[Ch]:
2782 * insetinclude.[Ch]:
2788 * insettheorem.[Ch]:
2789 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2790 altogether, putting the logic in metrics/draw in the insets.=20
2791 Draws short single row insets with more or less realistic metrics.
2793 2003-08-19 André Pönitz <poenitz@gmx.net>
2795 * insettext.C: use new RowPainter interface
2797 2003-08-18 John Levon <levon@movementarian.org>
2799 * insetref.C: require amsmath for eqref
2801 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2805 * insetbranch.[Ch]: implements the 'branch inset'
2806 idea. This allows the output of various versions of a document
2807 from a single source version, selectively outputing or suppressing
2808 output of parts of the text.
2809 This implementation contains a 'branch list editor' in a separate
2810 tab of the document settings dialog. Branches are user definable
2811 and have a "display colour" to distinguish them on-screen.
2813 ColorHandler was somewhat cleaned up.
2814 (1) make possible a dynamically growing LColor list by allowing
2815 the graphic context cache to grow along (vector);
2816 (2) eliminate an IMHO unnecessary step in colour allocation.
2818 2003-08-15 André Pönitz <poenitz@gmx.net>
2820 * insettext.[Ch]: adjust after rowlist split
2822 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2824 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2825 rename valign-center to valign-middle;
2826 rename VALIGN_CENTER to VALIGN_MIDDLE
2828 2003-08-11 André Pönitz <poenitz@gmx.net>
2830 * inset.h: remove resizeLyXText
2833 * insetcollapsable.[Ch]:
2835 * insettabular.[Ch]: adjust
2837 * insettext.[Ch]: remove saveLyXTextState,
2838 restoreLyXTextStat, sstate, reinitLyXText
2840 2003-08-07 André Pönitz <poenitz@gmx.net>
2842 * inset.[Ch]: move non-crucial functions out-of-line
2844 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2845 remove duplicated code.
2847 2003-08-05 André Pönitz <poenitz@gmx.net>
2850 * insetcollapsable.[Ch]:
2860 * insettabular.[Ch]:
2863 * updatableinset.[Ch]: rip out "deep update"
2865 * insettext.C (localDispatch): merge cases with default branch
2867 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2869 * insettabular.[Ch] (updateLocal): simplify logic
2871 2003-08-04 André Pönitz <poenitz@gmx.net>
2873 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2874 is 'FULL' all the time.
2876 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * insetert.C (get_new_label): only add ... to the (closed) label
2879 when the string has been shortened
2881 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2883 * Always use std::endl with lyxerr
2885 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2887 * insetnote.C: update \author list
2889 2003-07-31 André Pönitz <poenitz@gmx.net>
2891 * insetcollapsable.h:
2892 * insettabular.[Ch]:
2893 * insettext.[Ch]: remove toggleSelection
2895 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2897 (with help from Juergen Spitzmueller)
2898 * insetnote.C: add add i18n support. Use Prefs-definable
2899 colours for Comment and Greyedout.
2901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2903 * insetcollapsable.[Ch]:
2905 * insetert.C: factor out the detection of clicking on the inset
2906 button as 'hitButton'. John Levon contributed.
2908 2003-07-30 André Pönitz <poenitz@gmx.net>
2910 * insetcollapsable.C:
2912 * insettabular.C: parantheses, localize vars etc.
2914 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2916 * insetnote.C: Implement a newenvironment in preamble for
2917 greyedout. Patch provided by Jürgen Spitzmüller.
2919 2003-07-29 Angus Leeming <leeming@lyx.org>
2921 * insetcommand.C (localDispatch): default to
2922 InsetOld::localDispatch.
2924 * insetbibitem.C (localDispatch):
2925 * insetbibtex.C (localDispatch): remove call to
2926 ChangeCitationsIfUnique.
2928 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2930 * insetexternal.C (read): use pushpophelper.
2932 2003-07-28 José Matos <jamatos@lyx.org>
2934 * insetext.C (read): \end_document replaces \the_end.
2936 2003-07-28 José Matos <jamatos@fep.up.pt>
2938 * insetert.C (write): \layout -> \begin_layout.
2939 Add missing \end_layout.
2941 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * insetquotes.C: document a bit the format
2945 * insettabular.C (write): remove extra space
2947 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2948 * insetnote.C: Umpf. Hope I *now* get it right :-(
2950 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2951 *insetnote.C: did the right fix to greyedout: \color
2952 instead of \textcolor.
2954 2003-07-28 Angus Leeming <leeming@lyx.org>
2956 * insetbibtex.h: remove extraneous forward declaration.
2959 * insetbibtex.h: Also remove long-dead Holder member class
2962 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2964 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2967 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * insetwrap.C (addToToc): adjust for lyx::toc
2971 * insetfloatlist.C (ascii): adjust for lyx::toc
2973 * insetfloat.C (addToToc): adjust for lyx::toc
2975 2003-07-27 José Matos <jamatos@fep.up.pt>
2977 * insetnote.h (linuxdoc,docbook): update support.
2979 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2981 * insetfloat.C (wide): add a space to label, for consistency
2983 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * insettext.C (nextChange): adjust for lyx::find
2986 (searchForward): ditto
2987 (searchBackward): ditto
2989 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2991 * insetgraphicsParams.C:
2992 * insetexternal.C: declare extern displayTranslator
2995 * renderers.C: add #include "support/LAssert.h"
2997 2003-07-27 José Matos <jamatos@fep.up.pt>
2999 * insetfloat.[Ch] (linuxdoc):
3000 * insetgraphics.C (linuxdoc):
3001 * insettabular.C (linuxdoc):
3002 * insettext.[Ch] (linuxdoc): add support for tables and figures
3005 2003-07-27 José Matos <jamatos@fep.up.pt>
3007 * insetinclude (latex): comply with makeLaTeXFile argument change.
3009 2003-07-26 Asger Alstrup <alstrup@local>
3011 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3012 the undo crashes. We'll see what problems other places this will
3015 2003-07-26 Angus Leeming <leeming@lyx.org>
3017 * insetgraphics.C: remove unused declaration of system_tempdir.
3019 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * rename Inset to InsetOld
3023 * all inset files (clone): return a auto_ptr<InsetBase>
3025 2003-07-23 Angus Leeming <leeming@lyx.org>
3027 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3029 2003-07-23 Angus Leeming <leeming@lyx.org>
3031 * mailinset.[Ch] (inset2string):
3032 * insetcommand.[Ch] (inset2string):
3033 * insetert.[Ch] (inset2string):
3034 * insetexternal.[Ch] (inset2string):
3035 * insetfloat.[Ch] (inset2string):
3036 * insetgraphics.[Ch] (inset2string):
3037 * insetinclude.[Ch] (inset2string):
3038 * insetminipage.[Ch] (inset2string):
3039 * insetnote.[Ch] (inset2string):
3040 * insettabular.[Ch] (inset2string):
3041 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3043 * insetexternal.[Ch]:
3044 * insetgraphics.[Ch]: get rid of the view() function. Associated
3045 changes to the mailers' string2params and params2string functions.
3047 2003-07-23 Angus Leeming <leeming@lyx.org>
3049 * insetexternal.[Ch]: store the external file name in a FileName
3050 member variable rather than a string + associated changes.
3052 2003-07-21 Angus Leeming <leeming@lyx.org>
3054 * insetgraphicsParams.[Ch]: store the graphics file name in
3055 a FileName member variable rather than a string.
3057 * insetgraphics.[Ch]:
3058 * insetgraphicsParams.[Ch]: Associated changes.
3060 2003-07-21 Angus Leeming <leeming@lyx.org>
3062 * insetgraphics.[Ch] (string2params, params2string): passed a
3063 buffer_path argument.
3066 2003-07-21 Angus Leeming <leeming@lyx.org>
3069 * insetgraphicsParams.[Ch]:
3071 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3073 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3075 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3077 2003-07-18 André Pönitz <poenitz@gmx.net>
3080 * insetminipage.[Ch]:
3081 * insettabular.[Ch]:
3084 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3086 2003-07-18 André Pönitz <poenitz@gmx.net>
3090 * insetcollapsable.C:
3094 * insetgraphics.[Ch]:
3095 * insetlatexaccent.[Ch]:
3100 * insetspecialchar.C:
3101 * insettabular.[Ch]:
3103 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3105 2003-07-17 André Pönitz <poenitz@gmx.net>
3107 * insetcollapsable.C:
3109 * insettext.C: don't call Inset::update() anymore
3112 * insettabular.[Ch]: remove unneeded in_update_ members
3114 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3116 2003-07-16 André Pönitz <poenitz@gmx.net>
3118 * insettext.C (selectAll): remove
3120 2003-07-16 John Levon <levon@movementarian.org>
3123 * insetnote.C: implement showInsetDialog()
3125 2003-07-15 André Pönitz <poenitz@gmx.net>
3128 * insettext.C: refresh_status tristate -> need_update bool
3130 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3132 * insettext.C: adjust call to LyXText::init
3134 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3136 * insettext.C: use bufferview_funcs->replaceSelection()
3137 to delete selections in some cases (bugs 441, 673, 702, 954).
3139 2003-07-14 André Pönitz <poenitz@gmx.net>
3141 * insettext.C (draw): use slimmed down rowpainter interface
3143 2003-07-14 André Pönitz <poenitz@gmx.net>
3145 * insetcollapsable.C:
3147 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3148 remove unused BufferView * argument
3150 2003-07-14 André Pönitz <poenitz@gmx.net>
3152 * insettext.[Ch]: used cached metrics a bit more
3154 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3156 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3158 2003-07-10 André Pönitz <poenitz@gmx.net>
3161 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3163 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * introduce namespace lyx::graphics
3167 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * introduce namespace lyx::support
3171 2003-06-30 André Pönitz <poenitz@gmx.net>
3173 * insetcite.C (localDispatch): fix case of missing return value
3175 * insetcite.C (ascii): remove unneeded temporary
3177 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * insetspace.h: fix \file
3181 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3182 * insetinclude.C (fillWithBibKeys): ditto
3184 * insetbibitem.C: fix type const order
3186 * inset.C (getLyXText): add varname for arg
3188 * ExternalTemplate.h: fix type const order
3190 2003-06-27 André Pönitz <poenitz@gmx.net>
3192 * insettext.C: take care of removed LyXCursor::row_ member
3194 * insettext.[Ch]: use new TextCursor struct for sstate
3196 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3198 * inseterror.[Ch]: removed
3200 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3202 * insetinclude.C (docbook): use parseError instead of sgmlError
3204 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3206 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3207 of BufferList::loadLyXFile
3209 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * insettext.C (update): simplify
3212 (updateLocal): remove commented code
3213 (insetUnlock): simplify
3214 (lockInset): simplify
3215 (updateInsetInInset): simplify
3216 (localDispatch): simplify
3218 (resizeLyXText): simplify
3219 (collapseParagraphs): simplify
3221 * insetert.C (get_new_label): simplify
3223 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3225 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3226 pasteSelection with index
3228 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3230 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3232 2003-06-16 André Pönitz <poenitz@gmx.net>
3234 * insetbase.h: new virtual base function clone()
3236 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3237 Inset * clone() -> InsetBase * clone()
3239 2003-06-13 André Pönitz <poenitz@gmx.net>
3241 * insettabular.[Ch]: make tabular a proper member
3243 2003-06-12 André Pönitz <poenitz@gmx.net>
3245 * insettabular.[Ch]: some renaming plus whitespace
3247 2003-06-11 Angus Leeming <leeming@lyx.org>
3249 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3252 * insetbutton.[Ch]: removed.
3253 * graphicinset.[Ch]: renamed as renderers.[Ch].
3255 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3256 Create a new class ButtonRenderer using the InsetButton::metrics() and
3258 Derive both from a common RenderedInset base class.
3260 * insetcommand.[Ch]:
3261 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3262 Give it a ButtonRenderer member variable. Use it.
3263 Give the classes working copy c-tors.
3264 No longer derive from boost::noncopyable.
3266 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3267 display its contents as a button or as a graphic.
3269 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3272 2003-06-11 Angus Leeming <leeming@lyx.org>
3274 * insetcite.C (localDispatch): reformat.
3276 * insetref.C (localDispatch): enable dialog to be lauched.
3278 2003-06-11 John Levon <levon@movementarian.org>
3280 * insettabular.C: correctly mark all cells as erased
3282 2003-06-11 Angus Leeming <leeming@lyx.org>
3284 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3285 ExternalTemplate but its name, templatename. This means that a file
3286 containing a reference to an External Template not installed on the
3287 current machine will be saved retaining this info rather than inserting
3288 the first "valid" template from the list of templates.
3290 As a by product, the visual statement that the Template is missing is
3293 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3295 * insettext.C (appendParagraphs): remove some commented code.
3297 2003-06-10 Angus Leeming <leeming@lyx.org>
3299 * graphicinset.[Ch] (view): removed the publicly accessible
3300 function to set the cache.
3302 * insetexternal.[Ch]: move tempname_ into the Params struct.
3303 (Params d-tor): new function, to clean-up this temp file.
3304 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3306 (editExternal, doSubstitution): move out of class.
3308 2003-06-10 Angus Leeming <leeming@lyx.org>
3310 * graphicinset.[Ch] (params): removed.
3311 * graphicinset.h (operator=): declared private but not defined.
3312 (statusMessage): made private.
3314 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3316 2003-06-07 John Levon <levon@movementarian.org>
3318 * insetert.C (latex): make a newline mean just that not
3321 2003-06-07 José Matos <jamatos@fep.up.pt>
3323 * insethfill.[Ch] (linuxdoc, docbook): implement output
3324 * insetspace.C (linuxdoc, docbook): remove coments as the code
3327 2003-06-06 José Matos <jamatos@fep.up.pt>
3329 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3331 2003-06-06 André Pönitz <poenitz@gmx.net>
3333 * insetwrap.[Ch]: code compactification
3335 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3337 * mailinset.C (updateDialog): use Dialogs::visible
3339 2003-06-04 Angus Leeming <leeming@lyx.org>
3341 * graphicinset.C (draw): add a comment for the #if 0 block.
3343 * insetexternal.h: remove Params::parameters variable.
3345 * insetexternal.C (read, write): rewrite to output new ExternalInset
3346 format and read it back making full use of LyXLex.
3348 2003-06-04 André Pönitz <poenitz@gmx.net>
3350 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3352 2003-06-04 John Levon <levon@movementarian.org>
3354 * insettabular.C: back out tall table speed up. It was broken
3356 2003-06-03 Angus Leeming <leeming@lyx.org>
3358 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3359 Remove ViewCommand and UpdateCommand.
3361 * graphicinset.C (update): bug fix. Set the params before calling the
3364 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3365 the BufferView cache to enable the InsetExternal::editCommand to
3366 be invoked from the frontends. Would not be needed if this were
3367 dispatched properly.
3368 (old_ascent_): variable removed.
3370 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3371 do any necessary conversions of external material. Also use the
3372 new GraphicsInset to display the inset within LyX.
3374 2003-06-03 Angus Leeming <leeming@lyx.org>
3376 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3377 and move it somewhere where InsetExternal can use it too.
3379 * Makefile.am: add the new files.
3381 * insetgraphics.[Ch]: make use of the new GraphicInset.
3383 2003-06-03 John Levon <levon@movementarian.org>
3386 * insetbibitem.[Ch]:
3389 * insetcommand.[Ch]:
3393 * insetexternal.[Ch]:
3397 * insetgraphics.[Ch]:
3399 * insetinclude.[Ch]:
3402 * insetlatexaccent.[Ch]:
3403 * insetmarginal.[Ch]:
3404 * insetminipage.[Ch]:
3411 * insetspecialchar.[Ch]:
3412 * insettabular.[Ch]:
3414 * insetthereom.[Ch]:
3417 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3419 * insetgraphics.[Ch]:
3420 * insetgraphicsParams.[Ch]: always store an absolute
3423 2003-06-02 André Pönitz <poenitz@gmx.net>
3427 * insetlatexaccent.C: remove duplicated call to metrics()
3429 2003-06-02 John Levon <levon@movementarian.org>
3431 * insettabular.C: fix resize of column width
3433 2003-06-02 John Levon <levon@movementarian.org>
3438 * insetparent.C: remove insetparent
3440 2003-06-02 André Pönitz <poenitz@gmx.net>
3447 * insetcollapsable.[Ch]:
3451 * insetgraphics.[Ch]:
3452 * insetinclude.[Ch]:
3453 * insetlatexaccent.[Ch]:
3454 * insetminipage.[Ch]:
3455 * insetnewline.[Ch]:
3458 * insetspecialchar.[Ch]:
3459 * insettabular.[Ch]:
3460 * insettext.[Ch]: unify first drawing phase
3463 * insetbase.h: move validate() to the base
3465 2003-05-31 Angus Leeming <leeming@lyx.org>
3467 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3469 2003-05-30 André Pönitz <poenitz@gmx.net>
3474 * insetcaption.[Ch]:
3475 * insetcollapsable.[Ch]:
3478 * insetgraphics.[Ch]:
3479 * insetinclude.[Ch]:
3480 * insetlatexaccent.[Ch]:
3481 * insetnewline.[Ch]:
3484 * insetspecialchar.[Ch]:
3485 * insettabular.[Ch]:
3487 * updatableinset.[Ch]: unify second drawing phase
3489 2003-05-30 John Levon <levon@movementarian.org>
3491 * insetgraphics.C: fix a bformat
3493 2003-05-29 John Levon <levon@movementarian.org>
3495 * insettabular.C: remove unused bufferOwner()
3497 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3499 * insettext.C (lockInsetInInset): adjust
3500 (getLabelList): use const_iterator, adjust
3501 (getInsetFromID): use const_iterator, adjust
3502 (addPreview): use const_iterator, adjust
3504 * insetwrap.C (clone): remove const_cast
3506 * insetnote.C (clone): remove const_cast
3508 * insetminipage.C (clone): remove const_cast
3510 * insetmarginal.C (clone): remove const_cast
3512 * insetfoot.C (clone): remove const_cast
3514 * insetfloat.C (clone): remove const_cast
3516 * insetert.C (clone): remove const_cast
3518 * delete commented same_id functions from a lot of files.
3520 2003-05-28 John Levon <levon@movementarian.org>
3526 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3528 * insetminipage.C: fix metrics (bug 1144)
3530 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3532 * insettext.C (saveLyXTextState): adjust
3533 (restoreLyXTextState): adjust
3536 (unlockInsetInInset): adjust
3537 (localDispatch): adjust
3538 (getLyXText): adjust
3540 * insettabular.C (insertAsciiString): adjust
3542 2003-05-27 André Pönitz <poenitz@gmx.net>
3545 * insetcollapsable.C:
3548 * insetlatexaccent.C:
3553 * insetspecialchar.C:
3555 * insettext.C: dim.w -> dim.wid
3557 2003-05-26 John Levon <levon@movementarian.org>
3559 * insettabular.C: avoid drawing all of a long table
3560 if it's not needed. A big speedup
3562 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * remove same_id from function signatures, adjust
3566 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * insettext.C (InsetText): adjust
3570 (setParagraphData): separate same_id cases, adjust
3571 (appendParagraphs): adjust
3572 (appendParagraphs): adjust
3574 2003-05-23 André Pönitz <poenitz@gmx.net>
3576 * insetbutton.h: whitespace
3578 * insettabular.C: more compact code
3580 * updatableinset.C: remove const_cast
3583 2003-05-23 Angus Leeming <leeming@lyx.org>
3585 * insetexternal.C (write): check how many lines are output.
3586 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3587 if the template has defined it.
3589 2003-05-23 Angus Leeming <leeming@lyx.org>
3591 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3593 2003-05-23 Angus Leeming <leeming@lyx.org>
3595 * insetfoot.C (latex):
3596 * inseturl.C (latex): rename fragile as moving_arg.
3598 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * inseterror.C (localDispatch): comment out unused var.
3602 2003-05-22 Angus Leeming <leeming@lyx.org>
3604 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3605 passed through the LatexRunParams arg.
3607 2003-05-22 Angus Leeming <leeming@lyx.org>
3609 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3610 through the LatexRunParams arg.
3612 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3613 arg rather than through a global var.
3615 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * insetspecialchar.C (dimension): use a string.
3619 2003-05-22 Angus Leeming <leeming@lyx.org>
3621 * insetbibtex.C (latex):
3622 * insetgraphics.C (latex):
3623 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3624 runparams rather than from the buffer itself.
3626 2003-05-22 Angus Leeming <leeming@lyx.org>
3628 * inset*.[Ch] (latex):
3629 passed a LatexRunParams parameter.
3631 * insetgraphics.C (latex): actually use it ;-)
3633 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3635 * insetfloat.C (addToToc): trivial compile fix
3637 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * insettext.[Ch] (paragraph): delete unused function
3641 * insetfloat.C (addToToc): parlist simplfication
3643 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3645 * insetspace.[Ch]: added (new space insets)
3647 * inset.h: handle new space insets
3649 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * insetfloat.C (addToToc): adjust
3653 2003-05-21 André Pönitz <poenitz@gmx.net>
3655 * insettext.[Ch]: fix drawing bug introduced earlier
3657 2003-05-19 André Pönitz <poenitz@gmx.net>
3659 * insetspecialchar.C: fix bug introduced yesterday
3661 2003-05-19 André Pönitz <poenitz@gmx.net>
3665 * insetcollapsable.[Ch]:
3669 * insetgraphics.[Ch]:
3670 * insetgraphicsParams.[Ch]:
3671 * insetlatexaccent.[Ch]:
3672 * insetminipage.[Ch]:
3673 * insetnewline.[Ch]:
3675 * insetspecialchar.[Ch]:
3676 * insettabular.[Ch]:
3677 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3679 2003-05-19 André Pönitz <poenitz@gmx.net>
3682 * insettext.C: more insetenv
3684 2003-05-16 André Pönitz <poenitz@gmx.net>
3687 * insetminimpage.[Ch]:
3688 * insetcollapsable.[Ch]: fix #832
3690 2003-05-16 André Pönitz <poenitz@gmx.net>
3693 * insetbibitem.[Ch]:
3697 * insetcollapsable.[Ch]:
3698 * insetcommand.[Ch]:
3701 * insetexternal.[Ch]:
3702 * insetfloatlist.[Ch]:
3703 * insetgraphics.[Ch]:
3704 * insetinclude.[Ch]:
3707 * insetlatexaccent.[Ch]:
3710 * insettabular.[Ch]:
3714 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3716 2003-05-13 André Pönitz <poenitz@gmx.net>
3719 * insetcollapsable.C:
3723 * insetwrap.C: tostr from own header
3735 * insetwrap.C: STRCONV
3738 2003-05-12 André Pönitz <poenitz@gmx.net>
3750 * insetwwrap.C: boost::format -> bformat all over the place
3752 2003-05-05 André Pönitz <poenitz@gmx.net>
3754 * insettext.h: add missing #include <map>
3756 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * insettext.C (InsetText): parlist cleanup
3761 (insetUnlock): ditto
3763 (lockInsetInInset): ditto
3767 (searchBackward): ditto
3768 (collapseParagraphs): ditto
3770 2003-05-06 John Levon <levon@movementarian.org>
3772 * insetcaption.C: don't cast wrap inset to InsetFloat
3775 * insetfloat.C: remove unneeded type() function
3777 2003-05-05 André Pönitz <poenitz@gmx.net>
3781 * insettabular.[Ch]:
3782 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3783 replace getFirstParagraph() by getParagraphs()
3785 2003-05-03 John Levon <levon@movementarian.org>
3787 * insetcollapsable.h:
3788 * insetcollapsable.C:
3794 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3795 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3796 getCursor(). Remove explicit cursor hides.
3798 2003-05-02 André Pönitz <poenitz@gmx.net>
3800 * insettext.C: remove unneeded &*
3802 2003-04-30 John Levon <levon@movementarian.org>
3804 * insettabular.C: fix edit message
3806 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * insettext.C (setFont): do not convert iterator -> pointer
3810 * insettabular.C (localDispatch): do not convert iterator -> pointer
3812 (tabularFeatures): ditto
3814 2003-04-29 André Pönitz <poenitz@gmx.net>
3816 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3818 2003-04-28 André Pönitz <poenitz@gmx.net>
3820 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3823 2003-04-25 André Pönitz <poenitz@gmx.net>
3825 * insetenv.C: derive from InsetText instead of InsetCollapsable
3827 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * insetexternal.C (string2params): dont do anything if the string
3831 * insetgraphics.C (string2params): ditto
3832 * insetcommand.C (string2params): ditto
3833 * insetert.C (string2params): ditto
3834 * insetfloat.C (string2params): ditto
3835 * insetinclude.C (string2params): ditto
3836 * insetminipage.C (string2params): ditto
3837 * insettabular.C (string2params): ditto
3838 * insetwrap.C (string2params): ditto
3840 2003-04-24 André Pönitz <poenitz@gmx.net>
3842 * insetref.C: support for eqref
3844 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * insetert.C (read): use ParagraphList::iterator.
3848 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * insetquotes.C (latex): comment some code and add warnings.
3852 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3854 * insetexternal.C (localDispatch): added a missing DISPATCHED
3856 2003-04-12 John Levon <levon@movementarian.org>
3858 * insetwrap.C (addToToc): fix a crash, conversion
3859 from while to for loop forgot to remove the explicit
3862 2003-04-10 John Levon <levon@movementarian.org>
3864 * insettabular.C (tabularFeature): make sure
3865 to update the dialog when we change something
3868 (getStatus): don't disable some lfuns (bug 939)
3870 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * insettext.C (saveLyXTextState): adjust
3873 (localDispatch): adjust
3879 * insettabular.C (localDispatch): adjust
3881 (tabularFeatures): adjust
3883 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3885 * insettabular.C (searchForward,searchBackward): fix bug 782
3887 2003-04-07 John Levon <levon@movementarian.org>
3890 * insettext.C: clear status message on inset exit
3892 2003-04-03 John Levon <levon@movementarian.org>
3894 * insetcommand.C: return dispatched on DIALOG_UPDATE
3896 2003-04-02 John Levon <levon@movementarian.org>
3898 * insettabular.C: tab lfuns renamed
3900 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * insettext.C (update): move towards ParagraphList
3903 (updateLocal): ditto
3905 (insetUnlock): ditto
3907 (lockInsetInInset): ditto
3908 (updateInsetInInset): ditto
3909 (localDispatch): ditto
3912 (resizeLyXText): ditto
3913 (searchBackward): ditto
3914 (collapseParagraphs): ditto
3917 * insetwrap.C (InsetWrap): adjust
3918 (addToToc): adjust and rewrite loop
3920 * insettext.[Ch] (paragraph): delete function
3922 * insettabular.C (moveNextCell): adjust
3923 (movePrevCell): adjust
3924 (insertAsciiString): adjust
3926 * insetfloat.C (InsetFloat): adjust
3929 * insetert.C (InsetERT): adjust
3930 (write): adjust, and rewrite loop
3931 (latex): adjust, and rewrite loop
3932 (linuxdoc): adjust, and rewrite loop
3933 (docbook): adjust, and rewrite loop
3934 (localDispatch): adjust
3935 (get_new_label): adjust
3937 2003-04-01 John Levon <levon@movementarian.org>
3939 From Alfredo Braunstein
3942 * insetbutton.C: add localDispatch()
3944 * insetcommand.C: return DISPATCHED when edit() called
3946 * insettext.C: fix bug 967
3948 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * insettext.C: adjust
3952 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * insettext.C (draw): adjust
3955 (crow): return a RowList::iterator not a Row*
3957 * insetminipage.C (localDispatch): adjust
3959 * insetert.C (localDispatch): adjust
3961 2003-03-31 John Levon <levon@movementarian.org>
3964 * insetgraphicsParams.C: use_gui moved to lyx_gui
3966 2003-03-31 John Levon <levon@movementarian.org>
3968 * insettext.C: Alert fix
3970 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * insettext.C (ascent): adjust for RowList
3975 (getLyXText): adjust
3976 (toggleSelection): adjust
3978 * insetminipage.C (localDispatch): adjust for RowList
3980 * insetert.C (localDispatch): adjust for RowList
3981 (getMaxWidth): adjust for RowList
3983 2003-03-29 John Levon <levon@movementarian.org>
3985 * insetert.C: Alert cleanup
3987 2003-03-29 John Levon <levon@movementarian.org>
3989 * insettabular.C: Alert fix
3991 2003-03-28 John Levon <levon@movementarian.org>
3993 * insetfloat.C: reset label on INSET_MODIFY
3995 2003-03-28 John Levon <levon@movementarian.org>
3997 * insetgraphicsParams.C: read subcaptionText as a whole line
4000 2003-03-28 John Levon <levon@movementarian.org>
4002 * insettext.C: remove unused prototypes
4004 2003-03-25 Angus Leeming <leeming@lyx.org>
4006 * insetbibitem.C (localDispatch): repaint the view after modifying
4007 a bibitem inset in case the maximum InsetBibitem width has changed.
4009 2003-03-25 John Levon <levon@movementarian.org>
4012 * insettabular.C: LyXText renamings
4014 2003-03-24 John Levon <levon@movementarian.org>
4016 * insettext.C: remove some dead code. Fix bug 972 and
4017 related by posting a repaint in updateLocal(), and making
4018 the SEL functions set SELECTION.
4020 2003-03-22 John Levon <levon@movementarian.org>
4023 * inset.C: remove no-longer-needed topx_set
4025 * insetcollapsable.h:
4026 * insetcollapsable.C: remove dead code
4029 * insetert.C: rebreak the rows when a possible
4030 change in size is made, and reset the cursor
4033 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4035 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4036 topx_set. Fix drawing errors for clearInset(). Remove
4037 some unnecessary uses of topx, which should die.
4039 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4040 is no longer needed. Replace it with an ugly hack.
4042 2003-03-20 John Levon <levon@movementarian.org>
4045 * insetcollapsable.h:
4046 * insetcollapsable.C:
4054 * insettext.C: remove spurious font parameter
4055 from update(). Fix drawing of ERT insets inside
4056 insets (bug 966). Remove unused mark_dirty from
4057 tabular's updateLocal()
4059 2003-03-19 John Levon <levon@movementarian.org>
4068 * insetwrap.C: remove unused getter/setters
4070 2003-03-19 John Levon <levon@movementarian.org>
4072 * several files: bv->updateInset() doesn't take
4073 a bool mark_dirty any more
4075 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * adjust for BufferView* arg removal from lyxtext.
4079 2003-03-17 John Levon <levon@movementarian.org>
4081 * most files: remove the "cleared" parameter
4082 to draw in favour of always clearing. Associated
4085 2003-03-16 John Levon <levon@movementarian.org>
4087 * insettext.C: remove unused s.refresh
4089 2003-03-13 Angus Leeming <leeming@lyx.org>
4091 * insettext.C (edit): replace Dialogs::updateParagraph with
4092 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4094 2003-03-13 André Pönitz <poenitz@gmx.net>
4096 * Makefile.am: insert insetenv
4098 * insethenv.[Ch]: new files, currently inactive
4100 2003-03-12 John Levon <levon@movementarian.org>
4110 * insettext.C: use new insetnewline
4112 2003-03-12 John Levon <levon@movementarian.org>
4114 * insettext.C: readToken became readParagraph
4116 2003-03-12 John Levon <levon@movementarian.org>
4118 * insettext.C: use parlist iterator for reading contents
4120 2003-03-12 John Levon <levon@movementarian.org>
4122 * insettext.C: name change to readToken()
4124 2003-03-11 André Pönitz <poenitz@gmx.net>
4126 * Makefile.am: insert insethfill
4128 * insethfill.[Ch]: new files
4130 2003-03-10 Angus Leeming <leeming@lyx.org>
4132 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4134 (hideDialog): calls the new static Dialogs::hide() method.
4136 * insetbibitem.C (edit):
4137 * insetbibtex.C (edit):
4138 * insetcite.C (edit):
4139 * insetcommand.C (localDispatch):
4140 * inseterror.C (d-tor):
4141 * insetert.C (showInsetDialog):
4142 * insetexternal.C (localDispatch, edit):
4143 * insetfloat.C (localDispatch, showInsetDialog):
4144 * insetfloatlist.C (edit):
4145 * insetgraphics.C (localDispatch, edit):
4146 * insetinclude.C (localDispatch, edit):
4147 * insetindex.C (edit):
4148 * insetlabel.C (edit):
4149 * insetminipage.C (localDispatch, showInsetDialog):
4150 * insetref.C (edit):
4151 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4152 resetPos, showInsetDialog, openLayoutDialog):
4153 * insettoc.C (edit):
4154 * inseturl.C (edit):
4155 * insetwrap.C (localDispatch, showInsetDialog):
4156 changes due to the changed MailInset interface.
4158 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4160 * insetfloat.h: Set default placement to an empty string.
4162 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4164 * insettext.C (latex): adjust call to latexParagraphs.
4166 2003-03-10 Angus Leeming <leeming@lyx.org>
4168 * mailinset.C: warn the user if the BufferView has not been cached.
4170 2003-03-10 Angus Leeming <leeming@lyx.org>
4172 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4174 * insetcommand.h (inset):
4175 * insetert.h (inset):
4176 * insetexternal.h (inset):
4177 * insetfloat.h (inset):
4178 * insetgraphics.h (inset):
4179 * insetinclude.h (inset):
4180 * insetminipage.h (inset):
4181 * insettabular.h (inset):
4182 * insetwrap.h (inset):
4183 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4185 2003-03-10 Angus Leeming <leeming@lyx.org>
4187 * insetcommand.C (string2params):
4188 * insetexternal.C (string2params):
4189 * insetfloat.C (string2params):
4190 * insetgraphics.C (string2params):
4191 * insetinclude.C (string2params):
4192 * insetminipage.C (string2params):
4193 * insettabular.C (string2params):
4194 * insetwrap.C (string2params): cure warning message about missing
4197 2003-03-09 Angus Leeming <leeming@lyx.org>
4199 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4200 it to communicate with the frontend dialogs.
4202 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4203 contents of this inset!
4205 2003-03-07 Angus Leeming <leeming@lyx.org>
4207 * inseterror.C (localDispatch): new method; calls edit() on
4210 2003-03-07 Angus Leeming <leeming@lyx.org>
4212 * insetbibitem.C (localDispatch):
4213 * insetbibtex.C (localDispatch):
4214 * insetlabel.C (localDispatch):
4215 rewrite as a switch.
4217 2003-03-07 Angus Leeming <leeming@lyx.org>
4219 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4220 it to communicate with the frontend dialogs.
4222 2003-03-07 Angus Leeming <leeming@lyx.org>
4224 * insetexternal.C: remove operator== and operator!= for
4225 InsetExternal::Params. They were used only by the old controller
4228 2003-03-07 Angus Leeming <leeming@lyx.org>
4230 * insetcommand.C (localDispatch):
4231 * insetexternal.C (localDispatch):
4232 * insetfloat.C (localDispatch):
4233 * insetinclude.C (localDispatch):
4234 * insetminipage.C (localDispatch):
4235 * insetwrap.C (localDispatch):
4236 add LFUN_INSET_DIALOG_UPDATE to the switch.
4238 2003-03-07 Angus Leeming <leeming@lyx.org>
4240 * insetcommand.C (string2params):
4241 * insetexternal.C (string2params):
4242 * insetfloat.C (string2params):
4243 * insetinclude.C (string2params):
4244 * insetwrap.C (string2params): use LyXLeX more.
4247 * insetexternal.[Ch]:
4249 * insetinclude.[Ch]:
4250 * insetwrap.[Ch]: change Mailer::name_ to be static.
4252 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4253 it to communicate with the frontend dialogs.
4255 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4258 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4260 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * insettext.C (updateLocal): un-const function
4263 (updateLocal): adjust
4264 (collapseParagraphs): un-const function
4265 (collapseParagraphs): adjust
4267 2003-03-05 Angus Leeming <leeming@lyx.org>
4269 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4270 it to communicate with the frontend dialogs.
4272 2003-03-05 Angus Leeming <leeming@lyx.org>
4274 * insetcollapsable.C (draw): cache the BufferView.
4276 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4277 it to communicate with the frontend dialogs.
4279 2003-03-05 Angus Leeming <leeming@lyx.org>
4281 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4284 2003-03-05 Angus Leeming <leeming@lyx.org>
4286 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4288 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4289 it to communicate with the frontend dialogs.
4291 2003-03-05 Angus Leeming <leeming@lyx.org>
4293 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4294 it to communicate with the frontend dialogs.
4296 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * insettext.C (collapseParagraphs): adjust
4299 (appendParagraphs): make it take a Buffer* instead of a
4300 BufferParams& as arg.
4301 (appendParagraphs): adjust
4303 2003-03-04 Angus Leeming <leeming@lyx.org>
4305 * insetbibitem.C (localDispatch):
4306 * insetbibtex.C (localDispatch):
4307 * insetcommand.C (localDispatch):
4308 * insetert.C (localDispatch):
4309 * insetlabel.C (localDispatch):
4310 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4312 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * insettext.C (latex): adjust for ParagraphList::iterator
4316 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * insetbutton.C (view): adjust for boost 1.30.0
4319 * insetcollapsable.C (view): ditto
4320 * insetgraphics.C (statusChanged): ditto
4322 * insettext.h: move paragraphs to be public.
4324 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * insetnote.[Ch] (InsetNote): remove unused constructor
4328 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4330 * insetgraphics.C: added include "format.h"
4332 2003-02-27 Angus Leeming <leeming@lyx.org>
4334 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4337 2003-02-27 Angus Leeming <leeming@lyx.org>
4339 * insetbibitem.C (localDispatch):
4340 * insetbibtex.C (localDispatch):
4343 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4345 2003-02-26 Angus Leeming <leeming@lyx.org>
4347 * insetbibitem.[Ch] (localDispatch):
4348 * insetbibtex.[Ch] (localDispatch):
4349 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4351 * insetcommand.C (localDispatch):
4352 act only on receipt of LFUN_XYZ_APPLY.
4354 * insetert.C (localDispatch): reformat.
4355 add LFUN_XYZ_APPLY to the switch.
4357 2003-02-26 John Levon <levon@movementarian.org>
4359 * insettext.C: use RowPainter
4361 * inset.h: make helpers take const *
4363 2003-02-26 Angus Leeming <leeming@lyx.org>
4365 * insetcommand.[Ch] (localDispatch): new method.
4367 2003-02-26 Angus Leeming <leeming@lyx.org>
4369 * insetinclude.C (draw): cache the BufferView* using cache not
4370 PreviewImpl::setView
4372 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4374 * insetgraphics.C (draw)
4375 * insetinclude.C (draw): Eliminate also the other argument (owner
4376 inset inset) in the call to PreviewImage::image
4378 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4380 * insetgraphics.C (draw)
4381 * insetinclude.C (draw): Eliminate Buferview argument in call to
4384 2003-02-25 John Levon <levon@movementarian.org>
4386 * insetgraphicsParams.h:
4387 * insetgraphics.C: don't start a load process if
4388 the inset is set to NoDisplay (bug #920)
4390 2003-02-22 John Levon <levon@movementarian.org>
4393 * insetwrap.C: TocItem changed API (bug 913)
4395 2003-02-21 Angus Leeming <leeming@lyx.org>
4397 * insetcollapsable.[Ch] (cache, edit):
4398 * insetbutton.[Ch] (cache, edit): new methods to cache the
4399 BufferView in the draw method.
4401 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4402 simplify comunication between InsetCommand-derived classes and
4405 * insetbibitem.[Ch]:
4409 * insetfloatlist.[Ch]:
4413 * inseturl.[Ch]: small changes to reflect the new interface to the
4416 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4417 other, similar classes.
4419 * Makefile.am: add new files.
4421 2003-02-21 Angus Leeming <leeming@lyx.org>
4423 * updatableinset.h (setView, view): remove.
4424 * inset.h (view, cache): to be replaced by these.
4426 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4429 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4432 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4434 2003-02-21 Allan Rae <rae@lyx.org>
4436 * insetinclude.C (loadIfNeeded): ensure loading also works when
4437 child document is under version control.
4439 2003-02-17 André Pönitz <poenitz@gmx.net>
4441 * insetbib.[Ch]: Adjust access to bibkeys
4443 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4445 * insetquotes.C (dispString): remove use of acute accent for "'"
4448 2003-02-14 John Levon <levon@movementarian.org>
4450 * insettabular.C: changed method names in tabular.C
4452 2003-02-14 John Levon <levon@movementarian.org>
4456 * insetcollapsable.h:
4457 * insetcollapsable.C:
4461 * insettext.C: remove unused getParFromID()
4463 2003-02-13 John Levon <levon@movementarian.org>
4466 * insettext.C: remove unused beginningofMainBody()
4468 2003-02-08 John Levon <levon@movementarian.org>
4472 * insetcollapsable.h:
4473 * insetcollapsable.C:
4478 add nextChange(). Make allowSpellcheck() const. Add markErased().
4480 * insetert.C: ignore deleted text
4482 * insettabular.C: make sure to keep change tracking working
4485 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4490 * insettext.C: Use error messages with identical spelling and
4493 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4495 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4497 2002-12-17 Juergen Vigna <jug@lyx.org>
4499 * insettext.C (localDispatch): hopefully fixed cursor up down
4500 movement on leaving other insets.
4502 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4504 * insettext.C: fix inconsistent usage of spaces, colons,
4505 capitalization, and the like.
4507 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4509 * insetgraphics.C (prepareFile): do not remove the extension of
4510 the file name if it is not the default extension for the given
4511 format (that is, in latex output, remove extension from foo.eps,
4512 but not from foo.epsi)
4514 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4516 * insettext.C (lfunMouseRelease): hackish solution to the "double
4519 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * insetfloat.C (addToToc): use the floats name not its type
4522 * insetwrap.C (addToToc): ditto
4524 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4526 * insetnote.C (init): make label font smaller
4528 2002-12-04 John Levon <levon@movementarian.org>
4530 * insetinclude.C: ressurect setting of command name
4532 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * insetquotes.C (dispString): disambiguate insert call
4536 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * several files: ws changes
4540 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * insetquotes.C (dispString): use string::insert for prepending a
4545 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4547 * insetparent.C (getScreenLabel): use boost::format
4549 * insetgraphics.C (prepareFile): use boost::format
4552 * insetfloatlist.C (latex): use boost::format
4554 * insetcaption.C (draw): use boost::format
4556 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4558 * insettabular.C (tabularFeatures): Support for block alignment in
4559 fixed width columns.
4561 2002-11-20 Juergen Vigna <jug@sad.it>
4563 * insettabular.C (resetPos): temporary fix for endless loop in
4564 this function on a redraw.
4566 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * insettabular.C (copySelection): STRCONV
4570 * insetinclude.C (uniqueID): STRCONV
4571 (latexString): ditto
4573 * insetgraphics.C: put VersionNumber inside anon namespace
4574 (createLatexOptions): STRCONV
4576 * insetcommandparams.C: include config.h
4578 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4580 * insetgraphicsParams.C (Write): use lyx::float_equal.
4581 Write height data correctly.
4582 (Read): zero scale when reading height data.
4584 2002-10-30 John Levon <levon@movementarian.org>
4586 * insetfloat.C (addToTOC): recursively traverse all
4587 contents looking for captions (fix #568)
4589 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4591 * insetexternal.C (doSubstitution): do not try to replace
4592 environment variables, this is done when executing the command
4594 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4596 * insetexternal.C (doSubstitution): change order of substitution
4597 to work around ReplaceEnvironmentPath brokenness
4599 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4601 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4603 * insetgraphicsParams.C (init, Write): associated changes
4604 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4605 InsetGraphicsParams::scale.
4607 2002-10-21 John Levon <levon@movementarian.org>
4609 * inset.h: remove unused DISPATCH_RESULT
4611 * insettext.C: sgml open/close tag now in sgml namespace
4613 2002-10-21 Angus Leeming <leeming@lyx.org>
4615 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4616 file path subdir/fig.eps when pasting it into a buffer in a different
4619 2002-10-16 John Levon <levon@movementarian.org>
4621 * insetspecialchar.C: remove \\protected_separator parsing
4623 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4625 * insetquote.C: fix LaTeX output of quotation marks.
4627 2002-10-14 Juergen Vigna <jug@sad.it>
4629 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4630 Backspace functions which confused the Undo handling.
4632 2002-10-09 Angus Leeming <leeming@lyx.org>
4634 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4635 BufferView::dispatch that turns off this optimisation when a new inset
4638 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4639 reload the BibTeX keys.
4641 2002-10-11 André Pönitz <poenitz@gmx.net>
4643 * insettext.h: handle LFUN_PRIOR/NEXT
4645 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4647 * insetfloat.C: fix bug with float settings
4648 (document default != float default).
4650 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4652 * insetwrap.C (addToToc): New method.
4653 (InsetWrap): Set layout to caption.
4655 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4659 2002-09-16 John Levon <levon@movementarian.org>
4661 * insettabular.h: hasSelection() needs to be public
4663 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4665 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4667 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4669 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4671 2002-09-11 André Pönitz <poenitz@gmx.net>
4673 * insettabular.C: implement LFUN_WORDSEL
4675 2002-09-10 John Levon <levon@movementarian.org>
4677 * insetinclude.h: remove unused param
4679 2002-09-09 John Levon <levon@movementarian.org>
4682 * insetinclude.C: remove noload, default to input
4684 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4686 * insetgraphics.C: disfuscated use of ']' in built output string.
4688 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4692 2002-08-29 Juergen Vigna <jug@sad.it>
4694 * insettabular.C (lfunMousePress): Pay attention where you set
4695 the x/y values as they depend on which inset in the tabular is
4696 actually locked. So you surely have to reset them if you (un)lock
4699 2002-08-29 André Pönitz <poenitz@gmx.net>
4701 * insetfootlike.h: rename include guard to ALL CAPS
4703 * insettext.C: swap object and first parameter for checkInsetHit calls
4704 as this functions has moved from BufferView to LyXText
4707 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4709 * insetgraphicsParams.C: remove local displayTranslator and use
4710 the one from graphics/GraphicsTypes.h.
4712 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4714 * insetfloat.C (wide): add BufferParams parameter
4716 * insetfloatlist.C (read):
4719 * insetfloat.C (latex):
4721 * insetcaption.C (draw): use LyXTextClass::floats()
4723 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4725 * insetoptarg.h: add std:: qualifier.
4727 2002-08-26 Juergen Vigna <jug@sad.it>
4729 * insettext.C (localDispatch): ditto.
4731 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4733 2002-08-25 John Levon <levon@movementarian.org>
4735 * inseturl.C: elide long URLs (bug 404)
4737 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4739 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4740 remove "Format Version <version_no.>" string from inset header
4743 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4745 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4746 a member of "grfx::Params" anymore.
4748 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4750 2002-08-24 John Levon <levon@movementarian.org>
4753 * insetoptarg.C: ws, pedantry ...
4755 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4757 * insettext.C (collapseParagraphs): pasteParagraph now in global
4759 (appendParagraphs): ditto
4761 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4763 * insetcite.C (latex): Remove spaces only after commmas.
4765 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * insettext.C: remove NO_COMPABILITY stuff
4769 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * insettext.C (edit): use ParagraphList iterators
4773 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4774 (bibitemWidest): ditto
4776 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * insettext.C: include <boost/bind.hpp>
4779 add using std::for_each
4780 (saveLyXTextState): use ParagraphsList::iterator
4781 (init): use for_each on paragraphlist iterators
4782 (InsetText): remove superflous setting cached_bview to 0
4783 (latex): reformat a bit
4784 (ascii): use paragraphlist iterators
4785 (validate): use for_each + boost bind
4786 (getLabelList): use paragraphlist iterators
4787 (deleteLyXText): use for_each + boost::bind
4788 (resizeLyXText): ditto
4789 (reinitLyXText): ditto
4790 (removeNewlines): use paragraphlist iterators
4791 (getParFromID): ditto
4792 (paragraph): use for_each + boost::bind
4793 (getInsetFromID): use paragraphlist iterators
4794 (getLabelList): typo fix
4796 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * insettext.C (read): assign tmp to paragraphs after return from
4799 call to parseSingleLyXformat2Token
4802 2002-08-13 Angus Leeming <leeming@lyx.org>
4820 * inseturl.C: changes due to the changed LyXView interface that
4821 now returns references to member variables not pointers.
4823 2002-08-13 Angus Leeming <leeming@lyx.org>
4826 * insetcollapsable.h:
4829 * insettext.h: forward-declare WordLangTuple
4830 (selectNextWordToSpellcheck) constify return type.
4833 * insetcollapsable.C:
4836 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4838 2002-08-12 Angus Leeming <leeming@lyx.org>
4840 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4843 2002-08-12 Juergen Vigna <jug@sad.it>
4845 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4848 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4851 (bibitemWidest): ditto
4852 * insettext.[Ch]: ditto
4854 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4858 2002-08-09 Angus Leeming <leeming@lyx.org>
4860 * insetinclude.C (latexString): remove fudge now that I've found out
4861 how to enable LaTeX to find the file using input@path.
4863 2002-08-09 John Levon <levon@movementarian.org>
4866 * insettext.C: remove unused xpos
4868 2002-08-07 Juergen Vigna <jug@lyx.org>
4870 * insettabular.C (localDispatch): make delete not put the stuff
4871 in the clipboard only do this on a cut operation.
4873 * insettext.C (localDispatch): make delete and backspace not put
4874 selected stuff to the clipboard.
4876 2002-08-07 André Pönitz <poenitz@gmx.net>
4879 * insetcollapsable.[Ch]:
4883 * insettabular.[Ch]:
4884 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4886 2002-08-06 John Levon <levon@movementarian.org>
4890 * insetcollapsable.h:
4891 * insetcollapsable.C:
4897 * insettext.C: use WordLangTuple for spellcheck
4899 2002-08-06 Angus Leeming <leeming@lyx.org>
4901 * insetinclude.C: add a monitor to the previewed image, so that the
4902 image is refreshed if the \input-ed file changes.
4904 2002-08-04 John Levon <levon@movementarian.org>
4907 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4909 2002-08-02 Angus Leeming <leeming@lyx.org>
4911 * insetcommandparams.[Ch] (preview): new methods returning and setting
4912 a new bool preview_ flag.
4913 (read): read this flag.
4914 (operator==): add flag to check.
4916 * insetinclude.C (write): output new preview() flag.
4917 (previewWanted): use this flag.
4919 2002-08-02 Angus Leeming <leeming@lyx.org>
4921 * insetcollapsable.[Ch] (addPreview):
4922 * insettabular.[Ch] (addPreview):
4923 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4924 for insets in insets.
4926 2002-08-02 Angus Leeming <leeming@lyx.org>
4928 * insetcite.C: fix typo.
4930 * insetgraphics.C: kill current_view and instead cache the BufferView
4933 * insetinclude.C: kill current_view and pass the BufferView to the
4934 PreviewedInset so that it can cache it.
4936 2002-08-01 Angus Leeming <leeming@lyx.org>
4938 * inset.h (generatePreview): renamed as addPreview.
4939 (generatePreview): new method. Allows code to be moved out of
4940 math_nestinset.C and into the new PreviewedInset class.
4942 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4943 add previews to the inset when \input-ing LaTeX.
4945 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * several files: strip,frontStrip -> trim,ltrim,rtrim
4949 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * insetbib.C (latex): modify because of strip changes
4953 * insetnote.C (InsetNote): ditto
4955 2002-07-26 Juergen Vigna <jug@sad.it>
4957 * insettabular.C (searchForward): check for lastcell if we
4958 had a locking inset.
4960 2002-07-25 Juergen Vigna <jug@sad.it>
4962 * insettabular.C (insetMotionNotify): Don't update the screen
4963 if we didn't do nothing.
4964 (searchForward): last cell was not checked.
4966 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4968 * insetfloat.C (read, write): Allow default placement
4969 (floatPlacement_ is empty).
4971 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4973 * insetminipage.h (noFontChange):
4974 * insettabular.h (noFontChange):
4975 * insetfootlike.h (noFontChange):
4976 * insetfloat.h (noFontChange): return true
4978 * inset.h (noFontChange): new method, defaulting to false
4980 2002-07-22 Herbert Voss <voss@lyx.org>
4982 * insetgraphicsParams.[Ch]: support size_type for old docs
4984 2002-07-22 Herbert Voss <voss@lyx.org>
4987 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4990 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4992 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4994 * insetlatexaccent.h: do not include "lyxlex.h"
4996 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4999 * insetlatexaccent.C:
5003 * insetbib.C: #include "lyxlex.h"
5009 * insettext.C: use BufferParams::getLyXTextClass
5012 * insetfloat.C (addToToc): new method. Add to toclist the entries
5013 corresponding to Caption layouts
5014 (InsetFloat): when creating a new float, set the layout to "Caption"
5016 2002-07-21 Herbert Voss <voss@lyx.org>
5018 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5019 image relevant part into graphics/GraphicsImgae.C
5021 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * insettoc.C (ascii):
5024 * insetfloatlist.C (ascii): change to use the new Toc functions
5025 instead of stuff that was in Buffer
5027 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5029 * insettext.C (localDispatch): BufferView::Dispatch has been
5030 renamed to BufferView::dispatch
5032 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5034 * insetgraphicsParams.C (as_grfxParams): use the new
5035 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5036 1.2.0 patch, and I do not really know how to adapt it to the new
5037 grfx::Cache world. Angus, please could you have a look?
5039 2002-05-01 Herbert Voss <voss@lyx.org>
5041 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5043 2002-07-18 Angus Leeming <leeming@lyx.org>
5045 * insetgraphics.C: clean-up comments (from Herbert).
5046 add a new checksum variable to the cache. Use it in PrepareFile.
5047 (draw): start monitoring the file for a change.
5048 (prepareFile): re-arrange a little to avoid unnecessary steps.
5050 2002-07-17 Angus Leeming <leeming@lyx.org>
5052 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5053 a method rather than to the signal directly.
5055 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5057 * insettext.C: use view_state_changed, switchKeyMap
5059 2002-07-17 Herbert Voss <voss@perce.de>
5061 * insetgraphics.C (prepareFile): keep the extension when
5062 exporting to nice file
5064 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5066 * insetcite.C (getNatbibLabel):
5067 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5069 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5071 * insetgraphics.C: use ->isDrawable()
5073 2002-07-12 Angus Leeming <leeming@lyx.org>
5075 * insetgraphics.C: use the new smart loading capabilities of the image
5078 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5080 * insettabular.C (edit): Move into correct cell when entering a
5083 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5086 2002-07-05 Angus Leeming <leeming@lyx.org>
5088 * inset.h (generatePreview): new virtual method.
5090 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5092 * insetcommandparams.[Ch] (operator=): move out of class
5093 (operator!): move out of class
5095 2002-07-04 André Pönitz <poenitz@gmx.net>
5097 * insetcommandparams.[Ch]: new files
5099 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5101 2002-06-15 Herbert Voss <voss@perce.de>
5103 * insetgraphics.C (prepareFile): bugfix; return always
5104 files without extension
5106 2002-06-28 Angus Leeming <leeming@lyx.org>
5108 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5109 rename asGParams -> as_grfxParams.
5111 * insetgraphics.C: reflect above change.
5113 2002-06-26 Angus Leeming <leeming@lyx.org>
5115 * insetgraphics.h: use boost::scoped_ptr in preference to
5118 2002-06-26 Angus Leeming <leeming@lyx.org>
5120 * insetgraphics.C: moved the image loading stuff into a new class
5121 grfx::Loader. Simplifies this file enormously.
5123 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5125 * insetgraphicsParams.C: changes aassociated with moving
5126 grfx::DisplayType out of grfx::GParams.
5128 2002-06-26 André Pönitz <poenitz@gmx.net>
5130 * insetgraphics.C: use os::external_path where necesaary according to a
5131 patch from Claus Hentschel)
5133 2002-06-25 Angus Leeming <leeming@lyx.org>
5135 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5136 generating a pixmap once the graphics file is loaded into memory.
5137 The current_view ugliness that was in grfx::ModifiedImage has been
5138 moved here now that grfx::ModifiedImage is no more.
5140 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5142 * insettext.C: layout as layout
5144 2002-05-28 André Pönitz <poenitz@gmx.net>
5146 * insetfloatlist.h: remove source of compiler warning
5148 * insetref.C: tiny whitespace
5150 2002-06-15 Herbert Voss <voss@perce.de>
5152 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5153 and take always convert when no userdefined converter was
5155 (latex) small changes in the lyxerr output
5157 2002-06-15 LyX Development team <lyx@rilke>
5159 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5160 mixed content. Small white spaces clean.
5162 2002-06-14 Angus Leeming <leeming@lyx.org>
5164 * inseetexternal.C: remove the using std::difftime declaration.
5166 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5168 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5170 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5172 * insetquotes.C (draw): fix drawing of double quotes
5174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5176 * insettabular.C: s/scrollCB/scrollDocView/
5178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5180 * insettext.C: change of topCursorVisible()
5183 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5186 * insettext.C: rename/change of LyXScreen
5188 2002-06-07 Angus Leeming <leeming@lyx.org>
5190 Fixes needed to compile with Compaq cxx 6.5.
5192 * insetexternal.C: all c-library variables have been moved into
5193 namespace std. Wrap using std::xyz declarations inside a #ifndef
5194 CXX_GLOBAL_CSTD block.
5196 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5198 * insetinclude.C (uniqueID):
5199 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5200 conflicted with some AIX headers.
5202 2002-05-31 Juergen Vigna <jug@sad.it>
5204 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5208 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5210 * insetexternal.C (clone): fix () bug when using new
5211 (updateExternal): don't only look for difftime in global scope
5213 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5215 * insettabular.C: add const
5217 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5219 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5220 file name, in case there are weird characters like ',' in there.
5223 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5225 * switch from SigC signals to boost::signals.
5227 2002-05-28 André Pönitz <poenitz@gmx.net>
5229 * insets/insetgraphicsParams.[Ch]:
5230 put in inset related stuff from src/graphic
5232 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5240 * insetcollapsable.C:
5241 * insetcollapsable.h:
5269 * inseturl.h: use mouse_state. Kill insetKeyPress
5271 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5276 * insetcollapsable.C:
5279 * insetlatexaccent.C:
5281 * insetspecialchar.C:
5283 * insettext.C: name change for font metrics
5285 2002-05-24 Juergen Vigna <jug@sad.it>
5287 * insetgraphics.h: include inset.h first (for LString.h)
5289 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5291 * insettext.C: screen moved
5293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5311 * inseturl.C: LyXView moved into frontends/
5313 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5318 * insetcollapsable.C:
5322 * insetgraphicsParams.C:
5323 * insetlatexaccent.C:
5325 * insetspecialchar.C:
5327 * insettext.C: move Painter to frontends/
5329 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5331 * insettabular.h: use more specific smart_ptr header.
5332 * insettext.h: ditto
5334 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5337 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5339 * insettext.C: clear selection on paste (bug 393)
5341 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5343 * insettext.C (latex): Honor the moving_arg argument.
5345 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5347 * insetfoot.C (latex): if a footnote is in a title layout, then it
5348 is a \thanks. And then, its contents is a moving argument.
5350 2002-05-14 Juergen Vigna <jug@sad.it>
5352 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5355 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5357 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5358 when using options "Full author list" or "Upper case".
5360 2002-05-14 Herbert Voss <voss@perce.de>
5362 * insetgraphics.C (prepareFile): allow files with same name
5364 (readFigInset): set the flags from old figinset in the right
5366 (findTargetFormat): more comments
5368 2002-05-14 Juergen Vigna <jug@sad.it>
5370 * insettext.C (edit): tell checkAndActivateInset() that we don't
5371 have a button press.
5372 (checkAndActivateInset): if button < 0 we don't have a button press
5373 on the inset and os we won't call edit on it if it's not a Highly
5374 editable inset (then we have to enter it).
5376 2002-05-13 Juergen Vigna <jug@sad.it>
5378 * insetcollapsable.C (insetButtonRelease): returned wrong return
5381 2002-05-09 Juergen Vigna <jug@sad.it>
5383 * insetcollapsable.C (edit): first_after_edit should only be
5384 set to true if we enter this inset and it was collapsed so we
5385 open it up. This is needed to reclose it after a search/replace
5386 or spellcheck function opened it and was negative.
5388 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5390 * insetfloat.C (latex): Return correct value.
5392 2002-05-04 Herbert Voss <voss@perce.de>
5394 * InsetgraphicsParams.C (read): fix bug with WH
5396 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5398 * insetfloat.C (latex): More sensible latex output
5399 (fix the problem with endfloat).
5401 2002-05-02 José Matos <jamatos@fep.up.pt>
5403 * insetgraphics.C (validate): acess params as everyone else.
5405 2002-05-03 Juergen Vigna <jug@sad.it>
5407 * insettabular.C (fitInsetCursor): recalculate the cursor position
5410 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5412 * InsetgraphicsParams.[Ch]: whitespace.
5414 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5416 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5417 float type do not exist.
5419 2002-04-28 Herbert Voss <voss@perce.de>
5421 * insetgraphics.C (latex): fix bug with missing file-extension.
5422 LaTeX still allows a missing "eps" or "ps".
5424 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5426 * insetfloat.C (c-tor, wide): translate the name of the float.
5428 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5430 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5431 when using natbib and make it work efficiently. Must emphasise that the
5432 real work is Herbert's.
5434 2002-04-23 Herbert Voss <voss@perce.de>
5436 * insetgraphic.C (prepareFile): fix bug with overwriting and
5437 deleting an existing *.eps-file in the doc-dir
5439 2002-04-23 Juergen Vigna <jug@sad.it>
5441 * insettabular.C (drawCellSelection): fix off by 1 error.
5443 2002-04-22 Juergen Vigna <jug@sad.it>
5445 * insettabular.C (setFont): rewoke full selection if it was asked,
5446 after we changed all we had to change.
5448 * insettext.C (insetUnlock): code was uninitialized in some situations.
5450 2002-04-19 Herbert Voss <voss@perce.de>
5452 * insetgraphic.C (prepareFile): return filename without
5453 extension if we only export without compiling
5455 2002-04-19 Juergen Vigna <jug@sad.it>
5457 * insettext.C (draw): call a fullRebreak on the row where we had a
5458 change and reset the cursor and selection-cursors.
5460 * insettabular.C (insetUnlock):
5461 (insetButtonPress): call an update before setting the_locking_inset = 0
5462 as otherwise we don't repaint!
5463 (update): reset the cursor position when we changed dimensions as
5464 otherwise our cursor may be on the wrong spot.
5466 2002-04-18 Juergen Vigna <jug@sad.it>
5468 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5469 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5470 redraw otherwise we won't redraw.
5472 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5473 not really right before, but I only discovered this with the last
5474 changes to Page up/down.
5476 2002-04-17 Juergen Vigna <jug@sad.it>
5478 * insettext.C (checkAndActivateInset): simplified as we now have the
5479 edit(bv, bool) call.
5481 * insettext.h: changed behind variables to front variables to be
5482 equal to the one in the edit call (as it is for that they are used).
5484 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5486 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5487 not output anything at all!
5489 2002-04-16 Juergen Vigna <jug@sad.it>
5491 * insettabular.C (insetButtonPress):
5492 (insetUnlock): call a redraw on unlocking the cell inset.
5494 * insettext.C (insetButtonPress): same as below.
5495 (lockInset): new function to set initial values when inset should
5497 (insetButtonPress): use above function.
5498 (insetUnlock): don't force a repaint only set the updateStatus. The
5499 outside world should repaint if it thinks it should be done!
5501 * insettabular.C (insetButtonPress): init values if not set as locked
5502 as we are locked if someone presses on us and don't call the edit()
5503 call of the InsetText to lock it do it as BufferView does it!
5505 * inset.h (insetInInsetY): make func const and return an int.
5508 * insetcollapsable.C: adapt the above changed function.
5510 2002-04-15 Juergen Vigna <jug@sad.it>
5512 * insettext.C (getCursorPos): return relative position as to be able
5513 to give them directly to the edit() call.
5514 (edit): we have to set also x_fix as it is not set inside the
5515 setCursorFromCoordinates call!
5516 (insetMotionNotify): ditto.
5518 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5520 * insetbib.C (getKeys): strip leading '\t's from the line too.
5521 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5523 2002-04-12 Juergen Vigna <jug@sad.it>
5525 * insettext.h: added cix() helper function and use it where appropriate
5527 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5529 * insetgraphics.C (prepareFile): fix bug when graphics is a
5532 2002-04-12 Juergen Vigna <jug@sad.it>
5534 * insettext.C (insertInset): remove unneeded code!
5535 (updateLocal): fitCursor() fixes.
5536 (collapseParagraphs): fix a possible problem when having a selection
5537 and collapsing the paragraphs.
5539 2002-04-08 Herbert Voss <voss@perce.de>
5541 * insetgraphic.C (write): write the rotating angle as
5542 a float as is. test only for != 0.0
5544 2002-04-11 Juergen Vigna <jug@sad.it>
5546 * insettext.C: new function ciy() and use it for setting inset_y.
5548 * insetert.C (draw): fix the x return for collapsed version.
5550 2002-04-07 Herbert Voss <voss@perce.de>
5552 * insetgraphic.C (readFigInset): fix bug with subcaption and
5555 2002-04-08 Herbert Voss <voss@lyx.org>
5557 * insetgraphicsparam.C: forgot special option and delete old
5560 2002-04-05 Juergen Vigna <jug@sad.it>
5562 * insettext.C (localDispatch): make a CURSOR update if we inserted
5565 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * insetfloatlist.C (getScreenLabel):
5568 (latex): use Floating::listName
5569 (validate): new method
5571 2002-04-03 José Matos <jamatos@fep.up.pt>
5573 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5575 * insetfoot.[Ch] (docbook): added forgotten method.
5577 2002-04-03 Juergen Vigna <jug@sad.it>
5579 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5580 way as in Bufferview_pimpl.
5582 2002-04-03 Allan Rae <rae@lyx.org>
5584 * insetgraphics.C (latex): one % too many makes living on the bleeding
5585 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5587 2002-03-28 Herbert Voss <voss@lyx.org>
5589 * insetgraphic.C (latex): simplify the code for the latex
5590 output when the file doesn't exist
5592 2002-03-29 Juergen Vigna <jug@sad.it>
5594 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5597 * insettabular.C (edit): call fitCursor().
5599 * insettext.C (insetButtonPress): change behaviour of no_selection
5600 to the one in the BufferView selection_possible and fix the spurious
5601 selection bug with it.
5602 (localDispatch): revoke selection on BREAK... functions.
5604 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5606 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5608 2002-03-28 Juergen Vigna <jug@sad.it>
5610 * insettabular.C (insetAllowed): return true as default value otherwise
5611 we're not able to insert insets inside paragraphs of an not locked
5614 2002-03-27 Herbert Voss <voss@lyx.org>
5616 * insetgraphicsparam.C: change c%, p% to col%, page%
5618 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5620 * insetspecialchar.C (isLineSeparator): disable the nice code to
5621 allow linebreaks after hyphenation and menu separators.
5623 2002-03-26 Herbert Voss <voss@lyx.org>
5625 * insetgraphics.C (figinsetRead): set the right lyxview
5627 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5629 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5630 $\backslash$ and pass a "string const &" to the function.
5631 (prepareFile, latex): use Path rather than MakeAbsPath.
5633 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5635 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5636 proper fix to the graphics cache.
5637 (latex): "really" nice output if the file is not found ;-)
5639 2002-03-26 Juergen Vigna <jug@sad.it>
5641 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5642 (collapseParagraphs): fixed inserting of separator ' '
5644 * insettabular.C (insertAsciiString): only check for buffer lenght
5645 not if we have \t or \n inside the buffer as if we don't have we only
5646 have 1 cell and that's it!
5648 * insetert.C (close): don't collapse if inlined.
5650 2002-03-25 Herbert Voss <voss@lyx.org>
5652 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5653 graphics file does not exist.
5655 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5657 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5658 path when preparing export.
5660 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5661 no longer MakeRelPath.
5663 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5665 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5666 Used to determine the absolute path to the graphics file in the
5667 graphics cache and only in the graphics cache.
5668 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5669 make graphics file name absolute if it is stored as a relative path.
5671 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5672 make graphics file name absolute if it is stored as a relative path.
5674 * insettext.C (edit): emit an updateParagraph signal on entering a text
5675 inset. Needs to be emitted when leaving the inset also.
5677 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5679 * all files: ws cleanup
5681 * Makefile.am: remove ld -r stuff
5683 2002-03-21 Juergen Vigna <jug@sad.it>
5685 * insettext.C (appendParagraphs): new function added to append
5686 the paragraphs to this insets paragraphs.
5688 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5690 * Makefile.am: special rules if partial linking
5692 2002-03-19 Juergen Vigna <jug@sad.it>
5694 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5696 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5698 * insetgraphics.C: Clean up Baruch's comments a little.
5699 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5701 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5704 * insettheorem.C: wrap warnings
5706 * insetgraphics.C: improve messages, move cached_status_
5707 setting to safer place
5709 2002-03-18 Juergen Vigna <jug@sad.it>
5711 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5713 (localDispatch): ditto
5715 * insettext.C (edit): removed unneeded showCursor calls.
5716 (localDispatch): ditto.
5718 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5720 * insetgraphics.h: remove display() method.
5722 2002-03-11 Juergen Vigna <jug@sad.it>
5724 * insetgraphics.C (draw): hack to fix the redrawing bug.
5725 (draw): seems this fixes #268 (force redraw of row if we changed).
5727 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5728 this inset text (don't know why I missed this earlier).
5730 2002-03-08 Juergen Vigna <jug@sad.it>
5732 * insettabular.C (updateLocal): do a FULL update if we're not locked
5733 and only a CELL update is asked.
5735 * insettext.C (updateInsetInInset): update insets inside inset also
5736 if it isn't inside the_locking_inset.
5738 * insettabular.C (updateInsetInInset): ditto.
5740 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5742 * insetexternal.C (doSubstitution): check whether we are using a
5743 temp dir for defining $$FPath
5745 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5748 * insettext.C: remove #include "WorkArea.h".
5750 2002-03-06 Juergen Vigna <jug@sad.it>
5752 * insettext.C (draw): fixed frame redrawing.
5753 (clear): forgot to set the inset_owner of the paragraph.
5755 * insetert.C (status): pay attention the bv can be 0 here!
5756 (getMaxWidth): add the default leftMargin
5758 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5760 * insetert.C (getMaxWidth): make w unsigned int.
5762 2002-03-05 Juergen Vigna <jug@sad.it>
5764 * insetert.C (status): change behaviour of Inlined.
5765 (getMaxWidth): added for new inlined behaviour.
5767 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5769 * insetnote.h (linuxdoc, docbook): add empty methods.
5770 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5771 before being initialized.
5773 2002-03-05 Juergen Vigna <jug@sad.it>
5775 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5776 only that one in the inset. Should be enough.
5777 (updateLocal): set the selection cursor always if we don't have a
5778 selection to be sure it's set!
5780 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5782 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5784 * insettext.C (clear): a gross hack to set layout on a newly
5787 2002-03-04 Juergen Vigna <jug@sad.it>
5789 * insettabular.C (localDispatch): inserted handling of
5790 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5791 (insertAsciiString): new helper function.
5793 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5795 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5798 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5800 * insettext.C (InsetText): initalize newly created par with
5801 default layout. add bufferparams parameter
5804 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5805 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5806 * insetert.[Ch] (InsetERT): ditto
5807 * insetfloat.[Ch] (InsetFloat): ditto
5808 * insetfoot.[Ch] (InsetFoot): ditto
5809 * insetfootlike.[Ch] (InsetFootLike): ditto
5810 * insetmarginal.[Ch] (InsetMarginal): ditto
5811 * insetminipage.[Ch] (InsetMinipage): ditto
5812 * insetnote.[Ch] (InsetNote): ditto
5813 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5815 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5817 * insettext.C: layout as string
5819 * insetinclude.C: layout as string
5821 * insetert.C: layout as string
5823 * insetbib.C: layout as string
5825 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5828 * insettabular.C: remove #include "lyx_gui_misc.h".
5830 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5835 * inset.h: remove figinset, yahoo !
5837 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5839 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5840 copy c-tor and initialise member variables in the correct order.
5842 2002-02-28 Juergen Vigna <jug@sad.it>
5844 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5846 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5848 * inset.h: ... and add a better one here.
5850 * insetcommand.C (insetButtonRelease): remove that one which was a
5853 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5855 * insetcommand.C (insetButtonRelease): ... and move it here.
5857 * inseturl.h: remove insetButtonRelease from there...
5859 2002-02-26 Juergen Vigna <jug@sad.it>
5861 * inseturl.h: Added a insetButtonRelease call returning true as
5864 * insetlabel.C (edit): Fixed wrong update handling after change I
5865 leave in the wrong code for the one who wrote it to remove and have
5866 a look what he did wrong.
5868 * insettabular.C (localDispatch): force a SELECTION update if we
5869 had a selection and we passed the event down to the inset (fix #213)
5870 (localDispatch): handle font changing stuff when we have a cell
5871 selection so that the selection is not rewoked. I don't really like
5872 this fix, but it's the only way I see to do it right now.
5874 2002-02-22 Juergen Vigna <jug@sad.it>
5876 * insettext.C (insetUnlock): set the cursor to the second paragraph
5877 if available and if the first one is empty (fix #191).
5879 2002-02-20 Juergen Vigna <jug@sad.it>
5881 * insettext.C (getDrawFont): implemented this function to call the
5882 one of the owner if present as the owner normally knows what to do
5885 * insetert.C: implement getDrawFont() function and comment out all
5886 the crap for setting a special latex font inside this inset.
5887 (InsetERT): added a Lanugage parameter to this constructor.
5889 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5890 change the font for being drawn on screen (used only in InsetERT for
5893 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5894 and also above (was missing).
5895 (updateLocal): don't remove the cell selection if we have one this
5896 should be done where we really want to remove it.
5898 2002-02-20 José Matos <jamatos@fep.up.pt>
5900 * insetinclude.h: include_label made string const.
5902 * insetinclude.C (InsetInclude): moved include_label initialization.
5905 (validate): fix support for temporary directory, for docbook and
5908 * insetgraphics.h : new private member, graphic_label, that holds
5909 the entity name that defines the graphics location (SGML).
5911 * insetgraphics.C (unique_id): new function to give a unique label
5914 (validate): the file locatation is given by an entity reference.
5916 2002-02-18 Herbert Voss <voss@lyx.org>
5918 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5920 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5922 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5923 as support/systemcall.[Ch] and of class Systemcalls as class
5926 2002-02-18 José Matos <jamatos@fep.up.pt>
5928 * insetinclude.C (validate): some code only applies to latex buffers,
5929 it was made conditional.
5931 2002-02-12 Herbert Voss <voss@lyx.org>
5933 * insetgraphics.C: (prepareFile) do not check at this time
5934 if the file is present.
5936 2002-02-12 Herbert Voss <voss@lyx.org>
5938 * insetgraphics.C: latex(), return the correct newlines
5940 2002-02-13 José Matos <jamatos@fep.up.pt>
5942 * inseturl.C (docbook): escape & in url.
5944 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5946 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5947 after HYPHENATION and MENU_SEPARATOR
5949 * inset.h (isLineSeparator): new method, returns false by default.
5951 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * insetert.C (status): do not update the text inset, but the ERT
5956 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5958 * insetnote.C: use notebg for background
5960 2002-02-08 Herbert Voss <voss@lyx.org>
5963 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5964 prevent LyX from unzipping when this should be handled
5965 by latex vis the graphic.cfg.
5968 2002-02-08 Herbert Voss <voss@lyx.org>
5970 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5971 exists, than return filename with extension
5973 2002-02-06 Herbert Voss <voss@lyx.org>
5975 * insetgraphic.C: prepareFile(): don't convert the file, when
5976 it's not viewed in LyX. Saves a lot of time when opening a
5979 2002-02-05 Herbert Voss <voss@lyx.org>
5982 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5983 and adding a rotate bool similiar to subcaption
5985 2002-02-04 Herbert Voss <voss@lyx.org>
5988 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5989 similiar view to the LaTeX one. Get zipped files work.
5991 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5993 * insetgraphicsParams.C (init): set display to DEFAULT.
5994 No longer #include "lyxrc.h".
5996 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5998 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5999 for now (so that the code compiles).
6001 2002-02-02 Herbert Voss <voss@lyx.org>
6003 * insetgraphic.C: delete inVariant() and some minor changes
6004 * insetgraphicsParams.[C]:
6006 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6008 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6009 interogate lyxrc.display_graphics before diaplaying the graphic.
6011 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6012 InsetGraphicsParams::DisplayType.
6014 2002-01-31 Herbert Voss <voss@lyx.org>
6016 * insetgraphic.C: (readfigInset) set display to pref-default
6018 2002-01-30 Herbert Voss <voss@lyx.org>
6020 * insetgraphic.C: get the filetyp from it's contents
6021 * insetgraphicparams.C: add token scale and lyxrc.display when
6022 creating a new inset
6024 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6026 * figinset.C: added using std::ios directive.
6028 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6030 * figinset.C (runqueue): open translation file in binary mode (for
6033 2002-01-27 Herbert Voss <voss@lyx.org>
6035 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6036 all options and to be sure that the old figinsets are correct
6038 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6039 structure and to support all lengths as LyXLength. The Parameter
6040 structure changed again, but reading of "old" 1.2 graphic insets
6043 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6045 * insetert.h (forceDefaultParagraphs): Added
6047 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6049 * insettabular.C (getMaxWidth):
6050 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6052 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6055 of LyXLength::inPixels
6057 * inset.C (latexTextWidth):
6058 * insetminipage.C (latexTextWidth): new method, which implements
6059 the equivalent of the LaTeX macro \textwidth
6061 * insetminipage.C (getMaxWidth): use latexTextWidth
6063 2002-01-18 Juergen Vigna <jug@sad.it>
6065 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6067 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6069 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6071 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6074 2002-01-17 Juergen Vigna <jug@sad.it>
6076 * insettabular.C (lockInsetInInset): same change as in insettext.
6078 * insettext.C (draw): width() function was called without setting
6079 the right top_x which could lead to wrong insetWidth setting!
6080 (lockInsetInInset): call edit instead of calling lockInset if we
6081 have to lock an inset inside!
6082 (edit): we have to also tell the inset that we have to redraw the
6083 frame on an edit call if this inset draws a frame only if locked.
6085 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6087 * insetbib.C (getFiles): uncomment Path variable.
6089 2002-01-16 Juergen Vigna <jug@sad.it>
6091 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6094 2002-01-16 Allan Rae <rae@lyx.org>
6096 * insetinclude.C (docbook): someone forgot a ";"
6098 2002-01-16 José Matos <jamatos@fep.up.pt>
6100 * figinset.C (docbook): removed a old place holder "@".
6101 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6102 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6103 ascii text version, clearly guarded inside a CDATA section.
6104 (docbook): in docbook 4, inlinegraphics is empty.
6105 * insettabular.C (linuxdoc): export the ascii version of the table
6106 inside a CDATA section.
6108 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6110 * insetparent.C (InsetParent):
6111 * insetgraphicsParams.C (Write):
6113 * insetgraphics.C (prepareFile):
6116 * insetexternal.C (executeCommand):
6117 (doSubstitution): use Buffer::filePath
6119 * insetbib.C (getFiles): add a #warning for Angus
6121 * insetgraphics.C: Add a remark about how filenames should be
6122 considered to be relative to buffer (but absolute is still allowed)
6123 (draw): do not try to get status if lyxrc.use_gui is false
6125 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6128 * insetcollapsable.[Ch]:
6129 * insettabular.[Ch] (searchForward, searchBackward): change the
6130 bool const & params to bool.
6132 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6133 to avoid the name clash with InsetCollapsable's methods of the same
6134 names but different functionality.
6136 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6138 * insettext.C (ascii): use lyx::count rather than countChar.
6140 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6142 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6144 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * insetgraphics.C (updateInset): do not try to render image if
6147 lyxrc.use_gui is false (bug #104)
6149 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6150 if file does not exist
6152 * figinset.C (browseFile): add shortcuts to directory buttons
6154 * insettext.C (updateLocal): update menubar and toolbar here too.
6156 2002-01-13 Allan Rae <rae@lyx.org>
6158 * insettabular.C (InsetTabular): Both constructors now initialise
6159 all class variables.
6161 2002-01-11 Juergen Vigna <jug@sad.it>
6163 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6165 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * insettabular.C (getStatus): add forgotten brace around multiline
6170 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6172 * insetfloat.C (validate): require "float" instead of "floats".
6174 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6176 * insettabular.C (getStatus): use FuncStatus
6178 2002-01-08 Juergen Vigna <jug@sad.it>
6180 * insettabular.C (insetButtonRelease): now this should work too
6183 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6184 if the width is a percentage.
6186 * inset.h: added isChar() function and implemented this for
6187 insetspecialchar insetquotes and insetlatexaccent.
6188 added forceDefaultParagraphs() and implemented it for insettabular.
6190 2002-01-07 Juergen Vigna <jug@sad.it>
6192 * insettext.C (getLyXText): Fixed this function. An insert into the
6193 map is only done if we REALLY have a new BufferView.
6195 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6197 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6199 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6201 * insetinclude.C: fix use of FileInfo
6203 2002-01-07 Juergen Vigna <jug@sad.it>
6205 * insettabular.C (draw): fixed clearing of cell around inset.
6207 2002-01-05 Juergen Vigna <jug@sad.it>
6209 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6210 variables are updated.
6212 * insettabular.C (resetPos): set always the inset_y as it may be
6213 needed in another function.
6214 (searchBackward): don't draw while searching.
6216 2002-01-04 Juergen Vigna <jug@sad.it>
6218 * insettext.C (lockInsetInInset): forgot to set a cursor.
6220 2002-01-02 Juergen Vigna <jug@sad.it>
6222 * insettext.C (insertInset): make the correct undo informations on
6223 inserting new insets.
6225 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6227 * insettabular.C: correct single-cell select vertically
6229 2001-12-27 Juergen Vigna <jug@sad.it>
6231 * insettabular.C (ascii): export as tab-separated-values if the
6232 function was not called from export (f.ex.: clipboard).
6234 * insetcollapsable.h: added default support for ascii, linuxdoc and
6235 docbook export (the insettext is exported by default!)
6237 * insettabular.C (copySelection): suff the clipboard with the tabular
6238 data in a tab separated format, seems more naturals then with all the
6241 2001-12-24 Juergen Vigna <jug@sad.it>
6243 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6244 to check for REAL mouseMotion.
6246 2001-12-20 Juergen Vigna <jug@sad.it>
6248 * inset.C (cursor): return the owners cursor if available instead of
6249 always only the bv->text->cursor.
6251 * insettabular.C (checkLongtableSpecial): works now.
6253 2001-12-19 Juergen Vigna <jug@sad.it>
6255 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6256 this has to be always row + 1 as 0 means not selected!
6257 (checkLongtableSpecial): added
6258 (tabularFeatures): better longtable options support
6260 * insettext.C (resizeLyXText): reinit the text always also on a
6263 2001-12-18 Juergen Vigna <jug@sad.it>
6265 * insettext.C (updateInsetInInset): look if we have to autocollapse
6266 paragraps and return if the update is requested for ourself.
6268 * insetert.C (status): update the insettext not myself as that is what
6271 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6272 function only return if the update was requested with myself.
6274 * insettext.C (insetButtonPress): fixed stupid bug.
6275 (various functions): pay attention that lt is cleared BEFORE calling
6276 updateLocal() and try to use it in the right manner (don't use it
6277 if it's not really neccessary!)
6278 (collapseParagraphs): insert a blank between collapsing paragraphs
6279 if neccessary (not already there!).
6281 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * insettabular.C: move includes around a bit, add a couple of
6286 * insettext.[Ch]: move includes around a bit, other ws changes and
6289 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * insettext.C (insetButtonRelease): fix compile problem
6293 2001-12-17 Juergen Vigna <jug@sad.it>
6295 * insettext.C (insetButtonPress): set the selection cursor!
6296 (insetButtonPress): clear the selection (and set with that the
6297 selection.cursor) if we only hit an inset!
6299 * insetert.C (read): removed piece of compatibility code only needed
6302 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6305 * insetcollapsable.C (insetButtonRelease): changed so that it can
6306 open eventual existing popup dialogs on mousebutton==3.
6308 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6310 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6312 * inset.C (insetButtonRelease): return a bool for telling the outer
6313 world that we opened a dialog.
6315 2001-12-07 Juergen Vigna <jug@sad.it>
6317 * insettext.C (paragraph): remove the deleteing of paragraphs as
6318 it was a WRONG move!
6320 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6323 * insettabular.C: use new setSelection(). Allow
6324 selection of single cells.
6326 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6328 * insetquotes.C (latex): fix to use the local language setting at
6329 the point where the inset is inserted (different macros for
6330 different french packages)
6332 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6334 * inset.h: add par_owner_ member variable and parOwner
6337 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6339 * insettabular.C (everywhere): adapt because widths are now real
6340 widths and not strings
6342 * insettext.C (draw): re-introduce the calls to width(), ascent()
6343 and descent() to initialize the caching variables.
6345 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6347 * insettext.C (draw):
6348 (drawFrame): use insetWidth instead of last_width
6350 * insettext.h: remove variable last_width (insetWidth is exactly
6351 the same) and last_height (computed but never used!)
6353 2001-12-10 Allan Rae <rae@lyx.org>
6355 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6357 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6359 * insettext.C (insetAllowed): add comment
6361 2001-12-05 Juergen Vigna <jug@sad.it>
6363 * insettext.C (insetAllowed): fixed for the case that we directly
6364 ask the insettext from its LyXText.
6365 (paragraph): fixed the crash when assigning the par->next() from
6366 the EmptyParagraphMechanism!
6368 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6372 * insettext.C: change "while(" to "while ("
6374 2001-12-04 Juergen Vigna <jug@sad.it>
6376 * insetert.C (edit): handle Inlined status.
6378 * insettext.C (insertInset): trying John's fix for the trailing cursor
6380 * insetert.C (insetButtonPress): added to handle inlined status
6381 (insetMotionNotify): ditto.
6383 * insettext.C (clearInset): changed Painter & in BufferView * param,
6384 to be able to call ascent,descent methods.
6386 2001-12-03 Juergen Vigna <jug@sad.it>
6388 * insettext.C (updateInsetInInset): use lt variable to forbid
6389 changes of LyXText in an update call.
6390 (updateInsetInInset): fixed updating of non locked insets!
6392 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6394 * insettabular.C: capture some more functions to prevent
6395 selection drawing problems. Bug #451274
6397 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6400 * insetgraphicsParams.C: fix inverted sense of float_equal
6402 2001-11-30 Juergen Vigna <jug@sad.it>
6404 * insettabular.C (InsetTabular): use the save_id flag to create also
6405 the tabular with the same id's.
6407 * insettext.C (setParagraphData): added a same_id function for undo
6408 to set the same paragraph id's as of the paragraph we are setting.
6410 2001-11-30 José Matos <jamatos@fep.up.pt>
6413 * insettoc.[Ch]: DocBook -> docbook.
6415 2001-11-29 André Pönitz <poenitz@gmx.net>
6418 * insettext.C: further reduction of header dependencies by using
6419 lyx::layout_type and lyx::textclass_type from support/types.h
6421 2001-11-29 Juergen Vigna <jug@sad.it>
6423 * insettext.C: inserted a reinitLyXText function everywhere I delete
6424 the paragraphs! This should fixe the crashes we had.
6425 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6426 (paragraph): set the InsetOwner() of the new paragraphs!
6428 2001-11-28 André Pönitz <poenitz@gmx.net>
6430 * insetnote.C: add pos initialization that I removed without
6433 2001-11-28 Juergen Vigna <jug@sad.it>
6435 * insettabular.C (resetPos): hack to not crash with infinite paints.
6437 * insettabular.h: insert missing function allowSpellcheck()!
6439 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6441 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6444 * insetfloatlist.C: derive from InsetCommand so gui can use it
6447 2001-11-26 André Pönitz <poenitz@gmx.net>
6451 * insetnote.C: reduce header dependencies, introduce type for
6454 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6456 * various: update for Alert.h
6458 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6460 * inset.h: fix comment
6462 * insettext.C: use par->isInset()
6464 2001-11-22 Allan Rae <rae@lyx.org>
6466 * insetcollapsable.h:
6467 * inset.h: Changes to checkInsertChar() behaviour.
6468 Now return value indicates whether chars can be inserted.
6470 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6472 * various: updated to use the new LaTeXFeatures
6474 2001-11-14 José Matos <jamatos@fep.up.pt>
6476 * insetspecialchar.C (linuxdoc):
6477 (docbook): don't give a name to a unused variable.
6479 * insettext.C (docbook): removed unused variable.
6481 2001-11-13 Herbert Voss <voss@perce.de>
6483 * insetgraphic.C: fix scale bug
6485 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6487 * inset.h (isSpace):
6488 (isLetter): new virtual methods.
6490 * insetspecialchar.C (isSpace):
6491 (isLetter): implement here.
6493 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6495 * inset.h: new inline helpers
6497 * insettext.C: use new helpers
6499 2001-11-07 José Matos <jamatos@fep.up.pt>
6501 * insettext.C (docbook): full support for paragraphs inside insettext.
6503 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6505 * insetindex.C: added header file for std::ostream.
6507 2001-11-03 José Matos <jamatos@fep.up.pt>
6509 * insetindex.C: added using std::ostream that I forgot yesterday.
6511 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6513 * insetindex.h (docbook):
6514 * insetindex.C (docbook): added support for docbook export.
6516 2001-11-02 José Matos <jamatos@fep.up.pt>
6518 * insetcaption.C(docbook): added support for docbook export.
6520 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6522 * insetexternal.C (updateExternal): Do not run update command if
6523 result file exists and is up to date.
6525 * ExternalTemplate.C (readFormat): Support the updateresult token.
6527 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6529 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6530 external_templates) to use the buffer->fileName() but only if
6531 previewing. Generating a TeX file should make FPath return
6534 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6537 * insetert.C: fix some problems
6539 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6541 * insetexternal.C (doSubstitution): Added $$FPath token
6542 to list of usable substitutions in external inset templates.
6544 2001-10-24 Juergen Vigna <jug@sad.it>
6546 * insettabular.C: use new ltType struct for setting longtable
6547 header and footers also new UNSET enums.
6549 2001-10-24 José Matos <jamatos@fep.up.pt>
6551 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6552 (docbook): If the table is not inside a float then wrap it inside
6553 <informaltable>...</informaltable>.
6555 2001-10-23 José Matos <jamatos@fep.up.pt>
6557 * insetref.C (docbook): removed / terminator to conform SGML.
6559 * insetspecialchar.C (linuxdoc):
6560 (docbook): Added support for special chars, more than ascii export.
6562 2001-10-22 Juergen Vigna <jug@sad.it>
6564 * insettext.C (checkInsertChar): added for REALLY checking the
6565 font of the inserted char in the right inset!
6567 2001-10-19 Juergen Vigna <jug@sad.it>
6569 * inset.h: added method allowSpellcheck() so that insets who do
6570 not have anything to spellcheck can tell and so they are over-jumped.
6571 Implemented for InsetText and co.
6573 2001-10-18 Juergen Vigna <jug@sad.it>
6575 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6577 2001-10-15 José Matos <jamatos@fep.up.pt>
6579 * insetert.C: allow export for docbook and linuxdoc
6581 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6583 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6585 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6587 * insetquotes.C (dispString): fix handling of latin9 quotes
6589 2001-10-03 Juergen Vigna <jug@sad.it>
6593 * insetcollapsable.C: change updateInset calls to not tell BV that
6594 we have changed status.
6596 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6598 * insettabular.C (deletable): make const
6600 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6602 * insetert.C (latex): Fix the returned value
6604 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6606 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6607 Returns string(), so nothing in an ERT inset is spellchecked.
6609 * insetgraphics.C (draw): print the filename if not displaying the
6611 (width): make sure that the width and draw methods are consistent.
6612 (updateInset): don't even load the image into cache if not displaying
6615 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6617 * various files (selectNextWord): renamed as
6618 selectNextWordToSpellcheck.
6620 * insetgraphics.C (draw): remove the previous change. Right place
6621 is in imageLoaderXPM.C.
6622 (draw): don't display the image if params.display == NONE.
6624 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6626 * figinset.C (runqueue):
6627 * insetgraphics.C (draw): set background colour of inset from
6628 background to the user-configurable graphicsbg.
6630 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * insetquotes.C (InsetQuotes): when trying to decide the side of
6633 the quote, choose `left' only after a space or '('
6635 2001-09-04 José Matos <jamatos@fep.up.pt>
6640 * insetcollapsable.h
6658 * insetlatexaccent.C
6659 * insetlatexaccent.h
6664 * insetspecialchar.C
6665 * insetspecialchar.h
6669 * insettext.C (docbook): rename docBook method to docbook.
6671 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6673 * inset.h (getFirstParagraph): New virtual method.
6675 2001-08-20 Herbert Voss <voss@perce.de>
6676 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6677 in the the bibtex-database-gui for inserting a line
6680 If no style is given than there is no tex-output.
6682 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6684 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6688 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6690 * insetert.C (latex): Fix output for multiple paragraphs.
6691 (write): New code for writing paragraph data.
6692 (read): Set font after reading the inset.
6693 (localDispatch): Call set_latex_font() for more cases.
6695 * insetnote.h: Add empty validate method.
6698 * insetnote.C (InsetNote): Set language to the language of the
6701 2001-08-16 Juergen Vigna <jug@sad.it>
6703 * insettext.C: implemented the new FINISHED states.
6705 * insettabular.C: ditto
6707 * inset.h: added more FINISHED states for cursor right,up,down
6709 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6711 * insetfloatlist.C: use "FloatName List"
6713 2001-08-14 Juergen Vigna <jug@sad.it>
6715 * insetert.C (edit): forgot to set status_ in edit calls!
6717 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6719 * insettext.C: Compilation fix
6721 2001-08-13 Juergen Vigna <jug@sad.it>
6723 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6725 * insetcollapsable.C (edit): don't recollapse an already open inset.
6727 * insettext.C: fixed problem when reinitializing LyXText by not doing
6728 it while lt is in use and post this to the next possible time in
6730 (searchForward): fixed not unlocking of inset if nothing found.
6731 (edit): set cursor behind right (was set -1 pos).
6733 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6735 * insettabular.C (tabularFeatures): fixed fix where deleting the
6736 last row didn't get the right actcell!
6738 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6740 * insettext.C (localDispatch): Change language only when the inset
6743 2001-08-10 Juergen Vigna <jug@sad.it>
6745 * insettabular.C (selectNextWordInt): use the front using edit call.
6747 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6748 the parameter overwrite class variable inset.
6750 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6752 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6753 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6755 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6756 update only for fixed with cells.
6757 (resetPos): try to fix the lockup on spellchecking or s&r.
6759 * insettext.C (update): comment this out as it seems first wrong
6760 and second not needed anymore!
6761 (some functions): call reinitLyXText() only in update() in all other
6762 positions set only need_update = INIT.
6764 2001-08-08 Juergen Vigna <jug@sad.it>
6766 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6768 * insettext.C (insetUnlock): remove double-space on inset unlock.
6770 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6772 * insettabular.C (update): fixed cursor positon after an insert.
6773 (insetAllowed): do not allow to insert insets when not inside the
6775 (draw): clear below an inset too as it could have changed height.
6777 * inset.C (getMaxWidth): fixed width for inset in inset.
6779 * insettext.C (update): small fix.
6781 * insettabular.C (tabularFeatures): added selection support to
6782 DELETE_ROW/DELETE_COLUMN.
6784 2001-08-07 Juergen Vigna <jug@sad.it>
6786 * inset.C (getMaxWidth): recoded and all it's implementations!
6788 * insettext.C (init,setParagraph+constructors): cleanups
6789 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6790 are new and I want do a save/restore of the cursor position which is
6791 not possible anymore.
6793 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6794 (searchBackward): ditto
6795 (selectNextWord): ditto
6797 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6799 * insetlatexaccent.C (checkContents): Add some debug messages
6801 2001-08-07 Juergen Vigna <jug@sad.it>
6803 * insetert.C (read): don't use InsetCollapsable::read as we don't
6804 write the collapsed status anymore only the status.
6807 2001-08-06 Juergen Vigna <jug@sad.it>
6809 * insetert.C (set_latex_font): use LyXText's setFont directly.
6811 * insettext.C (drawFrame): fixed one time more the right position
6812 and size of the frame!
6814 * insetert.C (~InsetERT): hide the dialog.
6815 (showInsetDialog): added implementation
6818 (status): new function for the status of the ERT inset (3-state).
6819 (write): output also the status of the inset for readback!
6820 (read): readback the status if available otherwise use collapsed_.
6822 * insettext.C (edit): small fix of setting the position, which could
6825 * insetert.C (width): implement this function for inlined viewing.
6826 Added minimum width of 10 pixels!
6828 * insetminipage.C (InsetMinipage): just change the colors a bit so
6829 that border/background is a bit more visible. We will remove this
6832 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6833 function for getting the important widths for drawing in various
6834 functions and in LyXText.
6835 (draw): fixed up a bit (frame drawing/clearing)
6837 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6839 * inset.C (convertFont): delete method. not used.
6841 2001-08-03 Juergen Vigna <jug@sad.it>
6843 * insettext.C (setFont): don't call for a draw update if we're just
6844 changing the cursor font!
6846 2001-08-02 Juergen Vigna <jug@sad.it>
6848 * insettext.C (draw): clear the background with the right color if
6849 needed. Update myself if x&max-width changed and return without doing
6850 anything. Let the update code handle the right stuff.
6852 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6853 inside another inset.
6855 2001-08-01 Juergen Vigna <jug@sad.it>
6857 * insetcollapsable.C (update): added an in_update bool so we avoid
6860 * insettabular.C (update): added an in_update bool so we avoid
6863 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6865 (update): added an in_update bool so we avoid reentering.
6867 * insettabular.C (localDispatch): clear col/row selection when doing
6868 something else inside an inset.
6870 * insettext.C (getLyXText): fixed bug when requesting a recursive
6873 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6875 * insetcite.C (latex): Paranoia check. Make sure that there is no
6876 whitespace between the citation keys.
6878 2001-07-31 Juergen Vigna <jug@sad.it>
6880 * inset.h (nodraw): make the set function also const so that this
6881 can be called from inside other const functions.
6883 * insetcollapsable.h: removed inline variable and moved it over
6884 to the only user InsetERT.
6886 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6887 inset opening immediately therein lying insets dialogs!
6889 * insetert.C (localDispatch): set the font also if we don't have any
6890 chars in this paragraph, otherwise if we delete all of em and start
6891 writing we have the wrong font.
6893 (draw): implemented for inline support
6894 (insetButtonRelease): ditto.
6896 2001-07-30 Juergen Vigna <jug@sad.it>
6898 * insettext.C (reinitLyXText): new function to reinit the insets
6899 text after lot's of paragraph changes. Use this instead of the
6900 cache.clear() which is VERY dangerous.
6902 * insetfloat.C (insetButtonRelease): we should only show the dialog
6903 if we press on the label otherwise we have problems to open mouse
6904 button 3 dialogs inside this float (f.ex. of a tabular!)
6906 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6908 * insetert.C: change back to "ERT"
6910 * insetfloat.C: handliign of RMB on label added.
6912 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6914 * insetgraphicsParams.C: #include LOstream.h here.
6916 * insetfoot.h: remove InsetFoot:: qualifier.
6918 2001-07-29 Baruch Even <baruch@lyx.org>
6920 * ChangeLog: Hiding time travel evidence.
6922 * insetgraphicsParams.h:
6923 * insetgraphicsParams.C:
6924 * insetgraphics.C: Added horizontal scale option, it actually
6925 scales both directions since it keeps image proportions.
6927 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6929 2001-07-29 Baruch Even <baruch@lyx.org>
6931 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6932 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6934 HACKY! Will need to add an EPS detection routine like old InsetFig
6937 2001-07-29 Baruch Even <baruch@lyx.org>
6939 * insetgraphics.C: Added EPSI to be an alias of EPS.
6941 2001-07-29 Baruch Even <baruch@lyx.org>
6943 * insetgraphics.C: Change GRAPHICS to Graphics.
6944 Changed image conversion rules (documented at the beginning of file).
6946 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6948 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6951 * insetgraphics.C: added a using std::endl directive.
6953 * insetcommand.h (getScreenLabel): removed pure virtual function,
6954 as it duplicates that in InsetButton.
6956 * insetbib.[Ch] (getScreenLabel):
6957 * insetbutton.[Ch] (getScreenLabel):
6958 * insetcite.[Ch] (getScreenLabel):
6959 * insetert.[Ch] (getScreenLabel):
6960 * insetexternal.[Ch] (getScreenLabel):
6961 * insetfloatlist.[Ch] (getScreenLabel):
6962 * insetinclude.[Ch] (getScreenLabel):
6963 * insetindex.[Ch] (getScreenLabel):
6964 * insetlabel.h (getScreenLabel):
6965 * insetparent.[Ch] (getScreenLabel):
6966 * insetref.[Ch] (getScreenLabel):
6967 * insettoc.[Ch] (getScreenLabel):
6968 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6970 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6972 (validate): remove check on "cite" when using natbib.
6974 2001-07-26 Baruch Even <baruch@lyx.org>
6976 * insetgraphics.C (draw): changed casting to be in one place
6977 rather than all over the function.
6980 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6982 * insetgraphicsParams.h:
6983 * insetgraphicsParams.C:
6984 * insetgraphics.C: Removed inline option and changed rotateAngle
6987 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6989 * insetfoot.C (validate): Added method to ensure that the
6990 right bit of LaTeX is emitted.
6992 * insetfoot.h: Added validate method to set the correct
6993 LaTeXFeatures bit for the special footnote code.
6995 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6997 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7000 2001-07-27 Juergen Vigna <jug@sad.it>
7002 * inset.h: remove unused font variable in parameter.
7003 removed checkInsertChar in UpdatableInset as it was equal to
7004 the one in Inset and so not needed.
7006 * insetert.C (checkInsertChar): implementation of function
7009 * inset.h: added new function checkInsertChar.
7011 * various files: added c-tor and clone() function.
7013 * insetcollapsable.h: removed clone function here as this should
7014 be only realized in REAL insets and added it to all collapsable
7015 insets! (with the copy-constructor).
7017 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7019 * insetminipage.C (read): handle missing parameters more gracefully
7021 * insetcollapsable.C (read): handel missing collapsed more gracefully
7023 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7025 * insetfloat.C (read): handle missing parameters.
7027 * insettext.C (read): handle old latex end_inset
7029 * insetert.C (setButtonLabel): new method
7030 (init): use it, to set the dynamic label correctly
7033 * Makefile.am (EXTRA_DIST): add files that is not part or the
7036 * insetcollapsable.h: remove autocollapsable (no users), remove
7037 draw_label, change_label_with_text and companion code. Remove args
7039 * insetert.[Ch]: move here instead (only user)
7041 * inset.h: rename private variable name to name_, make
7042 selectNextWord return a const string. make getInsetName return a
7043 string const &. Remove bool from open, add close.
7045 * Makefile.am: don't compile insetlist, insetsection
7048 2001-07-24 Juergen Vigna <jug@sad.it>
7050 * insetert.C (InsetERT): put init after the paragraph initialization,
7051 as otherwise we don't set the draw_label right.
7053 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7054 insets with the mouse without having strange selections.
7055 (edit): if the inset was collapsed and we open it here then put the
7056 cursor always at the beginning of the inset.
7057 (get_new_label): 15 instead of 10 max chars in the label.
7059 * insetert.C (localDispatch): added and handle various stuff we
7060 need to handle here (font setting on paragraph break, not permitted
7061 layout setting, etc.).
7063 * inset.h: added default copy-consturctor and implemented this in
7064 various insets with the change to use this in the clone function!
7066 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7068 * insetminipage.C (InsetMinipage): set background color to red :)
7070 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7072 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7073 draw frame mode is LOCKED.
7075 * insetcollapsable.C (edit):
7076 (insetButtonRelease): set update status to full when
7079 * insettext.C (clearInset):
7080 * insettabular.C (draw):
7081 * insetlatexaccent.C (draw): honor background color.
7083 * inset.h: new member background_color_, initialized to
7086 * inset.C (backgroundColor): new method.
7087 (setBackgroundColor): new method.
7089 * insetert.C (init): new method, called by the ctors.
7090 (InsetERT): when inserting contents, make sure the font is
7093 * insetnote.C (InsetNote): when inserting content, remove trailing
7095 (init): set background color to LColor::note
7097 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7099 * insetcollapsable.C: adjust
7101 * insetbutton.C: adjust
7103 2001-07-23 Juergen Vigna <jug@sad.it>
7105 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7106 parameter on the _collapsed function (was not needed) and call
7107 always width_collapsed().
7109 * insetert.C (InsetERT): use setLabel with "true" flag.
7111 * insetcollapsable.C: modified various functions to set the draw_label
7112 string right in any condition.
7113 (setLabel): added a bool parameter to set change_label_with_text.
7115 * insetcollapsable.h: added draw_label string which is set to the
7116 actual drawn label-string, while label is the original static label
7117 of this collapsable inset. Added bool change_label_with_text to set
7118 if we want that the label changes to the start of the InsetText's
7119 text when collabpsed. You can set this flag with the setLabel funciton.
7120 Added bool inlined for inlined collapsable insets, but not handled
7123 * insetcollapsable.C (get_new_label): added should get a new label
7124 from the InsetText beginning (for now 10 chars).
7126 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7128 * insetquotes.C (latex): fix the handling of french double quotes
7129 when not using the french pachage.
7131 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7133 * insetcollapsable.h: make WidthCollapsed mutable.
7135 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7136 InsetPrintIndex returns INDEX_PRINT_CODE.
7138 * inset.h: add INDEX_PRINT_CODE
7140 * insetcollapsable.C (draw): init widthCollapsed if necessary
7143 * insetquotes.C (width): use the local language, not the document
7146 (dispString): add additional spacing for all french languages,
7148 (validate): make it work when there is no default language
7150 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7152 * insetnote.C (init): new method, called by the constructors
7153 (InsetNote): new constructor with contents passed as a string
7155 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7157 * insetfootlike.C (insetAllowed): disallow float in footlike.
7159 * insetert.C (InsetERT): add collapsed argument to the constrctor
7162 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7164 * insetindex.h: shut off warning
7166 2001-07-20 Juergen Vigna <jug@sad.it>
7168 * insetcollapsable.C (update): recoded hopefully works now!
7170 2001-07-19 Juergen Vigna <jug@sad.it>
7172 * most files: implemented the below new introduced function.
7174 * inset.h: added new edit(BufferView *, bool front) method to be able
7175 to enter an inset from the front/back without knowing x/y positions
7176 and baselines inside the inset. So I just can tell the inset activate
7177 me and set the cursor on the front/back of yourself.
7179 2001-07-18 Juergen Vigna <jug@sad.it>
7181 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7182 is given to the InsetText.
7183 (insetButtonPress): ditto
7184 (insetButtonRelease): ditto
7185 (insetMotionNotify): ditto
7187 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7189 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7190 LIGATURE_BREAK, since the name is so stupid.
7192 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7194 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7195 the default InsetCollapsable methods. I.e., it can insert anything.
7196 (write) output the name of the inset, not some silly hack for
7197 compatability with the old InsetInfo.
7199 * insetinfo.[Ch]: removed.
7200 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7201 now collapsable, but functionality is otherwise identical to InsetInfo.
7203 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7205 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7207 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7210 * insetquotes.C: general cleanup
7211 (dispString): add spaces inside french double quotes.
7212 (latex): ditto. Moreover, treat first the case where the frenchb
7213 or french options have been given.
7215 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7217 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7220 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7222 * figinset.C (RegisterFigure): Print debug message only when
7223 current_view is available.
7225 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7227 * many files: update to match the change below
7229 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7230 implement the version which takes an inset here.
7232 * insetcollapsable.[Ch]: implement open and isOpen
7234 * inset.h: remove insertInsetAllowed from Inset
7235 (open): new method, to open or close an inset
7236 (isOpen): returns the status of an inset
7237 (isCollapsable, colapse): removed
7239 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7241 * insetquotes.C (dispString): display french guillemets when using
7244 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7246 * insetcollapsable.h: remove bogus return statements
7248 2001-07-18 Juergen Vigna <jug@sad.it>
7250 * insettabular.C (selectNextWord): fixed spellchecking for the
7251 first cell of a tabular (wasn't entered!)
7252 (getLyXText): changed to enter automatically insettext and return
7253 it's LyXText if we're locked.
7255 2001-07-17 Juergen Vigna <jug@sad.it>
7257 * various files: implemented the below functions.
7259 * inset.h: added functions
7260 - virtual string selectNextWord(BufferView *, float & value) const;
7261 - virtual void selectSelectedWord(BufferView *) { return; }
7262 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7263 needed for spellchecking correctly!
7265 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7267 * insetert.C (latex): write out all paragraphs.
7269 2001-07-17 Baruch Even <baruch@lyx.org>
7271 * insetgraphics.C (draw): Removed unneeded casts.
7273 2001-07-16 Juergen Vigna <jug@sad.it>
7275 * insettext.C (update): fixed small oversight (reset lt to 0).
7277 2001-07-14 Baruch Even <baruch@lyx.org>
7280 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7282 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7284 Consistent use of Lsstream.h:
7285 * figinset.C: removed using std::ostringstream directive.
7287 * insetgraphics.C (createLatexOptions):
7288 * insetinclude.C (unique_id):
7289 std::ostringstream -> ostringstream.
7290 * insettext.C (localDispatch): std::istringstream -> istringstream.
7292 2001-07-13 Juergen Vigna <jug@sad.it>
7294 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7296 * insetcollapsable.C (getLockingInset): ditto.
7298 2001-07-12 Juergen Vigna <jug@sad.it>
7300 * insetcollapsable.h: added implementation of new function for
7303 * various files: added implementation of new insertInsetAllowed-func
7304 and redone the function a bit more.
7306 * inset.h: added isCollapsable(), bool collapsed(),
7307 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7309 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7311 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7312 LyXText which is marked for removal while we're using it!
7314 * insettext.h: added private LyXText * lt to use it to assure we are
7315 not deleting our LyXText while we're using it!
7317 2001-07-11 Juergen Vigna <jug@sad.it>
7319 * insettext.C (insertInset): check if we are before the inset after
7320 inserting it! This check IS needed. Remove the Undo-Call as it is
7321 called in LyXText::insertInset!
7323 * insettext.h: added struct InnerCache.
7325 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7326 that we ONLY delete the LyXText in the getLyXText() routine. So we
7327 are sure we don't delete LyXText while someone is working with it!
7329 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * insetexternal.C: (*it). -> it->
7332 * insettext.C: ditto
7334 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7336 * insetcollapsable.C (edit): always open collapsed insets (even if
7337 they are not autocollapsable)
7339 * insetcommand.C (operator=): simplify.
7341 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7343 * insetert.C (latex): handle META_NEWLINE
7345 2001-07-09 Juergen Vigna <jug@sad.it>
7347 * insetert.h: a normal InsetText can insert insets, but we won't.
7349 * inset.h: return default "false" on insertInsetAllowed and implement
7350 this function where a returnvalue != "false" is needed.
7352 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7354 * insetert.C (InsetERT): new contructor
7356 2001-07-06 Juergen Vigna <jug@sad.it>
7358 * a lot of files: added implementation of the below new functions
7359 and the change to clone(). Also the call of the new undo-functions
7362 * inset.h: added an inset_id, added functions getParFromID,
7363 getInsetFromID, firstParagraph, cursor and id functions, added
7364 bool same_ids to clone function.
7366 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7368 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7369 of BufferView * and shared_ptr<LyXText>
7371 2001-07-05 Juergen Vigna <jug@sad.it>
7373 * insettext.C (clear): deleted also the cache not only LyXText.
7374 (setParagraphData): ditto.
7376 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7378 * insetfloat.C (latex): let the specific placement take presedence
7379 if set, otherwise choose document placement if set, otherwise just
7380 use float default placement.
7382 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7384 * insettext.C (localDispatch): call CutAndPaste::'s static method
7387 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7389 * insetbib.C: no meed to include forms.h here.
7391 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7393 * insettext.C: added using std::make_pair directive.
7395 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7399 (deleteLyXText): ditto
7400 (resizeLyXText): ditto
7402 2001-07-02 Juergen Vigna <jug@sad.it>
7404 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7405 following calls are only returned the right pointer without the over
7406 head to search in the map.
7407 (various funcs): reset the cached_bview variable as this signs that
7408 the cache is not valid anymore.
7410 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7412 * insettabular.C (clone): do not copy the LyXTabular twice
7414 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7416 * insettext.h (TEXT): delete method
7418 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7420 * insetmarginal.C (latex):
7421 * insetfoot.C (latex): fix spacing of notes in LaTeX
7423 * insettext.C (localDispatch): use .c_str() on istringstream
7424 constructor argument.
7426 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7431 * inseturl.C: fix method names in these to begin
7432 with small char too, so they inherit
7434 2001-06-28 Juergen Vigna <jug@sad.it>
7436 * insettext.C (setFont): fixed font settings using toggleFree()
7437 instead of setFont().
7439 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7441 * Change a lot of method names to begin with a small char.
7442 Changes to a lot of files because of this.
7444 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * insetfloatlist.C (Write): std:: qualify ostream
7449 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7453 * insetgraphics.C: send debug output to Debug::INFO instead of
7456 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7459 * insettabular.C (getStatus): update to use func_status
7461 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7463 * insetref.C (DocBook): added support for cross-references without
7466 2001-06-26 The LyX Project <jug@sad.it>
7471 * insetlabel.h: removed escape method and moved it to
7474 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7476 * insettabular.C (getMaxWidth): do the speedup in a different way,
7479 2001-06-24 The LyX Project <Asger>
7481 * insettabular.C (getMaxWidth): We cache a mapping from
7482 inset to cell in order to speed this method up.
7484 2001-06-24 The LyX Project <Asger>
7486 * insettext.C: Optimized InsetText::draw or something.
7488 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7490 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7492 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7494 * inset.h: name change from lyxinset.h
7496 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7498 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7500 2001-06-14 Juergen Vigna <jug@sad.it>
7502 * insettext.C (draw): removed warnings.
7504 2001-06-13 Juergen Vigna <jug@sad.it>
7506 * insettabular.C (nodraw): only go down the tree if we don't have
7507 that flag set otherwise it's obvious that we don't want to draw.
7508 (LocalDispatch): do also an update if we have an undispached result.
7510 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7513 * insetgraphicsParams.C:
7514 * insettext.C: removed // -*- C++ -*- as first line.
7516 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * lyxinset.h (resizeLyXText): shut off warning about unused
7521 2001-06-07 Juergen Vigna <jug@sad.it>
7523 * insettext.C (resizeLyXText): honor the new force flag.
7525 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7527 * insettabular.C (deleteLyXText): new function
7529 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7537 * insetcollapsable.C:
7538 * insetcaption.C: LColor tidy
7540 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7542 * figinset.C: fix typo
7544 2001-06-01 Juergen Vigna <jug@sad.it>
7546 * insettabular.C (resetPos): small hack so that scroll is not set to
7547 0 when we are in the last column of a tabular. This is a problem we
7548 have because of constats 20 offset on both directions, so this can
7549 cause on the limit an endless loop.
7551 * insettext.C (SetFont): forgot that we can have locking insets ;)
7553 2001-05-31 Juergen Vigna <jug@sad.it>
7555 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7557 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7559 * figinset.C: add using std:: directive for the C functions which
7562 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7564 * insetfloat.C (Write): write out wide info
7565 (Read): read the wide info
7566 (Latex): use the wide info when creating latex.
7568 * insettext.C: adjust
7570 * insetgraphics.[Ch] (statusMessage): change to return string
7574 * figinset.C (runqueue): add std::
7577 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * insetcite.C (Ascii): add std:: qualifier
7581 2001-05-28 Juergen Vigna <jug@sad.it>
7583 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7584 a endless-width inset (maxWidth < 0).
7585 (Edit): change language only if not equal.
7587 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7589 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7591 2001-05-16 Juergen Vigna <jug@sad.it>
7593 * insettext.C (selectAll): added
7594 (clearSelection): added
7596 * insettabular.C (SetFont): now we may set a font on a whole selection!
7597 (getSelection): added helper function.
7599 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7601 * insetcite.C (Ascii): Add method.
7603 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7606 * insetbib.C: fix path for OS/2 & Win32
7608 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7610 * insetfoot.C (Latex): don't use % after footnote.
7612 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * insettext.C (Read): use clear
7615 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7617 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7619 * insetfloatlist.h: add a bunch of std:: qualifiers.
7621 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7624 FLOAT_LIST_CODE, renumber code list.
7626 * insettoc.C (getScreenLabel): remove support for float lists
7630 * insetfloatlist.[Ch]: new files
7632 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7634 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7636 * insettabular.C (LocalDispatch):
7637 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7640 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7642 * insettext.C: remvoe !NEW_INSETS cruft
7644 * insettabular.C: remove !NEW_INSETS cruft
7646 * insetcollapsable.h: remove !NEW_INSETS cruft
7648 * insetbib.C: remove !NEW_INSETS cruft
7650 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7652 * insettoc.C: hack to make listof algorithm work
7654 2001-04-20 Juergen Vigna <jug@sad.it>
7656 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7658 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * insetquotes.C (Latex): improve the guard against
7661 unwanted !` and ?` ligatures. This should really be done in
7662 another place (to catch all this ligatures at low-level).
7664 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7666 * insettext.C (init): remvoe leftovers from cursor_visible change
7667 (draw): use c++ cast
7668 (LocalDispatch): dispatch LFUN_MESSAGE
7670 * insettabular.C (InsetTabular): remove leftovers from
7671 cursor_visible, and scoped_ptr changes
7672 (draw): use c++ cast
7674 * insetcollapsable.C (draw): use c++ cast
7676 * ExternalTemplate.h: inherit privaely from noncopyable
7677 * insetcommand.h: ditto
7678 * insetinclude.h: ditto
7680 2001-04-16 Allan Rae <rae@lyx.org>
7682 * insettoc.C (Ascii):
7683 * insettext.C (draw):
7684 * insettabular.C (setPos):
7685 * insetminipage.C (Read):
7686 * insetfloat.C (placement):
7687 * insetcaption.C (Ascii, DocBook):
7688 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7689 an unrecognised preprocessor directive. So ensure they're wrapped.
7691 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7694 * insetexternal.C: set view on Clone. Add _ to private members.
7696 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7698 * insettext.C (InsetText): fix new
7699 (InsetText): reindent some, simplify deletion of par list
7700 (clear): simplify deletion of par list, fix new
7701 (SetParagraphData): simplify deletion of par list
7703 * insettabular.[Ch] (getLabelList): implement new method
7705 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7707 * lyxinset.h: do not include gettext.h...
7715 * insetlatexaccent.C:
7719 * inseturl.C: ... and do it here instead
7721 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7723 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7725 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7727 * insetcollapsable.[Ch] (getLabelList): implement
7729 * insettext.[Ch] (getLabelList): implement
7731 * insettext.h: reindent
7733 * insettabular.h: make tabular a scoped_ptr
7735 * insettext.C (init): adjust for cursor_visible
7736 (ToggleInsetCursor): constify asc and desc, font, adjust for
7738 (ShowInsetCursor): constify asc and desc, font, adjust for
7740 (HideInsetCursor): adjust for cursor_visible
7742 * insettabular.C: reindent some
7743 (InsetTabular): adjust for scoped_ptr and cursor_visible
7744 (InsetTabular): ditto
7745 (~InsetTabular): delete delete
7746 (Clone): adjust for scoped_ptr
7747 (Read): constify old_format, adjust for scoped_ptr, move init of
7749 (draw): constify tx, localize loop vars.
7750 some other localization of variables, remove double initilizatons.
7752 * insetfoot.C: remove using std::ostream, add ostream where needed
7754 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7756 * lyxinset.h: some reindentaion, use initializer list for
7758 UpdatableInset: make cursor_visible a private var add
7759 public isCursorVisible(), add protected toggleCursorVisible() and
7760 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7762 * insettoc.C: remvoe using decl
7763 (getScreenLabel): make cmdname donst
7766 (Ascii): don't use endl
7768 * insetfootlike.C: remove using decl at file scope and add std::
7770 * insetmarginal.C: ditto
7772 * insetfoot.C: some reformatting
7774 * insetfloat.C (InsetButtonRelease): adjust the hit area
7776 * insetert.C (SetFont): some reformatting
7778 * insetcollapsable.C: some reformatting and constification
7779 (Clone): comment out.
7780 * insetcollapsable.h: some reformatting
7781 (Clone): comment out.
7786 2001-03-30 Juergen Vigna <jug@sad.it>
7788 * insetcollapsable.h: changen *inset to be a InsetText inset.
7790 * some files: changed to reflect the above change.
7792 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7794 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7795 InsetExternal::Params.
7796 Added operator==() and operator!=() for the Params struct.
7798 2001-03-29 Juergen Vigna <jug@sad.it>
7800 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7803 * insetminipage.C: removed widthp_ and all it's functions and changed
7804 to use new %-lengths of LyXLength.
7806 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7808 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7810 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7812 * insetgraphicsParams.C (operator!=): new function, needed by the
7813 ControlGraphics class.
7815 2001-03-28 Juergen Vigna <jug@sad.it>
7817 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7818 (checkAndActivateInset): don't use the values returned from
7819 call to bv->checkInsetHit.
7821 * insetminipage.C (Clone): set special minipage values.
7823 * insetcollapsable.C (draw): changed to draw the button in the
7824 upper left corner outside the textinset.
7825 (ascent): changed because of different drawing
7829 (InsetButtonPress): ditto
7830 (InsetButtonRelease): ditto
7831 (InsetMotionNotify): ditto
7833 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7835 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7839 2001-03-26 Juergen Vigna <jug@sad.it>
7841 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7843 * insettext.C (ShowInsetDialog): implemented above function.
7845 * insettabular.C (ShowInsetDialog): ditto
7847 * insetminipage.C (ShowInsetDialog): ditto
7849 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7851 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7852 InsetInclude::Params. Don't store a buffer * in Params. Store the
7853 master file name instead.
7855 2001-03-23 Juergen Vigna <jug@sad.it>
7857 * insetcollapsable.C (InsetMotionNotify):
7858 (InsetButtonRelease):
7859 (InsetButtonPress): fixed y-offset (minipages).
7861 * insettext.C (draw): force a FULL update if cleared == true.
7863 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7864 routine to draw the minipages on its position-flag.
7865 (InsetInInsetY): give back the right y position, because of minipage
7868 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7871 * insetfloat.C (DocBook): docbook export code.
7873 2001-03-22 Juergen Vigna <jug@sad.it>
7875 * insetminipage.C (getMaxWidth): added function to set the drawing
7877 (Read): should work now!
7879 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7880 if we create a new inset.
7882 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7884 * figinset.C (fl_set_preemptive_callback): moved definition outside
7887 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7889 * insetminipage.C (Read): prepare for reading of minipage arguments.
7891 2001-03-18 Baruch Even <baruch@lyx.org>
7893 * insetgraphics.C: Minor cleanups of the comments and code.
7895 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7897 * insetminipage.C (InsetMinipage): default to not collapsed
7899 2001-03-16 Juergen Vigna <jug@sad.it>
7901 * insetminipage.C (width): modified with to be a string
7902 (widthp): added widthp (for % width) support functions.
7903 (InsetButtonRelease): added to open the options dialog on button==3.
7904 (~InsetMinipage): added to hide the dialog.
7906 * insetminipage.h: added hideDialog signal
7908 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7910 * insetminipage.h: change the order or Position to match
7911 LyXParagraph::MINIPAGE_ALIGNMENT
7913 * several files: remvoe CXX_WORKING_NAMESPACES
7915 * ExternalTemplate.h: noncopyable is in namespace boost
7916 * insetinclude.h: ditto
7917 * insetcommand.h: ditto
7919 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7921 * insettext.C (Edit): #else# -> #else.
7922 * insettoc.C: added using directive.
7924 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7926 * insetminipage.h: add pos, inner_pos, width and height. + getters
7927 and setters for all of them.
7929 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7931 * insetinclude.C (Latex): Do not exit when the textclass of the
7932 included file differ from the textclass of the parent file.
7934 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7936 * ExternalTemplate.C (read): the reading of external insets now checks
7937 for \end_inset and removes it form the input stream.
7939 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7941 * ExternalTemplate.h:
7942 * ExternalTemplate.C:
7944 * insetexternal.C: move form to GUII
7946 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7949 * insetinclude.C: add InsetIncludeParams, use
7950 composition rather than derivation of InsetCommand
7952 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7954 * insettoc.C (Ascii): use the Buffer typedefs
7956 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7958 * insettoc.C (Ascii): implement for dynamic number of lists
7960 * insetcaption.[Ch]: update from new_insets branch
7961 * insetfloat.[Ch]: ditto
7963 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7966 * figinset.C: use new File Dialog
7968 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7970 * insettext.C: changes becuase of ParagraphParameters.
7972 2001-02-28 Baruch Even <baruch@ev-en.org>
7974 * insetgraphics.C (updateInset): Changed due to the change in
7977 2001-02-26 Juergen Vigna <jug@sad.it>
7979 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7980 handled in LyXText).
7982 2001-02-23 Juergen Vigna <jug@sad.it>
7984 * insettext.C (draw): some small repainting fixes.
7985 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7987 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7988 should be) and not an int.
7990 * insettabular.C (LocalDispatch): ditto
7992 * insettext.C (LocalDispatch): ditto
7994 * insetcollapsable.C (LocalDispatch): ditto
7996 2001-02-22 Juergen Vigna <jug@sad.it>
7998 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7999 DISPATCH it and we don't have a locking_inset.
8001 2001-02-21 Baruch Even <baruch@ev-en.org>
8003 * insetgraphics.[Ch]: Changed to use
8004 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8006 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8008 * insetcollapsable.C (getLyXText): add const qualifier to second
8011 2001-02-22 Juergen Vigna <jug@sad.it>
8013 * insettext.C (getLyXText): honor the recursive parameter.
8014 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8016 * inset.C (getLyXText): added bool recursive parameter.
8018 * insettext.C (SetUpdateStatus): or the update codes.
8019 (draw): check need_update with &.
8020 (InsetButtonPress): set no_selection to not put a selection when
8021 entering an inset and it is redraws in another spot.
8023 * insettext.h: made need_update an int.
8025 2001-02-20 Baruch Even <baruch@ev-en.org>
8028 * insetgraphisc.C: Changed to use better semantics when loading images
8029 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8031 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8035 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8036 consistent with InsetTabular.
8038 2001-02-19 Juergen Vigna <jug@sad.it>
8040 * insettabular.C (LocalDispatch): implement PAGE up/down.
8042 * insettext.C (draw): clear all of it on need_update==INIT too!
8044 * insettabular.C (InsetUnlock): always clear the selection.
8046 * inset.C (scroll): normally we only want to scroll the inset until
8047 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8049 2001-02-14 Juergen Vigna <jug@sad.it>
8051 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8052 (resetPos): fixed scroll behaviour.
8053 (LocalDispatch): do an update if moving cursor inside a table cell
8054 requests a scroll of the tabular.
8056 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8058 * insettext.C (textWidth): constify local var
8060 * insettabular.C: small cleanup.
8062 * insetfoot.C (Latex): constify local var
8064 * insetcollapsable.C: small cleanup.
8066 * figinset.C (runqueue): use compare instead of strcmp
8068 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8071 * insetinfo.C: remove cruft
8073 2001-02-14 Juergen Vigna <jug@sad.it>
8075 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8077 2001-02-13 Juergen Vigna <jug@sad.it>
8079 * insettext.C (InsertInset): don't move left (is this right?)
8081 * insettabular.C (LocalDispatch): use of the no_draw variable
8083 * insettabular.h: new no_draw variable to stop redraw
8085 * insettabular.C (TabularFeatures): fixed update for alignment change
8087 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8091 * insetbib.C: move dialogs to frontends/
8093 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8095 * insettext.C (LocalDispatch): Restore the language if the inset
8098 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8100 * insettext.C (moveRightIntern): Update the selection cursor.
8101 (moveLeftIntern): Ditto.
8103 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8105 * Makefile.am: remove BoundingBox.h
8107 * BoundingBox.h: removed
8109 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8111 * insettext.C (LocalDispatch): Update selection cursor when moving
8112 cursor to the right.
8113 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8114 (moveLeftIntern): Ditto.
8116 2001-02-05 Baruch Even <baruch.even@writeme.com>
8118 * insetgraphics.C: Updated automatic image conversion, it now goes into
8119 temporary directory instead of with the image itself.
8121 2001-01-21 Baruch Even <baruch@ev-en.org>
8123 * insetgraphics.C: Added Docbook support. Added Automatic image
8124 conversion to EPS or PNG when needed (support bitmap graphics).
8126 2000-11-02 Baruch Even <baruch@ev-en.org>
8129 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8130 to '\n' and removal of commented out code.
8132 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8134 * insetbib.C (callback): Update citations if the key has changed.
8136 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8138 * insetbib.C (InsetBibKey): Better computation of default key.
8139 (getScreenLabel) Show both the key and the label.
8140 (getBibLabel): New method.
8141 (callback): Force a redraw if the inset have been changed.
8143 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8145 * insetref.C (getType, getName): Move methods from
8146 src/frontends/xforms/FormRef.C.
8148 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8150 * insettabular.C: Various improvements (use only one dummy position).
8152 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8154 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8155 par->bibkey->width. This fixes the crashes when running without
8156 gui or when having included documents.
8158 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8160 * insetcommand.C (getAsString, setFromString): Cleanup.
8162 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8164 * insetref.C: Add the array InsetRef::types that contains
8165 information about all supported reference types.
8167 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * lyxinset.h: remove trailing comma in enum.
8171 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8173 * insettext.C: kill LyXBell.