1 2005-12-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetbase.h (noFontChange): refine documentation
5 2005-12-16 Martin Vermeer <martin.vermeer@hut.fi>
7 * insetcollapsable.C: fix "turds" when changing openinlined_
9 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
11 * insetbox.[Ch]: fix bugs 2136, 2123
13 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
15 * insetbox.C (metrics): fix width problems (bug 2137)
17 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * insettabular.C (tabularFeatures): Move some code to
20 setColumnPWidth and setMColumnPWidth
22 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * insetcharstyle.[Ch]:
27 * insetlatexaccent.[Ch]:
31 * insetspecialchar.[Ch]:
32 * inseturl.[Ch]: new method textString (fix bug 2089)
34 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
36 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
38 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 change argument of forceDefaultParagraphs from inset to cell.
45 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
47 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * insetbase.h: document the EDITABLE enum.
51 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
53 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
56 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
58 * insetbranch.C: partial fix bug 2092: branches not
59 propagated to child docs
60 * insetcharstyle.C: Also replace LColor::red by LColor::error
62 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * insetbranch.C (isBranchSelected): take a buffer as argument.
65 adapt to work with child documents (bug 2092).
67 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * insettabular.C (doDispatch): get rid of annoying debug message.
71 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
72 code from InsetCollapsable.
74 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
75 inset is toggled to Closed, move cursor to the right (part of bug
78 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
80 * insettext.C: remove obsolete old_pit
82 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * insettabular.C (doDispatch): do not override the result of
85 LFUN_RIGHT/LEFT. (bug 2101)
87 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
89 * insetvspace.C (metrics): compute ascent and descent in a way that
90 the cursor is placed on the same level as the label text
92 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
95 of autoopen, which means that collapsables automatically open
96 whenever the cursor enters (and close again on leave) (fixes bug 1921).
98 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
101 and '\space' to '\space{}' (consistency).
103 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * insettabular.C (tabularFeatures): validate cursor after
106 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
108 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
110 * insettabular.C: fixes bug 1765: multicol cell width on screen not
113 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * insettabular.C: use recordUndoInset instead of recordUndo
116 (fixes bug 1937 and 1986).
118 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * insetvspace.C (metrics): include label text
121 * insetvspace.[Ch] (label): new, needed for the above
123 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * insetbase.[Ch]: new bool neverIndent() which indicates if
126 an inset does not want paragraph indentation at all.
129 * insetoptarg.h: return true for neverIndent()
130 * insettext.[Ch]: return true for neverIndent() in case
131 of tabular cells (based on a crude guess).
133 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * insetline.C: Add forgotten include
137 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * insetline.C (latex): write the size argument of \lyxline again
140 * insetquotes.C (latex): adapt to OutputParams changes
142 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
145 when switching to pwidth cell (bugs 1296, 1840).
147 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * insettabular.C (draw): pass PainterInfro::erased_ to
151 (drawCellLines): add an erased bool and handle it.
153 2005-08-03 John Levon <levon@movementarian.org>
155 * insettext.C (clear): remove bool argument.
156 (read): adapt to clear() changes.
158 * insettabular.C (cutSelection): adapt to MarkErased changes.
160 * insettext.C (markErased):
161 * insettabular.C (markErased):
162 * insetbase.C (markErased): add bool argument.
164 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
167 after copying several cells (works around bug 1919).
169 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
171 * insetcharstyle.C (metrics,draw): consider inset label for
172 width computation; fix drawing of labels of undefined char styles
174 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
176 * insettabular.C (getStatus): fix Helge's bug that a number of insets
177 including ERT could not be inserted in tabular.
179 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * insetinclude.C (string2params): fix typo in error message (bug 1963).
183 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * insettabular.C (getStatus): disable line and paragraph breaks
186 in non-fixed-width cells (bug 1938).
188 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
191 * insetwrap.C: Do not use translatable strings as internal identifier
194 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
196 * insetbase.C: include boost/current_function.hpp
198 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
200 * insetbase.C (edit,editXY,index): supress some lyxerr messages
202 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
206 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
208 * insetlabel.C (changeRefsIfUnique): remove unused code
210 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
213 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
214 reverse the logic. Make sure to set updateButtonLabel_ to true in all
215 places where params is set (directly or indirectly).
217 2005-07-15 André Pönitz <poenitz@gmx.net>
219 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
221 2005-07-15 André Pönitz <poenitz@gmx.net>
225 * insetcollapsable.[Ch]:
227 * updatableinset.[Ch]: remove UpdatableInset
229 2005-07-15 José Matos <jamatos@lyx.org>
231 * insettext.C (plaintext): fix call to asciiParagraph.
233 2005-07-15 André Pönitz <poenitz@gmx.net>
235 * insetcollapsable.[Ch]:
236 * updatableinset.[Ch] (scroll, setScroll): sanitize things
238 2005-07-14 Angus Leeming <leeming@lyx.org>
240 * insetbibtex.C (latex): when processing the LaTeX file in
241 a temp directory, copy the BibTeX databases there, mangling their
242 names in the process. Do this so that BibTeX can process the database
243 because it *really*, *really* can't handle "files with spaces".
245 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
247 * insettext.C (doDispatch): reduce some debug blabbering
249 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
251 * ExternalSupport.C (subst_path): adjust to latex_path changes and
252 replace dots if appropriate
253 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
254 * insetexternal.C (validate): require lyxdot
256 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
258 * ExternalSupport.C (subst_path): new argument exclude_extension
259 * ExternalSupport.C (doSubstitution): exclude the extension when
261 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
262 the extension when quoting the file name
264 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * insetquotes.C (latex): always use \og/\fg for the french
267 languages; test against the language code instead of the babel
270 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
272 * insettabular.C (tabularFeatures): adjust cursor after adding a column
274 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * insetbranch.C (setButtonLabel): Make label prefix translatable.
278 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
280 * insettabular.[Ch] (dist): make it a real member of insettabular
281 and rewrite it to use the actuall cell dimensions for calculation,
282 not the insettext's deimensions (fixes bug 1801).
284 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * insetbibtex.C: (addDatabase): do not check for substrings but
287 but for whole tokens.
288 (delDatabase): make it actually work.
290 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
292 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
294 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * insetgraphics.C (prepareFile): don't strip the extension of quoted
298 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
300 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
303 when multiple cells are selected (bug 1837).
305 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * insetoptarg.C (InsetOptArg): make the inset open by default
310 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * insetvspace.C (draw): use VSpace::asGUIName.
314 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
316 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
317 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
318 cur.noUpdate() if nothing changed
319 * insetlatexaccent.[Ch]: spelling fixes
321 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
323 * insetcollapsable.C (doDispatch): fix
324 click-on-closed-collapsable-inset-crash bug.
326 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
328 * insettabular.C (pasteSelection):
329 * insettext.h (copy c'tor): fix paste inside tabulars.
331 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * insetoptarg.C (plaintext): add dummy method.
335 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
337 * insetbase.h (doDispatch): document a bit more
338 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
339 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
340 cur.bv().update(), because that leads to nested updates. Call
341 cur.noUpdate() instead where approriate.
343 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
345 * insetbibtex.C: change screen label
347 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
349 2005-05-06 José Matos <jamatos@lyx.org>
351 * insetcommandparams.C (scanCommand): fix out of range string access.
353 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
355 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
357 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
358 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
360 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
361 handle undefined character styles
362 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
363 handle undefined character styles
365 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
368 in getStatus and the tabularFeature string (bug 1860).
370 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
372 * insetbranch.C (getStatus): make the code more compact
374 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * insetcollapsable.C (doDispatch): do not pass through double/triple
377 click events when they are not in the insetext (bug 1797).
379 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
381 * insetbase.h: document a bit more
382 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
383 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
384 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
385 (getStatus): implement
386 * insetcollapsable.[Ch] (hitButton): take a const argument
387 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
390 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * insetcollapsable.C (doDispatch): pass through double/triple
393 click events (bug 1811).
395 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
399 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
400 but the SENSITIVE label type.
402 2005-04-18 Angus Leeming <leeming@lyx.org>
404 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
405 'use_latex_path' argument. In turn, passed to the new subst_path
406 function when replacing placeholders with paths.
408 * insetexternal.C (getScreenLabel):
409 * ExternalSupport.C (lots of places): change invocation of
410 doSubstitution in lots of places, specifying the appropriate values
411 for this 'use_latex_path' boolean.
413 * insetbib.C (latex):
414 * insetgraphics.C (latex):
415 * insetinclude.C (latex): pass path to latex_path rather than to
418 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
420 * insetcharstyle.C (validate): allow nested charstyle insets
422 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
424 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
426 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * insetfloat.C (InsetFloat):
429 * insetwrap.C (InsetWrap): do not set layout here.
431 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
435 * insetbase.h (getStatus): add more documentation
436 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
439 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
441 * insetcharstyle.C (metrics, draw):
442 * insetert.C (metrics, draw):
443 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
446 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
448 * insetexternal.C (validate):
449 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
450 multiple Requirements in external material template
452 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
454 * insettext.C (drawFrame): cosmetic fix
456 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
458 * ExternalSupport.C (writeExternal):
459 * insetgraphics.C (latex):
460 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
461 mis-count in computing latex error location
463 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
465 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
466 make it *not* descend into insets (fix a crash). Move the part
467 needed from editXY to a new function getNearestCell
469 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * insetinclude.C (InsetInclude): when constructing from another
472 InsetInclude, set set_label_ to false, since the value is never
475 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
477 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
479 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
481 * insettabular.C (drawSelection): cosmetic bugfix
483 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
485 * insettabular.C (doDispatch): get middle mouse button back again
486 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
487 when only a part of the cell is selected (fix bug 1799)
489 * insettabular.C: handle some more character attributes in
490 M. Vermeers method (when multiple cells in tables are selected);
491 disable some more senseless lfuns when multiple cells are selected
493 Move to end of cell instead of beginning when coming from the cell
496 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
498 * insettabular.C: make applying character attributes
499 possible for multiple cells in tables. Disable collapsable
500 insets for multiple-cell selection in table (Jürgen S.)
501 Bug reported by Helge Hafting.
503 2005-02-25 Andreas Vox <avox@arcor.de>
505 * insetmarginal.[hC] (docbook): new method, render as <note>
507 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
509 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * insetcaption.[Ch] (doClone): implement
513 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * insetgraphics.C (prepareFile): handle non-existing files
516 * insetgraphics.C (latex): remove special handling of non-existing
519 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
522 * insettext.C: adjust metrics
524 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * insettext.C: include boost/current_function.hpp (needed when
527 assertions are disabled)
529 2005-02-20 André Pönitz <poenitz@gmx.net>
531 * insetcollapsable.C: Prevent problems on double-/
532 tripleclick on collapsable label (bug 1797).
534 2005-02-13 André Pönitz <poenitz@gmx.net>
536 * insettext.[Ch] (border_): new
537 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
540 2005-02-14 Angus Leeming <leeming@lyx.org>
542 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
543 about "truncation of constant value".
545 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
547 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
548 workaround for broken HTML converter)
550 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * insetcollapsable.C (leaveInset): size() -> depth()
553 * insettabular.C (isRightToLeft): ditto
555 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * insetert.C (latex, linuxdoc, docbook): remove newline handling
558 * insetert.C (doDispatch): clean pasted paragraphs
559 * insetert.C (getStatus): suppress more lfuns
560 * insetert.C (insetAllowed): return always false
562 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
567 * updatableinset.C: Use new cursor accessors.
569 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
571 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
573 2005-01-31 Angus Leeming <leeming@lyx.org>
575 * insetgraphicsParams.C: protect a #warning preprocessor call
576 with a #ifdef WITH_WARNINGS guard.
578 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * Several files: use convert<> instead of atoi,strToXXX and friends
582 2005-01-23 Angus Leeming <leeming@lyx.org>
584 * insetbibitem.h (bibitemWidest): declare the function.
586 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
588 * insetgraphics.C (prepareFile): move the invocation of the default
589 converter to ../converter.C
590 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
591 call convert with try_default == true
593 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
595 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
596 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
597 determines what variables are substituted
598 * ExternalSupport.C (updateExternal): fix substitution of
601 2005-01-10 Angus Leeming <leeming@lyx.org>
603 * ExternalTemplate.C: use support/package.h to provide the paths to the
604 various directories used by LyX.
606 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
614 * ExternalTransforms.C (adjAngle): tostr -> convert
616 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
621 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
623 * ExternalTransforms.C: fix LaTeX output of \scalebox.
625 * ExternalTransforms.[Ch]:
626 * insetexternal.C: store all float/double values as strings.
629 * insetgraphicsParams.C: more precise checks for the value strings.
631 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * insettext.C (doDispatch): remove unused variable was_empty
635 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
638 * insetgraphicsParams.[Ch]: store all float/double values as strings.
640 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
642 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
644 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
646 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
647 UNSET_ALL_LINES (from Jürgen)
649 2004-12-14 Angus Leeming <leeming@lyx.org>
651 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
652 to overcome bug in the MinGW port of g++ 3.4.2.
654 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
656 * insettabular.C (getCellXPos): make it return a relative x
657 position wrt. the begin of the tabular
658 (resetPos): a couple of fixes
659 (doDispatch): add a couple of resetPos calls
660 (drawSelection): fix drawing of selection in single-cell mode
661 (draw): replace 'do not draw' optimization by 'draw with
664 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
666 * insetbase.[Ch] (idxUpDown2): remove function
668 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
670 * insettabular.[Ch]: use size_t-like types for cell, row and column
673 2004-12-02 José Matos <jamatos@lyx.org>
675 * insetlatexaccent.C (checkContents): remove compatibility code,
678 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * insetbase.h (getStatus): add better comment from src/cursor.C
682 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
684 * insettabular.[Ch]: adjust, introduce "do not draw
685 offscreen" optimization using NullPainter, (dist): introduce,
686 (getCursorPos): implement, (drawSelection): implement
688 * insetcollapsable.[Ch]: adjust
690 * insettext.C: adjust, (metrics): set the font before calling
693 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * rename a lot of InsetOld to InsetBase
697 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
700 * insettext.C: par->pit renaming
702 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * Most insets: rename priv_dispatch to doDispatch
706 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
708 * insettabular.C (tabularFeatures): fix multicolumn handling
710 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
712 * render_base.h (operator=): use common semantics
714 * insettext.C (operator=): delete this
715 (copy constructor): implement this properly
716 (init): use for_each and bind
718 (appendParagraphs): ditto
720 * insettabular.C: add more const. Adjust for changes in tabular.
722 * insetbase.h: Use NVI on clone. Add virtual doClone and update
723 all children, also make copy constructor protected. Added some
724 safe-guards to clone.
726 * insets: adjust to fit.
728 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * insetoptarg.C (latexOptional): return number of lines instead of
733 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
735 * insettabular.[Ch] (string2params): Don't pretend to return the
736 active cell anymore and simplify keyword parsing.
738 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * insetlatexaccent.h (isLetter): implement, so that word selection
741 takes accents into account.
743 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
745 * insetcollapsable.C (priv_dispatch): do not push the inset to the
748 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
750 * ExternalSupport.C, insetgraphics.C:
751 s/getFormatFromContents/formats.getFormatFromFile/
753 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
755 * insetcharstyle.[Ch]:
756 * insetert.[Ch]: implement getStatus
758 * insetcharstyle.C (draw): visual clue when the cursor is inside
761 2004-11-02 José Matos <jamatos@lyx.org>
763 * insetcharstyle.C (docbook):
764 * insetlabel.C (linuxdoc, docbook):
765 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
768 * insettabular.C (docbook): mixed content no longer belongs to
771 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
773 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
775 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * ExternalSupport.C (updateExternal): convert files in the temp dir
779 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
781 * insetcharstyle.C: drawing cosmetics.
783 2004-10-30 José Matos <jamatos@lyx.org>
785 * insetcharstyle.C (docbook): a compromisse solution. Don't output
786 paragraph tags inside inline elements.
788 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
790 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
791 InsetText methods rather than outputVerbatim (escapes special
792 characters) [bug 1731]
793 * insetcharstyle.C (outputVerbatim): remove this function.
794 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
795 which caused an infinite loop.
797 2004-10-29 José Matos <jamatos@lyx.org>
799 * insetgraphics.C (uniqueID): transfered to sgml.C
801 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
803 * insetlabel.C (docbook, linuxdoc):
804 * insetref.C (docbook, linuxdoc): sanitize id.
806 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
808 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
809 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
810 * insetgraphics.C (findTargetFormat): reformat
812 2004-10-28 José Matos <jamatos@lyx.org>
814 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
816 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
820 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
822 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
823 "[,,,]" without warning message
825 2004-10-26 Angus Leeming <leeming@lyx.org>
827 * ExternalSupport.C (updateExternal):
828 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
829 external files to the temp directory.
831 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
833 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
834 layouts. This fixes problems with the memoir class (which does not
835 allow \footnote) [bug 1677]
837 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
839 * insetindex.C (docbook): escape the index, to generate correct sgml.
841 2004-10-23 José Matos <jamatos@lyx.org>
843 * insettext.C (docbook): rearrange arguments, due to change in the
846 2004-10-23 André Pönitz <poenitz@gmx.net>
848 * insettabular.C (cutSelection, tabularFereatures):
849 fix cursor position after cutting selection or table rows
851 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
853 * insetgraphics.C (docbook, writeImageObject): write more than one
854 format of imageobjects in <mediaobject>.
856 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
858 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
859 DocBook output for this inset ( <citation>content</citation> )
861 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
863 * insetgraphics.C (docbook) : using mediaobject for XML;
864 correcting bug with SGML output (now '>' instead of '/>')
866 2004-10-05 José Matos <jamatos@lyx.org>
868 * insetfloatlist.C (read):
869 * insetquotes.C (read):
870 * insetspace.C (read):
871 * insetspecialchar.C (read):
872 * insettabular.C (read): replace nextToken by more appropriate lex
875 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
877 * insetgraphics.C (createDocBookAttribute, docbook) :
878 convert scale, width, height and keepaspectratio to Docbook standards)
880 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
881 to Docbook units where possible.
883 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
885 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
887 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
888 as attributes with new method for docbook.
890 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * render_preview.h: Use preferred calling of Boost.Signal
894 * pch.h: use proper signal include
896 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * ExternalTransforms.h: User preferred calling of Boost.Function
900 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
902 * insetref.C (docbook): fixing problem where Docbook XML output
903 had unclosed <xref ... >
905 2004-08-16 José Matos <jamatos@lyx.org>
907 * insethfill.C (write):
908 * insetline.C (write):
909 * insetnewline.C (write):
910 * insetpagebreak.C (write): remove space at end of line.
912 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * insettabular.C (plaintext): do not use ownerPar to get the
917 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
918 and it calls getParentLanguage (which calls ownerPar)
919 (edit): do not call sanitizeEmptyText
920 (priv_dispatch): remove code resetting font on empty inset, for
921 the same reasons as above.
923 * insettabular.C (isRightToLeft): instead of using
924 BufferView::getParentLanguage, use the data from the cursor
926 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
930 * Makefile.am: support pch
932 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * insettabular.C (draw): whitespace
936 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
938 2004-08-14 André Pönitz <poenitz@gmx.net>
940 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
942 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * insettabular.C (metrics): when the width of a cell is zero(),
945 let it use as much space as it can
947 * insettext.C (editXY): compilation fix
949 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
951 (metrics): the insets is not full width any more.
952 (draw): adjust; fix bad test for PREVIEW_OFF
953 (add_preview): fix bad test for PREVIEW_OFF
954 (display): do not return true when using \input
956 2004-08-14 José Matos <jamatos@lyx.org>
958 * insetbibitem.[Ch] (plaintext): added.
960 * insetcite.[Ch]: fix plaintext export.
962 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
964 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
967 * insetcaption.C (InsetCaption): modify call to setDrawFrame
968 * insetcollapsable.C (InsetCollapsable): ditto
969 * insetenv.C (InsetEnvironment): ditto
971 2004-08-14 André Pönitz <poenitz@gmx.net>
974 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
976 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * insetoptarg.C (latexOptional): if the optional argument contains
979 a ']' enclose it in {curly brackets}
981 * insettext.C (editXY):
982 * insettabular.C (editXY):
983 * insetcollapsable.C (editXY):
984 * insetbase.C (editXY): constify
986 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
987 not ask for an update if we did nothing; on a mouse release, make
988 sure that the cursor is moved to the right position; on a mouse
989 release, exit from the inset instead of invoking a
992 * insetbase.C (dispatch): before invoking dispatch, set cursor
993 result to dispatch=update=true.
995 2004-08-13 José Matos <jamatos@lyx.org>
997 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
999 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * insetfoot.C (latex): use OutputParams::intitle instead of
1002 parOwner() (avoids time consuming lookup)
1004 * insetquotes.C (latex): same as above with OutputParams::lang.
1005 Moreover the code actually works now.
1007 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1009 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1010 * insetinclude.C, insetgraphics.C, insetfloat.C:
1011 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1012 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1013 "support/std_sstream.h" to <sstream>
1015 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1017 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1018 It made the following fail for a .eps graphics file:
1020 2) view->pdf (pdflatex)
1021 because the .eps file was already in the temp dir when the pdflatex
1022 export happened and therefore no .eps -> pdf conversion was done.
1024 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * insetgraphics.C, insettabular.C: s/wether/whether/g
1028 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1030 * insetgraphics.C (stripExtension): new
1031 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1032 the caller does this
1033 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1034 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1036 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1038 * insetfloatlist.C (latex,getScreenLabel): translate according to
1039 the document language (bug #1312)
1041 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1043 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1044 with external_in_tmpdir and compute filename ourself
1045 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1046 use it to store referenced file(s)
1047 * ExternalSupport.C (writeExternal): write relative filename if
1049 * ExternalTemplate.[Ch]: add ReferencedFile command
1050 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1051 runparams.exportdata
1052 * insetgraphics.C (prepareFile): write relative filename if
1054 * insetinclude.C (latex, docbook, linuxdoc): add file to
1055 runparams.exportdata and write it to the temp dir instead of
1056 writing it to the final destination
1057 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1059 2004-05-19 Angus Leeming <leeming@lyx.org>
1061 * insetcite.[Ch]: small change because namespace biblio is
1062 now namespace lyx::biblio.
1064 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1066 * insettabular.[Ch] (buffer): make Buffer * argument const
1068 2004-05-17 Angus Leeming <leeming@lyx.org>
1070 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1071 to force the button label to be re-generated.
1073 2004-05-14 José Matos <jamatos@lyx.org>
1075 * insetlabel (docbook): do not ouput label, for the moment.
1077 2004-05-14 Angus Leeming <leeming@lyx.org>
1079 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1080 new biblio::asValidLatexString function.
1082 2004-05-12 Angus Leeming <leeming@lyx.org>
1084 * insetcite.C: use BufferParams::cite_engine rather than the three
1085 bools, use_natbib, use_jurabib, use_numerical_citations.
1087 2004-05-10 Angus Leeming <leeming@lyx.org>
1089 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1090 Ditto with getStyle, moved to biblio::getEngine.
1092 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1094 * insetgraphics.C (validate): remove pre 233 file format stuff,
1095 handle zipped files for "nice" export
1097 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1100 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1101 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1102 changed since the last run
1103 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1104 and copyFileIfNeeded.
1106 2004-04-29 Angus Leeming <leeming@lyx.org>
1108 * ExternalTemplate.[Ch]: remove redundant #includes.
1110 2004-04-28 Angus Leeming <leeming@lyx.org>
1113 s/updateToolbar()/updateToolbars()/
1115 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1117 * insetgraphics.C: require file extension (file format change!)
1118 * insetgraphics.C (latex): handle zipped files for "nice" export
1120 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1122 * insetgraphics.C (latex): strip the extension and replace dots in
1123 the filename if doing a "nice" export. This is a partial fix for
1124 bug 1231 without reintroducing bug 655.
1126 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * insetoptarg.h: remove the editable() method (InsetCollapsable
1129 does it better already)
1131 * insetbibtex.C (normalize_name): new helper function. Changes the
1132 name to be suitable to use in a latex file (relative to master
1133 buffer if necessary).
1134 (latex): use normalize_name.
1136 2004-04-20 Angus Leeming <leeming@lyx.org>
1138 * render_preview.C (startLoading): remove lyxerr statement.
1140 (getPreviewLoader): new helper function.
1142 2004-04-19 Angus Leeming <leeming@lyx.org>
1146 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1148 2004-04-19 Angus Leeming <leeming@lyx.org>
1150 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1152 (add_preview): renamed as add_preview_and_start_loading. Invoke
1153 RenderPreview::startLoading.
1155 * insetinclude.C (metrics, draw): changes due to the changed
1156 RenderPreview interface.
1158 * render_preview.C: remove cached pimage_.
1159 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1160 (draw): don't call startLoading. That's up to the user of
1163 2004-04-16 Angus Leeming <leeming@lyx.org>
1165 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1167 2004-04-13 Angus Leeming <leeming@lyx.org>
1169 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1170 the renderer to inform LyX::updateInset that the inset's status
1171 has changed and it should be redrawn.
1173 * render_button.[Ch] (clone):
1174 * render_graphic.[Ch] (c-tors, clone):
1175 * render_preview.[Ch] (c-tors, clone): ditto.
1177 * render_graphic.[Ch] (connect):
1178 * render_preview.[Ch] (connect): removed, as connection is now
1179 made in the constructors.
1183 * insetinclude.C: ensuing simplification of the client code.
1184 (statusChanged): now superfluous. Removed.
1186 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1188 * ExternalTemplate.[Ch]: remove editCommand
1189 * ExternalSupport.C (editExternal): use formats.edit() instead of
1190 the removed editCommand template parameter
1191 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1192 * insetgraphics.[Ch] (editGraphics): new method
1194 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1196 * insetinclude.C (validate): set/reset features.buffer_ when
1197 validating the child
1199 2004-04-07 Angus Leeming <leeming@lyx.org>
1201 * insetexternal.C (priv_dispatch):
1202 * insetinclude.C (priv_dispatch): prevent crash by invoking
1203 InsetOld::priv_dispatch at the end of the switch, rather than
1204 InsetOld::dispatch...
1206 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1208 * insetcollapsable.C:
1209 * insetbranch.C: 'assign' to open/close branch inset according to
1210 selection; also print content on closed branch button
1212 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1214 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1215 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1216 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1218 * ExternalSupport.C (updateExternal): use absolute and output
1219 filename where appropriate
1221 2004-04-05 André Pönitz <poenitz@gmx.net>
1223 * insetbase.h: use LCursor & in notifyCursorLeave
1225 2004-04-05 Angus Leeming <leeming@lyx.org>
1227 * insetgraphics.C: remove unused header file "lyxrc.h".
1229 * render_graphic.C: squash bug 1372: Misleading graphics label when
1230 deactivating lyx view.
1232 2004-04-05 Angus Leeming <leeming@lyx.org>
1237 * insetlatexaccent.C:
1242 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1244 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * insetfloat.C (read): fix yesterday's float fix.
1247 * insetwrap.C (read): apply the fixed float fix.
1249 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1251 * insetfloat.C (read): fix reading of float params
1254 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1256 * insettext.C (edit): comment the call to updateLocal (dangling now)
1257 * insettext.h: add allowSpellCheck() returning true
1259 2004-03-31 Angus Leeming <leeming@lyx.org>
1261 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1263 2004-03-31 Angus Leeming <leeming@lyx.org>
1265 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1266 the cursor out of an inset.
1268 * insetbranch.C (priv_dispatch):
1269 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1270 use getOutOfInset to push the cursor out of the inset when
1273 2004-03-30 Angus Leeming <leeming@lyx.org>
1275 * insetbase.[Ch] (translate): new static member function, returns
1276 an InsetBase::Code corresponding to the input string.
1278 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1280 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1281 so that it opens the inset if it refers to the currently active
1284 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1286 * insetfloat.C (addToToc): use par_const_iterator_begin and
1287 par_const_iterator_end.
1289 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1291 * insetbibtex.[Ch]: bibtopic support.
1293 * insetfloat.[Ch]: add param \sideways {true|false}
1294 (support for sideways floats from rotating.sty).
1296 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1298 * insettext.[Ch]: add a default ctor. implement const version of
1304 * insetwrap.C: adjust
1306 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1308 * insettext.h: add insetAllowed returning true by default (fixing
1309 vanishing insets problem)
1311 * insettext.C (draw): handle the responsability of adding the
1312 ouside offset to collapsable. Clean code a bit.
1314 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1315 from insettext correctly, solve a couple of off-by-one drawing
1318 2004-03-25 Angus Leeming <leeming@lyx.org>
1320 * insetcaption.C (draw): squash warning about unused variable.
1322 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1324 * ExternalSupport.C: use the master buffer's temp dir
1325 * insetgraphics.C (latex): make relative filename relative to the
1327 * insetgraphics.C: use the master buffer's temp dir
1328 * insetinclude.C (masterFilename): new function
1329 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1330 is always true if loadIfNeeded() returns true)
1332 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1334 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1335 set its parent to the current buffer.
1336 (latex): use the tmppath of the master buffer, not just the parent
1337 buffer (makes a difference with more than one level of include
1338 insets). If the file name is relative write in the .tex file a
1339 name relative to the master buffer directory.
1341 * insetinclude.C: rename masterFilename to parentFilename (this
1342 points to the direct parent)
1344 2004-03-25 André Pönitz <poenitz@gmx.net>
1346 * inset.[Ch]: remover owner
1348 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1356 * insetcharstyle.[Ch]:
1364 * insetwrap.C: adjust
1366 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1368 * insetquote.C: use opening quote after '[' char.
1370 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1372 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1375 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1377 * insetcite.[Ch]: support jurabib.
1379 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1381 * insetcite.C: Support second \cite option.
1383 * insetcommand.[Ch]:
1384 * insetcommandparams.[Ch]: add second optional argument.
1386 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1388 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1389 shows the inset dialog.
1391 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1393 * insetlabel.[Ch]: remove them
1394 * Makefile.am: adjust
1396 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1398 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1400 * insetinclude.C (latex): show a GUI warning if textclasses don't
1402 * insetinclude.C: use mangledFilename() for temp files
1403 * insetgraphics.C (readInsetGraphics): remove version check, since
1404 the graphics inset has no own fileformat number anymore
1406 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1408 * insetquotes.[Ch]: added new member that allows direct access
1409 to single/double quotation marks.
1410 * insetnewline.[Ch]:
1411 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1413 2004-02-16 André Pönitz <poenitz@gmx.net>
1416 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1417 implicitly assume 'DispatchResult(true, true) with exception of
1418 InsetBase::priv_dispatch which does the equivalent of
1419 'retrun DispatchResult(false)'
1421 * inset*.[Ch] (priv_dispatch): adjust
1423 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1424 simplify cursor moving function,
1425 re-enable horizontal scrolling for large tables
1427 2004-02-13 André Pönitz <poenitz@gmx.net>
1429 * insettabular.[Ch]: some work after IU
1431 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1433 * inset.C (setPosCache): switch to absolute coords in insets
1434 * insettext.[Ch] (draw, drawFrame): adjust
1435 * insetcollapsable.C (draw): adjust
1438 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1440 * insettext.C (edit):
1441 (updateLocal): use the cur argument instead of the global cursor
1442 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1444 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1448 * insetfloat.C (validate): "H" -> 'H' in call to contains
1450 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1452 2004-01-30 André Pönitz <poenitz@gmx.net>
1456 * insetcollapsable.[Ch]:
1459 * insetgraphics.[Ch]:
1461 * insettabular.[Ch]:
1464 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1467 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * insettabular.C: add using statement for std::vector, remove
1470 std:: where using was already used.
1472 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1474 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1476 * insetinclude.C (validate): use feautures.nice() instead of
1479 2004-01-20 André Pönitz <poenitz@gmx.net>
1482 * insetbase.[Ch]: move stuff from mathcursor here.
1484 * insetbibitem.[Ch]:
1488 * insetcharstyle.[Ch]:
1489 * insetcollapsable.[Ch]:
1490 * insetcommand.[Ch]:
1492 * insetexternal.[Ch]:
1494 * insetgraphics.[Ch]:
1495 * insetinclude.[Ch]:
1499 * insettabular.[Ch]:
1503 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1506 2004-01-15 André Pönitz <poenitz@gmx.net>
1509 * insetbibitem.[Ch]:
1513 * insetcharstyle.[Ch]:
1514 * insetcollapsable.[Ch]:
1515 * insetcommand.[Ch]:
1517 * insetexternal.[Ch]:
1519 * insetgraphics.[Ch]:
1520 * insetinclude.[Ch]:
1524 * insettabular.[Ch]:
1528 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1530 2004-01-08 André Pönitz <poenitz@gmx.net>
1532 * insetcollapsable.[Ch]:
1533 * insettabular.[Ch]:
1535 * updatableinset.h: use cell index info from global cursor.
1537 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1539 * insetnote.C (InsetNoteParams::write): write label only once
1541 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1545 get rid of the SameName functor
1547 * insettabular.C: improve the functor.
1549 2003-12-29 Angus Leeming <leeming@lyx.org>
1551 * insetexternal.C (setParams): update defaultTemplateName.
1553 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1555 * insetbox.C: Use term "Box" in button label
1557 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1559 * insetcharstyle.C: get getDrawFont working again
1561 2003-12-15 André Pönitz <poenitz@gmx.net>
1563 * insettabular.[Ch]:
1564 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1566 2003-12-12 Angus Leeming <leeming@lyx.org>
1568 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1570 (InsetBranchParams): remove the branchlist hack.
1571 (isBranchSelected): new function, used to decide whether to
1572 print each output format. Also used by InsetList.
1573 (read, string2params): repair my own breakage ;-)
1575 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1577 * insetminipage.[Ch]: remove from repository.
1579 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1582 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1583 insetert to insetcollapsable; introduce virtual function
1584 setButtonLabel and invoke it from collapsable
1586 2003-12-12 Angus Leeming <leeming@lyx.org>
1588 * insetinclude.C (draw): cache x,y and so enable the
1589 dialog to be opened.
1591 2003-12-12 Angus Leeming <leeming@lyx.org>
1593 * mailinset.C (print_mailer_error): tidy up the output.
1595 2003-12-11 Angus Leeming <leeming@lyx.org>
1597 * mailinset.[Ch] (print_mailer_error): new helper function.
1599 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1600 calling InsetCommandMailer.
1601 (InsetCommandMailer::string2params): pass the name of the dialog.
1603 * insetbibitem.[Ch] (d-tor):
1604 * insetbibtex.[Ch] (d-tor):
1605 * insetcite.[Ch] (d-tor):
1606 * insetfloatlist.[Ch] (d-tor):
1607 * insetindex.[Ch] (d-tor):
1608 * insetlabel.[Ch] (d-tor):
1609 * insetref.[Ch] (d-tor):
1610 * insettoc.[Ch] (d-tor):
1611 * inseturl.[Ch] (d-tor): removed.
1612 Hiding the dialog is handled by InsetCommand.
1614 * insetbibtex.[Ch] (draw, metrics):
1615 * insetfloatlist.[Ch] (draw, metrics):
1616 * insetindex.[Ch] (draw, metrics): removed.
1617 Drawing is handled by InsetCommand.
1619 * insetbibitem.[Ch] (priv_dispatch):
1620 * insetbibtex.[Ch] (priv_dispatch):
1621 * insetcite.[Ch] (priv_dispatch):
1622 * insetfloatlist.[Ch] (priv_dispatch):
1623 * insetindex.[Ch] (priv_dispatch):
1624 * insetlabel.[Ch] (priv_dispatch):
1625 * insettoc.[Ch] (priv_dispatch):
1626 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1627 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1628 LFUN_INSET_DIALOG_SHOW.
1630 * insetbox.C (string2params):
1631 * insetbranch.C (string2params):
1632 * insetert.C (string2params):
1633 * insetexternal.C (string2params):
1634 * insetfloat.C (string2params):
1635 * insetinclude.C (string2params):
1636 * insetminipage.C (string2params):
1637 * insetnote.C (string2params):
1638 * insetvspace.C (string2params):
1639 * insetwrap.C (string2params): over-hauled.
1641 2003-12-10 Angus Leeming <leeming@lyx.org>
1643 * insetexternal.[Ch]: add a draft option and respect it when
1646 2003-12-10 Angus Leeming <leeming@lyx.org>
1648 * insetbox.C: (read, write): now prepend the inset contents with
1649 'Box' to identify the inset as a box inset.
1651 * insetbox.h: move the translators out of sight.
1653 2003-12-10 Angus Leeming <leeming@lyx.org>
1655 * insetert.C (string2params): clean-up using the new lyxlex interface.
1657 * insetexternal.C: ensure that InsetExternalParams has a default
1658 template, 'RasterImage'.
1660 2003-12-10 Angus Leeming <leeming@lyx.org>
1662 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1663 to an enum. Ensuing clean-ups through out the class.
1664 (read, write): now prepend the inset contents with 'Note' to identify
1665 the inset as a note inset.
1667 2003-12-10 Angus Leeming <leeming@lyx.org>
1669 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1670 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1672 2003-12-10 André Pönitz <poenitz@gmx.net>
1676 * insettabular.[Ch]:
1677 * insettext.[Ch]: remove unused insetInset()
1679 * insetert.C: disable some LFUNs
1681 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1683 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1685 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1687 2003-12-04 Angus Leeming <leeming@lyx.org>
1689 * insetexternal.C (draw): update the xo_, yo_ cache.
1691 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1693 (RotationDataType): new helper struct wrapping the
1694 RotationData::OriginType enum.
1696 2003-12-03 André Pönitz <poenitz@gmx.net>
1698 * inset.h: remove getParagraphs()
1700 * insetcollapsable.[Ch]:
1703 * insettabular.[Ch]:
1704 * insettext.C: use getText() instead of getParagraphs()
1706 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1708 * insetert.C: fix label text updating bug
1710 2003-12-02 Angus Leeming <leeming@lyx.org>
1712 * insetvspace.[Ch] (space): new member function. Make space_ private.
1713 (read): use the new, simpler lyxlex syntax.
1715 2003-12-01 André Pönitz <poenitz@gmx.net>
1717 * insetcollapsable.[Ch]:
1718 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1720 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1722 * insetvspace.C (read): handle 'end_inset' token.
1724 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1726 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1728 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1730 * insetcollapsable.[Ch]:
1732 * insetcharstyle.C: place inset content on the button when
1735 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1737 * insetvspace.C: remove VSpace::NONE; increase inset width
1739 2003-12-01 André Pönitz <poenitz@gmx.net>
1741 * insetbase.h: whitespace
1743 * inset.[Ch]: remove latexTextWidth
1744 make setBackgroundColor virtual
1746 * insettext.[Ch]: move ParagraphList member to LyXText
1748 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1754 * insetminipage.[Ch]:
1756 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1758 2003-11-28 Angus Leeming <leeming@lyx.org>
1760 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1761 hiding and showing the dialog respectively.
1762 (priv_dispatch): also actually update the inset contents.
1764 2003-11-28 Angus Leeming <leeming@lyx.org>
1766 * insetbox.C (d-tor):
1767 * insetbranch.C (d-tor):
1768 * insetcite.C (d-tor):
1769 * insetfloat.C (d-tor):
1770 * insetfloatlist.C (d-tor):
1771 * insetinclude.C (d-tor):
1772 * insetindex.C (d-tor):
1773 simplify the invocation of the Mailer::hideDialog() function.
1775 * insetminipage.C (showInsetDialog):
1776 simplify the invocation of the Mailer::showialog() function.
1778 2003-11-28 André Pönitz <poenitz@gmx.net>
1781 * insetvspace.[Ch]: new insets
1783 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1785 * insetcharstyle.C: Syntax change for CharStyles
1787 2003-11-28 André Pönitz <poenitz@gmx.net>
1789 * updatableinset.h: remove insetInInsetY
1791 * insetcollapsable.[Ch]:
1793 * insettabular.[Ch]:
1794 * insettext.[Ch]: adjust
1796 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1800 * insetcollapsable.[Ch]:
1802 * insettabular.[Ch]: remove setFont
1804 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1806 * render_graphic.[Ch]: adjust comments
1808 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1810 * insetgraphics.C (draw): cache xo_ & yo_
1812 2003-11-24 André Pönitz <poenitz@gmx.net>
1814 * insettext.C (setViewCache): don't call LyXText::init() anymore
1816 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1819 * insetcollapsable.[Ch]:
1820 * insetert.[Ch]: remove bufferview parameter in methods
1821 open, close, status, and updateStatus.
1823 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1825 * insetcollapsable.[Ch]:
1826 * insettabular.[Ch]:
1827 * insettext.[Ch] (getCursorDim): squash unused variable
1829 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1831 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1833 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1835 * insettext.C (draw): sets LyXText absolute coordinates
1837 2003-11-20 Angus Leeming <leeming@lyx.org>
1839 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1840 warnings about unused parameters.
1842 * insetcollapsable.C (open):
1843 * insettabular.C (pasteSelection):
1844 * insettoc.C (draw): ditto.
1846 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1848 * insetcollapsable.C:
1850 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1851 remove mouse_x mouse_y etc.
1853 2003-11-17 André Pönitz <poenitz@gmx.net>
1855 * insettext.[Ch] (cx, cy): remove
1857 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1859 2003-11-13 André Pönitz <poenitz@gmx.net>
1862 * insetcollapsable.[Ch]:
1863 * insettabular.[Ch]:
1864 * insettext.[Ch] (deleteLyXText): remove
1866 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1868 * insetcollapsable.[Ch] (fitInsetCursor): remove
1869 * insettabular.[Ch] (fitInsetCursor): remove
1870 * insettext.[Ch] (fitInsetCursor): remove
1871 * updatableinset.[Ch] (fitInsetCursor): remove
1872 (getCursorDIm): add virtual
1874 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1876 * src/insets/Makefile.am:
1877 * src/insets/inset.h:
1878 * src/insets/insetcharstyle.C:
1879 * src/insets/insetcharstyle.h: The Character Style /XML short
1882 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1884 * insettext.C: remove all update calls
1885 * insetcollapsable.C: remove all update calls
1887 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1889 * insettext.C (updateLocal, insertInset, setFont): remove
1892 2003-11-10 André Pönitz <poenitz@gmx.net>
1894 * inset.h: remove Inset::id_
1896 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1901 2003-11-10 André Pönitz <poenitz@gmx.net>
1905 * insetcollapsable.[Ch]:
1909 * insettabular.[Ch]:
1912 * updatableinset.[Ch]: remove inset locking & adjust
1914 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1916 * inset.h (allowSpellCheck): add (return true)
1917 * insetert.h (allowSpellCheck): add (return false)
1919 2003-11-05 José Matos <jamatos@lyx.org>
1925 * insetcaption.[Ch]:
1927 * insetcollapsable.[Ch]:
1928 * insetcommand.[Ch]:
1931 * insetexternal.[Ch]:
1933 * insetfloatlist.[Ch]:
1935 * insetgraphics.[Ch]:
1937 * insetinclude.[Ch]:
1940 * insetlatexaccent.[Ch]:
1943 * insetmarginal.[Ch]:
1944 * insetminipage.[Ch]:
1945 * insetnewline.[Ch]:
1948 * insetpagebreak.[Ch]:
1952 * insetspecialchar.[Ch]:
1953 * insettabular.[Ch]:
1955 * insettheorem.[Ch]:
1958 * insetwrap.[Ch]: rename ascii to plaintext
1959 and LatexRunParams to OutputParams.
1961 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1963 * insetcollapsable.C (edit): add open() all
1964 * insettext.C (edit): add setViewCache call
1966 2003-11-04 André Pönitz <poenitz@gmx.net>
1968 * inset.h (edit): move locking code from dispatch() to edit()
1974 * insetcollapsable.[Ch]:
1977 * insetexternal.[Ch]:
1978 * insetgraphics.[Ch]:
1983 * insettabular.[Ch]:
1984 * insettext.[Ch]: adjust
1986 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1989 * insetcollapsable.[Ch]:
1991 * insettabular.[Ch]:
1993 * updatableinset.[Ch]: remove dead search code
1995 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1998 * insetcollapsable.[Ch]:
2000 * insettabular.[Ch]:
2002 * updatableinset.[Ch]: remove dead spellcheck code
2004 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2006 * insettabular.C (lockInsetInInset): small fix
2008 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2011 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2012 from here. Be stricter on DispatchResult returned.
2014 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * Inset::dispatch's: adjust for new DispatchResult semantics.
2018 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * render_base.h: make clone return an auto_ptr
2021 * render_button.C (clone): adjust
2022 * render_graphic.C (clone): adjust
2023 * render_preview.C (clone): adjust
2025 * insettheorem.C (clone): return an auto_ptr
2027 * insettext.C (priv_dispatch): exception safety
2029 * insettabular.C: store the file scope variable paste_tabular in a
2030 scoped_ptr, adjust usage.
2032 * insetexternal.C (setParams): exception safety
2034 * insetbibitem.C (clone): exception safety
2036 2003-11-03 André Pönitz <poenitz@gmx.net>
2039 * insetcollapsable.[Ch]:
2040 * insettabular.[Ch]:
2041 * insettext.[Ch]: remove Inset::id and related functions
2043 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2045 * insets: adjust for DispatchResult changes.
2047 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2049 * insetpagebreak.C: fix screen representation & ascii output.
2051 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2055 * insettabular.[Ch]:
2056 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2058 2003-10-31 José Matos <jamatos@lyx.org>
2060 * inset.h (ascii, linuxdoc, docbook):
2061 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2062 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2063 * insetcaption.[Ch] (ascii, docbook):
2064 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2065 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2066 * insetert.[Ch] (ascii, linuxdoc, docbook):
2067 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2068 * insetfloat.[Ch] (linuxdoc, docbook):
2069 * insetfloatlist.[Ch] (ascii):
2070 * insetfoot.[Ch] (docbook):
2071 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2072 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2073 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2074 * insetindex.[Ch] (docbook):
2075 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2076 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2077 * insetline.[Ch] (ascii, linuxdoc, docbook):
2078 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2079 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2080 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2081 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2082 * insetref.[Ch] (ascii, linuxdoc, docbook):
2083 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2084 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2085 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2086 * insettext.[Ch] (ascii, linuxdoc, docbook):
2087 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2088 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2089 * insetwrap.[Ch] (docbook):
2090 add LatexRunParams argument.
2092 2003-10-30 José Matos <jamatos@lyx.org>
2094 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2096 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * updatableinset.C (priv_dispatch):
2099 * insetwrap.C (priv_dispatch):
2100 * inseturl.C (priv_dispatch):
2101 * insettoc.C (priv_dispatch):
2102 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2103 (moveLeftIntern, moveUp, moveDown):
2104 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2105 (moveLeft, moveUp, moveDown):
2106 * insetref.C (priv_dispatch):
2107 * insetnote.C (priv_dispatch):
2108 * insetminipage.C (priv_dispatch):
2109 * insetlabel.C (priv_dispatch):
2110 * insetindex.C (priv_dispatch):
2111 * insetinclude.C (priv_dispatch):
2112 * insetgraphics.C (priv_dispatch):
2113 * insetfloatlist.C (priv_dispatch):
2114 * insetfloat.C (priv_dispatch):
2115 * insetexternal.C (priv_dispatch):
2116 * insetert.C (priv_dispatch):
2117 * insetcommand.C (priv_dispatch):
2118 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2119 * insetcite.C (priv_dispatch):
2120 * insetbranch.C (priv_dispatch):
2121 * insetbox.C (priv_dispatch):
2122 * insetbibtex.C (priv_dispatch):
2123 * insetbibitem.C (priv_dispatch):
2124 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2126 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2128 * insettext.C: small refactoring of docbook stuff
2130 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2133 (priv_dispatch): adjust for operator dispatch_result_t removal
2135 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2136 in a DispatchResult, adjust accordingly.
2137 (priv_dispatch): use strange >= construct... (will be removed later)
2139 * most insets: dispatch_result -> DispatchResult
2141 * insetbase.h: move DispatchResult out to dispatchresult.h
2143 2003-10-27 André Pönitz <poenitz@gmx.net>
2145 * insetpagebreak.[Ch]: new inset for page breaks
2147 * insetline.[Ch]: new inset for vertical lines
2152 2003-10-25 Angus Leeming <leeming@lyx.org>
2154 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2155 new virtual member functions, specialised...
2156 * render_button.h (asButton):
2157 * render_graphic.h (asGraphic):
2158 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2160 * insetexternal.C: use these new functions rather than dynamic_cast.
2161 Various other small simplifications.
2163 2003-10-22 Angus Leeming <leeming@lyx.org>
2165 * insetexternal.[Ch]: add the ability to 'preview' the external file
2168 * insetinclude.C: changes due to the changes in the RenderPreview
2171 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2172 message if the preview image is not available. Only initiate the
2173 loading of the preview from draw(). Ditto, start the monitoring
2174 of an external file from RenderMonitoredPreview::draw.
2176 2003-10-22 Angus Leeming <leeming@lyx.org>
2178 * insetcite.[Ch] (setLoadingBuffer): removed.
2179 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2180 ascertain whether to proceed with the (expensive) task of computing
2181 the natbib-style label. Remove the home-grown hack providing
2182 similar functionality.
2184 2003-10-22 Angus Leeming <leeming@lyx.org>
2186 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2187 class and into an anonymous namespace.
2189 2003-10-22 Angus Leeming <leeming@lyx.org>
2191 * insetcommand.h: remove the display method.
2195 * insetindex.h (InsetPrintIndex):
2196 * insettoc.h: add a display method, returning true.
2198 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2200 * insetcollapsable.h:
2204 * insetinclude.h: (1) finish off the inset display() work;
2205 (2) fix the "is a bit silly" bug (accessing char
2208 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2212 * insetfootlike.h: re-introduce display() for insets,
2213 fixing the various bugs (stretch of line above, math inset
2216 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * insetbase.C (dispatch): new func
2219 (priv_dispatch): new func replaces...
2220 (localDispatch): this, deleted.
2222 * all insets with dispatch modified for new code.
2224 2003-10-15 André Pönitz <poenitz@gmx.net>
2226 * insetcollapsable.[Ch]
2228 * inset.h: re-add some edit(bv, index) method called by undo
2230 2003-10-14 Angus Leeming <leeming@lyx.org>
2232 * insetexternal.[Ch] (view, cache, view_):
2233 * insetgraphics.[Ch] (view, cache, view_):
2234 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2235 (statusChanged): call LyX::cref().updateInset.
2237 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2238 the BufferView cache.
2240 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2243 2003-10-14 Angus Leeming <leeming@lyx.org>
2245 * insetinclude.C (metrics, draw): only draw the preview when previews
2248 2003-10-14 André Pönitz <poenitz@gmx.net>
2250 * insetcollapsable.[Ch]:
2251 * insettabular.[Ch]:
2253 * inset.h: getText() as alternative to getParagraphs()
2255 2003-10-13 Angus Leeming <leeming@lyx.org>
2258 * insetgraphicsParams.C: displayTranslator is now a function.
2260 2003-10-13 Angus Leeming <leeming@lyx.org>
2262 * insetinclude.C: remove #include "PreviewImage.h".
2264 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * ExternalSupport.C:
2267 * ExternalTransforms.C:
2269 * insetbox.h: ws changes only
2271 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * insetinclude.C (localDispatch): do not call
2274 InsetOld::localDispatch, just return UNDISPATCHED
2275 * insetgraphics.C (localDispatch): ditto
2276 * insetcommand.C (localDispatch): ditto
2278 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * inset.h: get rid of RESULT typedef for dispatch_result
2282 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2283 * insetert.[Ch] (localDispatch): ditto
2284 * insettabular.[Ch] (localDispatch): ditto
2289 * insettext.[Ch] (localDispatch): ditto
2292 (moveRightIntern): ditto
2293 (moveLeftIntern): ditto
2296 * updatableinset.[Ch] (localDispatch): ditto
2298 2003-10-12 Angus Leeming <leeming@lyx.org>
2300 * renderbase.h (view, view_): removed.
2301 * renderbase.C: removed.
2302 * Makefile.am: remove render_base.C. The shortest lived file in
2305 * renderbutton.C (draw):
2306 * render_graphic.C (draw): don't cache the BufferView.
2308 * insetabase.h (cache, view): removed.
2310 * inset.h (generatePreview) removed.
2312 * insetcallapsable.[Ch] (cache, view, view_): removed.
2314 * insetcollapsable.C (draw): don't cache the BufferView.
2316 * insetcommand.[Ch] (view): removed.
2318 * insetexternal.[Ch] (cache, view, view_):
2319 * insetgraphics.[Ch] (cache, view, view_):
2320 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2322 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2323 when you have direct access to it. In fact, don't use the cache at all.
2325 2003-10-10 Angus Leeming <leeming@lyx.org>
2327 * insetinclude.C (metrics): use preview_->metrics.
2328 (draw): use preview_->draw.
2330 * render_preview.[Ch] (pimage): removed.
2332 2003-10-10 Angus Leeming <leeming@lyx.org>
2334 * renderers.[Ch]: removed.
2337 * render_button.[Ch]:
2338 * render_graphic.[Ch]:
2339 * render_preview.[Ch]: new files. The first three are split out of
2340 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2341 contains a re-worked InsetInclude::PreviewImpl also.
2343 * Makefile.am: reflect the changed files.
2346 * insetexternal.[Ch]:
2347 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2349 * insetinclude.[Ch]: changes reflecting the change from
2350 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2356 * inseturl.C: add #include "support/std_ostream.h"
2358 2003-10-09 Angus Leeming <leeming@lyx.org>
2360 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2361 to PreviewedInset::previewReady.
2363 2003-10-09 Angus Leeming <leeming@lyx.org>
2365 * insetexternal.[Ch] (statusChanged):
2366 * insetgraphics.[Ch] (statusChanged): make a const member function.
2368 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2371 2003-10-09 Angus Leeming <leeming@lyx.org>
2373 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2374 to PreviewedInset's previewReady and removePreview member functions.
2376 2003-10-08 André Pönitz <poenitz@gmx.net>
2378 * insetcollapsable.C:
2379 * insettext.[Ch]: saner 'init' structure
2381 * updatableinset.[Ch]: remove unneeded code
2383 2003-10-08 Angus Leeming <leeming@lyx.org>
2385 Fix doxygen warnings.
2387 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2388 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2390 2003-10-07 Angus Leeming <leeming@lyx.org>
2392 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2393 be applied to InsetExternal.
2395 * Makefile.am: add these new files.
2397 * ExternalTemplate.[Ch]: add a list of available transforms to
2398 class Template and a list of factory functions for transformer classes
2399 that can act on this data to class Format.
2401 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2403 * ExternalSupport.C: Add code to replace transform placeholders
2404 with appropriate output.
2406 2003-10-07 Angus Leeming <leeming@lyx.org>
2408 * ExternalSupport.[Ch]: new files, moving the private member functions
2409 and namespace anon functions out of insetexternal.C to here, so making
2410 it easier to understand what is going on in insetexternal itself.
2412 * Makefile.am: add new files.
2414 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2415 allowing the class to be forward declared. (Also consistent with
2416 all other Params classes.)
2417 (write): moved out of the class. Move this function and those in
2418 namespace anon to ExternalSupport.[Ch].
2420 2003-10-07 Angus Leeming <leeming@lyx.org>
2422 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2423 non-const member function.
2425 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2430 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2432 2003-10-02 André Pönitz <poenitz@gmx.net>
2434 * insettext.C (read): make sure there is at least one par
2435 in the text after reading.
2437 2003-10-01 José Matos <jamatos@lyx.org>
2439 * insetbranch.C (linuxdoc, docbook): minor fix.
2441 2003-10-01 Angus Leeming <leeming@lyx.org>
2443 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2445 * insetexternal.[Ch]: changes due to the introduction of
2446 namespace lyx::external.
2448 2003-09-30 Angus Leeming <leeming@lyx.org>
2450 * insetexternal.[Ch] (Params::read, write): new member functions.
2452 2003-09-25 Angus Leeming <leeming@lyx.org>
2454 * insetexternal.[Ch] (TempName): new (private) nested struct with
2455 fake copy semantics. Enables us to use the generated copy c-tor
2456 in the Params struct.
2457 (Params::templatename, Params::tempname): use accessor functions.
2459 2003-09-25 Angus Leeming <leeming@lyx.org>
2461 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2462 function, returning a const pointer.
2464 2003-09-23 Angus Leeming <leeming@lyx.org>
2466 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2467 store them in a vector, preambleNames.
2469 * insetexternal.C (validate): loop over all preambleNames and call
2470 LaTeXFeatures::addExternalPreamble with each.
2472 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2474 * insetbranch.C: bug fix in branches
2476 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2478 * insetnote.C: small clean-up.
2480 2003-09-19 Angus Leeming <leeming@lyx.org>
2482 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2484 * insetcommand.C (string2params): clear params using the default c-tor.
2486 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2487 InsetInclude::Params. No more data in this struct than in
2488 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2489 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2490 (clone): remove #warning as it's now redundant.
2491 (set): add a 'Buffer const &' arg. Make private.
2492 (loadIfNeeded) move out of the class definition and into namespace anon.
2493 (getMasterFilename, getFileName): ditto.
2495 2003-09-18 Angus Leeming <leeming@lyx.org>
2497 * insetcommand.C (setParams): use the params' copy constructor.
2499 2003-09-18 Angus Leeming <leeming@lyx.org>
2501 * insetinsetbase.h (getLabelList):
2502 * insetinsetcollapsable.[Ch] (getLabelList):
2503 * insetinsetinclude.[Ch] (getLabelList):
2504 * insetinsetlabel.[Ch] (getLabelList):
2505 * insetinsettabular.[Ch] (getLabelList):
2506 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2507 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2509 2003-09-18 Angus Leeming <leeming@lyx.org>
2511 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2512 redundant baggage from yesteryear.
2513 Remove Params::flag as it is redundant; the info is present in
2516 2003-09-18 Angus Leeming <leeming@lyx.org>
2518 * insetinclude.C (latexString): add a Buffer const & arg.
2520 2003-09-18 Angus Leeming <leeming@lyx.org>
2525 * insettext.h: rename EnumLColor as LColor_color.
2527 2003-09-18 Angus Leeming <leeming@lyx.org>
2529 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2530 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2532 2003-09-16 Angus Leeming <leeming@lyx.org>
2534 * insetinclude.C (localDispatch): ensure that
2535 params_.masterFilename_ is set before trying to generate a
2536 preview, else we trigger an assert.
2538 2003-09-16 Angus Leeming <leeming@lyx.org>
2540 * insetinclude.C (PreviewImpl::parent): return a const reference.
2542 2003-09-16 Angus Leeming <leeming@lyx.org>
2544 * insetcollapsable.[Ch]: make all member variables, except for
2547 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2548 than access labelfont directly.
2549 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2550 use InsetCollapsable::setCollapsed, isOpen rather than access
2551 collapsed_ directly.
2553 * insetminipage.C (metrics):
2554 * insetnote.C (metrics):
2555 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2556 access collapsed_ directly.
2558 2003-09-16 Angus Leeming <leeming@lyx.org>
2560 * insetbibitem.C: add #include "lyxfont.h".
2562 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * insetbibtex.C: use namespace alias for lyx::support::os
2567 2003-09-16 Angus Leeming <leeming@lyx.org>
2569 * insetcollapsable.h: remove unused framecolor variable.
2570 Remove #include "LColor.h".
2572 * insetcollapsable.C: remove unused framecolor variable.
2575 * insetcollapsable.C:
2583 Add #include "LColor.h".
2585 2003-09-16 Angus Leeming <leeming@lyx.org>
2587 * insettext.[Ch] (frameColor): new accessor function.
2588 (frame_color_): stored as an int, allows us to remove #include
2589 "LColor.h" from insettext.h
2594 add #include "LColor.h".
2596 * insetcollapsable.h: add #include "LColor.h"
2597 (for its framecolor member variable).
2599 2003-09-16 Angus Leeming <leeming@lyx.org>
2601 * insetenv.C (constructor): use accessor functions to access
2602 InsetText variables.
2604 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2605 rename frame_color as frame_color_. Make private.
2607 * insettext.C: associated changes.
2609 2003-09-16 Angus Leeming <leeming@lyx.org>
2611 * inset.h: store background_color_ as an int, not as an
2612 LColor::color to get LColor.h out of the header file.
2615 * insetlatexaccent.C:
2618 * insetspecialchar.C:
2620 add #include "LColor.h".
2622 2003-09-16 Angus Leeming <leeming@lyx.org>
2624 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2625 cannot string calls together.
2627 2003-09-15 Angus Leeming <leeming@lyx.org>
2629 * inset.[Ch] (setBackgroundColor, backgroundColor):
2630 * insettext.[Ch] (setFrameColor):
2631 pass EnumLColor args, rather than LColor::color ones.
2633 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * insetwrap.C: remove usage of STRCONV
2645 2003-09-15 Angus Leeming <leeming@lyx.org>
2647 * renderers.C (draw):
2648 * insetlatexaccent.C (draw): explicitly define the color passed to
2651 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2653 * insettext.C: remove block causing problems in lockInsetInInset
2654 (mentioned erroneously under Bug #1366)
2656 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2658 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2661 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2663 * several files: change Assert to BOOST_ASSERT
2665 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2667 * insettext.[Ch]: remove drawText[XY]Offset
2669 2003-09-08 Angus Leeming <leeming@lyx.org>
2671 * insetcollapsable.C:
2676 * insetspecialchar.C:
2679 * insettoc.C: remove redundant using directives.
2681 2003-09-07 Angus Leeming <leeming@lyx.org>
2684 * insetspecialchar.h: remove #include "support/std_string.h".
2686 2003-09-06 Angus Leeming <leeming@lyx.org>
2688 * renderers.C: add #include "insets/inset.h"
2690 2003-09-05 Angus Leeming <leeming@lyx.org>
2692 * *.C: strip out redundant #includes. (193 in total.)
2694 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2696 * insets/insetbibtex.[Ch]:
2697 * insets/insetcommand.h:
2698 * insets/insetfloatlist.[Ch]:
2699 * insets/insetinclude.[Ch]:
2700 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2701 of insets like bibtex, include, toc and floatlist to the visible
2702 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2703 up the dialogs. Cursor has to be in front of the inset (i.e.
2704 start of row) for this to function.
2706 2003-09-04 Angus Leeming <leeming@lyx.org>
2708 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2709 structure outside of the Format struct. Format::preambleName refers to
2710 an item in the map of all preamble snippets.
2711 Make use of the new Debug::EXTERNAL flag.
2713 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2714 (validate): Small change due to the changed storage of preamble
2717 2003-09-04 Angus Leeming <leeming@lyx.org>
2719 * insetgraphics.C: #include "support/os.h"
2721 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2722 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2723 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2725 * insetcollapsable.h:
2727 * insetnote.C: move #include "funcrequest.h" out of the header file.
2729 2003-09-03 Angus Leeming <leeming@lyx.org>
2731 * insetexternal.C (updateExternal):
2732 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2735 2003-09-03 Angus Leeming <leeming@lyx.org>
2737 * insetexternal.C: don't bring namespace lyx::support into the global
2740 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2742 * insetbranch.C: Add Branch: to label
2744 2003-09-02 John Levon <levon@movementarian.org>
2747 * insettext.C: remove cursor.i[xy]()
2749 2003-08-28 Angus Leeming <leeming@lyx.org>
2751 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2752 "sh ", enabling the conversion to be carried out even if the script
2755 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * most files: change to use const Buffer refs
2759 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2761 * insetfootlike.C: whitespace.
2763 2003-08-26 John Levon <levon@movementarian.org>
2767 * insetindex.h: remove remaining mentions of needFullRow()
2769 2003-08-26 André Pönitz <poenitz@gmx.net>
2775 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2777 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2779 * insetbranch.C: Small fix to prevent a crash on loading.
2781 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2786 * insetcollapsable.h:
2788 * insetfloatlist.[Ch]:
2789 * insetfootlike.[Ch]:
2790 * insetinclude.[Ch]:
2796 * insettheorem.[Ch]:
2797 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2798 altogether, putting the logic in metrics/draw in the insets.=20
2799 Draws short single row insets with more or less realistic metrics.
2801 2003-08-19 André Pönitz <poenitz@gmx.net>
2803 * insettext.C: use new RowPainter interface
2805 2003-08-18 John Levon <levon@movementarian.org>
2807 * insetref.C: require amsmath for eqref
2809 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2813 * insetbranch.[Ch]: implements the 'branch inset'
2814 idea. This allows the output of various versions of a document
2815 from a single source version, selectively outputing or suppressing
2816 output of parts of the text.
2817 This implementation contains a 'branch list editor' in a separate
2818 tab of the document settings dialog. Branches are user definable
2819 and have a "display colour" to distinguish them on-screen.
2821 ColorHandler was somewhat cleaned up.
2822 (1) make possible a dynamically growing LColor list by allowing
2823 the graphic context cache to grow along (vector);
2824 (2) eliminate an IMHO unnecessary step in colour allocation.
2826 2003-08-15 André Pönitz <poenitz@gmx.net>
2828 * insettext.[Ch]: adjust after rowlist split
2830 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2832 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2833 rename valign-center to valign-middle;
2834 rename VALIGN_CENTER to VALIGN_MIDDLE
2836 2003-08-11 André Pönitz <poenitz@gmx.net>
2838 * inset.h: remove resizeLyXText
2841 * insetcollapsable.[Ch]:
2843 * insettabular.[Ch]: adjust
2845 * insettext.[Ch]: remove saveLyXTextState,
2846 restoreLyXTextStat, sstate, reinitLyXText
2848 2003-08-07 André Pönitz <poenitz@gmx.net>
2850 * inset.[Ch]: move non-crucial functions out-of-line
2852 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2853 remove duplicated code.
2855 2003-08-05 André Pönitz <poenitz@gmx.net>
2858 * insetcollapsable.[Ch]:
2868 * insettabular.[Ch]:
2871 * updatableinset.[Ch]: rip out "deep update"
2873 * insettext.C (localDispatch): merge cases with default branch
2875 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2877 * insettabular.[Ch] (updateLocal): simplify logic
2879 2003-08-04 André Pönitz <poenitz@gmx.net>
2881 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2882 is 'FULL' all the time.
2884 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * insetert.C (get_new_label): only add ... to the (closed) label
2887 when the string has been shortened
2889 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2891 * Always use std::endl with lyxerr
2893 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2895 * insetnote.C: update \author list
2897 2003-07-31 André Pönitz <poenitz@gmx.net>
2899 * insetcollapsable.h:
2900 * insettabular.[Ch]:
2901 * insettext.[Ch]: remove toggleSelection
2903 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2905 (with help from Juergen Spitzmueller)
2906 * insetnote.C: add add i18n support. Use Prefs-definable
2907 colours for Comment and Greyedout.
2909 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2911 * insetcollapsable.[Ch]:
2913 * insetert.C: factor out the detection of clicking on the inset
2914 button as 'hitButton'. John Levon contributed.
2916 2003-07-30 André Pönitz <poenitz@gmx.net>
2918 * insetcollapsable.C:
2920 * insettabular.C: parantheses, localize vars etc.
2922 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2924 * insetnote.C: Implement a newenvironment in preamble for
2925 greyedout. Patch provided by Jürgen Spitzmüller.
2927 2003-07-29 Angus Leeming <leeming@lyx.org>
2929 * insetcommand.C (localDispatch): default to
2930 InsetOld::localDispatch.
2932 * insetbibitem.C (localDispatch):
2933 * insetbibtex.C (localDispatch): remove call to
2934 ChangeCitationsIfUnique.
2936 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2938 * insetexternal.C (read): use pushpophelper.
2940 2003-07-28 José Matos <jamatos@lyx.org>
2942 * insetext.C (read): \end_document replaces \the_end.
2944 2003-07-28 José Matos <jamatos@fep.up.pt>
2946 * insetert.C (write): \layout -> \begin_layout.
2947 Add missing \end_layout.
2949 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2951 * insetquotes.C: document a bit the format
2953 * insettabular.C (write): remove extra space
2955 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2956 * insetnote.C: Umpf. Hope I *now* get it right :-(
2958 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2959 *insetnote.C: did the right fix to greyedout: \color
2960 instead of \textcolor.
2962 2003-07-28 Angus Leeming <leeming@lyx.org>
2964 * insetbibtex.h: remove extraneous forward declaration.
2967 * insetbibtex.h: Also remove long-dead Holder member class
2970 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2972 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2975 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * insetwrap.C (addToToc): adjust for lyx::toc
2979 * insetfloatlist.C (ascii): adjust for lyx::toc
2981 * insetfloat.C (addToToc): adjust for lyx::toc
2983 2003-07-27 José Matos <jamatos@fep.up.pt>
2985 * insetnote.h (linuxdoc,docbook): update support.
2987 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2989 * insetfloat.C (wide): add a space to label, for consistency
2991 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * insettext.C (nextChange): adjust for lyx::find
2994 (searchForward): ditto
2995 (searchBackward): ditto
2997 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * insetgraphicsParams.C:
3000 * insetexternal.C: declare extern displayTranslator
3003 * renderers.C: add #include "support/LAssert.h"
3005 2003-07-27 José Matos <jamatos@fep.up.pt>
3007 * insetfloat.[Ch] (linuxdoc):
3008 * insetgraphics.C (linuxdoc):
3009 * insettabular.C (linuxdoc):
3010 * insettext.[Ch] (linuxdoc): add support for tables and figures
3013 2003-07-27 José Matos <jamatos@fep.up.pt>
3015 * insetinclude (latex): comply with makeLaTeXFile argument change.
3017 2003-07-26 Asger Alstrup <alstrup@local>
3019 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3020 the undo crashes. We'll see what problems other places this will
3023 2003-07-26 Angus Leeming <leeming@lyx.org>
3025 * insetgraphics.C: remove unused declaration of system_tempdir.
3027 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * rename Inset to InsetOld
3031 * all inset files (clone): return a auto_ptr<InsetBase>
3033 2003-07-23 Angus Leeming <leeming@lyx.org>
3035 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3037 2003-07-23 Angus Leeming <leeming@lyx.org>
3039 * mailinset.[Ch] (inset2string):
3040 * insetcommand.[Ch] (inset2string):
3041 * insetert.[Ch] (inset2string):
3042 * insetexternal.[Ch] (inset2string):
3043 * insetfloat.[Ch] (inset2string):
3044 * insetgraphics.[Ch] (inset2string):
3045 * insetinclude.[Ch] (inset2string):
3046 * insetminipage.[Ch] (inset2string):
3047 * insetnote.[Ch] (inset2string):
3048 * insettabular.[Ch] (inset2string):
3049 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3051 * insetexternal.[Ch]:
3052 * insetgraphics.[Ch]: get rid of the view() function. Associated
3053 changes to the mailers' string2params and params2string functions.
3055 2003-07-23 Angus Leeming <leeming@lyx.org>
3057 * insetexternal.[Ch]: store the external file name in a FileName
3058 member variable rather than a string + associated changes.
3060 2003-07-21 Angus Leeming <leeming@lyx.org>
3062 * insetgraphicsParams.[Ch]: store the graphics file name in
3063 a FileName member variable rather than a string.
3065 * insetgraphics.[Ch]:
3066 * insetgraphicsParams.[Ch]: Associated changes.
3068 2003-07-21 Angus Leeming <leeming@lyx.org>
3070 * insetgraphics.[Ch] (string2params, params2string): passed a
3071 buffer_path argument.
3074 2003-07-21 Angus Leeming <leeming@lyx.org>
3077 * insetgraphicsParams.[Ch]:
3079 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3081 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3083 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3085 2003-07-18 André Pönitz <poenitz@gmx.net>
3088 * insetminipage.[Ch]:
3089 * insettabular.[Ch]:
3092 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3094 2003-07-18 André Pönitz <poenitz@gmx.net>
3098 * insetcollapsable.C:
3102 * insetgraphics.[Ch]:
3103 * insetlatexaccent.[Ch]:
3108 * insetspecialchar.C:
3109 * insettabular.[Ch]:
3111 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3113 2003-07-17 André Pönitz <poenitz@gmx.net>
3115 * insetcollapsable.C:
3117 * insettext.C: don't call Inset::update() anymore
3120 * insettabular.[Ch]: remove unneeded in_update_ members
3122 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3124 2003-07-16 André Pönitz <poenitz@gmx.net>
3126 * insettext.C (selectAll): remove
3128 2003-07-16 John Levon <levon@movementarian.org>
3131 * insetnote.C: implement showInsetDialog()
3133 2003-07-15 André Pönitz <poenitz@gmx.net>
3136 * insettext.C: refresh_status tristate -> need_update bool
3138 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3140 * insettext.C: adjust call to LyXText::init
3142 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3144 * insettext.C: use bufferview_funcs->replaceSelection()
3145 to delete selections in some cases (bugs 441, 673, 702, 954).
3147 2003-07-14 André Pönitz <poenitz@gmx.net>
3149 * insettext.C (draw): use slimmed down rowpainter interface
3151 2003-07-14 André Pönitz <poenitz@gmx.net>
3153 * insetcollapsable.C:
3155 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3156 remove unused BufferView * argument
3158 2003-07-14 André Pönitz <poenitz@gmx.net>
3160 * insettext.[Ch]: used cached metrics a bit more
3162 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3164 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3166 2003-07-10 André Pönitz <poenitz@gmx.net>
3169 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3171 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * introduce namespace lyx::graphics
3175 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * introduce namespace lyx::support
3179 2003-06-30 André Pönitz <poenitz@gmx.net>
3181 * insetcite.C (localDispatch): fix case of missing return value
3183 * insetcite.C (ascii): remove unneeded temporary
3185 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * insetspace.h: fix \file
3189 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3190 * insetinclude.C (fillWithBibKeys): ditto
3192 * insetbibitem.C: fix type const order
3194 * inset.C (getLyXText): add varname for arg
3196 * ExternalTemplate.h: fix type const order
3198 2003-06-27 André Pönitz <poenitz@gmx.net>
3200 * insettext.C: take care of removed LyXCursor::row_ member
3202 * insettext.[Ch]: use new TextCursor struct for sstate
3204 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3206 * inseterror.[Ch]: removed
3208 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3210 * insetinclude.C (docbook): use parseError instead of sgmlError
3212 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3214 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3215 of BufferList::loadLyXFile
3217 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * insettext.C (update): simplify
3220 (updateLocal): remove commented code
3221 (insetUnlock): simplify
3222 (lockInset): simplify
3223 (updateInsetInInset): simplify
3224 (localDispatch): simplify
3226 (resizeLyXText): simplify
3227 (collapseParagraphs): simplify
3229 * insetert.C (get_new_label): simplify
3231 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3233 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3234 pasteSelection with index
3236 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3238 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3240 2003-06-16 André Pönitz <poenitz@gmx.net>
3242 * insetbase.h: new virtual base function clone()
3244 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3245 Inset * clone() -> InsetBase * clone()
3247 2003-06-13 André Pönitz <poenitz@gmx.net>
3249 * insettabular.[Ch]: make tabular a proper member
3251 2003-06-12 André Pönitz <poenitz@gmx.net>
3253 * insettabular.[Ch]: some renaming plus whitespace
3255 2003-06-11 Angus Leeming <leeming@lyx.org>
3257 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3260 * insetbutton.[Ch]: removed.
3261 * graphicinset.[Ch]: renamed as renderers.[Ch].
3263 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3264 Create a new class ButtonRenderer using the InsetButton::metrics() and
3266 Derive both from a common RenderedInset base class.
3268 * insetcommand.[Ch]:
3269 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3270 Give it a ButtonRenderer member variable. Use it.
3271 Give the classes working copy c-tors.
3272 No longer derive from boost::noncopyable.
3274 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3275 display its contents as a button or as a graphic.
3277 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3280 2003-06-11 Angus Leeming <leeming@lyx.org>
3282 * insetcite.C (localDispatch): reformat.
3284 * insetref.C (localDispatch): enable dialog to be lauched.
3286 2003-06-11 John Levon <levon@movementarian.org>
3288 * insettabular.C: correctly mark all cells as erased
3290 2003-06-11 Angus Leeming <leeming@lyx.org>
3292 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3293 ExternalTemplate but its name, templatename. This means that a file
3294 containing a reference to an External Template not installed on the
3295 current machine will be saved retaining this info rather than inserting
3296 the first "valid" template from the list of templates.
3298 As a by product, the visual statement that the Template is missing is
3301 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3303 * insettext.C (appendParagraphs): remove some commented code.
3305 2003-06-10 Angus Leeming <leeming@lyx.org>
3307 * graphicinset.[Ch] (view): removed the publicly accessible
3308 function to set the cache.
3310 * insetexternal.[Ch]: move tempname_ into the Params struct.
3311 (Params d-tor): new function, to clean-up this temp file.
3312 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3314 (editExternal, doSubstitution): move out of class.
3316 2003-06-10 Angus Leeming <leeming@lyx.org>
3318 * graphicinset.[Ch] (params): removed.
3319 * graphicinset.h (operator=): declared private but not defined.
3320 (statusMessage): made private.
3322 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3324 2003-06-07 John Levon <levon@movementarian.org>
3326 * insetert.C (latex): make a newline mean just that not
3329 2003-06-07 José Matos <jamatos@fep.up.pt>
3331 * insethfill.[Ch] (linuxdoc, docbook): implement output
3332 * insetspace.C (linuxdoc, docbook): remove coments as the code
3335 2003-06-06 José Matos <jamatos@fep.up.pt>
3337 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3339 2003-06-06 André Pönitz <poenitz@gmx.net>
3341 * insetwrap.[Ch]: code compactification
3343 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3345 * mailinset.C (updateDialog): use Dialogs::visible
3347 2003-06-04 Angus Leeming <leeming@lyx.org>
3349 * graphicinset.C (draw): add a comment for the #if 0 block.
3351 * insetexternal.h: remove Params::parameters variable.
3353 * insetexternal.C (read, write): rewrite to output new ExternalInset
3354 format and read it back making full use of LyXLex.
3356 2003-06-04 André Pönitz <poenitz@gmx.net>
3358 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3360 2003-06-04 John Levon <levon@movementarian.org>
3362 * insettabular.C: back out tall table speed up. It was broken
3364 2003-06-03 Angus Leeming <leeming@lyx.org>
3366 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3367 Remove ViewCommand and UpdateCommand.
3369 * graphicinset.C (update): bug fix. Set the params before calling the
3372 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3373 the BufferView cache to enable the InsetExternal::editCommand to
3374 be invoked from the frontends. Would not be needed if this were
3375 dispatched properly.
3376 (old_ascent_): variable removed.
3378 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3379 do any necessary conversions of external material. Also use the
3380 new GraphicsInset to display the inset within LyX.
3382 2003-06-03 Angus Leeming <leeming@lyx.org>
3384 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3385 and move it somewhere where InsetExternal can use it too.
3387 * Makefile.am: add the new files.
3389 * insetgraphics.[Ch]: make use of the new GraphicInset.
3391 2003-06-03 John Levon <levon@movementarian.org>
3394 * insetbibitem.[Ch]:
3397 * insetcommand.[Ch]:
3401 * insetexternal.[Ch]:
3405 * insetgraphics.[Ch]:
3407 * insetinclude.[Ch]:
3410 * insetlatexaccent.[Ch]:
3411 * insetmarginal.[Ch]:
3412 * insetminipage.[Ch]:
3419 * insetspecialchar.[Ch]:
3420 * insettabular.[Ch]:
3422 * insetthereom.[Ch]:
3425 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3427 * insetgraphics.[Ch]:
3428 * insetgraphicsParams.[Ch]: always store an absolute
3431 2003-06-02 André Pönitz <poenitz@gmx.net>
3435 * insetlatexaccent.C: remove duplicated call to metrics()
3437 2003-06-02 John Levon <levon@movementarian.org>
3439 * insettabular.C: fix resize of column width
3441 2003-06-02 John Levon <levon@movementarian.org>
3446 * insetparent.C: remove insetparent
3448 2003-06-02 André Pönitz <poenitz@gmx.net>
3455 * insetcollapsable.[Ch]:
3459 * insetgraphics.[Ch]:
3460 * insetinclude.[Ch]:
3461 * insetlatexaccent.[Ch]:
3462 * insetminipage.[Ch]:
3463 * insetnewline.[Ch]:
3466 * insetspecialchar.[Ch]:
3467 * insettabular.[Ch]:
3468 * insettext.[Ch]: unify first drawing phase
3471 * insetbase.h: move validate() to the base
3473 2003-05-31 Angus Leeming <leeming@lyx.org>
3475 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3477 2003-05-30 André Pönitz <poenitz@gmx.net>
3482 * insetcaption.[Ch]:
3483 * insetcollapsable.[Ch]:
3486 * insetgraphics.[Ch]:
3487 * insetinclude.[Ch]:
3488 * insetlatexaccent.[Ch]:
3489 * insetnewline.[Ch]:
3492 * insetspecialchar.[Ch]:
3493 * insettabular.[Ch]:
3495 * updatableinset.[Ch]: unify second drawing phase
3497 2003-05-30 John Levon <levon@movementarian.org>
3499 * insetgraphics.C: fix a bformat
3501 2003-05-29 John Levon <levon@movementarian.org>
3503 * insettabular.C: remove unused bufferOwner()
3505 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * insettext.C (lockInsetInInset): adjust
3508 (getLabelList): use const_iterator, adjust
3509 (getInsetFromID): use const_iterator, adjust
3510 (addPreview): use const_iterator, adjust
3512 * insetwrap.C (clone): remove const_cast
3514 * insetnote.C (clone): remove const_cast
3516 * insetminipage.C (clone): remove const_cast
3518 * insetmarginal.C (clone): remove const_cast
3520 * insetfoot.C (clone): remove const_cast
3522 * insetfloat.C (clone): remove const_cast
3524 * insetert.C (clone): remove const_cast
3526 * delete commented same_id functions from a lot of files.
3528 2003-05-28 John Levon <levon@movementarian.org>
3534 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3536 * insetminipage.C: fix metrics (bug 1144)
3538 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * insettext.C (saveLyXTextState): adjust
3541 (restoreLyXTextState): adjust
3544 (unlockInsetInInset): adjust
3545 (localDispatch): adjust
3546 (getLyXText): adjust
3548 * insettabular.C (insertAsciiString): adjust
3550 2003-05-27 André Pönitz <poenitz@gmx.net>
3553 * insetcollapsable.C:
3556 * insetlatexaccent.C:
3561 * insetspecialchar.C:
3563 * insettext.C: dim.w -> dim.wid
3565 2003-05-26 John Levon <levon@movementarian.org>
3567 * insettabular.C: avoid drawing all of a long table
3568 if it's not needed. A big speedup
3570 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * remove same_id from function signatures, adjust
3574 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * insettext.C (InsetText): adjust
3578 (setParagraphData): separate same_id cases, adjust
3579 (appendParagraphs): adjust
3580 (appendParagraphs): adjust
3582 2003-05-23 André Pönitz <poenitz@gmx.net>
3584 * insetbutton.h: whitespace
3586 * insettabular.C: more compact code
3588 * updatableinset.C: remove const_cast
3591 2003-05-23 Angus Leeming <leeming@lyx.org>
3593 * insetexternal.C (write): check how many lines are output.
3594 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3595 if the template has defined it.
3597 2003-05-23 Angus Leeming <leeming@lyx.org>
3599 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3601 2003-05-23 Angus Leeming <leeming@lyx.org>
3603 * insetfoot.C (latex):
3604 * inseturl.C (latex): rename fragile as moving_arg.
3606 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * inseterror.C (localDispatch): comment out unused var.
3610 2003-05-22 Angus Leeming <leeming@lyx.org>
3612 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3613 passed through the LatexRunParams arg.
3615 2003-05-22 Angus Leeming <leeming@lyx.org>
3617 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3618 through the LatexRunParams arg.
3620 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3621 arg rather than through a global var.
3623 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * insetspecialchar.C (dimension): use a string.
3627 2003-05-22 Angus Leeming <leeming@lyx.org>
3629 * insetbibtex.C (latex):
3630 * insetgraphics.C (latex):
3631 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3632 runparams rather than from the buffer itself.
3634 2003-05-22 Angus Leeming <leeming@lyx.org>
3636 * inset*.[Ch] (latex):
3637 passed a LatexRunParams parameter.
3639 * insetgraphics.C (latex): actually use it ;-)
3641 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3643 * insetfloat.C (addToToc): trivial compile fix
3645 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * insettext.[Ch] (paragraph): delete unused function
3649 * insetfloat.C (addToToc): parlist simplfication
3651 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3653 * insetspace.[Ch]: added (new space insets)
3655 * inset.h: handle new space insets
3657 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * insetfloat.C (addToToc): adjust
3661 2003-05-21 André Pönitz <poenitz@gmx.net>
3663 * insettext.[Ch]: fix drawing bug introduced earlier
3665 2003-05-19 André Pönitz <poenitz@gmx.net>
3667 * insetspecialchar.C: fix bug introduced yesterday
3669 2003-05-19 André Pönitz <poenitz@gmx.net>
3673 * insetcollapsable.[Ch]:
3677 * insetgraphics.[Ch]:
3678 * insetgraphicsParams.[Ch]:
3679 * insetlatexaccent.[Ch]:
3680 * insetminipage.[Ch]:
3681 * insetnewline.[Ch]:
3683 * insetspecialchar.[Ch]:
3684 * insettabular.[Ch]:
3685 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3687 2003-05-19 André Pönitz <poenitz@gmx.net>
3690 * insettext.C: more insetenv
3692 2003-05-16 André Pönitz <poenitz@gmx.net>
3695 * insetminimpage.[Ch]:
3696 * insetcollapsable.[Ch]: fix #832
3698 2003-05-16 André Pönitz <poenitz@gmx.net>
3701 * insetbibitem.[Ch]:
3705 * insetcollapsable.[Ch]:
3706 * insetcommand.[Ch]:
3709 * insetexternal.[Ch]:
3710 * insetfloatlist.[Ch]:
3711 * insetgraphics.[Ch]:
3712 * insetinclude.[Ch]:
3715 * insetlatexaccent.[Ch]:
3718 * insettabular.[Ch]:
3722 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3724 2003-05-13 André Pönitz <poenitz@gmx.net>
3727 * insetcollapsable.C:
3731 * insetwrap.C: tostr from own header
3743 * insetwrap.C: STRCONV
3746 2003-05-12 André Pönitz <poenitz@gmx.net>
3758 * insetwwrap.C: boost::format -> bformat all over the place
3760 2003-05-05 André Pönitz <poenitz@gmx.net>
3762 * insettext.h: add missing #include <map>
3764 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * insettext.C (InsetText): parlist cleanup
3769 (insetUnlock): ditto
3771 (lockInsetInInset): ditto
3775 (searchBackward): ditto
3776 (collapseParagraphs): ditto
3778 2003-05-06 John Levon <levon@movementarian.org>
3780 * insetcaption.C: don't cast wrap inset to InsetFloat
3783 * insetfloat.C: remove unneeded type() function
3785 2003-05-05 André Pönitz <poenitz@gmx.net>
3789 * insettabular.[Ch]:
3790 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3791 replace getFirstParagraph() by getParagraphs()
3793 2003-05-03 John Levon <levon@movementarian.org>
3795 * insetcollapsable.h:
3796 * insetcollapsable.C:
3802 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3803 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3804 getCursor(). Remove explicit cursor hides.
3806 2003-05-02 André Pönitz <poenitz@gmx.net>
3808 * insettext.C: remove unneeded &*
3810 2003-04-30 John Levon <levon@movementarian.org>
3812 * insettabular.C: fix edit message
3814 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * insettext.C (setFont): do not convert iterator -> pointer
3818 * insettabular.C (localDispatch): do not convert iterator -> pointer
3820 (tabularFeatures): ditto
3822 2003-04-29 André Pönitz <poenitz@gmx.net>
3824 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3826 2003-04-28 André Pönitz <poenitz@gmx.net>
3828 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3831 2003-04-25 André Pönitz <poenitz@gmx.net>
3833 * insetenv.C: derive from InsetText instead of InsetCollapsable
3835 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * insetexternal.C (string2params): dont do anything if the string
3839 * insetgraphics.C (string2params): ditto
3840 * insetcommand.C (string2params): ditto
3841 * insetert.C (string2params): ditto
3842 * insetfloat.C (string2params): ditto
3843 * insetinclude.C (string2params): ditto
3844 * insetminipage.C (string2params): ditto
3845 * insettabular.C (string2params): ditto
3846 * insetwrap.C (string2params): ditto
3848 2003-04-24 André Pönitz <poenitz@gmx.net>
3850 * insetref.C: support for eqref
3852 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * insetert.C (read): use ParagraphList::iterator.
3856 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * insetquotes.C (latex): comment some code and add warnings.
3860 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3862 * insetexternal.C (localDispatch): added a missing DISPATCHED
3864 2003-04-12 John Levon <levon@movementarian.org>
3866 * insetwrap.C (addToToc): fix a crash, conversion
3867 from while to for loop forgot to remove the explicit
3870 2003-04-10 John Levon <levon@movementarian.org>
3872 * insettabular.C (tabularFeature): make sure
3873 to update the dialog when we change something
3876 (getStatus): don't disable some lfuns (bug 939)
3878 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * insettext.C (saveLyXTextState): adjust
3881 (localDispatch): adjust
3887 * insettabular.C (localDispatch): adjust
3889 (tabularFeatures): adjust
3891 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3893 * insettabular.C (searchForward,searchBackward): fix bug 782
3895 2003-04-07 John Levon <levon@movementarian.org>
3898 * insettext.C: clear status message on inset exit
3900 2003-04-03 John Levon <levon@movementarian.org>
3902 * insetcommand.C: return dispatched on DIALOG_UPDATE
3904 2003-04-02 John Levon <levon@movementarian.org>
3906 * insettabular.C: tab lfuns renamed
3908 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * insettext.C (update): move towards ParagraphList
3911 (updateLocal): ditto
3913 (insetUnlock): ditto
3915 (lockInsetInInset): ditto
3916 (updateInsetInInset): ditto
3917 (localDispatch): ditto
3920 (resizeLyXText): ditto
3921 (searchBackward): ditto
3922 (collapseParagraphs): ditto
3925 * insetwrap.C (InsetWrap): adjust
3926 (addToToc): adjust and rewrite loop
3928 * insettext.[Ch] (paragraph): delete function
3930 * insettabular.C (moveNextCell): adjust
3931 (movePrevCell): adjust
3932 (insertAsciiString): adjust
3934 * insetfloat.C (InsetFloat): adjust
3937 * insetert.C (InsetERT): adjust
3938 (write): adjust, and rewrite loop
3939 (latex): adjust, and rewrite loop
3940 (linuxdoc): adjust, and rewrite loop
3941 (docbook): adjust, and rewrite loop
3942 (localDispatch): adjust
3943 (get_new_label): adjust
3945 2003-04-01 John Levon <levon@movementarian.org>
3947 From Alfredo Braunstein
3950 * insetbutton.C: add localDispatch()
3952 * insetcommand.C: return DISPATCHED when edit() called
3954 * insettext.C: fix bug 967
3956 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * insettext.C: adjust
3960 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * insettext.C (draw): adjust
3963 (crow): return a RowList::iterator not a Row*
3965 * insetminipage.C (localDispatch): adjust
3967 * insetert.C (localDispatch): adjust
3969 2003-03-31 John Levon <levon@movementarian.org>
3972 * insetgraphicsParams.C: use_gui moved to lyx_gui
3974 2003-03-31 John Levon <levon@movementarian.org>
3976 * insettext.C: Alert fix
3978 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * insettext.C (ascent): adjust for RowList
3983 (getLyXText): adjust
3984 (toggleSelection): adjust
3986 * insetminipage.C (localDispatch): adjust for RowList
3988 * insetert.C (localDispatch): adjust for RowList
3989 (getMaxWidth): adjust for RowList
3991 2003-03-29 John Levon <levon@movementarian.org>
3993 * insetert.C: Alert cleanup
3995 2003-03-29 John Levon <levon@movementarian.org>
3997 * insettabular.C: Alert fix
3999 2003-03-28 John Levon <levon@movementarian.org>
4001 * insetfloat.C: reset label on INSET_MODIFY
4003 2003-03-28 John Levon <levon@movementarian.org>
4005 * insetgraphicsParams.C: read subcaptionText as a whole line
4008 2003-03-28 John Levon <levon@movementarian.org>
4010 * insettext.C: remove unused prototypes
4012 2003-03-25 Angus Leeming <leeming@lyx.org>
4014 * insetbibitem.C (localDispatch): repaint the view after modifying
4015 a bibitem inset in case the maximum InsetBibitem width has changed.
4017 2003-03-25 John Levon <levon@movementarian.org>
4020 * insettabular.C: LyXText renamings
4022 2003-03-24 John Levon <levon@movementarian.org>
4024 * insettext.C: remove some dead code. Fix bug 972 and
4025 related by posting a repaint in updateLocal(), and making
4026 the SEL functions set SELECTION.
4028 2003-03-22 John Levon <levon@movementarian.org>
4031 * inset.C: remove no-longer-needed topx_set
4033 * insetcollapsable.h:
4034 * insetcollapsable.C: remove dead code
4037 * insetert.C: rebreak the rows when a possible
4038 change in size is made, and reset the cursor
4041 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4043 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4044 topx_set. Fix drawing errors for clearInset(). Remove
4045 some unnecessary uses of topx, which should die.
4047 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4048 is no longer needed. Replace it with an ugly hack.
4050 2003-03-20 John Levon <levon@movementarian.org>
4053 * insetcollapsable.h:
4054 * insetcollapsable.C:
4062 * insettext.C: remove spurious font parameter
4063 from update(). Fix drawing of ERT insets inside
4064 insets (bug 966). Remove unused mark_dirty from
4065 tabular's updateLocal()
4067 2003-03-19 John Levon <levon@movementarian.org>
4076 * insetwrap.C: remove unused getter/setters
4078 2003-03-19 John Levon <levon@movementarian.org>
4080 * several files: bv->updateInset() doesn't take
4081 a bool mark_dirty any more
4083 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * adjust for BufferView* arg removal from lyxtext.
4087 2003-03-17 John Levon <levon@movementarian.org>
4089 * most files: remove the "cleared" parameter
4090 to draw in favour of always clearing. Associated
4093 2003-03-16 John Levon <levon@movementarian.org>
4095 * insettext.C: remove unused s.refresh
4097 2003-03-13 Angus Leeming <leeming@lyx.org>
4099 * insettext.C (edit): replace Dialogs::updateParagraph with
4100 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4102 2003-03-13 André Pönitz <poenitz@gmx.net>
4104 * Makefile.am: insert insetenv
4106 * insethenv.[Ch]: new files, currently inactive
4108 2003-03-12 John Levon <levon@movementarian.org>
4118 * insettext.C: use new insetnewline
4120 2003-03-12 John Levon <levon@movementarian.org>
4122 * insettext.C: readToken became readParagraph
4124 2003-03-12 John Levon <levon@movementarian.org>
4126 * insettext.C: use parlist iterator for reading contents
4128 2003-03-12 John Levon <levon@movementarian.org>
4130 * insettext.C: name change to readToken()
4132 2003-03-11 André Pönitz <poenitz@gmx.net>
4134 * Makefile.am: insert insethfill
4136 * insethfill.[Ch]: new files
4138 2003-03-10 Angus Leeming <leeming@lyx.org>
4140 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4142 (hideDialog): calls the new static Dialogs::hide() method.
4144 * insetbibitem.C (edit):
4145 * insetbibtex.C (edit):
4146 * insetcite.C (edit):
4147 * insetcommand.C (localDispatch):
4148 * inseterror.C (d-tor):
4149 * insetert.C (showInsetDialog):
4150 * insetexternal.C (localDispatch, edit):
4151 * insetfloat.C (localDispatch, showInsetDialog):
4152 * insetfloatlist.C (edit):
4153 * insetgraphics.C (localDispatch, edit):
4154 * insetinclude.C (localDispatch, edit):
4155 * insetindex.C (edit):
4156 * insetlabel.C (edit):
4157 * insetminipage.C (localDispatch, showInsetDialog):
4158 * insetref.C (edit):
4159 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4160 resetPos, showInsetDialog, openLayoutDialog):
4161 * insettoc.C (edit):
4162 * inseturl.C (edit):
4163 * insetwrap.C (localDispatch, showInsetDialog):
4164 changes due to the changed MailInset interface.
4166 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4168 * insetfloat.h: Set default placement to an empty string.
4170 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4172 * insettext.C (latex): adjust call to latexParagraphs.
4174 2003-03-10 Angus Leeming <leeming@lyx.org>
4176 * mailinset.C: warn the user if the BufferView has not been cached.
4178 2003-03-10 Angus Leeming <leeming@lyx.org>
4180 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4182 * insetcommand.h (inset):
4183 * insetert.h (inset):
4184 * insetexternal.h (inset):
4185 * insetfloat.h (inset):
4186 * insetgraphics.h (inset):
4187 * insetinclude.h (inset):
4188 * insetminipage.h (inset):
4189 * insettabular.h (inset):
4190 * insetwrap.h (inset):
4191 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4193 2003-03-10 Angus Leeming <leeming@lyx.org>
4195 * insetcommand.C (string2params):
4196 * insetexternal.C (string2params):
4197 * insetfloat.C (string2params):
4198 * insetgraphics.C (string2params):
4199 * insetinclude.C (string2params):
4200 * insetminipage.C (string2params):
4201 * insettabular.C (string2params):
4202 * insetwrap.C (string2params): cure warning message about missing
4205 2003-03-09 Angus Leeming <leeming@lyx.org>
4207 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4208 it to communicate with the frontend dialogs.
4210 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4211 contents of this inset!
4213 2003-03-07 Angus Leeming <leeming@lyx.org>
4215 * inseterror.C (localDispatch): new method; calls edit() on
4218 2003-03-07 Angus Leeming <leeming@lyx.org>
4220 * insetbibitem.C (localDispatch):
4221 * insetbibtex.C (localDispatch):
4222 * insetlabel.C (localDispatch):
4223 rewrite as a switch.
4225 2003-03-07 Angus Leeming <leeming@lyx.org>
4227 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4228 it to communicate with the frontend dialogs.
4230 2003-03-07 Angus Leeming <leeming@lyx.org>
4232 * insetexternal.C: remove operator== and operator!= for
4233 InsetExternal::Params. They were used only by the old controller
4236 2003-03-07 Angus Leeming <leeming@lyx.org>
4238 * insetcommand.C (localDispatch):
4239 * insetexternal.C (localDispatch):
4240 * insetfloat.C (localDispatch):
4241 * insetinclude.C (localDispatch):
4242 * insetminipage.C (localDispatch):
4243 * insetwrap.C (localDispatch):
4244 add LFUN_INSET_DIALOG_UPDATE to the switch.
4246 2003-03-07 Angus Leeming <leeming@lyx.org>
4248 * insetcommand.C (string2params):
4249 * insetexternal.C (string2params):
4250 * insetfloat.C (string2params):
4251 * insetinclude.C (string2params):
4252 * insetwrap.C (string2params): use LyXLeX more.
4255 * insetexternal.[Ch]:
4257 * insetinclude.[Ch]:
4258 * insetwrap.[Ch]: change Mailer::name_ to be static.
4260 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4261 it to communicate with the frontend dialogs.
4263 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4266 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4268 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * insettext.C (updateLocal): un-const function
4271 (updateLocal): adjust
4272 (collapseParagraphs): un-const function
4273 (collapseParagraphs): adjust
4275 2003-03-05 Angus Leeming <leeming@lyx.org>
4277 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4278 it to communicate with the frontend dialogs.
4280 2003-03-05 Angus Leeming <leeming@lyx.org>
4282 * insetcollapsable.C (draw): cache the BufferView.
4284 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4285 it to communicate with the frontend dialogs.
4287 2003-03-05 Angus Leeming <leeming@lyx.org>
4289 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4292 2003-03-05 Angus Leeming <leeming@lyx.org>
4294 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4296 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4297 it to communicate with the frontend dialogs.
4299 2003-03-05 Angus Leeming <leeming@lyx.org>
4301 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4302 it to communicate with the frontend dialogs.
4304 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * insettext.C (collapseParagraphs): adjust
4307 (appendParagraphs): make it take a Buffer* instead of a
4308 BufferParams& as arg.
4309 (appendParagraphs): adjust
4311 2003-03-04 Angus Leeming <leeming@lyx.org>
4313 * insetbibitem.C (localDispatch):
4314 * insetbibtex.C (localDispatch):
4315 * insetcommand.C (localDispatch):
4316 * insetert.C (localDispatch):
4317 * insetlabel.C (localDispatch):
4318 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4320 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * insettext.C (latex): adjust for ParagraphList::iterator
4324 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * insetbutton.C (view): adjust for boost 1.30.0
4327 * insetcollapsable.C (view): ditto
4328 * insetgraphics.C (statusChanged): ditto
4330 * insettext.h: move paragraphs to be public.
4332 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * insetnote.[Ch] (InsetNote): remove unused constructor
4336 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4338 * insetgraphics.C: added include "format.h"
4340 2003-02-27 Angus Leeming <leeming@lyx.org>
4342 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4345 2003-02-27 Angus Leeming <leeming@lyx.org>
4347 * insetbibitem.C (localDispatch):
4348 * insetbibtex.C (localDispatch):
4351 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4353 2003-02-26 Angus Leeming <leeming@lyx.org>
4355 * insetbibitem.[Ch] (localDispatch):
4356 * insetbibtex.[Ch] (localDispatch):
4357 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4359 * insetcommand.C (localDispatch):
4360 act only on receipt of LFUN_XYZ_APPLY.
4362 * insetert.C (localDispatch): reformat.
4363 add LFUN_XYZ_APPLY to the switch.
4365 2003-02-26 John Levon <levon@movementarian.org>
4367 * insettext.C: use RowPainter
4369 * inset.h: make helpers take const *
4371 2003-02-26 Angus Leeming <leeming@lyx.org>
4373 * insetcommand.[Ch] (localDispatch): new method.
4375 2003-02-26 Angus Leeming <leeming@lyx.org>
4377 * insetinclude.C (draw): cache the BufferView* using cache not
4378 PreviewImpl::setView
4380 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4382 * insetgraphics.C (draw)
4383 * insetinclude.C (draw): Eliminate also the other argument (owner
4384 inset inset) in the call to PreviewImage::image
4386 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4388 * insetgraphics.C (draw)
4389 * insetinclude.C (draw): Eliminate Buferview argument in call to
4392 2003-02-25 John Levon <levon@movementarian.org>
4394 * insetgraphicsParams.h:
4395 * insetgraphics.C: don't start a load process if
4396 the inset is set to NoDisplay (bug #920)
4398 2003-02-22 John Levon <levon@movementarian.org>
4401 * insetwrap.C: TocItem changed API (bug 913)
4403 2003-02-21 Angus Leeming <leeming@lyx.org>
4405 * insetcollapsable.[Ch] (cache, edit):
4406 * insetbutton.[Ch] (cache, edit): new methods to cache the
4407 BufferView in the draw method.
4409 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4410 simplify comunication between InsetCommand-derived classes and
4413 * insetbibitem.[Ch]:
4417 * insetfloatlist.[Ch]:
4421 * inseturl.[Ch]: small changes to reflect the new interface to the
4424 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4425 other, similar classes.
4427 * Makefile.am: add new files.
4429 2003-02-21 Angus Leeming <leeming@lyx.org>
4431 * updatableinset.h (setView, view): remove.
4432 * inset.h (view, cache): to be replaced by these.
4434 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4437 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4440 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4442 2003-02-21 Allan Rae <rae@lyx.org>
4444 * insetinclude.C (loadIfNeeded): ensure loading also works when
4445 child document is under version control.
4447 2003-02-17 André Pönitz <poenitz@gmx.net>
4449 * insetbib.[Ch]: Adjust access to bibkeys
4451 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4453 * insetquotes.C (dispString): remove use of acute accent for "'"
4456 2003-02-14 John Levon <levon@movementarian.org>
4458 * insettabular.C: changed method names in tabular.C
4460 2003-02-14 John Levon <levon@movementarian.org>
4464 * insetcollapsable.h:
4465 * insetcollapsable.C:
4469 * insettext.C: remove unused getParFromID()
4471 2003-02-13 John Levon <levon@movementarian.org>
4474 * insettext.C: remove unused beginningofMainBody()
4476 2003-02-08 John Levon <levon@movementarian.org>
4480 * insetcollapsable.h:
4481 * insetcollapsable.C:
4486 add nextChange(). Make allowSpellcheck() const. Add markErased().
4488 * insetert.C: ignore deleted text
4490 * insettabular.C: make sure to keep change tracking working
4493 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4498 * insettext.C: Use error messages with identical spelling and
4501 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4503 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4505 2002-12-17 Juergen Vigna <jug@lyx.org>
4507 * insettext.C (localDispatch): hopefully fixed cursor up down
4508 movement on leaving other insets.
4510 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4512 * insettext.C: fix inconsistent usage of spaces, colons,
4513 capitalization, and the like.
4515 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4517 * insetgraphics.C (prepareFile): do not remove the extension of
4518 the file name if it is not the default extension for the given
4519 format (that is, in latex output, remove extension from foo.eps,
4520 but not from foo.epsi)
4522 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4524 * insettext.C (lfunMouseRelease): hackish solution to the "double
4527 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * insetfloat.C (addToToc): use the floats name not its type
4530 * insetwrap.C (addToToc): ditto
4532 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4534 * insetnote.C (init): make label font smaller
4536 2002-12-04 John Levon <levon@movementarian.org>
4538 * insetinclude.C: ressurect setting of command name
4540 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * insetquotes.C (dispString): disambiguate insert call
4544 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * several files: ws changes
4548 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * insetquotes.C (dispString): use string::insert for prepending a
4553 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4555 * insetparent.C (getScreenLabel): use boost::format
4557 * insetgraphics.C (prepareFile): use boost::format
4560 * insetfloatlist.C (latex): use boost::format
4562 * insetcaption.C (draw): use boost::format
4564 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4566 * insettabular.C (tabularFeatures): Support for block alignment in
4567 fixed width columns.
4569 2002-11-20 Juergen Vigna <jug@sad.it>
4571 * insettabular.C (resetPos): temporary fix for endless loop in
4572 this function on a redraw.
4574 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * insettabular.C (copySelection): STRCONV
4578 * insetinclude.C (uniqueID): STRCONV
4579 (latexString): ditto
4581 * insetgraphics.C: put VersionNumber inside anon namespace
4582 (createLatexOptions): STRCONV
4584 * insetcommandparams.C: include config.h
4586 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4588 * insetgraphicsParams.C (Write): use lyx::float_equal.
4589 Write height data correctly.
4590 (Read): zero scale when reading height data.
4592 2002-10-30 John Levon <levon@movementarian.org>
4594 * insetfloat.C (addToTOC): recursively traverse all
4595 contents looking for captions (fix #568)
4597 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4599 * insetexternal.C (doSubstitution): do not try to replace
4600 environment variables, this is done when executing the command
4602 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4604 * insetexternal.C (doSubstitution): change order of substitution
4605 to work around ReplaceEnvironmentPath brokenness
4607 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4609 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4611 * insetgraphicsParams.C (init, Write): associated changes
4612 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4613 InsetGraphicsParams::scale.
4615 2002-10-21 John Levon <levon@movementarian.org>
4617 * inset.h: remove unused DISPATCH_RESULT
4619 * insettext.C: sgml open/close tag now in sgml namespace
4621 2002-10-21 Angus Leeming <leeming@lyx.org>
4623 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4624 file path subdir/fig.eps when pasting it into a buffer in a different
4627 2002-10-16 John Levon <levon@movementarian.org>
4629 * insetspecialchar.C: remove \\protected_separator parsing
4631 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4633 * insetquote.C: fix LaTeX output of quotation marks.
4635 2002-10-14 Juergen Vigna <jug@sad.it>
4637 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4638 Backspace functions which confused the Undo handling.
4640 2002-10-09 Angus Leeming <leeming@lyx.org>
4642 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4643 BufferView::dispatch that turns off this optimisation when a new inset
4646 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4647 reload the BibTeX keys.
4649 2002-10-11 André Pönitz <poenitz@gmx.net>
4651 * insettext.h: handle LFUN_PRIOR/NEXT
4653 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4655 * insetfloat.C: fix bug with float settings
4656 (document default != float default).
4658 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4660 * insetwrap.C (addToToc): New method.
4661 (InsetWrap): Set layout to caption.
4663 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4667 2002-09-16 John Levon <levon@movementarian.org>
4669 * insettabular.h: hasSelection() needs to be public
4671 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4673 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4675 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4677 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4679 2002-09-11 André Pönitz <poenitz@gmx.net>
4681 * insettabular.C: implement LFUN_WORDSEL
4683 2002-09-10 John Levon <levon@movementarian.org>
4685 * insetinclude.h: remove unused param
4687 2002-09-09 John Levon <levon@movementarian.org>
4690 * insetinclude.C: remove noload, default to input
4692 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4694 * insetgraphics.C: disfuscated use of ']' in built output string.
4696 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4700 2002-08-29 Juergen Vigna <jug@sad.it>
4702 * insettabular.C (lfunMousePress): Pay attention where you set
4703 the x/y values as they depend on which inset in the tabular is
4704 actually locked. So you surely have to reset them if you (un)lock
4707 2002-08-29 André Pönitz <poenitz@gmx.net>
4709 * insetfootlike.h: rename include guard to ALL CAPS
4711 * insettext.C: swap object and first parameter for checkInsetHit calls
4712 as this functions has moved from BufferView to LyXText
4715 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4717 * insetgraphicsParams.C: remove local displayTranslator and use
4718 the one from graphics/GraphicsTypes.h.
4720 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4722 * insetfloat.C (wide): add BufferParams parameter
4724 * insetfloatlist.C (read):
4727 * insetfloat.C (latex):
4729 * insetcaption.C (draw): use LyXTextClass::floats()
4731 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4733 * insetoptarg.h: add std:: qualifier.
4735 2002-08-26 Juergen Vigna <jug@sad.it>
4737 * insettext.C (localDispatch): ditto.
4739 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4741 2002-08-25 John Levon <levon@movementarian.org>
4743 * inseturl.C: elide long URLs (bug 404)
4745 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4747 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4748 remove "Format Version <version_no.>" string from inset header
4751 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4753 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4754 a member of "grfx::Params" anymore.
4756 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4758 2002-08-24 John Levon <levon@movementarian.org>
4761 * insetoptarg.C: ws, pedantry ...
4763 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4765 * insettext.C (collapseParagraphs): pasteParagraph now in global
4767 (appendParagraphs): ditto
4769 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4771 * insetcite.C (latex): Remove spaces only after commmas.
4773 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * insettext.C: remove NO_COMPABILITY stuff
4777 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * insettext.C (edit): use ParagraphList iterators
4781 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4782 (bibitemWidest): ditto
4784 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * insettext.C: include <boost/bind.hpp>
4787 add using std::for_each
4788 (saveLyXTextState): use ParagraphsList::iterator
4789 (init): use for_each on paragraphlist iterators
4790 (InsetText): remove superflous setting cached_bview to 0
4791 (latex): reformat a bit
4792 (ascii): use paragraphlist iterators
4793 (validate): use for_each + boost bind
4794 (getLabelList): use paragraphlist iterators
4795 (deleteLyXText): use for_each + boost::bind
4796 (resizeLyXText): ditto
4797 (reinitLyXText): ditto
4798 (removeNewlines): use paragraphlist iterators
4799 (getParFromID): ditto
4800 (paragraph): use for_each + boost::bind
4801 (getInsetFromID): use paragraphlist iterators
4802 (getLabelList): typo fix
4804 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * insettext.C (read): assign tmp to paragraphs after return from
4807 call to parseSingleLyXformat2Token
4810 2002-08-13 Angus Leeming <leeming@lyx.org>
4828 * inseturl.C: changes due to the changed LyXView interface that
4829 now returns references to member variables not pointers.
4831 2002-08-13 Angus Leeming <leeming@lyx.org>
4834 * insetcollapsable.h:
4837 * insettext.h: forward-declare WordLangTuple
4838 (selectNextWordToSpellcheck) constify return type.
4841 * insetcollapsable.C:
4844 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4846 2002-08-12 Angus Leeming <leeming@lyx.org>
4848 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4851 2002-08-12 Juergen Vigna <jug@sad.it>
4853 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4856 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4859 (bibitemWidest): ditto
4860 * insettext.[Ch]: ditto
4862 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4866 2002-08-09 Angus Leeming <leeming@lyx.org>
4868 * insetinclude.C (latexString): remove fudge now that I've found out
4869 how to enable LaTeX to find the file using input@path.
4871 2002-08-09 John Levon <levon@movementarian.org>
4874 * insettext.C: remove unused xpos
4876 2002-08-07 Juergen Vigna <jug@lyx.org>
4878 * insettabular.C (localDispatch): make delete not put the stuff
4879 in the clipboard only do this on a cut operation.
4881 * insettext.C (localDispatch): make delete and backspace not put
4882 selected stuff to the clipboard.
4884 2002-08-07 André Pönitz <poenitz@gmx.net>
4887 * insetcollapsable.[Ch]:
4891 * insettabular.[Ch]:
4892 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4894 2002-08-06 John Levon <levon@movementarian.org>
4898 * insetcollapsable.h:
4899 * insetcollapsable.C:
4905 * insettext.C: use WordLangTuple for spellcheck
4907 2002-08-06 Angus Leeming <leeming@lyx.org>
4909 * insetinclude.C: add a monitor to the previewed image, so that the
4910 image is refreshed if the \input-ed file changes.
4912 2002-08-04 John Levon <levon@movementarian.org>
4915 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4917 2002-08-02 Angus Leeming <leeming@lyx.org>
4919 * insetcommandparams.[Ch] (preview): new methods returning and setting
4920 a new bool preview_ flag.
4921 (read): read this flag.
4922 (operator==): add flag to check.
4924 * insetinclude.C (write): output new preview() flag.
4925 (previewWanted): use this flag.
4927 2002-08-02 Angus Leeming <leeming@lyx.org>
4929 * insetcollapsable.[Ch] (addPreview):
4930 * insettabular.[Ch] (addPreview):
4931 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4932 for insets in insets.
4934 2002-08-02 Angus Leeming <leeming@lyx.org>
4936 * insetcite.C: fix typo.
4938 * insetgraphics.C: kill current_view and instead cache the BufferView
4941 * insetinclude.C: kill current_view and pass the BufferView to the
4942 PreviewedInset so that it can cache it.
4944 2002-08-01 Angus Leeming <leeming@lyx.org>
4946 * inset.h (generatePreview): renamed as addPreview.
4947 (generatePreview): new method. Allows code to be moved out of
4948 math_nestinset.C and into the new PreviewedInset class.
4950 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4951 add previews to the inset when \input-ing LaTeX.
4953 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * several files: strip,frontStrip -> trim,ltrim,rtrim
4957 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * insetbib.C (latex): modify because of strip changes
4961 * insetnote.C (InsetNote): ditto
4963 2002-07-26 Juergen Vigna <jug@sad.it>
4965 * insettabular.C (searchForward): check for lastcell if we
4966 had a locking inset.
4968 2002-07-25 Juergen Vigna <jug@sad.it>
4970 * insettabular.C (insetMotionNotify): Don't update the screen
4971 if we didn't do nothing.
4972 (searchForward): last cell was not checked.
4974 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4976 * insetfloat.C (read, write): Allow default placement
4977 (floatPlacement_ is empty).
4979 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4981 * insetminipage.h (noFontChange):
4982 * insettabular.h (noFontChange):
4983 * insetfootlike.h (noFontChange):
4984 * insetfloat.h (noFontChange): return true
4986 * inset.h (noFontChange): new method, defaulting to false
4988 2002-07-22 Herbert Voss <voss@lyx.org>
4990 * insetgraphicsParams.[Ch]: support size_type for old docs
4992 2002-07-22 Herbert Voss <voss@lyx.org>
4995 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4998 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
5002 * insetlatexaccent.h: do not include "lyxlex.h"
5004 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
5007 * insetlatexaccent.C:
5011 * insetbib.C: #include "lyxlex.h"
5017 * insettext.C: use BufferParams::getLyXTextClass
5020 * insetfloat.C (addToToc): new method. Add to toclist the entries
5021 corresponding to Caption layouts
5022 (InsetFloat): when creating a new float, set the layout to "Caption"
5024 2002-07-21 Herbert Voss <voss@lyx.org>
5026 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5027 image relevant part into graphics/GraphicsImgae.C
5029 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5031 * insettoc.C (ascii):
5032 * insetfloatlist.C (ascii): change to use the new Toc functions
5033 instead of stuff that was in Buffer
5035 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5037 * insettext.C (localDispatch): BufferView::Dispatch has been
5038 renamed to BufferView::dispatch
5040 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * insetgraphicsParams.C (as_grfxParams): use the new
5043 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5044 1.2.0 patch, and I do not really know how to adapt it to the new
5045 grfx::Cache world. Angus, please could you have a look?
5047 2002-05-01 Herbert Voss <voss@lyx.org>
5049 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5051 2002-07-18 Angus Leeming <leeming@lyx.org>
5053 * insetgraphics.C: clean-up comments (from Herbert).
5054 add a new checksum variable to the cache. Use it in PrepareFile.
5055 (draw): start monitoring the file for a change.
5056 (prepareFile): re-arrange a little to avoid unnecessary steps.
5058 2002-07-17 Angus Leeming <leeming@lyx.org>
5060 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5061 a method rather than to the signal directly.
5063 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5065 * insettext.C: use view_state_changed, switchKeyMap
5067 2002-07-17 Herbert Voss <voss@perce.de>
5069 * insetgraphics.C (prepareFile): keep the extension when
5070 exporting to nice file
5072 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5074 * insetcite.C (getNatbibLabel):
5075 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5077 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5079 * insetgraphics.C: use ->isDrawable()
5081 2002-07-12 Angus Leeming <leeming@lyx.org>
5083 * insetgraphics.C: use the new smart loading capabilities of the image
5086 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5088 * insettabular.C (edit): Move into correct cell when entering a
5091 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5094 2002-07-05 Angus Leeming <leeming@lyx.org>
5096 * inset.h (generatePreview): new virtual method.
5098 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * insetcommandparams.[Ch] (operator=): move out of class
5101 (operator!): move out of class
5103 2002-07-04 André Pönitz <poenitz@gmx.net>
5105 * insetcommandparams.[Ch]: new files
5107 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5109 2002-06-15 Herbert Voss <voss@perce.de>
5111 * insetgraphics.C (prepareFile): bugfix; return always
5112 files without extension
5114 2002-06-28 Angus Leeming <leeming@lyx.org>
5116 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5117 rename asGParams -> as_grfxParams.
5119 * insetgraphics.C: reflect above change.
5121 2002-06-26 Angus Leeming <leeming@lyx.org>
5123 * insetgraphics.h: use boost::scoped_ptr in preference to
5126 2002-06-26 Angus Leeming <leeming@lyx.org>
5128 * insetgraphics.C: moved the image loading stuff into a new class
5129 grfx::Loader. Simplifies this file enormously.
5131 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5133 * insetgraphicsParams.C: changes aassociated with moving
5134 grfx::DisplayType out of grfx::GParams.
5136 2002-06-26 André Pönitz <poenitz@gmx.net>
5138 * insetgraphics.C: use os::external_path where necesaary according to a
5139 patch from Claus Hentschel)
5141 2002-06-25 Angus Leeming <leeming@lyx.org>
5143 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5144 generating a pixmap once the graphics file is loaded into memory.
5145 The current_view ugliness that was in grfx::ModifiedImage has been
5146 moved here now that grfx::ModifiedImage is no more.
5148 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5150 * insettext.C: layout as layout
5152 2002-05-28 André Pönitz <poenitz@gmx.net>
5154 * insetfloatlist.h: remove source of compiler warning
5156 * insetref.C: tiny whitespace
5158 2002-06-15 Herbert Voss <voss@perce.de>
5160 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5161 and take always convert when no userdefined converter was
5163 (latex) small changes in the lyxerr output
5165 2002-06-15 LyX Development team <lyx@rilke>
5167 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5168 mixed content. Small white spaces clean.
5170 2002-06-14 Angus Leeming <leeming@lyx.org>
5172 * inseetexternal.C: remove the using std::difftime declaration.
5174 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5176 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5178 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5180 * insetquotes.C (draw): fix drawing of double quotes
5182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5184 * insettabular.C: s/scrollCB/scrollDocView/
5186 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5188 * insettext.C: change of topCursorVisible()
5191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5194 * insettext.C: rename/change of LyXScreen
5196 2002-06-07 Angus Leeming <leeming@lyx.org>
5198 Fixes needed to compile with Compaq cxx 6.5.
5200 * insetexternal.C: all c-library variables have been moved into
5201 namespace std. Wrap using std::xyz declarations inside a #ifndef
5202 CXX_GLOBAL_CSTD block.
5204 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5206 * insetinclude.C (uniqueID):
5207 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5208 conflicted with some AIX headers.
5210 2002-05-31 Juergen Vigna <jug@sad.it>
5212 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5216 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5218 * insetexternal.C (clone): fix () bug when using new
5219 (updateExternal): don't only look for difftime in global scope
5221 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5223 * insettabular.C: add const
5225 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5227 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5228 file name, in case there are weird characters like ',' in there.
5231 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5233 * switch from SigC signals to boost::signals.
5235 2002-05-28 André Pönitz <poenitz@gmx.net>
5237 * insets/insetgraphicsParams.[Ch]:
5238 put in inset related stuff from src/graphic
5240 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5248 * insetcollapsable.C:
5249 * insetcollapsable.h:
5277 * inseturl.h: use mouse_state. Kill insetKeyPress
5279 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5284 * insetcollapsable.C:
5287 * insetlatexaccent.C:
5289 * insetspecialchar.C:
5291 * insettext.C: name change for font metrics
5293 2002-05-24 Juergen Vigna <jug@sad.it>
5295 * insetgraphics.h: include inset.h first (for LString.h)
5297 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5299 * insettext.C: screen moved
5301 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5319 * inseturl.C: LyXView moved into frontends/
5321 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5326 * insetcollapsable.C:
5330 * insetgraphicsParams.C:
5331 * insetlatexaccent.C:
5333 * insetspecialchar.C:
5335 * insettext.C: move Painter to frontends/
5337 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5339 * insettabular.h: use more specific smart_ptr header.
5340 * insettext.h: ditto
5342 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5345 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5347 * insettext.C: clear selection on paste (bug 393)
5349 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5351 * insettext.C (latex): Honor the moving_arg argument.
5353 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5355 * insetfoot.C (latex): if a footnote is in a title layout, then it
5356 is a \thanks. And then, its contents is a moving argument.
5358 2002-05-14 Juergen Vigna <jug@sad.it>
5360 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5363 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5365 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5366 when using options "Full author list" or "Upper case".
5368 2002-05-14 Herbert Voss <voss@perce.de>
5370 * insetgraphics.C (prepareFile): allow files with same name
5372 (readFigInset): set the flags from old figinset in the right
5374 (findTargetFormat): more comments
5376 2002-05-14 Juergen Vigna <jug@sad.it>
5378 * insettext.C (edit): tell checkAndActivateInset() that we don't
5379 have a button press.
5380 (checkAndActivateInset): if button < 0 we don't have a button press
5381 on the inset and os we won't call edit on it if it's not a Highly
5382 editable inset (then we have to enter it).
5384 2002-05-13 Juergen Vigna <jug@sad.it>
5386 * insetcollapsable.C (insetButtonRelease): returned wrong return
5389 2002-05-09 Juergen Vigna <jug@sad.it>
5391 * insetcollapsable.C (edit): first_after_edit should only be
5392 set to true if we enter this inset and it was collapsed so we
5393 open it up. This is needed to reclose it after a search/replace
5394 or spellcheck function opened it and was negative.
5396 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5398 * insetfloat.C (latex): Return correct value.
5400 2002-05-04 Herbert Voss <voss@perce.de>
5402 * InsetgraphicsParams.C (read): fix bug with WH
5404 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5406 * insetfloat.C (latex): More sensible latex output
5407 (fix the problem with endfloat).
5409 2002-05-02 José Matos <jamatos@fep.up.pt>
5411 * insetgraphics.C (validate): acess params as everyone else.
5413 2002-05-03 Juergen Vigna <jug@sad.it>
5415 * insettabular.C (fitInsetCursor): recalculate the cursor position
5418 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5420 * InsetgraphicsParams.[Ch]: whitespace.
5422 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5424 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5425 float type do not exist.
5427 2002-04-28 Herbert Voss <voss@perce.de>
5429 * insetgraphics.C (latex): fix bug with missing file-extension.
5430 LaTeX still allows a missing "eps" or "ps".
5432 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5434 * insetfloat.C (c-tor, wide): translate the name of the float.
5436 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5438 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5439 when using natbib and make it work efficiently. Must emphasise that the
5440 real work is Herbert's.
5442 2002-04-23 Herbert Voss <voss@perce.de>
5444 * insetgraphic.C (prepareFile): fix bug with overwriting and
5445 deleting an existing *.eps-file in the doc-dir
5447 2002-04-23 Juergen Vigna <jug@sad.it>
5449 * insettabular.C (drawCellSelection): fix off by 1 error.
5451 2002-04-22 Juergen Vigna <jug@sad.it>
5453 * insettabular.C (setFont): rewoke full selection if it was asked,
5454 after we changed all we had to change.
5456 * insettext.C (insetUnlock): code was uninitialized in some situations.
5458 2002-04-19 Herbert Voss <voss@perce.de>
5460 * insetgraphic.C (prepareFile): return filename without
5461 extension if we only export without compiling
5463 2002-04-19 Juergen Vigna <jug@sad.it>
5465 * insettext.C (draw): call a fullRebreak on the row where we had a
5466 change and reset the cursor and selection-cursors.
5468 * insettabular.C (insetUnlock):
5469 (insetButtonPress): call an update before setting the_locking_inset = 0
5470 as otherwise we don't repaint!
5471 (update): reset the cursor position when we changed dimensions as
5472 otherwise our cursor may be on the wrong spot.
5474 2002-04-18 Juergen Vigna <jug@sad.it>
5476 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5477 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5478 redraw otherwise we won't redraw.
5480 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5481 not really right before, but I only discovered this with the last
5482 changes to Page up/down.
5484 2002-04-17 Juergen Vigna <jug@sad.it>
5486 * insettext.C (checkAndActivateInset): simplified as we now have the
5487 edit(bv, bool) call.
5489 * insettext.h: changed behind variables to front variables to be
5490 equal to the one in the edit call (as it is for that they are used).
5492 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5494 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5495 not output anything at all!
5497 2002-04-16 Juergen Vigna <jug@sad.it>
5499 * insettabular.C (insetButtonPress):
5500 (insetUnlock): call a redraw on unlocking the cell inset.
5502 * insettext.C (insetButtonPress): same as below.
5503 (lockInset): new function to set initial values when inset should
5505 (insetButtonPress): use above function.
5506 (insetUnlock): don't force a repaint only set the updateStatus. The
5507 outside world should repaint if it thinks it should be done!
5509 * insettabular.C (insetButtonPress): init values if not set as locked
5510 as we are locked if someone presses on us and don't call the edit()
5511 call of the InsetText to lock it do it as BufferView does it!
5513 * inset.h (insetInInsetY): make func const and return an int.
5516 * insetcollapsable.C: adapt the above changed function.
5518 2002-04-15 Juergen Vigna <jug@sad.it>
5520 * insettext.C (getCursorPos): return relative position as to be able
5521 to give them directly to the edit() call.
5522 (edit): we have to set also x_fix as it is not set inside the
5523 setCursorFromCoordinates call!
5524 (insetMotionNotify): ditto.
5526 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5528 * insetbib.C (getKeys): strip leading '\t's from the line too.
5529 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5531 2002-04-12 Juergen Vigna <jug@sad.it>
5533 * insettext.h: added cix() helper function and use it where appropriate
5535 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5537 * insetgraphics.C (prepareFile): fix bug when graphics is a
5540 2002-04-12 Juergen Vigna <jug@sad.it>
5542 * insettext.C (insertInset): remove unneeded code!
5543 (updateLocal): fitCursor() fixes.
5544 (collapseParagraphs): fix a possible problem when having a selection
5545 and collapsing the paragraphs.
5547 2002-04-08 Herbert Voss <voss@perce.de>
5549 * insetgraphic.C (write): write the rotating angle as
5550 a float as is. test only for != 0.0
5552 2002-04-11 Juergen Vigna <jug@sad.it>
5554 * insettext.C: new function ciy() and use it for setting inset_y.
5556 * insetert.C (draw): fix the x return for collapsed version.
5558 2002-04-07 Herbert Voss <voss@perce.de>
5560 * insetgraphic.C (readFigInset): fix bug with subcaption and
5563 2002-04-08 Herbert Voss <voss@lyx.org>
5565 * insetgraphicsparam.C: forgot special option and delete old
5568 2002-04-05 Juergen Vigna <jug@sad.it>
5570 * insettext.C (localDispatch): make a CURSOR update if we inserted
5573 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5575 * insetfloatlist.C (getScreenLabel):
5576 (latex): use Floating::listName
5577 (validate): new method
5579 2002-04-03 José Matos <jamatos@fep.up.pt>
5581 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5583 * insetfoot.[Ch] (docbook): added forgotten method.
5585 2002-04-03 Juergen Vigna <jug@sad.it>
5587 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5588 way as in Bufferview_pimpl.
5590 2002-04-03 Allan Rae <rae@lyx.org>
5592 * insetgraphics.C (latex): one % too many makes living on the bleeding
5593 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5595 2002-03-28 Herbert Voss <voss@lyx.org>
5597 * insetgraphic.C (latex): simplify the code for the latex
5598 output when the file doesn't exist
5600 2002-03-29 Juergen Vigna <jug@sad.it>
5602 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5605 * insettabular.C (edit): call fitCursor().
5607 * insettext.C (insetButtonPress): change behaviour of no_selection
5608 to the one in the BufferView selection_possible and fix the spurious
5609 selection bug with it.
5610 (localDispatch): revoke selection on BREAK... functions.
5612 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5614 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5616 2002-03-28 Juergen Vigna <jug@sad.it>
5618 * insettabular.C (insetAllowed): return true as default value otherwise
5619 we're not able to insert insets inside paragraphs of an not locked
5622 2002-03-27 Herbert Voss <voss@lyx.org>
5624 * insetgraphicsparam.C: change c%, p% to col%, page%
5626 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5628 * insetspecialchar.C (isLineSeparator): disable the nice code to
5629 allow linebreaks after hyphenation and menu separators.
5631 2002-03-26 Herbert Voss <voss@lyx.org>
5633 * insetgraphics.C (figinsetRead): set the right lyxview
5635 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5637 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5638 $\backslash$ and pass a "string const &" to the function.
5639 (prepareFile, latex): use Path rather than MakeAbsPath.
5641 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5643 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5644 proper fix to the graphics cache.
5645 (latex): "really" nice output if the file is not found ;-)
5647 2002-03-26 Juergen Vigna <jug@sad.it>
5649 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5650 (collapseParagraphs): fixed inserting of separator ' '
5652 * insettabular.C (insertAsciiString): only check for buffer lenght
5653 not if we have \t or \n inside the buffer as if we don't have we only
5654 have 1 cell and that's it!
5656 * insetert.C (close): don't collapse if inlined.
5658 2002-03-25 Herbert Voss <voss@lyx.org>
5660 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5661 graphics file does not exist.
5663 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5665 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5666 path when preparing export.
5668 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5669 no longer MakeRelPath.
5671 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5673 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5674 Used to determine the absolute path to the graphics file in the
5675 graphics cache and only in the graphics cache.
5676 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5677 make graphics file name absolute if it is stored as a relative path.
5679 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5680 make graphics file name absolute if it is stored as a relative path.
5682 * insettext.C (edit): emit an updateParagraph signal on entering a text
5683 inset. Needs to be emitted when leaving the inset also.
5685 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5687 * all files: ws cleanup
5689 * Makefile.am: remove ld -r stuff
5691 2002-03-21 Juergen Vigna <jug@sad.it>
5693 * insettext.C (appendParagraphs): new function added to append
5694 the paragraphs to this insets paragraphs.
5696 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5698 * Makefile.am: special rules if partial linking
5700 2002-03-19 Juergen Vigna <jug@sad.it>
5702 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5704 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5706 * insetgraphics.C: Clean up Baruch's comments a little.
5707 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5709 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5712 * insettheorem.C: wrap warnings
5714 * insetgraphics.C: improve messages, move cached_status_
5715 setting to safer place
5717 2002-03-18 Juergen Vigna <jug@sad.it>
5719 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5721 (localDispatch): ditto
5723 * insettext.C (edit): removed unneeded showCursor calls.
5724 (localDispatch): ditto.
5726 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5728 * insetgraphics.h: remove display() method.
5730 2002-03-11 Juergen Vigna <jug@sad.it>
5732 * insetgraphics.C (draw): hack to fix the redrawing bug.
5733 (draw): seems this fixes #268 (force redraw of row if we changed).
5735 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5736 this inset text (don't know why I missed this earlier).
5738 2002-03-08 Juergen Vigna <jug@sad.it>
5740 * insettabular.C (updateLocal): do a FULL update if we're not locked
5741 and only a CELL update is asked.
5743 * insettext.C (updateInsetInInset): update insets inside inset also
5744 if it isn't inside the_locking_inset.
5746 * insettabular.C (updateInsetInInset): ditto.
5748 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5750 * insetexternal.C (doSubstitution): check whether we are using a
5751 temp dir for defining $$FPath
5753 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5756 * insettext.C: remove #include "WorkArea.h".
5758 2002-03-06 Juergen Vigna <jug@sad.it>
5760 * insettext.C (draw): fixed frame redrawing.
5761 (clear): forgot to set the inset_owner of the paragraph.
5763 * insetert.C (status): pay attention the bv can be 0 here!
5764 (getMaxWidth): add the default leftMargin
5766 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5768 * insetert.C (getMaxWidth): make w unsigned int.
5770 2002-03-05 Juergen Vigna <jug@sad.it>
5772 * insetert.C (status): change behaviour of Inlined.
5773 (getMaxWidth): added for new inlined behaviour.
5775 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5777 * insetnote.h (linuxdoc, docbook): add empty methods.
5778 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5779 before being initialized.
5781 2002-03-05 Juergen Vigna <jug@sad.it>
5783 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5784 only that one in the inset. Should be enough.
5785 (updateLocal): set the selection cursor always if we don't have a
5786 selection to be sure it's set!
5788 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5790 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5792 * insettext.C (clear): a gross hack to set layout on a newly
5795 2002-03-04 Juergen Vigna <jug@sad.it>
5797 * insettabular.C (localDispatch): inserted handling of
5798 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5799 (insertAsciiString): new helper function.
5801 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5803 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5806 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5808 * insettext.C (InsetText): initalize newly created par with
5809 default layout. add bufferparams parameter
5812 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5813 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5814 * insetert.[Ch] (InsetERT): ditto
5815 * insetfloat.[Ch] (InsetFloat): ditto
5816 * insetfoot.[Ch] (InsetFoot): ditto
5817 * insetfootlike.[Ch] (InsetFootLike): ditto
5818 * insetmarginal.[Ch] (InsetMarginal): ditto
5819 * insetminipage.[Ch] (InsetMinipage): ditto
5820 * insetnote.[Ch] (InsetNote): ditto
5821 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5823 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * insettext.C: layout as string
5827 * insetinclude.C: layout as string
5829 * insetert.C: layout as string
5831 * insetbib.C: layout as string
5833 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5836 * insettabular.C: remove #include "lyx_gui_misc.h".
5838 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5843 * inset.h: remove figinset, yahoo !
5845 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5847 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5848 copy c-tor and initialise member variables in the correct order.
5850 2002-02-28 Juergen Vigna <jug@sad.it>
5852 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5854 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * inset.h: ... and add a better one here.
5858 * insetcommand.C (insetButtonRelease): remove that one which was a
5861 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * insetcommand.C (insetButtonRelease): ... and move it here.
5865 * inseturl.h: remove insetButtonRelease from there...
5867 2002-02-26 Juergen Vigna <jug@sad.it>
5869 * inseturl.h: Added a insetButtonRelease call returning true as
5872 * insetlabel.C (edit): Fixed wrong update handling after change I
5873 leave in the wrong code for the one who wrote it to remove and have
5874 a look what he did wrong.
5876 * insettabular.C (localDispatch): force a SELECTION update if we
5877 had a selection and we passed the event down to the inset (fix #213)
5878 (localDispatch): handle font changing stuff when we have a cell
5879 selection so that the selection is not rewoked. I don't really like
5880 this fix, but it's the only way I see to do it right now.
5882 2002-02-22 Juergen Vigna <jug@sad.it>
5884 * insettext.C (insetUnlock): set the cursor to the second paragraph
5885 if available and if the first one is empty (fix #191).
5887 2002-02-20 Juergen Vigna <jug@sad.it>
5889 * insettext.C (getDrawFont): implemented this function to call the
5890 one of the owner if present as the owner normally knows what to do
5893 * insetert.C: implement getDrawFont() function and comment out all
5894 the crap for setting a special latex font inside this inset.
5895 (InsetERT): added a Lanugage parameter to this constructor.
5897 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5898 change the font for being drawn on screen (used only in InsetERT for
5901 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5902 and also above (was missing).
5903 (updateLocal): don't remove the cell selection if we have one this
5904 should be done where we really want to remove it.
5906 2002-02-20 José Matos <jamatos@fep.up.pt>
5908 * insetinclude.h: include_label made string const.
5910 * insetinclude.C (InsetInclude): moved include_label initialization.
5913 (validate): fix support for temporary directory, for docbook and
5916 * insetgraphics.h : new private member, graphic_label, that holds
5917 the entity name that defines the graphics location (SGML).
5919 * insetgraphics.C (unique_id): new function to give a unique label
5922 (validate): the file locatation is given by an entity reference.
5924 2002-02-18 Herbert Voss <voss@lyx.org>
5926 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5928 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5930 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5931 as support/systemcall.[Ch] and of class Systemcalls as class
5934 2002-02-18 José Matos <jamatos@fep.up.pt>
5936 * insetinclude.C (validate): some code only applies to latex buffers,
5937 it was made conditional.
5939 2002-02-12 Herbert Voss <voss@lyx.org>
5941 * insetgraphics.C: (prepareFile) do not check at this time
5942 if the file is present.
5944 2002-02-12 Herbert Voss <voss@lyx.org>
5946 * insetgraphics.C: latex(), return the correct newlines
5948 2002-02-13 José Matos <jamatos@fep.up.pt>
5950 * inseturl.C (docbook): escape & in url.
5952 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5954 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5955 after HYPHENATION and MENU_SEPARATOR
5957 * inset.h (isLineSeparator): new method, returns false by default.
5959 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5961 * insetert.C (status): do not update the text inset, but the ERT
5964 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5966 * insetnote.C: use notebg for background
5968 2002-02-08 Herbert Voss <voss@lyx.org>
5971 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5972 prevent LyX from unzipping when this should be handled
5973 by latex vis the graphic.cfg.
5976 2002-02-08 Herbert Voss <voss@lyx.org>
5978 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5979 exists, than return filename with extension
5981 2002-02-06 Herbert Voss <voss@lyx.org>
5983 * insetgraphic.C: prepareFile(): don't convert the file, when
5984 it's not viewed in LyX. Saves a lot of time when opening a
5987 2002-02-05 Herbert Voss <voss@lyx.org>
5990 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5991 and adding a rotate bool similiar to subcaption
5993 2002-02-04 Herbert Voss <voss@lyx.org>
5996 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5997 similiar view to the LaTeX one. Get zipped files work.
5999 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6001 * insetgraphicsParams.C (init): set display to DEFAULT.
6002 No longer #include "lyxrc.h".
6004 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6006 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
6007 for now (so that the code compiles).
6009 2002-02-02 Herbert Voss <voss@lyx.org>
6011 * insetgraphic.C: delete inVariant() and some minor changes
6012 * insetgraphicsParams.[C]:
6014 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6016 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6017 interogate lyxrc.display_graphics before diaplaying the graphic.
6019 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6020 InsetGraphicsParams::DisplayType.
6022 2002-01-31 Herbert Voss <voss@lyx.org>
6024 * insetgraphic.C: (readfigInset) set display to pref-default
6026 2002-01-30 Herbert Voss <voss@lyx.org>
6028 * insetgraphic.C: get the filetyp from it's contents
6029 * insetgraphicparams.C: add token scale and lyxrc.display when
6030 creating a new inset
6032 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6034 * figinset.C: added using std::ios directive.
6036 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6038 * figinset.C (runqueue): open translation file in binary mode (for
6041 2002-01-27 Herbert Voss <voss@lyx.org>
6043 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6044 all options and to be sure that the old figinsets are correct
6046 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6047 structure and to support all lengths as LyXLength. The Parameter
6048 structure changed again, but reading of "old" 1.2 graphic insets
6051 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6053 * insetert.h (forceDefaultParagraphs): Added
6055 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * insettabular.C (getMaxWidth):
6058 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6060 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6062 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6063 of LyXLength::inPixels
6065 * inset.C (latexTextWidth):
6066 * insetminipage.C (latexTextWidth): new method, which implements
6067 the equivalent of the LaTeX macro \textwidth
6069 * insetminipage.C (getMaxWidth): use latexTextWidth
6071 2002-01-18 Juergen Vigna <jug@sad.it>
6073 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6075 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6077 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6079 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6082 2002-01-17 Juergen Vigna <jug@sad.it>
6084 * insettabular.C (lockInsetInInset): same change as in insettext.
6086 * insettext.C (draw): width() function was called without setting
6087 the right top_x which could lead to wrong insetWidth setting!
6088 (lockInsetInInset): call edit instead of calling lockInset if we
6089 have to lock an inset inside!
6090 (edit): we have to also tell the inset that we have to redraw the
6091 frame on an edit call if this inset draws a frame only if locked.
6093 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6095 * insetbib.C (getFiles): uncomment Path variable.
6097 2002-01-16 Juergen Vigna <jug@sad.it>
6099 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6102 2002-01-16 Allan Rae <rae@lyx.org>
6104 * insetinclude.C (docbook): someone forgot a ";"
6106 2002-01-16 José Matos <jamatos@fep.up.pt>
6108 * figinset.C (docbook): removed a old place holder "@".
6109 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6110 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6111 ascii text version, clearly guarded inside a CDATA section.
6112 (docbook): in docbook 4, inlinegraphics is empty.
6113 * insettabular.C (linuxdoc): export the ascii version of the table
6114 inside a CDATA section.
6116 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6118 * insetparent.C (InsetParent):
6119 * insetgraphicsParams.C (Write):
6121 * insetgraphics.C (prepareFile):
6124 * insetexternal.C (executeCommand):
6125 (doSubstitution): use Buffer::filePath
6127 * insetbib.C (getFiles): add a #warning for Angus
6129 * insetgraphics.C: Add a remark about how filenames should be
6130 considered to be relative to buffer (but absolute is still allowed)
6131 (draw): do not try to get status if lyxrc.use_gui is false
6133 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6136 * insetcollapsable.[Ch]:
6137 * insettabular.[Ch] (searchForward, searchBackward): change the
6138 bool const & params to bool.
6140 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6141 to avoid the name clash with InsetCollapsable's methods of the same
6142 names but different functionality.
6144 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6146 * insettext.C (ascii): use lyx::count rather than countChar.
6148 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6150 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6152 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * insetgraphics.C (updateInset): do not try to render image if
6155 lyxrc.use_gui is false (bug #104)
6157 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6158 if file does not exist
6160 * figinset.C (browseFile): add shortcuts to directory buttons
6162 * insettext.C (updateLocal): update menubar and toolbar here too.
6164 2002-01-13 Allan Rae <rae@lyx.org>
6166 * insettabular.C (InsetTabular): Both constructors now initialise
6167 all class variables.
6169 2002-01-11 Juergen Vigna <jug@sad.it>
6171 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6173 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6175 * insettabular.C (getStatus): add forgotten brace around multiline
6178 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6180 * insetfloat.C (validate): require "float" instead of "floats".
6182 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6184 * insettabular.C (getStatus): use FuncStatus
6186 2002-01-08 Juergen Vigna <jug@sad.it>
6188 * insettabular.C (insetButtonRelease): now this should work too
6191 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6192 if the width is a percentage.
6194 * inset.h: added isChar() function and implemented this for
6195 insetspecialchar insetquotes and insetlatexaccent.
6196 added forceDefaultParagraphs() and implemented it for insettabular.
6198 2002-01-07 Juergen Vigna <jug@sad.it>
6200 * insettext.C (getLyXText): Fixed this function. An insert into the
6201 map is only done if we REALLY have a new BufferView.
6203 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6205 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6207 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6209 * insetinclude.C: fix use of FileInfo
6211 2002-01-07 Juergen Vigna <jug@sad.it>
6213 * insettabular.C (draw): fixed clearing of cell around inset.
6215 2002-01-05 Juergen Vigna <jug@sad.it>
6217 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6218 variables are updated.
6220 * insettabular.C (resetPos): set always the inset_y as it may be
6221 needed in another function.
6222 (searchBackward): don't draw while searching.
6224 2002-01-04 Juergen Vigna <jug@sad.it>
6226 * insettext.C (lockInsetInInset): forgot to set a cursor.
6228 2002-01-02 Juergen Vigna <jug@sad.it>
6230 * insettext.C (insertInset): make the correct undo informations on
6231 inserting new insets.
6233 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6235 * insettabular.C: correct single-cell select vertically
6237 2001-12-27 Juergen Vigna <jug@sad.it>
6239 * insettabular.C (ascii): export as tab-separated-values if the
6240 function was not called from export (f.ex.: clipboard).
6242 * insetcollapsable.h: added default support for ascii, linuxdoc and
6243 docbook export (the insettext is exported by default!)
6245 * insettabular.C (copySelection): suff the clipboard with the tabular
6246 data in a tab separated format, seems more naturals then with all the
6249 2001-12-24 Juergen Vigna <jug@sad.it>
6251 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6252 to check for REAL mouseMotion.
6254 2001-12-20 Juergen Vigna <jug@sad.it>
6256 * inset.C (cursor): return the owners cursor if available instead of
6257 always only the bv->text->cursor.
6259 * insettabular.C (checkLongtableSpecial): works now.
6261 2001-12-19 Juergen Vigna <jug@sad.it>
6263 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6264 this has to be always row + 1 as 0 means not selected!
6265 (checkLongtableSpecial): added
6266 (tabularFeatures): better longtable options support
6268 * insettext.C (resizeLyXText): reinit the text always also on a
6271 2001-12-18 Juergen Vigna <jug@sad.it>
6273 * insettext.C (updateInsetInInset): look if we have to autocollapse
6274 paragraps and return if the update is requested for ourself.
6276 * insetert.C (status): update the insettext not myself as that is what
6279 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6280 function only return if the update was requested with myself.
6282 * insettext.C (insetButtonPress): fixed stupid bug.
6283 (various functions): pay attention that lt is cleared BEFORE calling
6284 updateLocal() and try to use it in the right manner (don't use it
6285 if it's not really neccessary!)
6286 (collapseParagraphs): insert a blank between collapsing paragraphs
6287 if neccessary (not already there!).
6289 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6291 * insettabular.C: move includes around a bit, add a couple of
6294 * insettext.[Ch]: move includes around a bit, other ws changes and
6297 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6299 * insettext.C (insetButtonRelease): fix compile problem
6301 2001-12-17 Juergen Vigna <jug@sad.it>
6303 * insettext.C (insetButtonPress): set the selection cursor!
6304 (insetButtonPress): clear the selection (and set with that the
6305 selection.cursor) if we only hit an inset!
6307 * insetert.C (read): removed piece of compatibility code only needed
6310 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6313 * insetcollapsable.C (insetButtonRelease): changed so that it can
6314 open eventual existing popup dialogs on mousebutton==3.
6316 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6318 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6320 * inset.C (insetButtonRelease): return a bool for telling the outer
6321 world that we opened a dialog.
6323 2001-12-07 Juergen Vigna <jug@sad.it>
6325 * insettext.C (paragraph): remove the deleteing of paragraphs as
6326 it was a WRONG move!
6328 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6331 * insettabular.C: use new setSelection(). Allow
6332 selection of single cells.
6334 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6336 * insetquotes.C (latex): fix to use the local language setting at
6337 the point where the inset is inserted (different macros for
6338 different french packages)
6340 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6342 * inset.h: add par_owner_ member variable and parOwner
6345 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6347 * insettabular.C (everywhere): adapt because widths are now real
6348 widths and not strings
6350 * insettext.C (draw): re-introduce the calls to width(), ascent()
6351 and descent() to initialize the caching variables.
6353 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6355 * insettext.C (draw):
6356 (drawFrame): use insetWidth instead of last_width
6358 * insettext.h: remove variable last_width (insetWidth is exactly
6359 the same) and last_height (computed but never used!)
6361 2001-12-10 Allan Rae <rae@lyx.org>
6363 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6367 * insettext.C (insetAllowed): add comment
6369 2001-12-05 Juergen Vigna <jug@sad.it>
6371 * insettext.C (insetAllowed): fixed for the case that we directly
6372 ask the insettext from its LyXText.
6373 (paragraph): fixed the crash when assigning the par->next() from
6374 the EmptyParagraphMechanism!
6376 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6380 * insettext.C: change "while(" to "while ("
6382 2001-12-04 Juergen Vigna <jug@sad.it>
6384 * insetert.C (edit): handle Inlined status.
6386 * insettext.C (insertInset): trying John's fix for the trailing cursor
6388 * insetert.C (insetButtonPress): added to handle inlined status
6389 (insetMotionNotify): ditto.
6391 * insettext.C (clearInset): changed Painter & in BufferView * param,
6392 to be able to call ascent,descent methods.
6394 2001-12-03 Juergen Vigna <jug@sad.it>
6396 * insettext.C (updateInsetInInset): use lt variable to forbid
6397 changes of LyXText in an update call.
6398 (updateInsetInInset): fixed updating of non locked insets!
6400 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6402 * insettabular.C: capture some more functions to prevent
6403 selection drawing problems. Bug #451274
6405 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6408 * insetgraphicsParams.C: fix inverted sense of float_equal
6410 2001-11-30 Juergen Vigna <jug@sad.it>
6412 * insettabular.C (InsetTabular): use the save_id flag to create also
6413 the tabular with the same id's.
6415 * insettext.C (setParagraphData): added a same_id function for undo
6416 to set the same paragraph id's as of the paragraph we are setting.
6418 2001-11-30 José Matos <jamatos@fep.up.pt>
6421 * insettoc.[Ch]: DocBook -> docbook.
6423 2001-11-29 André Pönitz <poenitz@gmx.net>
6426 * insettext.C: further reduction of header dependencies by using
6427 lyx::layout_type and lyx::textclass_type from support/types.h
6429 2001-11-29 Juergen Vigna <jug@sad.it>
6431 * insettext.C: inserted a reinitLyXText function everywhere I delete
6432 the paragraphs! This should fixe the crashes we had.
6433 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6434 (paragraph): set the InsetOwner() of the new paragraphs!
6436 2001-11-28 André Pönitz <poenitz@gmx.net>
6438 * insetnote.C: add pos initialization that I removed without
6441 2001-11-28 Juergen Vigna <jug@sad.it>
6443 * insettabular.C (resetPos): hack to not crash with infinite paints.
6445 * insettabular.h: insert missing function allowSpellcheck()!
6447 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6449 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6452 * insetfloatlist.C: derive from InsetCommand so gui can use it
6455 2001-11-26 André Pönitz <poenitz@gmx.net>
6459 * insetnote.C: reduce header dependencies, introduce type for
6462 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6464 * various: update for Alert.h
6466 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6468 * inset.h: fix comment
6470 * insettext.C: use par->isInset()
6472 2001-11-22 Allan Rae <rae@lyx.org>
6474 * insetcollapsable.h:
6475 * inset.h: Changes to checkInsertChar() behaviour.
6476 Now return value indicates whether chars can be inserted.
6478 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6480 * various: updated to use the new LaTeXFeatures
6482 2001-11-14 José Matos <jamatos@fep.up.pt>
6484 * insetspecialchar.C (linuxdoc):
6485 (docbook): don't give a name to a unused variable.
6487 * insettext.C (docbook): removed unused variable.
6489 2001-11-13 Herbert Voss <voss@perce.de>
6491 * insetgraphic.C: fix scale bug
6493 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6495 * inset.h (isSpace):
6496 (isLetter): new virtual methods.
6498 * insetspecialchar.C (isSpace):
6499 (isLetter): implement here.
6501 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6503 * inset.h: new inline helpers
6505 * insettext.C: use new helpers
6507 2001-11-07 José Matos <jamatos@fep.up.pt>
6509 * insettext.C (docbook): full support for paragraphs inside insettext.
6511 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6513 * insetindex.C: added header file for std::ostream.
6515 2001-11-03 José Matos <jamatos@fep.up.pt>
6517 * insetindex.C: added using std::ostream that I forgot yesterday.
6519 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6521 * insetindex.h (docbook):
6522 * insetindex.C (docbook): added support for docbook export.
6524 2001-11-02 José Matos <jamatos@fep.up.pt>
6526 * insetcaption.C(docbook): added support for docbook export.
6528 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6530 * insetexternal.C (updateExternal): Do not run update command if
6531 result file exists and is up to date.
6533 * ExternalTemplate.C (readFormat): Support the updateresult token.
6535 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6537 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6538 external_templates) to use the buffer->fileName() but only if
6539 previewing. Generating a TeX file should make FPath return
6542 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6545 * insetert.C: fix some problems
6547 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6549 * insetexternal.C (doSubstitution): Added $$FPath token
6550 to list of usable substitutions in external inset templates.
6552 2001-10-24 Juergen Vigna <jug@sad.it>
6554 * insettabular.C: use new ltType struct for setting longtable
6555 header and footers also new UNSET enums.
6557 2001-10-24 José Matos <jamatos@fep.up.pt>
6559 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6560 (docbook): If the table is not inside a float then wrap it inside
6561 <informaltable>...</informaltable>.
6563 2001-10-23 José Matos <jamatos@fep.up.pt>
6565 * insetref.C (docbook): removed / terminator to conform SGML.
6567 * insetspecialchar.C (linuxdoc):
6568 (docbook): Added support for special chars, more than ascii export.
6570 2001-10-22 Juergen Vigna <jug@sad.it>
6572 * insettext.C (checkInsertChar): added for REALLY checking the
6573 font of the inserted char in the right inset!
6575 2001-10-19 Juergen Vigna <jug@sad.it>
6577 * inset.h: added method allowSpellcheck() so that insets who do
6578 not have anything to spellcheck can tell and so they are over-jumped.
6579 Implemented for InsetText and co.
6581 2001-10-18 Juergen Vigna <jug@sad.it>
6583 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6585 2001-10-15 José Matos <jamatos@fep.up.pt>
6587 * insetert.C: allow export for docbook and linuxdoc
6589 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6591 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6593 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6595 * insetquotes.C (dispString): fix handling of latin9 quotes
6597 2001-10-03 Juergen Vigna <jug@sad.it>
6601 * insetcollapsable.C: change updateInset calls to not tell BV that
6602 we have changed status.
6604 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6606 * insettabular.C (deletable): make const
6608 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6610 * insetert.C (latex): Fix the returned value
6612 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6614 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6615 Returns string(), so nothing in an ERT inset is spellchecked.
6617 * insetgraphics.C (draw): print the filename if not displaying the
6619 (width): make sure that the width and draw methods are consistent.
6620 (updateInset): don't even load the image into cache if not displaying
6623 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6625 * various files (selectNextWord): renamed as
6626 selectNextWordToSpellcheck.
6628 * insetgraphics.C (draw): remove the previous change. Right place
6629 is in imageLoaderXPM.C.
6630 (draw): don't display the image if params.display == NONE.
6632 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6634 * figinset.C (runqueue):
6635 * insetgraphics.C (draw): set background colour of inset from
6636 background to the user-configurable graphicsbg.
6638 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6640 * insetquotes.C (InsetQuotes): when trying to decide the side of
6641 the quote, choose `left' only after a space or '('
6643 2001-09-04 José Matos <jamatos@fep.up.pt>
6648 * insetcollapsable.h
6666 * insetlatexaccent.C
6667 * insetlatexaccent.h
6672 * insetspecialchar.C
6673 * insetspecialchar.h
6677 * insettext.C (docbook): rename docBook method to docbook.
6679 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6681 * inset.h (getFirstParagraph): New virtual method.
6683 2001-08-20 Herbert Voss <voss@perce.de>
6684 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6685 in the the bibtex-database-gui for inserting a line
6688 If no style is given than there is no tex-output.
6690 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6692 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6696 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6698 * insetert.C (latex): Fix output for multiple paragraphs.
6699 (write): New code for writing paragraph data.
6700 (read): Set font after reading the inset.
6701 (localDispatch): Call set_latex_font() for more cases.
6703 * insetnote.h: Add empty validate method.
6706 * insetnote.C (InsetNote): Set language to the language of the
6709 2001-08-16 Juergen Vigna <jug@sad.it>
6711 * insettext.C: implemented the new FINISHED states.
6713 * insettabular.C: ditto
6715 * inset.h: added more FINISHED states for cursor right,up,down
6717 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6719 * insetfloatlist.C: use "FloatName List"
6721 2001-08-14 Juergen Vigna <jug@sad.it>
6723 * insetert.C (edit): forgot to set status_ in edit calls!
6725 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6727 * insettext.C: Compilation fix
6729 2001-08-13 Juergen Vigna <jug@sad.it>
6731 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6733 * insetcollapsable.C (edit): don't recollapse an already open inset.
6735 * insettext.C: fixed problem when reinitializing LyXText by not doing
6736 it while lt is in use and post this to the next possible time in
6738 (searchForward): fixed not unlocking of inset if nothing found.
6739 (edit): set cursor behind right (was set -1 pos).
6741 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6743 * insettabular.C (tabularFeatures): fixed fix where deleting the
6744 last row didn't get the right actcell!
6746 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6748 * insettext.C (localDispatch): Change language only when the inset
6751 2001-08-10 Juergen Vigna <jug@sad.it>
6753 * insettabular.C (selectNextWordInt): use the front using edit call.
6755 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6756 the parameter overwrite class variable inset.
6758 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6760 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6761 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6763 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6764 update only for fixed with cells.
6765 (resetPos): try to fix the lockup on spellchecking or s&r.
6767 * insettext.C (update): comment this out as it seems first wrong
6768 and second not needed anymore!
6769 (some functions): call reinitLyXText() only in update() in all other
6770 positions set only need_update = INIT.
6772 2001-08-08 Juergen Vigna <jug@sad.it>
6774 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6776 * insettext.C (insetUnlock): remove double-space on inset unlock.
6778 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6780 * insettabular.C (update): fixed cursor positon after an insert.
6781 (insetAllowed): do not allow to insert insets when not inside the
6783 (draw): clear below an inset too as it could have changed height.
6785 * inset.C (getMaxWidth): fixed width for inset in inset.
6787 * insettext.C (update): small fix.
6789 * insettabular.C (tabularFeatures): added selection support to
6790 DELETE_ROW/DELETE_COLUMN.
6792 2001-08-07 Juergen Vigna <jug@sad.it>
6794 * inset.C (getMaxWidth): recoded and all it's implementations!
6796 * insettext.C (init,setParagraph+constructors): cleanups
6797 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6798 are new and I want do a save/restore of the cursor position which is
6799 not possible anymore.
6801 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6802 (searchBackward): ditto
6803 (selectNextWord): ditto
6805 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6807 * insetlatexaccent.C (checkContents): Add some debug messages
6809 2001-08-07 Juergen Vigna <jug@sad.it>
6811 * insetert.C (read): don't use InsetCollapsable::read as we don't
6812 write the collapsed status anymore only the status.
6815 2001-08-06 Juergen Vigna <jug@sad.it>
6817 * insetert.C (set_latex_font): use LyXText's setFont directly.
6819 * insettext.C (drawFrame): fixed one time more the right position
6820 and size of the frame!
6822 * insetert.C (~InsetERT): hide the dialog.
6823 (showInsetDialog): added implementation
6826 (status): new function for the status of the ERT inset (3-state).
6827 (write): output also the status of the inset for readback!
6828 (read): readback the status if available otherwise use collapsed_.
6830 * insettext.C (edit): small fix of setting the position, which could
6833 * insetert.C (width): implement this function for inlined viewing.
6834 Added minimum width of 10 pixels!
6836 * insetminipage.C (InsetMinipage): just change the colors a bit so
6837 that border/background is a bit more visible. We will remove this
6840 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6841 function for getting the important widths for drawing in various
6842 functions and in LyXText.
6843 (draw): fixed up a bit (frame drawing/clearing)
6845 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6847 * inset.C (convertFont): delete method. not used.
6849 2001-08-03 Juergen Vigna <jug@sad.it>
6851 * insettext.C (setFont): don't call for a draw update if we're just
6852 changing the cursor font!
6854 2001-08-02 Juergen Vigna <jug@sad.it>
6856 * insettext.C (draw): clear the background with the right color if
6857 needed. Update myself if x&max-width changed and return without doing
6858 anything. Let the update code handle the right stuff.
6860 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6861 inside another inset.
6863 2001-08-01 Juergen Vigna <jug@sad.it>
6865 * insetcollapsable.C (update): added an in_update bool so we avoid
6868 * insettabular.C (update): added an in_update bool so we avoid
6871 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6873 (update): added an in_update bool so we avoid reentering.
6875 * insettabular.C (localDispatch): clear col/row selection when doing
6876 something else inside an inset.
6878 * insettext.C (getLyXText): fixed bug when requesting a recursive
6881 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6883 * insetcite.C (latex): Paranoia check. Make sure that there is no
6884 whitespace between the citation keys.
6886 2001-07-31 Juergen Vigna <jug@sad.it>
6888 * inset.h (nodraw): make the set function also const so that this
6889 can be called from inside other const functions.
6891 * insetcollapsable.h: removed inline variable and moved it over
6892 to the only user InsetERT.
6894 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6895 inset opening immediately therein lying insets dialogs!
6897 * insetert.C (localDispatch): set the font also if we don't have any
6898 chars in this paragraph, otherwise if we delete all of em and start
6899 writing we have the wrong font.
6901 (draw): implemented for inline support
6902 (insetButtonRelease): ditto.
6904 2001-07-30 Juergen Vigna <jug@sad.it>
6906 * insettext.C (reinitLyXText): new function to reinit the insets
6907 text after lot's of paragraph changes. Use this instead of the
6908 cache.clear() which is VERY dangerous.
6910 * insetfloat.C (insetButtonRelease): we should only show the dialog
6911 if we press on the label otherwise we have problems to open mouse
6912 button 3 dialogs inside this float (f.ex. of a tabular!)
6914 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6916 * insetert.C: change back to "ERT"
6918 * insetfloat.C: handliign of RMB on label added.
6920 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6922 * insetgraphicsParams.C: #include LOstream.h here.
6924 * insetfoot.h: remove InsetFoot:: qualifier.
6926 2001-07-29 Baruch Even <baruch@lyx.org>
6928 * ChangeLog: Hiding time travel evidence.
6930 * insetgraphicsParams.h:
6931 * insetgraphicsParams.C:
6932 * insetgraphics.C: Added horizontal scale option, it actually
6933 scales both directions since it keeps image proportions.
6935 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6937 2001-07-29 Baruch Even <baruch@lyx.org>
6939 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6940 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6942 HACKY! Will need to add an EPS detection routine like old InsetFig
6945 2001-07-29 Baruch Even <baruch@lyx.org>
6947 * insetgraphics.C: Added EPSI to be an alias of EPS.
6949 2001-07-29 Baruch Even <baruch@lyx.org>
6951 * insetgraphics.C: Change GRAPHICS to Graphics.
6952 Changed image conversion rules (documented at the beginning of file).
6954 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6956 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6959 * insetgraphics.C: added a using std::endl directive.
6961 * insetcommand.h (getScreenLabel): removed pure virtual function,
6962 as it duplicates that in InsetButton.
6964 * insetbib.[Ch] (getScreenLabel):
6965 * insetbutton.[Ch] (getScreenLabel):
6966 * insetcite.[Ch] (getScreenLabel):
6967 * insetert.[Ch] (getScreenLabel):
6968 * insetexternal.[Ch] (getScreenLabel):
6969 * insetfloatlist.[Ch] (getScreenLabel):
6970 * insetinclude.[Ch] (getScreenLabel):
6971 * insetindex.[Ch] (getScreenLabel):
6972 * insetlabel.h (getScreenLabel):
6973 * insetparent.[Ch] (getScreenLabel):
6974 * insetref.[Ch] (getScreenLabel):
6975 * insettoc.[Ch] (getScreenLabel):
6976 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6978 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6980 (validate): remove check on "cite" when using natbib.
6982 2001-07-26 Baruch Even <baruch@lyx.org>
6984 * insetgraphics.C (draw): changed casting to be in one place
6985 rather than all over the function.
6988 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6990 * insetgraphicsParams.h:
6991 * insetgraphicsParams.C:
6992 * insetgraphics.C: Removed inline option and changed rotateAngle
6995 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6997 * insetfoot.C (validate): Added method to ensure that the
6998 right bit of LaTeX is emitted.
7000 * insetfoot.h: Added validate method to set the correct
7001 LaTeXFeatures bit for the special footnote code.
7003 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7005 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7008 2001-07-27 Juergen Vigna <jug@sad.it>
7010 * inset.h: remove unused font variable in parameter.
7011 removed checkInsertChar in UpdatableInset as it was equal to
7012 the one in Inset and so not needed.
7014 * insetert.C (checkInsertChar): implementation of function
7017 * inset.h: added new function checkInsertChar.
7019 * various files: added c-tor and clone() function.
7021 * insetcollapsable.h: removed clone function here as this should
7022 be only realized in REAL insets and added it to all collapsable
7023 insets! (with the copy-constructor).
7025 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7027 * insetminipage.C (read): handle missing parameters more gracefully
7029 * insetcollapsable.C (read): handel missing collapsed more gracefully
7031 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7033 * insetfloat.C (read): handle missing parameters.
7035 * insettext.C (read): handle old latex end_inset
7037 * insetert.C (setButtonLabel): new method
7038 (init): use it, to set the dynamic label correctly
7041 * Makefile.am (EXTRA_DIST): add files that is not part or the
7044 * insetcollapsable.h: remove autocollapsable (no users), remove
7045 draw_label, change_label_with_text and companion code. Remove args
7047 * insetert.[Ch]: move here instead (only user)
7049 * inset.h: rename private variable name to name_, make
7050 selectNextWord return a const string. make getInsetName return a
7051 string const &. Remove bool from open, add close.
7053 * Makefile.am: don't compile insetlist, insetsection
7056 2001-07-24 Juergen Vigna <jug@sad.it>
7058 * insetert.C (InsetERT): put init after the paragraph initialization,
7059 as otherwise we don't set the draw_label right.
7061 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7062 insets with the mouse without having strange selections.
7063 (edit): if the inset was collapsed and we open it here then put the
7064 cursor always at the beginning of the inset.
7065 (get_new_label): 15 instead of 10 max chars in the label.
7067 * insetert.C (localDispatch): added and handle various stuff we
7068 need to handle here (font setting on paragraph break, not permitted
7069 layout setting, etc.).
7071 * inset.h: added default copy-consturctor and implemented this in
7072 various insets with the change to use this in the clone function!
7074 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7076 * insetminipage.C (InsetMinipage): set background color to red :)
7078 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7080 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7081 draw frame mode is LOCKED.
7083 * insetcollapsable.C (edit):
7084 (insetButtonRelease): set update status to full when
7087 * insettext.C (clearInset):
7088 * insettabular.C (draw):
7089 * insetlatexaccent.C (draw): honor background color.
7091 * inset.h: new member background_color_, initialized to
7094 * inset.C (backgroundColor): new method.
7095 (setBackgroundColor): new method.
7097 * insetert.C (init): new method, called by the ctors.
7098 (InsetERT): when inserting contents, make sure the font is
7101 * insetnote.C (InsetNote): when inserting content, remove trailing
7103 (init): set background color to LColor::note
7105 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7107 * insetcollapsable.C: adjust
7109 * insetbutton.C: adjust
7111 2001-07-23 Juergen Vigna <jug@sad.it>
7113 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7114 parameter on the _collapsed function (was not needed) and call
7115 always width_collapsed().
7117 * insetert.C (InsetERT): use setLabel with "true" flag.
7119 * insetcollapsable.C: modified various functions to set the draw_label
7120 string right in any condition.
7121 (setLabel): added a bool parameter to set change_label_with_text.
7123 * insetcollapsable.h: added draw_label string which is set to the
7124 actual drawn label-string, while label is the original static label
7125 of this collapsable inset. Added bool change_label_with_text to set
7126 if we want that the label changes to the start of the InsetText's
7127 text when collabpsed. You can set this flag with the setLabel funciton.
7128 Added bool inlined for inlined collapsable insets, but not handled
7131 * insetcollapsable.C (get_new_label): added should get a new label
7132 from the InsetText beginning (for now 10 chars).
7134 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7136 * insetquotes.C (latex): fix the handling of french double quotes
7137 when not using the french pachage.
7139 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7141 * insetcollapsable.h: make WidthCollapsed mutable.
7143 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7144 InsetPrintIndex returns INDEX_PRINT_CODE.
7146 * inset.h: add INDEX_PRINT_CODE
7148 * insetcollapsable.C (draw): init widthCollapsed if necessary
7151 * insetquotes.C (width): use the local language, not the document
7154 (dispString): add additional spacing for all french languages,
7156 (validate): make it work when there is no default language
7158 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7160 * insetnote.C (init): new method, called by the constructors
7161 (InsetNote): new constructor with contents passed as a string
7163 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7165 * insetfootlike.C (insetAllowed): disallow float in footlike.
7167 * insetert.C (InsetERT): add collapsed argument to the constrctor
7170 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7172 * insetindex.h: shut off warning
7174 2001-07-20 Juergen Vigna <jug@sad.it>
7176 * insetcollapsable.C (update): recoded hopefully works now!
7178 2001-07-19 Juergen Vigna <jug@sad.it>
7180 * most files: implemented the below new introduced function.
7182 * inset.h: added new edit(BufferView *, bool front) method to be able
7183 to enter an inset from the front/back without knowing x/y positions
7184 and baselines inside the inset. So I just can tell the inset activate
7185 me and set the cursor on the front/back of yourself.
7187 2001-07-18 Juergen Vigna <jug@sad.it>
7189 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7190 is given to the InsetText.
7191 (insetButtonPress): ditto
7192 (insetButtonRelease): ditto
7193 (insetMotionNotify): ditto
7195 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7197 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7198 LIGATURE_BREAK, since the name is so stupid.
7200 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7202 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7203 the default InsetCollapsable methods. I.e., it can insert anything.
7204 (write) output the name of the inset, not some silly hack for
7205 compatability with the old InsetInfo.
7207 * insetinfo.[Ch]: removed.
7208 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7209 now collapsable, but functionality is otherwise identical to InsetInfo.
7211 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7213 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7215 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7218 * insetquotes.C: general cleanup
7219 (dispString): add spaces inside french double quotes.
7220 (latex): ditto. Moreover, treat first the case where the frenchb
7221 or french options have been given.
7223 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7225 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7228 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7230 * figinset.C (RegisterFigure): Print debug message only when
7231 current_view is available.
7233 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7235 * many files: update to match the change below
7237 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7238 implement the version which takes an inset here.
7240 * insetcollapsable.[Ch]: implement open and isOpen
7242 * inset.h: remove insertInsetAllowed from Inset
7243 (open): new method, to open or close an inset
7244 (isOpen): returns the status of an inset
7245 (isCollapsable, colapse): removed
7247 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7249 * insetquotes.C (dispString): display french guillemets when using
7252 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * insetcollapsable.h: remove bogus return statements
7256 2001-07-18 Juergen Vigna <jug@sad.it>
7258 * insettabular.C (selectNextWord): fixed spellchecking for the
7259 first cell of a tabular (wasn't entered!)
7260 (getLyXText): changed to enter automatically insettext and return
7261 it's LyXText if we're locked.
7263 2001-07-17 Juergen Vigna <jug@sad.it>
7265 * various files: implemented the below functions.
7267 * inset.h: added functions
7268 - virtual string selectNextWord(BufferView *, float & value) const;
7269 - virtual void selectSelectedWord(BufferView *) { return; }
7270 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7271 needed for spellchecking correctly!
7273 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7275 * insetert.C (latex): write out all paragraphs.
7277 2001-07-17 Baruch Even <baruch@lyx.org>
7279 * insetgraphics.C (draw): Removed unneeded casts.
7281 2001-07-16 Juergen Vigna <jug@sad.it>
7283 * insettext.C (update): fixed small oversight (reset lt to 0).
7285 2001-07-14 Baruch Even <baruch@lyx.org>
7288 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7290 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7292 Consistent use of Lsstream.h:
7293 * figinset.C: removed using std::ostringstream directive.
7295 * insetgraphics.C (createLatexOptions):
7296 * insetinclude.C (unique_id):
7297 std::ostringstream -> ostringstream.
7298 * insettext.C (localDispatch): std::istringstream -> istringstream.
7300 2001-07-13 Juergen Vigna <jug@sad.it>
7302 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7304 * insetcollapsable.C (getLockingInset): ditto.
7306 2001-07-12 Juergen Vigna <jug@sad.it>
7308 * insetcollapsable.h: added implementation of new function for
7311 * various files: added implementation of new insertInsetAllowed-func
7312 and redone the function a bit more.
7314 * inset.h: added isCollapsable(), bool collapsed(),
7315 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7317 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7319 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7320 LyXText which is marked for removal while we're using it!
7322 * insettext.h: added private LyXText * lt to use it to assure we are
7323 not deleting our LyXText while we're using it!
7325 2001-07-11 Juergen Vigna <jug@sad.it>
7327 * insettext.C (insertInset): check if we are before the inset after
7328 inserting it! This check IS needed. Remove the Undo-Call as it is
7329 called in LyXText::insertInset!
7331 * insettext.h: added struct InnerCache.
7333 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7334 that we ONLY delete the LyXText in the getLyXText() routine. So we
7335 are sure we don't delete LyXText while someone is working with it!
7337 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7339 * insetexternal.C: (*it). -> it->
7340 * insettext.C: ditto
7342 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7344 * insetcollapsable.C (edit): always open collapsed insets (even if
7345 they are not autocollapsable)
7347 * insetcommand.C (operator=): simplify.
7349 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7351 * insetert.C (latex): handle META_NEWLINE
7353 2001-07-09 Juergen Vigna <jug@sad.it>
7355 * insetert.h: a normal InsetText can insert insets, but we won't.
7357 * inset.h: return default "false" on insertInsetAllowed and implement
7358 this function where a returnvalue != "false" is needed.
7360 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7362 * insetert.C (InsetERT): new contructor
7364 2001-07-06 Juergen Vigna <jug@sad.it>
7366 * a lot of files: added implementation of the below new functions
7367 and the change to clone(). Also the call of the new undo-functions
7370 * inset.h: added an inset_id, added functions getParFromID,
7371 getInsetFromID, firstParagraph, cursor and id functions, added
7372 bool same_ids to clone function.
7374 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7376 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7377 of BufferView * and shared_ptr<LyXText>
7379 2001-07-05 Juergen Vigna <jug@sad.it>
7381 * insettext.C (clear): deleted also the cache not only LyXText.
7382 (setParagraphData): ditto.
7384 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7386 * insetfloat.C (latex): let the specific placement take presedence
7387 if set, otherwise choose document placement if set, otherwise just
7388 use float default placement.
7390 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7392 * insettext.C (localDispatch): call CutAndPaste::'s static method
7395 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7397 * insetbib.C: no meed to include forms.h here.
7399 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7401 * insettext.C: added using std::make_pair directive.
7403 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7405 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7407 (deleteLyXText): ditto
7408 (resizeLyXText): ditto
7410 2001-07-02 Juergen Vigna <jug@sad.it>
7412 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7413 following calls are only returned the right pointer without the over
7414 head to search in the map.
7415 (various funcs): reset the cached_bview variable as this signs that
7416 the cache is not valid anymore.
7418 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7420 * insettabular.C (clone): do not copy the LyXTabular twice
7422 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7424 * insettext.h (TEXT): delete method
7426 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7428 * insetmarginal.C (latex):
7429 * insetfoot.C (latex): fix spacing of notes in LaTeX
7431 * insettext.C (localDispatch): use .c_str() on istringstream
7432 constructor argument.
7434 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7439 * inseturl.C: fix method names in these to begin
7440 with small char too, so they inherit
7442 2001-06-28 Juergen Vigna <jug@sad.it>
7444 * insettext.C (setFont): fixed font settings using toggleFree()
7445 instead of setFont().
7447 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7449 * Change a lot of method names to begin with a small char.
7450 Changes to a lot of files because of this.
7452 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7454 * insetfloatlist.C (Write): std:: qualify ostream
7457 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7461 * insetgraphics.C: send debug output to Debug::INFO instead of
7464 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7467 * insettabular.C (getStatus): update to use func_status
7469 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7471 * insetref.C (DocBook): added support for cross-references without
7474 2001-06-26 The LyX Project <jug@sad.it>
7479 * insetlabel.h: removed escape method and moved it to
7482 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * insettabular.C (getMaxWidth): do the speedup in a different way,
7487 2001-06-24 The LyX Project <Asger>
7489 * insettabular.C (getMaxWidth): We cache a mapping from
7490 inset to cell in order to speed this method up.
7492 2001-06-24 The LyX Project <Asger>
7494 * insettext.C: Optimized InsetText::draw or something.
7496 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7498 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7500 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7502 * inset.h: name change from lyxinset.h
7504 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7506 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7508 2001-06-14 Juergen Vigna <jug@sad.it>
7510 * insettext.C (draw): removed warnings.
7512 2001-06-13 Juergen Vigna <jug@sad.it>
7514 * insettabular.C (nodraw): only go down the tree if we don't have
7515 that flag set otherwise it's obvious that we don't want to draw.
7516 (LocalDispatch): do also an update if we have an undispached result.
7518 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7521 * insetgraphicsParams.C:
7522 * insettext.C: removed // -*- C++ -*- as first line.
7524 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7526 * lyxinset.h (resizeLyXText): shut off warning about unused
7529 2001-06-07 Juergen Vigna <jug@sad.it>
7531 * insettext.C (resizeLyXText): honor the new force flag.
7533 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7535 * insettabular.C (deleteLyXText): new function
7537 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7545 * insetcollapsable.C:
7546 * insetcaption.C: LColor tidy
7548 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * figinset.C: fix typo
7552 2001-06-01 Juergen Vigna <jug@sad.it>
7554 * insettabular.C (resetPos): small hack so that scroll is not set to
7555 0 when we are in the last column of a tabular. This is a problem we
7556 have because of constats 20 offset on both directions, so this can
7557 cause on the limit an endless loop.
7559 * insettext.C (SetFont): forgot that we can have locking insets ;)
7561 2001-05-31 Juergen Vigna <jug@sad.it>
7563 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7565 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * figinset.C: add using std:: directive for the C functions which
7570 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7572 * insetfloat.C (Write): write out wide info
7573 (Read): read the wide info
7574 (Latex): use the wide info when creating latex.
7576 * insettext.C: adjust
7578 * insetgraphics.[Ch] (statusMessage): change to return string
7582 * figinset.C (runqueue): add std::
7585 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7587 * insetcite.C (Ascii): add std:: qualifier
7589 2001-05-28 Juergen Vigna <jug@sad.it>
7591 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7592 a endless-width inset (maxWidth < 0).
7593 (Edit): change language only if not equal.
7595 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7597 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7599 2001-05-16 Juergen Vigna <jug@sad.it>
7601 * insettext.C (selectAll): added
7602 (clearSelection): added
7604 * insettabular.C (SetFont): now we may set a font on a whole selection!
7605 (getSelection): added helper function.
7607 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7609 * insetcite.C (Ascii): Add method.
7611 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7614 * insetbib.C: fix path for OS/2 & Win32
7616 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7618 * insetfoot.C (Latex): don't use % after footnote.
7620 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7622 * insettext.C (Read): use clear
7623 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7625 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7627 * insetfloatlist.h: add a bunch of std:: qualifiers.
7629 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7631 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7632 FLOAT_LIST_CODE, renumber code list.
7634 * insettoc.C (getScreenLabel): remove support for float lists
7638 * insetfloatlist.[Ch]: new files
7640 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7642 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7644 * insettabular.C (LocalDispatch):
7645 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7648 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7650 * insettext.C: remvoe !NEW_INSETS cruft
7652 * insettabular.C: remove !NEW_INSETS cruft
7654 * insetcollapsable.h: remove !NEW_INSETS cruft
7656 * insetbib.C: remove !NEW_INSETS cruft
7658 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * insettoc.C: hack to make listof algorithm work
7662 2001-04-20 Juergen Vigna <jug@sad.it>
7664 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7666 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * insetquotes.C (Latex): improve the guard against
7669 unwanted !` and ?` ligatures. This should really be done in
7670 another place (to catch all this ligatures at low-level).
7672 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7674 * insettext.C (init): remvoe leftovers from cursor_visible change
7675 (draw): use c++ cast
7676 (LocalDispatch): dispatch LFUN_MESSAGE
7678 * insettabular.C (InsetTabular): remove leftovers from
7679 cursor_visible, and scoped_ptr changes
7680 (draw): use c++ cast
7682 * insetcollapsable.C (draw): use c++ cast
7684 * ExternalTemplate.h: inherit privaely from noncopyable
7685 * insetcommand.h: ditto
7686 * insetinclude.h: ditto
7688 2001-04-16 Allan Rae <rae@lyx.org>
7690 * insettoc.C (Ascii):
7691 * insettext.C (draw):
7692 * insettabular.C (setPos):
7693 * insetminipage.C (Read):
7694 * insetfloat.C (placement):
7695 * insetcaption.C (Ascii, DocBook):
7696 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7697 an unrecognised preprocessor directive. So ensure they're wrapped.
7699 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7702 * insetexternal.C: set view on Clone. Add _ to private members.
7704 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7706 * insettext.C (InsetText): fix new
7707 (InsetText): reindent some, simplify deletion of par list
7708 (clear): simplify deletion of par list, fix new
7709 (SetParagraphData): simplify deletion of par list
7711 * insettabular.[Ch] (getLabelList): implement new method
7713 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7715 * lyxinset.h: do not include gettext.h...
7723 * insetlatexaccent.C:
7727 * inseturl.C: ... and do it here instead
7729 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7731 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7733 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7735 * insetcollapsable.[Ch] (getLabelList): implement
7737 * insettext.[Ch] (getLabelList): implement
7739 * insettext.h: reindent
7741 * insettabular.h: make tabular a scoped_ptr
7743 * insettext.C (init): adjust for cursor_visible
7744 (ToggleInsetCursor): constify asc and desc, font, adjust for
7746 (ShowInsetCursor): constify asc and desc, font, adjust for
7748 (HideInsetCursor): adjust for cursor_visible
7750 * insettabular.C: reindent some
7751 (InsetTabular): adjust for scoped_ptr and cursor_visible
7752 (InsetTabular): ditto
7753 (~InsetTabular): delete delete
7754 (Clone): adjust for scoped_ptr
7755 (Read): constify old_format, adjust for scoped_ptr, move init of
7757 (draw): constify tx, localize loop vars.
7758 some other localization of variables, remove double initilizatons.
7760 * insetfoot.C: remove using std::ostream, add ostream where needed
7762 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7764 * lyxinset.h: some reindentaion, use initializer list for
7766 UpdatableInset: make cursor_visible a private var add
7767 public isCursorVisible(), add protected toggleCursorVisible() and
7768 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7770 * insettoc.C: remvoe using decl
7771 (getScreenLabel): make cmdname donst
7774 (Ascii): don't use endl
7776 * insetfootlike.C: remove using decl at file scope and add std::
7778 * insetmarginal.C: ditto
7780 * insetfoot.C: some reformatting
7782 * insetfloat.C (InsetButtonRelease): adjust the hit area
7784 * insetert.C (SetFont): some reformatting
7786 * insetcollapsable.C: some reformatting and constification
7787 (Clone): comment out.
7788 * insetcollapsable.h: some reformatting
7789 (Clone): comment out.
7794 2001-03-30 Juergen Vigna <jug@sad.it>
7796 * insetcollapsable.h: changen *inset to be a InsetText inset.
7798 * some files: changed to reflect the above change.
7800 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7802 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7803 InsetExternal::Params.
7804 Added operator==() and operator!=() for the Params struct.
7806 2001-03-29 Juergen Vigna <jug@sad.it>
7808 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7811 * insetminipage.C: removed widthp_ and all it's functions and changed
7812 to use new %-lengths of LyXLength.
7814 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7816 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7818 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7820 * insetgraphicsParams.C (operator!=): new function, needed by the
7821 ControlGraphics class.
7823 2001-03-28 Juergen Vigna <jug@sad.it>
7825 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7826 (checkAndActivateInset): don't use the values returned from
7827 call to bv->checkInsetHit.
7829 * insetminipage.C (Clone): set special minipage values.
7831 * insetcollapsable.C (draw): changed to draw the button in the
7832 upper left corner outside the textinset.
7833 (ascent): changed because of different drawing
7837 (InsetButtonPress): ditto
7838 (InsetButtonRelease): ditto
7839 (InsetMotionNotify): ditto
7841 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7843 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7847 2001-03-26 Juergen Vigna <jug@sad.it>
7849 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7851 * insettext.C (ShowInsetDialog): implemented above function.
7853 * insettabular.C (ShowInsetDialog): ditto
7855 * insetminipage.C (ShowInsetDialog): ditto
7857 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7859 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7860 InsetInclude::Params. Don't store a buffer * in Params. Store the
7861 master file name instead.
7863 2001-03-23 Juergen Vigna <jug@sad.it>
7865 * insetcollapsable.C (InsetMotionNotify):
7866 (InsetButtonRelease):
7867 (InsetButtonPress): fixed y-offset (minipages).
7869 * insettext.C (draw): force a FULL update if cleared == true.
7871 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7872 routine to draw the minipages on its position-flag.
7873 (InsetInInsetY): give back the right y position, because of minipage
7876 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7879 * insetfloat.C (DocBook): docbook export code.
7881 2001-03-22 Juergen Vigna <jug@sad.it>
7883 * insetminipage.C (getMaxWidth): added function to set the drawing
7885 (Read): should work now!
7887 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7888 if we create a new inset.
7890 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7892 * figinset.C (fl_set_preemptive_callback): moved definition outside
7895 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7897 * insetminipage.C (Read): prepare for reading of minipage arguments.
7899 2001-03-18 Baruch Even <baruch@lyx.org>
7901 * insetgraphics.C: Minor cleanups of the comments and code.
7903 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7905 * insetminipage.C (InsetMinipage): default to not collapsed
7907 2001-03-16 Juergen Vigna <jug@sad.it>
7909 * insetminipage.C (width): modified with to be a string
7910 (widthp): added widthp (for % width) support functions.
7911 (InsetButtonRelease): added to open the options dialog on button==3.
7912 (~InsetMinipage): added to hide the dialog.
7914 * insetminipage.h: added hideDialog signal
7916 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7918 * insetminipage.h: change the order or Position to match
7919 LyXParagraph::MINIPAGE_ALIGNMENT
7921 * several files: remvoe CXX_WORKING_NAMESPACES
7923 * ExternalTemplate.h: noncopyable is in namespace boost
7924 * insetinclude.h: ditto
7925 * insetcommand.h: ditto
7927 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7929 * insettext.C (Edit): #else# -> #else.
7930 * insettoc.C: added using directive.
7932 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7934 * insetminipage.h: add pos, inner_pos, width and height. + getters
7935 and setters for all of them.
7937 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7939 * insetinclude.C (Latex): Do not exit when the textclass of the
7940 included file differ from the textclass of the parent file.
7942 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7944 * ExternalTemplate.C (read): the reading of external insets now checks
7945 for \end_inset and removes it form the input stream.
7947 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7949 * ExternalTemplate.h:
7950 * ExternalTemplate.C:
7952 * insetexternal.C: move form to GUII
7954 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7957 * insetinclude.C: add InsetIncludeParams, use
7958 composition rather than derivation of InsetCommand
7960 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7962 * insettoc.C (Ascii): use the Buffer typedefs
7964 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7966 * insettoc.C (Ascii): implement for dynamic number of lists
7968 * insetcaption.[Ch]: update from new_insets branch
7969 * insetfloat.[Ch]: ditto
7971 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7974 * figinset.C: use new File Dialog
7976 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7978 * insettext.C: changes becuase of ParagraphParameters.
7980 2001-02-28 Baruch Even <baruch@ev-en.org>
7982 * insetgraphics.C (updateInset): Changed due to the change in
7985 2001-02-26 Juergen Vigna <jug@sad.it>
7987 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7988 handled in LyXText).
7990 2001-02-23 Juergen Vigna <jug@sad.it>
7992 * insettext.C (draw): some small repainting fixes.
7993 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7995 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7996 should be) and not an int.
7998 * insettabular.C (LocalDispatch): ditto
8000 * insettext.C (LocalDispatch): ditto
8002 * insetcollapsable.C (LocalDispatch): ditto
8004 2001-02-22 Juergen Vigna <jug@sad.it>
8006 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
8007 DISPATCH it and we don't have a locking_inset.
8009 2001-02-21 Baruch Even <baruch@ev-en.org>
8011 * insetgraphics.[Ch]: Changed to use
8012 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8014 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8016 * insetcollapsable.C (getLyXText): add const qualifier to second
8019 2001-02-22 Juergen Vigna <jug@sad.it>
8021 * insettext.C (getLyXText): honor the recursive parameter.
8022 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8024 * inset.C (getLyXText): added bool recursive parameter.
8026 * insettext.C (SetUpdateStatus): or the update codes.
8027 (draw): check need_update with &.
8028 (InsetButtonPress): set no_selection to not put a selection when
8029 entering an inset and it is redraws in another spot.
8031 * insettext.h: made need_update an int.
8033 2001-02-20 Baruch Even <baruch@ev-en.org>
8036 * insetgraphisc.C: Changed to use better semantics when loading images
8037 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8039 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8043 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8044 consistent with InsetTabular.
8046 2001-02-19 Juergen Vigna <jug@sad.it>
8048 * insettabular.C (LocalDispatch): implement PAGE up/down.
8050 * insettext.C (draw): clear all of it on need_update==INIT too!
8052 * insettabular.C (InsetUnlock): always clear the selection.
8054 * inset.C (scroll): normally we only want to scroll the inset until
8055 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8057 2001-02-14 Juergen Vigna <jug@sad.it>
8059 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8060 (resetPos): fixed scroll behaviour.
8061 (LocalDispatch): do an update if moving cursor inside a table cell
8062 requests a scroll of the tabular.
8064 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8066 * insettext.C (textWidth): constify local var
8068 * insettabular.C: small cleanup.
8070 * insetfoot.C (Latex): constify local var
8072 * insetcollapsable.C: small cleanup.
8074 * figinset.C (runqueue): use compare instead of strcmp
8076 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8079 * insetinfo.C: remove cruft
8081 2001-02-14 Juergen Vigna <jug@sad.it>
8083 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8085 2001-02-13 Juergen Vigna <jug@sad.it>
8087 * insettext.C (InsertInset): don't move left (is this right?)
8089 * insettabular.C (LocalDispatch): use of the no_draw variable
8091 * insettabular.h: new no_draw variable to stop redraw
8093 * insettabular.C (TabularFeatures): fixed update for alignment change
8095 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8099 * insetbib.C: move dialogs to frontends/
8101 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8103 * insettext.C (LocalDispatch): Restore the language if the inset
8106 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8108 * insettext.C (moveRightIntern): Update the selection cursor.
8109 (moveLeftIntern): Ditto.
8111 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * Makefile.am: remove BoundingBox.h
8115 * BoundingBox.h: removed
8117 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8119 * insettext.C (LocalDispatch): Update selection cursor when moving
8120 cursor to the right.
8121 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8122 (moveLeftIntern): Ditto.
8124 2001-02-05 Baruch Even <baruch.even@writeme.com>
8126 * insetgraphics.C: Updated automatic image conversion, it now goes into
8127 temporary directory instead of with the image itself.
8129 2001-01-21 Baruch Even <baruch@ev-en.org>
8131 * insetgraphics.C: Added Docbook support. Added Automatic image
8132 conversion to EPS or PNG when needed (support bitmap graphics).
8134 2000-11-02 Baruch Even <baruch@ev-en.org>
8137 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8138 to '\n' and removal of commented out code.
8140 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8142 * insetbib.C (callback): Update citations if the key has changed.
8144 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8146 * insetbib.C (InsetBibKey): Better computation of default key.
8147 (getScreenLabel) Show both the key and the label.
8148 (getBibLabel): New method.
8149 (callback): Force a redraw if the inset have been changed.
8151 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8153 * insetref.C (getType, getName): Move methods from
8154 src/frontends/xforms/FormRef.C.
8156 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8158 * insettabular.C: Various improvements (use only one dummy position).
8160 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8162 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8163 par->bibkey->width. This fixes the crashes when running without
8164 gui or when having included documents.
8166 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8168 * insetcommand.C (getAsString, setFromString): Cleanup.
8170 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8172 * insetref.C: Add the array InsetRef::types that contains
8173 information about all supported reference types.
8175 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * lyxinset.h: remove trailing comma in enum.
8179 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8181 * insettext.C: kill LyXBell.