1 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetgraphics.C (findTargetFormat): document
4 * insetgraphics.C (prepareFile): handle unknown formats
6 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * insettext.C (getLabelList):
9 * insettabular.C (getLabelList): remove, since the ParIterator
10 already does the job of looking inside insets (bug 2188)
12 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * ExternalSupport.[Ch] (updateExternal): add external_in_comment flag
15 * insetexternal.C (latex, linuxdoc, docbook, plaintext): Don't copy
17 * insetbibtex.C (latex): ditto
18 * insetinclude.C (latex, linuxdoc, docbook, plaintext): ditto
19 * insetnote.C (latex): set inComment flag in runparams and ignore
20 exported files for comment insets
21 * insetnote.C (linuxdoc): ditto
22 * insetnote.C (docbook): ditto
23 * insetnote.C (plaintext): ditto
25 2006-01-01 <larsbj@gullik.net>
27 * insetcharstyle.h: fix syntax error
29 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
31 * insetcollapsable.C (metrics): reverse patch of 2005-12-16 because
32 of better fix in text3.C.
34 2005-12-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
36 * insetbase.h (noFontChange): refine documentation
38 2005-12-16 Martin Vermeer <martin.vermeer@hut.fi>
40 * insetcollapsable.C (metrics): fix "turds" when changing openinlined_
42 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
44 * insetbox.[Ch]: fix bugs 2136, 2123
46 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
48 * insetbox.C (metrics): fix width problems (bug 2137)
50 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
52 * insettabular.C (tabularFeatures): Move some code to
53 setColumnPWidth and setMColumnPWidth
55 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * insetcharstyle.[Ch]:
60 * insetlatexaccent.[Ch]:
64 * insetspecialchar.[Ch]:
65 * inseturl.[Ch]: new method textString (fix bug 2089)
67 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
71 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
76 change argument of forceDefaultParagraphs from inset to cell.
78 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
80 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * insetbase.h: document the EDITABLE enum.
84 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
89 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
91 * insetbranch.C: partial fix bug 2092: branches not
92 propagated to child docs
93 * insetcharstyle.C: Also replace LColor::red by LColor::error
95 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * insetbranch.C (isBranchSelected): take a buffer as argument.
98 adapt to work with child documents (bug 2092).
100 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * insettabular.C (doDispatch): get rid of annoying debug message.
104 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
105 code from InsetCollapsable.
107 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
108 inset is toggled to Closed, move cursor to the right (part of bug
111 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
113 * insettext.C: remove obsolete old_pit
115 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * insettabular.C (doDispatch): do not override the result of
118 LFUN_RIGHT/LEFT. (bug 2101)
120 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
122 * insetvspace.C (metrics): compute ascent and descent in a way that
123 the cursor is placed on the same level as the label text
125 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
127 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
128 of autoopen, which means that collapsables automatically open
129 whenever the cursor enters (and close again on leave) (fixes bug 1921).
131 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
134 and '\space' to '\space{}' (consistency).
136 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * insettabular.C (tabularFeatures): validate cursor after
139 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
141 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
143 * insettabular.C: fixes bug 1765: multicol cell width on screen not
146 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
148 * insettabular.C: use recordUndoInset instead of recordUndo
149 (fixes bug 1937 and 1986).
151 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * insetvspace.C (metrics): include label text
154 * insetvspace.[Ch] (label): new, needed for the above
156 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
158 * insetbase.[Ch]: new bool neverIndent() which indicates if
159 an inset does not want paragraph indentation at all.
162 * insetoptarg.h: return true for neverIndent()
163 * insettext.[Ch]: return true for neverIndent() in case
164 of tabular cells (based on a crude guess).
166 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * insetline.C: Add forgotten include
170 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
172 * insetline.C (latex): write the size argument of \lyxline again
173 * insetquotes.C (latex): adapt to OutputParams changes
175 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
178 when switching to pwidth cell (bugs 1296, 1840).
180 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * insettabular.C (draw): pass PainterInfro::erased_ to
184 (drawCellLines): add an erased bool and handle it.
186 2005-08-03 John Levon <levon@movementarian.org>
188 * insettext.C (clear): remove bool argument.
189 (read): adapt to clear() changes.
191 * insettabular.C (cutSelection): adapt to MarkErased changes.
193 * insettext.C (markErased):
194 * insettabular.C (markErased):
195 * insetbase.C (markErased): add bool argument.
197 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
200 after copying several cells (works around bug 1919).
202 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
204 * insetcharstyle.C (metrics,draw): consider inset label for
205 width computation; fix drawing of labels of undefined char styles
207 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
209 * insettabular.C (getStatus): fix Helge's bug that a number of insets
210 including ERT could not be inserted in tabular.
212 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * insetinclude.C (string2params): fix typo in error message (bug 1963).
216 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
218 * insettabular.C (getStatus): disable line and paragraph breaks
219 in non-fixed-width cells (bug 1938).
221 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * insetwrap.C: Do not use translatable strings as internal identifier
227 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
229 * insetbase.C: include boost/current_function.hpp
231 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
233 * insetbase.C (edit,editXY,index): supress some lyxerr messages
235 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
239 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
241 * insetlabel.C (changeRefsIfUnique): remove unused code
243 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
246 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
247 reverse the logic. Make sure to set updateButtonLabel_ to true in all
248 places where params is set (directly or indirectly).
250 2005-07-15 André Pönitz <poenitz@gmx.net>
252 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
254 2005-07-15 André Pönitz <poenitz@gmx.net>
258 * insetcollapsable.[Ch]:
260 * updatableinset.[Ch]: remove UpdatableInset
262 2005-07-15 José Matos <jamatos@lyx.org>
264 * insettext.C (plaintext): fix call to asciiParagraph.
266 2005-07-15 André Pönitz <poenitz@gmx.net>
268 * insetcollapsable.[Ch]:
269 * updatableinset.[Ch] (scroll, setScroll): sanitize things
271 2005-07-14 Angus Leeming <leeming@lyx.org>
273 * insetbibtex.C (latex): when processing the LaTeX file in
274 a temp directory, copy the BibTeX databases there, mangling their
275 names in the process. Do this so that BibTeX can process the database
276 because it *really*, *really* can't handle "files with spaces".
278 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
280 * insettext.C (doDispatch): reduce some debug blabbering
282 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * ExternalSupport.C (subst_path): adjust to latex_path changes and
285 replace dots if appropriate
286 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
287 * insetexternal.C (validate): require lyxdot
289 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * ExternalSupport.C (subst_path): new argument exclude_extension
292 * ExternalSupport.C (doSubstitution): exclude the extension when
294 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
295 the extension when quoting the file name
297 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * insetquotes.C (latex): always use \og/\fg for the french
300 languages; test against the language code instead of the babel
303 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * insettabular.C (tabularFeatures): adjust cursor after adding a column
307 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * insetbranch.C (setButtonLabel): Make label prefix translatable.
311 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
313 * insettabular.[Ch] (dist): make it a real member of insettabular
314 and rewrite it to use the actuall cell dimensions for calculation,
315 not the insettext's deimensions (fixes bug 1801).
317 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * insetbibtex.C: (addDatabase): do not check for substrings but
320 but for whole tokens.
321 (delDatabase): make it actually work.
323 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
327 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * insetgraphics.C (prepareFile): don't strip the extension of quoted
331 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
333 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
335 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
336 when multiple cells are selected (bug 1837).
338 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * insetoptarg.C (InsetOptArg): make the inset open by default
343 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * insetvspace.C (draw): use VSpace::asGUIName.
347 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
350 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
351 cur.noUpdate() if nothing changed
352 * insetlatexaccent.[Ch]: spelling fixes
354 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
356 * insetcollapsable.C (doDispatch): fix
357 click-on-closed-collapsable-inset-crash bug.
359 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
361 * insettabular.C (pasteSelection):
362 * insettext.h (copy c'tor): fix paste inside tabulars.
364 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * insetoptarg.C (plaintext): add dummy method.
368 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
370 * insetbase.h (doDispatch): document a bit more
371 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
372 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
373 cur.bv().update(), because that leads to nested updates. Call
374 cur.noUpdate() instead where approriate.
376 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
378 * insetbibtex.C: change screen label
380 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
382 2005-05-06 José Matos <jamatos@lyx.org>
384 * insetcommandparams.C (scanCommand): fix out of range string access.
386 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
388 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
390 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
391 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
394 handle undefined character styles
395 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
396 handle undefined character styles
398 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
401 in getStatus and the tabularFeature string (bug 1860).
403 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * insetbranch.C (getStatus): make the code more compact
407 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * insetcollapsable.C (doDispatch): do not pass through double/triple
410 click events when they are not in the insetext (bug 1797).
412 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
414 * insetbase.h: document a bit more
415 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
416 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
417 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
418 (getStatus): implement
419 * insetcollapsable.[Ch] (hitButton): take a const argument
420 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
423 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * insetcollapsable.C (doDispatch): pass through double/triple
426 click events (bug 1811).
428 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
432 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
433 but the SENSITIVE label type.
435 2005-04-18 Angus Leeming <leeming@lyx.org>
437 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
438 'use_latex_path' argument. In turn, passed to the new subst_path
439 function when replacing placeholders with paths.
441 * insetexternal.C (getScreenLabel):
442 * ExternalSupport.C (lots of places): change invocation of
443 doSubstitution in lots of places, specifying the appropriate values
444 for this 'use_latex_path' boolean.
446 * insetbib.C (latex):
447 * insetgraphics.C (latex):
448 * insetinclude.C (latex): pass path to latex_path rather than to
451 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
453 * insetcharstyle.C (validate): allow nested charstyle insets
455 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
457 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
459 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * insetfloat.C (InsetFloat):
462 * insetwrap.C (InsetWrap): do not set layout here.
464 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
468 * insetbase.h (getStatus): add more documentation
469 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
472 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
474 * insetcharstyle.C (metrics, draw):
475 * insetert.C (metrics, draw):
476 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
479 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
481 * insetexternal.C (validate):
482 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
483 multiple Requirements in external material template
485 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
487 * insettext.C (drawFrame): cosmetic fix
489 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
491 * ExternalSupport.C (writeExternal):
492 * insetgraphics.C (latex):
493 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
494 mis-count in computing latex error location
496 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
498 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
499 make it *not* descend into insets (fix a crash). Move the part
500 needed from editXY to a new function getNearestCell
502 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
504 * insetinclude.C (InsetInclude): when constructing from another
505 InsetInclude, set set_label_ to false, since the value is never
508 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
512 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
514 * insettabular.C (drawSelection): cosmetic bugfix
516 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
518 * insettabular.C (doDispatch): get middle mouse button back again
519 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
520 when only a part of the cell is selected (fix bug 1799)
522 * insettabular.C: handle some more character attributes in
523 M. Vermeers method (when multiple cells in tables are selected);
524 disable some more senseless lfuns when multiple cells are selected
526 Move to end of cell instead of beginning when coming from the cell
529 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
531 * insettabular.C: make applying character attributes
532 possible for multiple cells in tables. Disable collapsable
533 insets for multiple-cell selection in table (Jürgen S.)
534 Bug reported by Helge Hafting.
536 2005-02-25 Andreas Vox <avox@arcor.de>
538 * insetmarginal.[hC] (docbook): new method, render as <note>
540 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
542 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
544 * insetcaption.[Ch] (doClone): implement
546 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
548 * insetgraphics.C (prepareFile): handle non-existing files
549 * insetgraphics.C (latex): remove special handling of non-existing
552 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
554 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
555 * insettext.C: adjust metrics
557 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * insettext.C: include boost/current_function.hpp (needed when
560 assertions are disabled)
562 2005-02-20 André Pönitz <poenitz@gmx.net>
564 * insetcollapsable.C: Prevent problems on double-/
565 tripleclick on collapsable label (bug 1797).
567 2005-02-13 André Pönitz <poenitz@gmx.net>
569 * insettext.[Ch] (border_): new
570 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
573 2005-02-14 Angus Leeming <leeming@lyx.org>
575 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
576 about "truncation of constant value".
578 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
581 workaround for broken HTML converter)
583 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * insetcollapsable.C (leaveInset): size() -> depth()
586 * insettabular.C (isRightToLeft): ditto
588 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
590 * insetert.C (latex, linuxdoc, docbook): remove newline handling
591 * insetert.C (doDispatch): clean pasted paragraphs
592 * insetert.C (getStatus): suppress more lfuns
593 * insetert.C (insetAllowed): return always false
595 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
600 * updatableinset.C: Use new cursor accessors.
602 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
606 2005-01-31 Angus Leeming <leeming@lyx.org>
608 * insetgraphicsParams.C: protect a #warning preprocessor call
609 with a #ifdef WITH_WARNINGS guard.
611 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * Several files: use convert<> instead of atoi,strToXXX and friends
615 2005-01-23 Angus Leeming <leeming@lyx.org>
617 * insetbibitem.h (bibitemWidest): declare the function.
619 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * insetgraphics.C (prepareFile): move the invocation of the default
622 converter to ../converter.C
623 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
624 call convert with try_default == true
626 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
629 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
630 determines what variables are substituted
631 * ExternalSupport.C (updateExternal): fix substitution of
634 2005-01-10 Angus Leeming <leeming@lyx.org>
636 * ExternalTemplate.C: use support/package.h to provide the paths to the
637 various directories used by LyX.
639 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * ExternalTransforms.C (adjAngle): tostr -> convert
649 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
654 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * ExternalTransforms.C: fix LaTeX output of \scalebox.
658 * ExternalTransforms.[Ch]:
659 * insetexternal.C: store all float/double values as strings.
662 * insetgraphicsParams.C: more precise checks for the value strings.
664 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * insettext.C (doDispatch): remove unused variable was_empty
668 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
671 * insetgraphicsParams.[Ch]: store all float/double values as strings.
673 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
675 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
677 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
679 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
680 UNSET_ALL_LINES (from Jürgen)
682 2004-12-14 Angus Leeming <leeming@lyx.org>
684 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
685 to overcome bug in the MinGW port of g++ 3.4.2.
687 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
689 * insettabular.C (getCellXPos): make it return a relative x
690 position wrt. the begin of the tabular
691 (resetPos): a couple of fixes
692 (doDispatch): add a couple of resetPos calls
693 (drawSelection): fix drawing of selection in single-cell mode
694 (draw): replace 'do not draw' optimization by 'draw with
697 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * insetbase.[Ch] (idxUpDown2): remove function
701 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
703 * insettabular.[Ch]: use size_t-like types for cell, row and column
706 2004-12-02 José Matos <jamatos@lyx.org>
708 * insetlatexaccent.C (checkContents): remove compatibility code,
711 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * insetbase.h (getStatus): add better comment from src/cursor.C
715 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
717 * insettabular.[Ch]: adjust, introduce "do not draw
718 offscreen" optimization using NullPainter, (dist): introduce,
719 (getCursorPos): implement, (drawSelection): implement
721 * insetcollapsable.[Ch]: adjust
723 * insettext.C: adjust, (metrics): set the font before calling
726 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * rename a lot of InsetOld to InsetBase
730 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
733 * insettext.C: par->pit renaming
735 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
737 * Most insets: rename priv_dispatch to doDispatch
739 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
741 * insettabular.C (tabularFeatures): fix multicolumn handling
743 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * render_base.h (operator=): use common semantics
747 * insettext.C (operator=): delete this
748 (copy constructor): implement this properly
749 (init): use for_each and bind
751 (appendParagraphs): ditto
753 * insettabular.C: add more const. Adjust for changes in tabular.
755 * insetbase.h: Use NVI on clone. Add virtual doClone and update
756 all children, also make copy constructor protected. Added some
757 safe-guards to clone.
759 * insets: adjust to fit.
761 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * insetoptarg.C (latexOptional): return number of lines instead of
766 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * insettabular.[Ch] (string2params): Don't pretend to return the
769 active cell anymore and simplify keyword parsing.
771 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * insetlatexaccent.h (isLetter): implement, so that word selection
774 takes accents into account.
776 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
778 * insetcollapsable.C (priv_dispatch): do not push the inset to the
781 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
783 * ExternalSupport.C, insetgraphics.C:
784 s/getFormatFromContents/formats.getFormatFromFile/
786 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * insetcharstyle.[Ch]:
789 * insetert.[Ch]: implement getStatus
791 * insetcharstyle.C (draw): visual clue when the cursor is inside
794 2004-11-02 José Matos <jamatos@lyx.org>
796 * insetcharstyle.C (docbook):
797 * insetlabel.C (linuxdoc, docbook):
798 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
801 * insettabular.C (docbook): mixed content no longer belongs to
804 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
806 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
808 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * ExternalSupport.C (updateExternal): convert files in the temp dir
812 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
814 * insetcharstyle.C: drawing cosmetics.
816 2004-10-30 José Matos <jamatos@lyx.org>
818 * insetcharstyle.C (docbook): a compromisse solution. Don't output
819 paragraph tags inside inline elements.
821 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
823 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
824 InsetText methods rather than outputVerbatim (escapes special
825 characters) [bug 1731]
826 * insetcharstyle.C (outputVerbatim): remove this function.
827 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
828 which caused an infinite loop.
830 2004-10-29 José Matos <jamatos@lyx.org>
832 * insetgraphics.C (uniqueID): transfered to sgml.C
834 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
836 * insetlabel.C (docbook, linuxdoc):
837 * insetref.C (docbook, linuxdoc): sanitize id.
839 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
841 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
842 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
843 * insetgraphics.C (findTargetFormat): reformat
845 2004-10-28 José Matos <jamatos@lyx.org>
847 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
849 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
851 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
853 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
856 "[,,,]" without warning message
858 2004-10-26 Angus Leeming <leeming@lyx.org>
860 * ExternalSupport.C (updateExternal):
861 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
862 external files to the temp directory.
864 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
866 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
867 layouts. This fixes problems with the memoir class (which does not
868 allow \footnote) [bug 1677]
870 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
872 * insetindex.C (docbook): escape the index, to generate correct sgml.
874 2004-10-23 José Matos <jamatos@lyx.org>
876 * insettext.C (docbook): rearrange arguments, due to change in the
879 2004-10-23 André Pönitz <poenitz@gmx.net>
881 * insettabular.C (cutSelection, tabularFereatures):
882 fix cursor position after cutting selection or table rows
884 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
886 * insetgraphics.C (docbook, writeImageObject): write more than one
887 format of imageobjects in <mediaobject>.
889 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
891 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
892 DocBook output for this inset ( <citation>content</citation> )
894 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
896 * insetgraphics.C (docbook) : using mediaobject for XML;
897 correcting bug with SGML output (now '>' instead of '/>')
899 2004-10-05 José Matos <jamatos@lyx.org>
901 * insetfloatlist.C (read):
902 * insetquotes.C (read):
903 * insetspace.C (read):
904 * insetspecialchar.C (read):
905 * insettabular.C (read): replace nextToken by more appropriate lex
908 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
910 * insetgraphics.C (createDocBookAttribute, docbook) :
911 convert scale, width, height and keepaspectratio to Docbook standards)
913 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
914 to Docbook units where possible.
916 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
918 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
920 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
921 as attributes with new method for docbook.
923 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
925 * render_preview.h: Use preferred calling of Boost.Signal
927 * pch.h: use proper signal include
929 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * ExternalTransforms.h: User preferred calling of Boost.Function
933 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
935 * insetref.C (docbook): fixing problem where Docbook XML output
936 had unclosed <xref ... >
938 2004-08-16 José Matos <jamatos@lyx.org>
940 * insethfill.C (write):
941 * insetline.C (write):
942 * insetnewline.C (write):
943 * insetpagebreak.C (write): remove space at end of line.
945 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * insettabular.C (plaintext): do not use ownerPar to get the
950 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
951 and it calls getParentLanguage (which calls ownerPar)
952 (edit): do not call sanitizeEmptyText
953 (priv_dispatch): remove code resetting font on empty inset, for
954 the same reasons as above.
956 * insettabular.C (isRightToLeft): instead of using
957 BufferView::getParentLanguage, use the data from the cursor
959 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
963 * Makefile.am: support pch
965 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * insettabular.C (draw): whitespace
969 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
971 2004-08-14 André Pönitz <poenitz@gmx.net>
973 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
975 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * insettabular.C (metrics): when the width of a cell is zero(),
978 let it use as much space as it can
980 * insettext.C (editXY): compilation fix
982 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
984 (metrics): the insets is not full width any more.
985 (draw): adjust; fix bad test for PREVIEW_OFF
986 (add_preview): fix bad test for PREVIEW_OFF
987 (display): do not return true when using \input
989 2004-08-14 José Matos <jamatos@lyx.org>
991 * insetbibitem.[Ch] (plaintext): added.
993 * insetcite.[Ch]: fix plaintext export.
995 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
997 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
1000 * insetcaption.C (InsetCaption): modify call to setDrawFrame
1001 * insetcollapsable.C (InsetCollapsable): ditto
1002 * insetenv.C (InsetEnvironment): ditto
1004 2004-08-14 André Pönitz <poenitz@gmx.net>
1007 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
1009 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * insetoptarg.C (latexOptional): if the optional argument contains
1012 a ']' enclose it in {curly brackets}
1014 * insettext.C (editXY):
1015 * insettabular.C (editXY):
1016 * insetcollapsable.C (editXY):
1017 * insetbase.C (editXY): constify
1019 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
1020 not ask for an update if we did nothing; on a mouse release, make
1021 sure that the cursor is moved to the right position; on a mouse
1022 release, exit from the inset instead of invoking a
1023 LFUN_FINISHED_RIGHT.
1025 * insetbase.C (dispatch): before invoking dispatch, set cursor
1026 result to dispatch=update=true.
1028 2004-08-13 José Matos <jamatos@lyx.org>
1030 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
1032 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * insetfoot.C (latex): use OutputParams::intitle instead of
1035 parOwner() (avoids time consuming lookup)
1037 * insetquotes.C (latex): same as above with OutputParams::lang.
1038 Moreover the code actually works now.
1040 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1043 * insetinclude.C, insetgraphics.C, insetfloat.C:
1044 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1045 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1046 "support/std_sstream.h" to <sstream>
1048 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1050 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1051 It made the following fail for a .eps graphics file:
1053 2) view->pdf (pdflatex)
1054 because the .eps file was already in the temp dir when the pdflatex
1055 export happened and therefore no .eps -> pdf conversion was done.
1057 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1059 * insetgraphics.C, insettabular.C: s/wether/whether/g
1061 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1063 * insetgraphics.C (stripExtension): new
1064 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1065 the caller does this
1066 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1067 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1069 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * insetfloatlist.C (latex,getScreenLabel): translate according to
1072 the document language (bug #1312)
1074 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1076 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1077 with external_in_tmpdir and compute filename ourself
1078 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1079 use it to store referenced file(s)
1080 * ExternalSupport.C (writeExternal): write relative filename if
1082 * ExternalTemplate.[Ch]: add ReferencedFile command
1083 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1084 runparams.exportdata
1085 * insetgraphics.C (prepareFile): write relative filename if
1087 * insetinclude.C (latex, docbook, linuxdoc): add file to
1088 runparams.exportdata and write it to the temp dir instead of
1089 writing it to the final destination
1090 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1092 2004-05-19 Angus Leeming <leeming@lyx.org>
1094 * insetcite.[Ch]: small change because namespace biblio is
1095 now namespace lyx::biblio.
1097 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * insettabular.[Ch] (buffer): make Buffer * argument const
1101 2004-05-17 Angus Leeming <leeming@lyx.org>
1103 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1104 to force the button label to be re-generated.
1106 2004-05-14 José Matos <jamatos@lyx.org>
1108 * insetlabel (docbook): do not ouput label, for the moment.
1110 2004-05-14 Angus Leeming <leeming@lyx.org>
1112 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1113 new biblio::asValidLatexString function.
1115 2004-05-12 Angus Leeming <leeming@lyx.org>
1117 * insetcite.C: use BufferParams::cite_engine rather than the three
1118 bools, use_natbib, use_jurabib, use_numerical_citations.
1120 2004-05-10 Angus Leeming <leeming@lyx.org>
1122 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1123 Ditto with getStyle, moved to biblio::getEngine.
1125 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127 * insetgraphics.C (validate): remove pre 233 file format stuff,
1128 handle zipped files for "nice" export
1130 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1132 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1133 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1134 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1135 changed since the last run
1136 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1137 and copyFileIfNeeded.
1139 2004-04-29 Angus Leeming <leeming@lyx.org>
1141 * ExternalTemplate.[Ch]: remove redundant #includes.
1143 2004-04-28 Angus Leeming <leeming@lyx.org>
1146 s/updateToolbar()/updateToolbars()/
1148 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * insetgraphics.C: require file extension (file format change!)
1151 * insetgraphics.C (latex): handle zipped files for "nice" export
1153 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1155 * insetgraphics.C (latex): strip the extension and replace dots in
1156 the filename if doing a "nice" export. This is a partial fix for
1157 bug 1231 without reintroducing bug 655.
1159 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 * insetoptarg.h: remove the editable() method (InsetCollapsable
1162 does it better already)
1164 * insetbibtex.C (normalize_name): new helper function. Changes the
1165 name to be suitable to use in a latex file (relative to master
1166 buffer if necessary).
1167 (latex): use normalize_name.
1169 2004-04-20 Angus Leeming <leeming@lyx.org>
1171 * render_preview.C (startLoading): remove lyxerr statement.
1173 (getPreviewLoader): new helper function.
1175 2004-04-19 Angus Leeming <leeming@lyx.org>
1179 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1181 2004-04-19 Angus Leeming <leeming@lyx.org>
1183 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1185 (add_preview): renamed as add_preview_and_start_loading. Invoke
1186 RenderPreview::startLoading.
1188 * insetinclude.C (metrics, draw): changes due to the changed
1189 RenderPreview interface.
1191 * render_preview.C: remove cached pimage_.
1192 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1193 (draw): don't call startLoading. That's up to the user of
1196 2004-04-16 Angus Leeming <leeming@lyx.org>
1198 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1200 2004-04-13 Angus Leeming <leeming@lyx.org>
1202 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1203 the renderer to inform LyX::updateInset that the inset's status
1204 has changed and it should be redrawn.
1206 * render_button.[Ch] (clone):
1207 * render_graphic.[Ch] (c-tors, clone):
1208 * render_preview.[Ch] (c-tors, clone): ditto.
1210 * render_graphic.[Ch] (connect):
1211 * render_preview.[Ch] (connect): removed, as connection is now
1212 made in the constructors.
1216 * insetinclude.C: ensuing simplification of the client code.
1217 (statusChanged): now superfluous. Removed.
1219 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1221 * ExternalTemplate.[Ch]: remove editCommand
1222 * ExternalSupport.C (editExternal): use formats.edit() instead of
1223 the removed editCommand template parameter
1224 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1225 * insetgraphics.[Ch] (editGraphics): new method
1227 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1229 * insetinclude.C (validate): set/reset features.buffer_ when
1230 validating the child
1232 2004-04-07 Angus Leeming <leeming@lyx.org>
1234 * insetexternal.C (priv_dispatch):
1235 * insetinclude.C (priv_dispatch): prevent crash by invoking
1236 InsetOld::priv_dispatch at the end of the switch, rather than
1237 InsetOld::dispatch...
1239 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1241 * insetcollapsable.C:
1242 * insetbranch.C: 'assign' to open/close branch inset according to
1243 selection; also print content on closed branch button
1245 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1247 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1248 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1249 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1251 * ExternalSupport.C (updateExternal): use absolute and output
1252 filename where appropriate
1254 2004-04-05 André Pönitz <poenitz@gmx.net>
1256 * insetbase.h: use LCursor & in notifyCursorLeave
1258 2004-04-05 Angus Leeming <leeming@lyx.org>
1260 * insetgraphics.C: remove unused header file "lyxrc.h".
1262 * render_graphic.C: squash bug 1372: Misleading graphics label when
1263 deactivating lyx view.
1265 2004-04-05 Angus Leeming <leeming@lyx.org>
1270 * insetlatexaccent.C:
1275 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1277 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1279 * insetfloat.C (read): fix yesterday's float fix.
1280 * insetwrap.C (read): apply the fixed float fix.
1282 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1284 * insetfloat.C (read): fix reading of float params
1287 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1289 * insettext.C (edit): comment the call to updateLocal (dangling now)
1290 * insettext.h: add allowSpellCheck() returning true
1292 2004-03-31 Angus Leeming <leeming@lyx.org>
1294 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1296 2004-03-31 Angus Leeming <leeming@lyx.org>
1298 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1299 the cursor out of an inset.
1301 * insetbranch.C (priv_dispatch):
1302 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1303 use getOutOfInset to push the cursor out of the inset when
1306 2004-03-30 Angus Leeming <leeming@lyx.org>
1308 * insetbase.[Ch] (translate): new static member function, returns
1309 an InsetBase::Code corresponding to the input string.
1311 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1313 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1314 so that it opens the inset if it refers to the currently active
1317 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1319 * insetfloat.C (addToToc): use par_const_iterator_begin and
1320 par_const_iterator_end.
1322 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1324 * insetbibtex.[Ch]: bibtopic support.
1326 * insetfloat.[Ch]: add param \sideways {true|false}
1327 (support for sideways floats from rotating.sty).
1329 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1331 * insettext.[Ch]: add a default ctor. implement const version of
1337 * insetwrap.C: adjust
1339 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1341 * insettext.h: add insetAllowed returning true by default (fixing
1342 vanishing insets problem)
1344 * insettext.C (draw): handle the responsability of adding the
1345 ouside offset to collapsable. Clean code a bit.
1347 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1348 from insettext correctly, solve a couple of off-by-one drawing
1351 2004-03-25 Angus Leeming <leeming@lyx.org>
1353 * insetcaption.C (draw): squash warning about unused variable.
1355 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1357 * ExternalSupport.C: use the master buffer's temp dir
1358 * insetgraphics.C (latex): make relative filename relative to the
1360 * insetgraphics.C: use the master buffer's temp dir
1361 * insetinclude.C (masterFilename): new function
1362 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1363 is always true if loadIfNeeded() returns true)
1365 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1367 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1368 set its parent to the current buffer.
1369 (latex): use the tmppath of the master buffer, not just the parent
1370 buffer (makes a difference with more than one level of include
1371 insets). If the file name is relative write in the .tex file a
1372 name relative to the master buffer directory.
1374 * insetinclude.C: rename masterFilename to parentFilename (this
1375 points to the direct parent)
1377 2004-03-25 André Pönitz <poenitz@gmx.net>
1379 * inset.[Ch]: remover owner
1381 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1389 * insetcharstyle.[Ch]:
1397 * insetwrap.C: adjust
1399 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1401 * insetquote.C: use opening quote after '[' char.
1403 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1405 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1408 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1410 * insetcite.[Ch]: support jurabib.
1412 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1414 * insetcite.C: Support second \cite option.
1416 * insetcommand.[Ch]:
1417 * insetcommandparams.[Ch]: add second optional argument.
1419 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1421 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1422 shows the inset dialog.
1424 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1426 * insetlabel.[Ch]: remove them
1427 * Makefile.am: adjust
1429 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1431 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1433 * insetinclude.C (latex): show a GUI warning if textclasses don't
1435 * insetinclude.C: use mangledFilename() for temp files
1436 * insetgraphics.C (readInsetGraphics): remove version check, since
1437 the graphics inset has no own fileformat number anymore
1439 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1441 * insetquotes.[Ch]: added new member that allows direct access
1442 to single/double quotation marks.
1443 * insetnewline.[Ch]:
1444 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1446 2004-02-16 André Pönitz <poenitz@gmx.net>
1449 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1450 implicitly assume 'DispatchResult(true, true) with exception of
1451 InsetBase::priv_dispatch which does the equivalent of
1452 'retrun DispatchResult(false)'
1454 * inset*.[Ch] (priv_dispatch): adjust
1456 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1457 simplify cursor moving function,
1458 re-enable horizontal scrolling for large tables
1460 2004-02-13 André Pönitz <poenitz@gmx.net>
1462 * insettabular.[Ch]: some work after IU
1464 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1466 * inset.C (setPosCache): switch to absolute coords in insets
1467 * insettext.[Ch] (draw, drawFrame): adjust
1468 * insetcollapsable.C (draw): adjust
1471 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1473 * insettext.C (edit):
1474 (updateLocal): use the cur argument instead of the global cursor
1475 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1477 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1479 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1481 * insetfloat.C (validate): "H" -> 'H' in call to contains
1483 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1485 2004-01-30 André Pönitz <poenitz@gmx.net>
1489 * insetcollapsable.[Ch]:
1492 * insetgraphics.[Ch]:
1494 * insettabular.[Ch]:
1497 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1500 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1502 * insettabular.C: add using statement for std::vector, remove
1503 std:: where using was already used.
1505 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1509 * insetinclude.C (validate): use feautures.nice() instead of
1512 2004-01-20 André Pönitz <poenitz@gmx.net>
1515 * insetbase.[Ch]: move stuff from mathcursor here.
1517 * insetbibitem.[Ch]:
1521 * insetcharstyle.[Ch]:
1522 * insetcollapsable.[Ch]:
1523 * insetcommand.[Ch]:
1525 * insetexternal.[Ch]:
1527 * insetgraphics.[Ch]:
1528 * insetinclude.[Ch]:
1532 * insettabular.[Ch]:
1536 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1539 2004-01-15 André Pönitz <poenitz@gmx.net>
1542 * insetbibitem.[Ch]:
1546 * insetcharstyle.[Ch]:
1547 * insetcollapsable.[Ch]:
1548 * insetcommand.[Ch]:
1550 * insetexternal.[Ch]:
1552 * insetgraphics.[Ch]:
1553 * insetinclude.[Ch]:
1557 * insettabular.[Ch]:
1561 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1563 2004-01-08 André Pönitz <poenitz@gmx.net>
1565 * insetcollapsable.[Ch]:
1566 * insettabular.[Ch]:
1568 * updatableinset.h: use cell index info from global cursor.
1570 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1572 * insetnote.C (InsetNoteParams::write): write label only once
1574 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1578 get rid of the SameName functor
1580 * insettabular.C: improve the functor.
1582 2003-12-29 Angus Leeming <leeming@lyx.org>
1584 * insetexternal.C (setParams): update defaultTemplateName.
1586 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1588 * insetbox.C: Use term "Box" in button label
1590 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1592 * insetcharstyle.C: get getDrawFont working again
1594 2003-12-15 André Pönitz <poenitz@gmx.net>
1596 * insettabular.[Ch]:
1597 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1599 2003-12-12 Angus Leeming <leeming@lyx.org>
1601 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1603 (InsetBranchParams): remove the branchlist hack.
1604 (isBranchSelected): new function, used to decide whether to
1605 print each output format. Also used by InsetList.
1606 (read, string2params): repair my own breakage ;-)
1608 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1610 * insetminipage.[Ch]: remove from repository.
1612 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1615 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1616 insetert to insetcollapsable; introduce virtual function
1617 setButtonLabel and invoke it from collapsable
1619 2003-12-12 Angus Leeming <leeming@lyx.org>
1621 * insetinclude.C (draw): cache x,y and so enable the
1622 dialog to be opened.
1624 2003-12-12 Angus Leeming <leeming@lyx.org>
1626 * mailinset.C (print_mailer_error): tidy up the output.
1628 2003-12-11 Angus Leeming <leeming@lyx.org>
1630 * mailinset.[Ch] (print_mailer_error): new helper function.
1632 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1633 calling InsetCommandMailer.
1634 (InsetCommandMailer::string2params): pass the name of the dialog.
1636 * insetbibitem.[Ch] (d-tor):
1637 * insetbibtex.[Ch] (d-tor):
1638 * insetcite.[Ch] (d-tor):
1639 * insetfloatlist.[Ch] (d-tor):
1640 * insetindex.[Ch] (d-tor):
1641 * insetlabel.[Ch] (d-tor):
1642 * insetref.[Ch] (d-tor):
1643 * insettoc.[Ch] (d-tor):
1644 * inseturl.[Ch] (d-tor): removed.
1645 Hiding the dialog is handled by InsetCommand.
1647 * insetbibtex.[Ch] (draw, metrics):
1648 * insetfloatlist.[Ch] (draw, metrics):
1649 * insetindex.[Ch] (draw, metrics): removed.
1650 Drawing is handled by InsetCommand.
1652 * insetbibitem.[Ch] (priv_dispatch):
1653 * insetbibtex.[Ch] (priv_dispatch):
1654 * insetcite.[Ch] (priv_dispatch):
1655 * insetfloatlist.[Ch] (priv_dispatch):
1656 * insetindex.[Ch] (priv_dispatch):
1657 * insetlabel.[Ch] (priv_dispatch):
1658 * insettoc.[Ch] (priv_dispatch):
1659 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1660 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1661 LFUN_INSET_DIALOG_SHOW.
1663 * insetbox.C (string2params):
1664 * insetbranch.C (string2params):
1665 * insetert.C (string2params):
1666 * insetexternal.C (string2params):
1667 * insetfloat.C (string2params):
1668 * insetinclude.C (string2params):
1669 * insetminipage.C (string2params):
1670 * insetnote.C (string2params):
1671 * insetvspace.C (string2params):
1672 * insetwrap.C (string2params): over-hauled.
1674 2003-12-10 Angus Leeming <leeming@lyx.org>
1676 * insetexternal.[Ch]: add a draft option and respect it when
1679 2003-12-10 Angus Leeming <leeming@lyx.org>
1681 * insetbox.C: (read, write): now prepend the inset contents with
1682 'Box' to identify the inset as a box inset.
1684 * insetbox.h: move the translators out of sight.
1686 2003-12-10 Angus Leeming <leeming@lyx.org>
1688 * insetert.C (string2params): clean-up using the new lyxlex interface.
1690 * insetexternal.C: ensure that InsetExternalParams has a default
1691 template, 'RasterImage'.
1693 2003-12-10 Angus Leeming <leeming@lyx.org>
1695 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1696 to an enum. Ensuing clean-ups through out the class.
1697 (read, write): now prepend the inset contents with 'Note' to identify
1698 the inset as a note inset.
1700 2003-12-10 Angus Leeming <leeming@lyx.org>
1702 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1703 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1705 2003-12-10 André Pönitz <poenitz@gmx.net>
1709 * insettabular.[Ch]:
1710 * insettext.[Ch]: remove unused insetInset()
1712 * insetert.C: disable some LFUNs
1714 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1716 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1718 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1720 2003-12-04 Angus Leeming <leeming@lyx.org>
1722 * insetexternal.C (draw): update the xo_, yo_ cache.
1724 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1726 (RotationDataType): new helper struct wrapping the
1727 RotationData::OriginType enum.
1729 2003-12-03 André Pönitz <poenitz@gmx.net>
1731 * inset.h: remove getParagraphs()
1733 * insetcollapsable.[Ch]:
1736 * insettabular.[Ch]:
1737 * insettext.C: use getText() instead of getParagraphs()
1739 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1741 * insetert.C: fix label text updating bug
1743 2003-12-02 Angus Leeming <leeming@lyx.org>
1745 * insetvspace.[Ch] (space): new member function. Make space_ private.
1746 (read): use the new, simpler lyxlex syntax.
1748 2003-12-01 André Pönitz <poenitz@gmx.net>
1750 * insetcollapsable.[Ch]:
1751 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1753 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1755 * insetvspace.C (read): handle 'end_inset' token.
1757 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1759 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1761 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1763 * insetcollapsable.[Ch]:
1765 * insetcharstyle.C: place inset content on the button when
1768 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1770 * insetvspace.C: remove VSpace::NONE; increase inset width
1772 2003-12-01 André Pönitz <poenitz@gmx.net>
1774 * insetbase.h: whitespace
1776 * inset.[Ch]: remove latexTextWidth
1777 make setBackgroundColor virtual
1779 * insettext.[Ch]: move ParagraphList member to LyXText
1781 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1787 * insetminipage.[Ch]:
1789 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1791 2003-11-28 Angus Leeming <leeming@lyx.org>
1793 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1794 hiding and showing the dialog respectively.
1795 (priv_dispatch): also actually update the inset contents.
1797 2003-11-28 Angus Leeming <leeming@lyx.org>
1799 * insetbox.C (d-tor):
1800 * insetbranch.C (d-tor):
1801 * insetcite.C (d-tor):
1802 * insetfloat.C (d-tor):
1803 * insetfloatlist.C (d-tor):
1804 * insetinclude.C (d-tor):
1805 * insetindex.C (d-tor):
1806 simplify the invocation of the Mailer::hideDialog() function.
1808 * insetminipage.C (showInsetDialog):
1809 simplify the invocation of the Mailer::showialog() function.
1811 2003-11-28 André Pönitz <poenitz@gmx.net>
1814 * insetvspace.[Ch]: new insets
1816 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1818 * insetcharstyle.C: Syntax change for CharStyles
1820 2003-11-28 André Pönitz <poenitz@gmx.net>
1822 * updatableinset.h: remove insetInInsetY
1824 * insetcollapsable.[Ch]:
1826 * insettabular.[Ch]:
1827 * insettext.[Ch]: adjust
1829 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1833 * insetcollapsable.[Ch]:
1835 * insettabular.[Ch]: remove setFont
1837 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1839 * render_graphic.[Ch]: adjust comments
1841 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1843 * insetgraphics.C (draw): cache xo_ & yo_
1845 2003-11-24 André Pönitz <poenitz@gmx.net>
1847 * insettext.C (setViewCache): don't call LyXText::init() anymore
1849 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1852 * insetcollapsable.[Ch]:
1853 * insetert.[Ch]: remove bufferview parameter in methods
1854 open, close, status, and updateStatus.
1856 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1858 * insetcollapsable.[Ch]:
1859 * insettabular.[Ch]:
1860 * insettext.[Ch] (getCursorDim): squash unused variable
1862 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1864 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1866 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1868 * insettext.C (draw): sets LyXText absolute coordinates
1870 2003-11-20 Angus Leeming <leeming@lyx.org>
1872 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1873 warnings about unused parameters.
1875 * insetcollapsable.C (open):
1876 * insettabular.C (pasteSelection):
1877 * insettoc.C (draw): ditto.
1879 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1881 * insetcollapsable.C:
1883 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1884 remove mouse_x mouse_y etc.
1886 2003-11-17 André Pönitz <poenitz@gmx.net>
1888 * insettext.[Ch] (cx, cy): remove
1890 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1892 2003-11-13 André Pönitz <poenitz@gmx.net>
1895 * insetcollapsable.[Ch]:
1896 * insettabular.[Ch]:
1897 * insettext.[Ch] (deleteLyXText): remove
1899 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1901 * insetcollapsable.[Ch] (fitInsetCursor): remove
1902 * insettabular.[Ch] (fitInsetCursor): remove
1903 * insettext.[Ch] (fitInsetCursor): remove
1904 * updatableinset.[Ch] (fitInsetCursor): remove
1905 (getCursorDIm): add virtual
1907 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1909 * src/insets/Makefile.am:
1910 * src/insets/inset.h:
1911 * src/insets/insetcharstyle.C:
1912 * src/insets/insetcharstyle.h: The Character Style /XML short
1915 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1917 * insettext.C: remove all update calls
1918 * insetcollapsable.C: remove all update calls
1920 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1922 * insettext.C (updateLocal, insertInset, setFont): remove
1925 2003-11-10 André Pönitz <poenitz@gmx.net>
1927 * inset.h: remove Inset::id_
1929 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1934 2003-11-10 André Pönitz <poenitz@gmx.net>
1938 * insetcollapsable.[Ch]:
1942 * insettabular.[Ch]:
1945 * updatableinset.[Ch]: remove inset locking & adjust
1947 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1949 * inset.h (allowSpellCheck): add (return true)
1950 * insetert.h (allowSpellCheck): add (return false)
1952 2003-11-05 José Matos <jamatos@lyx.org>
1958 * insetcaption.[Ch]:
1960 * insetcollapsable.[Ch]:
1961 * insetcommand.[Ch]:
1964 * insetexternal.[Ch]:
1966 * insetfloatlist.[Ch]:
1968 * insetgraphics.[Ch]:
1970 * insetinclude.[Ch]:
1973 * insetlatexaccent.[Ch]:
1976 * insetmarginal.[Ch]:
1977 * insetminipage.[Ch]:
1978 * insetnewline.[Ch]:
1981 * insetpagebreak.[Ch]:
1985 * insetspecialchar.[Ch]:
1986 * insettabular.[Ch]:
1988 * insettheorem.[Ch]:
1991 * insetwrap.[Ch]: rename ascii to plaintext
1992 and LatexRunParams to OutputParams.
1994 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1996 * insetcollapsable.C (edit): add open() all
1997 * insettext.C (edit): add setViewCache call
1999 2003-11-04 André Pönitz <poenitz@gmx.net>
2001 * inset.h (edit): move locking code from dispatch() to edit()
2007 * insetcollapsable.[Ch]:
2010 * insetexternal.[Ch]:
2011 * insetgraphics.[Ch]:
2016 * insettabular.[Ch]:
2017 * insettext.[Ch]: adjust
2019 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2022 * insetcollapsable.[Ch]:
2024 * insettabular.[Ch]:
2026 * updatableinset.[Ch]: remove dead search code
2028 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2031 * insetcollapsable.[Ch]:
2033 * insettabular.[Ch]:
2035 * updatableinset.[Ch]: remove dead spellcheck code
2037 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2039 * insettabular.C (lockInsetInInset): small fix
2041 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2044 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2045 from here. Be stricter on DispatchResult returned.
2047 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2049 * Inset::dispatch's: adjust for new DispatchResult semantics.
2051 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2053 * render_base.h: make clone return an auto_ptr
2054 * render_button.C (clone): adjust
2055 * render_graphic.C (clone): adjust
2056 * render_preview.C (clone): adjust
2058 * insettheorem.C (clone): return an auto_ptr
2060 * insettext.C (priv_dispatch): exception safety
2062 * insettabular.C: store the file scope variable paste_tabular in a
2063 scoped_ptr, adjust usage.
2065 * insetexternal.C (setParams): exception safety
2067 * insetbibitem.C (clone): exception safety
2069 2003-11-03 André Pönitz <poenitz@gmx.net>
2072 * insetcollapsable.[Ch]:
2073 * insettabular.[Ch]:
2074 * insettext.[Ch]: remove Inset::id and related functions
2076 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * insets: adjust for DispatchResult changes.
2080 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2082 * insetpagebreak.C: fix screen representation & ascii output.
2084 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2088 * insettabular.[Ch]:
2089 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2091 2003-10-31 José Matos <jamatos@lyx.org>
2093 * inset.h (ascii, linuxdoc, docbook):
2094 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2095 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2096 * insetcaption.[Ch] (ascii, docbook):
2097 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2098 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2099 * insetert.[Ch] (ascii, linuxdoc, docbook):
2100 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2101 * insetfloat.[Ch] (linuxdoc, docbook):
2102 * insetfloatlist.[Ch] (ascii):
2103 * insetfoot.[Ch] (docbook):
2104 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2105 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2106 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2107 * insetindex.[Ch] (docbook):
2108 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2109 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2110 * insetline.[Ch] (ascii, linuxdoc, docbook):
2111 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2112 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2113 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2114 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2115 * insetref.[Ch] (ascii, linuxdoc, docbook):
2116 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2117 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2118 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2119 * insettext.[Ch] (ascii, linuxdoc, docbook):
2120 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2121 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2122 * insetwrap.[Ch] (docbook):
2123 add LatexRunParams argument.
2125 2003-10-30 José Matos <jamatos@lyx.org>
2127 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2129 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * updatableinset.C (priv_dispatch):
2132 * insetwrap.C (priv_dispatch):
2133 * inseturl.C (priv_dispatch):
2134 * insettoc.C (priv_dispatch):
2135 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2136 (moveLeftIntern, moveUp, moveDown):
2137 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2138 (moveLeft, moveUp, moveDown):
2139 * insetref.C (priv_dispatch):
2140 * insetnote.C (priv_dispatch):
2141 * insetminipage.C (priv_dispatch):
2142 * insetlabel.C (priv_dispatch):
2143 * insetindex.C (priv_dispatch):
2144 * insetinclude.C (priv_dispatch):
2145 * insetgraphics.C (priv_dispatch):
2146 * insetfloatlist.C (priv_dispatch):
2147 * insetfloat.C (priv_dispatch):
2148 * insetexternal.C (priv_dispatch):
2149 * insetert.C (priv_dispatch):
2150 * insetcommand.C (priv_dispatch):
2151 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2152 * insetcite.C (priv_dispatch):
2153 * insetbranch.C (priv_dispatch):
2154 * insetbox.C (priv_dispatch):
2155 * insetbibtex.C (priv_dispatch):
2156 * insetbibitem.C (priv_dispatch):
2157 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2159 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2161 * insettext.C: small refactoring of docbook stuff
2163 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2166 (priv_dispatch): adjust for operator dispatch_result_t removal
2168 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2169 in a DispatchResult, adjust accordingly.
2170 (priv_dispatch): use strange >= construct... (will be removed later)
2172 * most insets: dispatch_result -> DispatchResult
2174 * insetbase.h: move DispatchResult out to dispatchresult.h
2176 2003-10-27 André Pönitz <poenitz@gmx.net>
2178 * insetpagebreak.[Ch]: new inset for page breaks
2180 * insetline.[Ch]: new inset for vertical lines
2185 2003-10-25 Angus Leeming <leeming@lyx.org>
2187 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2188 new virtual member functions, specialised...
2189 * render_button.h (asButton):
2190 * render_graphic.h (asGraphic):
2191 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2193 * insetexternal.C: use these new functions rather than dynamic_cast.
2194 Various other small simplifications.
2196 2003-10-22 Angus Leeming <leeming@lyx.org>
2198 * insetexternal.[Ch]: add the ability to 'preview' the external file
2201 * insetinclude.C: changes due to the changes in the RenderPreview
2204 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2205 message if the preview image is not available. Only initiate the
2206 loading of the preview from draw(). Ditto, start the monitoring
2207 of an external file from RenderMonitoredPreview::draw.
2209 2003-10-22 Angus Leeming <leeming@lyx.org>
2211 * insetcite.[Ch] (setLoadingBuffer): removed.
2212 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2213 ascertain whether to proceed with the (expensive) task of computing
2214 the natbib-style label. Remove the home-grown hack providing
2215 similar functionality.
2217 2003-10-22 Angus Leeming <leeming@lyx.org>
2219 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2220 class and into an anonymous namespace.
2222 2003-10-22 Angus Leeming <leeming@lyx.org>
2224 * insetcommand.h: remove the display method.
2228 * insetindex.h (InsetPrintIndex):
2229 * insettoc.h: add a display method, returning true.
2231 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2233 * insetcollapsable.h:
2237 * insetinclude.h: (1) finish off the inset display() work;
2238 (2) fix the "is a bit silly" bug (accessing char
2241 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2245 * insetfootlike.h: re-introduce display() for insets,
2246 fixing the various bugs (stretch of line above, math inset
2249 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2251 * insetbase.C (dispatch): new func
2252 (priv_dispatch): new func replaces...
2253 (localDispatch): this, deleted.
2255 * all insets with dispatch modified for new code.
2257 2003-10-15 André Pönitz <poenitz@gmx.net>
2259 * insetcollapsable.[Ch]
2261 * inset.h: re-add some edit(bv, index) method called by undo
2263 2003-10-14 Angus Leeming <leeming@lyx.org>
2265 * insetexternal.[Ch] (view, cache, view_):
2266 * insetgraphics.[Ch] (view, cache, view_):
2267 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2268 (statusChanged): call LyX::cref().updateInset.
2270 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2271 the BufferView cache.
2273 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2276 2003-10-14 Angus Leeming <leeming@lyx.org>
2278 * insetinclude.C (metrics, draw): only draw the preview when previews
2281 2003-10-14 André Pönitz <poenitz@gmx.net>
2283 * insetcollapsable.[Ch]:
2284 * insettabular.[Ch]:
2286 * inset.h: getText() as alternative to getParagraphs()
2288 2003-10-13 Angus Leeming <leeming@lyx.org>
2291 * insetgraphicsParams.C: displayTranslator is now a function.
2293 2003-10-13 Angus Leeming <leeming@lyx.org>
2295 * insetinclude.C: remove #include "PreviewImage.h".
2297 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2299 * ExternalSupport.C:
2300 * ExternalTransforms.C:
2302 * insetbox.h: ws changes only
2304 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * insetinclude.C (localDispatch): do not call
2307 InsetOld::localDispatch, just return UNDISPATCHED
2308 * insetgraphics.C (localDispatch): ditto
2309 * insetcommand.C (localDispatch): ditto
2311 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2313 * inset.h: get rid of RESULT typedef for dispatch_result
2315 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2316 * insetert.[Ch] (localDispatch): ditto
2317 * insettabular.[Ch] (localDispatch): ditto
2322 * insettext.[Ch] (localDispatch): ditto
2325 (moveRightIntern): ditto
2326 (moveLeftIntern): ditto
2329 * updatableinset.[Ch] (localDispatch): ditto
2331 2003-10-12 Angus Leeming <leeming@lyx.org>
2333 * renderbase.h (view, view_): removed.
2334 * renderbase.C: removed.
2335 * Makefile.am: remove render_base.C. The shortest lived file in
2338 * renderbutton.C (draw):
2339 * render_graphic.C (draw): don't cache the BufferView.
2341 * insetabase.h (cache, view): removed.
2343 * inset.h (generatePreview) removed.
2345 * insetcallapsable.[Ch] (cache, view, view_): removed.
2347 * insetcollapsable.C (draw): don't cache the BufferView.
2349 * insetcommand.[Ch] (view): removed.
2351 * insetexternal.[Ch] (cache, view, view_):
2352 * insetgraphics.[Ch] (cache, view, view_):
2353 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2355 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2356 when you have direct access to it. In fact, don't use the cache at all.
2358 2003-10-10 Angus Leeming <leeming@lyx.org>
2360 * insetinclude.C (metrics): use preview_->metrics.
2361 (draw): use preview_->draw.
2363 * render_preview.[Ch] (pimage): removed.
2365 2003-10-10 Angus Leeming <leeming@lyx.org>
2367 * renderers.[Ch]: removed.
2370 * render_button.[Ch]:
2371 * render_graphic.[Ch]:
2372 * render_preview.[Ch]: new files. The first three are split out of
2373 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2374 contains a re-worked InsetInclude::PreviewImpl also.
2376 * Makefile.am: reflect the changed files.
2379 * insetexternal.[Ch]:
2380 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2382 * insetinclude.[Ch]: changes reflecting the change from
2383 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2389 * inseturl.C: add #include "support/std_ostream.h"
2391 2003-10-09 Angus Leeming <leeming@lyx.org>
2393 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2394 to PreviewedInset::previewReady.
2396 2003-10-09 Angus Leeming <leeming@lyx.org>
2398 * insetexternal.[Ch] (statusChanged):
2399 * insetgraphics.[Ch] (statusChanged): make a const member function.
2401 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2404 2003-10-09 Angus Leeming <leeming@lyx.org>
2406 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2407 to PreviewedInset's previewReady and removePreview member functions.
2409 2003-10-08 André Pönitz <poenitz@gmx.net>
2411 * insetcollapsable.C:
2412 * insettext.[Ch]: saner 'init' structure
2414 * updatableinset.[Ch]: remove unneeded code
2416 2003-10-08 Angus Leeming <leeming@lyx.org>
2418 Fix doxygen warnings.
2420 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2421 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2423 2003-10-07 Angus Leeming <leeming@lyx.org>
2425 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2426 be applied to InsetExternal.
2428 * Makefile.am: add these new files.
2430 * ExternalTemplate.[Ch]: add a list of available transforms to
2431 class Template and a list of factory functions for transformer classes
2432 that can act on this data to class Format.
2434 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2436 * ExternalSupport.C: Add code to replace transform placeholders
2437 with appropriate output.
2439 2003-10-07 Angus Leeming <leeming@lyx.org>
2441 * ExternalSupport.[Ch]: new files, moving the private member functions
2442 and namespace anon functions out of insetexternal.C to here, so making
2443 it easier to understand what is going on in insetexternal itself.
2445 * Makefile.am: add new files.
2447 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2448 allowing the class to be forward declared. (Also consistent with
2449 all other Params classes.)
2450 (write): moved out of the class. Move this function and those in
2451 namespace anon to ExternalSupport.[Ch].
2453 2003-10-07 Angus Leeming <leeming@lyx.org>
2455 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2456 non-const member function.
2458 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2463 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2465 2003-10-02 André Pönitz <poenitz@gmx.net>
2467 * insettext.C (read): make sure there is at least one par
2468 in the text after reading.
2470 2003-10-01 José Matos <jamatos@lyx.org>
2472 * insetbranch.C (linuxdoc, docbook): minor fix.
2474 2003-10-01 Angus Leeming <leeming@lyx.org>
2476 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2478 * insetexternal.[Ch]: changes due to the introduction of
2479 namespace lyx::external.
2481 2003-09-30 Angus Leeming <leeming@lyx.org>
2483 * insetexternal.[Ch] (Params::read, write): new member functions.
2485 2003-09-25 Angus Leeming <leeming@lyx.org>
2487 * insetexternal.[Ch] (TempName): new (private) nested struct with
2488 fake copy semantics. Enables us to use the generated copy c-tor
2489 in the Params struct.
2490 (Params::templatename, Params::tempname): use accessor functions.
2492 2003-09-25 Angus Leeming <leeming@lyx.org>
2494 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2495 function, returning a const pointer.
2497 2003-09-23 Angus Leeming <leeming@lyx.org>
2499 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2500 store them in a vector, preambleNames.
2502 * insetexternal.C (validate): loop over all preambleNames and call
2503 LaTeXFeatures::addExternalPreamble with each.
2505 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2507 * insetbranch.C: bug fix in branches
2509 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2511 * insetnote.C: small clean-up.
2513 2003-09-19 Angus Leeming <leeming@lyx.org>
2515 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2517 * insetcommand.C (string2params): clear params using the default c-tor.
2519 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2520 InsetInclude::Params. No more data in this struct than in
2521 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2522 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2523 (clone): remove #warning as it's now redundant.
2524 (set): add a 'Buffer const &' arg. Make private.
2525 (loadIfNeeded) move out of the class definition and into namespace anon.
2526 (getMasterFilename, getFileName): ditto.
2528 2003-09-18 Angus Leeming <leeming@lyx.org>
2530 * insetcommand.C (setParams): use the params' copy constructor.
2532 2003-09-18 Angus Leeming <leeming@lyx.org>
2534 * insetinsetbase.h (getLabelList):
2535 * insetinsetcollapsable.[Ch] (getLabelList):
2536 * insetinsetinclude.[Ch] (getLabelList):
2537 * insetinsetlabel.[Ch] (getLabelList):
2538 * insetinsettabular.[Ch] (getLabelList):
2539 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2540 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2542 2003-09-18 Angus Leeming <leeming@lyx.org>
2544 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2545 redundant baggage from yesteryear.
2546 Remove Params::flag as it is redundant; the info is present in
2549 2003-09-18 Angus Leeming <leeming@lyx.org>
2551 * insetinclude.C (latexString): add a Buffer const & arg.
2553 2003-09-18 Angus Leeming <leeming@lyx.org>
2558 * insettext.h: rename EnumLColor as LColor_color.
2560 2003-09-18 Angus Leeming <leeming@lyx.org>
2562 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2563 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2565 2003-09-16 Angus Leeming <leeming@lyx.org>
2567 * insetinclude.C (localDispatch): ensure that
2568 params_.masterFilename_ is set before trying to generate a
2569 preview, else we trigger an assert.
2571 2003-09-16 Angus Leeming <leeming@lyx.org>
2573 * insetinclude.C (PreviewImpl::parent): return a const reference.
2575 2003-09-16 Angus Leeming <leeming@lyx.org>
2577 * insetcollapsable.[Ch]: make all member variables, except for
2580 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2581 than access labelfont directly.
2582 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2583 use InsetCollapsable::setCollapsed, isOpen rather than access
2584 collapsed_ directly.
2586 * insetminipage.C (metrics):
2587 * insetnote.C (metrics):
2588 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2589 access collapsed_ directly.
2591 2003-09-16 Angus Leeming <leeming@lyx.org>
2593 * insetbibitem.C: add #include "lyxfont.h".
2595 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2598 * insetbibtex.C: use namespace alias for lyx::support::os
2600 2003-09-16 Angus Leeming <leeming@lyx.org>
2602 * insetcollapsable.h: remove unused framecolor variable.
2603 Remove #include "LColor.h".
2605 * insetcollapsable.C: remove unused framecolor variable.
2608 * insetcollapsable.C:
2616 Add #include "LColor.h".
2618 2003-09-16 Angus Leeming <leeming@lyx.org>
2620 * insettext.[Ch] (frameColor): new accessor function.
2621 (frame_color_): stored as an int, allows us to remove #include
2622 "LColor.h" from insettext.h
2627 add #include "LColor.h".
2629 * insetcollapsable.h: add #include "LColor.h"
2630 (for its framecolor member variable).
2632 2003-09-16 Angus Leeming <leeming@lyx.org>
2634 * insetenv.C (constructor): use accessor functions to access
2635 InsetText variables.
2637 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2638 rename frame_color as frame_color_. Make private.
2640 * insettext.C: associated changes.
2642 2003-09-16 Angus Leeming <leeming@lyx.org>
2644 * inset.h: store background_color_ as an int, not as an
2645 LColor::color to get LColor.h out of the header file.
2648 * insetlatexaccent.C:
2651 * insetspecialchar.C:
2653 add #include "LColor.h".
2655 2003-09-16 Angus Leeming <leeming@lyx.org>
2657 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2658 cannot string calls together.
2660 2003-09-15 Angus Leeming <leeming@lyx.org>
2662 * inset.[Ch] (setBackgroundColor, backgroundColor):
2663 * insettext.[Ch] (setFrameColor):
2664 pass EnumLColor args, rather than LColor::color ones.
2666 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * insetwrap.C: remove usage of STRCONV
2678 2003-09-15 Angus Leeming <leeming@lyx.org>
2680 * renderers.C (draw):
2681 * insetlatexaccent.C (draw): explicitly define the color passed to
2684 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2686 * insettext.C: remove block causing problems in lockInsetInInset
2687 (mentioned erroneously under Bug #1366)
2689 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2691 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2694 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2696 * several files: change Assert to BOOST_ASSERT
2698 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2700 * insettext.[Ch]: remove drawText[XY]Offset
2702 2003-09-08 Angus Leeming <leeming@lyx.org>
2704 * insetcollapsable.C:
2709 * insetspecialchar.C:
2712 * insettoc.C: remove redundant using directives.
2714 2003-09-07 Angus Leeming <leeming@lyx.org>
2717 * insetspecialchar.h: remove #include "support/std_string.h".
2719 2003-09-06 Angus Leeming <leeming@lyx.org>
2721 * renderers.C: add #include "insets/inset.h"
2723 2003-09-05 Angus Leeming <leeming@lyx.org>
2725 * *.C: strip out redundant #includes. (193 in total.)
2727 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2729 * insets/insetbibtex.[Ch]:
2730 * insets/insetcommand.h:
2731 * insets/insetfloatlist.[Ch]:
2732 * insets/insetinclude.[Ch]:
2733 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2734 of insets like bibtex, include, toc and floatlist to the visible
2735 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2736 up the dialogs. Cursor has to be in front of the inset (i.e.
2737 start of row) for this to function.
2739 2003-09-04 Angus Leeming <leeming@lyx.org>
2741 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2742 structure outside of the Format struct. Format::preambleName refers to
2743 an item in the map of all preamble snippets.
2744 Make use of the new Debug::EXTERNAL flag.
2746 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2747 (validate): Small change due to the changed storage of preamble
2750 2003-09-04 Angus Leeming <leeming@lyx.org>
2752 * insetgraphics.C: #include "support/os.h"
2754 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2755 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2756 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2758 * insetcollapsable.h:
2760 * insetnote.C: move #include "funcrequest.h" out of the header file.
2762 2003-09-03 Angus Leeming <leeming@lyx.org>
2764 * insetexternal.C (updateExternal):
2765 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2768 2003-09-03 Angus Leeming <leeming@lyx.org>
2770 * insetexternal.C: don't bring namespace lyx::support into the global
2773 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2775 * insetbranch.C: Add Branch: to label
2777 2003-09-02 John Levon <levon@movementarian.org>
2780 * insettext.C: remove cursor.i[xy]()
2782 2003-08-28 Angus Leeming <leeming@lyx.org>
2784 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2785 "sh ", enabling the conversion to be carried out even if the script
2788 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * most files: change to use const Buffer refs
2792 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2794 * insetfootlike.C: whitespace.
2796 2003-08-26 John Levon <levon@movementarian.org>
2800 * insetindex.h: remove remaining mentions of needFullRow()
2802 2003-08-26 André Pönitz <poenitz@gmx.net>
2808 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2810 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2812 * insetbranch.C: Small fix to prevent a crash on loading.
2814 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2819 * insetcollapsable.h:
2821 * insetfloatlist.[Ch]:
2822 * insetfootlike.[Ch]:
2823 * insetinclude.[Ch]:
2829 * insettheorem.[Ch]:
2830 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2831 altogether, putting the logic in metrics/draw in the insets.=20
2832 Draws short single row insets with more or less realistic metrics.
2834 2003-08-19 André Pönitz <poenitz@gmx.net>
2836 * insettext.C: use new RowPainter interface
2838 2003-08-18 John Levon <levon@movementarian.org>
2840 * insetref.C: require amsmath for eqref
2842 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2846 * insetbranch.[Ch]: implements the 'branch inset'
2847 idea. This allows the output of various versions of a document
2848 from a single source version, selectively outputing or suppressing
2849 output of parts of the text.
2850 This implementation contains a 'branch list editor' in a separate
2851 tab of the document settings dialog. Branches are user definable
2852 and have a "display colour" to distinguish them on-screen.
2854 ColorHandler was somewhat cleaned up.
2855 (1) make possible a dynamically growing LColor list by allowing
2856 the graphic context cache to grow along (vector);
2857 (2) eliminate an IMHO unnecessary step in colour allocation.
2859 2003-08-15 André Pönitz <poenitz@gmx.net>
2861 * insettext.[Ch]: adjust after rowlist split
2863 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2865 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2866 rename valign-center to valign-middle;
2867 rename VALIGN_CENTER to VALIGN_MIDDLE
2869 2003-08-11 André Pönitz <poenitz@gmx.net>
2871 * inset.h: remove resizeLyXText
2874 * insetcollapsable.[Ch]:
2876 * insettabular.[Ch]: adjust
2878 * insettext.[Ch]: remove saveLyXTextState,
2879 restoreLyXTextStat, sstate, reinitLyXText
2881 2003-08-07 André Pönitz <poenitz@gmx.net>
2883 * inset.[Ch]: move non-crucial functions out-of-line
2885 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2886 remove duplicated code.
2888 2003-08-05 André Pönitz <poenitz@gmx.net>
2891 * insetcollapsable.[Ch]:
2901 * insettabular.[Ch]:
2904 * updatableinset.[Ch]: rip out "deep update"
2906 * insettext.C (localDispatch): merge cases with default branch
2908 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2910 * insettabular.[Ch] (updateLocal): simplify logic
2912 2003-08-04 André Pönitz <poenitz@gmx.net>
2914 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2915 is 'FULL' all the time.
2917 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2919 * insetert.C (get_new_label): only add ... to the (closed) label
2920 when the string has been shortened
2922 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2924 * Always use std::endl with lyxerr
2926 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2928 * insetnote.C: update \author list
2930 2003-07-31 André Pönitz <poenitz@gmx.net>
2932 * insetcollapsable.h:
2933 * insettabular.[Ch]:
2934 * insettext.[Ch]: remove toggleSelection
2936 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2938 (with help from Juergen Spitzmueller)
2939 * insetnote.C: add add i18n support. Use Prefs-definable
2940 colours for Comment and Greyedout.
2942 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2944 * insetcollapsable.[Ch]:
2946 * insetert.C: factor out the detection of clicking on the inset
2947 button as 'hitButton'. John Levon contributed.
2949 2003-07-30 André Pönitz <poenitz@gmx.net>
2951 * insetcollapsable.C:
2953 * insettabular.C: parantheses, localize vars etc.
2955 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2957 * insetnote.C: Implement a newenvironment in preamble for
2958 greyedout. Patch provided by Jürgen Spitzmüller.
2960 2003-07-29 Angus Leeming <leeming@lyx.org>
2962 * insetcommand.C (localDispatch): default to
2963 InsetOld::localDispatch.
2965 * insetbibitem.C (localDispatch):
2966 * insetbibtex.C (localDispatch): remove call to
2967 ChangeCitationsIfUnique.
2969 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2971 * insetexternal.C (read): use pushpophelper.
2973 2003-07-28 José Matos <jamatos@lyx.org>
2975 * insetext.C (read): \end_document replaces \the_end.
2977 2003-07-28 José Matos <jamatos@fep.up.pt>
2979 * insetert.C (write): \layout -> \begin_layout.
2980 Add missing \end_layout.
2982 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2984 * insetquotes.C: document a bit the format
2986 * insettabular.C (write): remove extra space
2988 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2989 * insetnote.C: Umpf. Hope I *now* get it right :-(
2991 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2992 *insetnote.C: did the right fix to greyedout: \color
2993 instead of \textcolor.
2995 2003-07-28 Angus Leeming <leeming@lyx.org>
2997 * insetbibtex.h: remove extraneous forward declaration.
3000 * insetbibtex.h: Also remove long-dead Holder member class
3003 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
3005 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
3008 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * insetwrap.C (addToToc): adjust for lyx::toc
3012 * insetfloatlist.C (ascii): adjust for lyx::toc
3014 * insetfloat.C (addToToc): adjust for lyx::toc
3016 2003-07-27 José Matos <jamatos@fep.up.pt>
3018 * insetnote.h (linuxdoc,docbook): update support.
3020 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * insetfloat.C (wide): add a space to label, for consistency
3024 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * insettext.C (nextChange): adjust for lyx::find
3027 (searchForward): ditto
3028 (searchBackward): ditto
3030 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3032 * insetgraphicsParams.C:
3033 * insetexternal.C: declare extern displayTranslator
3036 * renderers.C: add #include "support/LAssert.h"
3038 2003-07-27 José Matos <jamatos@fep.up.pt>
3040 * insetfloat.[Ch] (linuxdoc):
3041 * insetgraphics.C (linuxdoc):
3042 * insettabular.C (linuxdoc):
3043 * insettext.[Ch] (linuxdoc): add support for tables and figures
3046 2003-07-27 José Matos <jamatos@fep.up.pt>
3048 * insetinclude (latex): comply with makeLaTeXFile argument change.
3050 2003-07-26 Asger Alstrup <alstrup@local>
3052 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3053 the undo crashes. We'll see what problems other places this will
3056 2003-07-26 Angus Leeming <leeming@lyx.org>
3058 * insetgraphics.C: remove unused declaration of system_tempdir.
3060 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * rename Inset to InsetOld
3064 * all inset files (clone): return a auto_ptr<InsetBase>
3066 2003-07-23 Angus Leeming <leeming@lyx.org>
3068 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3070 2003-07-23 Angus Leeming <leeming@lyx.org>
3072 * mailinset.[Ch] (inset2string):
3073 * insetcommand.[Ch] (inset2string):
3074 * insetert.[Ch] (inset2string):
3075 * insetexternal.[Ch] (inset2string):
3076 * insetfloat.[Ch] (inset2string):
3077 * insetgraphics.[Ch] (inset2string):
3078 * insetinclude.[Ch] (inset2string):
3079 * insetminipage.[Ch] (inset2string):
3080 * insetnote.[Ch] (inset2string):
3081 * insettabular.[Ch] (inset2string):
3082 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3084 * insetexternal.[Ch]:
3085 * insetgraphics.[Ch]: get rid of the view() function. Associated
3086 changes to the mailers' string2params and params2string functions.
3088 2003-07-23 Angus Leeming <leeming@lyx.org>
3090 * insetexternal.[Ch]: store the external file name in a FileName
3091 member variable rather than a string + associated changes.
3093 2003-07-21 Angus Leeming <leeming@lyx.org>
3095 * insetgraphicsParams.[Ch]: store the graphics file name in
3096 a FileName member variable rather than a string.
3098 * insetgraphics.[Ch]:
3099 * insetgraphicsParams.[Ch]: Associated changes.
3101 2003-07-21 Angus Leeming <leeming@lyx.org>
3103 * insetgraphics.[Ch] (string2params, params2string): passed a
3104 buffer_path argument.
3107 2003-07-21 Angus Leeming <leeming@lyx.org>
3110 * insetgraphicsParams.[Ch]:
3112 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3114 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3116 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3118 2003-07-18 André Pönitz <poenitz@gmx.net>
3121 * insetminipage.[Ch]:
3122 * insettabular.[Ch]:
3125 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3127 2003-07-18 André Pönitz <poenitz@gmx.net>
3131 * insetcollapsable.C:
3135 * insetgraphics.[Ch]:
3136 * insetlatexaccent.[Ch]:
3141 * insetspecialchar.C:
3142 * insettabular.[Ch]:
3144 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3146 2003-07-17 André Pönitz <poenitz@gmx.net>
3148 * insetcollapsable.C:
3150 * insettext.C: don't call Inset::update() anymore
3153 * insettabular.[Ch]: remove unneeded in_update_ members
3155 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3157 2003-07-16 André Pönitz <poenitz@gmx.net>
3159 * insettext.C (selectAll): remove
3161 2003-07-16 John Levon <levon@movementarian.org>
3164 * insetnote.C: implement showInsetDialog()
3166 2003-07-15 André Pönitz <poenitz@gmx.net>
3169 * insettext.C: refresh_status tristate -> need_update bool
3171 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3173 * insettext.C: adjust call to LyXText::init
3175 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3177 * insettext.C: use bufferview_funcs->replaceSelection()
3178 to delete selections in some cases (bugs 441, 673, 702, 954).
3180 2003-07-14 André Pönitz <poenitz@gmx.net>
3182 * insettext.C (draw): use slimmed down rowpainter interface
3184 2003-07-14 André Pönitz <poenitz@gmx.net>
3186 * insetcollapsable.C:
3188 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3189 remove unused BufferView * argument
3191 2003-07-14 André Pönitz <poenitz@gmx.net>
3193 * insettext.[Ch]: used cached metrics a bit more
3195 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3197 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3199 2003-07-10 André Pönitz <poenitz@gmx.net>
3202 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3204 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * introduce namespace lyx::graphics
3208 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * introduce namespace lyx::support
3212 2003-06-30 André Pönitz <poenitz@gmx.net>
3214 * insetcite.C (localDispatch): fix case of missing return value
3216 * insetcite.C (ascii): remove unneeded temporary
3218 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * insetspace.h: fix \file
3222 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3223 * insetinclude.C (fillWithBibKeys): ditto
3225 * insetbibitem.C: fix type const order
3227 * inset.C (getLyXText): add varname for arg
3229 * ExternalTemplate.h: fix type const order
3231 2003-06-27 André Pönitz <poenitz@gmx.net>
3233 * insettext.C: take care of removed LyXCursor::row_ member
3235 * insettext.[Ch]: use new TextCursor struct for sstate
3237 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3239 * inseterror.[Ch]: removed
3241 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3243 * insetinclude.C (docbook): use parseError instead of sgmlError
3245 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3247 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3248 of BufferList::loadLyXFile
3250 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * insettext.C (update): simplify
3253 (updateLocal): remove commented code
3254 (insetUnlock): simplify
3255 (lockInset): simplify
3256 (updateInsetInInset): simplify
3257 (localDispatch): simplify
3259 (resizeLyXText): simplify
3260 (collapseParagraphs): simplify
3262 * insetert.C (get_new_label): simplify
3264 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3266 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3267 pasteSelection with index
3269 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3271 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3273 2003-06-16 André Pönitz <poenitz@gmx.net>
3275 * insetbase.h: new virtual base function clone()
3277 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3278 Inset * clone() -> InsetBase * clone()
3280 2003-06-13 André Pönitz <poenitz@gmx.net>
3282 * insettabular.[Ch]: make tabular a proper member
3284 2003-06-12 André Pönitz <poenitz@gmx.net>
3286 * insettabular.[Ch]: some renaming plus whitespace
3288 2003-06-11 Angus Leeming <leeming@lyx.org>
3290 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3293 * insetbutton.[Ch]: removed.
3294 * graphicinset.[Ch]: renamed as renderers.[Ch].
3296 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3297 Create a new class ButtonRenderer using the InsetButton::metrics() and
3299 Derive both from a common RenderedInset base class.
3301 * insetcommand.[Ch]:
3302 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3303 Give it a ButtonRenderer member variable. Use it.
3304 Give the classes working copy c-tors.
3305 No longer derive from boost::noncopyable.
3307 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3308 display its contents as a button or as a graphic.
3310 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3313 2003-06-11 Angus Leeming <leeming@lyx.org>
3315 * insetcite.C (localDispatch): reformat.
3317 * insetref.C (localDispatch): enable dialog to be lauched.
3319 2003-06-11 John Levon <levon@movementarian.org>
3321 * insettabular.C: correctly mark all cells as erased
3323 2003-06-11 Angus Leeming <leeming@lyx.org>
3325 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3326 ExternalTemplate but its name, templatename. This means that a file
3327 containing a reference to an External Template not installed on the
3328 current machine will be saved retaining this info rather than inserting
3329 the first "valid" template from the list of templates.
3331 As a by product, the visual statement that the Template is missing is
3334 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3336 * insettext.C (appendParagraphs): remove some commented code.
3338 2003-06-10 Angus Leeming <leeming@lyx.org>
3340 * graphicinset.[Ch] (view): removed the publicly accessible
3341 function to set the cache.
3343 * insetexternal.[Ch]: move tempname_ into the Params struct.
3344 (Params d-tor): new function, to clean-up this temp file.
3345 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3347 (editExternal, doSubstitution): move out of class.
3349 2003-06-10 Angus Leeming <leeming@lyx.org>
3351 * graphicinset.[Ch] (params): removed.
3352 * graphicinset.h (operator=): declared private but not defined.
3353 (statusMessage): made private.
3355 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3357 2003-06-07 John Levon <levon@movementarian.org>
3359 * insetert.C (latex): make a newline mean just that not
3362 2003-06-07 José Matos <jamatos@fep.up.pt>
3364 * insethfill.[Ch] (linuxdoc, docbook): implement output
3365 * insetspace.C (linuxdoc, docbook): remove coments as the code
3368 2003-06-06 José Matos <jamatos@fep.up.pt>
3370 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3372 2003-06-06 André Pönitz <poenitz@gmx.net>
3374 * insetwrap.[Ch]: code compactification
3376 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3378 * mailinset.C (updateDialog): use Dialogs::visible
3380 2003-06-04 Angus Leeming <leeming@lyx.org>
3382 * graphicinset.C (draw): add a comment for the #if 0 block.
3384 * insetexternal.h: remove Params::parameters variable.
3386 * insetexternal.C (read, write): rewrite to output new ExternalInset
3387 format and read it back making full use of LyXLex.
3389 2003-06-04 André Pönitz <poenitz@gmx.net>
3391 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3393 2003-06-04 John Levon <levon@movementarian.org>
3395 * insettabular.C: back out tall table speed up. It was broken
3397 2003-06-03 Angus Leeming <leeming@lyx.org>
3399 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3400 Remove ViewCommand and UpdateCommand.
3402 * graphicinset.C (update): bug fix. Set the params before calling the
3405 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3406 the BufferView cache to enable the InsetExternal::editCommand to
3407 be invoked from the frontends. Would not be needed if this were
3408 dispatched properly.
3409 (old_ascent_): variable removed.
3411 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3412 do any necessary conversions of external material. Also use the
3413 new GraphicsInset to display the inset within LyX.
3415 2003-06-03 Angus Leeming <leeming@lyx.org>
3417 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3418 and move it somewhere where InsetExternal can use it too.
3420 * Makefile.am: add the new files.
3422 * insetgraphics.[Ch]: make use of the new GraphicInset.
3424 2003-06-03 John Levon <levon@movementarian.org>
3427 * insetbibitem.[Ch]:
3430 * insetcommand.[Ch]:
3434 * insetexternal.[Ch]:
3438 * insetgraphics.[Ch]:
3440 * insetinclude.[Ch]:
3443 * insetlatexaccent.[Ch]:
3444 * insetmarginal.[Ch]:
3445 * insetminipage.[Ch]:
3452 * insetspecialchar.[Ch]:
3453 * insettabular.[Ch]:
3455 * insetthereom.[Ch]:
3458 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3460 * insetgraphics.[Ch]:
3461 * insetgraphicsParams.[Ch]: always store an absolute
3464 2003-06-02 André Pönitz <poenitz@gmx.net>
3468 * insetlatexaccent.C: remove duplicated call to metrics()
3470 2003-06-02 John Levon <levon@movementarian.org>
3472 * insettabular.C: fix resize of column width
3474 2003-06-02 John Levon <levon@movementarian.org>
3479 * insetparent.C: remove insetparent
3481 2003-06-02 André Pönitz <poenitz@gmx.net>
3488 * insetcollapsable.[Ch]:
3492 * insetgraphics.[Ch]:
3493 * insetinclude.[Ch]:
3494 * insetlatexaccent.[Ch]:
3495 * insetminipage.[Ch]:
3496 * insetnewline.[Ch]:
3499 * insetspecialchar.[Ch]:
3500 * insettabular.[Ch]:
3501 * insettext.[Ch]: unify first drawing phase
3504 * insetbase.h: move validate() to the base
3506 2003-05-31 Angus Leeming <leeming@lyx.org>
3508 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3510 2003-05-30 André Pönitz <poenitz@gmx.net>
3515 * insetcaption.[Ch]:
3516 * insetcollapsable.[Ch]:
3519 * insetgraphics.[Ch]:
3520 * insetinclude.[Ch]:
3521 * insetlatexaccent.[Ch]:
3522 * insetnewline.[Ch]:
3525 * insetspecialchar.[Ch]:
3526 * insettabular.[Ch]:
3528 * updatableinset.[Ch]: unify second drawing phase
3530 2003-05-30 John Levon <levon@movementarian.org>
3532 * insetgraphics.C: fix a bformat
3534 2003-05-29 John Levon <levon@movementarian.org>
3536 * insettabular.C: remove unused bufferOwner()
3538 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * insettext.C (lockInsetInInset): adjust
3541 (getLabelList): use const_iterator, adjust
3542 (getInsetFromID): use const_iterator, adjust
3543 (addPreview): use const_iterator, adjust
3545 * insetwrap.C (clone): remove const_cast
3547 * insetnote.C (clone): remove const_cast
3549 * insetminipage.C (clone): remove const_cast
3551 * insetmarginal.C (clone): remove const_cast
3553 * insetfoot.C (clone): remove const_cast
3555 * insetfloat.C (clone): remove const_cast
3557 * insetert.C (clone): remove const_cast
3559 * delete commented same_id functions from a lot of files.
3561 2003-05-28 John Levon <levon@movementarian.org>
3567 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3569 * insetminipage.C: fix metrics (bug 1144)
3571 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * insettext.C (saveLyXTextState): adjust
3574 (restoreLyXTextState): adjust
3577 (unlockInsetInInset): adjust
3578 (localDispatch): adjust
3579 (getLyXText): adjust
3581 * insettabular.C (insertAsciiString): adjust
3583 2003-05-27 André Pönitz <poenitz@gmx.net>
3586 * insetcollapsable.C:
3589 * insetlatexaccent.C:
3594 * insetspecialchar.C:
3596 * insettext.C: dim.w -> dim.wid
3598 2003-05-26 John Levon <levon@movementarian.org>
3600 * insettabular.C: avoid drawing all of a long table
3601 if it's not needed. A big speedup
3603 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * remove same_id from function signatures, adjust
3607 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * insettext.C (InsetText): adjust
3611 (setParagraphData): separate same_id cases, adjust
3612 (appendParagraphs): adjust
3613 (appendParagraphs): adjust
3615 2003-05-23 André Pönitz <poenitz@gmx.net>
3617 * insetbutton.h: whitespace
3619 * insettabular.C: more compact code
3621 * updatableinset.C: remove const_cast
3624 2003-05-23 Angus Leeming <leeming@lyx.org>
3626 * insetexternal.C (write): check how many lines are output.
3627 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3628 if the template has defined it.
3630 2003-05-23 Angus Leeming <leeming@lyx.org>
3632 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3634 2003-05-23 Angus Leeming <leeming@lyx.org>
3636 * insetfoot.C (latex):
3637 * inseturl.C (latex): rename fragile as moving_arg.
3639 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * inseterror.C (localDispatch): comment out unused var.
3643 2003-05-22 Angus Leeming <leeming@lyx.org>
3645 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3646 passed through the LatexRunParams arg.
3648 2003-05-22 Angus Leeming <leeming@lyx.org>
3650 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3651 through the LatexRunParams arg.
3653 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3654 arg rather than through a global var.
3656 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3658 * insetspecialchar.C (dimension): use a string.
3660 2003-05-22 Angus Leeming <leeming@lyx.org>
3662 * insetbibtex.C (latex):
3663 * insetgraphics.C (latex):
3664 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3665 runparams rather than from the buffer itself.
3667 2003-05-22 Angus Leeming <leeming@lyx.org>
3669 * inset*.[Ch] (latex):
3670 passed a LatexRunParams parameter.
3672 * insetgraphics.C (latex): actually use it ;-)
3674 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3676 * insetfloat.C (addToToc): trivial compile fix
3678 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * insettext.[Ch] (paragraph): delete unused function
3682 * insetfloat.C (addToToc): parlist simplfication
3684 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3686 * insetspace.[Ch]: added (new space insets)
3688 * inset.h: handle new space insets
3690 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * insetfloat.C (addToToc): adjust
3694 2003-05-21 André Pönitz <poenitz@gmx.net>
3696 * insettext.[Ch]: fix drawing bug introduced earlier
3698 2003-05-19 André Pönitz <poenitz@gmx.net>
3700 * insetspecialchar.C: fix bug introduced yesterday
3702 2003-05-19 André Pönitz <poenitz@gmx.net>
3706 * insetcollapsable.[Ch]:
3710 * insetgraphics.[Ch]:
3711 * insetgraphicsParams.[Ch]:
3712 * insetlatexaccent.[Ch]:
3713 * insetminipage.[Ch]:
3714 * insetnewline.[Ch]:
3716 * insetspecialchar.[Ch]:
3717 * insettabular.[Ch]:
3718 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3720 2003-05-19 André Pönitz <poenitz@gmx.net>
3723 * insettext.C: more insetenv
3725 2003-05-16 André Pönitz <poenitz@gmx.net>
3728 * insetminimpage.[Ch]:
3729 * insetcollapsable.[Ch]: fix #832
3731 2003-05-16 André Pönitz <poenitz@gmx.net>
3734 * insetbibitem.[Ch]:
3738 * insetcollapsable.[Ch]:
3739 * insetcommand.[Ch]:
3742 * insetexternal.[Ch]:
3743 * insetfloatlist.[Ch]:
3744 * insetgraphics.[Ch]:
3745 * insetinclude.[Ch]:
3748 * insetlatexaccent.[Ch]:
3751 * insettabular.[Ch]:
3755 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3757 2003-05-13 André Pönitz <poenitz@gmx.net>
3760 * insetcollapsable.C:
3764 * insetwrap.C: tostr from own header
3776 * insetwrap.C: STRCONV
3779 2003-05-12 André Pönitz <poenitz@gmx.net>
3791 * insetwwrap.C: boost::format -> bformat all over the place
3793 2003-05-05 André Pönitz <poenitz@gmx.net>
3795 * insettext.h: add missing #include <map>
3797 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * insettext.C (InsetText): parlist cleanup
3802 (insetUnlock): ditto
3804 (lockInsetInInset): ditto
3808 (searchBackward): ditto
3809 (collapseParagraphs): ditto
3811 2003-05-06 John Levon <levon@movementarian.org>
3813 * insetcaption.C: don't cast wrap inset to InsetFloat
3816 * insetfloat.C: remove unneeded type() function
3818 2003-05-05 André Pönitz <poenitz@gmx.net>
3822 * insettabular.[Ch]:
3823 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3824 replace getFirstParagraph() by getParagraphs()
3826 2003-05-03 John Levon <levon@movementarian.org>
3828 * insetcollapsable.h:
3829 * insetcollapsable.C:
3835 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3836 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3837 getCursor(). Remove explicit cursor hides.
3839 2003-05-02 André Pönitz <poenitz@gmx.net>
3841 * insettext.C: remove unneeded &*
3843 2003-04-30 John Levon <levon@movementarian.org>
3845 * insettabular.C: fix edit message
3847 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * insettext.C (setFont): do not convert iterator -> pointer
3851 * insettabular.C (localDispatch): do not convert iterator -> pointer
3853 (tabularFeatures): ditto
3855 2003-04-29 André Pönitz <poenitz@gmx.net>
3857 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3859 2003-04-28 André Pönitz <poenitz@gmx.net>
3861 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3864 2003-04-25 André Pönitz <poenitz@gmx.net>
3866 * insetenv.C: derive from InsetText instead of InsetCollapsable
3868 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * insetexternal.C (string2params): dont do anything if the string
3872 * insetgraphics.C (string2params): ditto
3873 * insetcommand.C (string2params): ditto
3874 * insetert.C (string2params): ditto
3875 * insetfloat.C (string2params): ditto
3876 * insetinclude.C (string2params): ditto
3877 * insetminipage.C (string2params): ditto
3878 * insettabular.C (string2params): ditto
3879 * insetwrap.C (string2params): ditto
3881 2003-04-24 André Pönitz <poenitz@gmx.net>
3883 * insetref.C: support for eqref
3885 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * insetert.C (read): use ParagraphList::iterator.
3889 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * insetquotes.C (latex): comment some code and add warnings.
3893 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3895 * insetexternal.C (localDispatch): added a missing DISPATCHED
3897 2003-04-12 John Levon <levon@movementarian.org>
3899 * insetwrap.C (addToToc): fix a crash, conversion
3900 from while to for loop forgot to remove the explicit
3903 2003-04-10 John Levon <levon@movementarian.org>
3905 * insettabular.C (tabularFeature): make sure
3906 to update the dialog when we change something
3909 (getStatus): don't disable some lfuns (bug 939)
3911 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * insettext.C (saveLyXTextState): adjust
3914 (localDispatch): adjust
3920 * insettabular.C (localDispatch): adjust
3922 (tabularFeatures): adjust
3924 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3926 * insettabular.C (searchForward,searchBackward): fix bug 782
3928 2003-04-07 John Levon <levon@movementarian.org>
3931 * insettext.C: clear status message on inset exit
3933 2003-04-03 John Levon <levon@movementarian.org>
3935 * insetcommand.C: return dispatched on DIALOG_UPDATE
3937 2003-04-02 John Levon <levon@movementarian.org>
3939 * insettabular.C: tab lfuns renamed
3941 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * insettext.C (update): move towards ParagraphList
3944 (updateLocal): ditto
3946 (insetUnlock): ditto
3948 (lockInsetInInset): ditto
3949 (updateInsetInInset): ditto
3950 (localDispatch): ditto
3953 (resizeLyXText): ditto
3954 (searchBackward): ditto
3955 (collapseParagraphs): ditto
3958 * insetwrap.C (InsetWrap): adjust
3959 (addToToc): adjust and rewrite loop
3961 * insettext.[Ch] (paragraph): delete function
3963 * insettabular.C (moveNextCell): adjust
3964 (movePrevCell): adjust
3965 (insertAsciiString): adjust
3967 * insetfloat.C (InsetFloat): adjust
3970 * insetert.C (InsetERT): adjust
3971 (write): adjust, and rewrite loop
3972 (latex): adjust, and rewrite loop
3973 (linuxdoc): adjust, and rewrite loop
3974 (docbook): adjust, and rewrite loop
3975 (localDispatch): adjust
3976 (get_new_label): adjust
3978 2003-04-01 John Levon <levon@movementarian.org>
3980 From Alfredo Braunstein
3983 * insetbutton.C: add localDispatch()
3985 * insetcommand.C: return DISPATCHED when edit() called
3987 * insettext.C: fix bug 967
3989 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * insettext.C: adjust
3993 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * insettext.C (draw): adjust
3996 (crow): return a RowList::iterator not a Row*
3998 * insetminipage.C (localDispatch): adjust
4000 * insetert.C (localDispatch): adjust
4002 2003-03-31 John Levon <levon@movementarian.org>
4005 * insetgraphicsParams.C: use_gui moved to lyx_gui
4007 2003-03-31 John Levon <levon@movementarian.org>
4009 * insettext.C: Alert fix
4011 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * insettext.C (ascent): adjust for RowList
4016 (getLyXText): adjust
4017 (toggleSelection): adjust
4019 * insetminipage.C (localDispatch): adjust for RowList
4021 * insetert.C (localDispatch): adjust for RowList
4022 (getMaxWidth): adjust for RowList
4024 2003-03-29 John Levon <levon@movementarian.org>
4026 * insetert.C: Alert cleanup
4028 2003-03-29 John Levon <levon@movementarian.org>
4030 * insettabular.C: Alert fix
4032 2003-03-28 John Levon <levon@movementarian.org>
4034 * insetfloat.C: reset label on INSET_MODIFY
4036 2003-03-28 John Levon <levon@movementarian.org>
4038 * insetgraphicsParams.C: read subcaptionText as a whole line
4041 2003-03-28 John Levon <levon@movementarian.org>
4043 * insettext.C: remove unused prototypes
4045 2003-03-25 Angus Leeming <leeming@lyx.org>
4047 * insetbibitem.C (localDispatch): repaint the view after modifying
4048 a bibitem inset in case the maximum InsetBibitem width has changed.
4050 2003-03-25 John Levon <levon@movementarian.org>
4053 * insettabular.C: LyXText renamings
4055 2003-03-24 John Levon <levon@movementarian.org>
4057 * insettext.C: remove some dead code. Fix bug 972 and
4058 related by posting a repaint in updateLocal(), and making
4059 the SEL functions set SELECTION.
4061 2003-03-22 John Levon <levon@movementarian.org>
4064 * inset.C: remove no-longer-needed topx_set
4066 * insetcollapsable.h:
4067 * insetcollapsable.C: remove dead code
4070 * insetert.C: rebreak the rows when a possible
4071 change in size is made, and reset the cursor
4074 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4076 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4077 topx_set. Fix drawing errors for clearInset(). Remove
4078 some unnecessary uses of topx, which should die.
4080 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4081 is no longer needed. Replace it with an ugly hack.
4083 2003-03-20 John Levon <levon@movementarian.org>
4086 * insetcollapsable.h:
4087 * insetcollapsable.C:
4095 * insettext.C: remove spurious font parameter
4096 from update(). Fix drawing of ERT insets inside
4097 insets (bug 966). Remove unused mark_dirty from
4098 tabular's updateLocal()
4100 2003-03-19 John Levon <levon@movementarian.org>
4109 * insetwrap.C: remove unused getter/setters
4111 2003-03-19 John Levon <levon@movementarian.org>
4113 * several files: bv->updateInset() doesn't take
4114 a bool mark_dirty any more
4116 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * adjust for BufferView* arg removal from lyxtext.
4120 2003-03-17 John Levon <levon@movementarian.org>
4122 * most files: remove the "cleared" parameter
4123 to draw in favour of always clearing. Associated
4126 2003-03-16 John Levon <levon@movementarian.org>
4128 * insettext.C: remove unused s.refresh
4130 2003-03-13 Angus Leeming <leeming@lyx.org>
4132 * insettext.C (edit): replace Dialogs::updateParagraph with
4133 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4135 2003-03-13 André Pönitz <poenitz@gmx.net>
4137 * Makefile.am: insert insetenv
4139 * insethenv.[Ch]: new files, currently inactive
4141 2003-03-12 John Levon <levon@movementarian.org>
4151 * insettext.C: use new insetnewline
4153 2003-03-12 John Levon <levon@movementarian.org>
4155 * insettext.C: readToken became readParagraph
4157 2003-03-12 John Levon <levon@movementarian.org>
4159 * insettext.C: use parlist iterator for reading contents
4161 2003-03-12 John Levon <levon@movementarian.org>
4163 * insettext.C: name change to readToken()
4165 2003-03-11 André Pönitz <poenitz@gmx.net>
4167 * Makefile.am: insert insethfill
4169 * insethfill.[Ch]: new files
4171 2003-03-10 Angus Leeming <leeming@lyx.org>
4173 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4175 (hideDialog): calls the new static Dialogs::hide() method.
4177 * insetbibitem.C (edit):
4178 * insetbibtex.C (edit):
4179 * insetcite.C (edit):
4180 * insetcommand.C (localDispatch):
4181 * inseterror.C (d-tor):
4182 * insetert.C (showInsetDialog):
4183 * insetexternal.C (localDispatch, edit):
4184 * insetfloat.C (localDispatch, showInsetDialog):
4185 * insetfloatlist.C (edit):
4186 * insetgraphics.C (localDispatch, edit):
4187 * insetinclude.C (localDispatch, edit):
4188 * insetindex.C (edit):
4189 * insetlabel.C (edit):
4190 * insetminipage.C (localDispatch, showInsetDialog):
4191 * insetref.C (edit):
4192 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4193 resetPos, showInsetDialog, openLayoutDialog):
4194 * insettoc.C (edit):
4195 * inseturl.C (edit):
4196 * insetwrap.C (localDispatch, showInsetDialog):
4197 changes due to the changed MailInset interface.
4199 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4201 * insetfloat.h: Set default placement to an empty string.
4203 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4205 * insettext.C (latex): adjust call to latexParagraphs.
4207 2003-03-10 Angus Leeming <leeming@lyx.org>
4209 * mailinset.C: warn the user if the BufferView has not been cached.
4211 2003-03-10 Angus Leeming <leeming@lyx.org>
4213 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4215 * insetcommand.h (inset):
4216 * insetert.h (inset):
4217 * insetexternal.h (inset):
4218 * insetfloat.h (inset):
4219 * insetgraphics.h (inset):
4220 * insetinclude.h (inset):
4221 * insetminipage.h (inset):
4222 * insettabular.h (inset):
4223 * insetwrap.h (inset):
4224 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4226 2003-03-10 Angus Leeming <leeming@lyx.org>
4228 * insetcommand.C (string2params):
4229 * insetexternal.C (string2params):
4230 * insetfloat.C (string2params):
4231 * insetgraphics.C (string2params):
4232 * insetinclude.C (string2params):
4233 * insetminipage.C (string2params):
4234 * insettabular.C (string2params):
4235 * insetwrap.C (string2params): cure warning message about missing
4238 2003-03-09 Angus Leeming <leeming@lyx.org>
4240 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4241 it to communicate with the frontend dialogs.
4243 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4244 contents of this inset!
4246 2003-03-07 Angus Leeming <leeming@lyx.org>
4248 * inseterror.C (localDispatch): new method; calls edit() on
4251 2003-03-07 Angus Leeming <leeming@lyx.org>
4253 * insetbibitem.C (localDispatch):
4254 * insetbibtex.C (localDispatch):
4255 * insetlabel.C (localDispatch):
4256 rewrite as a switch.
4258 2003-03-07 Angus Leeming <leeming@lyx.org>
4260 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4261 it to communicate with the frontend dialogs.
4263 2003-03-07 Angus Leeming <leeming@lyx.org>
4265 * insetexternal.C: remove operator== and operator!= for
4266 InsetExternal::Params. They were used only by the old controller
4269 2003-03-07 Angus Leeming <leeming@lyx.org>
4271 * insetcommand.C (localDispatch):
4272 * insetexternal.C (localDispatch):
4273 * insetfloat.C (localDispatch):
4274 * insetinclude.C (localDispatch):
4275 * insetminipage.C (localDispatch):
4276 * insetwrap.C (localDispatch):
4277 add LFUN_INSET_DIALOG_UPDATE to the switch.
4279 2003-03-07 Angus Leeming <leeming@lyx.org>
4281 * insetcommand.C (string2params):
4282 * insetexternal.C (string2params):
4283 * insetfloat.C (string2params):
4284 * insetinclude.C (string2params):
4285 * insetwrap.C (string2params): use LyXLeX more.
4288 * insetexternal.[Ch]:
4290 * insetinclude.[Ch]:
4291 * insetwrap.[Ch]: change Mailer::name_ to be static.
4293 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4294 it to communicate with the frontend dialogs.
4296 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4299 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4301 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * insettext.C (updateLocal): un-const function
4304 (updateLocal): adjust
4305 (collapseParagraphs): un-const function
4306 (collapseParagraphs): adjust
4308 2003-03-05 Angus Leeming <leeming@lyx.org>
4310 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4311 it to communicate with the frontend dialogs.
4313 2003-03-05 Angus Leeming <leeming@lyx.org>
4315 * insetcollapsable.C (draw): cache the BufferView.
4317 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4318 it to communicate with the frontend dialogs.
4320 2003-03-05 Angus Leeming <leeming@lyx.org>
4322 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4325 2003-03-05 Angus Leeming <leeming@lyx.org>
4327 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4329 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4330 it to communicate with the frontend dialogs.
4332 2003-03-05 Angus Leeming <leeming@lyx.org>
4334 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4335 it to communicate with the frontend dialogs.
4337 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * insettext.C (collapseParagraphs): adjust
4340 (appendParagraphs): make it take a Buffer* instead of a
4341 BufferParams& as arg.
4342 (appendParagraphs): adjust
4344 2003-03-04 Angus Leeming <leeming@lyx.org>
4346 * insetbibitem.C (localDispatch):
4347 * insetbibtex.C (localDispatch):
4348 * insetcommand.C (localDispatch):
4349 * insetert.C (localDispatch):
4350 * insetlabel.C (localDispatch):
4351 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4353 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * insettext.C (latex): adjust for ParagraphList::iterator
4357 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * insetbutton.C (view): adjust for boost 1.30.0
4360 * insetcollapsable.C (view): ditto
4361 * insetgraphics.C (statusChanged): ditto
4363 * insettext.h: move paragraphs to be public.
4365 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * insetnote.[Ch] (InsetNote): remove unused constructor
4369 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4371 * insetgraphics.C: added include "format.h"
4373 2003-02-27 Angus Leeming <leeming@lyx.org>
4375 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4378 2003-02-27 Angus Leeming <leeming@lyx.org>
4380 * insetbibitem.C (localDispatch):
4381 * insetbibtex.C (localDispatch):
4384 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4386 2003-02-26 Angus Leeming <leeming@lyx.org>
4388 * insetbibitem.[Ch] (localDispatch):
4389 * insetbibtex.[Ch] (localDispatch):
4390 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4392 * insetcommand.C (localDispatch):
4393 act only on receipt of LFUN_XYZ_APPLY.
4395 * insetert.C (localDispatch): reformat.
4396 add LFUN_XYZ_APPLY to the switch.
4398 2003-02-26 John Levon <levon@movementarian.org>
4400 * insettext.C: use RowPainter
4402 * inset.h: make helpers take const *
4404 2003-02-26 Angus Leeming <leeming@lyx.org>
4406 * insetcommand.[Ch] (localDispatch): new method.
4408 2003-02-26 Angus Leeming <leeming@lyx.org>
4410 * insetinclude.C (draw): cache the BufferView* using cache not
4411 PreviewImpl::setView
4413 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4415 * insetgraphics.C (draw)
4416 * insetinclude.C (draw): Eliminate also the other argument (owner
4417 inset inset) in the call to PreviewImage::image
4419 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4421 * insetgraphics.C (draw)
4422 * insetinclude.C (draw): Eliminate Buferview argument in call to
4425 2003-02-25 John Levon <levon@movementarian.org>
4427 * insetgraphicsParams.h:
4428 * insetgraphics.C: don't start a load process if
4429 the inset is set to NoDisplay (bug #920)
4431 2003-02-22 John Levon <levon@movementarian.org>
4434 * insetwrap.C: TocItem changed API (bug 913)
4436 2003-02-21 Angus Leeming <leeming@lyx.org>
4438 * insetcollapsable.[Ch] (cache, edit):
4439 * insetbutton.[Ch] (cache, edit): new methods to cache the
4440 BufferView in the draw method.
4442 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4443 simplify comunication between InsetCommand-derived classes and
4446 * insetbibitem.[Ch]:
4450 * insetfloatlist.[Ch]:
4454 * inseturl.[Ch]: small changes to reflect the new interface to the
4457 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4458 other, similar classes.
4460 * Makefile.am: add new files.
4462 2003-02-21 Angus Leeming <leeming@lyx.org>
4464 * updatableinset.h (setView, view): remove.
4465 * inset.h (view, cache): to be replaced by these.
4467 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4470 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4473 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4475 2003-02-21 Allan Rae <rae@lyx.org>
4477 * insetinclude.C (loadIfNeeded): ensure loading also works when
4478 child document is under version control.
4480 2003-02-17 André Pönitz <poenitz@gmx.net>
4482 * insetbib.[Ch]: Adjust access to bibkeys
4484 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4486 * insetquotes.C (dispString): remove use of acute accent for "'"
4489 2003-02-14 John Levon <levon@movementarian.org>
4491 * insettabular.C: changed method names in tabular.C
4493 2003-02-14 John Levon <levon@movementarian.org>
4497 * insetcollapsable.h:
4498 * insetcollapsable.C:
4502 * insettext.C: remove unused getParFromID()
4504 2003-02-13 John Levon <levon@movementarian.org>
4507 * insettext.C: remove unused beginningofMainBody()
4509 2003-02-08 John Levon <levon@movementarian.org>
4513 * insetcollapsable.h:
4514 * insetcollapsable.C:
4519 add nextChange(). Make allowSpellcheck() const. Add markErased().
4521 * insetert.C: ignore deleted text
4523 * insettabular.C: make sure to keep change tracking working
4526 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4531 * insettext.C: Use error messages with identical spelling and
4534 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4536 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4538 2002-12-17 Juergen Vigna <jug@lyx.org>
4540 * insettext.C (localDispatch): hopefully fixed cursor up down
4541 movement on leaving other insets.
4543 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4545 * insettext.C: fix inconsistent usage of spaces, colons,
4546 capitalization, and the like.
4548 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4550 * insetgraphics.C (prepareFile): do not remove the extension of
4551 the file name if it is not the default extension for the given
4552 format (that is, in latex output, remove extension from foo.eps,
4553 but not from foo.epsi)
4555 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4557 * insettext.C (lfunMouseRelease): hackish solution to the "double
4560 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4562 * insetfloat.C (addToToc): use the floats name not its type
4563 * insetwrap.C (addToToc): ditto
4565 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4567 * insetnote.C (init): make label font smaller
4569 2002-12-04 John Levon <levon@movementarian.org>
4571 * insetinclude.C: ressurect setting of command name
4573 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * insetquotes.C (dispString): disambiguate insert call
4577 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * several files: ws changes
4581 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * insetquotes.C (dispString): use string::insert for prepending a
4586 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4588 * insetparent.C (getScreenLabel): use boost::format
4590 * insetgraphics.C (prepareFile): use boost::format
4593 * insetfloatlist.C (latex): use boost::format
4595 * insetcaption.C (draw): use boost::format
4597 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4599 * insettabular.C (tabularFeatures): Support for block alignment in
4600 fixed width columns.
4602 2002-11-20 Juergen Vigna <jug@sad.it>
4604 * insettabular.C (resetPos): temporary fix for endless loop in
4605 this function on a redraw.
4607 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * insettabular.C (copySelection): STRCONV
4611 * insetinclude.C (uniqueID): STRCONV
4612 (latexString): ditto
4614 * insetgraphics.C: put VersionNumber inside anon namespace
4615 (createLatexOptions): STRCONV
4617 * insetcommandparams.C: include config.h
4619 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4621 * insetgraphicsParams.C (Write): use lyx::float_equal.
4622 Write height data correctly.
4623 (Read): zero scale when reading height data.
4625 2002-10-30 John Levon <levon@movementarian.org>
4627 * insetfloat.C (addToTOC): recursively traverse all
4628 contents looking for captions (fix #568)
4630 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4632 * insetexternal.C (doSubstitution): do not try to replace
4633 environment variables, this is done when executing the command
4635 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4637 * insetexternal.C (doSubstitution): change order of substitution
4638 to work around ReplaceEnvironmentPath brokenness
4640 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4642 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4644 * insetgraphicsParams.C (init, Write): associated changes
4645 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4646 InsetGraphicsParams::scale.
4648 2002-10-21 John Levon <levon@movementarian.org>
4650 * inset.h: remove unused DISPATCH_RESULT
4652 * insettext.C: sgml open/close tag now in sgml namespace
4654 2002-10-21 Angus Leeming <leeming@lyx.org>
4656 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4657 file path subdir/fig.eps when pasting it into a buffer in a different
4660 2002-10-16 John Levon <levon@movementarian.org>
4662 * insetspecialchar.C: remove \\protected_separator parsing
4664 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4666 * insetquote.C: fix LaTeX output of quotation marks.
4668 2002-10-14 Juergen Vigna <jug@sad.it>
4670 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4671 Backspace functions which confused the Undo handling.
4673 2002-10-09 Angus Leeming <leeming@lyx.org>
4675 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4676 BufferView::dispatch that turns off this optimisation when a new inset
4679 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4680 reload the BibTeX keys.
4682 2002-10-11 André Pönitz <poenitz@gmx.net>
4684 * insettext.h: handle LFUN_PRIOR/NEXT
4686 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4688 * insetfloat.C: fix bug with float settings
4689 (document default != float default).
4691 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4693 * insetwrap.C (addToToc): New method.
4694 (InsetWrap): Set layout to caption.
4696 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4700 2002-09-16 John Levon <levon@movementarian.org>
4702 * insettabular.h: hasSelection() needs to be public
4704 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4706 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4708 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4710 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4712 2002-09-11 André Pönitz <poenitz@gmx.net>
4714 * insettabular.C: implement LFUN_WORDSEL
4716 2002-09-10 John Levon <levon@movementarian.org>
4718 * insetinclude.h: remove unused param
4720 2002-09-09 John Levon <levon@movementarian.org>
4723 * insetinclude.C: remove noload, default to input
4725 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4727 * insetgraphics.C: disfuscated use of ']' in built output string.
4729 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4733 2002-08-29 Juergen Vigna <jug@sad.it>
4735 * insettabular.C (lfunMousePress): Pay attention where you set
4736 the x/y values as they depend on which inset in the tabular is
4737 actually locked. So you surely have to reset them if you (un)lock
4740 2002-08-29 André Pönitz <poenitz@gmx.net>
4742 * insetfootlike.h: rename include guard to ALL CAPS
4744 * insettext.C: swap object and first parameter for checkInsetHit calls
4745 as this functions has moved from BufferView to LyXText
4748 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4750 * insetgraphicsParams.C: remove local displayTranslator and use
4751 the one from graphics/GraphicsTypes.h.
4753 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4755 * insetfloat.C (wide): add BufferParams parameter
4757 * insetfloatlist.C (read):
4760 * insetfloat.C (latex):
4762 * insetcaption.C (draw): use LyXTextClass::floats()
4764 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4766 * insetoptarg.h: add std:: qualifier.
4768 2002-08-26 Juergen Vigna <jug@sad.it>
4770 * insettext.C (localDispatch): ditto.
4772 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4774 2002-08-25 John Levon <levon@movementarian.org>
4776 * inseturl.C: elide long URLs (bug 404)
4778 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4780 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4781 remove "Format Version <version_no.>" string from inset header
4784 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4786 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4787 a member of "grfx::Params" anymore.
4789 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4791 2002-08-24 John Levon <levon@movementarian.org>
4794 * insetoptarg.C: ws, pedantry ...
4796 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4798 * insettext.C (collapseParagraphs): pasteParagraph now in global
4800 (appendParagraphs): ditto
4802 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4804 * insetcite.C (latex): Remove spaces only after commmas.
4806 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * insettext.C: remove NO_COMPABILITY stuff
4810 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * insettext.C (edit): use ParagraphList iterators
4814 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4815 (bibitemWidest): ditto
4817 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * insettext.C: include <boost/bind.hpp>
4820 add using std::for_each
4821 (saveLyXTextState): use ParagraphsList::iterator
4822 (init): use for_each on paragraphlist iterators
4823 (InsetText): remove superflous setting cached_bview to 0
4824 (latex): reformat a bit
4825 (ascii): use paragraphlist iterators
4826 (validate): use for_each + boost bind
4827 (getLabelList): use paragraphlist iterators
4828 (deleteLyXText): use for_each + boost::bind
4829 (resizeLyXText): ditto
4830 (reinitLyXText): ditto
4831 (removeNewlines): use paragraphlist iterators
4832 (getParFromID): ditto
4833 (paragraph): use for_each + boost::bind
4834 (getInsetFromID): use paragraphlist iterators
4835 (getLabelList): typo fix
4837 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * insettext.C (read): assign tmp to paragraphs after return from
4840 call to parseSingleLyXformat2Token
4843 2002-08-13 Angus Leeming <leeming@lyx.org>
4861 * inseturl.C: changes due to the changed LyXView interface that
4862 now returns references to member variables not pointers.
4864 2002-08-13 Angus Leeming <leeming@lyx.org>
4867 * insetcollapsable.h:
4870 * insettext.h: forward-declare WordLangTuple
4871 (selectNextWordToSpellcheck) constify return type.
4874 * insetcollapsable.C:
4877 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4879 2002-08-12 Angus Leeming <leeming@lyx.org>
4881 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4884 2002-08-12 Juergen Vigna <jug@sad.it>
4886 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4889 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4892 (bibitemWidest): ditto
4893 * insettext.[Ch]: ditto
4895 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4899 2002-08-09 Angus Leeming <leeming@lyx.org>
4901 * insetinclude.C (latexString): remove fudge now that I've found out
4902 how to enable LaTeX to find the file using input@path.
4904 2002-08-09 John Levon <levon@movementarian.org>
4907 * insettext.C: remove unused xpos
4909 2002-08-07 Juergen Vigna <jug@lyx.org>
4911 * insettabular.C (localDispatch): make delete not put the stuff
4912 in the clipboard only do this on a cut operation.
4914 * insettext.C (localDispatch): make delete and backspace not put
4915 selected stuff to the clipboard.
4917 2002-08-07 André Pönitz <poenitz@gmx.net>
4920 * insetcollapsable.[Ch]:
4924 * insettabular.[Ch]:
4925 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4927 2002-08-06 John Levon <levon@movementarian.org>
4931 * insetcollapsable.h:
4932 * insetcollapsable.C:
4938 * insettext.C: use WordLangTuple for spellcheck
4940 2002-08-06 Angus Leeming <leeming@lyx.org>
4942 * insetinclude.C: add a monitor to the previewed image, so that the
4943 image is refreshed if the \input-ed file changes.
4945 2002-08-04 John Levon <levon@movementarian.org>
4948 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4950 2002-08-02 Angus Leeming <leeming@lyx.org>
4952 * insetcommandparams.[Ch] (preview): new methods returning and setting
4953 a new bool preview_ flag.
4954 (read): read this flag.
4955 (operator==): add flag to check.
4957 * insetinclude.C (write): output new preview() flag.
4958 (previewWanted): use this flag.
4960 2002-08-02 Angus Leeming <leeming@lyx.org>
4962 * insetcollapsable.[Ch] (addPreview):
4963 * insettabular.[Ch] (addPreview):
4964 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4965 for insets in insets.
4967 2002-08-02 Angus Leeming <leeming@lyx.org>
4969 * insetcite.C: fix typo.
4971 * insetgraphics.C: kill current_view and instead cache the BufferView
4974 * insetinclude.C: kill current_view and pass the BufferView to the
4975 PreviewedInset so that it can cache it.
4977 2002-08-01 Angus Leeming <leeming@lyx.org>
4979 * inset.h (generatePreview): renamed as addPreview.
4980 (generatePreview): new method. Allows code to be moved out of
4981 math_nestinset.C and into the new PreviewedInset class.
4983 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4984 add previews to the inset when \input-ing LaTeX.
4986 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * several files: strip,frontStrip -> trim,ltrim,rtrim
4990 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * insetbib.C (latex): modify because of strip changes
4994 * insetnote.C (InsetNote): ditto
4996 2002-07-26 Juergen Vigna <jug@sad.it>
4998 * insettabular.C (searchForward): check for lastcell if we
4999 had a locking inset.
5001 2002-07-25 Juergen Vigna <jug@sad.it>
5003 * insettabular.C (insetMotionNotify): Don't update the screen
5004 if we didn't do nothing.
5005 (searchForward): last cell was not checked.
5007 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5009 * insetfloat.C (read, write): Allow default placement
5010 (floatPlacement_ is empty).
5012 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5014 * insetminipage.h (noFontChange):
5015 * insettabular.h (noFontChange):
5016 * insetfootlike.h (noFontChange):
5017 * insetfloat.h (noFontChange): return true
5019 * inset.h (noFontChange): new method, defaulting to false
5021 2002-07-22 Herbert Voss <voss@lyx.org>
5023 * insetgraphicsParams.[Ch]: support size_type for old docs
5025 2002-07-22 Herbert Voss <voss@lyx.org>
5028 * insetgraphicsParams.[Ch]: change size_type to size_kind and
5031 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5033 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
5035 * insetlatexaccent.h: do not include "lyxlex.h"
5037 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
5040 * insetlatexaccent.C:
5044 * insetbib.C: #include "lyxlex.h"
5050 * insettext.C: use BufferParams::getLyXTextClass
5053 * insetfloat.C (addToToc): new method. Add to toclist the entries
5054 corresponding to Caption layouts
5055 (InsetFloat): when creating a new float, set the layout to "Caption"
5057 2002-07-21 Herbert Voss <voss@lyx.org>
5059 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5060 image relevant part into graphics/GraphicsImgae.C
5062 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5064 * insettoc.C (ascii):
5065 * insetfloatlist.C (ascii): change to use the new Toc functions
5066 instead of stuff that was in Buffer
5068 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * insettext.C (localDispatch): BufferView::Dispatch has been
5071 renamed to BufferView::dispatch
5073 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5075 * insetgraphicsParams.C (as_grfxParams): use the new
5076 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5077 1.2.0 patch, and I do not really know how to adapt it to the new
5078 grfx::Cache world. Angus, please could you have a look?
5080 2002-05-01 Herbert Voss <voss@lyx.org>
5082 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5084 2002-07-18 Angus Leeming <leeming@lyx.org>
5086 * insetgraphics.C: clean-up comments (from Herbert).
5087 add a new checksum variable to the cache. Use it in PrepareFile.
5088 (draw): start monitoring the file for a change.
5089 (prepareFile): re-arrange a little to avoid unnecessary steps.
5091 2002-07-17 Angus Leeming <leeming@lyx.org>
5093 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5094 a method rather than to the signal directly.
5096 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5098 * insettext.C: use view_state_changed, switchKeyMap
5100 2002-07-17 Herbert Voss <voss@perce.de>
5102 * insetgraphics.C (prepareFile): keep the extension when
5103 exporting to nice file
5105 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5107 * insetcite.C (getNatbibLabel):
5108 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5110 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5112 * insetgraphics.C: use ->isDrawable()
5114 2002-07-12 Angus Leeming <leeming@lyx.org>
5116 * insetgraphics.C: use the new smart loading capabilities of the image
5119 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5121 * insettabular.C (edit): Move into correct cell when entering a
5124 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5127 2002-07-05 Angus Leeming <leeming@lyx.org>
5129 * inset.h (generatePreview): new virtual method.
5131 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5133 * insetcommandparams.[Ch] (operator=): move out of class
5134 (operator!): move out of class
5136 2002-07-04 André Pönitz <poenitz@gmx.net>
5138 * insetcommandparams.[Ch]: new files
5140 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5142 2002-06-15 Herbert Voss <voss@perce.de>
5144 * insetgraphics.C (prepareFile): bugfix; return always
5145 files without extension
5147 2002-06-28 Angus Leeming <leeming@lyx.org>
5149 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5150 rename asGParams -> as_grfxParams.
5152 * insetgraphics.C: reflect above change.
5154 2002-06-26 Angus Leeming <leeming@lyx.org>
5156 * insetgraphics.h: use boost::scoped_ptr in preference to
5159 2002-06-26 Angus Leeming <leeming@lyx.org>
5161 * insetgraphics.C: moved the image loading stuff into a new class
5162 grfx::Loader. Simplifies this file enormously.
5164 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5166 * insetgraphicsParams.C: changes aassociated with moving
5167 grfx::DisplayType out of grfx::GParams.
5169 2002-06-26 André Pönitz <poenitz@gmx.net>
5171 * insetgraphics.C: use os::external_path where necesaary according to a
5172 patch from Claus Hentschel)
5174 2002-06-25 Angus Leeming <leeming@lyx.org>
5176 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5177 generating a pixmap once the graphics file is loaded into memory.
5178 The current_view ugliness that was in grfx::ModifiedImage has been
5179 moved here now that grfx::ModifiedImage is no more.
5181 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5183 * insettext.C: layout as layout
5185 2002-05-28 André Pönitz <poenitz@gmx.net>
5187 * insetfloatlist.h: remove source of compiler warning
5189 * insetref.C: tiny whitespace
5191 2002-06-15 Herbert Voss <voss@perce.de>
5193 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5194 and take always convert when no userdefined converter was
5196 (latex) small changes in the lyxerr output
5198 2002-06-15 LyX Development team <lyx@rilke>
5200 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5201 mixed content. Small white spaces clean.
5203 2002-06-14 Angus Leeming <leeming@lyx.org>
5205 * inseetexternal.C: remove the using std::difftime declaration.
5207 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5209 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5211 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5213 * insetquotes.C (draw): fix drawing of double quotes
5215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5217 * insettabular.C: s/scrollCB/scrollDocView/
5219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5221 * insettext.C: change of topCursorVisible()
5224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5227 * insettext.C: rename/change of LyXScreen
5229 2002-06-07 Angus Leeming <leeming@lyx.org>
5231 Fixes needed to compile with Compaq cxx 6.5.
5233 * insetexternal.C: all c-library variables have been moved into
5234 namespace std. Wrap using std::xyz declarations inside a #ifndef
5235 CXX_GLOBAL_CSTD block.
5237 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5239 * insetinclude.C (uniqueID):
5240 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5241 conflicted with some AIX headers.
5243 2002-05-31 Juergen Vigna <jug@sad.it>
5245 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5249 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5251 * insetexternal.C (clone): fix () bug when using new
5252 (updateExternal): don't only look for difftime in global scope
5254 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5256 * insettabular.C: add const
5258 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5261 file name, in case there are weird characters like ',' in there.
5264 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5266 * switch from SigC signals to boost::signals.
5268 2002-05-28 André Pönitz <poenitz@gmx.net>
5270 * insets/insetgraphicsParams.[Ch]:
5271 put in inset related stuff from src/graphic
5273 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5281 * insetcollapsable.C:
5282 * insetcollapsable.h:
5310 * inseturl.h: use mouse_state. Kill insetKeyPress
5312 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5317 * insetcollapsable.C:
5320 * insetlatexaccent.C:
5322 * insetspecialchar.C:
5324 * insettext.C: name change for font metrics
5326 2002-05-24 Juergen Vigna <jug@sad.it>
5328 * insetgraphics.h: include inset.h first (for LString.h)
5330 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5332 * insettext.C: screen moved
5334 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5352 * inseturl.C: LyXView moved into frontends/
5354 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5359 * insetcollapsable.C:
5363 * insetgraphicsParams.C:
5364 * insetlatexaccent.C:
5366 * insetspecialchar.C:
5368 * insettext.C: move Painter to frontends/
5370 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * insettabular.h: use more specific smart_ptr header.
5373 * insettext.h: ditto
5375 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5378 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5380 * insettext.C: clear selection on paste (bug 393)
5382 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5384 * insettext.C (latex): Honor the moving_arg argument.
5386 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5388 * insetfoot.C (latex): if a footnote is in a title layout, then it
5389 is a \thanks. And then, its contents is a moving argument.
5391 2002-05-14 Juergen Vigna <jug@sad.it>
5393 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5396 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5398 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5399 when using options "Full author list" or "Upper case".
5401 2002-05-14 Herbert Voss <voss@perce.de>
5403 * insetgraphics.C (prepareFile): allow files with same name
5405 (readFigInset): set the flags from old figinset in the right
5407 (findTargetFormat): more comments
5409 2002-05-14 Juergen Vigna <jug@sad.it>
5411 * insettext.C (edit): tell checkAndActivateInset() that we don't
5412 have a button press.
5413 (checkAndActivateInset): if button < 0 we don't have a button press
5414 on the inset and os we won't call edit on it if it's not a Highly
5415 editable inset (then we have to enter it).
5417 2002-05-13 Juergen Vigna <jug@sad.it>
5419 * insetcollapsable.C (insetButtonRelease): returned wrong return
5422 2002-05-09 Juergen Vigna <jug@sad.it>
5424 * insetcollapsable.C (edit): first_after_edit should only be
5425 set to true if we enter this inset and it was collapsed so we
5426 open it up. This is needed to reclose it after a search/replace
5427 or spellcheck function opened it and was negative.
5429 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5431 * insetfloat.C (latex): Return correct value.
5433 2002-05-04 Herbert Voss <voss@perce.de>
5435 * InsetgraphicsParams.C (read): fix bug with WH
5437 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5439 * insetfloat.C (latex): More sensible latex output
5440 (fix the problem with endfloat).
5442 2002-05-02 José Matos <jamatos@fep.up.pt>
5444 * insetgraphics.C (validate): acess params as everyone else.
5446 2002-05-03 Juergen Vigna <jug@sad.it>
5448 * insettabular.C (fitInsetCursor): recalculate the cursor position
5451 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5453 * InsetgraphicsParams.[Ch]: whitespace.
5455 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5457 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5458 float type do not exist.
5460 2002-04-28 Herbert Voss <voss@perce.de>
5462 * insetgraphics.C (latex): fix bug with missing file-extension.
5463 LaTeX still allows a missing "eps" or "ps".
5465 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5467 * insetfloat.C (c-tor, wide): translate the name of the float.
5469 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5471 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5472 when using natbib and make it work efficiently. Must emphasise that the
5473 real work is Herbert's.
5475 2002-04-23 Herbert Voss <voss@perce.de>
5477 * insetgraphic.C (prepareFile): fix bug with overwriting and
5478 deleting an existing *.eps-file in the doc-dir
5480 2002-04-23 Juergen Vigna <jug@sad.it>
5482 * insettabular.C (drawCellSelection): fix off by 1 error.
5484 2002-04-22 Juergen Vigna <jug@sad.it>
5486 * insettabular.C (setFont): rewoke full selection if it was asked,
5487 after we changed all we had to change.
5489 * insettext.C (insetUnlock): code was uninitialized in some situations.
5491 2002-04-19 Herbert Voss <voss@perce.de>
5493 * insetgraphic.C (prepareFile): return filename without
5494 extension if we only export without compiling
5496 2002-04-19 Juergen Vigna <jug@sad.it>
5498 * insettext.C (draw): call a fullRebreak on the row where we had a
5499 change and reset the cursor and selection-cursors.
5501 * insettabular.C (insetUnlock):
5502 (insetButtonPress): call an update before setting the_locking_inset = 0
5503 as otherwise we don't repaint!
5504 (update): reset the cursor position when we changed dimensions as
5505 otherwise our cursor may be on the wrong spot.
5507 2002-04-18 Juergen Vigna <jug@sad.it>
5509 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5510 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5511 redraw otherwise we won't redraw.
5513 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5514 not really right before, but I only discovered this with the last
5515 changes to Page up/down.
5517 2002-04-17 Juergen Vigna <jug@sad.it>
5519 * insettext.C (checkAndActivateInset): simplified as we now have the
5520 edit(bv, bool) call.
5522 * insettext.h: changed behind variables to front variables to be
5523 equal to the one in the edit call (as it is for that they are used).
5525 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5527 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5528 not output anything at all!
5530 2002-04-16 Juergen Vigna <jug@sad.it>
5532 * insettabular.C (insetButtonPress):
5533 (insetUnlock): call a redraw on unlocking the cell inset.
5535 * insettext.C (insetButtonPress): same as below.
5536 (lockInset): new function to set initial values when inset should
5538 (insetButtonPress): use above function.
5539 (insetUnlock): don't force a repaint only set the updateStatus. The
5540 outside world should repaint if it thinks it should be done!
5542 * insettabular.C (insetButtonPress): init values if not set as locked
5543 as we are locked if someone presses on us and don't call the edit()
5544 call of the InsetText to lock it do it as BufferView does it!
5546 * inset.h (insetInInsetY): make func const and return an int.
5549 * insetcollapsable.C: adapt the above changed function.
5551 2002-04-15 Juergen Vigna <jug@sad.it>
5553 * insettext.C (getCursorPos): return relative position as to be able
5554 to give them directly to the edit() call.
5555 (edit): we have to set also x_fix as it is not set inside the
5556 setCursorFromCoordinates call!
5557 (insetMotionNotify): ditto.
5559 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5561 * insetbib.C (getKeys): strip leading '\t's from the line too.
5562 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5564 2002-04-12 Juergen Vigna <jug@sad.it>
5566 * insettext.h: added cix() helper function and use it where appropriate
5568 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5570 * insetgraphics.C (prepareFile): fix bug when graphics is a
5573 2002-04-12 Juergen Vigna <jug@sad.it>
5575 * insettext.C (insertInset): remove unneeded code!
5576 (updateLocal): fitCursor() fixes.
5577 (collapseParagraphs): fix a possible problem when having a selection
5578 and collapsing the paragraphs.
5580 2002-04-08 Herbert Voss <voss@perce.de>
5582 * insetgraphic.C (write): write the rotating angle as
5583 a float as is. test only for != 0.0
5585 2002-04-11 Juergen Vigna <jug@sad.it>
5587 * insettext.C: new function ciy() and use it for setting inset_y.
5589 * insetert.C (draw): fix the x return for collapsed version.
5591 2002-04-07 Herbert Voss <voss@perce.de>
5593 * insetgraphic.C (readFigInset): fix bug with subcaption and
5596 2002-04-08 Herbert Voss <voss@lyx.org>
5598 * insetgraphicsparam.C: forgot special option and delete old
5601 2002-04-05 Juergen Vigna <jug@sad.it>
5603 * insettext.C (localDispatch): make a CURSOR update if we inserted
5606 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * insetfloatlist.C (getScreenLabel):
5609 (latex): use Floating::listName
5610 (validate): new method
5612 2002-04-03 José Matos <jamatos@fep.up.pt>
5614 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5616 * insetfoot.[Ch] (docbook): added forgotten method.
5618 2002-04-03 Juergen Vigna <jug@sad.it>
5620 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5621 way as in Bufferview_pimpl.
5623 2002-04-03 Allan Rae <rae@lyx.org>
5625 * insetgraphics.C (latex): one % too many makes living on the bleeding
5626 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5628 2002-03-28 Herbert Voss <voss@lyx.org>
5630 * insetgraphic.C (latex): simplify the code for the latex
5631 output when the file doesn't exist
5633 2002-03-29 Juergen Vigna <jug@sad.it>
5635 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5638 * insettabular.C (edit): call fitCursor().
5640 * insettext.C (insetButtonPress): change behaviour of no_selection
5641 to the one in the BufferView selection_possible and fix the spurious
5642 selection bug with it.
5643 (localDispatch): revoke selection on BREAK... functions.
5645 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5647 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5649 2002-03-28 Juergen Vigna <jug@sad.it>
5651 * insettabular.C (insetAllowed): return true as default value otherwise
5652 we're not able to insert insets inside paragraphs of an not locked
5655 2002-03-27 Herbert Voss <voss@lyx.org>
5657 * insetgraphicsparam.C: change c%, p% to col%, page%
5659 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5661 * insetspecialchar.C (isLineSeparator): disable the nice code to
5662 allow linebreaks after hyphenation and menu separators.
5664 2002-03-26 Herbert Voss <voss@lyx.org>
5666 * insetgraphics.C (figinsetRead): set the right lyxview
5668 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5670 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5671 $\backslash$ and pass a "string const &" to the function.
5672 (prepareFile, latex): use Path rather than MakeAbsPath.
5674 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5676 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5677 proper fix to the graphics cache.
5678 (latex): "really" nice output if the file is not found ;-)
5680 2002-03-26 Juergen Vigna <jug@sad.it>
5682 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5683 (collapseParagraphs): fixed inserting of separator ' '
5685 * insettabular.C (insertAsciiString): only check for buffer lenght
5686 not if we have \t or \n inside the buffer as if we don't have we only
5687 have 1 cell and that's it!
5689 * insetert.C (close): don't collapse if inlined.
5691 2002-03-25 Herbert Voss <voss@lyx.org>
5693 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5694 graphics file does not exist.
5696 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5698 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5699 path when preparing export.
5701 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5702 no longer MakeRelPath.
5704 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5706 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5707 Used to determine the absolute path to the graphics file in the
5708 graphics cache and only in the graphics cache.
5709 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5710 make graphics file name absolute if it is stored as a relative path.
5712 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5713 make graphics file name absolute if it is stored as a relative path.
5715 * insettext.C (edit): emit an updateParagraph signal on entering a text
5716 inset. Needs to be emitted when leaving the inset also.
5718 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5720 * all files: ws cleanup
5722 * Makefile.am: remove ld -r stuff
5724 2002-03-21 Juergen Vigna <jug@sad.it>
5726 * insettext.C (appendParagraphs): new function added to append
5727 the paragraphs to this insets paragraphs.
5729 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5731 * Makefile.am: special rules if partial linking
5733 2002-03-19 Juergen Vigna <jug@sad.it>
5735 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5737 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5739 * insetgraphics.C: Clean up Baruch's comments a little.
5740 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5742 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5745 * insettheorem.C: wrap warnings
5747 * insetgraphics.C: improve messages, move cached_status_
5748 setting to safer place
5750 2002-03-18 Juergen Vigna <jug@sad.it>
5752 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5754 (localDispatch): ditto
5756 * insettext.C (edit): removed unneeded showCursor calls.
5757 (localDispatch): ditto.
5759 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * insetgraphics.h: remove display() method.
5763 2002-03-11 Juergen Vigna <jug@sad.it>
5765 * insetgraphics.C (draw): hack to fix the redrawing bug.
5766 (draw): seems this fixes #268 (force redraw of row if we changed).
5768 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5769 this inset text (don't know why I missed this earlier).
5771 2002-03-08 Juergen Vigna <jug@sad.it>
5773 * insettabular.C (updateLocal): do a FULL update if we're not locked
5774 and only a CELL update is asked.
5776 * insettext.C (updateInsetInInset): update insets inside inset also
5777 if it isn't inside the_locking_inset.
5779 * insettabular.C (updateInsetInInset): ditto.
5781 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5783 * insetexternal.C (doSubstitution): check whether we are using a
5784 temp dir for defining $$FPath
5786 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5789 * insettext.C: remove #include "WorkArea.h".
5791 2002-03-06 Juergen Vigna <jug@sad.it>
5793 * insettext.C (draw): fixed frame redrawing.
5794 (clear): forgot to set the inset_owner of the paragraph.
5796 * insetert.C (status): pay attention the bv can be 0 here!
5797 (getMaxWidth): add the default leftMargin
5799 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5801 * insetert.C (getMaxWidth): make w unsigned int.
5803 2002-03-05 Juergen Vigna <jug@sad.it>
5805 * insetert.C (status): change behaviour of Inlined.
5806 (getMaxWidth): added for new inlined behaviour.
5808 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5810 * insetnote.h (linuxdoc, docbook): add empty methods.
5811 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5812 before being initialized.
5814 2002-03-05 Juergen Vigna <jug@sad.it>
5816 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5817 only that one in the inset. Should be enough.
5818 (updateLocal): set the selection cursor always if we don't have a
5819 selection to be sure it's set!
5821 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5823 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * insettext.C (clear): a gross hack to set layout on a newly
5828 2002-03-04 Juergen Vigna <jug@sad.it>
5830 * insettabular.C (localDispatch): inserted handling of
5831 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5832 (insertAsciiString): new helper function.
5834 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5836 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5839 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * insettext.C (InsetText): initalize newly created par with
5842 default layout. add bufferparams parameter
5845 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5846 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5847 * insetert.[Ch] (InsetERT): ditto
5848 * insetfloat.[Ch] (InsetFloat): ditto
5849 * insetfoot.[Ch] (InsetFoot): ditto
5850 * insetfootlike.[Ch] (InsetFootLike): ditto
5851 * insetmarginal.[Ch] (InsetMarginal): ditto
5852 * insetminipage.[Ch] (InsetMinipage): ditto
5853 * insetnote.[Ch] (InsetNote): ditto
5854 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5856 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5858 * insettext.C: layout as string
5860 * insetinclude.C: layout as string
5862 * insetert.C: layout as string
5864 * insetbib.C: layout as string
5866 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5869 * insettabular.C: remove #include "lyx_gui_misc.h".
5871 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5876 * inset.h: remove figinset, yahoo !
5878 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5880 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5881 copy c-tor and initialise member variables in the correct order.
5883 2002-02-28 Juergen Vigna <jug@sad.it>
5885 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5887 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5889 * inset.h: ... and add a better one here.
5891 * insetcommand.C (insetButtonRelease): remove that one which was a
5894 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5896 * insetcommand.C (insetButtonRelease): ... and move it here.
5898 * inseturl.h: remove insetButtonRelease from there...
5900 2002-02-26 Juergen Vigna <jug@sad.it>
5902 * inseturl.h: Added a insetButtonRelease call returning true as
5905 * insetlabel.C (edit): Fixed wrong update handling after change I
5906 leave in the wrong code for the one who wrote it to remove and have
5907 a look what he did wrong.
5909 * insettabular.C (localDispatch): force a SELECTION update if we
5910 had a selection and we passed the event down to the inset (fix #213)
5911 (localDispatch): handle font changing stuff when we have a cell
5912 selection so that the selection is not rewoked. I don't really like
5913 this fix, but it's the only way I see to do it right now.
5915 2002-02-22 Juergen Vigna <jug@sad.it>
5917 * insettext.C (insetUnlock): set the cursor to the second paragraph
5918 if available and if the first one is empty (fix #191).
5920 2002-02-20 Juergen Vigna <jug@sad.it>
5922 * insettext.C (getDrawFont): implemented this function to call the
5923 one of the owner if present as the owner normally knows what to do
5926 * insetert.C: implement getDrawFont() function and comment out all
5927 the crap for setting a special latex font inside this inset.
5928 (InsetERT): added a Lanugage parameter to this constructor.
5930 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5931 change the font for being drawn on screen (used only in InsetERT for
5934 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5935 and also above (was missing).
5936 (updateLocal): don't remove the cell selection if we have one this
5937 should be done where we really want to remove it.
5939 2002-02-20 José Matos <jamatos@fep.up.pt>
5941 * insetinclude.h: include_label made string const.
5943 * insetinclude.C (InsetInclude): moved include_label initialization.
5946 (validate): fix support for temporary directory, for docbook and
5949 * insetgraphics.h : new private member, graphic_label, that holds
5950 the entity name that defines the graphics location (SGML).
5952 * insetgraphics.C (unique_id): new function to give a unique label
5955 (validate): the file locatation is given by an entity reference.
5957 2002-02-18 Herbert Voss <voss@lyx.org>
5959 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5961 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5963 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5964 as support/systemcall.[Ch] and of class Systemcalls as class
5967 2002-02-18 José Matos <jamatos@fep.up.pt>
5969 * insetinclude.C (validate): some code only applies to latex buffers,
5970 it was made conditional.
5972 2002-02-12 Herbert Voss <voss@lyx.org>
5974 * insetgraphics.C: (prepareFile) do not check at this time
5975 if the file is present.
5977 2002-02-12 Herbert Voss <voss@lyx.org>
5979 * insetgraphics.C: latex(), return the correct newlines
5981 2002-02-13 José Matos <jamatos@fep.up.pt>
5983 * inseturl.C (docbook): escape & in url.
5985 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5987 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5988 after HYPHENATION and MENU_SEPARATOR
5990 * inset.h (isLineSeparator): new method, returns false by default.
5992 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5994 * insetert.C (status): do not update the text inset, but the ERT
5997 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5999 * insetnote.C: use notebg for background
6001 2002-02-08 Herbert Voss <voss@lyx.org>
6004 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
6005 prevent LyX from unzipping when this should be handled
6006 by latex vis the graphic.cfg.
6009 2002-02-08 Herbert Voss <voss@lyx.org>
6011 * insetgraphic.C: prepareFile(): fix bug when file doesn't
6012 exists, than return filename with extension
6014 2002-02-06 Herbert Voss <voss@lyx.org>
6016 * insetgraphic.C: prepareFile(): don't convert the file, when
6017 it's not viewed in LyX. Saves a lot of time when opening a
6020 2002-02-05 Herbert Voss <voss@lyx.org>
6023 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
6024 and adding a rotate bool similiar to subcaption
6026 2002-02-04 Herbert Voss <voss@lyx.org>
6029 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
6030 similiar view to the LaTeX one. Get zipped files work.
6032 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6034 * insetgraphicsParams.C (init): set display to DEFAULT.
6035 No longer #include "lyxrc.h".
6037 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6039 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
6040 for now (so that the code compiles).
6042 2002-02-02 Herbert Voss <voss@lyx.org>
6044 * insetgraphic.C: delete inVariant() and some minor changes
6045 * insetgraphicsParams.[C]:
6047 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6049 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6050 interogate lyxrc.display_graphics before diaplaying the graphic.
6052 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6053 InsetGraphicsParams::DisplayType.
6055 2002-01-31 Herbert Voss <voss@lyx.org>
6057 * insetgraphic.C: (readfigInset) set display to pref-default
6059 2002-01-30 Herbert Voss <voss@lyx.org>
6061 * insetgraphic.C: get the filetyp from it's contents
6062 * insetgraphicparams.C: add token scale and lyxrc.display when
6063 creating a new inset
6065 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6067 * figinset.C: added using std::ios directive.
6069 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6071 * figinset.C (runqueue): open translation file in binary mode (for
6074 2002-01-27 Herbert Voss <voss@lyx.org>
6076 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6077 all options and to be sure that the old figinsets are correct
6079 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6080 structure and to support all lengths as LyXLength. The Parameter
6081 structure changed again, but reading of "old" 1.2 graphic insets
6084 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6086 * insetert.h (forceDefaultParagraphs): Added
6088 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6090 * insettabular.C (getMaxWidth):
6091 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6093 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6095 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6096 of LyXLength::inPixels
6098 * inset.C (latexTextWidth):
6099 * insetminipage.C (latexTextWidth): new method, which implements
6100 the equivalent of the LaTeX macro \textwidth
6102 * insetminipage.C (getMaxWidth): use latexTextWidth
6104 2002-01-18 Juergen Vigna <jug@sad.it>
6106 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6108 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6110 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6112 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6115 2002-01-17 Juergen Vigna <jug@sad.it>
6117 * insettabular.C (lockInsetInInset): same change as in insettext.
6119 * insettext.C (draw): width() function was called without setting
6120 the right top_x which could lead to wrong insetWidth setting!
6121 (lockInsetInInset): call edit instead of calling lockInset if we
6122 have to lock an inset inside!
6123 (edit): we have to also tell the inset that we have to redraw the
6124 frame on an edit call if this inset draws a frame only if locked.
6126 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6128 * insetbib.C (getFiles): uncomment Path variable.
6130 2002-01-16 Juergen Vigna <jug@sad.it>
6132 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6135 2002-01-16 Allan Rae <rae@lyx.org>
6137 * insetinclude.C (docbook): someone forgot a ";"
6139 2002-01-16 José Matos <jamatos@fep.up.pt>
6141 * figinset.C (docbook): removed a old place holder "@".
6142 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6143 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6144 ascii text version, clearly guarded inside a CDATA section.
6145 (docbook): in docbook 4, inlinegraphics is empty.
6146 * insettabular.C (linuxdoc): export the ascii version of the table
6147 inside a CDATA section.
6149 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6151 * insetparent.C (InsetParent):
6152 * insetgraphicsParams.C (Write):
6154 * insetgraphics.C (prepareFile):
6157 * insetexternal.C (executeCommand):
6158 (doSubstitution): use Buffer::filePath
6160 * insetbib.C (getFiles): add a #warning for Angus
6162 * insetgraphics.C: Add a remark about how filenames should be
6163 considered to be relative to buffer (but absolute is still allowed)
6164 (draw): do not try to get status if lyxrc.use_gui is false
6166 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6169 * insetcollapsable.[Ch]:
6170 * insettabular.[Ch] (searchForward, searchBackward): change the
6171 bool const & params to bool.
6173 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6174 to avoid the name clash with InsetCollapsable's methods of the same
6175 names but different functionality.
6177 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6179 * insettext.C (ascii): use lyx::count rather than countChar.
6181 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6183 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6185 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6187 * insetgraphics.C (updateInset): do not try to render image if
6188 lyxrc.use_gui is false (bug #104)
6190 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6191 if file does not exist
6193 * figinset.C (browseFile): add shortcuts to directory buttons
6195 * insettext.C (updateLocal): update menubar and toolbar here too.
6197 2002-01-13 Allan Rae <rae@lyx.org>
6199 * insettabular.C (InsetTabular): Both constructors now initialise
6200 all class variables.
6202 2002-01-11 Juergen Vigna <jug@sad.it>
6204 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6206 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * insettabular.C (getStatus): add forgotten brace around multiline
6211 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6213 * insetfloat.C (validate): require "float" instead of "floats".
6215 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6217 * insettabular.C (getStatus): use FuncStatus
6219 2002-01-08 Juergen Vigna <jug@sad.it>
6221 * insettabular.C (insetButtonRelease): now this should work too
6224 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6225 if the width is a percentage.
6227 * inset.h: added isChar() function and implemented this for
6228 insetspecialchar insetquotes and insetlatexaccent.
6229 added forceDefaultParagraphs() and implemented it for insettabular.
6231 2002-01-07 Juergen Vigna <jug@sad.it>
6233 * insettext.C (getLyXText): Fixed this function. An insert into the
6234 map is only done if we REALLY have a new BufferView.
6236 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6238 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6240 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6242 * insetinclude.C: fix use of FileInfo
6244 2002-01-07 Juergen Vigna <jug@sad.it>
6246 * insettabular.C (draw): fixed clearing of cell around inset.
6248 2002-01-05 Juergen Vigna <jug@sad.it>
6250 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6251 variables are updated.
6253 * insettabular.C (resetPos): set always the inset_y as it may be
6254 needed in another function.
6255 (searchBackward): don't draw while searching.
6257 2002-01-04 Juergen Vigna <jug@sad.it>
6259 * insettext.C (lockInsetInInset): forgot to set a cursor.
6261 2002-01-02 Juergen Vigna <jug@sad.it>
6263 * insettext.C (insertInset): make the correct undo informations on
6264 inserting new insets.
6266 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6268 * insettabular.C: correct single-cell select vertically
6270 2001-12-27 Juergen Vigna <jug@sad.it>
6272 * insettabular.C (ascii): export as tab-separated-values if the
6273 function was not called from export (f.ex.: clipboard).
6275 * insetcollapsable.h: added default support for ascii, linuxdoc and
6276 docbook export (the insettext is exported by default!)
6278 * insettabular.C (copySelection): suff the clipboard with the tabular
6279 data in a tab separated format, seems more naturals then with all the
6282 2001-12-24 Juergen Vigna <jug@sad.it>
6284 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6285 to check for REAL mouseMotion.
6287 2001-12-20 Juergen Vigna <jug@sad.it>
6289 * inset.C (cursor): return the owners cursor if available instead of
6290 always only the bv->text->cursor.
6292 * insettabular.C (checkLongtableSpecial): works now.
6294 2001-12-19 Juergen Vigna <jug@sad.it>
6296 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6297 this has to be always row + 1 as 0 means not selected!
6298 (checkLongtableSpecial): added
6299 (tabularFeatures): better longtable options support
6301 * insettext.C (resizeLyXText): reinit the text always also on a
6304 2001-12-18 Juergen Vigna <jug@sad.it>
6306 * insettext.C (updateInsetInInset): look if we have to autocollapse
6307 paragraps and return if the update is requested for ourself.
6309 * insetert.C (status): update the insettext not myself as that is what
6312 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6313 function only return if the update was requested with myself.
6315 * insettext.C (insetButtonPress): fixed stupid bug.
6316 (various functions): pay attention that lt is cleared BEFORE calling
6317 updateLocal() and try to use it in the right manner (don't use it
6318 if it's not really neccessary!)
6319 (collapseParagraphs): insert a blank between collapsing paragraphs
6320 if neccessary (not already there!).
6322 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6324 * insettabular.C: move includes around a bit, add a couple of
6327 * insettext.[Ch]: move includes around a bit, other ws changes and
6330 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6332 * insettext.C (insetButtonRelease): fix compile problem
6334 2001-12-17 Juergen Vigna <jug@sad.it>
6336 * insettext.C (insetButtonPress): set the selection cursor!
6337 (insetButtonPress): clear the selection (and set with that the
6338 selection.cursor) if we only hit an inset!
6340 * insetert.C (read): removed piece of compatibility code only needed
6343 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6346 * insetcollapsable.C (insetButtonRelease): changed so that it can
6347 open eventual existing popup dialogs on mousebutton==3.
6349 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6351 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6353 * inset.C (insetButtonRelease): return a bool for telling the outer
6354 world that we opened a dialog.
6356 2001-12-07 Juergen Vigna <jug@sad.it>
6358 * insettext.C (paragraph): remove the deleteing of paragraphs as
6359 it was a WRONG move!
6361 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6364 * insettabular.C: use new setSelection(). Allow
6365 selection of single cells.
6367 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6369 * insetquotes.C (latex): fix to use the local language setting at
6370 the point where the inset is inserted (different macros for
6371 different french packages)
6373 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6375 * inset.h: add par_owner_ member variable and parOwner
6378 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6380 * insettabular.C (everywhere): adapt because widths are now real
6381 widths and not strings
6383 * insettext.C (draw): re-introduce the calls to width(), ascent()
6384 and descent() to initialize the caching variables.
6386 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * insettext.C (draw):
6389 (drawFrame): use insetWidth instead of last_width
6391 * insettext.h: remove variable last_width (insetWidth is exactly
6392 the same) and last_height (computed but never used!)
6394 2001-12-10 Allan Rae <rae@lyx.org>
6396 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6400 * insettext.C (insetAllowed): add comment
6402 2001-12-05 Juergen Vigna <jug@sad.it>
6404 * insettext.C (insetAllowed): fixed for the case that we directly
6405 ask the insettext from its LyXText.
6406 (paragraph): fixed the crash when assigning the par->next() from
6407 the EmptyParagraphMechanism!
6409 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6413 * insettext.C: change "while(" to "while ("
6415 2001-12-04 Juergen Vigna <jug@sad.it>
6417 * insetert.C (edit): handle Inlined status.
6419 * insettext.C (insertInset): trying John's fix for the trailing cursor
6421 * insetert.C (insetButtonPress): added to handle inlined status
6422 (insetMotionNotify): ditto.
6424 * insettext.C (clearInset): changed Painter & in BufferView * param,
6425 to be able to call ascent,descent methods.
6427 2001-12-03 Juergen Vigna <jug@sad.it>
6429 * insettext.C (updateInsetInInset): use lt variable to forbid
6430 changes of LyXText in an update call.
6431 (updateInsetInInset): fixed updating of non locked insets!
6433 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6435 * insettabular.C: capture some more functions to prevent
6436 selection drawing problems. Bug #451274
6438 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6441 * insetgraphicsParams.C: fix inverted sense of float_equal
6443 2001-11-30 Juergen Vigna <jug@sad.it>
6445 * insettabular.C (InsetTabular): use the save_id flag to create also
6446 the tabular with the same id's.
6448 * insettext.C (setParagraphData): added a same_id function for undo
6449 to set the same paragraph id's as of the paragraph we are setting.
6451 2001-11-30 José Matos <jamatos@fep.up.pt>
6454 * insettoc.[Ch]: DocBook -> docbook.
6456 2001-11-29 André Pönitz <poenitz@gmx.net>
6459 * insettext.C: further reduction of header dependencies by using
6460 lyx::layout_type and lyx::textclass_type from support/types.h
6462 2001-11-29 Juergen Vigna <jug@sad.it>
6464 * insettext.C: inserted a reinitLyXText function everywhere I delete
6465 the paragraphs! This should fixe the crashes we had.
6466 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6467 (paragraph): set the InsetOwner() of the new paragraphs!
6469 2001-11-28 André Pönitz <poenitz@gmx.net>
6471 * insetnote.C: add pos initialization that I removed without
6474 2001-11-28 Juergen Vigna <jug@sad.it>
6476 * insettabular.C (resetPos): hack to not crash with infinite paints.
6478 * insettabular.h: insert missing function allowSpellcheck()!
6480 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6482 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6485 * insetfloatlist.C: derive from InsetCommand so gui can use it
6488 2001-11-26 André Pönitz <poenitz@gmx.net>
6492 * insetnote.C: reduce header dependencies, introduce type for
6495 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6497 * various: update for Alert.h
6499 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6501 * inset.h: fix comment
6503 * insettext.C: use par->isInset()
6505 2001-11-22 Allan Rae <rae@lyx.org>
6507 * insetcollapsable.h:
6508 * inset.h: Changes to checkInsertChar() behaviour.
6509 Now return value indicates whether chars can be inserted.
6511 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6513 * various: updated to use the new LaTeXFeatures
6515 2001-11-14 José Matos <jamatos@fep.up.pt>
6517 * insetspecialchar.C (linuxdoc):
6518 (docbook): don't give a name to a unused variable.
6520 * insettext.C (docbook): removed unused variable.
6522 2001-11-13 Herbert Voss <voss@perce.de>
6524 * insetgraphic.C: fix scale bug
6526 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6528 * inset.h (isSpace):
6529 (isLetter): new virtual methods.
6531 * insetspecialchar.C (isSpace):
6532 (isLetter): implement here.
6534 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6536 * inset.h: new inline helpers
6538 * insettext.C: use new helpers
6540 2001-11-07 José Matos <jamatos@fep.up.pt>
6542 * insettext.C (docbook): full support for paragraphs inside insettext.
6544 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6546 * insetindex.C: added header file for std::ostream.
6548 2001-11-03 José Matos <jamatos@fep.up.pt>
6550 * insetindex.C: added using std::ostream that I forgot yesterday.
6552 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6554 * insetindex.h (docbook):
6555 * insetindex.C (docbook): added support for docbook export.
6557 2001-11-02 José Matos <jamatos@fep.up.pt>
6559 * insetcaption.C(docbook): added support for docbook export.
6561 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6563 * insetexternal.C (updateExternal): Do not run update command if
6564 result file exists and is up to date.
6566 * ExternalTemplate.C (readFormat): Support the updateresult token.
6568 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6570 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6571 external_templates) to use the buffer->fileName() but only if
6572 previewing. Generating a TeX file should make FPath return
6575 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6578 * insetert.C: fix some problems
6580 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6582 * insetexternal.C (doSubstitution): Added $$FPath token
6583 to list of usable substitutions in external inset templates.
6585 2001-10-24 Juergen Vigna <jug@sad.it>
6587 * insettabular.C: use new ltType struct for setting longtable
6588 header and footers also new UNSET enums.
6590 2001-10-24 José Matos <jamatos@fep.up.pt>
6592 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6593 (docbook): If the table is not inside a float then wrap it inside
6594 <informaltable>...</informaltable>.
6596 2001-10-23 José Matos <jamatos@fep.up.pt>
6598 * insetref.C (docbook): removed / terminator to conform SGML.
6600 * insetspecialchar.C (linuxdoc):
6601 (docbook): Added support for special chars, more than ascii export.
6603 2001-10-22 Juergen Vigna <jug@sad.it>
6605 * insettext.C (checkInsertChar): added for REALLY checking the
6606 font of the inserted char in the right inset!
6608 2001-10-19 Juergen Vigna <jug@sad.it>
6610 * inset.h: added method allowSpellcheck() so that insets who do
6611 not have anything to spellcheck can tell and so they are over-jumped.
6612 Implemented for InsetText and co.
6614 2001-10-18 Juergen Vigna <jug@sad.it>
6616 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6618 2001-10-15 José Matos <jamatos@fep.up.pt>
6620 * insetert.C: allow export for docbook and linuxdoc
6622 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6624 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6626 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6628 * insetquotes.C (dispString): fix handling of latin9 quotes
6630 2001-10-03 Juergen Vigna <jug@sad.it>
6634 * insetcollapsable.C: change updateInset calls to not tell BV that
6635 we have changed status.
6637 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6639 * insettabular.C (deletable): make const
6641 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6643 * insetert.C (latex): Fix the returned value
6645 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6647 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6648 Returns string(), so nothing in an ERT inset is spellchecked.
6650 * insetgraphics.C (draw): print the filename if not displaying the
6652 (width): make sure that the width and draw methods are consistent.
6653 (updateInset): don't even load the image into cache if not displaying
6656 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6658 * various files (selectNextWord): renamed as
6659 selectNextWordToSpellcheck.
6661 * insetgraphics.C (draw): remove the previous change. Right place
6662 is in imageLoaderXPM.C.
6663 (draw): don't display the image if params.display == NONE.
6665 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6667 * figinset.C (runqueue):
6668 * insetgraphics.C (draw): set background colour of inset from
6669 background to the user-configurable graphicsbg.
6671 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6673 * insetquotes.C (InsetQuotes): when trying to decide the side of
6674 the quote, choose `left' only after a space or '('
6676 2001-09-04 José Matos <jamatos@fep.up.pt>
6681 * insetcollapsable.h
6699 * insetlatexaccent.C
6700 * insetlatexaccent.h
6705 * insetspecialchar.C
6706 * insetspecialchar.h
6710 * insettext.C (docbook): rename docBook method to docbook.
6712 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6714 * inset.h (getFirstParagraph): New virtual method.
6716 2001-08-20 Herbert Voss <voss@perce.de>
6717 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6718 in the the bibtex-database-gui for inserting a line
6721 If no style is given than there is no tex-output.
6723 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6725 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6729 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6731 * insetert.C (latex): Fix output for multiple paragraphs.
6732 (write): New code for writing paragraph data.
6733 (read): Set font after reading the inset.
6734 (localDispatch): Call set_latex_font() for more cases.
6736 * insetnote.h: Add empty validate method.
6739 * insetnote.C (InsetNote): Set language to the language of the
6742 2001-08-16 Juergen Vigna <jug@sad.it>
6744 * insettext.C: implemented the new FINISHED states.
6746 * insettabular.C: ditto
6748 * inset.h: added more FINISHED states for cursor right,up,down
6750 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6752 * insetfloatlist.C: use "FloatName List"
6754 2001-08-14 Juergen Vigna <jug@sad.it>
6756 * insetert.C (edit): forgot to set status_ in edit calls!
6758 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6760 * insettext.C: Compilation fix
6762 2001-08-13 Juergen Vigna <jug@sad.it>
6764 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6766 * insetcollapsable.C (edit): don't recollapse an already open inset.
6768 * insettext.C: fixed problem when reinitializing LyXText by not doing
6769 it while lt is in use and post this to the next possible time in
6771 (searchForward): fixed not unlocking of inset if nothing found.
6772 (edit): set cursor behind right (was set -1 pos).
6774 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6776 * insettabular.C (tabularFeatures): fixed fix where deleting the
6777 last row didn't get the right actcell!
6779 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6781 * insettext.C (localDispatch): Change language only when the inset
6784 2001-08-10 Juergen Vigna <jug@sad.it>
6786 * insettabular.C (selectNextWordInt): use the front using edit call.
6788 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6789 the parameter overwrite class variable inset.
6791 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6793 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6794 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6796 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6797 update only for fixed with cells.
6798 (resetPos): try to fix the lockup on spellchecking or s&r.
6800 * insettext.C (update): comment this out as it seems first wrong
6801 and second not needed anymore!
6802 (some functions): call reinitLyXText() only in update() in all other
6803 positions set only need_update = INIT.
6805 2001-08-08 Juergen Vigna <jug@sad.it>
6807 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6809 * insettext.C (insetUnlock): remove double-space on inset unlock.
6811 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6813 * insettabular.C (update): fixed cursor positon after an insert.
6814 (insetAllowed): do not allow to insert insets when not inside the
6816 (draw): clear below an inset too as it could have changed height.
6818 * inset.C (getMaxWidth): fixed width for inset in inset.
6820 * insettext.C (update): small fix.
6822 * insettabular.C (tabularFeatures): added selection support to
6823 DELETE_ROW/DELETE_COLUMN.
6825 2001-08-07 Juergen Vigna <jug@sad.it>
6827 * inset.C (getMaxWidth): recoded and all it's implementations!
6829 * insettext.C (init,setParagraph+constructors): cleanups
6830 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6831 are new and I want do a save/restore of the cursor position which is
6832 not possible anymore.
6834 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6835 (searchBackward): ditto
6836 (selectNextWord): ditto
6838 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6840 * insetlatexaccent.C (checkContents): Add some debug messages
6842 2001-08-07 Juergen Vigna <jug@sad.it>
6844 * insetert.C (read): don't use InsetCollapsable::read as we don't
6845 write the collapsed status anymore only the status.
6848 2001-08-06 Juergen Vigna <jug@sad.it>
6850 * insetert.C (set_latex_font): use LyXText's setFont directly.
6852 * insettext.C (drawFrame): fixed one time more the right position
6853 and size of the frame!
6855 * insetert.C (~InsetERT): hide the dialog.
6856 (showInsetDialog): added implementation
6859 (status): new function for the status of the ERT inset (3-state).
6860 (write): output also the status of the inset for readback!
6861 (read): readback the status if available otherwise use collapsed_.
6863 * insettext.C (edit): small fix of setting the position, which could
6866 * insetert.C (width): implement this function for inlined viewing.
6867 Added minimum width of 10 pixels!
6869 * insetminipage.C (InsetMinipage): just change the colors a bit so
6870 that border/background is a bit more visible. We will remove this
6873 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6874 function for getting the important widths for drawing in various
6875 functions and in LyXText.
6876 (draw): fixed up a bit (frame drawing/clearing)
6878 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6880 * inset.C (convertFont): delete method. not used.
6882 2001-08-03 Juergen Vigna <jug@sad.it>
6884 * insettext.C (setFont): don't call for a draw update if we're just
6885 changing the cursor font!
6887 2001-08-02 Juergen Vigna <jug@sad.it>
6889 * insettext.C (draw): clear the background with the right color if
6890 needed. Update myself if x&max-width changed and return without doing
6891 anything. Let the update code handle the right stuff.
6893 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6894 inside another inset.
6896 2001-08-01 Juergen Vigna <jug@sad.it>
6898 * insetcollapsable.C (update): added an in_update bool so we avoid
6901 * insettabular.C (update): added an in_update bool so we avoid
6904 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6906 (update): added an in_update bool so we avoid reentering.
6908 * insettabular.C (localDispatch): clear col/row selection when doing
6909 something else inside an inset.
6911 * insettext.C (getLyXText): fixed bug when requesting a recursive
6914 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6916 * insetcite.C (latex): Paranoia check. Make sure that there is no
6917 whitespace between the citation keys.
6919 2001-07-31 Juergen Vigna <jug@sad.it>
6921 * inset.h (nodraw): make the set function also const so that this
6922 can be called from inside other const functions.
6924 * insetcollapsable.h: removed inline variable and moved it over
6925 to the only user InsetERT.
6927 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6928 inset opening immediately therein lying insets dialogs!
6930 * insetert.C (localDispatch): set the font also if we don't have any
6931 chars in this paragraph, otherwise if we delete all of em and start
6932 writing we have the wrong font.
6934 (draw): implemented for inline support
6935 (insetButtonRelease): ditto.
6937 2001-07-30 Juergen Vigna <jug@sad.it>
6939 * insettext.C (reinitLyXText): new function to reinit the insets
6940 text after lot's of paragraph changes. Use this instead of the
6941 cache.clear() which is VERY dangerous.
6943 * insetfloat.C (insetButtonRelease): we should only show the dialog
6944 if we press on the label otherwise we have problems to open mouse
6945 button 3 dialogs inside this float (f.ex. of a tabular!)
6947 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * insetert.C: change back to "ERT"
6951 * insetfloat.C: handliign of RMB on label added.
6953 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6955 * insetgraphicsParams.C: #include LOstream.h here.
6957 * insetfoot.h: remove InsetFoot:: qualifier.
6959 2001-07-29 Baruch Even <baruch@lyx.org>
6961 * ChangeLog: Hiding time travel evidence.
6963 * insetgraphicsParams.h:
6964 * insetgraphicsParams.C:
6965 * insetgraphics.C: Added horizontal scale option, it actually
6966 scales both directions since it keeps image proportions.
6968 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6970 2001-07-29 Baruch Even <baruch@lyx.org>
6972 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6973 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6975 HACKY! Will need to add an EPS detection routine like old InsetFig
6978 2001-07-29 Baruch Even <baruch@lyx.org>
6980 * insetgraphics.C: Added EPSI to be an alias of EPS.
6982 2001-07-29 Baruch Even <baruch@lyx.org>
6984 * insetgraphics.C: Change GRAPHICS to Graphics.
6985 Changed image conversion rules (documented at the beginning of file).
6987 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6989 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6992 * insetgraphics.C: added a using std::endl directive.
6994 * insetcommand.h (getScreenLabel): removed pure virtual function,
6995 as it duplicates that in InsetButton.
6997 * insetbib.[Ch] (getScreenLabel):
6998 * insetbutton.[Ch] (getScreenLabel):
6999 * insetcite.[Ch] (getScreenLabel):
7000 * insetert.[Ch] (getScreenLabel):
7001 * insetexternal.[Ch] (getScreenLabel):
7002 * insetfloatlist.[Ch] (getScreenLabel):
7003 * insetinclude.[Ch] (getScreenLabel):
7004 * insetindex.[Ch] (getScreenLabel):
7005 * insetlabel.h (getScreenLabel):
7006 * insetparent.[Ch] (getScreenLabel):
7007 * insetref.[Ch] (getScreenLabel):
7008 * insettoc.[Ch] (getScreenLabel):
7009 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
7011 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
7013 (validate): remove check on "cite" when using natbib.
7015 2001-07-26 Baruch Even <baruch@lyx.org>
7017 * insetgraphics.C (draw): changed casting to be in one place
7018 rather than all over the function.
7021 * insetgraphics.C (read): Added compatibility reads of InsetFig.
7023 * insetgraphicsParams.h:
7024 * insetgraphicsParams.C:
7025 * insetgraphics.C: Removed inline option and changed rotateAngle
7028 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7030 * insetfoot.C (validate): Added method to ensure that the
7031 right bit of LaTeX is emitted.
7033 * insetfoot.h: Added validate method to set the correct
7034 LaTeXFeatures bit for the special footnote code.
7036 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7038 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7041 2001-07-27 Juergen Vigna <jug@sad.it>
7043 * inset.h: remove unused font variable in parameter.
7044 removed checkInsertChar in UpdatableInset as it was equal to
7045 the one in Inset and so not needed.
7047 * insetert.C (checkInsertChar): implementation of function
7050 * inset.h: added new function checkInsertChar.
7052 * various files: added c-tor and clone() function.
7054 * insetcollapsable.h: removed clone function here as this should
7055 be only realized in REAL insets and added it to all collapsable
7056 insets! (with the copy-constructor).
7058 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7060 * insetminipage.C (read): handle missing parameters more gracefully
7062 * insetcollapsable.C (read): handel missing collapsed more gracefully
7064 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7066 * insetfloat.C (read): handle missing parameters.
7068 * insettext.C (read): handle old latex end_inset
7070 * insetert.C (setButtonLabel): new method
7071 (init): use it, to set the dynamic label correctly
7074 * Makefile.am (EXTRA_DIST): add files that is not part or the
7077 * insetcollapsable.h: remove autocollapsable (no users), remove
7078 draw_label, change_label_with_text and companion code. Remove args
7080 * insetert.[Ch]: move here instead (only user)
7082 * inset.h: rename private variable name to name_, make
7083 selectNextWord return a const string. make getInsetName return a
7084 string const &. Remove bool from open, add close.
7086 * Makefile.am: don't compile insetlist, insetsection
7089 2001-07-24 Juergen Vigna <jug@sad.it>
7091 * insetert.C (InsetERT): put init after the paragraph initialization,
7092 as otherwise we don't set the draw_label right.
7094 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7095 insets with the mouse without having strange selections.
7096 (edit): if the inset was collapsed and we open it here then put the
7097 cursor always at the beginning of the inset.
7098 (get_new_label): 15 instead of 10 max chars in the label.
7100 * insetert.C (localDispatch): added and handle various stuff we
7101 need to handle here (font setting on paragraph break, not permitted
7102 layout setting, etc.).
7104 * inset.h: added default copy-consturctor and implemented this in
7105 various insets with the change to use this in the clone function!
7107 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7109 * insetminipage.C (InsetMinipage): set background color to red :)
7111 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7113 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7114 draw frame mode is LOCKED.
7116 * insetcollapsable.C (edit):
7117 (insetButtonRelease): set update status to full when
7120 * insettext.C (clearInset):
7121 * insettabular.C (draw):
7122 * insetlatexaccent.C (draw): honor background color.
7124 * inset.h: new member background_color_, initialized to
7127 * inset.C (backgroundColor): new method.
7128 (setBackgroundColor): new method.
7130 * insetert.C (init): new method, called by the ctors.
7131 (InsetERT): when inserting contents, make sure the font is
7134 * insetnote.C (InsetNote): when inserting content, remove trailing
7136 (init): set background color to LColor::note
7138 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7140 * insetcollapsable.C: adjust
7142 * insetbutton.C: adjust
7144 2001-07-23 Juergen Vigna <jug@sad.it>
7146 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7147 parameter on the _collapsed function (was not needed) and call
7148 always width_collapsed().
7150 * insetert.C (InsetERT): use setLabel with "true" flag.
7152 * insetcollapsable.C: modified various functions to set the draw_label
7153 string right in any condition.
7154 (setLabel): added a bool parameter to set change_label_with_text.
7156 * insetcollapsable.h: added draw_label string which is set to the
7157 actual drawn label-string, while label is the original static label
7158 of this collapsable inset. Added bool change_label_with_text to set
7159 if we want that the label changes to the start of the InsetText's
7160 text when collabpsed. You can set this flag with the setLabel funciton.
7161 Added bool inlined for inlined collapsable insets, but not handled
7164 * insetcollapsable.C (get_new_label): added should get a new label
7165 from the InsetText beginning (for now 10 chars).
7167 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7169 * insetquotes.C (latex): fix the handling of french double quotes
7170 when not using the french pachage.
7172 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7174 * insetcollapsable.h: make WidthCollapsed mutable.
7176 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7177 InsetPrintIndex returns INDEX_PRINT_CODE.
7179 * inset.h: add INDEX_PRINT_CODE
7181 * insetcollapsable.C (draw): init widthCollapsed if necessary
7184 * insetquotes.C (width): use the local language, not the document
7187 (dispString): add additional spacing for all french languages,
7189 (validate): make it work when there is no default language
7191 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7193 * insetnote.C (init): new method, called by the constructors
7194 (InsetNote): new constructor with contents passed as a string
7196 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7198 * insetfootlike.C (insetAllowed): disallow float in footlike.
7200 * insetert.C (InsetERT): add collapsed argument to the constrctor
7203 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7205 * insetindex.h: shut off warning
7207 2001-07-20 Juergen Vigna <jug@sad.it>
7209 * insetcollapsable.C (update): recoded hopefully works now!
7211 2001-07-19 Juergen Vigna <jug@sad.it>
7213 * most files: implemented the below new introduced function.
7215 * inset.h: added new edit(BufferView *, bool front) method to be able
7216 to enter an inset from the front/back without knowing x/y positions
7217 and baselines inside the inset. So I just can tell the inset activate
7218 me and set the cursor on the front/back of yourself.
7220 2001-07-18 Juergen Vigna <jug@sad.it>
7222 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7223 is given to the InsetText.
7224 (insetButtonPress): ditto
7225 (insetButtonRelease): ditto
7226 (insetMotionNotify): ditto
7228 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7230 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7231 LIGATURE_BREAK, since the name is so stupid.
7233 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7235 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7236 the default InsetCollapsable methods. I.e., it can insert anything.
7237 (write) output the name of the inset, not some silly hack for
7238 compatability with the old InsetInfo.
7240 * insetinfo.[Ch]: removed.
7241 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7242 now collapsable, but functionality is otherwise identical to InsetInfo.
7244 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7246 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7248 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7251 * insetquotes.C: general cleanup
7252 (dispString): add spaces inside french double quotes.
7253 (latex): ditto. Moreover, treat first the case where the frenchb
7254 or french options have been given.
7256 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7258 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7261 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7263 * figinset.C (RegisterFigure): Print debug message only when
7264 current_view is available.
7266 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7268 * many files: update to match the change below
7270 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7271 implement the version which takes an inset here.
7273 * insetcollapsable.[Ch]: implement open and isOpen
7275 * inset.h: remove insertInsetAllowed from Inset
7276 (open): new method, to open or close an inset
7277 (isOpen): returns the status of an inset
7278 (isCollapsable, colapse): removed
7280 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7282 * insetquotes.C (dispString): display french guillemets when using
7285 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7287 * insetcollapsable.h: remove bogus return statements
7289 2001-07-18 Juergen Vigna <jug@sad.it>
7291 * insettabular.C (selectNextWord): fixed spellchecking for the
7292 first cell of a tabular (wasn't entered!)
7293 (getLyXText): changed to enter automatically insettext and return
7294 it's LyXText if we're locked.
7296 2001-07-17 Juergen Vigna <jug@sad.it>
7298 * various files: implemented the below functions.
7300 * inset.h: added functions
7301 - virtual string selectNextWord(BufferView *, float & value) const;
7302 - virtual void selectSelectedWord(BufferView *) { return; }
7303 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7304 needed for spellchecking correctly!
7306 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * insetert.C (latex): write out all paragraphs.
7310 2001-07-17 Baruch Even <baruch@lyx.org>
7312 * insetgraphics.C (draw): Removed unneeded casts.
7314 2001-07-16 Juergen Vigna <jug@sad.it>
7316 * insettext.C (update): fixed small oversight (reset lt to 0).
7318 2001-07-14 Baruch Even <baruch@lyx.org>
7321 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7323 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7325 Consistent use of Lsstream.h:
7326 * figinset.C: removed using std::ostringstream directive.
7328 * insetgraphics.C (createLatexOptions):
7329 * insetinclude.C (unique_id):
7330 std::ostringstream -> ostringstream.
7331 * insettext.C (localDispatch): std::istringstream -> istringstream.
7333 2001-07-13 Juergen Vigna <jug@sad.it>
7335 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7337 * insetcollapsable.C (getLockingInset): ditto.
7339 2001-07-12 Juergen Vigna <jug@sad.it>
7341 * insetcollapsable.h: added implementation of new function for
7344 * various files: added implementation of new insertInsetAllowed-func
7345 and redone the function a bit more.
7347 * inset.h: added isCollapsable(), bool collapsed(),
7348 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7350 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7352 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7353 LyXText which is marked for removal while we're using it!
7355 * insettext.h: added private LyXText * lt to use it to assure we are
7356 not deleting our LyXText while we're using it!
7358 2001-07-11 Juergen Vigna <jug@sad.it>
7360 * insettext.C (insertInset): check if we are before the inset after
7361 inserting it! This check IS needed. Remove the Undo-Call as it is
7362 called in LyXText::insertInset!
7364 * insettext.h: added struct InnerCache.
7366 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7367 that we ONLY delete the LyXText in the getLyXText() routine. So we
7368 are sure we don't delete LyXText while someone is working with it!
7370 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * insetexternal.C: (*it). -> it->
7373 * insettext.C: ditto
7375 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7377 * insetcollapsable.C (edit): always open collapsed insets (even if
7378 they are not autocollapsable)
7380 * insetcommand.C (operator=): simplify.
7382 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7384 * insetert.C (latex): handle META_NEWLINE
7386 2001-07-09 Juergen Vigna <jug@sad.it>
7388 * insetert.h: a normal InsetText can insert insets, but we won't.
7390 * inset.h: return default "false" on insertInsetAllowed and implement
7391 this function where a returnvalue != "false" is needed.
7393 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7395 * insetert.C (InsetERT): new contructor
7397 2001-07-06 Juergen Vigna <jug@sad.it>
7399 * a lot of files: added implementation of the below new functions
7400 and the change to clone(). Also the call of the new undo-functions
7403 * inset.h: added an inset_id, added functions getParFromID,
7404 getInsetFromID, firstParagraph, cursor and id functions, added
7405 bool same_ids to clone function.
7407 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7409 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7410 of BufferView * and shared_ptr<LyXText>
7412 2001-07-05 Juergen Vigna <jug@sad.it>
7414 * insettext.C (clear): deleted also the cache not only LyXText.
7415 (setParagraphData): ditto.
7417 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7419 * insetfloat.C (latex): let the specific placement take presedence
7420 if set, otherwise choose document placement if set, otherwise just
7421 use float default placement.
7423 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7425 * insettext.C (localDispatch): call CutAndPaste::'s static method
7428 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7430 * insetbib.C: no meed to include forms.h here.
7432 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7434 * insettext.C: added using std::make_pair directive.
7436 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7438 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7440 (deleteLyXText): ditto
7441 (resizeLyXText): ditto
7443 2001-07-02 Juergen Vigna <jug@sad.it>
7445 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7446 following calls are only returned the right pointer without the over
7447 head to search in the map.
7448 (various funcs): reset the cached_bview variable as this signs that
7449 the cache is not valid anymore.
7451 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * insettabular.C (clone): do not copy the LyXTabular twice
7455 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7457 * insettext.h (TEXT): delete method
7459 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7461 * insetmarginal.C (latex):
7462 * insetfoot.C (latex): fix spacing of notes in LaTeX
7464 * insettext.C (localDispatch): use .c_str() on istringstream
7465 constructor argument.
7467 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7472 * inseturl.C: fix method names in these to begin
7473 with small char too, so they inherit
7475 2001-06-28 Juergen Vigna <jug@sad.it>
7477 * insettext.C (setFont): fixed font settings using toggleFree()
7478 instead of setFont().
7480 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7482 * Change a lot of method names to begin with a small char.
7483 Changes to a lot of files because of this.
7485 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * insetfloatlist.C (Write): std:: qualify ostream
7490 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7494 * insetgraphics.C: send debug output to Debug::INFO instead of
7497 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7500 * insettabular.C (getStatus): update to use func_status
7502 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7504 * insetref.C (DocBook): added support for cross-references without
7507 2001-06-26 The LyX Project <jug@sad.it>
7512 * insetlabel.h: removed escape method and moved it to
7515 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7517 * insettabular.C (getMaxWidth): do the speedup in a different way,
7520 2001-06-24 The LyX Project <Asger>
7522 * insettabular.C (getMaxWidth): We cache a mapping from
7523 inset to cell in order to speed this method up.
7525 2001-06-24 The LyX Project <Asger>
7527 * insettext.C: Optimized InsetText::draw or something.
7529 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7531 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7533 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7535 * inset.h: name change from lyxinset.h
7537 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7539 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7541 2001-06-14 Juergen Vigna <jug@sad.it>
7543 * insettext.C (draw): removed warnings.
7545 2001-06-13 Juergen Vigna <jug@sad.it>
7547 * insettabular.C (nodraw): only go down the tree if we don't have
7548 that flag set otherwise it's obvious that we don't want to draw.
7549 (LocalDispatch): do also an update if we have an undispached result.
7551 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7554 * insetgraphicsParams.C:
7555 * insettext.C: removed // -*- C++ -*- as first line.
7557 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7559 * lyxinset.h (resizeLyXText): shut off warning about unused
7562 2001-06-07 Juergen Vigna <jug@sad.it>
7564 * insettext.C (resizeLyXText): honor the new force flag.
7566 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7568 * insettabular.C (deleteLyXText): new function
7570 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7578 * insetcollapsable.C:
7579 * insetcaption.C: LColor tidy
7581 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7583 * figinset.C: fix typo
7585 2001-06-01 Juergen Vigna <jug@sad.it>
7587 * insettabular.C (resetPos): small hack so that scroll is not set to
7588 0 when we are in the last column of a tabular. This is a problem we
7589 have because of constats 20 offset on both directions, so this can
7590 cause on the limit an endless loop.
7592 * insettext.C (SetFont): forgot that we can have locking insets ;)
7594 2001-05-31 Juergen Vigna <jug@sad.it>
7596 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7598 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7600 * figinset.C: add using std:: directive for the C functions which
7603 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7605 * insetfloat.C (Write): write out wide info
7606 (Read): read the wide info
7607 (Latex): use the wide info when creating latex.
7609 * insettext.C: adjust
7611 * insetgraphics.[Ch] (statusMessage): change to return string
7615 * figinset.C (runqueue): add std::
7618 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7620 * insetcite.C (Ascii): add std:: qualifier
7622 2001-05-28 Juergen Vigna <jug@sad.it>
7624 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7625 a endless-width inset (maxWidth < 0).
7626 (Edit): change language only if not equal.
7628 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7630 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7632 2001-05-16 Juergen Vigna <jug@sad.it>
7634 * insettext.C (selectAll): added
7635 (clearSelection): added
7637 * insettabular.C (SetFont): now we may set a font on a whole selection!
7638 (getSelection): added helper function.
7640 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7642 * insetcite.C (Ascii): Add method.
7644 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7647 * insetbib.C: fix path for OS/2 & Win32
7649 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * insetfoot.C (Latex): don't use % after footnote.
7653 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7655 * insettext.C (Read): use clear
7656 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7658 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * insetfloatlist.h: add a bunch of std:: qualifiers.
7662 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7665 FLOAT_LIST_CODE, renumber code list.
7667 * insettoc.C (getScreenLabel): remove support for float lists
7671 * insetfloatlist.[Ch]: new files
7673 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7675 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7677 * insettabular.C (LocalDispatch):
7678 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7681 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * insettext.C: remvoe !NEW_INSETS cruft
7685 * insettabular.C: remove !NEW_INSETS cruft
7687 * insetcollapsable.h: remove !NEW_INSETS cruft
7689 * insetbib.C: remove !NEW_INSETS cruft
7691 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7693 * insettoc.C: hack to make listof algorithm work
7695 2001-04-20 Juergen Vigna <jug@sad.it>
7697 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7699 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7701 * insetquotes.C (Latex): improve the guard against
7702 unwanted !` and ?` ligatures. This should really be done in
7703 another place (to catch all this ligatures at low-level).
7705 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7707 * insettext.C (init): remvoe leftovers from cursor_visible change
7708 (draw): use c++ cast
7709 (LocalDispatch): dispatch LFUN_MESSAGE
7711 * insettabular.C (InsetTabular): remove leftovers from
7712 cursor_visible, and scoped_ptr changes
7713 (draw): use c++ cast
7715 * insetcollapsable.C (draw): use c++ cast
7717 * ExternalTemplate.h: inherit privaely from noncopyable
7718 * insetcommand.h: ditto
7719 * insetinclude.h: ditto
7721 2001-04-16 Allan Rae <rae@lyx.org>
7723 * insettoc.C (Ascii):
7724 * insettext.C (draw):
7725 * insettabular.C (setPos):
7726 * insetminipage.C (Read):
7727 * insetfloat.C (placement):
7728 * insetcaption.C (Ascii, DocBook):
7729 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7730 an unrecognised preprocessor directive. So ensure they're wrapped.
7732 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7735 * insetexternal.C: set view on Clone. Add _ to private members.
7737 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7739 * insettext.C (InsetText): fix new
7740 (InsetText): reindent some, simplify deletion of par list
7741 (clear): simplify deletion of par list, fix new
7742 (SetParagraphData): simplify deletion of par list
7744 * insettabular.[Ch] (getLabelList): implement new method
7746 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7748 * lyxinset.h: do not include gettext.h...
7756 * insetlatexaccent.C:
7760 * inseturl.C: ... and do it here instead
7762 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7764 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7766 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7768 * insetcollapsable.[Ch] (getLabelList): implement
7770 * insettext.[Ch] (getLabelList): implement
7772 * insettext.h: reindent
7774 * insettabular.h: make tabular a scoped_ptr
7776 * insettext.C (init): adjust for cursor_visible
7777 (ToggleInsetCursor): constify asc and desc, font, adjust for
7779 (ShowInsetCursor): constify asc and desc, font, adjust for
7781 (HideInsetCursor): adjust for cursor_visible
7783 * insettabular.C: reindent some
7784 (InsetTabular): adjust for scoped_ptr and cursor_visible
7785 (InsetTabular): ditto
7786 (~InsetTabular): delete delete
7787 (Clone): adjust for scoped_ptr
7788 (Read): constify old_format, adjust for scoped_ptr, move init of
7790 (draw): constify tx, localize loop vars.
7791 some other localization of variables, remove double initilizatons.
7793 * insetfoot.C: remove using std::ostream, add ostream where needed
7795 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7797 * lyxinset.h: some reindentaion, use initializer list for
7799 UpdatableInset: make cursor_visible a private var add
7800 public isCursorVisible(), add protected toggleCursorVisible() and
7801 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7803 * insettoc.C: remvoe using decl
7804 (getScreenLabel): make cmdname donst
7807 (Ascii): don't use endl
7809 * insetfootlike.C: remove using decl at file scope and add std::
7811 * insetmarginal.C: ditto
7813 * insetfoot.C: some reformatting
7815 * insetfloat.C (InsetButtonRelease): adjust the hit area
7817 * insetert.C (SetFont): some reformatting
7819 * insetcollapsable.C: some reformatting and constification
7820 (Clone): comment out.
7821 * insetcollapsable.h: some reformatting
7822 (Clone): comment out.
7827 2001-03-30 Juergen Vigna <jug@sad.it>
7829 * insetcollapsable.h: changen *inset to be a InsetText inset.
7831 * some files: changed to reflect the above change.
7833 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7835 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7836 InsetExternal::Params.
7837 Added operator==() and operator!=() for the Params struct.
7839 2001-03-29 Juergen Vigna <jug@sad.it>
7841 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7844 * insetminipage.C: removed widthp_ and all it's functions and changed
7845 to use new %-lengths of LyXLength.
7847 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7849 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7851 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7853 * insetgraphicsParams.C (operator!=): new function, needed by the
7854 ControlGraphics class.
7856 2001-03-28 Juergen Vigna <jug@sad.it>
7858 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7859 (checkAndActivateInset): don't use the values returned from
7860 call to bv->checkInsetHit.
7862 * insetminipage.C (Clone): set special minipage values.
7864 * insetcollapsable.C (draw): changed to draw the button in the
7865 upper left corner outside the textinset.
7866 (ascent): changed because of different drawing
7870 (InsetButtonPress): ditto
7871 (InsetButtonRelease): ditto
7872 (InsetMotionNotify): ditto
7874 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7876 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7880 2001-03-26 Juergen Vigna <jug@sad.it>
7882 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7884 * insettext.C (ShowInsetDialog): implemented above function.
7886 * insettabular.C (ShowInsetDialog): ditto
7888 * insetminipage.C (ShowInsetDialog): ditto
7890 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7892 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7893 InsetInclude::Params. Don't store a buffer * in Params. Store the
7894 master file name instead.
7896 2001-03-23 Juergen Vigna <jug@sad.it>
7898 * insetcollapsable.C (InsetMotionNotify):
7899 (InsetButtonRelease):
7900 (InsetButtonPress): fixed y-offset (minipages).
7902 * insettext.C (draw): force a FULL update if cleared == true.
7904 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7905 routine to draw the minipages on its position-flag.
7906 (InsetInInsetY): give back the right y position, because of minipage
7909 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7912 * insetfloat.C (DocBook): docbook export code.
7914 2001-03-22 Juergen Vigna <jug@sad.it>
7916 * insetminipage.C (getMaxWidth): added function to set the drawing
7918 (Read): should work now!
7920 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7921 if we create a new inset.
7923 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7925 * figinset.C (fl_set_preemptive_callback): moved definition outside
7928 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7930 * insetminipage.C (Read): prepare for reading of minipage arguments.
7932 2001-03-18 Baruch Even <baruch@lyx.org>
7934 * insetgraphics.C: Minor cleanups of the comments and code.
7936 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7938 * insetminipage.C (InsetMinipage): default to not collapsed
7940 2001-03-16 Juergen Vigna <jug@sad.it>
7942 * insetminipage.C (width): modified with to be a string
7943 (widthp): added widthp (for % width) support functions.
7944 (InsetButtonRelease): added to open the options dialog on button==3.
7945 (~InsetMinipage): added to hide the dialog.
7947 * insetminipage.h: added hideDialog signal
7949 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7951 * insetminipage.h: change the order or Position to match
7952 LyXParagraph::MINIPAGE_ALIGNMENT
7954 * several files: remvoe CXX_WORKING_NAMESPACES
7956 * ExternalTemplate.h: noncopyable is in namespace boost
7957 * insetinclude.h: ditto
7958 * insetcommand.h: ditto
7960 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7962 * insettext.C (Edit): #else# -> #else.
7963 * insettoc.C: added using directive.
7965 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7967 * insetminipage.h: add pos, inner_pos, width and height. + getters
7968 and setters for all of them.
7970 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7972 * insetinclude.C (Latex): Do not exit when the textclass of the
7973 included file differ from the textclass of the parent file.
7975 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7977 * ExternalTemplate.C (read): the reading of external insets now checks
7978 for \end_inset and removes it form the input stream.
7980 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7982 * ExternalTemplate.h:
7983 * ExternalTemplate.C:
7985 * insetexternal.C: move form to GUII
7987 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7990 * insetinclude.C: add InsetIncludeParams, use
7991 composition rather than derivation of InsetCommand
7993 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7995 * insettoc.C (Ascii): use the Buffer typedefs
7997 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7999 * insettoc.C (Ascii): implement for dynamic number of lists
8001 * insetcaption.[Ch]: update from new_insets branch
8002 * insetfloat.[Ch]: ditto
8004 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8007 * figinset.C: use new File Dialog
8009 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8011 * insettext.C: changes becuase of ParagraphParameters.
8013 2001-02-28 Baruch Even <baruch@ev-en.org>
8015 * insetgraphics.C (updateInset): Changed due to the change in
8018 2001-02-26 Juergen Vigna <jug@sad.it>
8020 * insettext.C (SetFont): Set Undo only if we have selection (as it is
8021 handled in LyXText).
8023 2001-02-23 Juergen Vigna <jug@sad.it>
8025 * insettext.C (draw): some small repainting fixes.
8026 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
8028 * inset.C (LocalDispatch): changed action to be a kb_action (as it
8029 should be) and not an int.
8031 * insettabular.C (LocalDispatch): ditto
8033 * insettext.C (LocalDispatch): ditto
8035 * insetcollapsable.C (LocalDispatch): ditto
8037 2001-02-22 Juergen Vigna <jug@sad.it>
8039 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
8040 DISPATCH it and we don't have a locking_inset.
8042 2001-02-21 Baruch Even <baruch@ev-en.org>
8044 * insetgraphics.[Ch]: Changed to use
8045 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8047 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8049 * insetcollapsable.C (getLyXText): add const qualifier to second
8052 2001-02-22 Juergen Vigna <jug@sad.it>
8054 * insettext.C (getLyXText): honor the recursive parameter.
8055 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8057 * inset.C (getLyXText): added bool recursive parameter.
8059 * insettext.C (SetUpdateStatus): or the update codes.
8060 (draw): check need_update with &.
8061 (InsetButtonPress): set no_selection to not put a selection when
8062 entering an inset and it is redraws in another spot.
8064 * insettext.h: made need_update an int.
8066 2001-02-20 Baruch Even <baruch@ev-en.org>
8069 * insetgraphisc.C: Changed to use better semantics when loading images
8070 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8072 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8076 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8077 consistent with InsetTabular.
8079 2001-02-19 Juergen Vigna <jug@sad.it>
8081 * insettabular.C (LocalDispatch): implement PAGE up/down.
8083 * insettext.C (draw): clear all of it on need_update==INIT too!
8085 * insettabular.C (InsetUnlock): always clear the selection.
8087 * inset.C (scroll): normally we only want to scroll the inset until
8088 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8090 2001-02-14 Juergen Vigna <jug@sad.it>
8092 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8093 (resetPos): fixed scroll behaviour.
8094 (LocalDispatch): do an update if moving cursor inside a table cell
8095 requests a scroll of the tabular.
8097 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8099 * insettext.C (textWidth): constify local var
8101 * insettabular.C: small cleanup.
8103 * insetfoot.C (Latex): constify local var
8105 * insetcollapsable.C: small cleanup.
8107 * figinset.C (runqueue): use compare instead of strcmp
8109 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8112 * insetinfo.C: remove cruft
8114 2001-02-14 Juergen Vigna <jug@sad.it>
8116 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8118 2001-02-13 Juergen Vigna <jug@sad.it>
8120 * insettext.C (InsertInset): don't move left (is this right?)
8122 * insettabular.C (LocalDispatch): use of the no_draw variable
8124 * insettabular.h: new no_draw variable to stop redraw
8126 * insettabular.C (TabularFeatures): fixed update for alignment change
8128 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8132 * insetbib.C: move dialogs to frontends/
8134 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8136 * insettext.C (LocalDispatch): Restore the language if the inset
8139 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8141 * insettext.C (moveRightIntern): Update the selection cursor.
8142 (moveLeftIntern): Ditto.
8144 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * Makefile.am: remove BoundingBox.h
8148 * BoundingBox.h: removed
8150 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8152 * insettext.C (LocalDispatch): Update selection cursor when moving
8153 cursor to the right.
8154 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8155 (moveLeftIntern): Ditto.
8157 2001-02-05 Baruch Even <baruch.even@writeme.com>
8159 * insetgraphics.C: Updated automatic image conversion, it now goes into
8160 temporary directory instead of with the image itself.
8162 2001-01-21 Baruch Even <baruch@ev-en.org>
8164 * insetgraphics.C: Added Docbook support. Added Automatic image
8165 conversion to EPS or PNG when needed (support bitmap graphics).
8167 2000-11-02 Baruch Even <baruch@ev-en.org>
8170 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8171 to '\n' and removal of commented out code.
8173 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8175 * insetbib.C (callback): Update citations if the key has changed.
8177 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8179 * insetbib.C (InsetBibKey): Better computation of default key.
8180 (getScreenLabel) Show both the key and the label.
8181 (getBibLabel): New method.
8182 (callback): Force a redraw if the inset have been changed.
8184 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8186 * insetref.C (getType, getName): Move methods from
8187 src/frontends/xforms/FormRef.C.
8189 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8191 * insettabular.C: Various improvements (use only one dummy position).
8193 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8195 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8196 par->bibkey->width. This fixes the crashes when running without
8197 gui or when having included documents.
8199 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8201 * insetcommand.C (getAsString, setFromString): Cleanup.
8203 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8205 * insetref.C: Add the array InsetRef::types that contains
8206 information about all supported reference types.
8208 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8210 * lyxinset.h: remove trailing comma in enum.
8212 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8214 * insettext.C: kill LyXBell.