1 2006-01-01 <larsbj@gullik.net>
3 * insetcharstyle.h: fix syntax error
5 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
7 * insetcollapsable.C (metrics): reverse patch of 2005-12-16 because
8 of better fix in text3.C.
10 2005-12-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * insetbase.h (noFontChange): refine documentation
14 2005-12-16 Martin Vermeer <martin.vermeer@hut.fi>
16 * insetcollapsable.C (metrics): fix "turds" when changing openinlined_
18 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
20 * insetbox.[Ch]: fix bugs 2136, 2123
22 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
24 * insetbox.C (metrics): fix width problems (bug 2137)
26 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
28 * insettabular.C (tabularFeatures): Move some code to
29 setColumnPWidth and setMColumnPWidth
31 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * insetcharstyle.[Ch]:
36 * insetlatexaccent.[Ch]:
40 * insetspecialchar.[Ch]:
41 * inseturl.[Ch]: new method textString (fix bug 2089)
43 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
47 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
52 change argument of forceDefaultParagraphs from inset to cell.
54 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
56 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * insetbase.h: document the EDITABLE enum.
60 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
62 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
65 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
67 * insetbranch.C: partial fix bug 2092: branches not
68 propagated to child docs
69 * insetcharstyle.C: Also replace LColor::red by LColor::error
71 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * insetbranch.C (isBranchSelected): take a buffer as argument.
74 adapt to work with child documents (bug 2092).
76 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * insettabular.C (doDispatch): get rid of annoying debug message.
80 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
81 code from InsetCollapsable.
83 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
84 inset is toggled to Closed, move cursor to the right (part of bug
87 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
89 * insettext.C: remove obsolete old_pit
91 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * insettabular.C (doDispatch): do not override the result of
94 LFUN_RIGHT/LEFT. (bug 2101)
96 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
98 * insetvspace.C (metrics): compute ascent and descent in a way that
99 the cursor is placed on the same level as the label text
101 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
103 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
104 of autoopen, which means that collapsables automatically open
105 whenever the cursor enters (and close again on leave) (fixes bug 1921).
107 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
110 and '\space' to '\space{}' (consistency).
112 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * insettabular.C (tabularFeatures): validate cursor after
115 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
117 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
119 * insettabular.C: fixes bug 1765: multicol cell width on screen not
122 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
124 * insettabular.C: use recordUndoInset instead of recordUndo
125 (fixes bug 1937 and 1986).
127 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * insetvspace.C (metrics): include label text
130 * insetvspace.[Ch] (label): new, needed for the above
132 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * insetbase.[Ch]: new bool neverIndent() which indicates if
135 an inset does not want paragraph indentation at all.
138 * insetoptarg.h: return true for neverIndent()
139 * insettext.[Ch]: return true for neverIndent() in case
140 of tabular cells (based on a crude guess).
142 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * insetline.C: Add forgotten include
146 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * insetline.C (latex): write the size argument of \lyxline again
149 * insetquotes.C (latex): adapt to OutputParams changes
151 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
154 when switching to pwidth cell (bugs 1296, 1840).
156 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * insettabular.C (draw): pass PainterInfro::erased_ to
160 (drawCellLines): add an erased bool and handle it.
162 2005-08-03 John Levon <levon@movementarian.org>
164 * insettext.C (clear): remove bool argument.
165 (read): adapt to clear() changes.
167 * insettabular.C (cutSelection): adapt to MarkErased changes.
169 * insettext.C (markErased):
170 * insettabular.C (markErased):
171 * insetbase.C (markErased): add bool argument.
173 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
176 after copying several cells (works around bug 1919).
178 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
180 * insetcharstyle.C (metrics,draw): consider inset label for
181 width computation; fix drawing of labels of undefined char styles
183 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
185 * insettabular.C (getStatus): fix Helge's bug that a number of insets
186 including ERT could not be inserted in tabular.
188 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * insetinclude.C (string2params): fix typo in error message (bug 1963).
192 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * insettabular.C (getStatus): disable line and paragraph breaks
195 in non-fixed-width cells (bug 1938).
197 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * insetwrap.C: Do not use translatable strings as internal identifier
203 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
205 * insetbase.C: include boost/current_function.hpp
207 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
209 * insetbase.C (edit,editXY,index): supress some lyxerr messages
211 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
215 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
217 * insetlabel.C (changeRefsIfUnique): remove unused code
219 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
222 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
223 reverse the logic. Make sure to set updateButtonLabel_ to true in all
224 places where params is set (directly or indirectly).
226 2005-07-15 André Pönitz <poenitz@gmx.net>
228 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
230 2005-07-15 André Pönitz <poenitz@gmx.net>
234 * insetcollapsable.[Ch]:
236 * updatableinset.[Ch]: remove UpdatableInset
238 2005-07-15 José Matos <jamatos@lyx.org>
240 * insettext.C (plaintext): fix call to asciiParagraph.
242 2005-07-15 André Pönitz <poenitz@gmx.net>
244 * insetcollapsable.[Ch]:
245 * updatableinset.[Ch] (scroll, setScroll): sanitize things
247 2005-07-14 Angus Leeming <leeming@lyx.org>
249 * insetbibtex.C (latex): when processing the LaTeX file in
250 a temp directory, copy the BibTeX databases there, mangling their
251 names in the process. Do this so that BibTeX can process the database
252 because it *really*, *really* can't handle "files with spaces".
254 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
256 * insettext.C (doDispatch): reduce some debug blabbering
258 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
260 * ExternalSupport.C (subst_path): adjust to latex_path changes and
261 replace dots if appropriate
262 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
263 * insetexternal.C (validate): require lyxdot
265 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * ExternalSupport.C (subst_path): new argument exclude_extension
268 * ExternalSupport.C (doSubstitution): exclude the extension when
270 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
271 the extension when quoting the file name
273 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * insetquotes.C (latex): always use \og/\fg for the french
276 languages; test against the language code instead of the babel
279 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * insettabular.C (tabularFeatures): adjust cursor after adding a column
283 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
285 * insetbranch.C (setButtonLabel): Make label prefix translatable.
287 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * insettabular.[Ch] (dist): make it a real member of insettabular
290 and rewrite it to use the actuall cell dimensions for calculation,
291 not the insettext's deimensions (fixes bug 1801).
293 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * insetbibtex.C: (addDatabase): do not check for substrings but
296 but for whole tokens.
297 (delDatabase): make it actually work.
299 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
301 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
303 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * insetgraphics.C (prepareFile): don't strip the extension of quoted
307 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
309 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
311 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
312 when multiple cells are selected (bug 1837).
314 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * insetoptarg.C (InsetOptArg): make the inset open by default
319 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * insetvspace.C (draw): use VSpace::asGUIName.
323 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
326 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
327 cur.noUpdate() if nothing changed
328 * insetlatexaccent.[Ch]: spelling fixes
330 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
332 * insetcollapsable.C (doDispatch): fix
333 click-on-closed-collapsable-inset-crash bug.
335 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
337 * insettabular.C (pasteSelection):
338 * insettext.h (copy c'tor): fix paste inside tabulars.
340 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * insetoptarg.C (plaintext): add dummy method.
344 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * insetbase.h (doDispatch): document a bit more
347 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
348 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
349 cur.bv().update(), because that leads to nested updates. Call
350 cur.noUpdate() instead where approriate.
352 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
354 * insetbibtex.C: change screen label
356 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
358 2005-05-06 José Matos <jamatos@lyx.org>
360 * insetcommandparams.C (scanCommand): fix out of range string access.
362 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
364 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
366 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
367 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
370 handle undefined character styles
371 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
372 handle undefined character styles
374 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
377 in getStatus and the tabularFeature string (bug 1860).
379 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
381 * insetbranch.C (getStatus): make the code more compact
383 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * insetcollapsable.C (doDispatch): do not pass through double/triple
386 click events when they are not in the insetext (bug 1797).
388 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
390 * insetbase.h: document a bit more
391 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
392 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
393 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
394 (getStatus): implement
395 * insetcollapsable.[Ch] (hitButton): take a const argument
396 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
399 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * insetcollapsable.C (doDispatch): pass through double/triple
402 click events (bug 1811).
404 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
408 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
409 but the SENSITIVE label type.
411 2005-04-18 Angus Leeming <leeming@lyx.org>
413 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
414 'use_latex_path' argument. In turn, passed to the new subst_path
415 function when replacing placeholders with paths.
417 * insetexternal.C (getScreenLabel):
418 * ExternalSupport.C (lots of places): change invocation of
419 doSubstitution in lots of places, specifying the appropriate values
420 for this 'use_latex_path' boolean.
422 * insetbib.C (latex):
423 * insetgraphics.C (latex):
424 * insetinclude.C (latex): pass path to latex_path rather than to
427 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
429 * insetcharstyle.C (validate): allow nested charstyle insets
431 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
435 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * insetfloat.C (InsetFloat):
438 * insetwrap.C (InsetWrap): do not set layout here.
440 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
442 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
444 * insetbase.h (getStatus): add more documentation
445 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
448 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
450 * insetcharstyle.C (metrics, draw):
451 * insetert.C (metrics, draw):
452 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
455 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
457 * insetexternal.C (validate):
458 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
459 multiple Requirements in external material template
461 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
463 * insettext.C (drawFrame): cosmetic fix
465 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
467 * ExternalSupport.C (writeExternal):
468 * insetgraphics.C (latex):
469 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
470 mis-count in computing latex error location
472 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
474 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
475 make it *not* descend into insets (fix a crash). Move the part
476 needed from editXY to a new function getNearestCell
478 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * insetinclude.C (InsetInclude): when constructing from another
481 InsetInclude, set set_label_ to false, since the value is never
484 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
488 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
490 * insettabular.C (drawSelection): cosmetic bugfix
492 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * insettabular.C (doDispatch): get middle mouse button back again
495 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
496 when only a part of the cell is selected (fix bug 1799)
498 * insettabular.C: handle some more character attributes in
499 M. Vermeers method (when multiple cells in tables are selected);
500 disable some more senseless lfuns when multiple cells are selected
502 Move to end of cell instead of beginning when coming from the cell
505 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
507 * insettabular.C: make applying character attributes
508 possible for multiple cells in tables. Disable collapsable
509 insets for multiple-cell selection in table (Jürgen S.)
510 Bug reported by Helge Hafting.
512 2005-02-25 Andreas Vox <avox@arcor.de>
514 * insetmarginal.[hC] (docbook): new method, render as <note>
516 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
518 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
520 * insetcaption.[Ch] (doClone): implement
522 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * insetgraphics.C (prepareFile): handle non-existing files
525 * insetgraphics.C (latex): remove special handling of non-existing
528 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
530 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
531 * insettext.C: adjust metrics
533 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * insettext.C: include boost/current_function.hpp (needed when
536 assertions are disabled)
538 2005-02-20 André Pönitz <poenitz@gmx.net>
540 * insetcollapsable.C: Prevent problems on double-/
541 tripleclick on collapsable label (bug 1797).
543 2005-02-13 André Pönitz <poenitz@gmx.net>
545 * insettext.[Ch] (border_): new
546 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
549 2005-02-14 Angus Leeming <leeming@lyx.org>
551 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
552 about "truncation of constant value".
554 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
556 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
557 workaround for broken HTML converter)
559 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
561 * insetcollapsable.C (leaveInset): size() -> depth()
562 * insettabular.C (isRightToLeft): ditto
564 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
566 * insetert.C (latex, linuxdoc, docbook): remove newline handling
567 * insetert.C (doDispatch): clean pasted paragraphs
568 * insetert.C (getStatus): suppress more lfuns
569 * insetert.C (insetAllowed): return always false
571 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
576 * updatableinset.C: Use new cursor accessors.
578 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
582 2005-01-31 Angus Leeming <leeming@lyx.org>
584 * insetgraphicsParams.C: protect a #warning preprocessor call
585 with a #ifdef WITH_WARNINGS guard.
587 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * Several files: use convert<> instead of atoi,strToXXX and friends
591 2005-01-23 Angus Leeming <leeming@lyx.org>
593 * insetbibitem.h (bibitemWidest): declare the function.
595 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * insetgraphics.C (prepareFile): move the invocation of the default
598 converter to ../converter.C
599 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
600 call convert with try_default == true
602 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
604 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
605 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
606 determines what variables are substituted
607 * ExternalSupport.C (updateExternal): fix substitution of
610 2005-01-10 Angus Leeming <leeming@lyx.org>
612 * ExternalTemplate.C: use support/package.h to provide the paths to the
613 various directories used by LyX.
615 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
623 * ExternalTransforms.C (adjAngle): tostr -> convert
625 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
627 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
630 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * ExternalTransforms.C: fix LaTeX output of \scalebox.
634 * ExternalTransforms.[Ch]:
635 * insetexternal.C: store all float/double values as strings.
638 * insetgraphicsParams.C: more precise checks for the value strings.
640 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * insettext.C (doDispatch): remove unused variable was_empty
644 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
647 * insetgraphicsParams.[Ch]: store all float/double values as strings.
649 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
651 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
653 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
655 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
656 UNSET_ALL_LINES (from Jürgen)
658 2004-12-14 Angus Leeming <leeming@lyx.org>
660 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
661 to overcome bug in the MinGW port of g++ 3.4.2.
663 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
665 * insettabular.C (getCellXPos): make it return a relative x
666 position wrt. the begin of the tabular
667 (resetPos): a couple of fixes
668 (doDispatch): add a couple of resetPos calls
669 (drawSelection): fix drawing of selection in single-cell mode
670 (draw): replace 'do not draw' optimization by 'draw with
673 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * insetbase.[Ch] (idxUpDown2): remove function
677 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
679 * insettabular.[Ch]: use size_t-like types for cell, row and column
682 2004-12-02 José Matos <jamatos@lyx.org>
684 * insetlatexaccent.C (checkContents): remove compatibility code,
687 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
689 * insetbase.h (getStatus): add better comment from src/cursor.C
691 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
693 * insettabular.[Ch]: adjust, introduce "do not draw
694 offscreen" optimization using NullPainter, (dist): introduce,
695 (getCursorPos): implement, (drawSelection): implement
697 * insetcollapsable.[Ch]: adjust
699 * insettext.C: adjust, (metrics): set the font before calling
702 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * rename a lot of InsetOld to InsetBase
706 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
709 * insettext.C: par->pit renaming
711 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * Most insets: rename priv_dispatch to doDispatch
715 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
717 * insettabular.C (tabularFeatures): fix multicolumn handling
719 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * render_base.h (operator=): use common semantics
723 * insettext.C (operator=): delete this
724 (copy constructor): implement this properly
725 (init): use for_each and bind
727 (appendParagraphs): ditto
729 * insettabular.C: add more const. Adjust for changes in tabular.
731 * insetbase.h: Use NVI on clone. Add virtual doClone and update
732 all children, also make copy constructor protected. Added some
733 safe-guards to clone.
735 * insets: adjust to fit.
737 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * insetoptarg.C (latexOptional): return number of lines instead of
742 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * insettabular.[Ch] (string2params): Don't pretend to return the
745 active cell anymore and simplify keyword parsing.
747 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
749 * insetlatexaccent.h (isLetter): implement, so that word selection
750 takes accents into account.
752 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
754 * insetcollapsable.C (priv_dispatch): do not push the inset to the
757 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
759 * ExternalSupport.C, insetgraphics.C:
760 s/getFormatFromContents/formats.getFormatFromFile/
762 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * insetcharstyle.[Ch]:
765 * insetert.[Ch]: implement getStatus
767 * insetcharstyle.C (draw): visual clue when the cursor is inside
770 2004-11-02 José Matos <jamatos@lyx.org>
772 * insetcharstyle.C (docbook):
773 * insetlabel.C (linuxdoc, docbook):
774 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
777 * insettabular.C (docbook): mixed content no longer belongs to
780 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
782 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
784 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * ExternalSupport.C (updateExternal): convert files in the temp dir
788 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
790 * insetcharstyle.C: drawing cosmetics.
792 2004-10-30 José Matos <jamatos@lyx.org>
794 * insetcharstyle.C (docbook): a compromisse solution. Don't output
795 paragraph tags inside inline elements.
797 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
799 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
800 InsetText methods rather than outputVerbatim (escapes special
801 characters) [bug 1731]
802 * insetcharstyle.C (outputVerbatim): remove this function.
803 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
804 which caused an infinite loop.
806 2004-10-29 José Matos <jamatos@lyx.org>
808 * insetgraphics.C (uniqueID): transfered to sgml.C
810 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
812 * insetlabel.C (docbook, linuxdoc):
813 * insetref.C (docbook, linuxdoc): sanitize id.
815 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
817 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
818 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
819 * insetgraphics.C (findTargetFormat): reformat
821 2004-10-28 José Matos <jamatos@lyx.org>
823 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
825 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
829 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
831 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
832 "[,,,]" without warning message
834 2004-10-26 Angus Leeming <leeming@lyx.org>
836 * ExternalSupport.C (updateExternal):
837 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
838 external files to the temp directory.
840 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
842 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
843 layouts. This fixes problems with the memoir class (which does not
844 allow \footnote) [bug 1677]
846 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
848 * insetindex.C (docbook): escape the index, to generate correct sgml.
850 2004-10-23 José Matos <jamatos@lyx.org>
852 * insettext.C (docbook): rearrange arguments, due to change in the
855 2004-10-23 André Pönitz <poenitz@gmx.net>
857 * insettabular.C (cutSelection, tabularFereatures):
858 fix cursor position after cutting selection or table rows
860 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
862 * insetgraphics.C (docbook, writeImageObject): write more than one
863 format of imageobjects in <mediaobject>.
865 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
867 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
868 DocBook output for this inset ( <citation>content</citation> )
870 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
872 * insetgraphics.C (docbook) : using mediaobject for XML;
873 correcting bug with SGML output (now '>' instead of '/>')
875 2004-10-05 José Matos <jamatos@lyx.org>
877 * insetfloatlist.C (read):
878 * insetquotes.C (read):
879 * insetspace.C (read):
880 * insetspecialchar.C (read):
881 * insettabular.C (read): replace nextToken by more appropriate lex
884 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
886 * insetgraphics.C (createDocBookAttribute, docbook) :
887 convert scale, width, height and keepaspectratio to Docbook standards)
889 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
890 to Docbook units where possible.
892 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
894 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
896 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
897 as attributes with new method for docbook.
899 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
901 * render_preview.h: Use preferred calling of Boost.Signal
903 * pch.h: use proper signal include
905 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * ExternalTransforms.h: User preferred calling of Boost.Function
909 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
911 * insetref.C (docbook): fixing problem where Docbook XML output
912 had unclosed <xref ... >
914 2004-08-16 José Matos <jamatos@lyx.org>
916 * insethfill.C (write):
917 * insetline.C (write):
918 * insetnewline.C (write):
919 * insetpagebreak.C (write): remove space at end of line.
921 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * insettabular.C (plaintext): do not use ownerPar to get the
926 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
927 and it calls getParentLanguage (which calls ownerPar)
928 (edit): do not call sanitizeEmptyText
929 (priv_dispatch): remove code resetting font on empty inset, for
930 the same reasons as above.
932 * insettabular.C (isRightToLeft): instead of using
933 BufferView::getParentLanguage, use the data from the cursor
935 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
939 * Makefile.am: support pch
941 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
943 * insettabular.C (draw): whitespace
945 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
947 2004-08-14 André Pönitz <poenitz@gmx.net>
949 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
951 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * insettabular.C (metrics): when the width of a cell is zero(),
954 let it use as much space as it can
956 * insettext.C (editXY): compilation fix
958 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
960 (metrics): the insets is not full width any more.
961 (draw): adjust; fix bad test for PREVIEW_OFF
962 (add_preview): fix bad test for PREVIEW_OFF
963 (display): do not return true when using \input
965 2004-08-14 José Matos <jamatos@lyx.org>
967 * insetbibitem.[Ch] (plaintext): added.
969 * insetcite.[Ch]: fix plaintext export.
971 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
973 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
976 * insetcaption.C (InsetCaption): modify call to setDrawFrame
977 * insetcollapsable.C (InsetCollapsable): ditto
978 * insetenv.C (InsetEnvironment): ditto
980 2004-08-14 André Pönitz <poenitz@gmx.net>
983 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
985 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * insetoptarg.C (latexOptional): if the optional argument contains
988 a ']' enclose it in {curly brackets}
990 * insettext.C (editXY):
991 * insettabular.C (editXY):
992 * insetcollapsable.C (editXY):
993 * insetbase.C (editXY): constify
995 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
996 not ask for an update if we did nothing; on a mouse release, make
997 sure that the cursor is moved to the right position; on a mouse
998 release, exit from the inset instead of invoking a
1001 * insetbase.C (dispatch): before invoking dispatch, set cursor
1002 result to dispatch=update=true.
1004 2004-08-13 José Matos <jamatos@lyx.org>
1006 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
1008 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * insetfoot.C (latex): use OutputParams::intitle instead of
1011 parOwner() (avoids time consuming lookup)
1013 * insetquotes.C (latex): same as above with OutputParams::lang.
1014 Moreover the code actually works now.
1016 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1019 * insetinclude.C, insetgraphics.C, insetfloat.C:
1020 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1021 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1022 "support/std_sstream.h" to <sstream>
1024 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1027 It made the following fail for a .eps graphics file:
1029 2) view->pdf (pdflatex)
1030 because the .eps file was already in the temp dir when the pdflatex
1031 export happened and therefore no .eps -> pdf conversion was done.
1033 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1035 * insetgraphics.C, insettabular.C: s/wether/whether/g
1037 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * insetgraphics.C (stripExtension): new
1040 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1041 the caller does this
1042 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1043 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1045 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * insetfloatlist.C (latex,getScreenLabel): translate according to
1048 the document language (bug #1312)
1050 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1052 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1053 with external_in_tmpdir and compute filename ourself
1054 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1055 use it to store referenced file(s)
1056 * ExternalSupport.C (writeExternal): write relative filename if
1058 * ExternalTemplate.[Ch]: add ReferencedFile command
1059 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1060 runparams.exportdata
1061 * insetgraphics.C (prepareFile): write relative filename if
1063 * insetinclude.C (latex, docbook, linuxdoc): add file to
1064 runparams.exportdata and write it to the temp dir instead of
1065 writing it to the final destination
1066 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1068 2004-05-19 Angus Leeming <leeming@lyx.org>
1070 * insetcite.[Ch]: small change because namespace biblio is
1071 now namespace lyx::biblio.
1073 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1075 * insettabular.[Ch] (buffer): make Buffer * argument const
1077 2004-05-17 Angus Leeming <leeming@lyx.org>
1079 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1080 to force the button label to be re-generated.
1082 2004-05-14 José Matos <jamatos@lyx.org>
1084 * insetlabel (docbook): do not ouput label, for the moment.
1086 2004-05-14 Angus Leeming <leeming@lyx.org>
1088 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1089 new biblio::asValidLatexString function.
1091 2004-05-12 Angus Leeming <leeming@lyx.org>
1093 * insetcite.C: use BufferParams::cite_engine rather than the three
1094 bools, use_natbib, use_jurabib, use_numerical_citations.
1096 2004-05-10 Angus Leeming <leeming@lyx.org>
1098 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1099 Ditto with getStyle, moved to biblio::getEngine.
1101 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1103 * insetgraphics.C (validate): remove pre 233 file format stuff,
1104 handle zipped files for "nice" export
1106 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1108 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1109 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1110 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1111 changed since the last run
1112 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1113 and copyFileIfNeeded.
1115 2004-04-29 Angus Leeming <leeming@lyx.org>
1117 * ExternalTemplate.[Ch]: remove redundant #includes.
1119 2004-04-28 Angus Leeming <leeming@lyx.org>
1122 s/updateToolbar()/updateToolbars()/
1124 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * insetgraphics.C: require file extension (file format change!)
1127 * insetgraphics.C (latex): handle zipped files for "nice" export
1129 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1131 * insetgraphics.C (latex): strip the extension and replace dots in
1132 the filename if doing a "nice" export. This is a partial fix for
1133 bug 1231 without reintroducing bug 655.
1135 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * insetoptarg.h: remove the editable() method (InsetCollapsable
1138 does it better already)
1140 * insetbibtex.C (normalize_name): new helper function. Changes the
1141 name to be suitable to use in a latex file (relative to master
1142 buffer if necessary).
1143 (latex): use normalize_name.
1145 2004-04-20 Angus Leeming <leeming@lyx.org>
1147 * render_preview.C (startLoading): remove lyxerr statement.
1149 (getPreviewLoader): new helper function.
1151 2004-04-19 Angus Leeming <leeming@lyx.org>
1155 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1157 2004-04-19 Angus Leeming <leeming@lyx.org>
1159 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1161 (add_preview): renamed as add_preview_and_start_loading. Invoke
1162 RenderPreview::startLoading.
1164 * insetinclude.C (metrics, draw): changes due to the changed
1165 RenderPreview interface.
1167 * render_preview.C: remove cached pimage_.
1168 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1169 (draw): don't call startLoading. That's up to the user of
1172 2004-04-16 Angus Leeming <leeming@lyx.org>
1174 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1176 2004-04-13 Angus Leeming <leeming@lyx.org>
1178 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1179 the renderer to inform LyX::updateInset that the inset's status
1180 has changed and it should be redrawn.
1182 * render_button.[Ch] (clone):
1183 * render_graphic.[Ch] (c-tors, clone):
1184 * render_preview.[Ch] (c-tors, clone): ditto.
1186 * render_graphic.[Ch] (connect):
1187 * render_preview.[Ch] (connect): removed, as connection is now
1188 made in the constructors.
1192 * insetinclude.C: ensuing simplification of the client code.
1193 (statusChanged): now superfluous. Removed.
1195 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1197 * ExternalTemplate.[Ch]: remove editCommand
1198 * ExternalSupport.C (editExternal): use formats.edit() instead of
1199 the removed editCommand template parameter
1200 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1201 * insetgraphics.[Ch] (editGraphics): new method
1203 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * insetinclude.C (validate): set/reset features.buffer_ when
1206 validating the child
1208 2004-04-07 Angus Leeming <leeming@lyx.org>
1210 * insetexternal.C (priv_dispatch):
1211 * insetinclude.C (priv_dispatch): prevent crash by invoking
1212 InsetOld::priv_dispatch at the end of the switch, rather than
1213 InsetOld::dispatch...
1215 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1217 * insetcollapsable.C:
1218 * insetbranch.C: 'assign' to open/close branch inset according to
1219 selection; also print content on closed branch button
1221 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1223 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1224 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1225 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1227 * ExternalSupport.C (updateExternal): use absolute and output
1228 filename where appropriate
1230 2004-04-05 André Pönitz <poenitz@gmx.net>
1232 * insetbase.h: use LCursor & in notifyCursorLeave
1234 2004-04-05 Angus Leeming <leeming@lyx.org>
1236 * insetgraphics.C: remove unused header file "lyxrc.h".
1238 * render_graphic.C: squash bug 1372: Misleading graphics label when
1239 deactivating lyx view.
1241 2004-04-05 Angus Leeming <leeming@lyx.org>
1246 * insetlatexaccent.C:
1251 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1253 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * insetfloat.C (read): fix yesterday's float fix.
1256 * insetwrap.C (read): apply the fixed float fix.
1258 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1260 * insetfloat.C (read): fix reading of float params
1263 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1265 * insettext.C (edit): comment the call to updateLocal (dangling now)
1266 * insettext.h: add allowSpellCheck() returning true
1268 2004-03-31 Angus Leeming <leeming@lyx.org>
1270 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1272 2004-03-31 Angus Leeming <leeming@lyx.org>
1274 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1275 the cursor out of an inset.
1277 * insetbranch.C (priv_dispatch):
1278 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1279 use getOutOfInset to push the cursor out of the inset when
1282 2004-03-30 Angus Leeming <leeming@lyx.org>
1284 * insetbase.[Ch] (translate): new static member function, returns
1285 an InsetBase::Code corresponding to the input string.
1287 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1289 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1290 so that it opens the inset if it refers to the currently active
1293 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1295 * insetfloat.C (addToToc): use par_const_iterator_begin and
1296 par_const_iterator_end.
1298 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1300 * insetbibtex.[Ch]: bibtopic support.
1302 * insetfloat.[Ch]: add param \sideways {true|false}
1303 (support for sideways floats from rotating.sty).
1305 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1307 * insettext.[Ch]: add a default ctor. implement const version of
1313 * insetwrap.C: adjust
1315 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1317 * insettext.h: add insetAllowed returning true by default (fixing
1318 vanishing insets problem)
1320 * insettext.C (draw): handle the responsability of adding the
1321 ouside offset to collapsable. Clean code a bit.
1323 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1324 from insettext correctly, solve a couple of off-by-one drawing
1327 2004-03-25 Angus Leeming <leeming@lyx.org>
1329 * insetcaption.C (draw): squash warning about unused variable.
1331 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1333 * ExternalSupport.C: use the master buffer's temp dir
1334 * insetgraphics.C (latex): make relative filename relative to the
1336 * insetgraphics.C: use the master buffer's temp dir
1337 * insetinclude.C (masterFilename): new function
1338 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1339 is always true if loadIfNeeded() returns true)
1341 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1343 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1344 set its parent to the current buffer.
1345 (latex): use the tmppath of the master buffer, not just the parent
1346 buffer (makes a difference with more than one level of include
1347 insets). If the file name is relative write in the .tex file a
1348 name relative to the master buffer directory.
1350 * insetinclude.C: rename masterFilename to parentFilename (this
1351 points to the direct parent)
1353 2004-03-25 André Pönitz <poenitz@gmx.net>
1355 * inset.[Ch]: remover owner
1357 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1365 * insetcharstyle.[Ch]:
1373 * insetwrap.C: adjust
1375 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1377 * insetquote.C: use opening quote after '[' char.
1379 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1381 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1384 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1386 * insetcite.[Ch]: support jurabib.
1388 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1390 * insetcite.C: Support second \cite option.
1392 * insetcommand.[Ch]:
1393 * insetcommandparams.[Ch]: add second optional argument.
1395 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1397 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1398 shows the inset dialog.
1400 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1402 * insetlabel.[Ch]: remove them
1403 * Makefile.am: adjust
1405 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1407 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1409 * insetinclude.C (latex): show a GUI warning if textclasses don't
1411 * insetinclude.C: use mangledFilename() for temp files
1412 * insetgraphics.C (readInsetGraphics): remove version check, since
1413 the graphics inset has no own fileformat number anymore
1415 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1417 * insetquotes.[Ch]: added new member that allows direct access
1418 to single/double quotation marks.
1419 * insetnewline.[Ch]:
1420 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1422 2004-02-16 André Pönitz <poenitz@gmx.net>
1425 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1426 implicitly assume 'DispatchResult(true, true) with exception of
1427 InsetBase::priv_dispatch which does the equivalent of
1428 'retrun DispatchResult(false)'
1430 * inset*.[Ch] (priv_dispatch): adjust
1432 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1433 simplify cursor moving function,
1434 re-enable horizontal scrolling for large tables
1436 2004-02-13 André Pönitz <poenitz@gmx.net>
1438 * insettabular.[Ch]: some work after IU
1440 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1442 * inset.C (setPosCache): switch to absolute coords in insets
1443 * insettext.[Ch] (draw, drawFrame): adjust
1444 * insetcollapsable.C (draw): adjust
1447 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1449 * insettext.C (edit):
1450 (updateLocal): use the cur argument instead of the global cursor
1451 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1453 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1455 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1457 * insetfloat.C (validate): "H" -> 'H' in call to contains
1459 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1461 2004-01-30 André Pönitz <poenitz@gmx.net>
1465 * insetcollapsable.[Ch]:
1468 * insetgraphics.[Ch]:
1470 * insettabular.[Ch]:
1473 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1476 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * insettabular.C: add using statement for std::vector, remove
1479 std:: where using was already used.
1481 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1483 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1485 * insetinclude.C (validate): use feautures.nice() instead of
1488 2004-01-20 André Pönitz <poenitz@gmx.net>
1491 * insetbase.[Ch]: move stuff from mathcursor here.
1493 * insetbibitem.[Ch]:
1497 * insetcharstyle.[Ch]:
1498 * insetcollapsable.[Ch]:
1499 * insetcommand.[Ch]:
1501 * insetexternal.[Ch]:
1503 * insetgraphics.[Ch]:
1504 * insetinclude.[Ch]:
1508 * insettabular.[Ch]:
1512 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1515 2004-01-15 André Pönitz <poenitz@gmx.net>
1518 * insetbibitem.[Ch]:
1522 * insetcharstyle.[Ch]:
1523 * insetcollapsable.[Ch]:
1524 * insetcommand.[Ch]:
1526 * insetexternal.[Ch]:
1528 * insetgraphics.[Ch]:
1529 * insetinclude.[Ch]:
1533 * insettabular.[Ch]:
1537 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1539 2004-01-08 André Pönitz <poenitz@gmx.net>
1541 * insetcollapsable.[Ch]:
1542 * insettabular.[Ch]:
1544 * updatableinset.h: use cell index info from global cursor.
1546 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1548 * insetnote.C (InsetNoteParams::write): write label only once
1550 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1554 get rid of the SameName functor
1556 * insettabular.C: improve the functor.
1558 2003-12-29 Angus Leeming <leeming@lyx.org>
1560 * insetexternal.C (setParams): update defaultTemplateName.
1562 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1564 * insetbox.C: Use term "Box" in button label
1566 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1568 * insetcharstyle.C: get getDrawFont working again
1570 2003-12-15 André Pönitz <poenitz@gmx.net>
1572 * insettabular.[Ch]:
1573 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1575 2003-12-12 Angus Leeming <leeming@lyx.org>
1577 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1579 (InsetBranchParams): remove the branchlist hack.
1580 (isBranchSelected): new function, used to decide whether to
1581 print each output format. Also used by InsetList.
1582 (read, string2params): repair my own breakage ;-)
1584 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1586 * insetminipage.[Ch]: remove from repository.
1588 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1591 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1592 insetert to insetcollapsable; introduce virtual function
1593 setButtonLabel and invoke it from collapsable
1595 2003-12-12 Angus Leeming <leeming@lyx.org>
1597 * insetinclude.C (draw): cache x,y and so enable the
1598 dialog to be opened.
1600 2003-12-12 Angus Leeming <leeming@lyx.org>
1602 * mailinset.C (print_mailer_error): tidy up the output.
1604 2003-12-11 Angus Leeming <leeming@lyx.org>
1606 * mailinset.[Ch] (print_mailer_error): new helper function.
1608 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1609 calling InsetCommandMailer.
1610 (InsetCommandMailer::string2params): pass the name of the dialog.
1612 * insetbibitem.[Ch] (d-tor):
1613 * insetbibtex.[Ch] (d-tor):
1614 * insetcite.[Ch] (d-tor):
1615 * insetfloatlist.[Ch] (d-tor):
1616 * insetindex.[Ch] (d-tor):
1617 * insetlabel.[Ch] (d-tor):
1618 * insetref.[Ch] (d-tor):
1619 * insettoc.[Ch] (d-tor):
1620 * inseturl.[Ch] (d-tor): removed.
1621 Hiding the dialog is handled by InsetCommand.
1623 * insetbibtex.[Ch] (draw, metrics):
1624 * insetfloatlist.[Ch] (draw, metrics):
1625 * insetindex.[Ch] (draw, metrics): removed.
1626 Drawing is handled by InsetCommand.
1628 * insetbibitem.[Ch] (priv_dispatch):
1629 * insetbibtex.[Ch] (priv_dispatch):
1630 * insetcite.[Ch] (priv_dispatch):
1631 * insetfloatlist.[Ch] (priv_dispatch):
1632 * insetindex.[Ch] (priv_dispatch):
1633 * insetlabel.[Ch] (priv_dispatch):
1634 * insettoc.[Ch] (priv_dispatch):
1635 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1636 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1637 LFUN_INSET_DIALOG_SHOW.
1639 * insetbox.C (string2params):
1640 * insetbranch.C (string2params):
1641 * insetert.C (string2params):
1642 * insetexternal.C (string2params):
1643 * insetfloat.C (string2params):
1644 * insetinclude.C (string2params):
1645 * insetminipage.C (string2params):
1646 * insetnote.C (string2params):
1647 * insetvspace.C (string2params):
1648 * insetwrap.C (string2params): over-hauled.
1650 2003-12-10 Angus Leeming <leeming@lyx.org>
1652 * insetexternal.[Ch]: add a draft option and respect it when
1655 2003-12-10 Angus Leeming <leeming@lyx.org>
1657 * insetbox.C: (read, write): now prepend the inset contents with
1658 'Box' to identify the inset as a box inset.
1660 * insetbox.h: move the translators out of sight.
1662 2003-12-10 Angus Leeming <leeming@lyx.org>
1664 * insetert.C (string2params): clean-up using the new lyxlex interface.
1666 * insetexternal.C: ensure that InsetExternalParams has a default
1667 template, 'RasterImage'.
1669 2003-12-10 Angus Leeming <leeming@lyx.org>
1671 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1672 to an enum. Ensuing clean-ups through out the class.
1673 (read, write): now prepend the inset contents with 'Note' to identify
1674 the inset as a note inset.
1676 2003-12-10 Angus Leeming <leeming@lyx.org>
1678 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1679 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1681 2003-12-10 André Pönitz <poenitz@gmx.net>
1685 * insettabular.[Ch]:
1686 * insettext.[Ch]: remove unused insetInset()
1688 * insetert.C: disable some LFUNs
1690 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1692 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1694 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1696 2003-12-04 Angus Leeming <leeming@lyx.org>
1698 * insetexternal.C (draw): update the xo_, yo_ cache.
1700 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1702 (RotationDataType): new helper struct wrapping the
1703 RotationData::OriginType enum.
1705 2003-12-03 André Pönitz <poenitz@gmx.net>
1707 * inset.h: remove getParagraphs()
1709 * insetcollapsable.[Ch]:
1712 * insettabular.[Ch]:
1713 * insettext.C: use getText() instead of getParagraphs()
1715 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1717 * insetert.C: fix label text updating bug
1719 2003-12-02 Angus Leeming <leeming@lyx.org>
1721 * insetvspace.[Ch] (space): new member function. Make space_ private.
1722 (read): use the new, simpler lyxlex syntax.
1724 2003-12-01 André Pönitz <poenitz@gmx.net>
1726 * insetcollapsable.[Ch]:
1727 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1729 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1731 * insetvspace.C (read): handle 'end_inset' token.
1733 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1735 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1737 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1739 * insetcollapsable.[Ch]:
1741 * insetcharstyle.C: place inset content on the button when
1744 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1746 * insetvspace.C: remove VSpace::NONE; increase inset width
1748 2003-12-01 André Pönitz <poenitz@gmx.net>
1750 * insetbase.h: whitespace
1752 * inset.[Ch]: remove latexTextWidth
1753 make setBackgroundColor virtual
1755 * insettext.[Ch]: move ParagraphList member to LyXText
1757 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1763 * insetminipage.[Ch]:
1765 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1767 2003-11-28 Angus Leeming <leeming@lyx.org>
1769 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1770 hiding and showing the dialog respectively.
1771 (priv_dispatch): also actually update the inset contents.
1773 2003-11-28 Angus Leeming <leeming@lyx.org>
1775 * insetbox.C (d-tor):
1776 * insetbranch.C (d-tor):
1777 * insetcite.C (d-tor):
1778 * insetfloat.C (d-tor):
1779 * insetfloatlist.C (d-tor):
1780 * insetinclude.C (d-tor):
1781 * insetindex.C (d-tor):
1782 simplify the invocation of the Mailer::hideDialog() function.
1784 * insetminipage.C (showInsetDialog):
1785 simplify the invocation of the Mailer::showialog() function.
1787 2003-11-28 André Pönitz <poenitz@gmx.net>
1790 * insetvspace.[Ch]: new insets
1792 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1794 * insetcharstyle.C: Syntax change for CharStyles
1796 2003-11-28 André Pönitz <poenitz@gmx.net>
1798 * updatableinset.h: remove insetInInsetY
1800 * insetcollapsable.[Ch]:
1802 * insettabular.[Ch]:
1803 * insettext.[Ch]: adjust
1805 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1809 * insetcollapsable.[Ch]:
1811 * insettabular.[Ch]: remove setFont
1813 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1815 * render_graphic.[Ch]: adjust comments
1817 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1819 * insetgraphics.C (draw): cache xo_ & yo_
1821 2003-11-24 André Pönitz <poenitz@gmx.net>
1823 * insettext.C (setViewCache): don't call LyXText::init() anymore
1825 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1828 * insetcollapsable.[Ch]:
1829 * insetert.[Ch]: remove bufferview parameter in methods
1830 open, close, status, and updateStatus.
1832 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1834 * insetcollapsable.[Ch]:
1835 * insettabular.[Ch]:
1836 * insettext.[Ch] (getCursorDim): squash unused variable
1838 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1840 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1842 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1844 * insettext.C (draw): sets LyXText absolute coordinates
1846 2003-11-20 Angus Leeming <leeming@lyx.org>
1848 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1849 warnings about unused parameters.
1851 * insetcollapsable.C (open):
1852 * insettabular.C (pasteSelection):
1853 * insettoc.C (draw): ditto.
1855 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1857 * insetcollapsable.C:
1859 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1860 remove mouse_x mouse_y etc.
1862 2003-11-17 André Pönitz <poenitz@gmx.net>
1864 * insettext.[Ch] (cx, cy): remove
1866 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1868 2003-11-13 André Pönitz <poenitz@gmx.net>
1871 * insetcollapsable.[Ch]:
1872 * insettabular.[Ch]:
1873 * insettext.[Ch] (deleteLyXText): remove
1875 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1877 * insetcollapsable.[Ch] (fitInsetCursor): remove
1878 * insettabular.[Ch] (fitInsetCursor): remove
1879 * insettext.[Ch] (fitInsetCursor): remove
1880 * updatableinset.[Ch] (fitInsetCursor): remove
1881 (getCursorDIm): add virtual
1883 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1885 * src/insets/Makefile.am:
1886 * src/insets/inset.h:
1887 * src/insets/insetcharstyle.C:
1888 * src/insets/insetcharstyle.h: The Character Style /XML short
1891 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1893 * insettext.C: remove all update calls
1894 * insetcollapsable.C: remove all update calls
1896 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1898 * insettext.C (updateLocal, insertInset, setFont): remove
1901 2003-11-10 André Pönitz <poenitz@gmx.net>
1903 * inset.h: remove Inset::id_
1905 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1910 2003-11-10 André Pönitz <poenitz@gmx.net>
1914 * insetcollapsable.[Ch]:
1918 * insettabular.[Ch]:
1921 * updatableinset.[Ch]: remove inset locking & adjust
1923 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1925 * inset.h (allowSpellCheck): add (return true)
1926 * insetert.h (allowSpellCheck): add (return false)
1928 2003-11-05 José Matos <jamatos@lyx.org>
1934 * insetcaption.[Ch]:
1936 * insetcollapsable.[Ch]:
1937 * insetcommand.[Ch]:
1940 * insetexternal.[Ch]:
1942 * insetfloatlist.[Ch]:
1944 * insetgraphics.[Ch]:
1946 * insetinclude.[Ch]:
1949 * insetlatexaccent.[Ch]:
1952 * insetmarginal.[Ch]:
1953 * insetminipage.[Ch]:
1954 * insetnewline.[Ch]:
1957 * insetpagebreak.[Ch]:
1961 * insetspecialchar.[Ch]:
1962 * insettabular.[Ch]:
1964 * insettheorem.[Ch]:
1967 * insetwrap.[Ch]: rename ascii to plaintext
1968 and LatexRunParams to OutputParams.
1970 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1972 * insetcollapsable.C (edit): add open() all
1973 * insettext.C (edit): add setViewCache call
1975 2003-11-04 André Pönitz <poenitz@gmx.net>
1977 * inset.h (edit): move locking code from dispatch() to edit()
1983 * insetcollapsable.[Ch]:
1986 * insetexternal.[Ch]:
1987 * insetgraphics.[Ch]:
1992 * insettabular.[Ch]:
1993 * insettext.[Ch]: adjust
1995 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1998 * insetcollapsable.[Ch]:
2000 * insettabular.[Ch]:
2002 * updatableinset.[Ch]: remove dead search code
2004 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2007 * insetcollapsable.[Ch]:
2009 * insettabular.[Ch]:
2011 * updatableinset.[Ch]: remove dead spellcheck code
2013 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2015 * insettabular.C (lockInsetInInset): small fix
2017 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2020 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2021 from here. Be stricter on DispatchResult returned.
2023 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * Inset::dispatch's: adjust for new DispatchResult semantics.
2027 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * render_base.h: make clone return an auto_ptr
2030 * render_button.C (clone): adjust
2031 * render_graphic.C (clone): adjust
2032 * render_preview.C (clone): adjust
2034 * insettheorem.C (clone): return an auto_ptr
2036 * insettext.C (priv_dispatch): exception safety
2038 * insettabular.C: store the file scope variable paste_tabular in a
2039 scoped_ptr, adjust usage.
2041 * insetexternal.C (setParams): exception safety
2043 * insetbibitem.C (clone): exception safety
2045 2003-11-03 André Pönitz <poenitz@gmx.net>
2048 * insetcollapsable.[Ch]:
2049 * insettabular.[Ch]:
2050 * insettext.[Ch]: remove Inset::id and related functions
2052 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * insets: adjust for DispatchResult changes.
2056 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2058 * insetpagebreak.C: fix screen representation & ascii output.
2060 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2064 * insettabular.[Ch]:
2065 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2067 2003-10-31 José Matos <jamatos@lyx.org>
2069 * inset.h (ascii, linuxdoc, docbook):
2070 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2071 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2072 * insetcaption.[Ch] (ascii, docbook):
2073 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2074 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2075 * insetert.[Ch] (ascii, linuxdoc, docbook):
2076 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2077 * insetfloat.[Ch] (linuxdoc, docbook):
2078 * insetfloatlist.[Ch] (ascii):
2079 * insetfoot.[Ch] (docbook):
2080 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2081 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2082 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2083 * insetindex.[Ch] (docbook):
2084 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2085 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2086 * insetline.[Ch] (ascii, linuxdoc, docbook):
2087 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2088 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2089 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2090 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2091 * insetref.[Ch] (ascii, linuxdoc, docbook):
2092 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2093 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2094 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2095 * insettext.[Ch] (ascii, linuxdoc, docbook):
2096 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2097 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2098 * insetwrap.[Ch] (docbook):
2099 add LatexRunParams argument.
2101 2003-10-30 José Matos <jamatos@lyx.org>
2103 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2105 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * updatableinset.C (priv_dispatch):
2108 * insetwrap.C (priv_dispatch):
2109 * inseturl.C (priv_dispatch):
2110 * insettoc.C (priv_dispatch):
2111 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2112 (moveLeftIntern, moveUp, moveDown):
2113 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2114 (moveLeft, moveUp, moveDown):
2115 * insetref.C (priv_dispatch):
2116 * insetnote.C (priv_dispatch):
2117 * insetminipage.C (priv_dispatch):
2118 * insetlabel.C (priv_dispatch):
2119 * insetindex.C (priv_dispatch):
2120 * insetinclude.C (priv_dispatch):
2121 * insetgraphics.C (priv_dispatch):
2122 * insetfloatlist.C (priv_dispatch):
2123 * insetfloat.C (priv_dispatch):
2124 * insetexternal.C (priv_dispatch):
2125 * insetert.C (priv_dispatch):
2126 * insetcommand.C (priv_dispatch):
2127 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2128 * insetcite.C (priv_dispatch):
2129 * insetbranch.C (priv_dispatch):
2130 * insetbox.C (priv_dispatch):
2131 * insetbibtex.C (priv_dispatch):
2132 * insetbibitem.C (priv_dispatch):
2133 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2135 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2137 * insettext.C: small refactoring of docbook stuff
2139 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2142 (priv_dispatch): adjust for operator dispatch_result_t removal
2144 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2145 in a DispatchResult, adjust accordingly.
2146 (priv_dispatch): use strange >= construct... (will be removed later)
2148 * most insets: dispatch_result -> DispatchResult
2150 * insetbase.h: move DispatchResult out to dispatchresult.h
2152 2003-10-27 André Pönitz <poenitz@gmx.net>
2154 * insetpagebreak.[Ch]: new inset for page breaks
2156 * insetline.[Ch]: new inset for vertical lines
2161 2003-10-25 Angus Leeming <leeming@lyx.org>
2163 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2164 new virtual member functions, specialised...
2165 * render_button.h (asButton):
2166 * render_graphic.h (asGraphic):
2167 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2169 * insetexternal.C: use these new functions rather than dynamic_cast.
2170 Various other small simplifications.
2172 2003-10-22 Angus Leeming <leeming@lyx.org>
2174 * insetexternal.[Ch]: add the ability to 'preview' the external file
2177 * insetinclude.C: changes due to the changes in the RenderPreview
2180 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2181 message if the preview image is not available. Only initiate the
2182 loading of the preview from draw(). Ditto, start the monitoring
2183 of an external file from RenderMonitoredPreview::draw.
2185 2003-10-22 Angus Leeming <leeming@lyx.org>
2187 * insetcite.[Ch] (setLoadingBuffer): removed.
2188 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2189 ascertain whether to proceed with the (expensive) task of computing
2190 the natbib-style label. Remove the home-grown hack providing
2191 similar functionality.
2193 2003-10-22 Angus Leeming <leeming@lyx.org>
2195 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2196 class and into an anonymous namespace.
2198 2003-10-22 Angus Leeming <leeming@lyx.org>
2200 * insetcommand.h: remove the display method.
2204 * insetindex.h (InsetPrintIndex):
2205 * insettoc.h: add a display method, returning true.
2207 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2209 * insetcollapsable.h:
2213 * insetinclude.h: (1) finish off the inset display() work;
2214 (2) fix the "is a bit silly" bug (accessing char
2217 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2221 * insetfootlike.h: re-introduce display() for insets,
2222 fixing the various bugs (stretch of line above, math inset
2225 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2227 * insetbase.C (dispatch): new func
2228 (priv_dispatch): new func replaces...
2229 (localDispatch): this, deleted.
2231 * all insets with dispatch modified for new code.
2233 2003-10-15 André Pönitz <poenitz@gmx.net>
2235 * insetcollapsable.[Ch]
2237 * inset.h: re-add some edit(bv, index) method called by undo
2239 2003-10-14 Angus Leeming <leeming@lyx.org>
2241 * insetexternal.[Ch] (view, cache, view_):
2242 * insetgraphics.[Ch] (view, cache, view_):
2243 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2244 (statusChanged): call LyX::cref().updateInset.
2246 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2247 the BufferView cache.
2249 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2252 2003-10-14 Angus Leeming <leeming@lyx.org>
2254 * insetinclude.C (metrics, draw): only draw the preview when previews
2257 2003-10-14 André Pönitz <poenitz@gmx.net>
2259 * insetcollapsable.[Ch]:
2260 * insettabular.[Ch]:
2262 * inset.h: getText() as alternative to getParagraphs()
2264 2003-10-13 Angus Leeming <leeming@lyx.org>
2267 * insetgraphicsParams.C: displayTranslator is now a function.
2269 2003-10-13 Angus Leeming <leeming@lyx.org>
2271 * insetinclude.C: remove #include "PreviewImage.h".
2273 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2275 * ExternalSupport.C:
2276 * ExternalTransforms.C:
2278 * insetbox.h: ws changes only
2280 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * insetinclude.C (localDispatch): do not call
2283 InsetOld::localDispatch, just return UNDISPATCHED
2284 * insetgraphics.C (localDispatch): ditto
2285 * insetcommand.C (localDispatch): ditto
2287 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * inset.h: get rid of RESULT typedef for dispatch_result
2291 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2292 * insetert.[Ch] (localDispatch): ditto
2293 * insettabular.[Ch] (localDispatch): ditto
2298 * insettext.[Ch] (localDispatch): ditto
2301 (moveRightIntern): ditto
2302 (moveLeftIntern): ditto
2305 * updatableinset.[Ch] (localDispatch): ditto
2307 2003-10-12 Angus Leeming <leeming@lyx.org>
2309 * renderbase.h (view, view_): removed.
2310 * renderbase.C: removed.
2311 * Makefile.am: remove render_base.C. The shortest lived file in
2314 * renderbutton.C (draw):
2315 * render_graphic.C (draw): don't cache the BufferView.
2317 * insetabase.h (cache, view): removed.
2319 * inset.h (generatePreview) removed.
2321 * insetcallapsable.[Ch] (cache, view, view_): removed.
2323 * insetcollapsable.C (draw): don't cache the BufferView.
2325 * insetcommand.[Ch] (view): removed.
2327 * insetexternal.[Ch] (cache, view, view_):
2328 * insetgraphics.[Ch] (cache, view, view_):
2329 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2331 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2332 when you have direct access to it. In fact, don't use the cache at all.
2334 2003-10-10 Angus Leeming <leeming@lyx.org>
2336 * insetinclude.C (metrics): use preview_->metrics.
2337 (draw): use preview_->draw.
2339 * render_preview.[Ch] (pimage): removed.
2341 2003-10-10 Angus Leeming <leeming@lyx.org>
2343 * renderers.[Ch]: removed.
2346 * render_button.[Ch]:
2347 * render_graphic.[Ch]:
2348 * render_preview.[Ch]: new files. The first three are split out of
2349 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2350 contains a re-worked InsetInclude::PreviewImpl also.
2352 * Makefile.am: reflect the changed files.
2355 * insetexternal.[Ch]:
2356 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2358 * insetinclude.[Ch]: changes reflecting the change from
2359 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2365 * inseturl.C: add #include "support/std_ostream.h"
2367 2003-10-09 Angus Leeming <leeming@lyx.org>
2369 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2370 to PreviewedInset::previewReady.
2372 2003-10-09 Angus Leeming <leeming@lyx.org>
2374 * insetexternal.[Ch] (statusChanged):
2375 * insetgraphics.[Ch] (statusChanged): make a const member function.
2377 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2380 2003-10-09 Angus Leeming <leeming@lyx.org>
2382 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2383 to PreviewedInset's previewReady and removePreview member functions.
2385 2003-10-08 André Pönitz <poenitz@gmx.net>
2387 * insetcollapsable.C:
2388 * insettext.[Ch]: saner 'init' structure
2390 * updatableinset.[Ch]: remove unneeded code
2392 2003-10-08 Angus Leeming <leeming@lyx.org>
2394 Fix doxygen warnings.
2396 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2397 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2399 2003-10-07 Angus Leeming <leeming@lyx.org>
2401 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2402 be applied to InsetExternal.
2404 * Makefile.am: add these new files.
2406 * ExternalTemplate.[Ch]: add a list of available transforms to
2407 class Template and a list of factory functions for transformer classes
2408 that can act on this data to class Format.
2410 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2412 * ExternalSupport.C: Add code to replace transform placeholders
2413 with appropriate output.
2415 2003-10-07 Angus Leeming <leeming@lyx.org>
2417 * ExternalSupport.[Ch]: new files, moving the private member functions
2418 and namespace anon functions out of insetexternal.C to here, so making
2419 it easier to understand what is going on in insetexternal itself.
2421 * Makefile.am: add new files.
2423 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2424 allowing the class to be forward declared. (Also consistent with
2425 all other Params classes.)
2426 (write): moved out of the class. Move this function and those in
2427 namespace anon to ExternalSupport.[Ch].
2429 2003-10-07 Angus Leeming <leeming@lyx.org>
2431 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2432 non-const member function.
2434 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2439 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2441 2003-10-02 André Pönitz <poenitz@gmx.net>
2443 * insettext.C (read): make sure there is at least one par
2444 in the text after reading.
2446 2003-10-01 José Matos <jamatos@lyx.org>
2448 * insetbranch.C (linuxdoc, docbook): minor fix.
2450 2003-10-01 Angus Leeming <leeming@lyx.org>
2452 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2454 * insetexternal.[Ch]: changes due to the introduction of
2455 namespace lyx::external.
2457 2003-09-30 Angus Leeming <leeming@lyx.org>
2459 * insetexternal.[Ch] (Params::read, write): new member functions.
2461 2003-09-25 Angus Leeming <leeming@lyx.org>
2463 * insetexternal.[Ch] (TempName): new (private) nested struct with
2464 fake copy semantics. Enables us to use the generated copy c-tor
2465 in the Params struct.
2466 (Params::templatename, Params::tempname): use accessor functions.
2468 2003-09-25 Angus Leeming <leeming@lyx.org>
2470 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2471 function, returning a const pointer.
2473 2003-09-23 Angus Leeming <leeming@lyx.org>
2475 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2476 store them in a vector, preambleNames.
2478 * insetexternal.C (validate): loop over all preambleNames and call
2479 LaTeXFeatures::addExternalPreamble with each.
2481 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2483 * insetbranch.C: bug fix in branches
2485 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2487 * insetnote.C: small clean-up.
2489 2003-09-19 Angus Leeming <leeming@lyx.org>
2491 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2493 * insetcommand.C (string2params): clear params using the default c-tor.
2495 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2496 InsetInclude::Params. No more data in this struct than in
2497 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2498 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2499 (clone): remove #warning as it's now redundant.
2500 (set): add a 'Buffer const &' arg. Make private.
2501 (loadIfNeeded) move out of the class definition and into namespace anon.
2502 (getMasterFilename, getFileName): ditto.
2504 2003-09-18 Angus Leeming <leeming@lyx.org>
2506 * insetcommand.C (setParams): use the params' copy constructor.
2508 2003-09-18 Angus Leeming <leeming@lyx.org>
2510 * insetinsetbase.h (getLabelList):
2511 * insetinsetcollapsable.[Ch] (getLabelList):
2512 * insetinsetinclude.[Ch] (getLabelList):
2513 * insetinsetlabel.[Ch] (getLabelList):
2514 * insetinsettabular.[Ch] (getLabelList):
2515 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2516 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2518 2003-09-18 Angus Leeming <leeming@lyx.org>
2520 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2521 redundant baggage from yesteryear.
2522 Remove Params::flag as it is redundant; the info is present in
2525 2003-09-18 Angus Leeming <leeming@lyx.org>
2527 * insetinclude.C (latexString): add a Buffer const & arg.
2529 2003-09-18 Angus Leeming <leeming@lyx.org>
2534 * insettext.h: rename EnumLColor as LColor_color.
2536 2003-09-18 Angus Leeming <leeming@lyx.org>
2538 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2539 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2541 2003-09-16 Angus Leeming <leeming@lyx.org>
2543 * insetinclude.C (localDispatch): ensure that
2544 params_.masterFilename_ is set before trying to generate a
2545 preview, else we trigger an assert.
2547 2003-09-16 Angus Leeming <leeming@lyx.org>
2549 * insetinclude.C (PreviewImpl::parent): return a const reference.
2551 2003-09-16 Angus Leeming <leeming@lyx.org>
2553 * insetcollapsable.[Ch]: make all member variables, except for
2556 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2557 than access labelfont directly.
2558 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2559 use InsetCollapsable::setCollapsed, isOpen rather than access
2560 collapsed_ directly.
2562 * insetminipage.C (metrics):
2563 * insetnote.C (metrics):
2564 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2565 access collapsed_ directly.
2567 2003-09-16 Angus Leeming <leeming@lyx.org>
2569 * insetbibitem.C: add #include "lyxfont.h".
2571 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * insetbibtex.C: use namespace alias for lyx::support::os
2576 2003-09-16 Angus Leeming <leeming@lyx.org>
2578 * insetcollapsable.h: remove unused framecolor variable.
2579 Remove #include "LColor.h".
2581 * insetcollapsable.C: remove unused framecolor variable.
2584 * insetcollapsable.C:
2592 Add #include "LColor.h".
2594 2003-09-16 Angus Leeming <leeming@lyx.org>
2596 * insettext.[Ch] (frameColor): new accessor function.
2597 (frame_color_): stored as an int, allows us to remove #include
2598 "LColor.h" from insettext.h
2603 add #include "LColor.h".
2605 * insetcollapsable.h: add #include "LColor.h"
2606 (for its framecolor member variable).
2608 2003-09-16 Angus Leeming <leeming@lyx.org>
2610 * insetenv.C (constructor): use accessor functions to access
2611 InsetText variables.
2613 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2614 rename frame_color as frame_color_. Make private.
2616 * insettext.C: associated changes.
2618 2003-09-16 Angus Leeming <leeming@lyx.org>
2620 * inset.h: store background_color_ as an int, not as an
2621 LColor::color to get LColor.h out of the header file.
2624 * insetlatexaccent.C:
2627 * insetspecialchar.C:
2629 add #include "LColor.h".
2631 2003-09-16 Angus Leeming <leeming@lyx.org>
2633 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2634 cannot string calls together.
2636 2003-09-15 Angus Leeming <leeming@lyx.org>
2638 * inset.[Ch] (setBackgroundColor, backgroundColor):
2639 * insettext.[Ch] (setFrameColor):
2640 pass EnumLColor args, rather than LColor::color ones.
2642 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * insetwrap.C: remove usage of STRCONV
2654 2003-09-15 Angus Leeming <leeming@lyx.org>
2656 * renderers.C (draw):
2657 * insetlatexaccent.C (draw): explicitly define the color passed to
2660 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2662 * insettext.C: remove block causing problems in lockInsetInInset
2663 (mentioned erroneously under Bug #1366)
2665 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2667 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2670 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2672 * several files: change Assert to BOOST_ASSERT
2674 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2676 * insettext.[Ch]: remove drawText[XY]Offset
2678 2003-09-08 Angus Leeming <leeming@lyx.org>
2680 * insetcollapsable.C:
2685 * insetspecialchar.C:
2688 * insettoc.C: remove redundant using directives.
2690 2003-09-07 Angus Leeming <leeming@lyx.org>
2693 * insetspecialchar.h: remove #include "support/std_string.h".
2695 2003-09-06 Angus Leeming <leeming@lyx.org>
2697 * renderers.C: add #include "insets/inset.h"
2699 2003-09-05 Angus Leeming <leeming@lyx.org>
2701 * *.C: strip out redundant #includes. (193 in total.)
2703 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2705 * insets/insetbibtex.[Ch]:
2706 * insets/insetcommand.h:
2707 * insets/insetfloatlist.[Ch]:
2708 * insets/insetinclude.[Ch]:
2709 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2710 of insets like bibtex, include, toc and floatlist to the visible
2711 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2712 up the dialogs. Cursor has to be in front of the inset (i.e.
2713 start of row) for this to function.
2715 2003-09-04 Angus Leeming <leeming@lyx.org>
2717 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2718 structure outside of the Format struct. Format::preambleName refers to
2719 an item in the map of all preamble snippets.
2720 Make use of the new Debug::EXTERNAL flag.
2722 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2723 (validate): Small change due to the changed storage of preamble
2726 2003-09-04 Angus Leeming <leeming@lyx.org>
2728 * insetgraphics.C: #include "support/os.h"
2730 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2731 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2732 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2734 * insetcollapsable.h:
2736 * insetnote.C: move #include "funcrequest.h" out of the header file.
2738 2003-09-03 Angus Leeming <leeming@lyx.org>
2740 * insetexternal.C (updateExternal):
2741 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2744 2003-09-03 Angus Leeming <leeming@lyx.org>
2746 * insetexternal.C: don't bring namespace lyx::support into the global
2749 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2751 * insetbranch.C: Add Branch: to label
2753 2003-09-02 John Levon <levon@movementarian.org>
2756 * insettext.C: remove cursor.i[xy]()
2758 2003-08-28 Angus Leeming <leeming@lyx.org>
2760 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2761 "sh ", enabling the conversion to be carried out even if the script
2764 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * most files: change to use const Buffer refs
2768 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2770 * insetfootlike.C: whitespace.
2772 2003-08-26 John Levon <levon@movementarian.org>
2776 * insetindex.h: remove remaining mentions of needFullRow()
2778 2003-08-26 André Pönitz <poenitz@gmx.net>
2784 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2786 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2788 * insetbranch.C: Small fix to prevent a crash on loading.
2790 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2795 * insetcollapsable.h:
2797 * insetfloatlist.[Ch]:
2798 * insetfootlike.[Ch]:
2799 * insetinclude.[Ch]:
2805 * insettheorem.[Ch]:
2806 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2807 altogether, putting the logic in metrics/draw in the insets.=20
2808 Draws short single row insets with more or less realistic metrics.
2810 2003-08-19 André Pönitz <poenitz@gmx.net>
2812 * insettext.C: use new RowPainter interface
2814 2003-08-18 John Levon <levon@movementarian.org>
2816 * insetref.C: require amsmath for eqref
2818 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2822 * insetbranch.[Ch]: implements the 'branch inset'
2823 idea. This allows the output of various versions of a document
2824 from a single source version, selectively outputing or suppressing
2825 output of parts of the text.
2826 This implementation contains a 'branch list editor' in a separate
2827 tab of the document settings dialog. Branches are user definable
2828 and have a "display colour" to distinguish them on-screen.
2830 ColorHandler was somewhat cleaned up.
2831 (1) make possible a dynamically growing LColor list by allowing
2832 the graphic context cache to grow along (vector);
2833 (2) eliminate an IMHO unnecessary step in colour allocation.
2835 2003-08-15 André Pönitz <poenitz@gmx.net>
2837 * insettext.[Ch]: adjust after rowlist split
2839 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2841 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2842 rename valign-center to valign-middle;
2843 rename VALIGN_CENTER to VALIGN_MIDDLE
2845 2003-08-11 André Pönitz <poenitz@gmx.net>
2847 * inset.h: remove resizeLyXText
2850 * insetcollapsable.[Ch]:
2852 * insettabular.[Ch]: adjust
2854 * insettext.[Ch]: remove saveLyXTextState,
2855 restoreLyXTextStat, sstate, reinitLyXText
2857 2003-08-07 André Pönitz <poenitz@gmx.net>
2859 * inset.[Ch]: move non-crucial functions out-of-line
2861 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2862 remove duplicated code.
2864 2003-08-05 André Pönitz <poenitz@gmx.net>
2867 * insetcollapsable.[Ch]:
2877 * insettabular.[Ch]:
2880 * updatableinset.[Ch]: rip out "deep update"
2882 * insettext.C (localDispatch): merge cases with default branch
2884 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2886 * insettabular.[Ch] (updateLocal): simplify logic
2888 2003-08-04 André Pönitz <poenitz@gmx.net>
2890 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2891 is 'FULL' all the time.
2893 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 * insetert.C (get_new_label): only add ... to the (closed) label
2896 when the string has been shortened
2898 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2900 * Always use std::endl with lyxerr
2902 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2904 * insetnote.C: update \author list
2906 2003-07-31 André Pönitz <poenitz@gmx.net>
2908 * insetcollapsable.h:
2909 * insettabular.[Ch]:
2910 * insettext.[Ch]: remove toggleSelection
2912 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2914 (with help from Juergen Spitzmueller)
2915 * insetnote.C: add add i18n support. Use Prefs-definable
2916 colours for Comment and Greyedout.
2918 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2920 * insetcollapsable.[Ch]:
2922 * insetert.C: factor out the detection of clicking on the inset
2923 button as 'hitButton'. John Levon contributed.
2925 2003-07-30 André Pönitz <poenitz@gmx.net>
2927 * insetcollapsable.C:
2929 * insettabular.C: parantheses, localize vars etc.
2931 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2933 * insetnote.C: Implement a newenvironment in preamble for
2934 greyedout. Patch provided by Jürgen Spitzmüller.
2936 2003-07-29 Angus Leeming <leeming@lyx.org>
2938 * insetcommand.C (localDispatch): default to
2939 InsetOld::localDispatch.
2941 * insetbibitem.C (localDispatch):
2942 * insetbibtex.C (localDispatch): remove call to
2943 ChangeCitationsIfUnique.
2945 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2947 * insetexternal.C (read): use pushpophelper.
2949 2003-07-28 José Matos <jamatos@lyx.org>
2951 * insetext.C (read): \end_document replaces \the_end.
2953 2003-07-28 José Matos <jamatos@fep.up.pt>
2955 * insetert.C (write): \layout -> \begin_layout.
2956 Add missing \end_layout.
2958 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2960 * insetquotes.C: document a bit the format
2962 * insettabular.C (write): remove extra space
2964 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2965 * insetnote.C: Umpf. Hope I *now* get it right :-(
2967 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2968 *insetnote.C: did the right fix to greyedout: \color
2969 instead of \textcolor.
2971 2003-07-28 Angus Leeming <leeming@lyx.org>
2973 * insetbibtex.h: remove extraneous forward declaration.
2976 * insetbibtex.h: Also remove long-dead Holder member class
2979 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2981 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2984 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * insetwrap.C (addToToc): adjust for lyx::toc
2988 * insetfloatlist.C (ascii): adjust for lyx::toc
2990 * insetfloat.C (addToToc): adjust for lyx::toc
2992 2003-07-27 José Matos <jamatos@fep.up.pt>
2994 * insetnote.h (linuxdoc,docbook): update support.
2996 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * insetfloat.C (wide): add a space to label, for consistency
3000 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * insettext.C (nextChange): adjust for lyx::find
3003 (searchForward): ditto
3004 (searchBackward): ditto
3006 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3008 * insetgraphicsParams.C:
3009 * insetexternal.C: declare extern displayTranslator
3012 * renderers.C: add #include "support/LAssert.h"
3014 2003-07-27 José Matos <jamatos@fep.up.pt>
3016 * insetfloat.[Ch] (linuxdoc):
3017 * insetgraphics.C (linuxdoc):
3018 * insettabular.C (linuxdoc):
3019 * insettext.[Ch] (linuxdoc): add support for tables and figures
3022 2003-07-27 José Matos <jamatos@fep.up.pt>
3024 * insetinclude (latex): comply with makeLaTeXFile argument change.
3026 2003-07-26 Asger Alstrup <alstrup@local>
3028 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3029 the undo crashes. We'll see what problems other places this will
3032 2003-07-26 Angus Leeming <leeming@lyx.org>
3034 * insetgraphics.C: remove unused declaration of system_tempdir.
3036 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * rename Inset to InsetOld
3040 * all inset files (clone): return a auto_ptr<InsetBase>
3042 2003-07-23 Angus Leeming <leeming@lyx.org>
3044 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3046 2003-07-23 Angus Leeming <leeming@lyx.org>
3048 * mailinset.[Ch] (inset2string):
3049 * insetcommand.[Ch] (inset2string):
3050 * insetert.[Ch] (inset2string):
3051 * insetexternal.[Ch] (inset2string):
3052 * insetfloat.[Ch] (inset2string):
3053 * insetgraphics.[Ch] (inset2string):
3054 * insetinclude.[Ch] (inset2string):
3055 * insetminipage.[Ch] (inset2string):
3056 * insetnote.[Ch] (inset2string):
3057 * insettabular.[Ch] (inset2string):
3058 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3060 * insetexternal.[Ch]:
3061 * insetgraphics.[Ch]: get rid of the view() function. Associated
3062 changes to the mailers' string2params and params2string functions.
3064 2003-07-23 Angus Leeming <leeming@lyx.org>
3066 * insetexternal.[Ch]: store the external file name in a FileName
3067 member variable rather than a string + associated changes.
3069 2003-07-21 Angus Leeming <leeming@lyx.org>
3071 * insetgraphicsParams.[Ch]: store the graphics file name in
3072 a FileName member variable rather than a string.
3074 * insetgraphics.[Ch]:
3075 * insetgraphicsParams.[Ch]: Associated changes.
3077 2003-07-21 Angus Leeming <leeming@lyx.org>
3079 * insetgraphics.[Ch] (string2params, params2string): passed a
3080 buffer_path argument.
3083 2003-07-21 Angus Leeming <leeming@lyx.org>
3086 * insetgraphicsParams.[Ch]:
3088 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3090 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3092 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3094 2003-07-18 André Pönitz <poenitz@gmx.net>
3097 * insetminipage.[Ch]:
3098 * insettabular.[Ch]:
3101 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3103 2003-07-18 André Pönitz <poenitz@gmx.net>
3107 * insetcollapsable.C:
3111 * insetgraphics.[Ch]:
3112 * insetlatexaccent.[Ch]:
3117 * insetspecialchar.C:
3118 * insettabular.[Ch]:
3120 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3122 2003-07-17 André Pönitz <poenitz@gmx.net>
3124 * insetcollapsable.C:
3126 * insettext.C: don't call Inset::update() anymore
3129 * insettabular.[Ch]: remove unneeded in_update_ members
3131 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3133 2003-07-16 André Pönitz <poenitz@gmx.net>
3135 * insettext.C (selectAll): remove
3137 2003-07-16 John Levon <levon@movementarian.org>
3140 * insetnote.C: implement showInsetDialog()
3142 2003-07-15 André Pönitz <poenitz@gmx.net>
3145 * insettext.C: refresh_status tristate -> need_update bool
3147 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3149 * insettext.C: adjust call to LyXText::init
3151 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3153 * insettext.C: use bufferview_funcs->replaceSelection()
3154 to delete selections in some cases (bugs 441, 673, 702, 954).
3156 2003-07-14 André Pönitz <poenitz@gmx.net>
3158 * insettext.C (draw): use slimmed down rowpainter interface
3160 2003-07-14 André Pönitz <poenitz@gmx.net>
3162 * insetcollapsable.C:
3164 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3165 remove unused BufferView * argument
3167 2003-07-14 André Pönitz <poenitz@gmx.net>
3169 * insettext.[Ch]: used cached metrics a bit more
3171 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3173 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3175 2003-07-10 André Pönitz <poenitz@gmx.net>
3178 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3180 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * introduce namespace lyx::graphics
3184 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * introduce namespace lyx::support
3188 2003-06-30 André Pönitz <poenitz@gmx.net>
3190 * insetcite.C (localDispatch): fix case of missing return value
3192 * insetcite.C (ascii): remove unneeded temporary
3194 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * insetspace.h: fix \file
3198 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3199 * insetinclude.C (fillWithBibKeys): ditto
3201 * insetbibitem.C: fix type const order
3203 * inset.C (getLyXText): add varname for arg
3205 * ExternalTemplate.h: fix type const order
3207 2003-06-27 André Pönitz <poenitz@gmx.net>
3209 * insettext.C: take care of removed LyXCursor::row_ member
3211 * insettext.[Ch]: use new TextCursor struct for sstate
3213 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3215 * inseterror.[Ch]: removed
3217 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3219 * insetinclude.C (docbook): use parseError instead of sgmlError
3221 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3223 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3224 of BufferList::loadLyXFile
3226 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * insettext.C (update): simplify
3229 (updateLocal): remove commented code
3230 (insetUnlock): simplify
3231 (lockInset): simplify
3232 (updateInsetInInset): simplify
3233 (localDispatch): simplify
3235 (resizeLyXText): simplify
3236 (collapseParagraphs): simplify
3238 * insetert.C (get_new_label): simplify
3240 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3242 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3243 pasteSelection with index
3245 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3247 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3249 2003-06-16 André Pönitz <poenitz@gmx.net>
3251 * insetbase.h: new virtual base function clone()
3253 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3254 Inset * clone() -> InsetBase * clone()
3256 2003-06-13 André Pönitz <poenitz@gmx.net>
3258 * insettabular.[Ch]: make tabular a proper member
3260 2003-06-12 André Pönitz <poenitz@gmx.net>
3262 * insettabular.[Ch]: some renaming plus whitespace
3264 2003-06-11 Angus Leeming <leeming@lyx.org>
3266 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3269 * insetbutton.[Ch]: removed.
3270 * graphicinset.[Ch]: renamed as renderers.[Ch].
3272 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3273 Create a new class ButtonRenderer using the InsetButton::metrics() and
3275 Derive both from a common RenderedInset base class.
3277 * insetcommand.[Ch]:
3278 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3279 Give it a ButtonRenderer member variable. Use it.
3280 Give the classes working copy c-tors.
3281 No longer derive from boost::noncopyable.
3283 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3284 display its contents as a button or as a graphic.
3286 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3289 2003-06-11 Angus Leeming <leeming@lyx.org>
3291 * insetcite.C (localDispatch): reformat.
3293 * insetref.C (localDispatch): enable dialog to be lauched.
3295 2003-06-11 John Levon <levon@movementarian.org>
3297 * insettabular.C: correctly mark all cells as erased
3299 2003-06-11 Angus Leeming <leeming@lyx.org>
3301 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3302 ExternalTemplate but its name, templatename. This means that a file
3303 containing a reference to an External Template not installed on the
3304 current machine will be saved retaining this info rather than inserting
3305 the first "valid" template from the list of templates.
3307 As a by product, the visual statement that the Template is missing is
3310 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3312 * insettext.C (appendParagraphs): remove some commented code.
3314 2003-06-10 Angus Leeming <leeming@lyx.org>
3316 * graphicinset.[Ch] (view): removed the publicly accessible
3317 function to set the cache.
3319 * insetexternal.[Ch]: move tempname_ into the Params struct.
3320 (Params d-tor): new function, to clean-up this temp file.
3321 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3323 (editExternal, doSubstitution): move out of class.
3325 2003-06-10 Angus Leeming <leeming@lyx.org>
3327 * graphicinset.[Ch] (params): removed.
3328 * graphicinset.h (operator=): declared private but not defined.
3329 (statusMessage): made private.
3331 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3333 2003-06-07 John Levon <levon@movementarian.org>
3335 * insetert.C (latex): make a newline mean just that not
3338 2003-06-07 José Matos <jamatos@fep.up.pt>
3340 * insethfill.[Ch] (linuxdoc, docbook): implement output
3341 * insetspace.C (linuxdoc, docbook): remove coments as the code
3344 2003-06-06 José Matos <jamatos@fep.up.pt>
3346 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3348 2003-06-06 André Pönitz <poenitz@gmx.net>
3350 * insetwrap.[Ch]: code compactification
3352 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3354 * mailinset.C (updateDialog): use Dialogs::visible
3356 2003-06-04 Angus Leeming <leeming@lyx.org>
3358 * graphicinset.C (draw): add a comment for the #if 0 block.
3360 * insetexternal.h: remove Params::parameters variable.
3362 * insetexternal.C (read, write): rewrite to output new ExternalInset
3363 format and read it back making full use of LyXLex.
3365 2003-06-04 André Pönitz <poenitz@gmx.net>
3367 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3369 2003-06-04 John Levon <levon@movementarian.org>
3371 * insettabular.C: back out tall table speed up. It was broken
3373 2003-06-03 Angus Leeming <leeming@lyx.org>
3375 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3376 Remove ViewCommand and UpdateCommand.
3378 * graphicinset.C (update): bug fix. Set the params before calling the
3381 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3382 the BufferView cache to enable the InsetExternal::editCommand to
3383 be invoked from the frontends. Would not be needed if this were
3384 dispatched properly.
3385 (old_ascent_): variable removed.
3387 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3388 do any necessary conversions of external material. Also use the
3389 new GraphicsInset to display the inset within LyX.
3391 2003-06-03 Angus Leeming <leeming@lyx.org>
3393 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3394 and move it somewhere where InsetExternal can use it too.
3396 * Makefile.am: add the new files.
3398 * insetgraphics.[Ch]: make use of the new GraphicInset.
3400 2003-06-03 John Levon <levon@movementarian.org>
3403 * insetbibitem.[Ch]:
3406 * insetcommand.[Ch]:
3410 * insetexternal.[Ch]:
3414 * insetgraphics.[Ch]:
3416 * insetinclude.[Ch]:
3419 * insetlatexaccent.[Ch]:
3420 * insetmarginal.[Ch]:
3421 * insetminipage.[Ch]:
3428 * insetspecialchar.[Ch]:
3429 * insettabular.[Ch]:
3431 * insetthereom.[Ch]:
3434 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3436 * insetgraphics.[Ch]:
3437 * insetgraphicsParams.[Ch]: always store an absolute
3440 2003-06-02 André Pönitz <poenitz@gmx.net>
3444 * insetlatexaccent.C: remove duplicated call to metrics()
3446 2003-06-02 John Levon <levon@movementarian.org>
3448 * insettabular.C: fix resize of column width
3450 2003-06-02 John Levon <levon@movementarian.org>
3455 * insetparent.C: remove insetparent
3457 2003-06-02 André Pönitz <poenitz@gmx.net>
3464 * insetcollapsable.[Ch]:
3468 * insetgraphics.[Ch]:
3469 * insetinclude.[Ch]:
3470 * insetlatexaccent.[Ch]:
3471 * insetminipage.[Ch]:
3472 * insetnewline.[Ch]:
3475 * insetspecialchar.[Ch]:
3476 * insettabular.[Ch]:
3477 * insettext.[Ch]: unify first drawing phase
3480 * insetbase.h: move validate() to the base
3482 2003-05-31 Angus Leeming <leeming@lyx.org>
3484 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3486 2003-05-30 André Pönitz <poenitz@gmx.net>
3491 * insetcaption.[Ch]:
3492 * insetcollapsable.[Ch]:
3495 * insetgraphics.[Ch]:
3496 * insetinclude.[Ch]:
3497 * insetlatexaccent.[Ch]:
3498 * insetnewline.[Ch]:
3501 * insetspecialchar.[Ch]:
3502 * insettabular.[Ch]:
3504 * updatableinset.[Ch]: unify second drawing phase
3506 2003-05-30 John Levon <levon@movementarian.org>
3508 * insetgraphics.C: fix a bformat
3510 2003-05-29 John Levon <levon@movementarian.org>
3512 * insettabular.C: remove unused bufferOwner()
3514 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * insettext.C (lockInsetInInset): adjust
3517 (getLabelList): use const_iterator, adjust
3518 (getInsetFromID): use const_iterator, adjust
3519 (addPreview): use const_iterator, adjust
3521 * insetwrap.C (clone): remove const_cast
3523 * insetnote.C (clone): remove const_cast
3525 * insetminipage.C (clone): remove const_cast
3527 * insetmarginal.C (clone): remove const_cast
3529 * insetfoot.C (clone): remove const_cast
3531 * insetfloat.C (clone): remove const_cast
3533 * insetert.C (clone): remove const_cast
3535 * delete commented same_id functions from a lot of files.
3537 2003-05-28 John Levon <levon@movementarian.org>
3543 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3545 * insetminipage.C: fix metrics (bug 1144)
3547 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * insettext.C (saveLyXTextState): adjust
3550 (restoreLyXTextState): adjust
3553 (unlockInsetInInset): adjust
3554 (localDispatch): adjust
3555 (getLyXText): adjust
3557 * insettabular.C (insertAsciiString): adjust
3559 2003-05-27 André Pönitz <poenitz@gmx.net>
3562 * insetcollapsable.C:
3565 * insetlatexaccent.C:
3570 * insetspecialchar.C:
3572 * insettext.C: dim.w -> dim.wid
3574 2003-05-26 John Levon <levon@movementarian.org>
3576 * insettabular.C: avoid drawing all of a long table
3577 if it's not needed. A big speedup
3579 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * remove same_id from function signatures, adjust
3583 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * insettext.C (InsetText): adjust
3587 (setParagraphData): separate same_id cases, adjust
3588 (appendParagraphs): adjust
3589 (appendParagraphs): adjust
3591 2003-05-23 André Pönitz <poenitz@gmx.net>
3593 * insetbutton.h: whitespace
3595 * insettabular.C: more compact code
3597 * updatableinset.C: remove const_cast
3600 2003-05-23 Angus Leeming <leeming@lyx.org>
3602 * insetexternal.C (write): check how many lines are output.
3603 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3604 if the template has defined it.
3606 2003-05-23 Angus Leeming <leeming@lyx.org>
3608 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3610 2003-05-23 Angus Leeming <leeming@lyx.org>
3612 * insetfoot.C (latex):
3613 * inseturl.C (latex): rename fragile as moving_arg.
3615 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * inseterror.C (localDispatch): comment out unused var.
3619 2003-05-22 Angus Leeming <leeming@lyx.org>
3621 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3622 passed through the LatexRunParams arg.
3624 2003-05-22 Angus Leeming <leeming@lyx.org>
3626 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3627 through the LatexRunParams arg.
3629 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3630 arg rather than through a global var.
3632 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * insetspecialchar.C (dimension): use a string.
3636 2003-05-22 Angus Leeming <leeming@lyx.org>
3638 * insetbibtex.C (latex):
3639 * insetgraphics.C (latex):
3640 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3641 runparams rather than from the buffer itself.
3643 2003-05-22 Angus Leeming <leeming@lyx.org>
3645 * inset*.[Ch] (latex):
3646 passed a LatexRunParams parameter.
3648 * insetgraphics.C (latex): actually use it ;-)
3650 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3652 * insetfloat.C (addToToc): trivial compile fix
3654 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * insettext.[Ch] (paragraph): delete unused function
3658 * insetfloat.C (addToToc): parlist simplfication
3660 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3662 * insetspace.[Ch]: added (new space insets)
3664 * inset.h: handle new space insets
3666 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * insetfloat.C (addToToc): adjust
3670 2003-05-21 André Pönitz <poenitz@gmx.net>
3672 * insettext.[Ch]: fix drawing bug introduced earlier
3674 2003-05-19 André Pönitz <poenitz@gmx.net>
3676 * insetspecialchar.C: fix bug introduced yesterday
3678 2003-05-19 André Pönitz <poenitz@gmx.net>
3682 * insetcollapsable.[Ch]:
3686 * insetgraphics.[Ch]:
3687 * insetgraphicsParams.[Ch]:
3688 * insetlatexaccent.[Ch]:
3689 * insetminipage.[Ch]:
3690 * insetnewline.[Ch]:
3692 * insetspecialchar.[Ch]:
3693 * insettabular.[Ch]:
3694 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3696 2003-05-19 André Pönitz <poenitz@gmx.net>
3699 * insettext.C: more insetenv
3701 2003-05-16 André Pönitz <poenitz@gmx.net>
3704 * insetminimpage.[Ch]:
3705 * insetcollapsable.[Ch]: fix #832
3707 2003-05-16 André Pönitz <poenitz@gmx.net>
3710 * insetbibitem.[Ch]:
3714 * insetcollapsable.[Ch]:
3715 * insetcommand.[Ch]:
3718 * insetexternal.[Ch]:
3719 * insetfloatlist.[Ch]:
3720 * insetgraphics.[Ch]:
3721 * insetinclude.[Ch]:
3724 * insetlatexaccent.[Ch]:
3727 * insettabular.[Ch]:
3731 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3733 2003-05-13 André Pönitz <poenitz@gmx.net>
3736 * insetcollapsable.C:
3740 * insetwrap.C: tostr from own header
3752 * insetwrap.C: STRCONV
3755 2003-05-12 André Pönitz <poenitz@gmx.net>
3767 * insetwwrap.C: boost::format -> bformat all over the place
3769 2003-05-05 André Pönitz <poenitz@gmx.net>
3771 * insettext.h: add missing #include <map>
3773 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * insettext.C (InsetText): parlist cleanup
3778 (insetUnlock): ditto
3780 (lockInsetInInset): ditto
3784 (searchBackward): ditto
3785 (collapseParagraphs): ditto
3787 2003-05-06 John Levon <levon@movementarian.org>
3789 * insetcaption.C: don't cast wrap inset to InsetFloat
3792 * insetfloat.C: remove unneeded type() function
3794 2003-05-05 André Pönitz <poenitz@gmx.net>
3798 * insettabular.[Ch]:
3799 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3800 replace getFirstParagraph() by getParagraphs()
3802 2003-05-03 John Levon <levon@movementarian.org>
3804 * insetcollapsable.h:
3805 * insetcollapsable.C:
3811 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3812 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3813 getCursor(). Remove explicit cursor hides.
3815 2003-05-02 André Pönitz <poenitz@gmx.net>
3817 * insettext.C: remove unneeded &*
3819 2003-04-30 John Levon <levon@movementarian.org>
3821 * insettabular.C: fix edit message
3823 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * insettext.C (setFont): do not convert iterator -> pointer
3827 * insettabular.C (localDispatch): do not convert iterator -> pointer
3829 (tabularFeatures): ditto
3831 2003-04-29 André Pönitz <poenitz@gmx.net>
3833 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3835 2003-04-28 André Pönitz <poenitz@gmx.net>
3837 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3840 2003-04-25 André Pönitz <poenitz@gmx.net>
3842 * insetenv.C: derive from InsetText instead of InsetCollapsable
3844 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * insetexternal.C (string2params): dont do anything if the string
3848 * insetgraphics.C (string2params): ditto
3849 * insetcommand.C (string2params): ditto
3850 * insetert.C (string2params): ditto
3851 * insetfloat.C (string2params): ditto
3852 * insetinclude.C (string2params): ditto
3853 * insetminipage.C (string2params): ditto
3854 * insettabular.C (string2params): ditto
3855 * insetwrap.C (string2params): ditto
3857 2003-04-24 André Pönitz <poenitz@gmx.net>
3859 * insetref.C: support for eqref
3861 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * insetert.C (read): use ParagraphList::iterator.
3865 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * insetquotes.C (latex): comment some code and add warnings.
3869 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3871 * insetexternal.C (localDispatch): added a missing DISPATCHED
3873 2003-04-12 John Levon <levon@movementarian.org>
3875 * insetwrap.C (addToToc): fix a crash, conversion
3876 from while to for loop forgot to remove the explicit
3879 2003-04-10 John Levon <levon@movementarian.org>
3881 * insettabular.C (tabularFeature): make sure
3882 to update the dialog when we change something
3885 (getStatus): don't disable some lfuns (bug 939)
3887 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * insettext.C (saveLyXTextState): adjust
3890 (localDispatch): adjust
3896 * insettabular.C (localDispatch): adjust
3898 (tabularFeatures): adjust
3900 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3902 * insettabular.C (searchForward,searchBackward): fix bug 782
3904 2003-04-07 John Levon <levon@movementarian.org>
3907 * insettext.C: clear status message on inset exit
3909 2003-04-03 John Levon <levon@movementarian.org>
3911 * insetcommand.C: return dispatched on DIALOG_UPDATE
3913 2003-04-02 John Levon <levon@movementarian.org>
3915 * insettabular.C: tab lfuns renamed
3917 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * insettext.C (update): move towards ParagraphList
3920 (updateLocal): ditto
3922 (insetUnlock): ditto
3924 (lockInsetInInset): ditto
3925 (updateInsetInInset): ditto
3926 (localDispatch): ditto
3929 (resizeLyXText): ditto
3930 (searchBackward): ditto
3931 (collapseParagraphs): ditto
3934 * insetwrap.C (InsetWrap): adjust
3935 (addToToc): adjust and rewrite loop
3937 * insettext.[Ch] (paragraph): delete function
3939 * insettabular.C (moveNextCell): adjust
3940 (movePrevCell): adjust
3941 (insertAsciiString): adjust
3943 * insetfloat.C (InsetFloat): adjust
3946 * insetert.C (InsetERT): adjust
3947 (write): adjust, and rewrite loop
3948 (latex): adjust, and rewrite loop
3949 (linuxdoc): adjust, and rewrite loop
3950 (docbook): adjust, and rewrite loop
3951 (localDispatch): adjust
3952 (get_new_label): adjust
3954 2003-04-01 John Levon <levon@movementarian.org>
3956 From Alfredo Braunstein
3959 * insetbutton.C: add localDispatch()
3961 * insetcommand.C: return DISPATCHED when edit() called
3963 * insettext.C: fix bug 967
3965 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * insettext.C: adjust
3969 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * insettext.C (draw): adjust
3972 (crow): return a RowList::iterator not a Row*
3974 * insetminipage.C (localDispatch): adjust
3976 * insetert.C (localDispatch): adjust
3978 2003-03-31 John Levon <levon@movementarian.org>
3981 * insetgraphicsParams.C: use_gui moved to lyx_gui
3983 2003-03-31 John Levon <levon@movementarian.org>
3985 * insettext.C: Alert fix
3987 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * insettext.C (ascent): adjust for RowList
3992 (getLyXText): adjust
3993 (toggleSelection): adjust
3995 * insetminipage.C (localDispatch): adjust for RowList
3997 * insetert.C (localDispatch): adjust for RowList
3998 (getMaxWidth): adjust for RowList
4000 2003-03-29 John Levon <levon@movementarian.org>
4002 * insetert.C: Alert cleanup
4004 2003-03-29 John Levon <levon@movementarian.org>
4006 * insettabular.C: Alert fix
4008 2003-03-28 John Levon <levon@movementarian.org>
4010 * insetfloat.C: reset label on INSET_MODIFY
4012 2003-03-28 John Levon <levon@movementarian.org>
4014 * insetgraphicsParams.C: read subcaptionText as a whole line
4017 2003-03-28 John Levon <levon@movementarian.org>
4019 * insettext.C: remove unused prototypes
4021 2003-03-25 Angus Leeming <leeming@lyx.org>
4023 * insetbibitem.C (localDispatch): repaint the view after modifying
4024 a bibitem inset in case the maximum InsetBibitem width has changed.
4026 2003-03-25 John Levon <levon@movementarian.org>
4029 * insettabular.C: LyXText renamings
4031 2003-03-24 John Levon <levon@movementarian.org>
4033 * insettext.C: remove some dead code. Fix bug 972 and
4034 related by posting a repaint in updateLocal(), and making
4035 the SEL functions set SELECTION.
4037 2003-03-22 John Levon <levon@movementarian.org>
4040 * inset.C: remove no-longer-needed topx_set
4042 * insetcollapsable.h:
4043 * insetcollapsable.C: remove dead code
4046 * insetert.C: rebreak the rows when a possible
4047 change in size is made, and reset the cursor
4050 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4052 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4053 topx_set. Fix drawing errors for clearInset(). Remove
4054 some unnecessary uses of topx, which should die.
4056 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4057 is no longer needed. Replace it with an ugly hack.
4059 2003-03-20 John Levon <levon@movementarian.org>
4062 * insetcollapsable.h:
4063 * insetcollapsable.C:
4071 * insettext.C: remove spurious font parameter
4072 from update(). Fix drawing of ERT insets inside
4073 insets (bug 966). Remove unused mark_dirty from
4074 tabular's updateLocal()
4076 2003-03-19 John Levon <levon@movementarian.org>
4085 * insetwrap.C: remove unused getter/setters
4087 2003-03-19 John Levon <levon@movementarian.org>
4089 * several files: bv->updateInset() doesn't take
4090 a bool mark_dirty any more
4092 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * adjust for BufferView* arg removal from lyxtext.
4096 2003-03-17 John Levon <levon@movementarian.org>
4098 * most files: remove the "cleared" parameter
4099 to draw in favour of always clearing. Associated
4102 2003-03-16 John Levon <levon@movementarian.org>
4104 * insettext.C: remove unused s.refresh
4106 2003-03-13 Angus Leeming <leeming@lyx.org>
4108 * insettext.C (edit): replace Dialogs::updateParagraph with
4109 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4111 2003-03-13 André Pönitz <poenitz@gmx.net>
4113 * Makefile.am: insert insetenv
4115 * insethenv.[Ch]: new files, currently inactive
4117 2003-03-12 John Levon <levon@movementarian.org>
4127 * insettext.C: use new insetnewline
4129 2003-03-12 John Levon <levon@movementarian.org>
4131 * insettext.C: readToken became readParagraph
4133 2003-03-12 John Levon <levon@movementarian.org>
4135 * insettext.C: use parlist iterator for reading contents
4137 2003-03-12 John Levon <levon@movementarian.org>
4139 * insettext.C: name change to readToken()
4141 2003-03-11 André Pönitz <poenitz@gmx.net>
4143 * Makefile.am: insert insethfill
4145 * insethfill.[Ch]: new files
4147 2003-03-10 Angus Leeming <leeming@lyx.org>
4149 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4151 (hideDialog): calls the new static Dialogs::hide() method.
4153 * insetbibitem.C (edit):
4154 * insetbibtex.C (edit):
4155 * insetcite.C (edit):
4156 * insetcommand.C (localDispatch):
4157 * inseterror.C (d-tor):
4158 * insetert.C (showInsetDialog):
4159 * insetexternal.C (localDispatch, edit):
4160 * insetfloat.C (localDispatch, showInsetDialog):
4161 * insetfloatlist.C (edit):
4162 * insetgraphics.C (localDispatch, edit):
4163 * insetinclude.C (localDispatch, edit):
4164 * insetindex.C (edit):
4165 * insetlabel.C (edit):
4166 * insetminipage.C (localDispatch, showInsetDialog):
4167 * insetref.C (edit):
4168 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4169 resetPos, showInsetDialog, openLayoutDialog):
4170 * insettoc.C (edit):
4171 * inseturl.C (edit):
4172 * insetwrap.C (localDispatch, showInsetDialog):
4173 changes due to the changed MailInset interface.
4175 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4177 * insetfloat.h: Set default placement to an empty string.
4179 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4181 * insettext.C (latex): adjust call to latexParagraphs.
4183 2003-03-10 Angus Leeming <leeming@lyx.org>
4185 * mailinset.C: warn the user if the BufferView has not been cached.
4187 2003-03-10 Angus Leeming <leeming@lyx.org>
4189 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4191 * insetcommand.h (inset):
4192 * insetert.h (inset):
4193 * insetexternal.h (inset):
4194 * insetfloat.h (inset):
4195 * insetgraphics.h (inset):
4196 * insetinclude.h (inset):
4197 * insetminipage.h (inset):
4198 * insettabular.h (inset):
4199 * insetwrap.h (inset):
4200 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4202 2003-03-10 Angus Leeming <leeming@lyx.org>
4204 * insetcommand.C (string2params):
4205 * insetexternal.C (string2params):
4206 * insetfloat.C (string2params):
4207 * insetgraphics.C (string2params):
4208 * insetinclude.C (string2params):
4209 * insetminipage.C (string2params):
4210 * insettabular.C (string2params):
4211 * insetwrap.C (string2params): cure warning message about missing
4214 2003-03-09 Angus Leeming <leeming@lyx.org>
4216 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4217 it to communicate with the frontend dialogs.
4219 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4220 contents of this inset!
4222 2003-03-07 Angus Leeming <leeming@lyx.org>
4224 * inseterror.C (localDispatch): new method; calls edit() on
4227 2003-03-07 Angus Leeming <leeming@lyx.org>
4229 * insetbibitem.C (localDispatch):
4230 * insetbibtex.C (localDispatch):
4231 * insetlabel.C (localDispatch):
4232 rewrite as a switch.
4234 2003-03-07 Angus Leeming <leeming@lyx.org>
4236 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4237 it to communicate with the frontend dialogs.
4239 2003-03-07 Angus Leeming <leeming@lyx.org>
4241 * insetexternal.C: remove operator== and operator!= for
4242 InsetExternal::Params. They were used only by the old controller
4245 2003-03-07 Angus Leeming <leeming@lyx.org>
4247 * insetcommand.C (localDispatch):
4248 * insetexternal.C (localDispatch):
4249 * insetfloat.C (localDispatch):
4250 * insetinclude.C (localDispatch):
4251 * insetminipage.C (localDispatch):
4252 * insetwrap.C (localDispatch):
4253 add LFUN_INSET_DIALOG_UPDATE to the switch.
4255 2003-03-07 Angus Leeming <leeming@lyx.org>
4257 * insetcommand.C (string2params):
4258 * insetexternal.C (string2params):
4259 * insetfloat.C (string2params):
4260 * insetinclude.C (string2params):
4261 * insetwrap.C (string2params): use LyXLeX more.
4264 * insetexternal.[Ch]:
4266 * insetinclude.[Ch]:
4267 * insetwrap.[Ch]: change Mailer::name_ to be static.
4269 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4270 it to communicate with the frontend dialogs.
4272 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4275 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4277 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * insettext.C (updateLocal): un-const function
4280 (updateLocal): adjust
4281 (collapseParagraphs): un-const function
4282 (collapseParagraphs): adjust
4284 2003-03-05 Angus Leeming <leeming@lyx.org>
4286 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4287 it to communicate with the frontend dialogs.
4289 2003-03-05 Angus Leeming <leeming@lyx.org>
4291 * insetcollapsable.C (draw): cache the BufferView.
4293 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4294 it to communicate with the frontend dialogs.
4296 2003-03-05 Angus Leeming <leeming@lyx.org>
4298 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4301 2003-03-05 Angus Leeming <leeming@lyx.org>
4303 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4305 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4306 it to communicate with the frontend dialogs.
4308 2003-03-05 Angus Leeming <leeming@lyx.org>
4310 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4311 it to communicate with the frontend dialogs.
4313 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * insettext.C (collapseParagraphs): adjust
4316 (appendParagraphs): make it take a Buffer* instead of a
4317 BufferParams& as arg.
4318 (appendParagraphs): adjust
4320 2003-03-04 Angus Leeming <leeming@lyx.org>
4322 * insetbibitem.C (localDispatch):
4323 * insetbibtex.C (localDispatch):
4324 * insetcommand.C (localDispatch):
4325 * insetert.C (localDispatch):
4326 * insetlabel.C (localDispatch):
4327 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4329 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * insettext.C (latex): adjust for ParagraphList::iterator
4333 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * insetbutton.C (view): adjust for boost 1.30.0
4336 * insetcollapsable.C (view): ditto
4337 * insetgraphics.C (statusChanged): ditto
4339 * insettext.h: move paragraphs to be public.
4341 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * insetnote.[Ch] (InsetNote): remove unused constructor
4345 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4347 * insetgraphics.C: added include "format.h"
4349 2003-02-27 Angus Leeming <leeming@lyx.org>
4351 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4354 2003-02-27 Angus Leeming <leeming@lyx.org>
4356 * insetbibitem.C (localDispatch):
4357 * insetbibtex.C (localDispatch):
4360 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4362 2003-02-26 Angus Leeming <leeming@lyx.org>
4364 * insetbibitem.[Ch] (localDispatch):
4365 * insetbibtex.[Ch] (localDispatch):
4366 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4368 * insetcommand.C (localDispatch):
4369 act only on receipt of LFUN_XYZ_APPLY.
4371 * insetert.C (localDispatch): reformat.
4372 add LFUN_XYZ_APPLY to the switch.
4374 2003-02-26 John Levon <levon@movementarian.org>
4376 * insettext.C: use RowPainter
4378 * inset.h: make helpers take const *
4380 2003-02-26 Angus Leeming <leeming@lyx.org>
4382 * insetcommand.[Ch] (localDispatch): new method.
4384 2003-02-26 Angus Leeming <leeming@lyx.org>
4386 * insetinclude.C (draw): cache the BufferView* using cache not
4387 PreviewImpl::setView
4389 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4391 * insetgraphics.C (draw)
4392 * insetinclude.C (draw): Eliminate also the other argument (owner
4393 inset inset) in the call to PreviewImage::image
4395 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4397 * insetgraphics.C (draw)
4398 * insetinclude.C (draw): Eliminate Buferview argument in call to
4401 2003-02-25 John Levon <levon@movementarian.org>
4403 * insetgraphicsParams.h:
4404 * insetgraphics.C: don't start a load process if
4405 the inset is set to NoDisplay (bug #920)
4407 2003-02-22 John Levon <levon@movementarian.org>
4410 * insetwrap.C: TocItem changed API (bug 913)
4412 2003-02-21 Angus Leeming <leeming@lyx.org>
4414 * insetcollapsable.[Ch] (cache, edit):
4415 * insetbutton.[Ch] (cache, edit): new methods to cache the
4416 BufferView in the draw method.
4418 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4419 simplify comunication between InsetCommand-derived classes and
4422 * insetbibitem.[Ch]:
4426 * insetfloatlist.[Ch]:
4430 * inseturl.[Ch]: small changes to reflect the new interface to the
4433 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4434 other, similar classes.
4436 * Makefile.am: add new files.
4438 2003-02-21 Angus Leeming <leeming@lyx.org>
4440 * updatableinset.h (setView, view): remove.
4441 * inset.h (view, cache): to be replaced by these.
4443 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4446 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4449 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4451 2003-02-21 Allan Rae <rae@lyx.org>
4453 * insetinclude.C (loadIfNeeded): ensure loading also works when
4454 child document is under version control.
4456 2003-02-17 André Pönitz <poenitz@gmx.net>
4458 * insetbib.[Ch]: Adjust access to bibkeys
4460 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4462 * insetquotes.C (dispString): remove use of acute accent for "'"
4465 2003-02-14 John Levon <levon@movementarian.org>
4467 * insettabular.C: changed method names in tabular.C
4469 2003-02-14 John Levon <levon@movementarian.org>
4473 * insetcollapsable.h:
4474 * insetcollapsable.C:
4478 * insettext.C: remove unused getParFromID()
4480 2003-02-13 John Levon <levon@movementarian.org>
4483 * insettext.C: remove unused beginningofMainBody()
4485 2003-02-08 John Levon <levon@movementarian.org>
4489 * insetcollapsable.h:
4490 * insetcollapsable.C:
4495 add nextChange(). Make allowSpellcheck() const. Add markErased().
4497 * insetert.C: ignore deleted text
4499 * insettabular.C: make sure to keep change tracking working
4502 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4507 * insettext.C: Use error messages with identical spelling and
4510 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4512 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4514 2002-12-17 Juergen Vigna <jug@lyx.org>
4516 * insettext.C (localDispatch): hopefully fixed cursor up down
4517 movement on leaving other insets.
4519 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4521 * insettext.C: fix inconsistent usage of spaces, colons,
4522 capitalization, and the like.
4524 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4526 * insetgraphics.C (prepareFile): do not remove the extension of
4527 the file name if it is not the default extension for the given
4528 format (that is, in latex output, remove extension from foo.eps,
4529 but not from foo.epsi)
4531 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4533 * insettext.C (lfunMouseRelease): hackish solution to the "double
4536 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * insetfloat.C (addToToc): use the floats name not its type
4539 * insetwrap.C (addToToc): ditto
4541 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4543 * insetnote.C (init): make label font smaller
4545 2002-12-04 John Levon <levon@movementarian.org>
4547 * insetinclude.C: ressurect setting of command name
4549 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * insetquotes.C (dispString): disambiguate insert call
4553 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * several files: ws changes
4557 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * insetquotes.C (dispString): use string::insert for prepending a
4562 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4564 * insetparent.C (getScreenLabel): use boost::format
4566 * insetgraphics.C (prepareFile): use boost::format
4569 * insetfloatlist.C (latex): use boost::format
4571 * insetcaption.C (draw): use boost::format
4573 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4575 * insettabular.C (tabularFeatures): Support for block alignment in
4576 fixed width columns.
4578 2002-11-20 Juergen Vigna <jug@sad.it>
4580 * insettabular.C (resetPos): temporary fix for endless loop in
4581 this function on a redraw.
4583 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * insettabular.C (copySelection): STRCONV
4587 * insetinclude.C (uniqueID): STRCONV
4588 (latexString): ditto
4590 * insetgraphics.C: put VersionNumber inside anon namespace
4591 (createLatexOptions): STRCONV
4593 * insetcommandparams.C: include config.h
4595 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4597 * insetgraphicsParams.C (Write): use lyx::float_equal.
4598 Write height data correctly.
4599 (Read): zero scale when reading height data.
4601 2002-10-30 John Levon <levon@movementarian.org>
4603 * insetfloat.C (addToTOC): recursively traverse all
4604 contents looking for captions (fix #568)
4606 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4608 * insetexternal.C (doSubstitution): do not try to replace
4609 environment variables, this is done when executing the command
4611 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4613 * insetexternal.C (doSubstitution): change order of substitution
4614 to work around ReplaceEnvironmentPath brokenness
4616 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4618 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4620 * insetgraphicsParams.C (init, Write): associated changes
4621 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4622 InsetGraphicsParams::scale.
4624 2002-10-21 John Levon <levon@movementarian.org>
4626 * inset.h: remove unused DISPATCH_RESULT
4628 * insettext.C: sgml open/close tag now in sgml namespace
4630 2002-10-21 Angus Leeming <leeming@lyx.org>
4632 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4633 file path subdir/fig.eps when pasting it into a buffer in a different
4636 2002-10-16 John Levon <levon@movementarian.org>
4638 * insetspecialchar.C: remove \\protected_separator parsing
4640 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4642 * insetquote.C: fix LaTeX output of quotation marks.
4644 2002-10-14 Juergen Vigna <jug@sad.it>
4646 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4647 Backspace functions which confused the Undo handling.
4649 2002-10-09 Angus Leeming <leeming@lyx.org>
4651 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4652 BufferView::dispatch that turns off this optimisation when a new inset
4655 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4656 reload the BibTeX keys.
4658 2002-10-11 André Pönitz <poenitz@gmx.net>
4660 * insettext.h: handle LFUN_PRIOR/NEXT
4662 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4664 * insetfloat.C: fix bug with float settings
4665 (document default != float default).
4667 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4669 * insetwrap.C (addToToc): New method.
4670 (InsetWrap): Set layout to caption.
4672 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4676 2002-09-16 John Levon <levon@movementarian.org>
4678 * insettabular.h: hasSelection() needs to be public
4680 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4682 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4684 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4686 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4688 2002-09-11 André Pönitz <poenitz@gmx.net>
4690 * insettabular.C: implement LFUN_WORDSEL
4692 2002-09-10 John Levon <levon@movementarian.org>
4694 * insetinclude.h: remove unused param
4696 2002-09-09 John Levon <levon@movementarian.org>
4699 * insetinclude.C: remove noload, default to input
4701 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4703 * insetgraphics.C: disfuscated use of ']' in built output string.
4705 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4709 2002-08-29 Juergen Vigna <jug@sad.it>
4711 * insettabular.C (lfunMousePress): Pay attention where you set
4712 the x/y values as they depend on which inset in the tabular is
4713 actually locked. So you surely have to reset them if you (un)lock
4716 2002-08-29 André Pönitz <poenitz@gmx.net>
4718 * insetfootlike.h: rename include guard to ALL CAPS
4720 * insettext.C: swap object and first parameter for checkInsetHit calls
4721 as this functions has moved from BufferView to LyXText
4724 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4726 * insetgraphicsParams.C: remove local displayTranslator and use
4727 the one from graphics/GraphicsTypes.h.
4729 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4731 * insetfloat.C (wide): add BufferParams parameter
4733 * insetfloatlist.C (read):
4736 * insetfloat.C (latex):
4738 * insetcaption.C (draw): use LyXTextClass::floats()
4740 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4742 * insetoptarg.h: add std:: qualifier.
4744 2002-08-26 Juergen Vigna <jug@sad.it>
4746 * insettext.C (localDispatch): ditto.
4748 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4750 2002-08-25 John Levon <levon@movementarian.org>
4752 * inseturl.C: elide long URLs (bug 404)
4754 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4756 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4757 remove "Format Version <version_no.>" string from inset header
4760 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4762 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4763 a member of "grfx::Params" anymore.
4765 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4767 2002-08-24 John Levon <levon@movementarian.org>
4770 * insetoptarg.C: ws, pedantry ...
4772 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4774 * insettext.C (collapseParagraphs): pasteParagraph now in global
4776 (appendParagraphs): ditto
4778 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4780 * insetcite.C (latex): Remove spaces only after commmas.
4782 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4784 * insettext.C: remove NO_COMPABILITY stuff
4786 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * insettext.C (edit): use ParagraphList iterators
4790 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4791 (bibitemWidest): ditto
4793 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * insettext.C: include <boost/bind.hpp>
4796 add using std::for_each
4797 (saveLyXTextState): use ParagraphsList::iterator
4798 (init): use for_each on paragraphlist iterators
4799 (InsetText): remove superflous setting cached_bview to 0
4800 (latex): reformat a bit
4801 (ascii): use paragraphlist iterators
4802 (validate): use for_each + boost bind
4803 (getLabelList): use paragraphlist iterators
4804 (deleteLyXText): use for_each + boost::bind
4805 (resizeLyXText): ditto
4806 (reinitLyXText): ditto
4807 (removeNewlines): use paragraphlist iterators
4808 (getParFromID): ditto
4809 (paragraph): use for_each + boost::bind
4810 (getInsetFromID): use paragraphlist iterators
4811 (getLabelList): typo fix
4813 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * insettext.C (read): assign tmp to paragraphs after return from
4816 call to parseSingleLyXformat2Token
4819 2002-08-13 Angus Leeming <leeming@lyx.org>
4837 * inseturl.C: changes due to the changed LyXView interface that
4838 now returns references to member variables not pointers.
4840 2002-08-13 Angus Leeming <leeming@lyx.org>
4843 * insetcollapsable.h:
4846 * insettext.h: forward-declare WordLangTuple
4847 (selectNextWordToSpellcheck) constify return type.
4850 * insetcollapsable.C:
4853 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4855 2002-08-12 Angus Leeming <leeming@lyx.org>
4857 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4860 2002-08-12 Juergen Vigna <jug@sad.it>
4862 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4865 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4867 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4868 (bibitemWidest): ditto
4869 * insettext.[Ch]: ditto
4871 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4875 2002-08-09 Angus Leeming <leeming@lyx.org>
4877 * insetinclude.C (latexString): remove fudge now that I've found out
4878 how to enable LaTeX to find the file using input@path.
4880 2002-08-09 John Levon <levon@movementarian.org>
4883 * insettext.C: remove unused xpos
4885 2002-08-07 Juergen Vigna <jug@lyx.org>
4887 * insettabular.C (localDispatch): make delete not put the stuff
4888 in the clipboard only do this on a cut operation.
4890 * insettext.C (localDispatch): make delete and backspace not put
4891 selected stuff to the clipboard.
4893 2002-08-07 André Pönitz <poenitz@gmx.net>
4896 * insetcollapsable.[Ch]:
4900 * insettabular.[Ch]:
4901 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4903 2002-08-06 John Levon <levon@movementarian.org>
4907 * insetcollapsable.h:
4908 * insetcollapsable.C:
4914 * insettext.C: use WordLangTuple for spellcheck
4916 2002-08-06 Angus Leeming <leeming@lyx.org>
4918 * insetinclude.C: add a monitor to the previewed image, so that the
4919 image is refreshed if the \input-ed file changes.
4921 2002-08-04 John Levon <levon@movementarian.org>
4924 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4926 2002-08-02 Angus Leeming <leeming@lyx.org>
4928 * insetcommandparams.[Ch] (preview): new methods returning and setting
4929 a new bool preview_ flag.
4930 (read): read this flag.
4931 (operator==): add flag to check.
4933 * insetinclude.C (write): output new preview() flag.
4934 (previewWanted): use this flag.
4936 2002-08-02 Angus Leeming <leeming@lyx.org>
4938 * insetcollapsable.[Ch] (addPreview):
4939 * insettabular.[Ch] (addPreview):
4940 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4941 for insets in insets.
4943 2002-08-02 Angus Leeming <leeming@lyx.org>
4945 * insetcite.C: fix typo.
4947 * insetgraphics.C: kill current_view and instead cache the BufferView
4950 * insetinclude.C: kill current_view and pass the BufferView to the
4951 PreviewedInset so that it can cache it.
4953 2002-08-01 Angus Leeming <leeming@lyx.org>
4955 * inset.h (generatePreview): renamed as addPreview.
4956 (generatePreview): new method. Allows code to be moved out of
4957 math_nestinset.C and into the new PreviewedInset class.
4959 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4960 add previews to the inset when \input-ing LaTeX.
4962 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * several files: strip,frontStrip -> trim,ltrim,rtrim
4966 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4968 * insetbib.C (latex): modify because of strip changes
4970 * insetnote.C (InsetNote): ditto
4972 2002-07-26 Juergen Vigna <jug@sad.it>
4974 * insettabular.C (searchForward): check for lastcell if we
4975 had a locking inset.
4977 2002-07-25 Juergen Vigna <jug@sad.it>
4979 * insettabular.C (insetMotionNotify): Don't update the screen
4980 if we didn't do nothing.
4981 (searchForward): last cell was not checked.
4983 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4985 * insetfloat.C (read, write): Allow default placement
4986 (floatPlacement_ is empty).
4988 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * insetminipage.h (noFontChange):
4991 * insettabular.h (noFontChange):
4992 * insetfootlike.h (noFontChange):
4993 * insetfloat.h (noFontChange): return true
4995 * inset.h (noFontChange): new method, defaulting to false
4997 2002-07-22 Herbert Voss <voss@lyx.org>
4999 * insetgraphicsParams.[Ch]: support size_type for old docs
5001 2002-07-22 Herbert Voss <voss@lyx.org>
5004 * insetgraphicsParams.[Ch]: change size_type to size_kind and
5007 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5009 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
5011 * insetlatexaccent.h: do not include "lyxlex.h"
5013 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
5016 * insetlatexaccent.C:
5020 * insetbib.C: #include "lyxlex.h"
5026 * insettext.C: use BufferParams::getLyXTextClass
5029 * insetfloat.C (addToToc): new method. Add to toclist the entries
5030 corresponding to Caption layouts
5031 (InsetFloat): when creating a new float, set the layout to "Caption"
5033 2002-07-21 Herbert Voss <voss@lyx.org>
5035 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5036 image relevant part into graphics/GraphicsImgae.C
5038 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5040 * insettoc.C (ascii):
5041 * insetfloatlist.C (ascii): change to use the new Toc functions
5042 instead of stuff that was in Buffer
5044 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5046 * insettext.C (localDispatch): BufferView::Dispatch has been
5047 renamed to BufferView::dispatch
5049 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5051 * insetgraphicsParams.C (as_grfxParams): use the new
5052 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5053 1.2.0 patch, and I do not really know how to adapt it to the new
5054 grfx::Cache world. Angus, please could you have a look?
5056 2002-05-01 Herbert Voss <voss@lyx.org>
5058 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5060 2002-07-18 Angus Leeming <leeming@lyx.org>
5062 * insetgraphics.C: clean-up comments (from Herbert).
5063 add a new checksum variable to the cache. Use it in PrepareFile.
5064 (draw): start monitoring the file for a change.
5065 (prepareFile): re-arrange a little to avoid unnecessary steps.
5067 2002-07-17 Angus Leeming <leeming@lyx.org>
5069 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5070 a method rather than to the signal directly.
5072 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5074 * insettext.C: use view_state_changed, switchKeyMap
5076 2002-07-17 Herbert Voss <voss@perce.de>
5078 * insetgraphics.C (prepareFile): keep the extension when
5079 exporting to nice file
5081 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5083 * insetcite.C (getNatbibLabel):
5084 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5086 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5088 * insetgraphics.C: use ->isDrawable()
5090 2002-07-12 Angus Leeming <leeming@lyx.org>
5092 * insetgraphics.C: use the new smart loading capabilities of the image
5095 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5097 * insettabular.C (edit): Move into correct cell when entering a
5100 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5103 2002-07-05 Angus Leeming <leeming@lyx.org>
5105 * inset.h (generatePreview): new virtual method.
5107 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5109 * insetcommandparams.[Ch] (operator=): move out of class
5110 (operator!): move out of class
5112 2002-07-04 André Pönitz <poenitz@gmx.net>
5114 * insetcommandparams.[Ch]: new files
5116 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5118 2002-06-15 Herbert Voss <voss@perce.de>
5120 * insetgraphics.C (prepareFile): bugfix; return always
5121 files without extension
5123 2002-06-28 Angus Leeming <leeming@lyx.org>
5125 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5126 rename asGParams -> as_grfxParams.
5128 * insetgraphics.C: reflect above change.
5130 2002-06-26 Angus Leeming <leeming@lyx.org>
5132 * insetgraphics.h: use boost::scoped_ptr in preference to
5135 2002-06-26 Angus Leeming <leeming@lyx.org>
5137 * insetgraphics.C: moved the image loading stuff into a new class
5138 grfx::Loader. Simplifies this file enormously.
5140 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5142 * insetgraphicsParams.C: changes aassociated with moving
5143 grfx::DisplayType out of grfx::GParams.
5145 2002-06-26 André Pönitz <poenitz@gmx.net>
5147 * insetgraphics.C: use os::external_path where necesaary according to a
5148 patch from Claus Hentschel)
5150 2002-06-25 Angus Leeming <leeming@lyx.org>
5152 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5153 generating a pixmap once the graphics file is loaded into memory.
5154 The current_view ugliness that was in grfx::ModifiedImage has been
5155 moved here now that grfx::ModifiedImage is no more.
5157 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5159 * insettext.C: layout as layout
5161 2002-05-28 André Pönitz <poenitz@gmx.net>
5163 * insetfloatlist.h: remove source of compiler warning
5165 * insetref.C: tiny whitespace
5167 2002-06-15 Herbert Voss <voss@perce.de>
5169 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5170 and take always convert when no userdefined converter was
5172 (latex) small changes in the lyxerr output
5174 2002-06-15 LyX Development team <lyx@rilke>
5176 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5177 mixed content. Small white spaces clean.
5179 2002-06-14 Angus Leeming <leeming@lyx.org>
5181 * inseetexternal.C: remove the using std::difftime declaration.
5183 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5185 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5187 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5189 * insetquotes.C (draw): fix drawing of double quotes
5191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5193 * insettabular.C: s/scrollCB/scrollDocView/
5195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5197 * insettext.C: change of topCursorVisible()
5200 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5203 * insettext.C: rename/change of LyXScreen
5205 2002-06-07 Angus Leeming <leeming@lyx.org>
5207 Fixes needed to compile with Compaq cxx 6.5.
5209 * insetexternal.C: all c-library variables have been moved into
5210 namespace std. Wrap using std::xyz declarations inside a #ifndef
5211 CXX_GLOBAL_CSTD block.
5213 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * insetinclude.C (uniqueID):
5216 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5217 conflicted with some AIX headers.
5219 2002-05-31 Juergen Vigna <jug@sad.it>
5221 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5225 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5227 * insetexternal.C (clone): fix () bug when using new
5228 (updateExternal): don't only look for difftime in global scope
5230 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5232 * insettabular.C: add const
5234 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5236 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5237 file name, in case there are weird characters like ',' in there.
5240 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * switch from SigC signals to boost::signals.
5244 2002-05-28 André Pönitz <poenitz@gmx.net>
5246 * insets/insetgraphicsParams.[Ch]:
5247 put in inset related stuff from src/graphic
5249 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5257 * insetcollapsable.C:
5258 * insetcollapsable.h:
5286 * inseturl.h: use mouse_state. Kill insetKeyPress
5288 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5293 * insetcollapsable.C:
5296 * insetlatexaccent.C:
5298 * insetspecialchar.C:
5300 * insettext.C: name change for font metrics
5302 2002-05-24 Juergen Vigna <jug@sad.it>
5304 * insetgraphics.h: include inset.h first (for LString.h)
5306 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5308 * insettext.C: screen moved
5310 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5328 * inseturl.C: LyXView moved into frontends/
5330 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5335 * insetcollapsable.C:
5339 * insetgraphicsParams.C:
5340 * insetlatexaccent.C:
5342 * insetspecialchar.C:
5344 * insettext.C: move Painter to frontends/
5346 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5348 * insettabular.h: use more specific smart_ptr header.
5349 * insettext.h: ditto
5351 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5354 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5356 * insettext.C: clear selection on paste (bug 393)
5358 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5360 * insettext.C (latex): Honor the moving_arg argument.
5362 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5364 * insetfoot.C (latex): if a footnote is in a title layout, then it
5365 is a \thanks. And then, its contents is a moving argument.
5367 2002-05-14 Juergen Vigna <jug@sad.it>
5369 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5372 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5374 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5375 when using options "Full author list" or "Upper case".
5377 2002-05-14 Herbert Voss <voss@perce.de>
5379 * insetgraphics.C (prepareFile): allow files with same name
5381 (readFigInset): set the flags from old figinset in the right
5383 (findTargetFormat): more comments
5385 2002-05-14 Juergen Vigna <jug@sad.it>
5387 * insettext.C (edit): tell checkAndActivateInset() that we don't
5388 have a button press.
5389 (checkAndActivateInset): if button < 0 we don't have a button press
5390 on the inset and os we won't call edit on it if it's not a Highly
5391 editable inset (then we have to enter it).
5393 2002-05-13 Juergen Vigna <jug@sad.it>
5395 * insetcollapsable.C (insetButtonRelease): returned wrong return
5398 2002-05-09 Juergen Vigna <jug@sad.it>
5400 * insetcollapsable.C (edit): first_after_edit should only be
5401 set to true if we enter this inset and it was collapsed so we
5402 open it up. This is needed to reclose it after a search/replace
5403 or spellcheck function opened it and was negative.
5405 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5407 * insetfloat.C (latex): Return correct value.
5409 2002-05-04 Herbert Voss <voss@perce.de>
5411 * InsetgraphicsParams.C (read): fix bug with WH
5413 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5415 * insetfloat.C (latex): More sensible latex output
5416 (fix the problem with endfloat).
5418 2002-05-02 José Matos <jamatos@fep.up.pt>
5420 * insetgraphics.C (validate): acess params as everyone else.
5422 2002-05-03 Juergen Vigna <jug@sad.it>
5424 * insettabular.C (fitInsetCursor): recalculate the cursor position
5427 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5429 * InsetgraphicsParams.[Ch]: whitespace.
5431 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5433 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5434 float type do not exist.
5436 2002-04-28 Herbert Voss <voss@perce.de>
5438 * insetgraphics.C (latex): fix bug with missing file-extension.
5439 LaTeX still allows a missing "eps" or "ps".
5441 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5443 * insetfloat.C (c-tor, wide): translate the name of the float.
5445 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5447 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5448 when using natbib and make it work efficiently. Must emphasise that the
5449 real work is Herbert's.
5451 2002-04-23 Herbert Voss <voss@perce.de>
5453 * insetgraphic.C (prepareFile): fix bug with overwriting and
5454 deleting an existing *.eps-file in the doc-dir
5456 2002-04-23 Juergen Vigna <jug@sad.it>
5458 * insettabular.C (drawCellSelection): fix off by 1 error.
5460 2002-04-22 Juergen Vigna <jug@sad.it>
5462 * insettabular.C (setFont): rewoke full selection if it was asked,
5463 after we changed all we had to change.
5465 * insettext.C (insetUnlock): code was uninitialized in some situations.
5467 2002-04-19 Herbert Voss <voss@perce.de>
5469 * insetgraphic.C (prepareFile): return filename without
5470 extension if we only export without compiling
5472 2002-04-19 Juergen Vigna <jug@sad.it>
5474 * insettext.C (draw): call a fullRebreak on the row where we had a
5475 change and reset the cursor and selection-cursors.
5477 * insettabular.C (insetUnlock):
5478 (insetButtonPress): call an update before setting the_locking_inset = 0
5479 as otherwise we don't repaint!
5480 (update): reset the cursor position when we changed dimensions as
5481 otherwise our cursor may be on the wrong spot.
5483 2002-04-18 Juergen Vigna <jug@sad.it>
5485 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5486 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5487 redraw otherwise we won't redraw.
5489 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5490 not really right before, but I only discovered this with the last
5491 changes to Page up/down.
5493 2002-04-17 Juergen Vigna <jug@sad.it>
5495 * insettext.C (checkAndActivateInset): simplified as we now have the
5496 edit(bv, bool) call.
5498 * insettext.h: changed behind variables to front variables to be
5499 equal to the one in the edit call (as it is for that they are used).
5501 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5503 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5504 not output anything at all!
5506 2002-04-16 Juergen Vigna <jug@sad.it>
5508 * insettabular.C (insetButtonPress):
5509 (insetUnlock): call a redraw on unlocking the cell inset.
5511 * insettext.C (insetButtonPress): same as below.
5512 (lockInset): new function to set initial values when inset should
5514 (insetButtonPress): use above function.
5515 (insetUnlock): don't force a repaint only set the updateStatus. The
5516 outside world should repaint if it thinks it should be done!
5518 * insettabular.C (insetButtonPress): init values if not set as locked
5519 as we are locked if someone presses on us and don't call the edit()
5520 call of the InsetText to lock it do it as BufferView does it!
5522 * inset.h (insetInInsetY): make func const and return an int.
5525 * insetcollapsable.C: adapt the above changed function.
5527 2002-04-15 Juergen Vigna <jug@sad.it>
5529 * insettext.C (getCursorPos): return relative position as to be able
5530 to give them directly to the edit() call.
5531 (edit): we have to set also x_fix as it is not set inside the
5532 setCursorFromCoordinates call!
5533 (insetMotionNotify): ditto.
5535 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5537 * insetbib.C (getKeys): strip leading '\t's from the line too.
5538 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5540 2002-04-12 Juergen Vigna <jug@sad.it>
5542 * insettext.h: added cix() helper function and use it where appropriate
5544 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5546 * insetgraphics.C (prepareFile): fix bug when graphics is a
5549 2002-04-12 Juergen Vigna <jug@sad.it>
5551 * insettext.C (insertInset): remove unneeded code!
5552 (updateLocal): fitCursor() fixes.
5553 (collapseParagraphs): fix a possible problem when having a selection
5554 and collapsing the paragraphs.
5556 2002-04-08 Herbert Voss <voss@perce.de>
5558 * insetgraphic.C (write): write the rotating angle as
5559 a float as is. test only for != 0.0
5561 2002-04-11 Juergen Vigna <jug@sad.it>
5563 * insettext.C: new function ciy() and use it for setting inset_y.
5565 * insetert.C (draw): fix the x return for collapsed version.
5567 2002-04-07 Herbert Voss <voss@perce.de>
5569 * insetgraphic.C (readFigInset): fix bug with subcaption and
5572 2002-04-08 Herbert Voss <voss@lyx.org>
5574 * insetgraphicsparam.C: forgot special option and delete old
5577 2002-04-05 Juergen Vigna <jug@sad.it>
5579 * insettext.C (localDispatch): make a CURSOR update if we inserted
5582 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5584 * insetfloatlist.C (getScreenLabel):
5585 (latex): use Floating::listName
5586 (validate): new method
5588 2002-04-03 José Matos <jamatos@fep.up.pt>
5590 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5592 * insetfoot.[Ch] (docbook): added forgotten method.
5594 2002-04-03 Juergen Vigna <jug@sad.it>
5596 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5597 way as in Bufferview_pimpl.
5599 2002-04-03 Allan Rae <rae@lyx.org>
5601 * insetgraphics.C (latex): one % too many makes living on the bleeding
5602 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5604 2002-03-28 Herbert Voss <voss@lyx.org>
5606 * insetgraphic.C (latex): simplify the code for the latex
5607 output when the file doesn't exist
5609 2002-03-29 Juergen Vigna <jug@sad.it>
5611 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5614 * insettabular.C (edit): call fitCursor().
5616 * insettext.C (insetButtonPress): change behaviour of no_selection
5617 to the one in the BufferView selection_possible and fix the spurious
5618 selection bug with it.
5619 (localDispatch): revoke selection on BREAK... functions.
5621 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5623 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5625 2002-03-28 Juergen Vigna <jug@sad.it>
5627 * insettabular.C (insetAllowed): return true as default value otherwise
5628 we're not able to insert insets inside paragraphs of an not locked
5631 2002-03-27 Herbert Voss <voss@lyx.org>
5633 * insetgraphicsparam.C: change c%, p% to col%, page%
5635 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5637 * insetspecialchar.C (isLineSeparator): disable the nice code to
5638 allow linebreaks after hyphenation and menu separators.
5640 2002-03-26 Herbert Voss <voss@lyx.org>
5642 * insetgraphics.C (figinsetRead): set the right lyxview
5644 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5646 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5647 $\backslash$ and pass a "string const &" to the function.
5648 (prepareFile, latex): use Path rather than MakeAbsPath.
5650 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5652 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5653 proper fix to the graphics cache.
5654 (latex): "really" nice output if the file is not found ;-)
5656 2002-03-26 Juergen Vigna <jug@sad.it>
5658 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5659 (collapseParagraphs): fixed inserting of separator ' '
5661 * insettabular.C (insertAsciiString): only check for buffer lenght
5662 not if we have \t or \n inside the buffer as if we don't have we only
5663 have 1 cell and that's it!
5665 * insetert.C (close): don't collapse if inlined.
5667 2002-03-25 Herbert Voss <voss@lyx.org>
5669 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5670 graphics file does not exist.
5672 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5674 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5675 path when preparing export.
5677 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5678 no longer MakeRelPath.
5680 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5682 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5683 Used to determine the absolute path to the graphics file in the
5684 graphics cache and only in the graphics cache.
5685 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5686 make graphics file name absolute if it is stored as a relative path.
5688 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5689 make graphics file name absolute if it is stored as a relative path.
5691 * insettext.C (edit): emit an updateParagraph signal on entering a text
5692 inset. Needs to be emitted when leaving the inset also.
5694 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5696 * all files: ws cleanup
5698 * Makefile.am: remove ld -r stuff
5700 2002-03-21 Juergen Vigna <jug@sad.it>
5702 * insettext.C (appendParagraphs): new function added to append
5703 the paragraphs to this insets paragraphs.
5705 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * Makefile.am: special rules if partial linking
5709 2002-03-19 Juergen Vigna <jug@sad.it>
5711 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5713 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5715 * insetgraphics.C: Clean up Baruch's comments a little.
5716 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5718 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5721 * insettheorem.C: wrap warnings
5723 * insetgraphics.C: improve messages, move cached_status_
5724 setting to safer place
5726 2002-03-18 Juergen Vigna <jug@sad.it>
5728 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5730 (localDispatch): ditto
5732 * insettext.C (edit): removed unneeded showCursor calls.
5733 (localDispatch): ditto.
5735 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5737 * insetgraphics.h: remove display() method.
5739 2002-03-11 Juergen Vigna <jug@sad.it>
5741 * insetgraphics.C (draw): hack to fix the redrawing bug.
5742 (draw): seems this fixes #268 (force redraw of row if we changed).
5744 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5745 this inset text (don't know why I missed this earlier).
5747 2002-03-08 Juergen Vigna <jug@sad.it>
5749 * insettabular.C (updateLocal): do a FULL update if we're not locked
5750 and only a CELL update is asked.
5752 * insettext.C (updateInsetInInset): update insets inside inset also
5753 if it isn't inside the_locking_inset.
5755 * insettabular.C (updateInsetInInset): ditto.
5757 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * insetexternal.C (doSubstitution): check whether we are using a
5760 temp dir for defining $$FPath
5762 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5765 * insettext.C: remove #include "WorkArea.h".
5767 2002-03-06 Juergen Vigna <jug@sad.it>
5769 * insettext.C (draw): fixed frame redrawing.
5770 (clear): forgot to set the inset_owner of the paragraph.
5772 * insetert.C (status): pay attention the bv can be 0 here!
5773 (getMaxWidth): add the default leftMargin
5775 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5777 * insetert.C (getMaxWidth): make w unsigned int.
5779 2002-03-05 Juergen Vigna <jug@sad.it>
5781 * insetert.C (status): change behaviour of Inlined.
5782 (getMaxWidth): added for new inlined behaviour.
5784 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5786 * insetnote.h (linuxdoc, docbook): add empty methods.
5787 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5788 before being initialized.
5790 2002-03-05 Juergen Vigna <jug@sad.it>
5792 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5793 only that one in the inset. Should be enough.
5794 (updateLocal): set the selection cursor always if we don't have a
5795 selection to be sure it's set!
5797 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5799 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5801 * insettext.C (clear): a gross hack to set layout on a newly
5804 2002-03-04 Juergen Vigna <jug@sad.it>
5806 * insettabular.C (localDispatch): inserted handling of
5807 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5808 (insertAsciiString): new helper function.
5810 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5812 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5815 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5817 * insettext.C (InsetText): initalize newly created par with
5818 default layout. add bufferparams parameter
5821 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5822 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5823 * insetert.[Ch] (InsetERT): ditto
5824 * insetfloat.[Ch] (InsetFloat): ditto
5825 * insetfoot.[Ch] (InsetFoot): ditto
5826 * insetfootlike.[Ch] (InsetFootLike): ditto
5827 * insetmarginal.[Ch] (InsetMarginal): ditto
5828 * insetminipage.[Ch] (InsetMinipage): ditto
5829 * insetnote.[Ch] (InsetNote): ditto
5830 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5832 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5834 * insettext.C: layout as string
5836 * insetinclude.C: layout as string
5838 * insetert.C: layout as string
5840 * insetbib.C: layout as string
5842 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5845 * insettabular.C: remove #include "lyx_gui_misc.h".
5847 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5852 * inset.h: remove figinset, yahoo !
5854 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5856 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5857 copy c-tor and initialise member variables in the correct order.
5859 2002-02-28 Juergen Vigna <jug@sad.it>
5861 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5863 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * inset.h: ... and add a better one here.
5867 * insetcommand.C (insetButtonRelease): remove that one which was a
5870 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5872 * insetcommand.C (insetButtonRelease): ... and move it here.
5874 * inseturl.h: remove insetButtonRelease from there...
5876 2002-02-26 Juergen Vigna <jug@sad.it>
5878 * inseturl.h: Added a insetButtonRelease call returning true as
5881 * insetlabel.C (edit): Fixed wrong update handling after change I
5882 leave in the wrong code for the one who wrote it to remove and have
5883 a look what he did wrong.
5885 * insettabular.C (localDispatch): force a SELECTION update if we
5886 had a selection and we passed the event down to the inset (fix #213)
5887 (localDispatch): handle font changing stuff when we have a cell
5888 selection so that the selection is not rewoked. I don't really like
5889 this fix, but it's the only way I see to do it right now.
5891 2002-02-22 Juergen Vigna <jug@sad.it>
5893 * insettext.C (insetUnlock): set the cursor to the second paragraph
5894 if available and if the first one is empty (fix #191).
5896 2002-02-20 Juergen Vigna <jug@sad.it>
5898 * insettext.C (getDrawFont): implemented this function to call the
5899 one of the owner if present as the owner normally knows what to do
5902 * insetert.C: implement getDrawFont() function and comment out all
5903 the crap for setting a special latex font inside this inset.
5904 (InsetERT): added a Lanugage parameter to this constructor.
5906 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5907 change the font for being drawn on screen (used only in InsetERT for
5910 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5911 and also above (was missing).
5912 (updateLocal): don't remove the cell selection if we have one this
5913 should be done where we really want to remove it.
5915 2002-02-20 José Matos <jamatos@fep.up.pt>
5917 * insetinclude.h: include_label made string const.
5919 * insetinclude.C (InsetInclude): moved include_label initialization.
5922 (validate): fix support for temporary directory, for docbook and
5925 * insetgraphics.h : new private member, graphic_label, that holds
5926 the entity name that defines the graphics location (SGML).
5928 * insetgraphics.C (unique_id): new function to give a unique label
5931 (validate): the file locatation is given by an entity reference.
5933 2002-02-18 Herbert Voss <voss@lyx.org>
5935 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5937 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5939 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5940 as support/systemcall.[Ch] and of class Systemcalls as class
5943 2002-02-18 José Matos <jamatos@fep.up.pt>
5945 * insetinclude.C (validate): some code only applies to latex buffers,
5946 it was made conditional.
5948 2002-02-12 Herbert Voss <voss@lyx.org>
5950 * insetgraphics.C: (prepareFile) do not check at this time
5951 if the file is present.
5953 2002-02-12 Herbert Voss <voss@lyx.org>
5955 * insetgraphics.C: latex(), return the correct newlines
5957 2002-02-13 José Matos <jamatos@fep.up.pt>
5959 * inseturl.C (docbook): escape & in url.
5961 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5963 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5964 after HYPHENATION and MENU_SEPARATOR
5966 * inset.h (isLineSeparator): new method, returns false by default.
5968 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5970 * insetert.C (status): do not update the text inset, but the ERT
5973 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5975 * insetnote.C: use notebg for background
5977 2002-02-08 Herbert Voss <voss@lyx.org>
5980 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5981 prevent LyX from unzipping when this should be handled
5982 by latex vis the graphic.cfg.
5985 2002-02-08 Herbert Voss <voss@lyx.org>
5987 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5988 exists, than return filename with extension
5990 2002-02-06 Herbert Voss <voss@lyx.org>
5992 * insetgraphic.C: prepareFile(): don't convert the file, when
5993 it's not viewed in LyX. Saves a lot of time when opening a
5996 2002-02-05 Herbert Voss <voss@lyx.org>
5999 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
6000 and adding a rotate bool similiar to subcaption
6002 2002-02-04 Herbert Voss <voss@lyx.org>
6005 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
6006 similiar view to the LaTeX one. Get zipped files work.
6008 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6010 * insetgraphicsParams.C (init): set display to DEFAULT.
6011 No longer #include "lyxrc.h".
6013 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6015 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
6016 for now (so that the code compiles).
6018 2002-02-02 Herbert Voss <voss@lyx.org>
6020 * insetgraphic.C: delete inVariant() and some minor changes
6021 * insetgraphicsParams.[C]:
6023 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6025 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6026 interogate lyxrc.display_graphics before diaplaying the graphic.
6028 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6029 InsetGraphicsParams::DisplayType.
6031 2002-01-31 Herbert Voss <voss@lyx.org>
6033 * insetgraphic.C: (readfigInset) set display to pref-default
6035 2002-01-30 Herbert Voss <voss@lyx.org>
6037 * insetgraphic.C: get the filetyp from it's contents
6038 * insetgraphicparams.C: add token scale and lyxrc.display when
6039 creating a new inset
6041 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6043 * figinset.C: added using std::ios directive.
6045 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6047 * figinset.C (runqueue): open translation file in binary mode (for
6050 2002-01-27 Herbert Voss <voss@lyx.org>
6052 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6053 all options and to be sure that the old figinsets are correct
6055 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6056 structure and to support all lengths as LyXLength. The Parameter
6057 structure changed again, but reading of "old" 1.2 graphic insets
6060 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6062 * insetert.h (forceDefaultParagraphs): Added
6064 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6066 * insettabular.C (getMaxWidth):
6067 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6069 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6071 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6072 of LyXLength::inPixels
6074 * inset.C (latexTextWidth):
6075 * insetminipage.C (latexTextWidth): new method, which implements
6076 the equivalent of the LaTeX macro \textwidth
6078 * insetminipage.C (getMaxWidth): use latexTextWidth
6080 2002-01-18 Juergen Vigna <jug@sad.it>
6082 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6086 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6088 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6091 2002-01-17 Juergen Vigna <jug@sad.it>
6093 * insettabular.C (lockInsetInInset): same change as in insettext.
6095 * insettext.C (draw): width() function was called without setting
6096 the right top_x which could lead to wrong insetWidth setting!
6097 (lockInsetInInset): call edit instead of calling lockInset if we
6098 have to lock an inset inside!
6099 (edit): we have to also tell the inset that we have to redraw the
6100 frame on an edit call if this inset draws a frame only if locked.
6102 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6104 * insetbib.C (getFiles): uncomment Path variable.
6106 2002-01-16 Juergen Vigna <jug@sad.it>
6108 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6111 2002-01-16 Allan Rae <rae@lyx.org>
6113 * insetinclude.C (docbook): someone forgot a ";"
6115 2002-01-16 José Matos <jamatos@fep.up.pt>
6117 * figinset.C (docbook): removed a old place holder "@".
6118 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6119 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6120 ascii text version, clearly guarded inside a CDATA section.
6121 (docbook): in docbook 4, inlinegraphics is empty.
6122 * insettabular.C (linuxdoc): export the ascii version of the table
6123 inside a CDATA section.
6125 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6127 * insetparent.C (InsetParent):
6128 * insetgraphicsParams.C (Write):
6130 * insetgraphics.C (prepareFile):
6133 * insetexternal.C (executeCommand):
6134 (doSubstitution): use Buffer::filePath
6136 * insetbib.C (getFiles): add a #warning for Angus
6138 * insetgraphics.C: Add a remark about how filenames should be
6139 considered to be relative to buffer (but absolute is still allowed)
6140 (draw): do not try to get status if lyxrc.use_gui is false
6142 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6145 * insetcollapsable.[Ch]:
6146 * insettabular.[Ch] (searchForward, searchBackward): change the
6147 bool const & params to bool.
6149 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6150 to avoid the name clash with InsetCollapsable's methods of the same
6151 names but different functionality.
6153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6155 * insettext.C (ascii): use lyx::count rather than countChar.
6157 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6159 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6161 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6163 * insetgraphics.C (updateInset): do not try to render image if
6164 lyxrc.use_gui is false (bug #104)
6166 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6167 if file does not exist
6169 * figinset.C (browseFile): add shortcuts to directory buttons
6171 * insettext.C (updateLocal): update menubar and toolbar here too.
6173 2002-01-13 Allan Rae <rae@lyx.org>
6175 * insettabular.C (InsetTabular): Both constructors now initialise
6176 all class variables.
6178 2002-01-11 Juergen Vigna <jug@sad.it>
6180 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6182 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * insettabular.C (getStatus): add forgotten brace around multiline
6187 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6189 * insetfloat.C (validate): require "float" instead of "floats".
6191 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6193 * insettabular.C (getStatus): use FuncStatus
6195 2002-01-08 Juergen Vigna <jug@sad.it>
6197 * insettabular.C (insetButtonRelease): now this should work too
6200 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6201 if the width is a percentage.
6203 * inset.h: added isChar() function and implemented this for
6204 insetspecialchar insetquotes and insetlatexaccent.
6205 added forceDefaultParagraphs() and implemented it for insettabular.
6207 2002-01-07 Juergen Vigna <jug@sad.it>
6209 * insettext.C (getLyXText): Fixed this function. An insert into the
6210 map is only done if we REALLY have a new BufferView.
6212 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6214 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6216 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6218 * insetinclude.C: fix use of FileInfo
6220 2002-01-07 Juergen Vigna <jug@sad.it>
6222 * insettabular.C (draw): fixed clearing of cell around inset.
6224 2002-01-05 Juergen Vigna <jug@sad.it>
6226 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6227 variables are updated.
6229 * insettabular.C (resetPos): set always the inset_y as it may be
6230 needed in another function.
6231 (searchBackward): don't draw while searching.
6233 2002-01-04 Juergen Vigna <jug@sad.it>
6235 * insettext.C (lockInsetInInset): forgot to set a cursor.
6237 2002-01-02 Juergen Vigna <jug@sad.it>
6239 * insettext.C (insertInset): make the correct undo informations on
6240 inserting new insets.
6242 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6244 * insettabular.C: correct single-cell select vertically
6246 2001-12-27 Juergen Vigna <jug@sad.it>
6248 * insettabular.C (ascii): export as tab-separated-values if the
6249 function was not called from export (f.ex.: clipboard).
6251 * insetcollapsable.h: added default support for ascii, linuxdoc and
6252 docbook export (the insettext is exported by default!)
6254 * insettabular.C (copySelection): suff the clipboard with the tabular
6255 data in a tab separated format, seems more naturals then with all the
6258 2001-12-24 Juergen Vigna <jug@sad.it>
6260 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6261 to check for REAL mouseMotion.
6263 2001-12-20 Juergen Vigna <jug@sad.it>
6265 * inset.C (cursor): return the owners cursor if available instead of
6266 always only the bv->text->cursor.
6268 * insettabular.C (checkLongtableSpecial): works now.
6270 2001-12-19 Juergen Vigna <jug@sad.it>
6272 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6273 this has to be always row + 1 as 0 means not selected!
6274 (checkLongtableSpecial): added
6275 (tabularFeatures): better longtable options support
6277 * insettext.C (resizeLyXText): reinit the text always also on a
6280 2001-12-18 Juergen Vigna <jug@sad.it>
6282 * insettext.C (updateInsetInInset): look if we have to autocollapse
6283 paragraps and return if the update is requested for ourself.
6285 * insetert.C (status): update the insettext not myself as that is what
6288 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6289 function only return if the update was requested with myself.
6291 * insettext.C (insetButtonPress): fixed stupid bug.
6292 (various functions): pay attention that lt is cleared BEFORE calling
6293 updateLocal() and try to use it in the right manner (don't use it
6294 if it's not really neccessary!)
6295 (collapseParagraphs): insert a blank between collapsing paragraphs
6296 if neccessary (not already there!).
6298 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * insettabular.C: move includes around a bit, add a couple of
6303 * insettext.[Ch]: move includes around a bit, other ws changes and
6306 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6308 * insettext.C (insetButtonRelease): fix compile problem
6310 2001-12-17 Juergen Vigna <jug@sad.it>
6312 * insettext.C (insetButtonPress): set the selection cursor!
6313 (insetButtonPress): clear the selection (and set with that the
6314 selection.cursor) if we only hit an inset!
6316 * insetert.C (read): removed piece of compatibility code only needed
6319 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6322 * insetcollapsable.C (insetButtonRelease): changed so that it can
6323 open eventual existing popup dialogs on mousebutton==3.
6325 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6327 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6329 * inset.C (insetButtonRelease): return a bool for telling the outer
6330 world that we opened a dialog.
6332 2001-12-07 Juergen Vigna <jug@sad.it>
6334 * insettext.C (paragraph): remove the deleteing of paragraphs as
6335 it was a WRONG move!
6337 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6340 * insettabular.C: use new setSelection(). Allow
6341 selection of single cells.
6343 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6345 * insetquotes.C (latex): fix to use the local language setting at
6346 the point where the inset is inserted (different macros for
6347 different french packages)
6349 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6351 * inset.h: add par_owner_ member variable and parOwner
6354 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6356 * insettabular.C (everywhere): adapt because widths are now real
6357 widths and not strings
6359 * insettext.C (draw): re-introduce the calls to width(), ascent()
6360 and descent() to initialize the caching variables.
6362 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6364 * insettext.C (draw):
6365 (drawFrame): use insetWidth instead of last_width
6367 * insettext.h: remove variable last_width (insetWidth is exactly
6368 the same) and last_height (computed but never used!)
6370 2001-12-10 Allan Rae <rae@lyx.org>
6372 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6374 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6376 * insettext.C (insetAllowed): add comment
6378 2001-12-05 Juergen Vigna <jug@sad.it>
6380 * insettext.C (insetAllowed): fixed for the case that we directly
6381 ask the insettext from its LyXText.
6382 (paragraph): fixed the crash when assigning the par->next() from
6383 the EmptyParagraphMechanism!
6385 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6389 * insettext.C: change "while(" to "while ("
6391 2001-12-04 Juergen Vigna <jug@sad.it>
6393 * insetert.C (edit): handle Inlined status.
6395 * insettext.C (insertInset): trying John's fix for the trailing cursor
6397 * insetert.C (insetButtonPress): added to handle inlined status
6398 (insetMotionNotify): ditto.
6400 * insettext.C (clearInset): changed Painter & in BufferView * param,
6401 to be able to call ascent,descent methods.
6403 2001-12-03 Juergen Vigna <jug@sad.it>
6405 * insettext.C (updateInsetInInset): use lt variable to forbid
6406 changes of LyXText in an update call.
6407 (updateInsetInInset): fixed updating of non locked insets!
6409 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6411 * insettabular.C: capture some more functions to prevent
6412 selection drawing problems. Bug #451274
6414 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6417 * insetgraphicsParams.C: fix inverted sense of float_equal
6419 2001-11-30 Juergen Vigna <jug@sad.it>
6421 * insettabular.C (InsetTabular): use the save_id flag to create also
6422 the tabular with the same id's.
6424 * insettext.C (setParagraphData): added a same_id function for undo
6425 to set the same paragraph id's as of the paragraph we are setting.
6427 2001-11-30 José Matos <jamatos@fep.up.pt>
6430 * insettoc.[Ch]: DocBook -> docbook.
6432 2001-11-29 André Pönitz <poenitz@gmx.net>
6435 * insettext.C: further reduction of header dependencies by using
6436 lyx::layout_type and lyx::textclass_type from support/types.h
6438 2001-11-29 Juergen Vigna <jug@sad.it>
6440 * insettext.C: inserted a reinitLyXText function everywhere I delete
6441 the paragraphs! This should fixe the crashes we had.
6442 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6443 (paragraph): set the InsetOwner() of the new paragraphs!
6445 2001-11-28 André Pönitz <poenitz@gmx.net>
6447 * insetnote.C: add pos initialization that I removed without
6450 2001-11-28 Juergen Vigna <jug@sad.it>
6452 * insettabular.C (resetPos): hack to not crash with infinite paints.
6454 * insettabular.h: insert missing function allowSpellcheck()!
6456 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6458 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6461 * insetfloatlist.C: derive from InsetCommand so gui can use it
6464 2001-11-26 André Pönitz <poenitz@gmx.net>
6468 * insetnote.C: reduce header dependencies, introduce type for
6471 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6473 * various: update for Alert.h
6475 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6477 * inset.h: fix comment
6479 * insettext.C: use par->isInset()
6481 2001-11-22 Allan Rae <rae@lyx.org>
6483 * insetcollapsable.h:
6484 * inset.h: Changes to checkInsertChar() behaviour.
6485 Now return value indicates whether chars can be inserted.
6487 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6489 * various: updated to use the new LaTeXFeatures
6491 2001-11-14 José Matos <jamatos@fep.up.pt>
6493 * insetspecialchar.C (linuxdoc):
6494 (docbook): don't give a name to a unused variable.
6496 * insettext.C (docbook): removed unused variable.
6498 2001-11-13 Herbert Voss <voss@perce.de>
6500 * insetgraphic.C: fix scale bug
6502 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * inset.h (isSpace):
6505 (isLetter): new virtual methods.
6507 * insetspecialchar.C (isSpace):
6508 (isLetter): implement here.
6510 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6512 * inset.h: new inline helpers
6514 * insettext.C: use new helpers
6516 2001-11-07 José Matos <jamatos@fep.up.pt>
6518 * insettext.C (docbook): full support for paragraphs inside insettext.
6520 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6522 * insetindex.C: added header file for std::ostream.
6524 2001-11-03 José Matos <jamatos@fep.up.pt>
6526 * insetindex.C: added using std::ostream that I forgot yesterday.
6528 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6530 * insetindex.h (docbook):
6531 * insetindex.C (docbook): added support for docbook export.
6533 2001-11-02 José Matos <jamatos@fep.up.pt>
6535 * insetcaption.C(docbook): added support for docbook export.
6537 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6539 * insetexternal.C (updateExternal): Do not run update command if
6540 result file exists and is up to date.
6542 * ExternalTemplate.C (readFormat): Support the updateresult token.
6544 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6546 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6547 external_templates) to use the buffer->fileName() but only if
6548 previewing. Generating a TeX file should make FPath return
6551 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6554 * insetert.C: fix some problems
6556 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6558 * insetexternal.C (doSubstitution): Added $$FPath token
6559 to list of usable substitutions in external inset templates.
6561 2001-10-24 Juergen Vigna <jug@sad.it>
6563 * insettabular.C: use new ltType struct for setting longtable
6564 header and footers also new UNSET enums.
6566 2001-10-24 José Matos <jamatos@fep.up.pt>
6568 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6569 (docbook): If the table is not inside a float then wrap it inside
6570 <informaltable>...</informaltable>.
6572 2001-10-23 José Matos <jamatos@fep.up.pt>
6574 * insetref.C (docbook): removed / terminator to conform SGML.
6576 * insetspecialchar.C (linuxdoc):
6577 (docbook): Added support for special chars, more than ascii export.
6579 2001-10-22 Juergen Vigna <jug@sad.it>
6581 * insettext.C (checkInsertChar): added for REALLY checking the
6582 font of the inserted char in the right inset!
6584 2001-10-19 Juergen Vigna <jug@sad.it>
6586 * inset.h: added method allowSpellcheck() so that insets who do
6587 not have anything to spellcheck can tell and so they are over-jumped.
6588 Implemented for InsetText and co.
6590 2001-10-18 Juergen Vigna <jug@sad.it>
6592 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6594 2001-10-15 José Matos <jamatos@fep.up.pt>
6596 * insetert.C: allow export for docbook and linuxdoc
6598 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6600 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6602 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6604 * insetquotes.C (dispString): fix handling of latin9 quotes
6606 2001-10-03 Juergen Vigna <jug@sad.it>
6610 * insetcollapsable.C: change updateInset calls to not tell BV that
6611 we have changed status.
6613 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6615 * insettabular.C (deletable): make const
6617 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6619 * insetert.C (latex): Fix the returned value
6621 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6623 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6624 Returns string(), so nothing in an ERT inset is spellchecked.
6626 * insetgraphics.C (draw): print the filename if not displaying the
6628 (width): make sure that the width and draw methods are consistent.
6629 (updateInset): don't even load the image into cache if not displaying
6632 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6634 * various files (selectNextWord): renamed as
6635 selectNextWordToSpellcheck.
6637 * insetgraphics.C (draw): remove the previous change. Right place
6638 is in imageLoaderXPM.C.
6639 (draw): don't display the image if params.display == NONE.
6641 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6643 * figinset.C (runqueue):
6644 * insetgraphics.C (draw): set background colour of inset from
6645 background to the user-configurable graphicsbg.
6647 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6649 * insetquotes.C (InsetQuotes): when trying to decide the side of
6650 the quote, choose `left' only after a space or '('
6652 2001-09-04 José Matos <jamatos@fep.up.pt>
6657 * insetcollapsable.h
6675 * insetlatexaccent.C
6676 * insetlatexaccent.h
6681 * insetspecialchar.C
6682 * insetspecialchar.h
6686 * insettext.C (docbook): rename docBook method to docbook.
6688 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6690 * inset.h (getFirstParagraph): New virtual method.
6692 2001-08-20 Herbert Voss <voss@perce.de>
6693 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6694 in the the bibtex-database-gui for inserting a line
6697 If no style is given than there is no tex-output.
6699 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6701 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6705 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6707 * insetert.C (latex): Fix output for multiple paragraphs.
6708 (write): New code for writing paragraph data.
6709 (read): Set font after reading the inset.
6710 (localDispatch): Call set_latex_font() for more cases.
6712 * insetnote.h: Add empty validate method.
6715 * insetnote.C (InsetNote): Set language to the language of the
6718 2001-08-16 Juergen Vigna <jug@sad.it>
6720 * insettext.C: implemented the new FINISHED states.
6722 * insettabular.C: ditto
6724 * inset.h: added more FINISHED states for cursor right,up,down
6726 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6728 * insetfloatlist.C: use "FloatName List"
6730 2001-08-14 Juergen Vigna <jug@sad.it>
6732 * insetert.C (edit): forgot to set status_ in edit calls!
6734 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6736 * insettext.C: Compilation fix
6738 2001-08-13 Juergen Vigna <jug@sad.it>
6740 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6742 * insetcollapsable.C (edit): don't recollapse an already open inset.
6744 * insettext.C: fixed problem when reinitializing LyXText by not doing
6745 it while lt is in use and post this to the next possible time in
6747 (searchForward): fixed not unlocking of inset if nothing found.
6748 (edit): set cursor behind right (was set -1 pos).
6750 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6752 * insettabular.C (tabularFeatures): fixed fix where deleting the
6753 last row didn't get the right actcell!
6755 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6757 * insettext.C (localDispatch): Change language only when the inset
6760 2001-08-10 Juergen Vigna <jug@sad.it>
6762 * insettabular.C (selectNextWordInt): use the front using edit call.
6764 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6765 the parameter overwrite class variable inset.
6767 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6769 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6770 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6772 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6773 update only for fixed with cells.
6774 (resetPos): try to fix the lockup on spellchecking or s&r.
6776 * insettext.C (update): comment this out as it seems first wrong
6777 and second not needed anymore!
6778 (some functions): call reinitLyXText() only in update() in all other
6779 positions set only need_update = INIT.
6781 2001-08-08 Juergen Vigna <jug@sad.it>
6783 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6785 * insettext.C (insetUnlock): remove double-space on inset unlock.
6787 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6789 * insettabular.C (update): fixed cursor positon after an insert.
6790 (insetAllowed): do not allow to insert insets when not inside the
6792 (draw): clear below an inset too as it could have changed height.
6794 * inset.C (getMaxWidth): fixed width for inset in inset.
6796 * insettext.C (update): small fix.
6798 * insettabular.C (tabularFeatures): added selection support to
6799 DELETE_ROW/DELETE_COLUMN.
6801 2001-08-07 Juergen Vigna <jug@sad.it>
6803 * inset.C (getMaxWidth): recoded and all it's implementations!
6805 * insettext.C (init,setParagraph+constructors): cleanups
6806 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6807 are new and I want do a save/restore of the cursor position which is
6808 not possible anymore.
6810 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6811 (searchBackward): ditto
6812 (selectNextWord): ditto
6814 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6816 * insetlatexaccent.C (checkContents): Add some debug messages
6818 2001-08-07 Juergen Vigna <jug@sad.it>
6820 * insetert.C (read): don't use InsetCollapsable::read as we don't
6821 write the collapsed status anymore only the status.
6824 2001-08-06 Juergen Vigna <jug@sad.it>
6826 * insetert.C (set_latex_font): use LyXText's setFont directly.
6828 * insettext.C (drawFrame): fixed one time more the right position
6829 and size of the frame!
6831 * insetert.C (~InsetERT): hide the dialog.
6832 (showInsetDialog): added implementation
6835 (status): new function for the status of the ERT inset (3-state).
6836 (write): output also the status of the inset for readback!
6837 (read): readback the status if available otherwise use collapsed_.
6839 * insettext.C (edit): small fix of setting the position, which could
6842 * insetert.C (width): implement this function for inlined viewing.
6843 Added minimum width of 10 pixels!
6845 * insetminipage.C (InsetMinipage): just change the colors a bit so
6846 that border/background is a bit more visible. We will remove this
6849 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6850 function for getting the important widths for drawing in various
6851 functions and in LyXText.
6852 (draw): fixed up a bit (frame drawing/clearing)
6854 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * inset.C (convertFont): delete method. not used.
6858 2001-08-03 Juergen Vigna <jug@sad.it>
6860 * insettext.C (setFont): don't call for a draw update if we're just
6861 changing the cursor font!
6863 2001-08-02 Juergen Vigna <jug@sad.it>
6865 * insettext.C (draw): clear the background with the right color if
6866 needed. Update myself if x&max-width changed and return without doing
6867 anything. Let the update code handle the right stuff.
6869 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6870 inside another inset.
6872 2001-08-01 Juergen Vigna <jug@sad.it>
6874 * insetcollapsable.C (update): added an in_update bool so we avoid
6877 * insettabular.C (update): added an in_update bool so we avoid
6880 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6882 (update): added an in_update bool so we avoid reentering.
6884 * insettabular.C (localDispatch): clear col/row selection when doing
6885 something else inside an inset.
6887 * insettext.C (getLyXText): fixed bug when requesting a recursive
6890 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6892 * insetcite.C (latex): Paranoia check. Make sure that there is no
6893 whitespace between the citation keys.
6895 2001-07-31 Juergen Vigna <jug@sad.it>
6897 * inset.h (nodraw): make the set function also const so that this
6898 can be called from inside other const functions.
6900 * insetcollapsable.h: removed inline variable and moved it over
6901 to the only user InsetERT.
6903 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6904 inset opening immediately therein lying insets dialogs!
6906 * insetert.C (localDispatch): set the font also if we don't have any
6907 chars in this paragraph, otherwise if we delete all of em and start
6908 writing we have the wrong font.
6910 (draw): implemented for inline support
6911 (insetButtonRelease): ditto.
6913 2001-07-30 Juergen Vigna <jug@sad.it>
6915 * insettext.C (reinitLyXText): new function to reinit the insets
6916 text after lot's of paragraph changes. Use this instead of the
6917 cache.clear() which is VERY dangerous.
6919 * insetfloat.C (insetButtonRelease): we should only show the dialog
6920 if we press on the label otherwise we have problems to open mouse
6921 button 3 dialogs inside this float (f.ex. of a tabular!)
6923 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6925 * insetert.C: change back to "ERT"
6927 * insetfloat.C: handliign of RMB on label added.
6929 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6931 * insetgraphicsParams.C: #include LOstream.h here.
6933 * insetfoot.h: remove InsetFoot:: qualifier.
6935 2001-07-29 Baruch Even <baruch@lyx.org>
6937 * ChangeLog: Hiding time travel evidence.
6939 * insetgraphicsParams.h:
6940 * insetgraphicsParams.C:
6941 * insetgraphics.C: Added horizontal scale option, it actually
6942 scales both directions since it keeps image proportions.
6944 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6946 2001-07-29 Baruch Even <baruch@lyx.org>
6948 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6949 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6951 HACKY! Will need to add an EPS detection routine like old InsetFig
6954 2001-07-29 Baruch Even <baruch@lyx.org>
6956 * insetgraphics.C: Added EPSI to be an alias of EPS.
6958 2001-07-29 Baruch Even <baruch@lyx.org>
6960 * insetgraphics.C: Change GRAPHICS to Graphics.
6961 Changed image conversion rules (documented at the beginning of file).
6963 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6965 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6968 * insetgraphics.C: added a using std::endl directive.
6970 * insetcommand.h (getScreenLabel): removed pure virtual function,
6971 as it duplicates that in InsetButton.
6973 * insetbib.[Ch] (getScreenLabel):
6974 * insetbutton.[Ch] (getScreenLabel):
6975 * insetcite.[Ch] (getScreenLabel):
6976 * insetert.[Ch] (getScreenLabel):
6977 * insetexternal.[Ch] (getScreenLabel):
6978 * insetfloatlist.[Ch] (getScreenLabel):
6979 * insetinclude.[Ch] (getScreenLabel):
6980 * insetindex.[Ch] (getScreenLabel):
6981 * insetlabel.h (getScreenLabel):
6982 * insetparent.[Ch] (getScreenLabel):
6983 * insetref.[Ch] (getScreenLabel):
6984 * insettoc.[Ch] (getScreenLabel):
6985 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6987 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6989 (validate): remove check on "cite" when using natbib.
6991 2001-07-26 Baruch Even <baruch@lyx.org>
6993 * insetgraphics.C (draw): changed casting to be in one place
6994 rather than all over the function.
6997 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6999 * insetgraphicsParams.h:
7000 * insetgraphicsParams.C:
7001 * insetgraphics.C: Removed inline option and changed rotateAngle
7004 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7006 * insetfoot.C (validate): Added method to ensure that the
7007 right bit of LaTeX is emitted.
7009 * insetfoot.h: Added validate method to set the correct
7010 LaTeXFeatures bit for the special footnote code.
7012 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7014 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7017 2001-07-27 Juergen Vigna <jug@sad.it>
7019 * inset.h: remove unused font variable in parameter.
7020 removed checkInsertChar in UpdatableInset as it was equal to
7021 the one in Inset and so not needed.
7023 * insetert.C (checkInsertChar): implementation of function
7026 * inset.h: added new function checkInsertChar.
7028 * various files: added c-tor and clone() function.
7030 * insetcollapsable.h: removed clone function here as this should
7031 be only realized in REAL insets and added it to all collapsable
7032 insets! (with the copy-constructor).
7034 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7036 * insetminipage.C (read): handle missing parameters more gracefully
7038 * insetcollapsable.C (read): handel missing collapsed more gracefully
7040 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7042 * insetfloat.C (read): handle missing parameters.
7044 * insettext.C (read): handle old latex end_inset
7046 * insetert.C (setButtonLabel): new method
7047 (init): use it, to set the dynamic label correctly
7050 * Makefile.am (EXTRA_DIST): add files that is not part or the
7053 * insetcollapsable.h: remove autocollapsable (no users), remove
7054 draw_label, change_label_with_text and companion code. Remove args
7056 * insetert.[Ch]: move here instead (only user)
7058 * inset.h: rename private variable name to name_, make
7059 selectNextWord return a const string. make getInsetName return a
7060 string const &. Remove bool from open, add close.
7062 * Makefile.am: don't compile insetlist, insetsection
7065 2001-07-24 Juergen Vigna <jug@sad.it>
7067 * insetert.C (InsetERT): put init after the paragraph initialization,
7068 as otherwise we don't set the draw_label right.
7070 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7071 insets with the mouse without having strange selections.
7072 (edit): if the inset was collapsed and we open it here then put the
7073 cursor always at the beginning of the inset.
7074 (get_new_label): 15 instead of 10 max chars in the label.
7076 * insetert.C (localDispatch): added and handle various stuff we
7077 need to handle here (font setting on paragraph break, not permitted
7078 layout setting, etc.).
7080 * inset.h: added default copy-consturctor and implemented this in
7081 various insets with the change to use this in the clone function!
7083 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7085 * insetminipage.C (InsetMinipage): set background color to red :)
7087 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7089 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7090 draw frame mode is LOCKED.
7092 * insetcollapsable.C (edit):
7093 (insetButtonRelease): set update status to full when
7096 * insettext.C (clearInset):
7097 * insettabular.C (draw):
7098 * insetlatexaccent.C (draw): honor background color.
7100 * inset.h: new member background_color_, initialized to
7103 * inset.C (backgroundColor): new method.
7104 (setBackgroundColor): new method.
7106 * insetert.C (init): new method, called by the ctors.
7107 (InsetERT): when inserting contents, make sure the font is
7110 * insetnote.C (InsetNote): when inserting content, remove trailing
7112 (init): set background color to LColor::note
7114 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7116 * insetcollapsable.C: adjust
7118 * insetbutton.C: adjust
7120 2001-07-23 Juergen Vigna <jug@sad.it>
7122 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7123 parameter on the _collapsed function (was not needed) and call
7124 always width_collapsed().
7126 * insetert.C (InsetERT): use setLabel with "true" flag.
7128 * insetcollapsable.C: modified various functions to set the draw_label
7129 string right in any condition.
7130 (setLabel): added a bool parameter to set change_label_with_text.
7132 * insetcollapsable.h: added draw_label string which is set to the
7133 actual drawn label-string, while label is the original static label
7134 of this collapsable inset. Added bool change_label_with_text to set
7135 if we want that the label changes to the start of the InsetText's
7136 text when collabpsed. You can set this flag with the setLabel funciton.
7137 Added bool inlined for inlined collapsable insets, but not handled
7140 * insetcollapsable.C (get_new_label): added should get a new label
7141 from the InsetText beginning (for now 10 chars).
7143 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7145 * insetquotes.C (latex): fix the handling of french double quotes
7146 when not using the french pachage.
7148 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7150 * insetcollapsable.h: make WidthCollapsed mutable.
7152 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7153 InsetPrintIndex returns INDEX_PRINT_CODE.
7155 * inset.h: add INDEX_PRINT_CODE
7157 * insetcollapsable.C (draw): init widthCollapsed if necessary
7160 * insetquotes.C (width): use the local language, not the document
7163 (dispString): add additional spacing for all french languages,
7165 (validate): make it work when there is no default language
7167 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7169 * insetnote.C (init): new method, called by the constructors
7170 (InsetNote): new constructor with contents passed as a string
7172 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7174 * insetfootlike.C (insetAllowed): disallow float in footlike.
7176 * insetert.C (InsetERT): add collapsed argument to the constrctor
7179 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7181 * insetindex.h: shut off warning
7183 2001-07-20 Juergen Vigna <jug@sad.it>
7185 * insetcollapsable.C (update): recoded hopefully works now!
7187 2001-07-19 Juergen Vigna <jug@sad.it>
7189 * most files: implemented the below new introduced function.
7191 * inset.h: added new edit(BufferView *, bool front) method to be able
7192 to enter an inset from the front/back without knowing x/y positions
7193 and baselines inside the inset. So I just can tell the inset activate
7194 me and set the cursor on the front/back of yourself.
7196 2001-07-18 Juergen Vigna <jug@sad.it>
7198 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7199 is given to the InsetText.
7200 (insetButtonPress): ditto
7201 (insetButtonRelease): ditto
7202 (insetMotionNotify): ditto
7204 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7206 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7207 LIGATURE_BREAK, since the name is so stupid.
7209 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7211 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7212 the default InsetCollapsable methods. I.e., it can insert anything.
7213 (write) output the name of the inset, not some silly hack for
7214 compatability with the old InsetInfo.
7216 * insetinfo.[Ch]: removed.
7217 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7218 now collapsable, but functionality is otherwise identical to InsetInfo.
7220 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7222 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7224 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7227 * insetquotes.C: general cleanup
7228 (dispString): add spaces inside french double quotes.
7229 (latex): ditto. Moreover, treat first the case where the frenchb
7230 or french options have been given.
7232 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7234 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7237 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7239 * figinset.C (RegisterFigure): Print debug message only when
7240 current_view is available.
7242 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7244 * many files: update to match the change below
7246 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7247 implement the version which takes an inset here.
7249 * insetcollapsable.[Ch]: implement open and isOpen
7251 * inset.h: remove insertInsetAllowed from Inset
7252 (open): new method, to open or close an inset
7253 (isOpen): returns the status of an inset
7254 (isCollapsable, colapse): removed
7256 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7258 * insetquotes.C (dispString): display french guillemets when using
7261 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7263 * insetcollapsable.h: remove bogus return statements
7265 2001-07-18 Juergen Vigna <jug@sad.it>
7267 * insettabular.C (selectNextWord): fixed spellchecking for the
7268 first cell of a tabular (wasn't entered!)
7269 (getLyXText): changed to enter automatically insettext and return
7270 it's LyXText if we're locked.
7272 2001-07-17 Juergen Vigna <jug@sad.it>
7274 * various files: implemented the below functions.
7276 * inset.h: added functions
7277 - virtual string selectNextWord(BufferView *, float & value) const;
7278 - virtual void selectSelectedWord(BufferView *) { return; }
7279 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7280 needed for spellchecking correctly!
7282 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * insetert.C (latex): write out all paragraphs.
7286 2001-07-17 Baruch Even <baruch@lyx.org>
7288 * insetgraphics.C (draw): Removed unneeded casts.
7290 2001-07-16 Juergen Vigna <jug@sad.it>
7292 * insettext.C (update): fixed small oversight (reset lt to 0).
7294 2001-07-14 Baruch Even <baruch@lyx.org>
7297 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7299 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7301 Consistent use of Lsstream.h:
7302 * figinset.C: removed using std::ostringstream directive.
7304 * insetgraphics.C (createLatexOptions):
7305 * insetinclude.C (unique_id):
7306 std::ostringstream -> ostringstream.
7307 * insettext.C (localDispatch): std::istringstream -> istringstream.
7309 2001-07-13 Juergen Vigna <jug@sad.it>
7311 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7313 * insetcollapsable.C (getLockingInset): ditto.
7315 2001-07-12 Juergen Vigna <jug@sad.it>
7317 * insetcollapsable.h: added implementation of new function for
7320 * various files: added implementation of new insertInsetAllowed-func
7321 and redone the function a bit more.
7323 * inset.h: added isCollapsable(), bool collapsed(),
7324 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7326 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7328 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7329 LyXText which is marked for removal while we're using it!
7331 * insettext.h: added private LyXText * lt to use it to assure we are
7332 not deleting our LyXText while we're using it!
7334 2001-07-11 Juergen Vigna <jug@sad.it>
7336 * insettext.C (insertInset): check if we are before the inset after
7337 inserting it! This check IS needed. Remove the Undo-Call as it is
7338 called in LyXText::insertInset!
7340 * insettext.h: added struct InnerCache.
7342 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7343 that we ONLY delete the LyXText in the getLyXText() routine. So we
7344 are sure we don't delete LyXText while someone is working with it!
7346 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * insetexternal.C: (*it). -> it->
7349 * insettext.C: ditto
7351 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7353 * insetcollapsable.C (edit): always open collapsed insets (even if
7354 they are not autocollapsable)
7356 * insetcommand.C (operator=): simplify.
7358 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7360 * insetert.C (latex): handle META_NEWLINE
7362 2001-07-09 Juergen Vigna <jug@sad.it>
7364 * insetert.h: a normal InsetText can insert insets, but we won't.
7366 * inset.h: return default "false" on insertInsetAllowed and implement
7367 this function where a returnvalue != "false" is needed.
7369 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7371 * insetert.C (InsetERT): new contructor
7373 2001-07-06 Juergen Vigna <jug@sad.it>
7375 * a lot of files: added implementation of the below new functions
7376 and the change to clone(). Also the call of the new undo-functions
7379 * inset.h: added an inset_id, added functions getParFromID,
7380 getInsetFromID, firstParagraph, cursor and id functions, added
7381 bool same_ids to clone function.
7383 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7385 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7386 of BufferView * and shared_ptr<LyXText>
7388 2001-07-05 Juergen Vigna <jug@sad.it>
7390 * insettext.C (clear): deleted also the cache not only LyXText.
7391 (setParagraphData): ditto.
7393 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7395 * insetfloat.C (latex): let the specific placement take presedence
7396 if set, otherwise choose document placement if set, otherwise just
7397 use float default placement.
7399 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7401 * insettext.C (localDispatch): call CutAndPaste::'s static method
7404 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7406 * insetbib.C: no meed to include forms.h here.
7408 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7410 * insettext.C: added using std::make_pair directive.
7412 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7416 (deleteLyXText): ditto
7417 (resizeLyXText): ditto
7419 2001-07-02 Juergen Vigna <jug@sad.it>
7421 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7422 following calls are only returned the right pointer without the over
7423 head to search in the map.
7424 (various funcs): reset the cached_bview variable as this signs that
7425 the cache is not valid anymore.
7427 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7429 * insettabular.C (clone): do not copy the LyXTabular twice
7431 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7433 * insettext.h (TEXT): delete method
7435 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7437 * insetmarginal.C (latex):
7438 * insetfoot.C (latex): fix spacing of notes in LaTeX
7440 * insettext.C (localDispatch): use .c_str() on istringstream
7441 constructor argument.
7443 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7448 * inseturl.C: fix method names in these to begin
7449 with small char too, so they inherit
7451 2001-06-28 Juergen Vigna <jug@sad.it>
7453 * insettext.C (setFont): fixed font settings using toggleFree()
7454 instead of setFont().
7456 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * Change a lot of method names to begin with a small char.
7459 Changes to a lot of files because of this.
7461 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * insetfloatlist.C (Write): std:: qualify ostream
7466 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7470 * insetgraphics.C: send debug output to Debug::INFO instead of
7473 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7476 * insettabular.C (getStatus): update to use func_status
7478 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7480 * insetref.C (DocBook): added support for cross-references without
7483 2001-06-26 The LyX Project <jug@sad.it>
7488 * insetlabel.h: removed escape method and moved it to
7491 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7493 * insettabular.C (getMaxWidth): do the speedup in a different way,
7496 2001-06-24 The LyX Project <Asger>
7498 * insettabular.C (getMaxWidth): We cache a mapping from
7499 inset to cell in order to speed this method up.
7501 2001-06-24 The LyX Project <Asger>
7503 * insettext.C: Optimized InsetText::draw or something.
7505 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7507 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7509 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7511 * inset.h: name change from lyxinset.h
7513 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7515 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7517 2001-06-14 Juergen Vigna <jug@sad.it>
7519 * insettext.C (draw): removed warnings.
7521 2001-06-13 Juergen Vigna <jug@sad.it>
7523 * insettabular.C (nodraw): only go down the tree if we don't have
7524 that flag set otherwise it's obvious that we don't want to draw.
7525 (LocalDispatch): do also an update if we have an undispached result.
7527 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7530 * insetgraphicsParams.C:
7531 * insettext.C: removed // -*- C++ -*- as first line.
7533 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * lyxinset.h (resizeLyXText): shut off warning about unused
7538 2001-06-07 Juergen Vigna <jug@sad.it>
7540 * insettext.C (resizeLyXText): honor the new force flag.
7542 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7544 * insettabular.C (deleteLyXText): new function
7546 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7554 * insetcollapsable.C:
7555 * insetcaption.C: LColor tidy
7557 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * figinset.C: fix typo
7561 2001-06-01 Juergen Vigna <jug@sad.it>
7563 * insettabular.C (resetPos): small hack so that scroll is not set to
7564 0 when we are in the last column of a tabular. This is a problem we
7565 have because of constats 20 offset on both directions, so this can
7566 cause on the limit an endless loop.
7568 * insettext.C (SetFont): forgot that we can have locking insets ;)
7570 2001-05-31 Juergen Vigna <jug@sad.it>
7572 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7574 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7576 * figinset.C: add using std:: directive for the C functions which
7579 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7581 * insetfloat.C (Write): write out wide info
7582 (Read): read the wide info
7583 (Latex): use the wide info when creating latex.
7585 * insettext.C: adjust
7587 * insetgraphics.[Ch] (statusMessage): change to return string
7591 * figinset.C (runqueue): add std::
7594 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * insetcite.C (Ascii): add std:: qualifier
7598 2001-05-28 Juergen Vigna <jug@sad.it>
7600 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7601 a endless-width inset (maxWidth < 0).
7602 (Edit): change language only if not equal.
7604 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7606 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7608 2001-05-16 Juergen Vigna <jug@sad.it>
7610 * insettext.C (selectAll): added
7611 (clearSelection): added
7613 * insettabular.C (SetFont): now we may set a font on a whole selection!
7614 (getSelection): added helper function.
7616 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7618 * insetcite.C (Ascii): Add method.
7620 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7623 * insetbib.C: fix path for OS/2 & Win32
7625 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7627 * insetfoot.C (Latex): don't use % after footnote.
7629 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * insettext.C (Read): use clear
7632 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7634 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7636 * insetfloatlist.h: add a bunch of std:: qualifiers.
7638 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7641 FLOAT_LIST_CODE, renumber code list.
7643 * insettoc.C (getScreenLabel): remove support for float lists
7647 * insetfloatlist.[Ch]: new files
7649 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7651 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7653 * insettabular.C (LocalDispatch):
7654 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7657 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7659 * insettext.C: remvoe !NEW_INSETS cruft
7661 * insettabular.C: remove !NEW_INSETS cruft
7663 * insetcollapsable.h: remove !NEW_INSETS cruft
7665 * insetbib.C: remove !NEW_INSETS cruft
7667 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * insettoc.C: hack to make listof algorithm work
7671 2001-04-20 Juergen Vigna <jug@sad.it>
7673 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7675 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7677 * insetquotes.C (Latex): improve the guard against
7678 unwanted !` and ?` ligatures. This should really be done in
7679 another place (to catch all this ligatures at low-level).
7681 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7683 * insettext.C (init): remvoe leftovers from cursor_visible change
7684 (draw): use c++ cast
7685 (LocalDispatch): dispatch LFUN_MESSAGE
7687 * insettabular.C (InsetTabular): remove leftovers from
7688 cursor_visible, and scoped_ptr changes
7689 (draw): use c++ cast
7691 * insetcollapsable.C (draw): use c++ cast
7693 * ExternalTemplate.h: inherit privaely from noncopyable
7694 * insetcommand.h: ditto
7695 * insetinclude.h: ditto
7697 2001-04-16 Allan Rae <rae@lyx.org>
7699 * insettoc.C (Ascii):
7700 * insettext.C (draw):
7701 * insettabular.C (setPos):
7702 * insetminipage.C (Read):
7703 * insetfloat.C (placement):
7704 * insetcaption.C (Ascii, DocBook):
7705 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7706 an unrecognised preprocessor directive. So ensure they're wrapped.
7708 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7711 * insetexternal.C: set view on Clone. Add _ to private members.
7713 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * insettext.C (InsetText): fix new
7716 (InsetText): reindent some, simplify deletion of par list
7717 (clear): simplify deletion of par list, fix new
7718 (SetParagraphData): simplify deletion of par list
7720 * insettabular.[Ch] (getLabelList): implement new method
7722 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7724 * lyxinset.h: do not include gettext.h...
7732 * insetlatexaccent.C:
7736 * inseturl.C: ... and do it here instead
7738 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7740 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7742 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7744 * insetcollapsable.[Ch] (getLabelList): implement
7746 * insettext.[Ch] (getLabelList): implement
7748 * insettext.h: reindent
7750 * insettabular.h: make tabular a scoped_ptr
7752 * insettext.C (init): adjust for cursor_visible
7753 (ToggleInsetCursor): constify asc and desc, font, adjust for
7755 (ShowInsetCursor): constify asc and desc, font, adjust for
7757 (HideInsetCursor): adjust for cursor_visible
7759 * insettabular.C: reindent some
7760 (InsetTabular): adjust for scoped_ptr and cursor_visible
7761 (InsetTabular): ditto
7762 (~InsetTabular): delete delete
7763 (Clone): adjust for scoped_ptr
7764 (Read): constify old_format, adjust for scoped_ptr, move init of
7766 (draw): constify tx, localize loop vars.
7767 some other localization of variables, remove double initilizatons.
7769 * insetfoot.C: remove using std::ostream, add ostream where needed
7771 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7773 * lyxinset.h: some reindentaion, use initializer list for
7775 UpdatableInset: make cursor_visible a private var add
7776 public isCursorVisible(), add protected toggleCursorVisible() and
7777 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7779 * insettoc.C: remvoe using decl
7780 (getScreenLabel): make cmdname donst
7783 (Ascii): don't use endl
7785 * insetfootlike.C: remove using decl at file scope and add std::
7787 * insetmarginal.C: ditto
7789 * insetfoot.C: some reformatting
7791 * insetfloat.C (InsetButtonRelease): adjust the hit area
7793 * insetert.C (SetFont): some reformatting
7795 * insetcollapsable.C: some reformatting and constification
7796 (Clone): comment out.
7797 * insetcollapsable.h: some reformatting
7798 (Clone): comment out.
7803 2001-03-30 Juergen Vigna <jug@sad.it>
7805 * insetcollapsable.h: changen *inset to be a InsetText inset.
7807 * some files: changed to reflect the above change.
7809 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7811 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7812 InsetExternal::Params.
7813 Added operator==() and operator!=() for the Params struct.
7815 2001-03-29 Juergen Vigna <jug@sad.it>
7817 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7820 * insetminipage.C: removed widthp_ and all it's functions and changed
7821 to use new %-lengths of LyXLength.
7823 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7825 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7827 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7829 * insetgraphicsParams.C (operator!=): new function, needed by the
7830 ControlGraphics class.
7832 2001-03-28 Juergen Vigna <jug@sad.it>
7834 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7835 (checkAndActivateInset): don't use the values returned from
7836 call to bv->checkInsetHit.
7838 * insetminipage.C (Clone): set special minipage values.
7840 * insetcollapsable.C (draw): changed to draw the button in the
7841 upper left corner outside the textinset.
7842 (ascent): changed because of different drawing
7846 (InsetButtonPress): ditto
7847 (InsetButtonRelease): ditto
7848 (InsetMotionNotify): ditto
7850 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7852 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7856 2001-03-26 Juergen Vigna <jug@sad.it>
7858 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7860 * insettext.C (ShowInsetDialog): implemented above function.
7862 * insettabular.C (ShowInsetDialog): ditto
7864 * insetminipage.C (ShowInsetDialog): ditto
7866 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7868 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7869 InsetInclude::Params. Don't store a buffer * in Params. Store the
7870 master file name instead.
7872 2001-03-23 Juergen Vigna <jug@sad.it>
7874 * insetcollapsable.C (InsetMotionNotify):
7875 (InsetButtonRelease):
7876 (InsetButtonPress): fixed y-offset (minipages).
7878 * insettext.C (draw): force a FULL update if cleared == true.
7880 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7881 routine to draw the minipages on its position-flag.
7882 (InsetInInsetY): give back the right y position, because of minipage
7885 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7888 * insetfloat.C (DocBook): docbook export code.
7890 2001-03-22 Juergen Vigna <jug@sad.it>
7892 * insetminipage.C (getMaxWidth): added function to set the drawing
7894 (Read): should work now!
7896 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7897 if we create a new inset.
7899 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7901 * figinset.C (fl_set_preemptive_callback): moved definition outside
7904 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7906 * insetminipage.C (Read): prepare for reading of minipage arguments.
7908 2001-03-18 Baruch Even <baruch@lyx.org>
7910 * insetgraphics.C: Minor cleanups of the comments and code.
7912 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7914 * insetminipage.C (InsetMinipage): default to not collapsed
7916 2001-03-16 Juergen Vigna <jug@sad.it>
7918 * insetminipage.C (width): modified with to be a string
7919 (widthp): added widthp (for % width) support functions.
7920 (InsetButtonRelease): added to open the options dialog on button==3.
7921 (~InsetMinipage): added to hide the dialog.
7923 * insetminipage.h: added hideDialog signal
7925 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7927 * insetminipage.h: change the order or Position to match
7928 LyXParagraph::MINIPAGE_ALIGNMENT
7930 * several files: remvoe CXX_WORKING_NAMESPACES
7932 * ExternalTemplate.h: noncopyable is in namespace boost
7933 * insetinclude.h: ditto
7934 * insetcommand.h: ditto
7936 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7938 * insettext.C (Edit): #else# -> #else.
7939 * insettoc.C: added using directive.
7941 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7943 * insetminipage.h: add pos, inner_pos, width and height. + getters
7944 and setters for all of them.
7946 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7948 * insetinclude.C (Latex): Do not exit when the textclass of the
7949 included file differ from the textclass of the parent file.
7951 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7953 * ExternalTemplate.C (read): the reading of external insets now checks
7954 for \end_inset and removes it form the input stream.
7956 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7958 * ExternalTemplate.h:
7959 * ExternalTemplate.C:
7961 * insetexternal.C: move form to GUII
7963 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7966 * insetinclude.C: add InsetIncludeParams, use
7967 composition rather than derivation of InsetCommand
7969 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7971 * insettoc.C (Ascii): use the Buffer typedefs
7973 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7975 * insettoc.C (Ascii): implement for dynamic number of lists
7977 * insetcaption.[Ch]: update from new_insets branch
7978 * insetfloat.[Ch]: ditto
7980 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7983 * figinset.C: use new File Dialog
7985 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7987 * insettext.C: changes becuase of ParagraphParameters.
7989 2001-02-28 Baruch Even <baruch@ev-en.org>
7991 * insetgraphics.C (updateInset): Changed due to the change in
7994 2001-02-26 Juergen Vigna <jug@sad.it>
7996 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7997 handled in LyXText).
7999 2001-02-23 Juergen Vigna <jug@sad.it>
8001 * insettext.C (draw): some small repainting fixes.
8002 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
8004 * inset.C (LocalDispatch): changed action to be a kb_action (as it
8005 should be) and not an int.
8007 * insettabular.C (LocalDispatch): ditto
8009 * insettext.C (LocalDispatch): ditto
8011 * insetcollapsable.C (LocalDispatch): ditto
8013 2001-02-22 Juergen Vigna <jug@sad.it>
8015 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
8016 DISPATCH it and we don't have a locking_inset.
8018 2001-02-21 Baruch Even <baruch@ev-en.org>
8020 * insetgraphics.[Ch]: Changed to use
8021 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8023 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * insetcollapsable.C (getLyXText): add const qualifier to second
8028 2001-02-22 Juergen Vigna <jug@sad.it>
8030 * insettext.C (getLyXText): honor the recursive parameter.
8031 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8033 * inset.C (getLyXText): added bool recursive parameter.
8035 * insettext.C (SetUpdateStatus): or the update codes.
8036 (draw): check need_update with &.
8037 (InsetButtonPress): set no_selection to not put a selection when
8038 entering an inset and it is redraws in another spot.
8040 * insettext.h: made need_update an int.
8042 2001-02-20 Baruch Even <baruch@ev-en.org>
8045 * insetgraphisc.C: Changed to use better semantics when loading images
8046 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8048 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8052 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8053 consistent with InsetTabular.
8055 2001-02-19 Juergen Vigna <jug@sad.it>
8057 * insettabular.C (LocalDispatch): implement PAGE up/down.
8059 * insettext.C (draw): clear all of it on need_update==INIT too!
8061 * insettabular.C (InsetUnlock): always clear the selection.
8063 * inset.C (scroll): normally we only want to scroll the inset until
8064 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8066 2001-02-14 Juergen Vigna <jug@sad.it>
8068 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8069 (resetPos): fixed scroll behaviour.
8070 (LocalDispatch): do an update if moving cursor inside a table cell
8071 requests a scroll of the tabular.
8073 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8075 * insettext.C (textWidth): constify local var
8077 * insettabular.C: small cleanup.
8079 * insetfoot.C (Latex): constify local var
8081 * insetcollapsable.C: small cleanup.
8083 * figinset.C (runqueue): use compare instead of strcmp
8085 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8088 * insetinfo.C: remove cruft
8090 2001-02-14 Juergen Vigna <jug@sad.it>
8092 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8094 2001-02-13 Juergen Vigna <jug@sad.it>
8096 * insettext.C (InsertInset): don't move left (is this right?)
8098 * insettabular.C (LocalDispatch): use of the no_draw variable
8100 * insettabular.h: new no_draw variable to stop redraw
8102 * insettabular.C (TabularFeatures): fixed update for alignment change
8104 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8108 * insetbib.C: move dialogs to frontends/
8110 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8112 * insettext.C (LocalDispatch): Restore the language if the inset
8115 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8117 * insettext.C (moveRightIntern): Update the selection cursor.
8118 (moveLeftIntern): Ditto.
8120 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * Makefile.am: remove BoundingBox.h
8124 * BoundingBox.h: removed
8126 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8128 * insettext.C (LocalDispatch): Update selection cursor when moving
8129 cursor to the right.
8130 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8131 (moveLeftIntern): Ditto.
8133 2001-02-05 Baruch Even <baruch.even@writeme.com>
8135 * insetgraphics.C: Updated automatic image conversion, it now goes into
8136 temporary directory instead of with the image itself.
8138 2001-01-21 Baruch Even <baruch@ev-en.org>
8140 * insetgraphics.C: Added Docbook support. Added Automatic image
8141 conversion to EPS or PNG when needed (support bitmap graphics).
8143 2000-11-02 Baruch Even <baruch@ev-en.org>
8146 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8147 to '\n' and removal of commented out code.
8149 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8151 * insetbib.C (callback): Update citations if the key has changed.
8153 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8155 * insetbib.C (InsetBibKey): Better computation of default key.
8156 (getScreenLabel) Show both the key and the label.
8157 (getBibLabel): New method.
8158 (callback): Force a redraw if the inset have been changed.
8160 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8162 * insetref.C (getType, getName): Move methods from
8163 src/frontends/xforms/FormRef.C.
8165 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8167 * insettabular.C: Various improvements (use only one dummy position).
8169 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8171 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8172 par->bibkey->width. This fixes the crashes when running without
8173 gui or when having included documents.
8175 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8177 * insetcommand.C (getAsString, setFromString): Cleanup.
8179 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8181 * insetref.C: Add the array InsetRef::types that contains
8182 information about all supported reference types.
8184 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * lyxinset.h: remove trailing comma in enum.
8188 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8190 * insettext.C: kill LyXBell.