1 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
3 * insetbox.C (metrics): fix width problems (bug 2137)
5 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * insettabular.C (tabularFeatures): Move some code to
8 setColumnPWidth and setMColumnPWidth
10 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * insetcharstyle.[Ch]:
15 * insetlatexaccent.[Ch]:
19 * insetspecialchar.[Ch]:
20 * inseturl.[Ch]: new method textString (fix bug 2089)
22 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
24 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
26 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 change argument of forceDefaultParagraphs from inset to cell.
33 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
35 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * insetbase.h: document the EDITABLE enum.
39 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
44 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
46 * insetbranch.C: partial fix bug 2092: branches not
47 propagated to child docs
48 * insetcharstyle.C: Also replace LColor::red by LColor::error
50 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * insetbranch.C (isBranchSelected): take a buffer as argument.
53 adapt to work with child documents (bug 2092).
55 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * insettabular.C (doDispatch): get rid of annoying debug message.
59 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
60 code from InsetCollapsable.
62 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
63 inset is toggled to Closed, move cursor to the right (part of bug
66 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
68 * insettext.C: remove obsolete old_pit
70 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * insettabular.C (doDispatch): do not override the result of
73 LFUN_RIGHT/LEFT. (bug 2101)
75 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
77 * insetvspace.C (metrics): compute ascent and descent in a way that
78 the cursor is placed on the same level as the label text
80 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
83 of autoopen, which means that collapsables automatically open
84 whenever the cursor enters (and close again on leave) (fixes bug 1921).
86 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
89 and '\space' to '\space{}' (consistency).
91 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * insettabular.C (tabularFeatures): validate cursor after
94 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
96 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
98 * insettabular.C: fixes bug 1765: multicol cell width on screen not
101 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
103 * insettabular.C: use recordUndoInset instead of recordUndo
104 (fixes bug 1937 and 1986).
106 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * insetvspace.C (metrics): include label text
109 * insetvspace.[Ch] (label): new, needed for the above
111 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * insetbase.[Ch]: new bool neverIndent() which indicates if
114 an inset does not want paragraph indentation at all.
117 * insetoptarg.h: return true for neverIndent()
118 * insettext.[Ch]: return true for neverIndent() in case
119 of tabular cells (based on a crude guess).
121 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * insetline.C: Add forgotten include
125 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * insetline.C (latex): write the size argument of \lyxline again
128 * insetquotes.C (latex): adapt to OutputParams changes
130 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
133 when switching to pwidth cell (bugs 1296, 1840).
135 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * insettabular.C (draw): pass PainterInfro::erased_ to
139 (drawCellLines): add an erased bool and handle it.
141 2005-08-03 John Levon <levon@movementarian.org>
143 * insettext.C (clear): remove bool argument.
144 (read): adapt to clear() changes.
146 * insettabular.C (cutSelection): adapt to MarkErased changes.
148 * insettext.C (markErased):
149 * insettabular.C (markErased):
150 * insetbase.C (markErased): add bool argument.
152 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
155 after copying several cells (works around bug 1919).
157 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
159 * insetcharstyle.C (metrics,draw): consider inset label for
160 width computation; fix drawing of labels of undefined char styles
162 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
164 * insettabular.C (getStatus): fix Helge's bug that a number of insets
165 including ERT could not be inserted in tabular.
167 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * insetinclude.C (string2params): fix typo in error message (bug 1963).
171 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
173 * insettabular.C (getStatus): disable line and paragraph breaks
174 in non-fixed-width cells (bug 1938).
176 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * insetwrap.C: Do not use translatable strings as internal identifier
182 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
184 * insetbase.C: include boost/current_function.hpp
186 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
188 * insetbase.C (edit,editXY,index): supress some lyxerr messages
190 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
194 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
196 * insetlabel.C (changeRefsIfUnique): remove unused code
198 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
201 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
202 reverse the logic. Make sure to set updateButtonLabel_ to true in all
203 places where params is set (directly or indirectly).
205 2005-07-15 André Pönitz <poenitz@gmx.net>
207 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
209 2005-07-15 André Pönitz <poenitz@gmx.net>
213 * insetcollapsable.[Ch]:
215 * updatableinset.[Ch]: remove UpdatableInset
217 2005-07-15 José Matos <jamatos@lyx.org>
219 * insettext.C (plaintext): fix call to asciiParagraph.
221 2005-07-15 André Pönitz <poenitz@gmx.net>
223 * insetcollapsable.[Ch]:
224 * updatableinset.[Ch] (scroll, setScroll): sanitize things
226 2005-07-14 Angus Leeming <leeming@lyx.org>
228 * insetbibtex.C (latex): when processing the LaTeX file in
229 a temp directory, copy the BibTeX databases there, mangling their
230 names in the process. Do this so that BibTeX can process the database
231 because it *really*, *really* can't handle "files with spaces".
233 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
235 * insettext.C (doDispatch): reduce some debug blabbering
237 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * ExternalSupport.C (subst_path): adjust to latex_path changes and
240 replace dots if appropriate
241 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
242 * insetexternal.C (validate): require lyxdot
244 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * ExternalSupport.C (subst_path): new argument exclude_extension
247 * ExternalSupport.C (doSubstitution): exclude the extension when
249 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
250 the extension when quoting the file name
252 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * insetquotes.C (latex): always use \og/\fg for the french
255 languages; test against the language code instead of the babel
258 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
260 * insettabular.C (tabularFeatures): adjust cursor after adding a column
262 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
264 * insetbranch.C (setButtonLabel): Make label prefix translatable.
266 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * insettabular.[Ch] (dist): make it a real member of insettabular
269 and rewrite it to use the actuall cell dimensions for calculation,
270 not the insettext's deimensions (fixes bug 1801).
272 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * insetbibtex.C: (addDatabase): do not check for substrings but
275 but for whole tokens.
276 (delDatabase): make it actually work.
278 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
282 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * insetgraphics.C (prepareFile): don't strip the extension of quoted
286 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
288 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
291 when multiple cells are selected (bug 1837).
293 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * insetoptarg.C (InsetOptArg): make the inset open by default
298 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * insetvspace.C (draw): use VSpace::asGUIName.
302 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
305 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
306 cur.noUpdate() if nothing changed
307 * insetlatexaccent.[Ch]: spelling fixes
309 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
311 * insetcollapsable.C (doDispatch): fix
312 click-on-closed-collapsable-inset-crash bug.
314 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
316 * insettabular.C (pasteSelection):
317 * insettext.h (copy c'tor): fix paste inside tabulars.
319 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * insetoptarg.C (plaintext): add dummy method.
323 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * insetbase.h (doDispatch): document a bit more
326 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
327 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
328 cur.bv().update(), because that leads to nested updates. Call
329 cur.noUpdate() instead where approriate.
331 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
333 * insetbibtex.C: change screen label
335 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
337 2005-05-06 José Matos <jamatos@lyx.org>
339 * insetcommandparams.C (scanCommand): fix out of range string access.
341 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
343 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
345 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
346 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
349 handle undefined character styles
350 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
351 handle undefined character styles
353 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
355 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
356 in getStatus and the tabularFeature string (bug 1860).
358 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
360 * insetbranch.C (getStatus): make the code more compact
362 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * insetcollapsable.C (doDispatch): do not pass through double/triple
365 click events when they are not in the insetext (bug 1797).
367 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * insetbase.h: document a bit more
370 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
371 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
372 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
373 (getStatus): implement
374 * insetcollapsable.[Ch] (hitButton): take a const argument
375 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
378 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * insetcollapsable.C (doDispatch): pass through double/triple
381 click events (bug 1811).
383 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
387 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
388 but the SENSITIVE label type.
390 2005-04-18 Angus Leeming <leeming@lyx.org>
392 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
393 'use_latex_path' argument. In turn, passed to the new subst_path
394 function when replacing placeholders with paths.
396 * insetexternal.C (getScreenLabel):
397 * ExternalSupport.C (lots of places): change invocation of
398 doSubstitution in lots of places, specifying the appropriate values
399 for this 'use_latex_path' boolean.
401 * insetbib.C (latex):
402 * insetgraphics.C (latex):
403 * insetinclude.C (latex): pass path to latex_path rather than to
406 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
408 * insetcharstyle.C (validate): allow nested charstyle insets
410 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
414 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * insetfloat.C (InsetFloat):
417 * insetwrap.C (InsetWrap): do not set layout here.
419 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
423 * insetbase.h (getStatus): add more documentation
424 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
427 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
429 * insetcharstyle.C (metrics, draw):
430 * insetert.C (metrics, draw):
431 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
434 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
436 * insetexternal.C (validate):
437 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
438 multiple Requirements in external material template
440 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
442 * insettext.C (drawFrame): cosmetic fix
444 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
446 * ExternalSupport.C (writeExternal):
447 * insetgraphics.C (latex):
448 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
449 mis-count in computing latex error location
451 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
453 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
454 make it *not* descend into insets (fix a crash). Move the part
455 needed from editXY to a new function getNearestCell
457 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * insetinclude.C (InsetInclude): when constructing from another
460 InsetInclude, set set_label_ to false, since the value is never
463 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
467 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
469 * insettabular.C (drawSelection): cosmetic bugfix
471 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * insettabular.C (doDispatch): get middle mouse button back again
474 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
475 when only a part of the cell is selected (fix bug 1799)
477 * insettabular.C: handle some more character attributes in
478 M. Vermeers method (when multiple cells in tables are selected);
479 disable some more senseless lfuns when multiple cells are selected
481 Move to end of cell instead of beginning when coming from the cell
484 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
486 * insettabular.C: make applying character attributes
487 possible for multiple cells in tables. Disable collapsable
488 insets for multiple-cell selection in table (Jürgen S.)
489 Bug reported by Helge Hafting.
491 2005-02-25 Andreas Vox <avox@arcor.de>
493 * insetmarginal.[hC] (docbook): new method, render as <note>
495 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
497 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
499 * insetcaption.[Ch] (doClone): implement
501 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
503 * insetgraphics.C (prepareFile): handle non-existing files
504 * insetgraphics.C (latex): remove special handling of non-existing
507 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
510 * insettext.C: adjust metrics
512 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * insettext.C: include boost/current_function.hpp (needed when
515 assertions are disabled)
517 2005-02-20 André Pönitz <poenitz@gmx.net>
519 * insetcollapsable.C: Prevent problems on double-/
520 tripleclick on collapsable label (bug 1797).
522 2005-02-13 André Pönitz <poenitz@gmx.net>
524 * insettext.[Ch] (border_): new
525 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
528 2005-02-14 Angus Leeming <leeming@lyx.org>
530 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
531 about "truncation of constant value".
533 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
535 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
536 workaround for broken HTML converter)
538 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
540 * insetcollapsable.C (leaveInset): size() -> depth()
541 * insettabular.C (isRightToLeft): ditto
543 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
545 * insetert.C (latex, linuxdoc, docbook): remove newline handling
546 * insetert.C (doDispatch): clean pasted paragraphs
547 * insetert.C (getStatus): suppress more lfuns
548 * insetert.C (insetAllowed): return always false
550 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
555 * updatableinset.C: Use new cursor accessors.
557 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
559 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
561 2005-01-31 Angus Leeming <leeming@lyx.org>
563 * insetgraphicsParams.C: protect a #warning preprocessor call
564 with a #ifdef WITH_WARNINGS guard.
566 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * Several files: use convert<> instead of atoi,strToXXX and friends
570 2005-01-23 Angus Leeming <leeming@lyx.org>
572 * insetbibitem.h (bibitemWidest): declare the function.
574 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * insetgraphics.C (prepareFile): move the invocation of the default
577 converter to ../converter.C
578 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
579 call convert with try_default == true
581 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
583 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
584 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
585 determines what variables are substituted
586 * ExternalSupport.C (updateExternal): fix substitution of
589 2005-01-10 Angus Leeming <leeming@lyx.org>
591 * ExternalTemplate.C: use support/package.h to provide the paths to the
592 various directories used by LyX.
594 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
602 * ExternalTransforms.C (adjAngle): tostr -> convert
604 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
609 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * ExternalTransforms.C: fix LaTeX output of \scalebox.
613 * ExternalTransforms.[Ch]:
614 * insetexternal.C: store all float/double values as strings.
617 * insetgraphicsParams.C: more precise checks for the value strings.
619 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * insettext.C (doDispatch): remove unused variable was_empty
623 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * insetgraphicsParams.[Ch]: store all float/double values as strings.
628 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
630 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
632 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
635 UNSET_ALL_LINES (from Jürgen)
637 2004-12-14 Angus Leeming <leeming@lyx.org>
639 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
640 to overcome bug in the MinGW port of g++ 3.4.2.
642 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
644 * insettabular.C (getCellXPos): make it return a relative x
645 position wrt. the begin of the tabular
646 (resetPos): a couple of fixes
647 (doDispatch): add a couple of resetPos calls
648 (drawSelection): fix drawing of selection in single-cell mode
649 (draw): replace 'do not draw' optimization by 'draw with
652 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * insetbase.[Ch] (idxUpDown2): remove function
656 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * insettabular.[Ch]: use size_t-like types for cell, row and column
661 2004-12-02 José Matos <jamatos@lyx.org>
663 * insetlatexaccent.C (checkContents): remove compatibility code,
666 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
668 * insetbase.h (getStatus): add better comment from src/cursor.C
670 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
672 * insettabular.[Ch]: adjust, introduce "do not draw
673 offscreen" optimization using NullPainter, (dist): introduce,
674 (getCursorPos): implement, (drawSelection): implement
676 * insetcollapsable.[Ch]: adjust
678 * insettext.C: adjust, (metrics): set the font before calling
681 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * rename a lot of InsetOld to InsetBase
685 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
688 * insettext.C: par->pit renaming
690 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * Most insets: rename priv_dispatch to doDispatch
694 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * insettabular.C (tabularFeatures): fix multicolumn handling
698 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * render_base.h (operator=): use common semantics
702 * insettext.C (operator=): delete this
703 (copy constructor): implement this properly
704 (init): use for_each and bind
706 (appendParagraphs): ditto
708 * insettabular.C: add more const. Adjust for changes in tabular.
710 * insetbase.h: Use NVI on clone. Add virtual doClone and update
711 all children, also make copy constructor protected. Added some
712 safe-guards to clone.
714 * insets: adjust to fit.
716 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
718 * insetoptarg.C (latexOptional): return number of lines instead of
721 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
723 * insettabular.[Ch] (string2params): Don't pretend to return the
724 active cell anymore and simplify keyword parsing.
726 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * insetlatexaccent.h (isLetter): implement, so that word selection
729 takes accents into account.
731 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
733 * insetcollapsable.C (priv_dispatch): do not push the inset to the
736 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * ExternalSupport.C, insetgraphics.C:
739 s/getFormatFromContents/formats.getFormatFromFile/
741 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
743 * insetcharstyle.[Ch]:
744 * insetert.[Ch]: implement getStatus
746 * insetcharstyle.C (draw): visual clue when the cursor is inside
749 2004-11-02 José Matos <jamatos@lyx.org>
751 * insetcharstyle.C (docbook):
752 * insetlabel.C (linuxdoc, docbook):
753 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
756 * insettabular.C (docbook): mixed content no longer belongs to
759 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
761 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
763 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
765 * ExternalSupport.C (updateExternal): convert files in the temp dir
767 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
769 * insetcharstyle.C: drawing cosmetics.
771 2004-10-30 José Matos <jamatos@lyx.org>
773 * insetcharstyle.C (docbook): a compromisse solution. Don't output
774 paragraph tags inside inline elements.
776 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
779 InsetText methods rather than outputVerbatim (escapes special
780 characters) [bug 1731]
781 * insetcharstyle.C (outputVerbatim): remove this function.
782 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
783 which caused an infinite loop.
785 2004-10-29 José Matos <jamatos@lyx.org>
787 * insetgraphics.C (uniqueID): transfered to sgml.C
789 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
791 * insetlabel.C (docbook, linuxdoc):
792 * insetref.C (docbook, linuxdoc): sanitize id.
794 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
796 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
797 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
798 * insetgraphics.C (findTargetFormat): reformat
800 2004-10-28 José Matos <jamatos@lyx.org>
802 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
804 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
806 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
808 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
811 "[,,,]" without warning message
813 2004-10-26 Angus Leeming <leeming@lyx.org>
815 * ExternalSupport.C (updateExternal):
816 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
817 external files to the temp directory.
819 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
821 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
822 layouts. This fixes problems with the memoir class (which does not
823 allow \footnote) [bug 1677]
825 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
827 * insetindex.C (docbook): escape the index, to generate correct sgml.
829 2004-10-23 José Matos <jamatos@lyx.org>
831 * insettext.C (docbook): rearrange arguments, due to change in the
834 2004-10-23 André Pönitz <poenitz@gmx.net>
836 * insettabular.C (cutSelection, tabularFereatures):
837 fix cursor position after cutting selection or table rows
839 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
841 * insetgraphics.C (docbook, writeImageObject): write more than one
842 format of imageobjects in <mediaobject>.
844 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
846 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
847 DocBook output for this inset ( <citation>content</citation> )
849 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
851 * insetgraphics.C (docbook) : using mediaobject for XML;
852 correcting bug with SGML output (now '>' instead of '/>')
854 2004-10-05 José Matos <jamatos@lyx.org>
856 * insetfloatlist.C (read):
857 * insetquotes.C (read):
858 * insetspace.C (read):
859 * insetspecialchar.C (read):
860 * insettabular.C (read): replace nextToken by more appropriate lex
863 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
865 * insetgraphics.C (createDocBookAttribute, docbook) :
866 convert scale, width, height and keepaspectratio to Docbook standards)
868 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
869 to Docbook units where possible.
871 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
873 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
875 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
876 as attributes with new method for docbook.
878 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * render_preview.h: Use preferred calling of Boost.Signal
882 * pch.h: use proper signal include
884 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * ExternalTransforms.h: User preferred calling of Boost.Function
888 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
890 * insetref.C (docbook): fixing problem where Docbook XML output
891 had unclosed <xref ... >
893 2004-08-16 José Matos <jamatos@lyx.org>
895 * insethfill.C (write):
896 * insetline.C (write):
897 * insetnewline.C (write):
898 * insetpagebreak.C (write): remove space at end of line.
900 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * insettabular.C (plaintext): do not use ownerPar to get the
905 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
906 and it calls getParentLanguage (which calls ownerPar)
907 (edit): do not call sanitizeEmptyText
908 (priv_dispatch): remove code resetting font on empty inset, for
909 the same reasons as above.
911 * insettabular.C (isRightToLeft): instead of using
912 BufferView::getParentLanguage, use the data from the cursor
914 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
918 * Makefile.am: support pch
920 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * insettabular.C (draw): whitespace
924 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
926 2004-08-14 André Pönitz <poenitz@gmx.net>
928 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
930 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * insettabular.C (metrics): when the width of a cell is zero(),
933 let it use as much space as it can
935 * insettext.C (editXY): compilation fix
937 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
939 (metrics): the insets is not full width any more.
940 (draw): adjust; fix bad test for PREVIEW_OFF
941 (add_preview): fix bad test for PREVIEW_OFF
942 (display): do not return true when using \input
944 2004-08-14 José Matos <jamatos@lyx.org>
946 * insetbibitem.[Ch] (plaintext): added.
948 * insetcite.[Ch]: fix plaintext export.
950 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
952 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
955 * insetcaption.C (InsetCaption): modify call to setDrawFrame
956 * insetcollapsable.C (InsetCollapsable): ditto
957 * insetenv.C (InsetEnvironment): ditto
959 2004-08-14 André Pönitz <poenitz@gmx.net>
962 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
964 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * insetoptarg.C (latexOptional): if the optional argument contains
967 a ']' enclose it in {curly brackets}
969 * insettext.C (editXY):
970 * insettabular.C (editXY):
971 * insetcollapsable.C (editXY):
972 * insetbase.C (editXY): constify
974 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
975 not ask for an update if we did nothing; on a mouse release, make
976 sure that the cursor is moved to the right position; on a mouse
977 release, exit from the inset instead of invoking a
980 * insetbase.C (dispatch): before invoking dispatch, set cursor
981 result to dispatch=update=true.
983 2004-08-13 José Matos <jamatos@lyx.org>
985 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
987 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
989 * insetfoot.C (latex): use OutputParams::intitle instead of
990 parOwner() (avoids time consuming lookup)
992 * insetquotes.C (latex): same as above with OutputParams::lang.
993 Moreover the code actually works now.
995 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
998 * insetinclude.C, insetgraphics.C, insetfloat.C:
999 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1000 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1001 "support/std_sstream.h" to <sstream>
1003 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1005 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1006 It made the following fail for a .eps graphics file:
1008 2) view->pdf (pdflatex)
1009 because the .eps file was already in the temp dir when the pdflatex
1010 export happened and therefore no .eps -> pdf conversion was done.
1012 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * insetgraphics.C, insettabular.C: s/wether/whether/g
1016 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * insetgraphics.C (stripExtension): new
1019 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1020 the caller does this
1021 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1022 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1024 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * insetfloatlist.C (latex,getScreenLabel): translate according to
1027 the document language (bug #1312)
1029 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1032 with external_in_tmpdir and compute filename ourself
1033 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1034 use it to store referenced file(s)
1035 * ExternalSupport.C (writeExternal): write relative filename if
1037 * ExternalTemplate.[Ch]: add ReferencedFile command
1038 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1039 runparams.exportdata
1040 * insetgraphics.C (prepareFile): write relative filename if
1042 * insetinclude.C (latex, docbook, linuxdoc): add file to
1043 runparams.exportdata and write it to the temp dir instead of
1044 writing it to the final destination
1045 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1047 2004-05-19 Angus Leeming <leeming@lyx.org>
1049 * insetcite.[Ch]: small change because namespace biblio is
1050 now namespace lyx::biblio.
1052 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1054 * insettabular.[Ch] (buffer): make Buffer * argument const
1056 2004-05-17 Angus Leeming <leeming@lyx.org>
1058 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1059 to force the button label to be re-generated.
1061 2004-05-14 José Matos <jamatos@lyx.org>
1063 * insetlabel (docbook): do not ouput label, for the moment.
1065 2004-05-14 Angus Leeming <leeming@lyx.org>
1067 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1068 new biblio::asValidLatexString function.
1070 2004-05-12 Angus Leeming <leeming@lyx.org>
1072 * insetcite.C: use BufferParams::cite_engine rather than the three
1073 bools, use_natbib, use_jurabib, use_numerical_citations.
1075 2004-05-10 Angus Leeming <leeming@lyx.org>
1077 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1078 Ditto with getStyle, moved to biblio::getEngine.
1080 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1082 * insetgraphics.C (validate): remove pre 233 file format stuff,
1083 handle zipped files for "nice" export
1085 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1087 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1088 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1089 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1090 changed since the last run
1091 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1092 and copyFileIfNeeded.
1094 2004-04-29 Angus Leeming <leeming@lyx.org>
1096 * ExternalTemplate.[Ch]: remove redundant #includes.
1098 2004-04-28 Angus Leeming <leeming@lyx.org>
1101 s/updateToolbar()/updateToolbars()/
1103 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1105 * insetgraphics.C: require file extension (file format change!)
1106 * insetgraphics.C (latex): handle zipped files for "nice" export
1108 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1110 * insetgraphics.C (latex): strip the extension and replace dots in
1111 the filename if doing a "nice" export. This is a partial fix for
1112 bug 1231 without reintroducing bug 655.
1114 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * insetoptarg.h: remove the editable() method (InsetCollapsable
1117 does it better already)
1119 * insetbibtex.C (normalize_name): new helper function. Changes the
1120 name to be suitable to use in a latex file (relative to master
1121 buffer if necessary).
1122 (latex): use normalize_name.
1124 2004-04-20 Angus Leeming <leeming@lyx.org>
1126 * render_preview.C (startLoading): remove lyxerr statement.
1128 (getPreviewLoader): new helper function.
1130 2004-04-19 Angus Leeming <leeming@lyx.org>
1134 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1136 2004-04-19 Angus Leeming <leeming@lyx.org>
1138 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1140 (add_preview): renamed as add_preview_and_start_loading. Invoke
1141 RenderPreview::startLoading.
1143 * insetinclude.C (metrics, draw): changes due to the changed
1144 RenderPreview interface.
1146 * render_preview.C: remove cached pimage_.
1147 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1148 (draw): don't call startLoading. That's up to the user of
1151 2004-04-16 Angus Leeming <leeming@lyx.org>
1153 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1155 2004-04-13 Angus Leeming <leeming@lyx.org>
1157 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1158 the renderer to inform LyX::updateInset that the inset's status
1159 has changed and it should be redrawn.
1161 * render_button.[Ch] (clone):
1162 * render_graphic.[Ch] (c-tors, clone):
1163 * render_preview.[Ch] (c-tors, clone): ditto.
1165 * render_graphic.[Ch] (connect):
1166 * render_preview.[Ch] (connect): removed, as connection is now
1167 made in the constructors.
1171 * insetinclude.C: ensuing simplification of the client code.
1172 (statusChanged): now superfluous. Removed.
1174 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1176 * ExternalTemplate.[Ch]: remove editCommand
1177 * ExternalSupport.C (editExternal): use formats.edit() instead of
1178 the removed editCommand template parameter
1179 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1180 * insetgraphics.[Ch] (editGraphics): new method
1182 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1184 * insetinclude.C (validate): set/reset features.buffer_ when
1185 validating the child
1187 2004-04-07 Angus Leeming <leeming@lyx.org>
1189 * insetexternal.C (priv_dispatch):
1190 * insetinclude.C (priv_dispatch): prevent crash by invoking
1191 InsetOld::priv_dispatch at the end of the switch, rather than
1192 InsetOld::dispatch...
1194 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1196 * insetcollapsable.C:
1197 * insetbranch.C: 'assign' to open/close branch inset according to
1198 selection; also print content on closed branch button
1200 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1202 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1203 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1204 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1206 * ExternalSupport.C (updateExternal): use absolute and output
1207 filename where appropriate
1209 2004-04-05 André Pönitz <poenitz@gmx.net>
1211 * insetbase.h: use LCursor & in notifyCursorLeave
1213 2004-04-05 Angus Leeming <leeming@lyx.org>
1215 * insetgraphics.C: remove unused header file "lyxrc.h".
1217 * render_graphic.C: squash bug 1372: Misleading graphics label when
1218 deactivating lyx view.
1220 2004-04-05 Angus Leeming <leeming@lyx.org>
1225 * insetlatexaccent.C:
1230 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1232 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * insetfloat.C (read): fix yesterday's float fix.
1235 * insetwrap.C (read): apply the fixed float fix.
1237 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1239 * insetfloat.C (read): fix reading of float params
1242 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1244 * insettext.C (edit): comment the call to updateLocal (dangling now)
1245 * insettext.h: add allowSpellCheck() returning true
1247 2004-03-31 Angus Leeming <leeming@lyx.org>
1249 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1251 2004-03-31 Angus Leeming <leeming@lyx.org>
1253 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1254 the cursor out of an inset.
1256 * insetbranch.C (priv_dispatch):
1257 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1258 use getOutOfInset to push the cursor out of the inset when
1261 2004-03-30 Angus Leeming <leeming@lyx.org>
1263 * insetbase.[Ch] (translate): new static member function, returns
1264 an InsetBase::Code corresponding to the input string.
1266 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1268 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1269 so that it opens the inset if it refers to the currently active
1272 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1274 * insetfloat.C (addToToc): use par_const_iterator_begin and
1275 par_const_iterator_end.
1277 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1279 * insetbibtex.[Ch]: bibtopic support.
1281 * insetfloat.[Ch]: add param \sideways {true|false}
1282 (support for sideways floats from rotating.sty).
1284 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1286 * insettext.[Ch]: add a default ctor. implement const version of
1292 * insetwrap.C: adjust
1294 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1296 * insettext.h: add insetAllowed returning true by default (fixing
1297 vanishing insets problem)
1299 * insettext.C (draw): handle the responsability of adding the
1300 ouside offset to collapsable. Clean code a bit.
1302 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1303 from insettext correctly, solve a couple of off-by-one drawing
1306 2004-03-25 Angus Leeming <leeming@lyx.org>
1308 * insetcaption.C (draw): squash warning about unused variable.
1310 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1312 * ExternalSupport.C: use the master buffer's temp dir
1313 * insetgraphics.C (latex): make relative filename relative to the
1315 * insetgraphics.C: use the master buffer's temp dir
1316 * insetinclude.C (masterFilename): new function
1317 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1318 is always true if loadIfNeeded() returns true)
1320 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1322 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1323 set its parent to the current buffer.
1324 (latex): use the tmppath of the master buffer, not just the parent
1325 buffer (makes a difference with more than one level of include
1326 insets). If the file name is relative write in the .tex file a
1327 name relative to the master buffer directory.
1329 * insetinclude.C: rename masterFilename to parentFilename (this
1330 points to the direct parent)
1332 2004-03-25 André Pönitz <poenitz@gmx.net>
1334 * inset.[Ch]: remover owner
1336 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1344 * insetcharstyle.[Ch]:
1352 * insetwrap.C: adjust
1354 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1356 * insetquote.C: use opening quote after '[' char.
1358 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1360 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1363 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1365 * insetcite.[Ch]: support jurabib.
1367 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1369 * insetcite.C: Support second \cite option.
1371 * insetcommand.[Ch]:
1372 * insetcommandparams.[Ch]: add second optional argument.
1374 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1376 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1377 shows the inset dialog.
1379 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1381 * insetlabel.[Ch]: remove them
1382 * Makefile.am: adjust
1384 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1386 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1388 * insetinclude.C (latex): show a GUI warning if textclasses don't
1390 * insetinclude.C: use mangledFilename() for temp files
1391 * insetgraphics.C (readInsetGraphics): remove version check, since
1392 the graphics inset has no own fileformat number anymore
1394 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1396 * insetquotes.[Ch]: added new member that allows direct access
1397 to single/double quotation marks.
1398 * insetnewline.[Ch]:
1399 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1401 2004-02-16 André Pönitz <poenitz@gmx.net>
1404 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1405 implicitly assume 'DispatchResult(true, true) with exception of
1406 InsetBase::priv_dispatch which does the equivalent of
1407 'retrun DispatchResult(false)'
1409 * inset*.[Ch] (priv_dispatch): adjust
1411 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1412 simplify cursor moving function,
1413 re-enable horizontal scrolling for large tables
1415 2004-02-13 André Pönitz <poenitz@gmx.net>
1417 * insettabular.[Ch]: some work after IU
1419 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1421 * inset.C (setPosCache): switch to absolute coords in insets
1422 * insettext.[Ch] (draw, drawFrame): adjust
1423 * insetcollapsable.C (draw): adjust
1426 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1428 * insettext.C (edit):
1429 (updateLocal): use the cur argument instead of the global cursor
1430 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1432 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1436 * insetfloat.C (validate): "H" -> 'H' in call to contains
1438 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1440 2004-01-30 André Pönitz <poenitz@gmx.net>
1444 * insetcollapsable.[Ch]:
1447 * insetgraphics.[Ch]:
1449 * insettabular.[Ch]:
1452 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1455 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * insettabular.C: add using statement for std::vector, remove
1458 std:: where using was already used.
1460 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1462 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1464 * insetinclude.C (validate): use feautures.nice() instead of
1467 2004-01-20 André Pönitz <poenitz@gmx.net>
1470 * insetbase.[Ch]: move stuff from mathcursor here.
1472 * insetbibitem.[Ch]:
1476 * insetcharstyle.[Ch]:
1477 * insetcollapsable.[Ch]:
1478 * insetcommand.[Ch]:
1480 * insetexternal.[Ch]:
1482 * insetgraphics.[Ch]:
1483 * insetinclude.[Ch]:
1487 * insettabular.[Ch]:
1491 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1494 2004-01-15 André Pönitz <poenitz@gmx.net>
1497 * insetbibitem.[Ch]:
1501 * insetcharstyle.[Ch]:
1502 * insetcollapsable.[Ch]:
1503 * insetcommand.[Ch]:
1505 * insetexternal.[Ch]:
1507 * insetgraphics.[Ch]:
1508 * insetinclude.[Ch]:
1512 * insettabular.[Ch]:
1516 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1518 2004-01-08 André Pönitz <poenitz@gmx.net>
1520 * insetcollapsable.[Ch]:
1521 * insettabular.[Ch]:
1523 * updatableinset.h: use cell index info from global cursor.
1525 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1527 * insetnote.C (InsetNoteParams::write): write label only once
1529 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1533 get rid of the SameName functor
1535 * insettabular.C: improve the functor.
1537 2003-12-29 Angus Leeming <leeming@lyx.org>
1539 * insetexternal.C (setParams): update defaultTemplateName.
1541 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1543 * insetbox.C: Use term "Box" in button label
1545 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1547 * insetcharstyle.C: get getDrawFont working again
1549 2003-12-15 André Pönitz <poenitz@gmx.net>
1551 * insettabular.[Ch]:
1552 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1554 2003-12-12 Angus Leeming <leeming@lyx.org>
1556 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1558 (InsetBranchParams): remove the branchlist hack.
1559 (isBranchSelected): new function, used to decide whether to
1560 print each output format. Also used by InsetList.
1561 (read, string2params): repair my own breakage ;-)
1563 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1565 * insetminipage.[Ch]: remove from repository.
1567 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1570 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1571 insetert to insetcollapsable; introduce virtual function
1572 setButtonLabel and invoke it from collapsable
1574 2003-12-12 Angus Leeming <leeming@lyx.org>
1576 * insetinclude.C (draw): cache x,y and so enable the
1577 dialog to be opened.
1579 2003-12-12 Angus Leeming <leeming@lyx.org>
1581 * mailinset.C (print_mailer_error): tidy up the output.
1583 2003-12-11 Angus Leeming <leeming@lyx.org>
1585 * mailinset.[Ch] (print_mailer_error): new helper function.
1587 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1588 calling InsetCommandMailer.
1589 (InsetCommandMailer::string2params): pass the name of the dialog.
1591 * insetbibitem.[Ch] (d-tor):
1592 * insetbibtex.[Ch] (d-tor):
1593 * insetcite.[Ch] (d-tor):
1594 * insetfloatlist.[Ch] (d-tor):
1595 * insetindex.[Ch] (d-tor):
1596 * insetlabel.[Ch] (d-tor):
1597 * insetref.[Ch] (d-tor):
1598 * insettoc.[Ch] (d-tor):
1599 * inseturl.[Ch] (d-tor): removed.
1600 Hiding the dialog is handled by InsetCommand.
1602 * insetbibtex.[Ch] (draw, metrics):
1603 * insetfloatlist.[Ch] (draw, metrics):
1604 * insetindex.[Ch] (draw, metrics): removed.
1605 Drawing is handled by InsetCommand.
1607 * insetbibitem.[Ch] (priv_dispatch):
1608 * insetbibtex.[Ch] (priv_dispatch):
1609 * insetcite.[Ch] (priv_dispatch):
1610 * insetfloatlist.[Ch] (priv_dispatch):
1611 * insetindex.[Ch] (priv_dispatch):
1612 * insetlabel.[Ch] (priv_dispatch):
1613 * insettoc.[Ch] (priv_dispatch):
1614 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1615 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1616 LFUN_INSET_DIALOG_SHOW.
1618 * insetbox.C (string2params):
1619 * insetbranch.C (string2params):
1620 * insetert.C (string2params):
1621 * insetexternal.C (string2params):
1622 * insetfloat.C (string2params):
1623 * insetinclude.C (string2params):
1624 * insetminipage.C (string2params):
1625 * insetnote.C (string2params):
1626 * insetvspace.C (string2params):
1627 * insetwrap.C (string2params): over-hauled.
1629 2003-12-10 Angus Leeming <leeming@lyx.org>
1631 * insetexternal.[Ch]: add a draft option and respect it when
1634 2003-12-10 Angus Leeming <leeming@lyx.org>
1636 * insetbox.C: (read, write): now prepend the inset contents with
1637 'Box' to identify the inset as a box inset.
1639 * insetbox.h: move the translators out of sight.
1641 2003-12-10 Angus Leeming <leeming@lyx.org>
1643 * insetert.C (string2params): clean-up using the new lyxlex interface.
1645 * insetexternal.C: ensure that InsetExternalParams has a default
1646 template, 'RasterImage'.
1648 2003-12-10 Angus Leeming <leeming@lyx.org>
1650 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1651 to an enum. Ensuing clean-ups through out the class.
1652 (read, write): now prepend the inset contents with 'Note' to identify
1653 the inset as a note inset.
1655 2003-12-10 Angus Leeming <leeming@lyx.org>
1657 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1658 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1660 2003-12-10 André Pönitz <poenitz@gmx.net>
1664 * insettabular.[Ch]:
1665 * insettext.[Ch]: remove unused insetInset()
1667 * insetert.C: disable some LFUNs
1669 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1671 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1673 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1675 2003-12-04 Angus Leeming <leeming@lyx.org>
1677 * insetexternal.C (draw): update the xo_, yo_ cache.
1679 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1681 (RotationDataType): new helper struct wrapping the
1682 RotationData::OriginType enum.
1684 2003-12-03 André Pönitz <poenitz@gmx.net>
1686 * inset.h: remove getParagraphs()
1688 * insetcollapsable.[Ch]:
1691 * insettabular.[Ch]:
1692 * insettext.C: use getText() instead of getParagraphs()
1694 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1696 * insetert.C: fix label text updating bug
1698 2003-12-02 Angus Leeming <leeming@lyx.org>
1700 * insetvspace.[Ch] (space): new member function. Make space_ private.
1701 (read): use the new, simpler lyxlex syntax.
1703 2003-12-01 André Pönitz <poenitz@gmx.net>
1705 * insetcollapsable.[Ch]:
1706 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1708 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1710 * insetvspace.C (read): handle 'end_inset' token.
1712 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1714 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1716 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1718 * insetcollapsable.[Ch]:
1720 * insetcharstyle.C: place inset content on the button when
1723 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1725 * insetvspace.C: remove VSpace::NONE; increase inset width
1727 2003-12-01 André Pönitz <poenitz@gmx.net>
1729 * insetbase.h: whitespace
1731 * inset.[Ch]: remove latexTextWidth
1732 make setBackgroundColor virtual
1734 * insettext.[Ch]: move ParagraphList member to LyXText
1736 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1742 * insetminipage.[Ch]:
1744 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1746 2003-11-28 Angus Leeming <leeming@lyx.org>
1748 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1749 hiding and showing the dialog respectively.
1750 (priv_dispatch): also actually update the inset contents.
1752 2003-11-28 Angus Leeming <leeming@lyx.org>
1754 * insetbox.C (d-tor):
1755 * insetbranch.C (d-tor):
1756 * insetcite.C (d-tor):
1757 * insetfloat.C (d-tor):
1758 * insetfloatlist.C (d-tor):
1759 * insetinclude.C (d-tor):
1760 * insetindex.C (d-tor):
1761 simplify the invocation of the Mailer::hideDialog() function.
1763 * insetminipage.C (showInsetDialog):
1764 simplify the invocation of the Mailer::showialog() function.
1766 2003-11-28 André Pönitz <poenitz@gmx.net>
1769 * insetvspace.[Ch]: new insets
1771 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1773 * insetcharstyle.C: Syntax change for CharStyles
1775 2003-11-28 André Pönitz <poenitz@gmx.net>
1777 * updatableinset.h: remove insetInInsetY
1779 * insetcollapsable.[Ch]:
1781 * insettabular.[Ch]:
1782 * insettext.[Ch]: adjust
1784 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1788 * insetcollapsable.[Ch]:
1790 * insettabular.[Ch]: remove setFont
1792 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1794 * render_graphic.[Ch]: adjust comments
1796 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1798 * insetgraphics.C (draw): cache xo_ & yo_
1800 2003-11-24 André Pönitz <poenitz@gmx.net>
1802 * insettext.C (setViewCache): don't call LyXText::init() anymore
1804 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1807 * insetcollapsable.[Ch]:
1808 * insetert.[Ch]: remove bufferview parameter in methods
1809 open, close, status, and updateStatus.
1811 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1813 * insetcollapsable.[Ch]:
1814 * insettabular.[Ch]:
1815 * insettext.[Ch] (getCursorDim): squash unused variable
1817 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1819 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1821 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1823 * insettext.C (draw): sets LyXText absolute coordinates
1825 2003-11-20 Angus Leeming <leeming@lyx.org>
1827 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1828 warnings about unused parameters.
1830 * insetcollapsable.C (open):
1831 * insettabular.C (pasteSelection):
1832 * insettoc.C (draw): ditto.
1834 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1836 * insetcollapsable.C:
1838 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1839 remove mouse_x mouse_y etc.
1841 2003-11-17 André Pönitz <poenitz@gmx.net>
1843 * insettext.[Ch] (cx, cy): remove
1845 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1847 2003-11-13 André Pönitz <poenitz@gmx.net>
1850 * insetcollapsable.[Ch]:
1851 * insettabular.[Ch]:
1852 * insettext.[Ch] (deleteLyXText): remove
1854 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1856 * insetcollapsable.[Ch] (fitInsetCursor): remove
1857 * insettabular.[Ch] (fitInsetCursor): remove
1858 * insettext.[Ch] (fitInsetCursor): remove
1859 * updatableinset.[Ch] (fitInsetCursor): remove
1860 (getCursorDIm): add virtual
1862 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1864 * src/insets/Makefile.am:
1865 * src/insets/inset.h:
1866 * src/insets/insetcharstyle.C:
1867 * src/insets/insetcharstyle.h: The Character Style /XML short
1870 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1872 * insettext.C: remove all update calls
1873 * insetcollapsable.C: remove all update calls
1875 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1877 * insettext.C (updateLocal, insertInset, setFont): remove
1880 2003-11-10 André Pönitz <poenitz@gmx.net>
1882 * inset.h: remove Inset::id_
1884 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1889 2003-11-10 André Pönitz <poenitz@gmx.net>
1893 * insetcollapsable.[Ch]:
1897 * insettabular.[Ch]:
1900 * updatableinset.[Ch]: remove inset locking & adjust
1902 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1904 * inset.h (allowSpellCheck): add (return true)
1905 * insetert.h (allowSpellCheck): add (return false)
1907 2003-11-05 José Matos <jamatos@lyx.org>
1913 * insetcaption.[Ch]:
1915 * insetcollapsable.[Ch]:
1916 * insetcommand.[Ch]:
1919 * insetexternal.[Ch]:
1921 * insetfloatlist.[Ch]:
1923 * insetgraphics.[Ch]:
1925 * insetinclude.[Ch]:
1928 * insetlatexaccent.[Ch]:
1931 * insetmarginal.[Ch]:
1932 * insetminipage.[Ch]:
1933 * insetnewline.[Ch]:
1936 * insetpagebreak.[Ch]:
1940 * insetspecialchar.[Ch]:
1941 * insettabular.[Ch]:
1943 * insettheorem.[Ch]:
1946 * insetwrap.[Ch]: rename ascii to plaintext
1947 and LatexRunParams to OutputParams.
1949 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1951 * insetcollapsable.C (edit): add open() all
1952 * insettext.C (edit): add setViewCache call
1954 2003-11-04 André Pönitz <poenitz@gmx.net>
1956 * inset.h (edit): move locking code from dispatch() to edit()
1962 * insetcollapsable.[Ch]:
1965 * insetexternal.[Ch]:
1966 * insetgraphics.[Ch]:
1971 * insettabular.[Ch]:
1972 * insettext.[Ch]: adjust
1974 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1977 * insetcollapsable.[Ch]:
1979 * insettabular.[Ch]:
1981 * updatableinset.[Ch]: remove dead search code
1983 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1986 * insetcollapsable.[Ch]:
1988 * insettabular.[Ch]:
1990 * updatableinset.[Ch]: remove dead spellcheck code
1992 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1994 * insettabular.C (lockInsetInInset): small fix
1996 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1998 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1999 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2000 from here. Be stricter on DispatchResult returned.
2002 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2004 * Inset::dispatch's: adjust for new DispatchResult semantics.
2006 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * render_base.h: make clone return an auto_ptr
2009 * render_button.C (clone): adjust
2010 * render_graphic.C (clone): adjust
2011 * render_preview.C (clone): adjust
2013 * insettheorem.C (clone): return an auto_ptr
2015 * insettext.C (priv_dispatch): exception safety
2017 * insettabular.C: store the file scope variable paste_tabular in a
2018 scoped_ptr, adjust usage.
2020 * insetexternal.C (setParams): exception safety
2022 * insetbibitem.C (clone): exception safety
2024 2003-11-03 André Pönitz <poenitz@gmx.net>
2027 * insetcollapsable.[Ch]:
2028 * insettabular.[Ch]:
2029 * insettext.[Ch]: remove Inset::id and related functions
2031 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * insets: adjust for DispatchResult changes.
2035 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2037 * insetpagebreak.C: fix screen representation & ascii output.
2039 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2043 * insettabular.[Ch]:
2044 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2046 2003-10-31 José Matos <jamatos@lyx.org>
2048 * inset.h (ascii, linuxdoc, docbook):
2049 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2050 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2051 * insetcaption.[Ch] (ascii, docbook):
2052 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2053 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2054 * insetert.[Ch] (ascii, linuxdoc, docbook):
2055 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2056 * insetfloat.[Ch] (linuxdoc, docbook):
2057 * insetfloatlist.[Ch] (ascii):
2058 * insetfoot.[Ch] (docbook):
2059 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2060 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2061 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2062 * insetindex.[Ch] (docbook):
2063 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2064 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2065 * insetline.[Ch] (ascii, linuxdoc, docbook):
2066 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2067 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2068 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2069 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2070 * insetref.[Ch] (ascii, linuxdoc, docbook):
2071 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2072 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2073 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2074 * insettext.[Ch] (ascii, linuxdoc, docbook):
2075 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2076 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2077 * insetwrap.[Ch] (docbook):
2078 add LatexRunParams argument.
2080 2003-10-30 José Matos <jamatos@lyx.org>
2082 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2084 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * updatableinset.C (priv_dispatch):
2087 * insetwrap.C (priv_dispatch):
2088 * inseturl.C (priv_dispatch):
2089 * insettoc.C (priv_dispatch):
2090 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2091 (moveLeftIntern, moveUp, moveDown):
2092 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2093 (moveLeft, moveUp, moveDown):
2094 * insetref.C (priv_dispatch):
2095 * insetnote.C (priv_dispatch):
2096 * insetminipage.C (priv_dispatch):
2097 * insetlabel.C (priv_dispatch):
2098 * insetindex.C (priv_dispatch):
2099 * insetinclude.C (priv_dispatch):
2100 * insetgraphics.C (priv_dispatch):
2101 * insetfloatlist.C (priv_dispatch):
2102 * insetfloat.C (priv_dispatch):
2103 * insetexternal.C (priv_dispatch):
2104 * insetert.C (priv_dispatch):
2105 * insetcommand.C (priv_dispatch):
2106 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2107 * insetcite.C (priv_dispatch):
2108 * insetbranch.C (priv_dispatch):
2109 * insetbox.C (priv_dispatch):
2110 * insetbibtex.C (priv_dispatch):
2111 * insetbibitem.C (priv_dispatch):
2112 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2114 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2116 * insettext.C: small refactoring of docbook stuff
2118 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2121 (priv_dispatch): adjust for operator dispatch_result_t removal
2123 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2124 in a DispatchResult, adjust accordingly.
2125 (priv_dispatch): use strange >= construct... (will be removed later)
2127 * most insets: dispatch_result -> DispatchResult
2129 * insetbase.h: move DispatchResult out to dispatchresult.h
2131 2003-10-27 André Pönitz <poenitz@gmx.net>
2133 * insetpagebreak.[Ch]: new inset for page breaks
2135 * insetline.[Ch]: new inset for vertical lines
2140 2003-10-25 Angus Leeming <leeming@lyx.org>
2142 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2143 new virtual member functions, specialised...
2144 * render_button.h (asButton):
2145 * render_graphic.h (asGraphic):
2146 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2148 * insetexternal.C: use these new functions rather than dynamic_cast.
2149 Various other small simplifications.
2151 2003-10-22 Angus Leeming <leeming@lyx.org>
2153 * insetexternal.[Ch]: add the ability to 'preview' the external file
2156 * insetinclude.C: changes due to the changes in the RenderPreview
2159 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2160 message if the preview image is not available. Only initiate the
2161 loading of the preview from draw(). Ditto, start the monitoring
2162 of an external file from RenderMonitoredPreview::draw.
2164 2003-10-22 Angus Leeming <leeming@lyx.org>
2166 * insetcite.[Ch] (setLoadingBuffer): removed.
2167 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2168 ascertain whether to proceed with the (expensive) task of computing
2169 the natbib-style label. Remove the home-grown hack providing
2170 similar functionality.
2172 2003-10-22 Angus Leeming <leeming@lyx.org>
2174 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2175 class and into an anonymous namespace.
2177 2003-10-22 Angus Leeming <leeming@lyx.org>
2179 * insetcommand.h: remove the display method.
2183 * insetindex.h (InsetPrintIndex):
2184 * insettoc.h: add a display method, returning true.
2186 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2188 * insetcollapsable.h:
2192 * insetinclude.h: (1) finish off the inset display() work;
2193 (2) fix the "is a bit silly" bug (accessing char
2196 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2200 * insetfootlike.h: re-introduce display() for insets,
2201 fixing the various bugs (stretch of line above, math inset
2204 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2206 * insetbase.C (dispatch): new func
2207 (priv_dispatch): new func replaces...
2208 (localDispatch): this, deleted.
2210 * all insets with dispatch modified for new code.
2212 2003-10-15 André Pönitz <poenitz@gmx.net>
2214 * insetcollapsable.[Ch]
2216 * inset.h: re-add some edit(bv, index) method called by undo
2218 2003-10-14 Angus Leeming <leeming@lyx.org>
2220 * insetexternal.[Ch] (view, cache, view_):
2221 * insetgraphics.[Ch] (view, cache, view_):
2222 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2223 (statusChanged): call LyX::cref().updateInset.
2225 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2226 the BufferView cache.
2228 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2231 2003-10-14 Angus Leeming <leeming@lyx.org>
2233 * insetinclude.C (metrics, draw): only draw the preview when previews
2236 2003-10-14 André Pönitz <poenitz@gmx.net>
2238 * insetcollapsable.[Ch]:
2239 * insettabular.[Ch]:
2241 * inset.h: getText() as alternative to getParagraphs()
2243 2003-10-13 Angus Leeming <leeming@lyx.org>
2246 * insetgraphicsParams.C: displayTranslator is now a function.
2248 2003-10-13 Angus Leeming <leeming@lyx.org>
2250 * insetinclude.C: remove #include "PreviewImage.h".
2252 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * ExternalSupport.C:
2255 * ExternalTransforms.C:
2257 * insetbox.h: ws changes only
2259 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * insetinclude.C (localDispatch): do not call
2262 InsetOld::localDispatch, just return UNDISPATCHED
2263 * insetgraphics.C (localDispatch): ditto
2264 * insetcommand.C (localDispatch): ditto
2266 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * inset.h: get rid of RESULT typedef for dispatch_result
2270 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2271 * insetert.[Ch] (localDispatch): ditto
2272 * insettabular.[Ch] (localDispatch): ditto
2277 * insettext.[Ch] (localDispatch): ditto
2280 (moveRightIntern): ditto
2281 (moveLeftIntern): ditto
2284 * updatableinset.[Ch] (localDispatch): ditto
2286 2003-10-12 Angus Leeming <leeming@lyx.org>
2288 * renderbase.h (view, view_): removed.
2289 * renderbase.C: removed.
2290 * Makefile.am: remove render_base.C. The shortest lived file in
2293 * renderbutton.C (draw):
2294 * render_graphic.C (draw): don't cache the BufferView.
2296 * insetabase.h (cache, view): removed.
2298 * inset.h (generatePreview) removed.
2300 * insetcallapsable.[Ch] (cache, view, view_): removed.
2302 * insetcollapsable.C (draw): don't cache the BufferView.
2304 * insetcommand.[Ch] (view): removed.
2306 * insetexternal.[Ch] (cache, view, view_):
2307 * insetgraphics.[Ch] (cache, view, view_):
2308 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2310 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2311 when you have direct access to it. In fact, don't use the cache at all.
2313 2003-10-10 Angus Leeming <leeming@lyx.org>
2315 * insetinclude.C (metrics): use preview_->metrics.
2316 (draw): use preview_->draw.
2318 * render_preview.[Ch] (pimage): removed.
2320 2003-10-10 Angus Leeming <leeming@lyx.org>
2322 * renderers.[Ch]: removed.
2325 * render_button.[Ch]:
2326 * render_graphic.[Ch]:
2327 * render_preview.[Ch]: new files. The first three are split out of
2328 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2329 contains a re-worked InsetInclude::PreviewImpl also.
2331 * Makefile.am: reflect the changed files.
2334 * insetexternal.[Ch]:
2335 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2337 * insetinclude.[Ch]: changes reflecting the change from
2338 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2344 * inseturl.C: add #include "support/std_ostream.h"
2346 2003-10-09 Angus Leeming <leeming@lyx.org>
2348 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2349 to PreviewedInset::previewReady.
2351 2003-10-09 Angus Leeming <leeming@lyx.org>
2353 * insetexternal.[Ch] (statusChanged):
2354 * insetgraphics.[Ch] (statusChanged): make a const member function.
2356 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2359 2003-10-09 Angus Leeming <leeming@lyx.org>
2361 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2362 to PreviewedInset's previewReady and removePreview member functions.
2364 2003-10-08 André Pönitz <poenitz@gmx.net>
2366 * insetcollapsable.C:
2367 * insettext.[Ch]: saner 'init' structure
2369 * updatableinset.[Ch]: remove unneeded code
2371 2003-10-08 Angus Leeming <leeming@lyx.org>
2373 Fix doxygen warnings.
2375 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2376 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2378 2003-10-07 Angus Leeming <leeming@lyx.org>
2380 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2381 be applied to InsetExternal.
2383 * Makefile.am: add these new files.
2385 * ExternalTemplate.[Ch]: add a list of available transforms to
2386 class Template and a list of factory functions for transformer classes
2387 that can act on this data to class Format.
2389 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2391 * ExternalSupport.C: Add code to replace transform placeholders
2392 with appropriate output.
2394 2003-10-07 Angus Leeming <leeming@lyx.org>
2396 * ExternalSupport.[Ch]: new files, moving the private member functions
2397 and namespace anon functions out of insetexternal.C to here, so making
2398 it easier to understand what is going on in insetexternal itself.
2400 * Makefile.am: add new files.
2402 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2403 allowing the class to be forward declared. (Also consistent with
2404 all other Params classes.)
2405 (write): moved out of the class. Move this function and those in
2406 namespace anon to ExternalSupport.[Ch].
2408 2003-10-07 Angus Leeming <leeming@lyx.org>
2410 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2411 non-const member function.
2413 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2418 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2420 2003-10-02 André Pönitz <poenitz@gmx.net>
2422 * insettext.C (read): make sure there is at least one par
2423 in the text after reading.
2425 2003-10-01 José Matos <jamatos@lyx.org>
2427 * insetbranch.C (linuxdoc, docbook): minor fix.
2429 2003-10-01 Angus Leeming <leeming@lyx.org>
2431 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2433 * insetexternal.[Ch]: changes due to the introduction of
2434 namespace lyx::external.
2436 2003-09-30 Angus Leeming <leeming@lyx.org>
2438 * insetexternal.[Ch] (Params::read, write): new member functions.
2440 2003-09-25 Angus Leeming <leeming@lyx.org>
2442 * insetexternal.[Ch] (TempName): new (private) nested struct with
2443 fake copy semantics. Enables us to use the generated copy c-tor
2444 in the Params struct.
2445 (Params::templatename, Params::tempname): use accessor functions.
2447 2003-09-25 Angus Leeming <leeming@lyx.org>
2449 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2450 function, returning a const pointer.
2452 2003-09-23 Angus Leeming <leeming@lyx.org>
2454 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2455 store them in a vector, preambleNames.
2457 * insetexternal.C (validate): loop over all preambleNames and call
2458 LaTeXFeatures::addExternalPreamble with each.
2460 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2462 * insetbranch.C: bug fix in branches
2464 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2466 * insetnote.C: small clean-up.
2468 2003-09-19 Angus Leeming <leeming@lyx.org>
2470 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2472 * insetcommand.C (string2params): clear params using the default c-tor.
2474 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2475 InsetInclude::Params. No more data in this struct than in
2476 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2477 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2478 (clone): remove #warning as it's now redundant.
2479 (set): add a 'Buffer const &' arg. Make private.
2480 (loadIfNeeded) move out of the class definition and into namespace anon.
2481 (getMasterFilename, getFileName): ditto.
2483 2003-09-18 Angus Leeming <leeming@lyx.org>
2485 * insetcommand.C (setParams): use the params' copy constructor.
2487 2003-09-18 Angus Leeming <leeming@lyx.org>
2489 * insetinsetbase.h (getLabelList):
2490 * insetinsetcollapsable.[Ch] (getLabelList):
2491 * insetinsetinclude.[Ch] (getLabelList):
2492 * insetinsetlabel.[Ch] (getLabelList):
2493 * insetinsettabular.[Ch] (getLabelList):
2494 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2495 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2497 2003-09-18 Angus Leeming <leeming@lyx.org>
2499 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2500 redundant baggage from yesteryear.
2501 Remove Params::flag as it is redundant; the info is present in
2504 2003-09-18 Angus Leeming <leeming@lyx.org>
2506 * insetinclude.C (latexString): add a Buffer const & arg.
2508 2003-09-18 Angus Leeming <leeming@lyx.org>
2513 * insettext.h: rename EnumLColor as LColor_color.
2515 2003-09-18 Angus Leeming <leeming@lyx.org>
2517 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2518 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2520 2003-09-16 Angus Leeming <leeming@lyx.org>
2522 * insetinclude.C (localDispatch): ensure that
2523 params_.masterFilename_ is set before trying to generate a
2524 preview, else we trigger an assert.
2526 2003-09-16 Angus Leeming <leeming@lyx.org>
2528 * insetinclude.C (PreviewImpl::parent): return a const reference.
2530 2003-09-16 Angus Leeming <leeming@lyx.org>
2532 * insetcollapsable.[Ch]: make all member variables, except for
2535 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2536 than access labelfont directly.
2537 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2538 use InsetCollapsable::setCollapsed, isOpen rather than access
2539 collapsed_ directly.
2541 * insetminipage.C (metrics):
2542 * insetnote.C (metrics):
2543 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2544 access collapsed_ directly.
2546 2003-09-16 Angus Leeming <leeming@lyx.org>
2548 * insetbibitem.C: add #include "lyxfont.h".
2550 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2553 * insetbibtex.C: use namespace alias for lyx::support::os
2555 2003-09-16 Angus Leeming <leeming@lyx.org>
2557 * insetcollapsable.h: remove unused framecolor variable.
2558 Remove #include "LColor.h".
2560 * insetcollapsable.C: remove unused framecolor variable.
2563 * insetcollapsable.C:
2571 Add #include "LColor.h".
2573 2003-09-16 Angus Leeming <leeming@lyx.org>
2575 * insettext.[Ch] (frameColor): new accessor function.
2576 (frame_color_): stored as an int, allows us to remove #include
2577 "LColor.h" from insettext.h
2582 add #include "LColor.h".
2584 * insetcollapsable.h: add #include "LColor.h"
2585 (for its framecolor member variable).
2587 2003-09-16 Angus Leeming <leeming@lyx.org>
2589 * insetenv.C (constructor): use accessor functions to access
2590 InsetText variables.
2592 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2593 rename frame_color as frame_color_. Make private.
2595 * insettext.C: associated changes.
2597 2003-09-16 Angus Leeming <leeming@lyx.org>
2599 * inset.h: store background_color_ as an int, not as an
2600 LColor::color to get LColor.h out of the header file.
2603 * insetlatexaccent.C:
2606 * insetspecialchar.C:
2608 add #include "LColor.h".
2610 2003-09-16 Angus Leeming <leeming@lyx.org>
2612 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2613 cannot string calls together.
2615 2003-09-15 Angus Leeming <leeming@lyx.org>
2617 * inset.[Ch] (setBackgroundColor, backgroundColor):
2618 * insettext.[Ch] (setFrameColor):
2619 pass EnumLColor args, rather than LColor::color ones.
2621 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * insetwrap.C: remove usage of STRCONV
2633 2003-09-15 Angus Leeming <leeming@lyx.org>
2635 * renderers.C (draw):
2636 * insetlatexaccent.C (draw): explicitly define the color passed to
2639 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2641 * insettext.C: remove block causing problems in lockInsetInInset
2642 (mentioned erroneously under Bug #1366)
2644 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2646 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2649 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2651 * several files: change Assert to BOOST_ASSERT
2653 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2655 * insettext.[Ch]: remove drawText[XY]Offset
2657 2003-09-08 Angus Leeming <leeming@lyx.org>
2659 * insetcollapsable.C:
2664 * insetspecialchar.C:
2667 * insettoc.C: remove redundant using directives.
2669 2003-09-07 Angus Leeming <leeming@lyx.org>
2672 * insetspecialchar.h: remove #include "support/std_string.h".
2674 2003-09-06 Angus Leeming <leeming@lyx.org>
2676 * renderers.C: add #include "insets/inset.h"
2678 2003-09-05 Angus Leeming <leeming@lyx.org>
2680 * *.C: strip out redundant #includes. (193 in total.)
2682 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2684 * insets/insetbibtex.[Ch]:
2685 * insets/insetcommand.h:
2686 * insets/insetfloatlist.[Ch]:
2687 * insets/insetinclude.[Ch]:
2688 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2689 of insets like bibtex, include, toc and floatlist to the visible
2690 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2691 up the dialogs. Cursor has to be in front of the inset (i.e.
2692 start of row) for this to function.
2694 2003-09-04 Angus Leeming <leeming@lyx.org>
2696 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2697 structure outside of the Format struct. Format::preambleName refers to
2698 an item in the map of all preamble snippets.
2699 Make use of the new Debug::EXTERNAL flag.
2701 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2702 (validate): Small change due to the changed storage of preamble
2705 2003-09-04 Angus Leeming <leeming@lyx.org>
2707 * insetgraphics.C: #include "support/os.h"
2709 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2710 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2711 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2713 * insetcollapsable.h:
2715 * insetnote.C: move #include "funcrequest.h" out of the header file.
2717 2003-09-03 Angus Leeming <leeming@lyx.org>
2719 * insetexternal.C (updateExternal):
2720 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2723 2003-09-03 Angus Leeming <leeming@lyx.org>
2725 * insetexternal.C: don't bring namespace lyx::support into the global
2728 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2730 * insetbranch.C: Add Branch: to label
2732 2003-09-02 John Levon <levon@movementarian.org>
2735 * insettext.C: remove cursor.i[xy]()
2737 2003-08-28 Angus Leeming <leeming@lyx.org>
2739 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2740 "sh ", enabling the conversion to be carried out even if the script
2743 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * most files: change to use const Buffer refs
2747 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2749 * insetfootlike.C: whitespace.
2751 2003-08-26 John Levon <levon@movementarian.org>
2755 * insetindex.h: remove remaining mentions of needFullRow()
2757 2003-08-26 André Pönitz <poenitz@gmx.net>
2763 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2765 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2767 * insetbranch.C: Small fix to prevent a crash on loading.
2769 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2774 * insetcollapsable.h:
2776 * insetfloatlist.[Ch]:
2777 * insetfootlike.[Ch]:
2778 * insetinclude.[Ch]:
2784 * insettheorem.[Ch]:
2785 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2786 altogether, putting the logic in metrics/draw in the insets.=20
2787 Draws short single row insets with more or less realistic metrics.
2789 2003-08-19 André Pönitz <poenitz@gmx.net>
2791 * insettext.C: use new RowPainter interface
2793 2003-08-18 John Levon <levon@movementarian.org>
2795 * insetref.C: require amsmath for eqref
2797 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2801 * insetbranch.[Ch]: implements the 'branch inset'
2802 idea. This allows the output of various versions of a document
2803 from a single source version, selectively outputing or suppressing
2804 output of parts of the text.
2805 This implementation contains a 'branch list editor' in a separate
2806 tab of the document settings dialog. Branches are user definable
2807 and have a "display colour" to distinguish them on-screen.
2809 ColorHandler was somewhat cleaned up.
2810 (1) make possible a dynamically growing LColor list by allowing
2811 the graphic context cache to grow along (vector);
2812 (2) eliminate an IMHO unnecessary step in colour allocation.
2814 2003-08-15 André Pönitz <poenitz@gmx.net>
2816 * insettext.[Ch]: adjust after rowlist split
2818 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2820 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2821 rename valign-center to valign-middle;
2822 rename VALIGN_CENTER to VALIGN_MIDDLE
2824 2003-08-11 André Pönitz <poenitz@gmx.net>
2826 * inset.h: remove resizeLyXText
2829 * insetcollapsable.[Ch]:
2831 * insettabular.[Ch]: adjust
2833 * insettext.[Ch]: remove saveLyXTextState,
2834 restoreLyXTextStat, sstate, reinitLyXText
2836 2003-08-07 André Pönitz <poenitz@gmx.net>
2838 * inset.[Ch]: move non-crucial functions out-of-line
2840 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2841 remove duplicated code.
2843 2003-08-05 André Pönitz <poenitz@gmx.net>
2846 * insetcollapsable.[Ch]:
2856 * insettabular.[Ch]:
2859 * updatableinset.[Ch]: rip out "deep update"
2861 * insettext.C (localDispatch): merge cases with default branch
2863 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2865 * insettabular.[Ch] (updateLocal): simplify logic
2867 2003-08-04 André Pönitz <poenitz@gmx.net>
2869 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2870 is 'FULL' all the time.
2872 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2874 * insetert.C (get_new_label): only add ... to the (closed) label
2875 when the string has been shortened
2877 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2879 * Always use std::endl with lyxerr
2881 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2883 * insetnote.C: update \author list
2885 2003-07-31 André Pönitz <poenitz@gmx.net>
2887 * insetcollapsable.h:
2888 * insettabular.[Ch]:
2889 * insettext.[Ch]: remove toggleSelection
2891 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2893 (with help from Juergen Spitzmueller)
2894 * insetnote.C: add add i18n support. Use Prefs-definable
2895 colours for Comment and Greyedout.
2897 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2899 * insetcollapsable.[Ch]:
2901 * insetert.C: factor out the detection of clicking on the inset
2902 button as 'hitButton'. John Levon contributed.
2904 2003-07-30 André Pönitz <poenitz@gmx.net>
2906 * insetcollapsable.C:
2908 * insettabular.C: parantheses, localize vars etc.
2910 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2912 * insetnote.C: Implement a newenvironment in preamble for
2913 greyedout. Patch provided by Jürgen Spitzmüller.
2915 2003-07-29 Angus Leeming <leeming@lyx.org>
2917 * insetcommand.C (localDispatch): default to
2918 InsetOld::localDispatch.
2920 * insetbibitem.C (localDispatch):
2921 * insetbibtex.C (localDispatch): remove call to
2922 ChangeCitationsIfUnique.
2924 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2926 * insetexternal.C (read): use pushpophelper.
2928 2003-07-28 José Matos <jamatos@lyx.org>
2930 * insetext.C (read): \end_document replaces \the_end.
2932 2003-07-28 José Matos <jamatos@fep.up.pt>
2934 * insetert.C (write): \layout -> \begin_layout.
2935 Add missing \end_layout.
2937 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * insetquotes.C: document a bit the format
2941 * insettabular.C (write): remove extra space
2943 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2944 * insetnote.C: Umpf. Hope I *now* get it right :-(
2946 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2947 *insetnote.C: did the right fix to greyedout: \color
2948 instead of \textcolor.
2950 2003-07-28 Angus Leeming <leeming@lyx.org>
2952 * insetbibtex.h: remove extraneous forward declaration.
2955 * insetbibtex.h: Also remove long-dead Holder member class
2958 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2960 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2963 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * insetwrap.C (addToToc): adjust for lyx::toc
2967 * insetfloatlist.C (ascii): adjust for lyx::toc
2969 * insetfloat.C (addToToc): adjust for lyx::toc
2971 2003-07-27 José Matos <jamatos@fep.up.pt>
2973 * insetnote.h (linuxdoc,docbook): update support.
2975 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2977 * insetfloat.C (wide): add a space to label, for consistency
2979 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2981 * insettext.C (nextChange): adjust for lyx::find
2982 (searchForward): ditto
2983 (searchBackward): ditto
2985 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * insetgraphicsParams.C:
2988 * insetexternal.C: declare extern displayTranslator
2991 * renderers.C: add #include "support/LAssert.h"
2993 2003-07-27 José Matos <jamatos@fep.up.pt>
2995 * insetfloat.[Ch] (linuxdoc):
2996 * insetgraphics.C (linuxdoc):
2997 * insettabular.C (linuxdoc):
2998 * insettext.[Ch] (linuxdoc): add support for tables and figures
3001 2003-07-27 José Matos <jamatos@fep.up.pt>
3003 * insetinclude (latex): comply with makeLaTeXFile argument change.
3005 2003-07-26 Asger Alstrup <alstrup@local>
3007 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3008 the undo crashes. We'll see what problems other places this will
3011 2003-07-26 Angus Leeming <leeming@lyx.org>
3013 * insetgraphics.C: remove unused declaration of system_tempdir.
3015 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * rename Inset to InsetOld
3019 * all inset files (clone): return a auto_ptr<InsetBase>
3021 2003-07-23 Angus Leeming <leeming@lyx.org>
3023 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3025 2003-07-23 Angus Leeming <leeming@lyx.org>
3027 * mailinset.[Ch] (inset2string):
3028 * insetcommand.[Ch] (inset2string):
3029 * insetert.[Ch] (inset2string):
3030 * insetexternal.[Ch] (inset2string):
3031 * insetfloat.[Ch] (inset2string):
3032 * insetgraphics.[Ch] (inset2string):
3033 * insetinclude.[Ch] (inset2string):
3034 * insetminipage.[Ch] (inset2string):
3035 * insetnote.[Ch] (inset2string):
3036 * insettabular.[Ch] (inset2string):
3037 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3039 * insetexternal.[Ch]:
3040 * insetgraphics.[Ch]: get rid of the view() function. Associated
3041 changes to the mailers' string2params and params2string functions.
3043 2003-07-23 Angus Leeming <leeming@lyx.org>
3045 * insetexternal.[Ch]: store the external file name in a FileName
3046 member variable rather than a string + associated changes.
3048 2003-07-21 Angus Leeming <leeming@lyx.org>
3050 * insetgraphicsParams.[Ch]: store the graphics file name in
3051 a FileName member variable rather than a string.
3053 * insetgraphics.[Ch]:
3054 * insetgraphicsParams.[Ch]: Associated changes.
3056 2003-07-21 Angus Leeming <leeming@lyx.org>
3058 * insetgraphics.[Ch] (string2params, params2string): passed a
3059 buffer_path argument.
3062 2003-07-21 Angus Leeming <leeming@lyx.org>
3065 * insetgraphicsParams.[Ch]:
3067 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3069 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3071 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3073 2003-07-18 André Pönitz <poenitz@gmx.net>
3076 * insetminipage.[Ch]:
3077 * insettabular.[Ch]:
3080 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3082 2003-07-18 André Pönitz <poenitz@gmx.net>
3086 * insetcollapsable.C:
3090 * insetgraphics.[Ch]:
3091 * insetlatexaccent.[Ch]:
3096 * insetspecialchar.C:
3097 * insettabular.[Ch]:
3099 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3101 2003-07-17 André Pönitz <poenitz@gmx.net>
3103 * insetcollapsable.C:
3105 * insettext.C: don't call Inset::update() anymore
3108 * insettabular.[Ch]: remove unneeded in_update_ members
3110 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3112 2003-07-16 André Pönitz <poenitz@gmx.net>
3114 * insettext.C (selectAll): remove
3116 2003-07-16 John Levon <levon@movementarian.org>
3119 * insetnote.C: implement showInsetDialog()
3121 2003-07-15 André Pönitz <poenitz@gmx.net>
3124 * insettext.C: refresh_status tristate -> need_update bool
3126 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3128 * insettext.C: adjust call to LyXText::init
3130 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3132 * insettext.C: use bufferview_funcs->replaceSelection()
3133 to delete selections in some cases (bugs 441, 673, 702, 954).
3135 2003-07-14 André Pönitz <poenitz@gmx.net>
3137 * insettext.C (draw): use slimmed down rowpainter interface
3139 2003-07-14 André Pönitz <poenitz@gmx.net>
3141 * insetcollapsable.C:
3143 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3144 remove unused BufferView * argument
3146 2003-07-14 André Pönitz <poenitz@gmx.net>
3148 * insettext.[Ch]: used cached metrics a bit more
3150 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3152 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3154 2003-07-10 André Pönitz <poenitz@gmx.net>
3157 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3159 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * introduce namespace lyx::graphics
3163 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * introduce namespace lyx::support
3167 2003-06-30 André Pönitz <poenitz@gmx.net>
3169 * insetcite.C (localDispatch): fix case of missing return value
3171 * insetcite.C (ascii): remove unneeded temporary
3173 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * insetspace.h: fix \file
3177 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3178 * insetinclude.C (fillWithBibKeys): ditto
3180 * insetbibitem.C: fix type const order
3182 * inset.C (getLyXText): add varname for arg
3184 * ExternalTemplate.h: fix type const order
3186 2003-06-27 André Pönitz <poenitz@gmx.net>
3188 * insettext.C: take care of removed LyXCursor::row_ member
3190 * insettext.[Ch]: use new TextCursor struct for sstate
3192 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3194 * inseterror.[Ch]: removed
3196 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3198 * insetinclude.C (docbook): use parseError instead of sgmlError
3200 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3202 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3203 of BufferList::loadLyXFile
3205 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3207 * insettext.C (update): simplify
3208 (updateLocal): remove commented code
3209 (insetUnlock): simplify
3210 (lockInset): simplify
3211 (updateInsetInInset): simplify
3212 (localDispatch): simplify
3214 (resizeLyXText): simplify
3215 (collapseParagraphs): simplify
3217 * insetert.C (get_new_label): simplify
3219 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3221 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3222 pasteSelection with index
3224 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3226 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3228 2003-06-16 André Pönitz <poenitz@gmx.net>
3230 * insetbase.h: new virtual base function clone()
3232 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3233 Inset * clone() -> InsetBase * clone()
3235 2003-06-13 André Pönitz <poenitz@gmx.net>
3237 * insettabular.[Ch]: make tabular a proper member
3239 2003-06-12 André Pönitz <poenitz@gmx.net>
3241 * insettabular.[Ch]: some renaming plus whitespace
3243 2003-06-11 Angus Leeming <leeming@lyx.org>
3245 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3248 * insetbutton.[Ch]: removed.
3249 * graphicinset.[Ch]: renamed as renderers.[Ch].
3251 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3252 Create a new class ButtonRenderer using the InsetButton::metrics() and
3254 Derive both from a common RenderedInset base class.
3256 * insetcommand.[Ch]:
3257 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3258 Give it a ButtonRenderer member variable. Use it.
3259 Give the classes working copy c-tors.
3260 No longer derive from boost::noncopyable.
3262 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3263 display its contents as a button or as a graphic.
3265 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3268 2003-06-11 Angus Leeming <leeming@lyx.org>
3270 * insetcite.C (localDispatch): reformat.
3272 * insetref.C (localDispatch): enable dialog to be lauched.
3274 2003-06-11 John Levon <levon@movementarian.org>
3276 * insettabular.C: correctly mark all cells as erased
3278 2003-06-11 Angus Leeming <leeming@lyx.org>
3280 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3281 ExternalTemplate but its name, templatename. This means that a file
3282 containing a reference to an External Template not installed on the
3283 current machine will be saved retaining this info rather than inserting
3284 the first "valid" template from the list of templates.
3286 As a by product, the visual statement that the Template is missing is
3289 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3291 * insettext.C (appendParagraphs): remove some commented code.
3293 2003-06-10 Angus Leeming <leeming@lyx.org>
3295 * graphicinset.[Ch] (view): removed the publicly accessible
3296 function to set the cache.
3298 * insetexternal.[Ch]: move tempname_ into the Params struct.
3299 (Params d-tor): new function, to clean-up this temp file.
3300 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3302 (editExternal, doSubstitution): move out of class.
3304 2003-06-10 Angus Leeming <leeming@lyx.org>
3306 * graphicinset.[Ch] (params): removed.
3307 * graphicinset.h (operator=): declared private but not defined.
3308 (statusMessage): made private.
3310 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3312 2003-06-07 John Levon <levon@movementarian.org>
3314 * insetert.C (latex): make a newline mean just that not
3317 2003-06-07 José Matos <jamatos@fep.up.pt>
3319 * insethfill.[Ch] (linuxdoc, docbook): implement output
3320 * insetspace.C (linuxdoc, docbook): remove coments as the code
3323 2003-06-06 José Matos <jamatos@fep.up.pt>
3325 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3327 2003-06-06 André Pönitz <poenitz@gmx.net>
3329 * insetwrap.[Ch]: code compactification
3331 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3333 * mailinset.C (updateDialog): use Dialogs::visible
3335 2003-06-04 Angus Leeming <leeming@lyx.org>
3337 * graphicinset.C (draw): add a comment for the #if 0 block.
3339 * insetexternal.h: remove Params::parameters variable.
3341 * insetexternal.C (read, write): rewrite to output new ExternalInset
3342 format and read it back making full use of LyXLex.
3344 2003-06-04 André Pönitz <poenitz@gmx.net>
3346 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3348 2003-06-04 John Levon <levon@movementarian.org>
3350 * insettabular.C: back out tall table speed up. It was broken
3352 2003-06-03 Angus Leeming <leeming@lyx.org>
3354 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3355 Remove ViewCommand and UpdateCommand.
3357 * graphicinset.C (update): bug fix. Set the params before calling the
3360 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3361 the BufferView cache to enable the InsetExternal::editCommand to
3362 be invoked from the frontends. Would not be needed if this were
3363 dispatched properly.
3364 (old_ascent_): variable removed.
3366 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3367 do any necessary conversions of external material. Also use the
3368 new GraphicsInset to display the inset within LyX.
3370 2003-06-03 Angus Leeming <leeming@lyx.org>
3372 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3373 and move it somewhere where InsetExternal can use it too.
3375 * Makefile.am: add the new files.
3377 * insetgraphics.[Ch]: make use of the new GraphicInset.
3379 2003-06-03 John Levon <levon@movementarian.org>
3382 * insetbibitem.[Ch]:
3385 * insetcommand.[Ch]:
3389 * insetexternal.[Ch]:
3393 * insetgraphics.[Ch]:
3395 * insetinclude.[Ch]:
3398 * insetlatexaccent.[Ch]:
3399 * insetmarginal.[Ch]:
3400 * insetminipage.[Ch]:
3407 * insetspecialchar.[Ch]:
3408 * insettabular.[Ch]:
3410 * insetthereom.[Ch]:
3413 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3415 * insetgraphics.[Ch]:
3416 * insetgraphicsParams.[Ch]: always store an absolute
3419 2003-06-02 André Pönitz <poenitz@gmx.net>
3423 * insetlatexaccent.C: remove duplicated call to metrics()
3425 2003-06-02 John Levon <levon@movementarian.org>
3427 * insettabular.C: fix resize of column width
3429 2003-06-02 John Levon <levon@movementarian.org>
3434 * insetparent.C: remove insetparent
3436 2003-06-02 André Pönitz <poenitz@gmx.net>
3443 * insetcollapsable.[Ch]:
3447 * insetgraphics.[Ch]:
3448 * insetinclude.[Ch]:
3449 * insetlatexaccent.[Ch]:
3450 * insetminipage.[Ch]:
3451 * insetnewline.[Ch]:
3454 * insetspecialchar.[Ch]:
3455 * insettabular.[Ch]:
3456 * insettext.[Ch]: unify first drawing phase
3459 * insetbase.h: move validate() to the base
3461 2003-05-31 Angus Leeming <leeming@lyx.org>
3463 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3465 2003-05-30 André Pönitz <poenitz@gmx.net>
3470 * insetcaption.[Ch]:
3471 * insetcollapsable.[Ch]:
3474 * insetgraphics.[Ch]:
3475 * insetinclude.[Ch]:
3476 * insetlatexaccent.[Ch]:
3477 * insetnewline.[Ch]:
3480 * insetspecialchar.[Ch]:
3481 * insettabular.[Ch]:
3483 * updatableinset.[Ch]: unify second drawing phase
3485 2003-05-30 John Levon <levon@movementarian.org>
3487 * insetgraphics.C: fix a bformat
3489 2003-05-29 John Levon <levon@movementarian.org>
3491 * insettabular.C: remove unused bufferOwner()
3493 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3495 * insettext.C (lockInsetInInset): adjust
3496 (getLabelList): use const_iterator, adjust
3497 (getInsetFromID): use const_iterator, adjust
3498 (addPreview): use const_iterator, adjust
3500 * insetwrap.C (clone): remove const_cast
3502 * insetnote.C (clone): remove const_cast
3504 * insetminipage.C (clone): remove const_cast
3506 * insetmarginal.C (clone): remove const_cast
3508 * insetfoot.C (clone): remove const_cast
3510 * insetfloat.C (clone): remove const_cast
3512 * insetert.C (clone): remove const_cast
3514 * delete commented same_id functions from a lot of files.
3516 2003-05-28 John Levon <levon@movementarian.org>
3522 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3524 * insetminipage.C: fix metrics (bug 1144)
3526 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * insettext.C (saveLyXTextState): adjust
3529 (restoreLyXTextState): adjust
3532 (unlockInsetInInset): adjust
3533 (localDispatch): adjust
3534 (getLyXText): adjust
3536 * insettabular.C (insertAsciiString): adjust
3538 2003-05-27 André Pönitz <poenitz@gmx.net>
3541 * insetcollapsable.C:
3544 * insetlatexaccent.C:
3549 * insetspecialchar.C:
3551 * insettext.C: dim.w -> dim.wid
3553 2003-05-26 John Levon <levon@movementarian.org>
3555 * insettabular.C: avoid drawing all of a long table
3556 if it's not needed. A big speedup
3558 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * remove same_id from function signatures, adjust
3562 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * insettext.C (InsetText): adjust
3566 (setParagraphData): separate same_id cases, adjust
3567 (appendParagraphs): adjust
3568 (appendParagraphs): adjust
3570 2003-05-23 André Pönitz <poenitz@gmx.net>
3572 * insetbutton.h: whitespace
3574 * insettabular.C: more compact code
3576 * updatableinset.C: remove const_cast
3579 2003-05-23 Angus Leeming <leeming@lyx.org>
3581 * insetexternal.C (write): check how many lines are output.
3582 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3583 if the template has defined it.
3585 2003-05-23 Angus Leeming <leeming@lyx.org>
3587 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3589 2003-05-23 Angus Leeming <leeming@lyx.org>
3591 * insetfoot.C (latex):
3592 * inseturl.C (latex): rename fragile as moving_arg.
3594 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * inseterror.C (localDispatch): comment out unused var.
3598 2003-05-22 Angus Leeming <leeming@lyx.org>
3600 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3601 passed through the LatexRunParams arg.
3603 2003-05-22 Angus Leeming <leeming@lyx.org>
3605 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3606 through the LatexRunParams arg.
3608 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3609 arg rather than through a global var.
3611 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * insetspecialchar.C (dimension): use a string.
3615 2003-05-22 Angus Leeming <leeming@lyx.org>
3617 * insetbibtex.C (latex):
3618 * insetgraphics.C (latex):
3619 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3620 runparams rather than from the buffer itself.
3622 2003-05-22 Angus Leeming <leeming@lyx.org>
3624 * inset*.[Ch] (latex):
3625 passed a LatexRunParams parameter.
3627 * insetgraphics.C (latex): actually use it ;-)
3629 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3631 * insetfloat.C (addToToc): trivial compile fix
3633 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * insettext.[Ch] (paragraph): delete unused function
3637 * insetfloat.C (addToToc): parlist simplfication
3639 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3641 * insetspace.[Ch]: added (new space insets)
3643 * inset.h: handle new space insets
3645 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * insetfloat.C (addToToc): adjust
3649 2003-05-21 André Pönitz <poenitz@gmx.net>
3651 * insettext.[Ch]: fix drawing bug introduced earlier
3653 2003-05-19 André Pönitz <poenitz@gmx.net>
3655 * insetspecialchar.C: fix bug introduced yesterday
3657 2003-05-19 André Pönitz <poenitz@gmx.net>
3661 * insetcollapsable.[Ch]:
3665 * insetgraphics.[Ch]:
3666 * insetgraphicsParams.[Ch]:
3667 * insetlatexaccent.[Ch]:
3668 * insetminipage.[Ch]:
3669 * insetnewline.[Ch]:
3671 * insetspecialchar.[Ch]:
3672 * insettabular.[Ch]:
3673 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3675 2003-05-19 André Pönitz <poenitz@gmx.net>
3678 * insettext.C: more insetenv
3680 2003-05-16 André Pönitz <poenitz@gmx.net>
3683 * insetminimpage.[Ch]:
3684 * insetcollapsable.[Ch]: fix #832
3686 2003-05-16 André Pönitz <poenitz@gmx.net>
3689 * insetbibitem.[Ch]:
3693 * insetcollapsable.[Ch]:
3694 * insetcommand.[Ch]:
3697 * insetexternal.[Ch]:
3698 * insetfloatlist.[Ch]:
3699 * insetgraphics.[Ch]:
3700 * insetinclude.[Ch]:
3703 * insetlatexaccent.[Ch]:
3706 * insettabular.[Ch]:
3710 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3712 2003-05-13 André Pönitz <poenitz@gmx.net>
3715 * insetcollapsable.C:
3719 * insetwrap.C: tostr from own header
3731 * insetwrap.C: STRCONV
3734 2003-05-12 André Pönitz <poenitz@gmx.net>
3746 * insetwwrap.C: boost::format -> bformat all over the place
3748 2003-05-05 André Pönitz <poenitz@gmx.net>
3750 * insettext.h: add missing #include <map>
3752 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * insettext.C (InsetText): parlist cleanup
3757 (insetUnlock): ditto
3759 (lockInsetInInset): ditto
3763 (searchBackward): ditto
3764 (collapseParagraphs): ditto
3766 2003-05-06 John Levon <levon@movementarian.org>
3768 * insetcaption.C: don't cast wrap inset to InsetFloat
3771 * insetfloat.C: remove unneeded type() function
3773 2003-05-05 André Pönitz <poenitz@gmx.net>
3777 * insettabular.[Ch]:
3778 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3779 replace getFirstParagraph() by getParagraphs()
3781 2003-05-03 John Levon <levon@movementarian.org>
3783 * insetcollapsable.h:
3784 * insetcollapsable.C:
3790 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3791 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3792 getCursor(). Remove explicit cursor hides.
3794 2003-05-02 André Pönitz <poenitz@gmx.net>
3796 * insettext.C: remove unneeded &*
3798 2003-04-30 John Levon <levon@movementarian.org>
3800 * insettabular.C: fix edit message
3802 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * insettext.C (setFont): do not convert iterator -> pointer
3806 * insettabular.C (localDispatch): do not convert iterator -> pointer
3808 (tabularFeatures): ditto
3810 2003-04-29 André Pönitz <poenitz@gmx.net>
3812 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3814 2003-04-28 André Pönitz <poenitz@gmx.net>
3816 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3819 2003-04-25 André Pönitz <poenitz@gmx.net>
3821 * insetenv.C: derive from InsetText instead of InsetCollapsable
3823 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * insetexternal.C (string2params): dont do anything if the string
3827 * insetgraphics.C (string2params): ditto
3828 * insetcommand.C (string2params): ditto
3829 * insetert.C (string2params): ditto
3830 * insetfloat.C (string2params): ditto
3831 * insetinclude.C (string2params): ditto
3832 * insetminipage.C (string2params): ditto
3833 * insettabular.C (string2params): ditto
3834 * insetwrap.C (string2params): ditto
3836 2003-04-24 André Pönitz <poenitz@gmx.net>
3838 * insetref.C: support for eqref
3840 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * insetert.C (read): use ParagraphList::iterator.
3844 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * insetquotes.C (latex): comment some code and add warnings.
3848 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3850 * insetexternal.C (localDispatch): added a missing DISPATCHED
3852 2003-04-12 John Levon <levon@movementarian.org>
3854 * insetwrap.C (addToToc): fix a crash, conversion
3855 from while to for loop forgot to remove the explicit
3858 2003-04-10 John Levon <levon@movementarian.org>
3860 * insettabular.C (tabularFeature): make sure
3861 to update the dialog when we change something
3864 (getStatus): don't disable some lfuns (bug 939)
3866 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * insettext.C (saveLyXTextState): adjust
3869 (localDispatch): adjust
3875 * insettabular.C (localDispatch): adjust
3877 (tabularFeatures): adjust
3879 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3881 * insettabular.C (searchForward,searchBackward): fix bug 782
3883 2003-04-07 John Levon <levon@movementarian.org>
3886 * insettext.C: clear status message on inset exit
3888 2003-04-03 John Levon <levon@movementarian.org>
3890 * insetcommand.C: return dispatched on DIALOG_UPDATE
3892 2003-04-02 John Levon <levon@movementarian.org>
3894 * insettabular.C: tab lfuns renamed
3896 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * insettext.C (update): move towards ParagraphList
3899 (updateLocal): ditto
3901 (insetUnlock): ditto
3903 (lockInsetInInset): ditto
3904 (updateInsetInInset): ditto
3905 (localDispatch): ditto
3908 (resizeLyXText): ditto
3909 (searchBackward): ditto
3910 (collapseParagraphs): ditto
3913 * insetwrap.C (InsetWrap): adjust
3914 (addToToc): adjust and rewrite loop
3916 * insettext.[Ch] (paragraph): delete function
3918 * insettabular.C (moveNextCell): adjust
3919 (movePrevCell): adjust
3920 (insertAsciiString): adjust
3922 * insetfloat.C (InsetFloat): adjust
3925 * insetert.C (InsetERT): adjust
3926 (write): adjust, and rewrite loop
3927 (latex): adjust, and rewrite loop
3928 (linuxdoc): adjust, and rewrite loop
3929 (docbook): adjust, and rewrite loop
3930 (localDispatch): adjust
3931 (get_new_label): adjust
3933 2003-04-01 John Levon <levon@movementarian.org>
3935 From Alfredo Braunstein
3938 * insetbutton.C: add localDispatch()
3940 * insetcommand.C: return DISPATCHED when edit() called
3942 * insettext.C: fix bug 967
3944 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * insettext.C: adjust
3948 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * insettext.C (draw): adjust
3951 (crow): return a RowList::iterator not a Row*
3953 * insetminipage.C (localDispatch): adjust
3955 * insetert.C (localDispatch): adjust
3957 2003-03-31 John Levon <levon@movementarian.org>
3960 * insetgraphicsParams.C: use_gui moved to lyx_gui
3962 2003-03-31 John Levon <levon@movementarian.org>
3964 * insettext.C: Alert fix
3966 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * insettext.C (ascent): adjust for RowList
3971 (getLyXText): adjust
3972 (toggleSelection): adjust
3974 * insetminipage.C (localDispatch): adjust for RowList
3976 * insetert.C (localDispatch): adjust for RowList
3977 (getMaxWidth): adjust for RowList
3979 2003-03-29 John Levon <levon@movementarian.org>
3981 * insetert.C: Alert cleanup
3983 2003-03-29 John Levon <levon@movementarian.org>
3985 * insettabular.C: Alert fix
3987 2003-03-28 John Levon <levon@movementarian.org>
3989 * insetfloat.C: reset label on INSET_MODIFY
3991 2003-03-28 John Levon <levon@movementarian.org>
3993 * insetgraphicsParams.C: read subcaptionText as a whole line
3996 2003-03-28 John Levon <levon@movementarian.org>
3998 * insettext.C: remove unused prototypes
4000 2003-03-25 Angus Leeming <leeming@lyx.org>
4002 * insetbibitem.C (localDispatch): repaint the view after modifying
4003 a bibitem inset in case the maximum InsetBibitem width has changed.
4005 2003-03-25 John Levon <levon@movementarian.org>
4008 * insettabular.C: LyXText renamings
4010 2003-03-24 John Levon <levon@movementarian.org>
4012 * insettext.C: remove some dead code. Fix bug 972 and
4013 related by posting a repaint in updateLocal(), and making
4014 the SEL functions set SELECTION.
4016 2003-03-22 John Levon <levon@movementarian.org>
4019 * inset.C: remove no-longer-needed topx_set
4021 * insetcollapsable.h:
4022 * insetcollapsable.C: remove dead code
4025 * insetert.C: rebreak the rows when a possible
4026 change in size is made, and reset the cursor
4029 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4031 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4032 topx_set. Fix drawing errors for clearInset(). Remove
4033 some unnecessary uses of topx, which should die.
4035 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4036 is no longer needed. Replace it with an ugly hack.
4038 2003-03-20 John Levon <levon@movementarian.org>
4041 * insetcollapsable.h:
4042 * insetcollapsable.C:
4050 * insettext.C: remove spurious font parameter
4051 from update(). Fix drawing of ERT insets inside
4052 insets (bug 966). Remove unused mark_dirty from
4053 tabular's updateLocal()
4055 2003-03-19 John Levon <levon@movementarian.org>
4064 * insetwrap.C: remove unused getter/setters
4066 2003-03-19 John Levon <levon@movementarian.org>
4068 * several files: bv->updateInset() doesn't take
4069 a bool mark_dirty any more
4071 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * adjust for BufferView* arg removal from lyxtext.
4075 2003-03-17 John Levon <levon@movementarian.org>
4077 * most files: remove the "cleared" parameter
4078 to draw in favour of always clearing. Associated
4081 2003-03-16 John Levon <levon@movementarian.org>
4083 * insettext.C: remove unused s.refresh
4085 2003-03-13 Angus Leeming <leeming@lyx.org>
4087 * insettext.C (edit): replace Dialogs::updateParagraph with
4088 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4090 2003-03-13 André Pönitz <poenitz@gmx.net>
4092 * Makefile.am: insert insetenv
4094 * insethenv.[Ch]: new files, currently inactive
4096 2003-03-12 John Levon <levon@movementarian.org>
4106 * insettext.C: use new insetnewline
4108 2003-03-12 John Levon <levon@movementarian.org>
4110 * insettext.C: readToken became readParagraph
4112 2003-03-12 John Levon <levon@movementarian.org>
4114 * insettext.C: use parlist iterator for reading contents
4116 2003-03-12 John Levon <levon@movementarian.org>
4118 * insettext.C: name change to readToken()
4120 2003-03-11 André Pönitz <poenitz@gmx.net>
4122 * Makefile.am: insert insethfill
4124 * insethfill.[Ch]: new files
4126 2003-03-10 Angus Leeming <leeming@lyx.org>
4128 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4130 (hideDialog): calls the new static Dialogs::hide() method.
4132 * insetbibitem.C (edit):
4133 * insetbibtex.C (edit):
4134 * insetcite.C (edit):
4135 * insetcommand.C (localDispatch):
4136 * inseterror.C (d-tor):
4137 * insetert.C (showInsetDialog):
4138 * insetexternal.C (localDispatch, edit):
4139 * insetfloat.C (localDispatch, showInsetDialog):
4140 * insetfloatlist.C (edit):
4141 * insetgraphics.C (localDispatch, edit):
4142 * insetinclude.C (localDispatch, edit):
4143 * insetindex.C (edit):
4144 * insetlabel.C (edit):
4145 * insetminipage.C (localDispatch, showInsetDialog):
4146 * insetref.C (edit):
4147 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4148 resetPos, showInsetDialog, openLayoutDialog):
4149 * insettoc.C (edit):
4150 * inseturl.C (edit):
4151 * insetwrap.C (localDispatch, showInsetDialog):
4152 changes due to the changed MailInset interface.
4154 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4156 * insetfloat.h: Set default placement to an empty string.
4158 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * insettext.C (latex): adjust call to latexParagraphs.
4162 2003-03-10 Angus Leeming <leeming@lyx.org>
4164 * mailinset.C: warn the user if the BufferView has not been cached.
4166 2003-03-10 Angus Leeming <leeming@lyx.org>
4168 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4170 * insetcommand.h (inset):
4171 * insetert.h (inset):
4172 * insetexternal.h (inset):
4173 * insetfloat.h (inset):
4174 * insetgraphics.h (inset):
4175 * insetinclude.h (inset):
4176 * insetminipage.h (inset):
4177 * insettabular.h (inset):
4178 * insetwrap.h (inset):
4179 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4181 2003-03-10 Angus Leeming <leeming@lyx.org>
4183 * insetcommand.C (string2params):
4184 * insetexternal.C (string2params):
4185 * insetfloat.C (string2params):
4186 * insetgraphics.C (string2params):
4187 * insetinclude.C (string2params):
4188 * insetminipage.C (string2params):
4189 * insettabular.C (string2params):
4190 * insetwrap.C (string2params): cure warning message about missing
4193 2003-03-09 Angus Leeming <leeming@lyx.org>
4195 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4196 it to communicate with the frontend dialogs.
4198 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4199 contents of this inset!
4201 2003-03-07 Angus Leeming <leeming@lyx.org>
4203 * inseterror.C (localDispatch): new method; calls edit() on
4206 2003-03-07 Angus Leeming <leeming@lyx.org>
4208 * insetbibitem.C (localDispatch):
4209 * insetbibtex.C (localDispatch):
4210 * insetlabel.C (localDispatch):
4211 rewrite as a switch.
4213 2003-03-07 Angus Leeming <leeming@lyx.org>
4215 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4216 it to communicate with the frontend dialogs.
4218 2003-03-07 Angus Leeming <leeming@lyx.org>
4220 * insetexternal.C: remove operator== and operator!= for
4221 InsetExternal::Params. They were used only by the old controller
4224 2003-03-07 Angus Leeming <leeming@lyx.org>
4226 * insetcommand.C (localDispatch):
4227 * insetexternal.C (localDispatch):
4228 * insetfloat.C (localDispatch):
4229 * insetinclude.C (localDispatch):
4230 * insetminipage.C (localDispatch):
4231 * insetwrap.C (localDispatch):
4232 add LFUN_INSET_DIALOG_UPDATE to the switch.
4234 2003-03-07 Angus Leeming <leeming@lyx.org>
4236 * insetcommand.C (string2params):
4237 * insetexternal.C (string2params):
4238 * insetfloat.C (string2params):
4239 * insetinclude.C (string2params):
4240 * insetwrap.C (string2params): use LyXLeX more.
4243 * insetexternal.[Ch]:
4245 * insetinclude.[Ch]:
4246 * insetwrap.[Ch]: change Mailer::name_ to be static.
4248 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4249 it to communicate with the frontend dialogs.
4251 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4254 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4256 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * insettext.C (updateLocal): un-const function
4259 (updateLocal): adjust
4260 (collapseParagraphs): un-const function
4261 (collapseParagraphs): adjust
4263 2003-03-05 Angus Leeming <leeming@lyx.org>
4265 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4266 it to communicate with the frontend dialogs.
4268 2003-03-05 Angus Leeming <leeming@lyx.org>
4270 * insetcollapsable.C (draw): cache the BufferView.
4272 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4273 it to communicate with the frontend dialogs.
4275 2003-03-05 Angus Leeming <leeming@lyx.org>
4277 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4280 2003-03-05 Angus Leeming <leeming@lyx.org>
4282 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4284 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4285 it to communicate with the frontend dialogs.
4287 2003-03-05 Angus Leeming <leeming@lyx.org>
4289 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4290 it to communicate with the frontend dialogs.
4292 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * insettext.C (collapseParagraphs): adjust
4295 (appendParagraphs): make it take a Buffer* instead of a
4296 BufferParams& as arg.
4297 (appendParagraphs): adjust
4299 2003-03-04 Angus Leeming <leeming@lyx.org>
4301 * insetbibitem.C (localDispatch):
4302 * insetbibtex.C (localDispatch):
4303 * insetcommand.C (localDispatch):
4304 * insetert.C (localDispatch):
4305 * insetlabel.C (localDispatch):
4306 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4308 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * insettext.C (latex): adjust for ParagraphList::iterator
4312 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * insetbutton.C (view): adjust for boost 1.30.0
4315 * insetcollapsable.C (view): ditto
4316 * insetgraphics.C (statusChanged): ditto
4318 * insettext.h: move paragraphs to be public.
4320 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * insetnote.[Ch] (InsetNote): remove unused constructor
4324 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4326 * insetgraphics.C: added include "format.h"
4328 2003-02-27 Angus Leeming <leeming@lyx.org>
4330 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4333 2003-02-27 Angus Leeming <leeming@lyx.org>
4335 * insetbibitem.C (localDispatch):
4336 * insetbibtex.C (localDispatch):
4339 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4341 2003-02-26 Angus Leeming <leeming@lyx.org>
4343 * insetbibitem.[Ch] (localDispatch):
4344 * insetbibtex.[Ch] (localDispatch):
4345 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4347 * insetcommand.C (localDispatch):
4348 act only on receipt of LFUN_XYZ_APPLY.
4350 * insetert.C (localDispatch): reformat.
4351 add LFUN_XYZ_APPLY to the switch.
4353 2003-02-26 John Levon <levon@movementarian.org>
4355 * insettext.C: use RowPainter
4357 * inset.h: make helpers take const *
4359 2003-02-26 Angus Leeming <leeming@lyx.org>
4361 * insetcommand.[Ch] (localDispatch): new method.
4363 2003-02-26 Angus Leeming <leeming@lyx.org>
4365 * insetinclude.C (draw): cache the BufferView* using cache not
4366 PreviewImpl::setView
4368 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4370 * insetgraphics.C (draw)
4371 * insetinclude.C (draw): Eliminate also the other argument (owner
4372 inset inset) in the call to PreviewImage::image
4374 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4376 * insetgraphics.C (draw)
4377 * insetinclude.C (draw): Eliminate Buferview argument in call to
4380 2003-02-25 John Levon <levon@movementarian.org>
4382 * insetgraphicsParams.h:
4383 * insetgraphics.C: don't start a load process if
4384 the inset is set to NoDisplay (bug #920)
4386 2003-02-22 John Levon <levon@movementarian.org>
4389 * insetwrap.C: TocItem changed API (bug 913)
4391 2003-02-21 Angus Leeming <leeming@lyx.org>
4393 * insetcollapsable.[Ch] (cache, edit):
4394 * insetbutton.[Ch] (cache, edit): new methods to cache the
4395 BufferView in the draw method.
4397 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4398 simplify comunication between InsetCommand-derived classes and
4401 * insetbibitem.[Ch]:
4405 * insetfloatlist.[Ch]:
4409 * inseturl.[Ch]: small changes to reflect the new interface to the
4412 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4413 other, similar classes.
4415 * Makefile.am: add new files.
4417 2003-02-21 Angus Leeming <leeming@lyx.org>
4419 * updatableinset.h (setView, view): remove.
4420 * inset.h (view, cache): to be replaced by these.
4422 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4425 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4428 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4430 2003-02-21 Allan Rae <rae@lyx.org>
4432 * insetinclude.C (loadIfNeeded): ensure loading also works when
4433 child document is under version control.
4435 2003-02-17 André Pönitz <poenitz@gmx.net>
4437 * insetbib.[Ch]: Adjust access to bibkeys
4439 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4441 * insetquotes.C (dispString): remove use of acute accent for "'"
4444 2003-02-14 John Levon <levon@movementarian.org>
4446 * insettabular.C: changed method names in tabular.C
4448 2003-02-14 John Levon <levon@movementarian.org>
4452 * insetcollapsable.h:
4453 * insetcollapsable.C:
4457 * insettext.C: remove unused getParFromID()
4459 2003-02-13 John Levon <levon@movementarian.org>
4462 * insettext.C: remove unused beginningofMainBody()
4464 2003-02-08 John Levon <levon@movementarian.org>
4468 * insetcollapsable.h:
4469 * insetcollapsable.C:
4474 add nextChange(). Make allowSpellcheck() const. Add markErased().
4476 * insetert.C: ignore deleted text
4478 * insettabular.C: make sure to keep change tracking working
4481 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4486 * insettext.C: Use error messages with identical spelling and
4489 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4491 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4493 2002-12-17 Juergen Vigna <jug@lyx.org>
4495 * insettext.C (localDispatch): hopefully fixed cursor up down
4496 movement on leaving other insets.
4498 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4500 * insettext.C: fix inconsistent usage of spaces, colons,
4501 capitalization, and the like.
4503 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4505 * insetgraphics.C (prepareFile): do not remove the extension of
4506 the file name if it is not the default extension for the given
4507 format (that is, in latex output, remove extension from foo.eps,
4508 but not from foo.epsi)
4510 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4512 * insettext.C (lfunMouseRelease): hackish solution to the "double
4515 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * insetfloat.C (addToToc): use the floats name not its type
4518 * insetwrap.C (addToToc): ditto
4520 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4522 * insetnote.C (init): make label font smaller
4524 2002-12-04 John Levon <levon@movementarian.org>
4526 * insetinclude.C: ressurect setting of command name
4528 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * insetquotes.C (dispString): disambiguate insert call
4532 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * several files: ws changes
4536 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * insetquotes.C (dispString): use string::insert for prepending a
4541 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4543 * insetparent.C (getScreenLabel): use boost::format
4545 * insetgraphics.C (prepareFile): use boost::format
4548 * insetfloatlist.C (latex): use boost::format
4550 * insetcaption.C (draw): use boost::format
4552 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4554 * insettabular.C (tabularFeatures): Support for block alignment in
4555 fixed width columns.
4557 2002-11-20 Juergen Vigna <jug@sad.it>
4559 * insettabular.C (resetPos): temporary fix for endless loop in
4560 this function on a redraw.
4562 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * insettabular.C (copySelection): STRCONV
4566 * insetinclude.C (uniqueID): STRCONV
4567 (latexString): ditto
4569 * insetgraphics.C: put VersionNumber inside anon namespace
4570 (createLatexOptions): STRCONV
4572 * insetcommandparams.C: include config.h
4574 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4576 * insetgraphicsParams.C (Write): use lyx::float_equal.
4577 Write height data correctly.
4578 (Read): zero scale when reading height data.
4580 2002-10-30 John Levon <levon@movementarian.org>
4582 * insetfloat.C (addToTOC): recursively traverse all
4583 contents looking for captions (fix #568)
4585 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4587 * insetexternal.C (doSubstitution): do not try to replace
4588 environment variables, this is done when executing the command
4590 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4592 * insetexternal.C (doSubstitution): change order of substitution
4593 to work around ReplaceEnvironmentPath brokenness
4595 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4597 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4599 * insetgraphicsParams.C (init, Write): associated changes
4600 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4601 InsetGraphicsParams::scale.
4603 2002-10-21 John Levon <levon@movementarian.org>
4605 * inset.h: remove unused DISPATCH_RESULT
4607 * insettext.C: sgml open/close tag now in sgml namespace
4609 2002-10-21 Angus Leeming <leeming@lyx.org>
4611 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4612 file path subdir/fig.eps when pasting it into a buffer in a different
4615 2002-10-16 John Levon <levon@movementarian.org>
4617 * insetspecialchar.C: remove \\protected_separator parsing
4619 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4621 * insetquote.C: fix LaTeX output of quotation marks.
4623 2002-10-14 Juergen Vigna <jug@sad.it>
4625 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4626 Backspace functions which confused the Undo handling.
4628 2002-10-09 Angus Leeming <leeming@lyx.org>
4630 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4631 BufferView::dispatch that turns off this optimisation when a new inset
4634 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4635 reload the BibTeX keys.
4637 2002-10-11 André Pönitz <poenitz@gmx.net>
4639 * insettext.h: handle LFUN_PRIOR/NEXT
4641 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4643 * insetfloat.C: fix bug with float settings
4644 (document default != float default).
4646 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4648 * insetwrap.C (addToToc): New method.
4649 (InsetWrap): Set layout to caption.
4651 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4655 2002-09-16 John Levon <levon@movementarian.org>
4657 * insettabular.h: hasSelection() needs to be public
4659 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4661 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4663 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4665 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4667 2002-09-11 André Pönitz <poenitz@gmx.net>
4669 * insettabular.C: implement LFUN_WORDSEL
4671 2002-09-10 John Levon <levon@movementarian.org>
4673 * insetinclude.h: remove unused param
4675 2002-09-09 John Levon <levon@movementarian.org>
4678 * insetinclude.C: remove noload, default to input
4680 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4682 * insetgraphics.C: disfuscated use of ']' in built output string.
4684 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4688 2002-08-29 Juergen Vigna <jug@sad.it>
4690 * insettabular.C (lfunMousePress): Pay attention where you set
4691 the x/y values as they depend on which inset in the tabular is
4692 actually locked. So you surely have to reset them if you (un)lock
4695 2002-08-29 André Pönitz <poenitz@gmx.net>
4697 * insetfootlike.h: rename include guard to ALL CAPS
4699 * insettext.C: swap object and first parameter for checkInsetHit calls
4700 as this functions has moved from BufferView to LyXText
4703 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4705 * insetgraphicsParams.C: remove local displayTranslator and use
4706 the one from graphics/GraphicsTypes.h.
4708 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4710 * insetfloat.C (wide): add BufferParams parameter
4712 * insetfloatlist.C (read):
4715 * insetfloat.C (latex):
4717 * insetcaption.C (draw): use LyXTextClass::floats()
4719 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * insetoptarg.h: add std:: qualifier.
4723 2002-08-26 Juergen Vigna <jug@sad.it>
4725 * insettext.C (localDispatch): ditto.
4727 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4729 2002-08-25 John Levon <levon@movementarian.org>
4731 * inseturl.C: elide long URLs (bug 404)
4733 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4735 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4736 remove "Format Version <version_no.>" string from inset header
4739 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4741 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4742 a member of "grfx::Params" anymore.
4744 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4746 2002-08-24 John Levon <levon@movementarian.org>
4749 * insetoptarg.C: ws, pedantry ...
4751 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4753 * insettext.C (collapseParagraphs): pasteParagraph now in global
4755 (appendParagraphs): ditto
4757 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4759 * insetcite.C (latex): Remove spaces only after commmas.
4761 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * insettext.C: remove NO_COMPABILITY stuff
4765 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * insettext.C (edit): use ParagraphList iterators
4769 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4770 (bibitemWidest): ditto
4772 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * insettext.C: include <boost/bind.hpp>
4775 add using std::for_each
4776 (saveLyXTextState): use ParagraphsList::iterator
4777 (init): use for_each on paragraphlist iterators
4778 (InsetText): remove superflous setting cached_bview to 0
4779 (latex): reformat a bit
4780 (ascii): use paragraphlist iterators
4781 (validate): use for_each + boost bind
4782 (getLabelList): use paragraphlist iterators
4783 (deleteLyXText): use for_each + boost::bind
4784 (resizeLyXText): ditto
4785 (reinitLyXText): ditto
4786 (removeNewlines): use paragraphlist iterators
4787 (getParFromID): ditto
4788 (paragraph): use for_each + boost::bind
4789 (getInsetFromID): use paragraphlist iterators
4790 (getLabelList): typo fix
4792 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * insettext.C (read): assign tmp to paragraphs after return from
4795 call to parseSingleLyXformat2Token
4798 2002-08-13 Angus Leeming <leeming@lyx.org>
4816 * inseturl.C: changes due to the changed LyXView interface that
4817 now returns references to member variables not pointers.
4819 2002-08-13 Angus Leeming <leeming@lyx.org>
4822 * insetcollapsable.h:
4825 * insettext.h: forward-declare WordLangTuple
4826 (selectNextWordToSpellcheck) constify return type.
4829 * insetcollapsable.C:
4832 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4834 2002-08-12 Angus Leeming <leeming@lyx.org>
4836 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4839 2002-08-12 Juergen Vigna <jug@sad.it>
4841 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4844 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4847 (bibitemWidest): ditto
4848 * insettext.[Ch]: ditto
4850 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4854 2002-08-09 Angus Leeming <leeming@lyx.org>
4856 * insetinclude.C (latexString): remove fudge now that I've found out
4857 how to enable LaTeX to find the file using input@path.
4859 2002-08-09 John Levon <levon@movementarian.org>
4862 * insettext.C: remove unused xpos
4864 2002-08-07 Juergen Vigna <jug@lyx.org>
4866 * insettabular.C (localDispatch): make delete not put the stuff
4867 in the clipboard only do this on a cut operation.
4869 * insettext.C (localDispatch): make delete and backspace not put
4870 selected stuff to the clipboard.
4872 2002-08-07 André Pönitz <poenitz@gmx.net>
4875 * insetcollapsable.[Ch]:
4879 * insettabular.[Ch]:
4880 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4882 2002-08-06 John Levon <levon@movementarian.org>
4886 * insetcollapsable.h:
4887 * insetcollapsable.C:
4893 * insettext.C: use WordLangTuple for spellcheck
4895 2002-08-06 Angus Leeming <leeming@lyx.org>
4897 * insetinclude.C: add a monitor to the previewed image, so that the
4898 image is refreshed if the \input-ed file changes.
4900 2002-08-04 John Levon <levon@movementarian.org>
4903 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4905 2002-08-02 Angus Leeming <leeming@lyx.org>
4907 * insetcommandparams.[Ch] (preview): new methods returning and setting
4908 a new bool preview_ flag.
4909 (read): read this flag.
4910 (operator==): add flag to check.
4912 * insetinclude.C (write): output new preview() flag.
4913 (previewWanted): use this flag.
4915 2002-08-02 Angus Leeming <leeming@lyx.org>
4917 * insetcollapsable.[Ch] (addPreview):
4918 * insettabular.[Ch] (addPreview):
4919 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4920 for insets in insets.
4922 2002-08-02 Angus Leeming <leeming@lyx.org>
4924 * insetcite.C: fix typo.
4926 * insetgraphics.C: kill current_view and instead cache the BufferView
4929 * insetinclude.C: kill current_view and pass the BufferView to the
4930 PreviewedInset so that it can cache it.
4932 2002-08-01 Angus Leeming <leeming@lyx.org>
4934 * inset.h (generatePreview): renamed as addPreview.
4935 (generatePreview): new method. Allows code to be moved out of
4936 math_nestinset.C and into the new PreviewedInset class.
4938 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4939 add previews to the inset when \input-ing LaTeX.
4941 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * several files: strip,frontStrip -> trim,ltrim,rtrim
4945 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * insetbib.C (latex): modify because of strip changes
4949 * insetnote.C (InsetNote): ditto
4951 2002-07-26 Juergen Vigna <jug@sad.it>
4953 * insettabular.C (searchForward): check for lastcell if we
4954 had a locking inset.
4956 2002-07-25 Juergen Vigna <jug@sad.it>
4958 * insettabular.C (insetMotionNotify): Don't update the screen
4959 if we didn't do nothing.
4960 (searchForward): last cell was not checked.
4962 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4964 * insetfloat.C (read, write): Allow default placement
4965 (floatPlacement_ is empty).
4967 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4969 * insetminipage.h (noFontChange):
4970 * insettabular.h (noFontChange):
4971 * insetfootlike.h (noFontChange):
4972 * insetfloat.h (noFontChange): return true
4974 * inset.h (noFontChange): new method, defaulting to false
4976 2002-07-22 Herbert Voss <voss@lyx.org>
4978 * insetgraphicsParams.[Ch]: support size_type for old docs
4980 2002-07-22 Herbert Voss <voss@lyx.org>
4983 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4986 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4988 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4990 * insetlatexaccent.h: do not include "lyxlex.h"
4992 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4995 * insetlatexaccent.C:
4999 * insetbib.C: #include "lyxlex.h"
5005 * insettext.C: use BufferParams::getLyXTextClass
5008 * insetfloat.C (addToToc): new method. Add to toclist the entries
5009 corresponding to Caption layouts
5010 (InsetFloat): when creating a new float, set the layout to "Caption"
5012 2002-07-21 Herbert Voss <voss@lyx.org>
5014 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5015 image relevant part into graphics/GraphicsImgae.C
5017 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5019 * insettoc.C (ascii):
5020 * insetfloatlist.C (ascii): change to use the new Toc functions
5021 instead of stuff that was in Buffer
5023 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * insettext.C (localDispatch): BufferView::Dispatch has been
5026 renamed to BufferView::dispatch
5028 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * insetgraphicsParams.C (as_grfxParams): use the new
5031 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5032 1.2.0 patch, and I do not really know how to adapt it to the new
5033 grfx::Cache world. Angus, please could you have a look?
5035 2002-05-01 Herbert Voss <voss@lyx.org>
5037 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5039 2002-07-18 Angus Leeming <leeming@lyx.org>
5041 * insetgraphics.C: clean-up comments (from Herbert).
5042 add a new checksum variable to the cache. Use it in PrepareFile.
5043 (draw): start monitoring the file for a change.
5044 (prepareFile): re-arrange a little to avoid unnecessary steps.
5046 2002-07-17 Angus Leeming <leeming@lyx.org>
5048 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5049 a method rather than to the signal directly.
5051 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5053 * insettext.C: use view_state_changed, switchKeyMap
5055 2002-07-17 Herbert Voss <voss@perce.de>
5057 * insetgraphics.C (prepareFile): keep the extension when
5058 exporting to nice file
5060 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5062 * insetcite.C (getNatbibLabel):
5063 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5065 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5067 * insetgraphics.C: use ->isDrawable()
5069 2002-07-12 Angus Leeming <leeming@lyx.org>
5071 * insetgraphics.C: use the new smart loading capabilities of the image
5074 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5076 * insettabular.C (edit): Move into correct cell when entering a
5079 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5082 2002-07-05 Angus Leeming <leeming@lyx.org>
5084 * inset.h (generatePreview): new virtual method.
5086 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5088 * insetcommandparams.[Ch] (operator=): move out of class
5089 (operator!): move out of class
5091 2002-07-04 André Pönitz <poenitz@gmx.net>
5093 * insetcommandparams.[Ch]: new files
5095 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5097 2002-06-15 Herbert Voss <voss@perce.de>
5099 * insetgraphics.C (prepareFile): bugfix; return always
5100 files without extension
5102 2002-06-28 Angus Leeming <leeming@lyx.org>
5104 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5105 rename asGParams -> as_grfxParams.
5107 * insetgraphics.C: reflect above change.
5109 2002-06-26 Angus Leeming <leeming@lyx.org>
5111 * insetgraphics.h: use boost::scoped_ptr in preference to
5114 2002-06-26 Angus Leeming <leeming@lyx.org>
5116 * insetgraphics.C: moved the image loading stuff into a new class
5117 grfx::Loader. Simplifies this file enormously.
5119 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5121 * insetgraphicsParams.C: changes aassociated with moving
5122 grfx::DisplayType out of grfx::GParams.
5124 2002-06-26 André Pönitz <poenitz@gmx.net>
5126 * insetgraphics.C: use os::external_path where necesaary according to a
5127 patch from Claus Hentschel)
5129 2002-06-25 Angus Leeming <leeming@lyx.org>
5131 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5132 generating a pixmap once the graphics file is loaded into memory.
5133 The current_view ugliness that was in grfx::ModifiedImage has been
5134 moved here now that grfx::ModifiedImage is no more.
5136 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * insettext.C: layout as layout
5140 2002-05-28 André Pönitz <poenitz@gmx.net>
5142 * insetfloatlist.h: remove source of compiler warning
5144 * insetref.C: tiny whitespace
5146 2002-06-15 Herbert Voss <voss@perce.de>
5148 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5149 and take always convert when no userdefined converter was
5151 (latex) small changes in the lyxerr output
5153 2002-06-15 LyX Development team <lyx@rilke>
5155 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5156 mixed content. Small white spaces clean.
5158 2002-06-14 Angus Leeming <leeming@lyx.org>
5160 * inseetexternal.C: remove the using std::difftime declaration.
5162 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5164 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5166 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5168 * insetquotes.C (draw): fix drawing of double quotes
5170 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5172 * insettabular.C: s/scrollCB/scrollDocView/
5174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5176 * insettext.C: change of topCursorVisible()
5179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5182 * insettext.C: rename/change of LyXScreen
5184 2002-06-07 Angus Leeming <leeming@lyx.org>
5186 Fixes needed to compile with Compaq cxx 6.5.
5188 * insetexternal.C: all c-library variables have been moved into
5189 namespace std. Wrap using std::xyz declarations inside a #ifndef
5190 CXX_GLOBAL_CSTD block.
5192 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * insetinclude.C (uniqueID):
5195 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5196 conflicted with some AIX headers.
5198 2002-05-31 Juergen Vigna <jug@sad.it>
5200 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5204 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5206 * insetexternal.C (clone): fix () bug when using new
5207 (updateExternal): don't only look for difftime in global scope
5209 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5211 * insettabular.C: add const
5213 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5216 file name, in case there are weird characters like ',' in there.
5219 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5221 * switch from SigC signals to boost::signals.
5223 2002-05-28 André Pönitz <poenitz@gmx.net>
5225 * insets/insetgraphicsParams.[Ch]:
5226 put in inset related stuff from src/graphic
5228 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5236 * insetcollapsable.C:
5237 * insetcollapsable.h:
5265 * inseturl.h: use mouse_state. Kill insetKeyPress
5267 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5272 * insetcollapsable.C:
5275 * insetlatexaccent.C:
5277 * insetspecialchar.C:
5279 * insettext.C: name change for font metrics
5281 2002-05-24 Juergen Vigna <jug@sad.it>
5283 * insetgraphics.h: include inset.h first (for LString.h)
5285 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5287 * insettext.C: screen moved
5289 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5307 * inseturl.C: LyXView moved into frontends/
5309 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5314 * insetcollapsable.C:
5318 * insetgraphicsParams.C:
5319 * insetlatexaccent.C:
5321 * insetspecialchar.C:
5323 * insettext.C: move Painter to frontends/
5325 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5327 * insettabular.h: use more specific smart_ptr header.
5328 * insettext.h: ditto
5330 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5333 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5335 * insettext.C: clear selection on paste (bug 393)
5337 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5339 * insettext.C (latex): Honor the moving_arg argument.
5341 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * insetfoot.C (latex): if a footnote is in a title layout, then it
5344 is a \thanks. And then, its contents is a moving argument.
5346 2002-05-14 Juergen Vigna <jug@sad.it>
5348 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5351 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5353 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5354 when using options "Full author list" or "Upper case".
5356 2002-05-14 Herbert Voss <voss@perce.de>
5358 * insetgraphics.C (prepareFile): allow files with same name
5360 (readFigInset): set the flags from old figinset in the right
5362 (findTargetFormat): more comments
5364 2002-05-14 Juergen Vigna <jug@sad.it>
5366 * insettext.C (edit): tell checkAndActivateInset() that we don't
5367 have a button press.
5368 (checkAndActivateInset): if button < 0 we don't have a button press
5369 on the inset and os we won't call edit on it if it's not a Highly
5370 editable inset (then we have to enter it).
5372 2002-05-13 Juergen Vigna <jug@sad.it>
5374 * insetcollapsable.C (insetButtonRelease): returned wrong return
5377 2002-05-09 Juergen Vigna <jug@sad.it>
5379 * insetcollapsable.C (edit): first_after_edit should only be
5380 set to true if we enter this inset and it was collapsed so we
5381 open it up. This is needed to reclose it after a search/replace
5382 or spellcheck function opened it and was negative.
5384 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5386 * insetfloat.C (latex): Return correct value.
5388 2002-05-04 Herbert Voss <voss@perce.de>
5390 * InsetgraphicsParams.C (read): fix bug with WH
5392 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5394 * insetfloat.C (latex): More sensible latex output
5395 (fix the problem with endfloat).
5397 2002-05-02 José Matos <jamatos@fep.up.pt>
5399 * insetgraphics.C (validate): acess params as everyone else.
5401 2002-05-03 Juergen Vigna <jug@sad.it>
5403 * insettabular.C (fitInsetCursor): recalculate the cursor position
5406 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5408 * InsetgraphicsParams.[Ch]: whitespace.
5410 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5412 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5413 float type do not exist.
5415 2002-04-28 Herbert Voss <voss@perce.de>
5417 * insetgraphics.C (latex): fix bug with missing file-extension.
5418 LaTeX still allows a missing "eps" or "ps".
5420 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5422 * insetfloat.C (c-tor, wide): translate the name of the float.
5424 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5426 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5427 when using natbib and make it work efficiently. Must emphasise that the
5428 real work is Herbert's.
5430 2002-04-23 Herbert Voss <voss@perce.de>
5432 * insetgraphic.C (prepareFile): fix bug with overwriting and
5433 deleting an existing *.eps-file in the doc-dir
5435 2002-04-23 Juergen Vigna <jug@sad.it>
5437 * insettabular.C (drawCellSelection): fix off by 1 error.
5439 2002-04-22 Juergen Vigna <jug@sad.it>
5441 * insettabular.C (setFont): rewoke full selection if it was asked,
5442 after we changed all we had to change.
5444 * insettext.C (insetUnlock): code was uninitialized in some situations.
5446 2002-04-19 Herbert Voss <voss@perce.de>
5448 * insetgraphic.C (prepareFile): return filename without
5449 extension if we only export without compiling
5451 2002-04-19 Juergen Vigna <jug@sad.it>
5453 * insettext.C (draw): call a fullRebreak on the row where we had a
5454 change and reset the cursor and selection-cursors.
5456 * insettabular.C (insetUnlock):
5457 (insetButtonPress): call an update before setting the_locking_inset = 0
5458 as otherwise we don't repaint!
5459 (update): reset the cursor position when we changed dimensions as
5460 otherwise our cursor may be on the wrong spot.
5462 2002-04-18 Juergen Vigna <jug@sad.it>
5464 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5465 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5466 redraw otherwise we won't redraw.
5468 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5469 not really right before, but I only discovered this with the last
5470 changes to Page up/down.
5472 2002-04-17 Juergen Vigna <jug@sad.it>
5474 * insettext.C (checkAndActivateInset): simplified as we now have the
5475 edit(bv, bool) call.
5477 * insettext.h: changed behind variables to front variables to be
5478 equal to the one in the edit call (as it is for that they are used).
5480 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5482 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5483 not output anything at all!
5485 2002-04-16 Juergen Vigna <jug@sad.it>
5487 * insettabular.C (insetButtonPress):
5488 (insetUnlock): call a redraw on unlocking the cell inset.
5490 * insettext.C (insetButtonPress): same as below.
5491 (lockInset): new function to set initial values when inset should
5493 (insetButtonPress): use above function.
5494 (insetUnlock): don't force a repaint only set the updateStatus. The
5495 outside world should repaint if it thinks it should be done!
5497 * insettabular.C (insetButtonPress): init values if not set as locked
5498 as we are locked if someone presses on us and don't call the edit()
5499 call of the InsetText to lock it do it as BufferView does it!
5501 * inset.h (insetInInsetY): make func const and return an int.
5504 * insetcollapsable.C: adapt the above changed function.
5506 2002-04-15 Juergen Vigna <jug@sad.it>
5508 * insettext.C (getCursorPos): return relative position as to be able
5509 to give them directly to the edit() call.
5510 (edit): we have to set also x_fix as it is not set inside the
5511 setCursorFromCoordinates call!
5512 (insetMotionNotify): ditto.
5514 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5516 * insetbib.C (getKeys): strip leading '\t's from the line too.
5517 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5519 2002-04-12 Juergen Vigna <jug@sad.it>
5521 * insettext.h: added cix() helper function and use it where appropriate
5523 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * insetgraphics.C (prepareFile): fix bug when graphics is a
5528 2002-04-12 Juergen Vigna <jug@sad.it>
5530 * insettext.C (insertInset): remove unneeded code!
5531 (updateLocal): fitCursor() fixes.
5532 (collapseParagraphs): fix a possible problem when having a selection
5533 and collapsing the paragraphs.
5535 2002-04-08 Herbert Voss <voss@perce.de>
5537 * insetgraphic.C (write): write the rotating angle as
5538 a float as is. test only for != 0.0
5540 2002-04-11 Juergen Vigna <jug@sad.it>
5542 * insettext.C: new function ciy() and use it for setting inset_y.
5544 * insetert.C (draw): fix the x return for collapsed version.
5546 2002-04-07 Herbert Voss <voss@perce.de>
5548 * insetgraphic.C (readFigInset): fix bug with subcaption and
5551 2002-04-08 Herbert Voss <voss@lyx.org>
5553 * insetgraphicsparam.C: forgot special option and delete old
5556 2002-04-05 Juergen Vigna <jug@sad.it>
5558 * insettext.C (localDispatch): make a CURSOR update if we inserted
5561 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5563 * insetfloatlist.C (getScreenLabel):
5564 (latex): use Floating::listName
5565 (validate): new method
5567 2002-04-03 José Matos <jamatos@fep.up.pt>
5569 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5571 * insetfoot.[Ch] (docbook): added forgotten method.
5573 2002-04-03 Juergen Vigna <jug@sad.it>
5575 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5576 way as in Bufferview_pimpl.
5578 2002-04-03 Allan Rae <rae@lyx.org>
5580 * insetgraphics.C (latex): one % too many makes living on the bleeding
5581 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5583 2002-03-28 Herbert Voss <voss@lyx.org>
5585 * insetgraphic.C (latex): simplify the code for the latex
5586 output when the file doesn't exist
5588 2002-03-29 Juergen Vigna <jug@sad.it>
5590 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5593 * insettabular.C (edit): call fitCursor().
5595 * insettext.C (insetButtonPress): change behaviour of no_selection
5596 to the one in the BufferView selection_possible and fix the spurious
5597 selection bug with it.
5598 (localDispatch): revoke selection on BREAK... functions.
5600 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5602 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5604 2002-03-28 Juergen Vigna <jug@sad.it>
5606 * insettabular.C (insetAllowed): return true as default value otherwise
5607 we're not able to insert insets inside paragraphs of an not locked
5610 2002-03-27 Herbert Voss <voss@lyx.org>
5612 * insetgraphicsparam.C: change c%, p% to col%, page%
5614 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5616 * insetspecialchar.C (isLineSeparator): disable the nice code to
5617 allow linebreaks after hyphenation and menu separators.
5619 2002-03-26 Herbert Voss <voss@lyx.org>
5621 * insetgraphics.C (figinsetRead): set the right lyxview
5623 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5625 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5626 $\backslash$ and pass a "string const &" to the function.
5627 (prepareFile, latex): use Path rather than MakeAbsPath.
5629 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5631 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5632 proper fix to the graphics cache.
5633 (latex): "really" nice output if the file is not found ;-)
5635 2002-03-26 Juergen Vigna <jug@sad.it>
5637 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5638 (collapseParagraphs): fixed inserting of separator ' '
5640 * insettabular.C (insertAsciiString): only check for buffer lenght
5641 not if we have \t or \n inside the buffer as if we don't have we only
5642 have 1 cell and that's it!
5644 * insetert.C (close): don't collapse if inlined.
5646 2002-03-25 Herbert Voss <voss@lyx.org>
5648 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5649 graphics file does not exist.
5651 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5653 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5654 path when preparing export.
5656 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5657 no longer MakeRelPath.
5659 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5661 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5662 Used to determine the absolute path to the graphics file in the
5663 graphics cache and only in the graphics cache.
5664 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5665 make graphics file name absolute if it is stored as a relative path.
5667 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5668 make graphics file name absolute if it is stored as a relative path.
5670 * insettext.C (edit): emit an updateParagraph signal on entering a text
5671 inset. Needs to be emitted when leaving the inset also.
5673 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5675 * all files: ws cleanup
5677 * Makefile.am: remove ld -r stuff
5679 2002-03-21 Juergen Vigna <jug@sad.it>
5681 * insettext.C (appendParagraphs): new function added to append
5682 the paragraphs to this insets paragraphs.
5684 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5686 * Makefile.am: special rules if partial linking
5688 2002-03-19 Juergen Vigna <jug@sad.it>
5690 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5692 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5694 * insetgraphics.C: Clean up Baruch's comments a little.
5695 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5697 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5700 * insettheorem.C: wrap warnings
5702 * insetgraphics.C: improve messages, move cached_status_
5703 setting to safer place
5705 2002-03-18 Juergen Vigna <jug@sad.it>
5707 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5709 (localDispatch): ditto
5711 * insettext.C (edit): removed unneeded showCursor calls.
5712 (localDispatch): ditto.
5714 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5716 * insetgraphics.h: remove display() method.
5718 2002-03-11 Juergen Vigna <jug@sad.it>
5720 * insetgraphics.C (draw): hack to fix the redrawing bug.
5721 (draw): seems this fixes #268 (force redraw of row if we changed).
5723 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5724 this inset text (don't know why I missed this earlier).
5726 2002-03-08 Juergen Vigna <jug@sad.it>
5728 * insettabular.C (updateLocal): do a FULL update if we're not locked
5729 and only a CELL update is asked.
5731 * insettext.C (updateInsetInInset): update insets inside inset also
5732 if it isn't inside the_locking_inset.
5734 * insettabular.C (updateInsetInInset): ditto.
5736 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5738 * insetexternal.C (doSubstitution): check whether we are using a
5739 temp dir for defining $$FPath
5741 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5744 * insettext.C: remove #include "WorkArea.h".
5746 2002-03-06 Juergen Vigna <jug@sad.it>
5748 * insettext.C (draw): fixed frame redrawing.
5749 (clear): forgot to set the inset_owner of the paragraph.
5751 * insetert.C (status): pay attention the bv can be 0 here!
5752 (getMaxWidth): add the default leftMargin
5754 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5756 * insetert.C (getMaxWidth): make w unsigned int.
5758 2002-03-05 Juergen Vigna <jug@sad.it>
5760 * insetert.C (status): change behaviour of Inlined.
5761 (getMaxWidth): added for new inlined behaviour.
5763 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5765 * insetnote.h (linuxdoc, docbook): add empty methods.
5766 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5767 before being initialized.
5769 2002-03-05 Juergen Vigna <jug@sad.it>
5771 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5772 only that one in the inset. Should be enough.
5773 (updateLocal): set the selection cursor always if we don't have a
5774 selection to be sure it's set!
5776 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5778 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5780 * insettext.C (clear): a gross hack to set layout on a newly
5783 2002-03-04 Juergen Vigna <jug@sad.it>
5785 * insettabular.C (localDispatch): inserted handling of
5786 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5787 (insertAsciiString): new helper function.
5789 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5791 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5794 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5796 * insettext.C (InsetText): initalize newly created par with
5797 default layout. add bufferparams parameter
5800 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5801 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5802 * insetert.[Ch] (InsetERT): ditto
5803 * insetfloat.[Ch] (InsetFloat): ditto
5804 * insetfoot.[Ch] (InsetFoot): ditto
5805 * insetfootlike.[Ch] (InsetFootLike): ditto
5806 * insetmarginal.[Ch] (InsetMarginal): ditto
5807 * insetminipage.[Ch] (InsetMinipage): ditto
5808 * insetnote.[Ch] (InsetNote): ditto
5809 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5811 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5813 * insettext.C: layout as string
5815 * insetinclude.C: layout as string
5817 * insetert.C: layout as string
5819 * insetbib.C: layout as string
5821 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5824 * insettabular.C: remove #include "lyx_gui_misc.h".
5826 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5831 * inset.h: remove figinset, yahoo !
5833 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5835 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5836 copy c-tor and initialise member variables in the correct order.
5838 2002-02-28 Juergen Vigna <jug@sad.it>
5840 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5842 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5844 * inset.h: ... and add a better one here.
5846 * insetcommand.C (insetButtonRelease): remove that one which was a
5849 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5851 * insetcommand.C (insetButtonRelease): ... and move it here.
5853 * inseturl.h: remove insetButtonRelease from there...
5855 2002-02-26 Juergen Vigna <jug@sad.it>
5857 * inseturl.h: Added a insetButtonRelease call returning true as
5860 * insetlabel.C (edit): Fixed wrong update handling after change I
5861 leave in the wrong code for the one who wrote it to remove and have
5862 a look what he did wrong.
5864 * insettabular.C (localDispatch): force a SELECTION update if we
5865 had a selection and we passed the event down to the inset (fix #213)
5866 (localDispatch): handle font changing stuff when we have a cell
5867 selection so that the selection is not rewoked. I don't really like
5868 this fix, but it's the only way I see to do it right now.
5870 2002-02-22 Juergen Vigna <jug@sad.it>
5872 * insettext.C (insetUnlock): set the cursor to the second paragraph
5873 if available and if the first one is empty (fix #191).
5875 2002-02-20 Juergen Vigna <jug@sad.it>
5877 * insettext.C (getDrawFont): implemented this function to call the
5878 one of the owner if present as the owner normally knows what to do
5881 * insetert.C: implement getDrawFont() function and comment out all
5882 the crap for setting a special latex font inside this inset.
5883 (InsetERT): added a Lanugage parameter to this constructor.
5885 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5886 change the font for being drawn on screen (used only in InsetERT for
5889 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5890 and also above (was missing).
5891 (updateLocal): don't remove the cell selection if we have one this
5892 should be done where we really want to remove it.
5894 2002-02-20 José Matos <jamatos@fep.up.pt>
5896 * insetinclude.h: include_label made string const.
5898 * insetinclude.C (InsetInclude): moved include_label initialization.
5901 (validate): fix support for temporary directory, for docbook and
5904 * insetgraphics.h : new private member, graphic_label, that holds
5905 the entity name that defines the graphics location (SGML).
5907 * insetgraphics.C (unique_id): new function to give a unique label
5910 (validate): the file locatation is given by an entity reference.
5912 2002-02-18 Herbert Voss <voss@lyx.org>
5914 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5916 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5918 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5919 as support/systemcall.[Ch] and of class Systemcalls as class
5922 2002-02-18 José Matos <jamatos@fep.up.pt>
5924 * insetinclude.C (validate): some code only applies to latex buffers,
5925 it was made conditional.
5927 2002-02-12 Herbert Voss <voss@lyx.org>
5929 * insetgraphics.C: (prepareFile) do not check at this time
5930 if the file is present.
5932 2002-02-12 Herbert Voss <voss@lyx.org>
5934 * insetgraphics.C: latex(), return the correct newlines
5936 2002-02-13 José Matos <jamatos@fep.up.pt>
5938 * inseturl.C (docbook): escape & in url.
5940 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5942 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5943 after HYPHENATION and MENU_SEPARATOR
5945 * inset.h (isLineSeparator): new method, returns false by default.
5947 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5949 * insetert.C (status): do not update the text inset, but the ERT
5952 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5954 * insetnote.C: use notebg for background
5956 2002-02-08 Herbert Voss <voss@lyx.org>
5959 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5960 prevent LyX from unzipping when this should be handled
5961 by latex vis the graphic.cfg.
5964 2002-02-08 Herbert Voss <voss@lyx.org>
5966 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5967 exists, than return filename with extension
5969 2002-02-06 Herbert Voss <voss@lyx.org>
5971 * insetgraphic.C: prepareFile(): don't convert the file, when
5972 it's not viewed in LyX. Saves a lot of time when opening a
5975 2002-02-05 Herbert Voss <voss@lyx.org>
5978 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5979 and adding a rotate bool similiar to subcaption
5981 2002-02-04 Herbert Voss <voss@lyx.org>
5984 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5985 similiar view to the LaTeX one. Get zipped files work.
5987 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5989 * insetgraphicsParams.C (init): set display to DEFAULT.
5990 No longer #include "lyxrc.h".
5992 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5994 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5995 for now (so that the code compiles).
5997 2002-02-02 Herbert Voss <voss@lyx.org>
5999 * insetgraphic.C: delete inVariant() and some minor changes
6000 * insetgraphicsParams.[C]:
6002 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6004 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6005 interogate lyxrc.display_graphics before diaplaying the graphic.
6007 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6008 InsetGraphicsParams::DisplayType.
6010 2002-01-31 Herbert Voss <voss@lyx.org>
6012 * insetgraphic.C: (readfigInset) set display to pref-default
6014 2002-01-30 Herbert Voss <voss@lyx.org>
6016 * insetgraphic.C: get the filetyp from it's contents
6017 * insetgraphicparams.C: add token scale and lyxrc.display when
6018 creating a new inset
6020 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6022 * figinset.C: added using std::ios directive.
6024 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6026 * figinset.C (runqueue): open translation file in binary mode (for
6029 2002-01-27 Herbert Voss <voss@lyx.org>
6031 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6032 all options and to be sure that the old figinsets are correct
6034 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6035 structure and to support all lengths as LyXLength. The Parameter
6036 structure changed again, but reading of "old" 1.2 graphic insets
6039 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6041 * insetert.h (forceDefaultParagraphs): Added
6043 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6045 * insettabular.C (getMaxWidth):
6046 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6048 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6050 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6051 of LyXLength::inPixels
6053 * inset.C (latexTextWidth):
6054 * insetminipage.C (latexTextWidth): new method, which implements
6055 the equivalent of the LaTeX macro \textwidth
6057 * insetminipage.C (getMaxWidth): use latexTextWidth
6059 2002-01-18 Juergen Vigna <jug@sad.it>
6061 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6063 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6065 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6067 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6070 2002-01-17 Juergen Vigna <jug@sad.it>
6072 * insettabular.C (lockInsetInInset): same change as in insettext.
6074 * insettext.C (draw): width() function was called without setting
6075 the right top_x which could lead to wrong insetWidth setting!
6076 (lockInsetInInset): call edit instead of calling lockInset if we
6077 have to lock an inset inside!
6078 (edit): we have to also tell the inset that we have to redraw the
6079 frame on an edit call if this inset draws a frame only if locked.
6081 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6083 * insetbib.C (getFiles): uncomment Path variable.
6085 2002-01-16 Juergen Vigna <jug@sad.it>
6087 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6090 2002-01-16 Allan Rae <rae@lyx.org>
6092 * insetinclude.C (docbook): someone forgot a ";"
6094 2002-01-16 José Matos <jamatos@fep.up.pt>
6096 * figinset.C (docbook): removed a old place holder "@".
6097 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6098 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6099 ascii text version, clearly guarded inside a CDATA section.
6100 (docbook): in docbook 4, inlinegraphics is empty.
6101 * insettabular.C (linuxdoc): export the ascii version of the table
6102 inside a CDATA section.
6104 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * insetparent.C (InsetParent):
6107 * insetgraphicsParams.C (Write):
6109 * insetgraphics.C (prepareFile):
6112 * insetexternal.C (executeCommand):
6113 (doSubstitution): use Buffer::filePath
6115 * insetbib.C (getFiles): add a #warning for Angus
6117 * insetgraphics.C: Add a remark about how filenames should be
6118 considered to be relative to buffer (but absolute is still allowed)
6119 (draw): do not try to get status if lyxrc.use_gui is false
6121 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6124 * insetcollapsable.[Ch]:
6125 * insettabular.[Ch] (searchForward, searchBackward): change the
6126 bool const & params to bool.
6128 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6129 to avoid the name clash with InsetCollapsable's methods of the same
6130 names but different functionality.
6132 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6134 * insettext.C (ascii): use lyx::count rather than countChar.
6136 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6138 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6140 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6142 * insetgraphics.C (updateInset): do not try to render image if
6143 lyxrc.use_gui is false (bug #104)
6145 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6146 if file does not exist
6148 * figinset.C (browseFile): add shortcuts to directory buttons
6150 * insettext.C (updateLocal): update menubar and toolbar here too.
6152 2002-01-13 Allan Rae <rae@lyx.org>
6154 * insettabular.C (InsetTabular): Both constructors now initialise
6155 all class variables.
6157 2002-01-11 Juergen Vigna <jug@sad.it>
6159 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6161 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6163 * insettabular.C (getStatus): add forgotten brace around multiline
6166 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6168 * insetfloat.C (validate): require "float" instead of "floats".
6170 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6172 * insettabular.C (getStatus): use FuncStatus
6174 2002-01-08 Juergen Vigna <jug@sad.it>
6176 * insettabular.C (insetButtonRelease): now this should work too
6179 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6180 if the width is a percentage.
6182 * inset.h: added isChar() function and implemented this for
6183 insetspecialchar insetquotes and insetlatexaccent.
6184 added forceDefaultParagraphs() and implemented it for insettabular.
6186 2002-01-07 Juergen Vigna <jug@sad.it>
6188 * insettext.C (getLyXText): Fixed this function. An insert into the
6189 map is only done if we REALLY have a new BufferView.
6191 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6193 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6195 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6197 * insetinclude.C: fix use of FileInfo
6199 2002-01-07 Juergen Vigna <jug@sad.it>
6201 * insettabular.C (draw): fixed clearing of cell around inset.
6203 2002-01-05 Juergen Vigna <jug@sad.it>
6205 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6206 variables are updated.
6208 * insettabular.C (resetPos): set always the inset_y as it may be
6209 needed in another function.
6210 (searchBackward): don't draw while searching.
6212 2002-01-04 Juergen Vigna <jug@sad.it>
6214 * insettext.C (lockInsetInInset): forgot to set a cursor.
6216 2002-01-02 Juergen Vigna <jug@sad.it>
6218 * insettext.C (insertInset): make the correct undo informations on
6219 inserting new insets.
6221 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6223 * insettabular.C: correct single-cell select vertically
6225 2001-12-27 Juergen Vigna <jug@sad.it>
6227 * insettabular.C (ascii): export as tab-separated-values if the
6228 function was not called from export (f.ex.: clipboard).
6230 * insetcollapsable.h: added default support for ascii, linuxdoc and
6231 docbook export (the insettext is exported by default!)
6233 * insettabular.C (copySelection): suff the clipboard with the tabular
6234 data in a tab separated format, seems more naturals then with all the
6237 2001-12-24 Juergen Vigna <jug@sad.it>
6239 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6240 to check for REAL mouseMotion.
6242 2001-12-20 Juergen Vigna <jug@sad.it>
6244 * inset.C (cursor): return the owners cursor if available instead of
6245 always only the bv->text->cursor.
6247 * insettabular.C (checkLongtableSpecial): works now.
6249 2001-12-19 Juergen Vigna <jug@sad.it>
6251 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6252 this has to be always row + 1 as 0 means not selected!
6253 (checkLongtableSpecial): added
6254 (tabularFeatures): better longtable options support
6256 * insettext.C (resizeLyXText): reinit the text always also on a
6259 2001-12-18 Juergen Vigna <jug@sad.it>
6261 * insettext.C (updateInsetInInset): look if we have to autocollapse
6262 paragraps and return if the update is requested for ourself.
6264 * insetert.C (status): update the insettext not myself as that is what
6267 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6268 function only return if the update was requested with myself.
6270 * insettext.C (insetButtonPress): fixed stupid bug.
6271 (various functions): pay attention that lt is cleared BEFORE calling
6272 updateLocal() and try to use it in the right manner (don't use it
6273 if it's not really neccessary!)
6274 (collapseParagraphs): insert a blank between collapsing paragraphs
6275 if neccessary (not already there!).
6277 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6279 * insettabular.C: move includes around a bit, add a couple of
6282 * insettext.[Ch]: move includes around a bit, other ws changes and
6285 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6287 * insettext.C (insetButtonRelease): fix compile problem
6289 2001-12-17 Juergen Vigna <jug@sad.it>
6291 * insettext.C (insetButtonPress): set the selection cursor!
6292 (insetButtonPress): clear the selection (and set with that the
6293 selection.cursor) if we only hit an inset!
6295 * insetert.C (read): removed piece of compatibility code only needed
6298 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6301 * insetcollapsable.C (insetButtonRelease): changed so that it can
6302 open eventual existing popup dialogs on mousebutton==3.
6304 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6306 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6308 * inset.C (insetButtonRelease): return a bool for telling the outer
6309 world that we opened a dialog.
6311 2001-12-07 Juergen Vigna <jug@sad.it>
6313 * insettext.C (paragraph): remove the deleteing of paragraphs as
6314 it was a WRONG move!
6316 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6319 * insettabular.C: use new setSelection(). Allow
6320 selection of single cells.
6322 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6324 * insetquotes.C (latex): fix to use the local language setting at
6325 the point where the inset is inserted (different macros for
6326 different french packages)
6328 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6330 * inset.h: add par_owner_ member variable and parOwner
6333 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * insettabular.C (everywhere): adapt because widths are now real
6336 widths and not strings
6338 * insettext.C (draw): re-introduce the calls to width(), ascent()
6339 and descent() to initialize the caching variables.
6341 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6343 * insettext.C (draw):
6344 (drawFrame): use insetWidth instead of last_width
6346 * insettext.h: remove variable last_width (insetWidth is exactly
6347 the same) and last_height (computed but never used!)
6349 2001-12-10 Allan Rae <rae@lyx.org>
6351 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6353 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6355 * insettext.C (insetAllowed): add comment
6357 2001-12-05 Juergen Vigna <jug@sad.it>
6359 * insettext.C (insetAllowed): fixed for the case that we directly
6360 ask the insettext from its LyXText.
6361 (paragraph): fixed the crash when assigning the par->next() from
6362 the EmptyParagraphMechanism!
6364 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6368 * insettext.C: change "while(" to "while ("
6370 2001-12-04 Juergen Vigna <jug@sad.it>
6372 * insetert.C (edit): handle Inlined status.
6374 * insettext.C (insertInset): trying John's fix for the trailing cursor
6376 * insetert.C (insetButtonPress): added to handle inlined status
6377 (insetMotionNotify): ditto.
6379 * insettext.C (clearInset): changed Painter & in BufferView * param,
6380 to be able to call ascent,descent methods.
6382 2001-12-03 Juergen Vigna <jug@sad.it>
6384 * insettext.C (updateInsetInInset): use lt variable to forbid
6385 changes of LyXText in an update call.
6386 (updateInsetInInset): fixed updating of non locked insets!
6388 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6390 * insettabular.C: capture some more functions to prevent
6391 selection drawing problems. Bug #451274
6393 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6396 * insetgraphicsParams.C: fix inverted sense of float_equal
6398 2001-11-30 Juergen Vigna <jug@sad.it>
6400 * insettabular.C (InsetTabular): use the save_id flag to create also
6401 the tabular with the same id's.
6403 * insettext.C (setParagraphData): added a same_id function for undo
6404 to set the same paragraph id's as of the paragraph we are setting.
6406 2001-11-30 José Matos <jamatos@fep.up.pt>
6409 * insettoc.[Ch]: DocBook -> docbook.
6411 2001-11-29 André Pönitz <poenitz@gmx.net>
6414 * insettext.C: further reduction of header dependencies by using
6415 lyx::layout_type and lyx::textclass_type from support/types.h
6417 2001-11-29 Juergen Vigna <jug@sad.it>
6419 * insettext.C: inserted a reinitLyXText function everywhere I delete
6420 the paragraphs! This should fixe the crashes we had.
6421 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6422 (paragraph): set the InsetOwner() of the new paragraphs!
6424 2001-11-28 André Pönitz <poenitz@gmx.net>
6426 * insetnote.C: add pos initialization that I removed without
6429 2001-11-28 Juergen Vigna <jug@sad.it>
6431 * insettabular.C (resetPos): hack to not crash with infinite paints.
6433 * insettabular.h: insert missing function allowSpellcheck()!
6435 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6437 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6440 * insetfloatlist.C: derive from InsetCommand so gui can use it
6443 2001-11-26 André Pönitz <poenitz@gmx.net>
6447 * insetnote.C: reduce header dependencies, introduce type for
6450 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6452 * various: update for Alert.h
6454 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6456 * inset.h: fix comment
6458 * insettext.C: use par->isInset()
6460 2001-11-22 Allan Rae <rae@lyx.org>
6462 * insetcollapsable.h:
6463 * inset.h: Changes to checkInsertChar() behaviour.
6464 Now return value indicates whether chars can be inserted.
6466 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6468 * various: updated to use the new LaTeXFeatures
6470 2001-11-14 José Matos <jamatos@fep.up.pt>
6472 * insetspecialchar.C (linuxdoc):
6473 (docbook): don't give a name to a unused variable.
6475 * insettext.C (docbook): removed unused variable.
6477 2001-11-13 Herbert Voss <voss@perce.de>
6479 * insetgraphic.C: fix scale bug
6481 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6483 * inset.h (isSpace):
6484 (isLetter): new virtual methods.
6486 * insetspecialchar.C (isSpace):
6487 (isLetter): implement here.
6489 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6491 * inset.h: new inline helpers
6493 * insettext.C: use new helpers
6495 2001-11-07 José Matos <jamatos@fep.up.pt>
6497 * insettext.C (docbook): full support for paragraphs inside insettext.
6499 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6501 * insetindex.C: added header file for std::ostream.
6503 2001-11-03 José Matos <jamatos@fep.up.pt>
6505 * insetindex.C: added using std::ostream that I forgot yesterday.
6507 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6509 * insetindex.h (docbook):
6510 * insetindex.C (docbook): added support for docbook export.
6512 2001-11-02 José Matos <jamatos@fep.up.pt>
6514 * insetcaption.C(docbook): added support for docbook export.
6516 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6518 * insetexternal.C (updateExternal): Do not run update command if
6519 result file exists and is up to date.
6521 * ExternalTemplate.C (readFormat): Support the updateresult token.
6523 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6525 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6526 external_templates) to use the buffer->fileName() but only if
6527 previewing. Generating a TeX file should make FPath return
6530 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6533 * insetert.C: fix some problems
6535 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6537 * insetexternal.C (doSubstitution): Added $$FPath token
6538 to list of usable substitutions in external inset templates.
6540 2001-10-24 Juergen Vigna <jug@sad.it>
6542 * insettabular.C: use new ltType struct for setting longtable
6543 header and footers also new UNSET enums.
6545 2001-10-24 José Matos <jamatos@fep.up.pt>
6547 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6548 (docbook): If the table is not inside a float then wrap it inside
6549 <informaltable>...</informaltable>.
6551 2001-10-23 José Matos <jamatos@fep.up.pt>
6553 * insetref.C (docbook): removed / terminator to conform SGML.
6555 * insetspecialchar.C (linuxdoc):
6556 (docbook): Added support for special chars, more than ascii export.
6558 2001-10-22 Juergen Vigna <jug@sad.it>
6560 * insettext.C (checkInsertChar): added for REALLY checking the
6561 font of the inserted char in the right inset!
6563 2001-10-19 Juergen Vigna <jug@sad.it>
6565 * inset.h: added method allowSpellcheck() so that insets who do
6566 not have anything to spellcheck can tell and so they are over-jumped.
6567 Implemented for InsetText and co.
6569 2001-10-18 Juergen Vigna <jug@sad.it>
6571 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6573 2001-10-15 José Matos <jamatos@fep.up.pt>
6575 * insetert.C: allow export for docbook and linuxdoc
6577 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6579 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6581 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6583 * insetquotes.C (dispString): fix handling of latin9 quotes
6585 2001-10-03 Juergen Vigna <jug@sad.it>
6589 * insetcollapsable.C: change updateInset calls to not tell BV that
6590 we have changed status.
6592 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * insettabular.C (deletable): make const
6596 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6598 * insetert.C (latex): Fix the returned value
6600 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6602 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6603 Returns string(), so nothing in an ERT inset is spellchecked.
6605 * insetgraphics.C (draw): print the filename if not displaying the
6607 (width): make sure that the width and draw methods are consistent.
6608 (updateInset): don't even load the image into cache if not displaying
6611 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6613 * various files (selectNextWord): renamed as
6614 selectNextWordToSpellcheck.
6616 * insetgraphics.C (draw): remove the previous change. Right place
6617 is in imageLoaderXPM.C.
6618 (draw): don't display the image if params.display == NONE.
6620 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6622 * figinset.C (runqueue):
6623 * insetgraphics.C (draw): set background colour of inset from
6624 background to the user-configurable graphicsbg.
6626 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6628 * insetquotes.C (InsetQuotes): when trying to decide the side of
6629 the quote, choose `left' only after a space or '('
6631 2001-09-04 José Matos <jamatos@fep.up.pt>
6636 * insetcollapsable.h
6654 * insetlatexaccent.C
6655 * insetlatexaccent.h
6660 * insetspecialchar.C
6661 * insetspecialchar.h
6665 * insettext.C (docbook): rename docBook method to docbook.
6667 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6669 * inset.h (getFirstParagraph): New virtual method.
6671 2001-08-20 Herbert Voss <voss@perce.de>
6672 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6673 in the the bibtex-database-gui for inserting a line
6676 If no style is given than there is no tex-output.
6678 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6680 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6684 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6686 * insetert.C (latex): Fix output for multiple paragraphs.
6687 (write): New code for writing paragraph data.
6688 (read): Set font after reading the inset.
6689 (localDispatch): Call set_latex_font() for more cases.
6691 * insetnote.h: Add empty validate method.
6694 * insetnote.C (InsetNote): Set language to the language of the
6697 2001-08-16 Juergen Vigna <jug@sad.it>
6699 * insettext.C: implemented the new FINISHED states.
6701 * insettabular.C: ditto
6703 * inset.h: added more FINISHED states for cursor right,up,down
6705 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6707 * insetfloatlist.C: use "FloatName List"
6709 2001-08-14 Juergen Vigna <jug@sad.it>
6711 * insetert.C (edit): forgot to set status_ in edit calls!
6713 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6715 * insettext.C: Compilation fix
6717 2001-08-13 Juergen Vigna <jug@sad.it>
6719 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6721 * insetcollapsable.C (edit): don't recollapse an already open inset.
6723 * insettext.C: fixed problem when reinitializing LyXText by not doing
6724 it while lt is in use and post this to the next possible time in
6726 (searchForward): fixed not unlocking of inset if nothing found.
6727 (edit): set cursor behind right (was set -1 pos).
6729 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6731 * insettabular.C (tabularFeatures): fixed fix where deleting the
6732 last row didn't get the right actcell!
6734 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6736 * insettext.C (localDispatch): Change language only when the inset
6739 2001-08-10 Juergen Vigna <jug@sad.it>
6741 * insettabular.C (selectNextWordInt): use the front using edit call.
6743 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6744 the parameter overwrite class variable inset.
6746 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6748 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6749 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6751 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6752 update only for fixed with cells.
6753 (resetPos): try to fix the lockup on spellchecking or s&r.
6755 * insettext.C (update): comment this out as it seems first wrong
6756 and second not needed anymore!
6757 (some functions): call reinitLyXText() only in update() in all other
6758 positions set only need_update = INIT.
6760 2001-08-08 Juergen Vigna <jug@sad.it>
6762 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6764 * insettext.C (insetUnlock): remove double-space on inset unlock.
6766 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6768 * insettabular.C (update): fixed cursor positon after an insert.
6769 (insetAllowed): do not allow to insert insets when not inside the
6771 (draw): clear below an inset too as it could have changed height.
6773 * inset.C (getMaxWidth): fixed width for inset in inset.
6775 * insettext.C (update): small fix.
6777 * insettabular.C (tabularFeatures): added selection support to
6778 DELETE_ROW/DELETE_COLUMN.
6780 2001-08-07 Juergen Vigna <jug@sad.it>
6782 * inset.C (getMaxWidth): recoded and all it's implementations!
6784 * insettext.C (init,setParagraph+constructors): cleanups
6785 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6786 are new and I want do a save/restore of the cursor position which is
6787 not possible anymore.
6789 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6790 (searchBackward): ditto
6791 (selectNextWord): ditto
6793 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6795 * insetlatexaccent.C (checkContents): Add some debug messages
6797 2001-08-07 Juergen Vigna <jug@sad.it>
6799 * insetert.C (read): don't use InsetCollapsable::read as we don't
6800 write the collapsed status anymore only the status.
6803 2001-08-06 Juergen Vigna <jug@sad.it>
6805 * insetert.C (set_latex_font): use LyXText's setFont directly.
6807 * insettext.C (drawFrame): fixed one time more the right position
6808 and size of the frame!
6810 * insetert.C (~InsetERT): hide the dialog.
6811 (showInsetDialog): added implementation
6814 (status): new function for the status of the ERT inset (3-state).
6815 (write): output also the status of the inset for readback!
6816 (read): readback the status if available otherwise use collapsed_.
6818 * insettext.C (edit): small fix of setting the position, which could
6821 * insetert.C (width): implement this function for inlined viewing.
6822 Added minimum width of 10 pixels!
6824 * insetminipage.C (InsetMinipage): just change the colors a bit so
6825 that border/background is a bit more visible. We will remove this
6828 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6829 function for getting the important widths for drawing in various
6830 functions and in LyXText.
6831 (draw): fixed up a bit (frame drawing/clearing)
6833 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6835 * inset.C (convertFont): delete method. not used.
6837 2001-08-03 Juergen Vigna <jug@sad.it>
6839 * insettext.C (setFont): don't call for a draw update if we're just
6840 changing the cursor font!
6842 2001-08-02 Juergen Vigna <jug@sad.it>
6844 * insettext.C (draw): clear the background with the right color if
6845 needed. Update myself if x&max-width changed and return without doing
6846 anything. Let the update code handle the right stuff.
6848 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6849 inside another inset.
6851 2001-08-01 Juergen Vigna <jug@sad.it>
6853 * insetcollapsable.C (update): added an in_update bool so we avoid
6856 * insettabular.C (update): added an in_update bool so we avoid
6859 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6861 (update): added an in_update bool so we avoid reentering.
6863 * insettabular.C (localDispatch): clear col/row selection when doing
6864 something else inside an inset.
6866 * insettext.C (getLyXText): fixed bug when requesting a recursive
6869 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6871 * insetcite.C (latex): Paranoia check. Make sure that there is no
6872 whitespace between the citation keys.
6874 2001-07-31 Juergen Vigna <jug@sad.it>
6876 * inset.h (nodraw): make the set function also const so that this
6877 can be called from inside other const functions.
6879 * insetcollapsable.h: removed inline variable and moved it over
6880 to the only user InsetERT.
6882 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6883 inset opening immediately therein lying insets dialogs!
6885 * insetert.C (localDispatch): set the font also if we don't have any
6886 chars in this paragraph, otherwise if we delete all of em and start
6887 writing we have the wrong font.
6889 (draw): implemented for inline support
6890 (insetButtonRelease): ditto.
6892 2001-07-30 Juergen Vigna <jug@sad.it>
6894 * insettext.C (reinitLyXText): new function to reinit the insets
6895 text after lot's of paragraph changes. Use this instead of the
6896 cache.clear() which is VERY dangerous.
6898 * insetfloat.C (insetButtonRelease): we should only show the dialog
6899 if we press on the label otherwise we have problems to open mouse
6900 button 3 dialogs inside this float (f.ex. of a tabular!)
6902 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6904 * insetert.C: change back to "ERT"
6906 * insetfloat.C: handliign of RMB on label added.
6908 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6910 * insetgraphicsParams.C: #include LOstream.h here.
6912 * insetfoot.h: remove InsetFoot:: qualifier.
6914 2001-07-29 Baruch Even <baruch@lyx.org>
6916 * ChangeLog: Hiding time travel evidence.
6918 * insetgraphicsParams.h:
6919 * insetgraphicsParams.C:
6920 * insetgraphics.C: Added horizontal scale option, it actually
6921 scales both directions since it keeps image proportions.
6923 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6925 2001-07-29 Baruch Even <baruch@lyx.org>
6927 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6928 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6930 HACKY! Will need to add an EPS detection routine like old InsetFig
6933 2001-07-29 Baruch Even <baruch@lyx.org>
6935 * insetgraphics.C: Added EPSI to be an alias of EPS.
6937 2001-07-29 Baruch Even <baruch@lyx.org>
6939 * insetgraphics.C: Change GRAPHICS to Graphics.
6940 Changed image conversion rules (documented at the beginning of file).
6942 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6944 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6947 * insetgraphics.C: added a using std::endl directive.
6949 * insetcommand.h (getScreenLabel): removed pure virtual function,
6950 as it duplicates that in InsetButton.
6952 * insetbib.[Ch] (getScreenLabel):
6953 * insetbutton.[Ch] (getScreenLabel):
6954 * insetcite.[Ch] (getScreenLabel):
6955 * insetert.[Ch] (getScreenLabel):
6956 * insetexternal.[Ch] (getScreenLabel):
6957 * insetfloatlist.[Ch] (getScreenLabel):
6958 * insetinclude.[Ch] (getScreenLabel):
6959 * insetindex.[Ch] (getScreenLabel):
6960 * insetlabel.h (getScreenLabel):
6961 * insetparent.[Ch] (getScreenLabel):
6962 * insetref.[Ch] (getScreenLabel):
6963 * insettoc.[Ch] (getScreenLabel):
6964 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6966 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6968 (validate): remove check on "cite" when using natbib.
6970 2001-07-26 Baruch Even <baruch@lyx.org>
6972 * insetgraphics.C (draw): changed casting to be in one place
6973 rather than all over the function.
6976 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6978 * insetgraphicsParams.h:
6979 * insetgraphicsParams.C:
6980 * insetgraphics.C: Removed inline option and changed rotateAngle
6983 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6985 * insetfoot.C (validate): Added method to ensure that the
6986 right bit of LaTeX is emitted.
6988 * insetfoot.h: Added validate method to set the correct
6989 LaTeXFeatures bit for the special footnote code.
6991 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6993 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6996 2001-07-27 Juergen Vigna <jug@sad.it>
6998 * inset.h: remove unused font variable in parameter.
6999 removed checkInsertChar in UpdatableInset as it was equal to
7000 the one in Inset and so not needed.
7002 * insetert.C (checkInsertChar): implementation of function
7005 * inset.h: added new function checkInsertChar.
7007 * various files: added c-tor and clone() function.
7009 * insetcollapsable.h: removed clone function here as this should
7010 be only realized in REAL insets and added it to all collapsable
7011 insets! (with the copy-constructor).
7013 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7015 * insetminipage.C (read): handle missing parameters more gracefully
7017 * insetcollapsable.C (read): handel missing collapsed more gracefully
7019 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * insetfloat.C (read): handle missing parameters.
7023 * insettext.C (read): handle old latex end_inset
7025 * insetert.C (setButtonLabel): new method
7026 (init): use it, to set the dynamic label correctly
7029 * Makefile.am (EXTRA_DIST): add files that is not part or the
7032 * insetcollapsable.h: remove autocollapsable (no users), remove
7033 draw_label, change_label_with_text and companion code. Remove args
7035 * insetert.[Ch]: move here instead (only user)
7037 * inset.h: rename private variable name to name_, make
7038 selectNextWord return a const string. make getInsetName return a
7039 string const &. Remove bool from open, add close.
7041 * Makefile.am: don't compile insetlist, insetsection
7044 2001-07-24 Juergen Vigna <jug@sad.it>
7046 * insetert.C (InsetERT): put init after the paragraph initialization,
7047 as otherwise we don't set the draw_label right.
7049 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7050 insets with the mouse without having strange selections.
7051 (edit): if the inset was collapsed and we open it here then put the
7052 cursor always at the beginning of the inset.
7053 (get_new_label): 15 instead of 10 max chars in the label.
7055 * insetert.C (localDispatch): added and handle various stuff we
7056 need to handle here (font setting on paragraph break, not permitted
7057 layout setting, etc.).
7059 * inset.h: added default copy-consturctor and implemented this in
7060 various insets with the change to use this in the clone function!
7062 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7064 * insetminipage.C (InsetMinipage): set background color to red :)
7066 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7068 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7069 draw frame mode is LOCKED.
7071 * insetcollapsable.C (edit):
7072 (insetButtonRelease): set update status to full when
7075 * insettext.C (clearInset):
7076 * insettabular.C (draw):
7077 * insetlatexaccent.C (draw): honor background color.
7079 * inset.h: new member background_color_, initialized to
7082 * inset.C (backgroundColor): new method.
7083 (setBackgroundColor): new method.
7085 * insetert.C (init): new method, called by the ctors.
7086 (InsetERT): when inserting contents, make sure the font is
7089 * insetnote.C (InsetNote): when inserting content, remove trailing
7091 (init): set background color to LColor::note
7093 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * insetcollapsable.C: adjust
7097 * insetbutton.C: adjust
7099 2001-07-23 Juergen Vigna <jug@sad.it>
7101 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7102 parameter on the _collapsed function (was not needed) and call
7103 always width_collapsed().
7105 * insetert.C (InsetERT): use setLabel with "true" flag.
7107 * insetcollapsable.C: modified various functions to set the draw_label
7108 string right in any condition.
7109 (setLabel): added a bool parameter to set change_label_with_text.
7111 * insetcollapsable.h: added draw_label string which is set to the
7112 actual drawn label-string, while label is the original static label
7113 of this collapsable inset. Added bool change_label_with_text to set
7114 if we want that the label changes to the start of the InsetText's
7115 text when collabpsed. You can set this flag with the setLabel funciton.
7116 Added bool inlined for inlined collapsable insets, but not handled
7119 * insetcollapsable.C (get_new_label): added should get a new label
7120 from the InsetText beginning (for now 10 chars).
7122 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7124 * insetquotes.C (latex): fix the handling of french double quotes
7125 when not using the french pachage.
7127 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7129 * insetcollapsable.h: make WidthCollapsed mutable.
7131 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7132 InsetPrintIndex returns INDEX_PRINT_CODE.
7134 * inset.h: add INDEX_PRINT_CODE
7136 * insetcollapsable.C (draw): init widthCollapsed if necessary
7139 * insetquotes.C (width): use the local language, not the document
7142 (dispString): add additional spacing for all french languages,
7144 (validate): make it work when there is no default language
7146 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7148 * insetnote.C (init): new method, called by the constructors
7149 (InsetNote): new constructor with contents passed as a string
7151 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7153 * insetfootlike.C (insetAllowed): disallow float in footlike.
7155 * insetert.C (InsetERT): add collapsed argument to the constrctor
7158 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * insetindex.h: shut off warning
7162 2001-07-20 Juergen Vigna <jug@sad.it>
7164 * insetcollapsable.C (update): recoded hopefully works now!
7166 2001-07-19 Juergen Vigna <jug@sad.it>
7168 * most files: implemented the below new introduced function.
7170 * inset.h: added new edit(BufferView *, bool front) method to be able
7171 to enter an inset from the front/back without knowing x/y positions
7172 and baselines inside the inset. So I just can tell the inset activate
7173 me and set the cursor on the front/back of yourself.
7175 2001-07-18 Juergen Vigna <jug@sad.it>
7177 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7178 is given to the InsetText.
7179 (insetButtonPress): ditto
7180 (insetButtonRelease): ditto
7181 (insetMotionNotify): ditto
7183 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7185 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7186 LIGATURE_BREAK, since the name is so stupid.
7188 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7190 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7191 the default InsetCollapsable methods. I.e., it can insert anything.
7192 (write) output the name of the inset, not some silly hack for
7193 compatability with the old InsetInfo.
7195 * insetinfo.[Ch]: removed.
7196 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7197 now collapsable, but functionality is otherwise identical to InsetInfo.
7199 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7201 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7203 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7206 * insetquotes.C: general cleanup
7207 (dispString): add spaces inside french double quotes.
7208 (latex): ditto. Moreover, treat first the case where the frenchb
7209 or french options have been given.
7211 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7213 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7216 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7218 * figinset.C (RegisterFigure): Print debug message only when
7219 current_view is available.
7221 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7223 * many files: update to match the change below
7225 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7226 implement the version which takes an inset here.
7228 * insetcollapsable.[Ch]: implement open and isOpen
7230 * inset.h: remove insertInsetAllowed from Inset
7231 (open): new method, to open or close an inset
7232 (isOpen): returns the status of an inset
7233 (isCollapsable, colapse): removed
7235 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7237 * insetquotes.C (dispString): display french guillemets when using
7240 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7242 * insetcollapsable.h: remove bogus return statements
7244 2001-07-18 Juergen Vigna <jug@sad.it>
7246 * insettabular.C (selectNextWord): fixed spellchecking for the
7247 first cell of a tabular (wasn't entered!)
7248 (getLyXText): changed to enter automatically insettext and return
7249 it's LyXText if we're locked.
7251 2001-07-17 Juergen Vigna <jug@sad.it>
7253 * various files: implemented the below functions.
7255 * inset.h: added functions
7256 - virtual string selectNextWord(BufferView *, float & value) const;
7257 - virtual void selectSelectedWord(BufferView *) { return; }
7258 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7259 needed for spellchecking correctly!
7261 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7263 * insetert.C (latex): write out all paragraphs.
7265 2001-07-17 Baruch Even <baruch@lyx.org>
7267 * insetgraphics.C (draw): Removed unneeded casts.
7269 2001-07-16 Juergen Vigna <jug@sad.it>
7271 * insettext.C (update): fixed small oversight (reset lt to 0).
7273 2001-07-14 Baruch Even <baruch@lyx.org>
7276 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7278 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7280 Consistent use of Lsstream.h:
7281 * figinset.C: removed using std::ostringstream directive.
7283 * insetgraphics.C (createLatexOptions):
7284 * insetinclude.C (unique_id):
7285 std::ostringstream -> ostringstream.
7286 * insettext.C (localDispatch): std::istringstream -> istringstream.
7288 2001-07-13 Juergen Vigna <jug@sad.it>
7290 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7292 * insetcollapsable.C (getLockingInset): ditto.
7294 2001-07-12 Juergen Vigna <jug@sad.it>
7296 * insetcollapsable.h: added implementation of new function for
7299 * various files: added implementation of new insertInsetAllowed-func
7300 and redone the function a bit more.
7302 * inset.h: added isCollapsable(), bool collapsed(),
7303 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7305 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7307 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7308 LyXText which is marked for removal while we're using it!
7310 * insettext.h: added private LyXText * lt to use it to assure we are
7311 not deleting our LyXText while we're using it!
7313 2001-07-11 Juergen Vigna <jug@sad.it>
7315 * insettext.C (insertInset): check if we are before the inset after
7316 inserting it! This check IS needed. Remove the Undo-Call as it is
7317 called in LyXText::insertInset!
7319 * insettext.h: added struct InnerCache.
7321 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7322 that we ONLY delete the LyXText in the getLyXText() routine. So we
7323 are sure we don't delete LyXText while someone is working with it!
7325 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * insetexternal.C: (*it). -> it->
7328 * insettext.C: ditto
7330 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7332 * insetcollapsable.C (edit): always open collapsed insets (even if
7333 they are not autocollapsable)
7335 * insetcommand.C (operator=): simplify.
7337 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7339 * insetert.C (latex): handle META_NEWLINE
7341 2001-07-09 Juergen Vigna <jug@sad.it>
7343 * insetert.h: a normal InsetText can insert insets, but we won't.
7345 * inset.h: return default "false" on insertInsetAllowed and implement
7346 this function where a returnvalue != "false" is needed.
7348 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7350 * insetert.C (InsetERT): new contructor
7352 2001-07-06 Juergen Vigna <jug@sad.it>
7354 * a lot of files: added implementation of the below new functions
7355 and the change to clone(). Also the call of the new undo-functions
7358 * inset.h: added an inset_id, added functions getParFromID,
7359 getInsetFromID, firstParagraph, cursor and id functions, added
7360 bool same_ids to clone function.
7362 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7364 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7365 of BufferView * and shared_ptr<LyXText>
7367 2001-07-05 Juergen Vigna <jug@sad.it>
7369 * insettext.C (clear): deleted also the cache not only LyXText.
7370 (setParagraphData): ditto.
7372 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7374 * insetfloat.C (latex): let the specific placement take presedence
7375 if set, otherwise choose document placement if set, otherwise just
7376 use float default placement.
7378 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7380 * insettext.C (localDispatch): call CutAndPaste::'s static method
7383 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7385 * insetbib.C: no meed to include forms.h here.
7387 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7389 * insettext.C: added using std::make_pair directive.
7391 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7395 (deleteLyXText): ditto
7396 (resizeLyXText): ditto
7398 2001-07-02 Juergen Vigna <jug@sad.it>
7400 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7401 following calls are only returned the right pointer without the over
7402 head to search in the map.
7403 (various funcs): reset the cached_bview variable as this signs that
7404 the cache is not valid anymore.
7406 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7408 * insettabular.C (clone): do not copy the LyXTabular twice
7410 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * insettext.h (TEXT): delete method
7414 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * insetmarginal.C (latex):
7417 * insetfoot.C (latex): fix spacing of notes in LaTeX
7419 * insettext.C (localDispatch): use .c_str() on istringstream
7420 constructor argument.
7422 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7427 * inseturl.C: fix method names in these to begin
7428 with small char too, so they inherit
7430 2001-06-28 Juergen Vigna <jug@sad.it>
7432 * insettext.C (setFont): fixed font settings using toggleFree()
7433 instead of setFont().
7435 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7437 * Change a lot of method names to begin with a small char.
7438 Changes to a lot of files because of this.
7440 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7442 * insetfloatlist.C (Write): std:: qualify ostream
7445 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7449 * insetgraphics.C: send debug output to Debug::INFO instead of
7452 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7455 * insettabular.C (getStatus): update to use func_status
7457 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7459 * insetref.C (DocBook): added support for cross-references without
7462 2001-06-26 The LyX Project <jug@sad.it>
7467 * insetlabel.h: removed escape method and moved it to
7470 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7472 * insettabular.C (getMaxWidth): do the speedup in a different way,
7475 2001-06-24 The LyX Project <Asger>
7477 * insettabular.C (getMaxWidth): We cache a mapping from
7478 inset to cell in order to speed this method up.
7480 2001-06-24 The LyX Project <Asger>
7482 * insettext.C: Optimized InsetText::draw or something.
7484 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7486 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7488 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7490 * inset.h: name change from lyxinset.h
7492 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7494 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7496 2001-06-14 Juergen Vigna <jug@sad.it>
7498 * insettext.C (draw): removed warnings.
7500 2001-06-13 Juergen Vigna <jug@sad.it>
7502 * insettabular.C (nodraw): only go down the tree if we don't have
7503 that flag set otherwise it's obvious that we don't want to draw.
7504 (LocalDispatch): do also an update if we have an undispached result.
7506 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7509 * insetgraphicsParams.C:
7510 * insettext.C: removed // -*- C++ -*- as first line.
7512 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7514 * lyxinset.h (resizeLyXText): shut off warning about unused
7517 2001-06-07 Juergen Vigna <jug@sad.it>
7519 * insettext.C (resizeLyXText): honor the new force flag.
7521 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7523 * insettabular.C (deleteLyXText): new function
7525 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7533 * insetcollapsable.C:
7534 * insetcaption.C: LColor tidy
7536 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * figinset.C: fix typo
7540 2001-06-01 Juergen Vigna <jug@sad.it>
7542 * insettabular.C (resetPos): small hack so that scroll is not set to
7543 0 when we are in the last column of a tabular. This is a problem we
7544 have because of constats 20 offset on both directions, so this can
7545 cause on the limit an endless loop.
7547 * insettext.C (SetFont): forgot that we can have locking insets ;)
7549 2001-05-31 Juergen Vigna <jug@sad.it>
7551 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7553 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7555 * figinset.C: add using std:: directive for the C functions which
7558 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * insetfloat.C (Write): write out wide info
7561 (Read): read the wide info
7562 (Latex): use the wide info when creating latex.
7564 * insettext.C: adjust
7566 * insetgraphics.[Ch] (statusMessage): change to return string
7570 * figinset.C (runqueue): add std::
7573 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7575 * insetcite.C (Ascii): add std:: qualifier
7577 2001-05-28 Juergen Vigna <jug@sad.it>
7579 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7580 a endless-width inset (maxWidth < 0).
7581 (Edit): change language only if not equal.
7583 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7585 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7587 2001-05-16 Juergen Vigna <jug@sad.it>
7589 * insettext.C (selectAll): added
7590 (clearSelection): added
7592 * insettabular.C (SetFont): now we may set a font on a whole selection!
7593 (getSelection): added helper function.
7595 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7597 * insetcite.C (Ascii): Add method.
7599 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7602 * insetbib.C: fix path for OS/2 & Win32
7604 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7606 * insetfoot.C (Latex): don't use % after footnote.
7608 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7610 * insettext.C (Read): use clear
7611 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7613 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7615 * insetfloatlist.h: add a bunch of std:: qualifiers.
7617 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7619 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7620 FLOAT_LIST_CODE, renumber code list.
7622 * insettoc.C (getScreenLabel): remove support for float lists
7626 * insetfloatlist.[Ch]: new files
7628 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7630 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7632 * insettabular.C (LocalDispatch):
7633 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7636 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7638 * insettext.C: remvoe !NEW_INSETS cruft
7640 * insettabular.C: remove !NEW_INSETS cruft
7642 * insetcollapsable.h: remove !NEW_INSETS cruft
7644 * insetbib.C: remove !NEW_INSETS cruft
7646 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7648 * insettoc.C: hack to make listof algorithm work
7650 2001-04-20 Juergen Vigna <jug@sad.it>
7652 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7654 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7656 * insetquotes.C (Latex): improve the guard against
7657 unwanted !` and ?` ligatures. This should really be done in
7658 another place (to catch all this ligatures at low-level).
7660 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7662 * insettext.C (init): remvoe leftovers from cursor_visible change
7663 (draw): use c++ cast
7664 (LocalDispatch): dispatch LFUN_MESSAGE
7666 * insettabular.C (InsetTabular): remove leftovers from
7667 cursor_visible, and scoped_ptr changes
7668 (draw): use c++ cast
7670 * insetcollapsable.C (draw): use c++ cast
7672 * ExternalTemplate.h: inherit privaely from noncopyable
7673 * insetcommand.h: ditto
7674 * insetinclude.h: ditto
7676 2001-04-16 Allan Rae <rae@lyx.org>
7678 * insettoc.C (Ascii):
7679 * insettext.C (draw):
7680 * insettabular.C (setPos):
7681 * insetminipage.C (Read):
7682 * insetfloat.C (placement):
7683 * insetcaption.C (Ascii, DocBook):
7684 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7685 an unrecognised preprocessor directive. So ensure they're wrapped.
7687 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7690 * insetexternal.C: set view on Clone. Add _ to private members.
7692 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * insettext.C (InsetText): fix new
7695 (InsetText): reindent some, simplify deletion of par list
7696 (clear): simplify deletion of par list, fix new
7697 (SetParagraphData): simplify deletion of par list
7699 * insettabular.[Ch] (getLabelList): implement new method
7701 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7703 * lyxinset.h: do not include gettext.h...
7711 * insetlatexaccent.C:
7715 * inseturl.C: ... and do it here instead
7717 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7719 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7721 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7723 * insetcollapsable.[Ch] (getLabelList): implement
7725 * insettext.[Ch] (getLabelList): implement
7727 * insettext.h: reindent
7729 * insettabular.h: make tabular a scoped_ptr
7731 * insettext.C (init): adjust for cursor_visible
7732 (ToggleInsetCursor): constify asc and desc, font, adjust for
7734 (ShowInsetCursor): constify asc and desc, font, adjust for
7736 (HideInsetCursor): adjust for cursor_visible
7738 * insettabular.C: reindent some
7739 (InsetTabular): adjust for scoped_ptr and cursor_visible
7740 (InsetTabular): ditto
7741 (~InsetTabular): delete delete
7742 (Clone): adjust for scoped_ptr
7743 (Read): constify old_format, adjust for scoped_ptr, move init of
7745 (draw): constify tx, localize loop vars.
7746 some other localization of variables, remove double initilizatons.
7748 * insetfoot.C: remove using std::ostream, add ostream where needed
7750 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7752 * lyxinset.h: some reindentaion, use initializer list for
7754 UpdatableInset: make cursor_visible a private var add
7755 public isCursorVisible(), add protected toggleCursorVisible() and
7756 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7758 * insettoc.C: remvoe using decl
7759 (getScreenLabel): make cmdname donst
7762 (Ascii): don't use endl
7764 * insetfootlike.C: remove using decl at file scope and add std::
7766 * insetmarginal.C: ditto
7768 * insetfoot.C: some reformatting
7770 * insetfloat.C (InsetButtonRelease): adjust the hit area
7772 * insetert.C (SetFont): some reformatting
7774 * insetcollapsable.C: some reformatting and constification
7775 (Clone): comment out.
7776 * insetcollapsable.h: some reformatting
7777 (Clone): comment out.
7782 2001-03-30 Juergen Vigna <jug@sad.it>
7784 * insetcollapsable.h: changen *inset to be a InsetText inset.
7786 * some files: changed to reflect the above change.
7788 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7790 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7791 InsetExternal::Params.
7792 Added operator==() and operator!=() for the Params struct.
7794 2001-03-29 Juergen Vigna <jug@sad.it>
7796 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7799 * insetminipage.C: removed widthp_ and all it's functions and changed
7800 to use new %-lengths of LyXLength.
7802 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7804 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7806 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7808 * insetgraphicsParams.C (operator!=): new function, needed by the
7809 ControlGraphics class.
7811 2001-03-28 Juergen Vigna <jug@sad.it>
7813 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7814 (checkAndActivateInset): don't use the values returned from
7815 call to bv->checkInsetHit.
7817 * insetminipage.C (Clone): set special minipage values.
7819 * insetcollapsable.C (draw): changed to draw the button in the
7820 upper left corner outside the textinset.
7821 (ascent): changed because of different drawing
7825 (InsetButtonPress): ditto
7826 (InsetButtonRelease): ditto
7827 (InsetMotionNotify): ditto
7829 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7831 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7835 2001-03-26 Juergen Vigna <jug@sad.it>
7837 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7839 * insettext.C (ShowInsetDialog): implemented above function.
7841 * insettabular.C (ShowInsetDialog): ditto
7843 * insetminipage.C (ShowInsetDialog): ditto
7845 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7847 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7848 InsetInclude::Params. Don't store a buffer * in Params. Store the
7849 master file name instead.
7851 2001-03-23 Juergen Vigna <jug@sad.it>
7853 * insetcollapsable.C (InsetMotionNotify):
7854 (InsetButtonRelease):
7855 (InsetButtonPress): fixed y-offset (minipages).
7857 * insettext.C (draw): force a FULL update if cleared == true.
7859 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7860 routine to draw the minipages on its position-flag.
7861 (InsetInInsetY): give back the right y position, because of minipage
7864 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7867 * insetfloat.C (DocBook): docbook export code.
7869 2001-03-22 Juergen Vigna <jug@sad.it>
7871 * insetminipage.C (getMaxWidth): added function to set the drawing
7873 (Read): should work now!
7875 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7876 if we create a new inset.
7878 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7880 * figinset.C (fl_set_preemptive_callback): moved definition outside
7883 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7885 * insetminipage.C (Read): prepare for reading of minipage arguments.
7887 2001-03-18 Baruch Even <baruch@lyx.org>
7889 * insetgraphics.C: Minor cleanups of the comments and code.
7891 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7893 * insetminipage.C (InsetMinipage): default to not collapsed
7895 2001-03-16 Juergen Vigna <jug@sad.it>
7897 * insetminipage.C (width): modified with to be a string
7898 (widthp): added widthp (for % width) support functions.
7899 (InsetButtonRelease): added to open the options dialog on button==3.
7900 (~InsetMinipage): added to hide the dialog.
7902 * insetminipage.h: added hideDialog signal
7904 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7906 * insetminipage.h: change the order or Position to match
7907 LyXParagraph::MINIPAGE_ALIGNMENT
7909 * several files: remvoe CXX_WORKING_NAMESPACES
7911 * ExternalTemplate.h: noncopyable is in namespace boost
7912 * insetinclude.h: ditto
7913 * insetcommand.h: ditto
7915 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7917 * insettext.C (Edit): #else# -> #else.
7918 * insettoc.C: added using directive.
7920 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7922 * insetminipage.h: add pos, inner_pos, width and height. + getters
7923 and setters for all of them.
7925 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7927 * insetinclude.C (Latex): Do not exit when the textclass of the
7928 included file differ from the textclass of the parent file.
7930 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7932 * ExternalTemplate.C (read): the reading of external insets now checks
7933 for \end_inset and removes it form the input stream.
7935 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7937 * ExternalTemplate.h:
7938 * ExternalTemplate.C:
7940 * insetexternal.C: move form to GUII
7942 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7945 * insetinclude.C: add InsetIncludeParams, use
7946 composition rather than derivation of InsetCommand
7948 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7950 * insettoc.C (Ascii): use the Buffer typedefs
7952 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7954 * insettoc.C (Ascii): implement for dynamic number of lists
7956 * insetcaption.[Ch]: update from new_insets branch
7957 * insetfloat.[Ch]: ditto
7959 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7962 * figinset.C: use new File Dialog
7964 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7966 * insettext.C: changes becuase of ParagraphParameters.
7968 2001-02-28 Baruch Even <baruch@ev-en.org>
7970 * insetgraphics.C (updateInset): Changed due to the change in
7973 2001-02-26 Juergen Vigna <jug@sad.it>
7975 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7976 handled in LyXText).
7978 2001-02-23 Juergen Vigna <jug@sad.it>
7980 * insettext.C (draw): some small repainting fixes.
7981 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7983 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7984 should be) and not an int.
7986 * insettabular.C (LocalDispatch): ditto
7988 * insettext.C (LocalDispatch): ditto
7990 * insetcollapsable.C (LocalDispatch): ditto
7992 2001-02-22 Juergen Vigna <jug@sad.it>
7994 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7995 DISPATCH it and we don't have a locking_inset.
7997 2001-02-21 Baruch Even <baruch@ev-en.org>
7999 * insetgraphics.[Ch]: Changed to use
8000 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8002 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8004 * insetcollapsable.C (getLyXText): add const qualifier to second
8007 2001-02-22 Juergen Vigna <jug@sad.it>
8009 * insettext.C (getLyXText): honor the recursive parameter.
8010 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8012 * inset.C (getLyXText): added bool recursive parameter.
8014 * insettext.C (SetUpdateStatus): or the update codes.
8015 (draw): check need_update with &.
8016 (InsetButtonPress): set no_selection to not put a selection when
8017 entering an inset and it is redraws in another spot.
8019 * insettext.h: made need_update an int.
8021 2001-02-20 Baruch Even <baruch@ev-en.org>
8024 * insetgraphisc.C: Changed to use better semantics when loading images
8025 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8027 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8031 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8032 consistent with InsetTabular.
8034 2001-02-19 Juergen Vigna <jug@sad.it>
8036 * insettabular.C (LocalDispatch): implement PAGE up/down.
8038 * insettext.C (draw): clear all of it on need_update==INIT too!
8040 * insettabular.C (InsetUnlock): always clear the selection.
8042 * inset.C (scroll): normally we only want to scroll the inset until
8043 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8045 2001-02-14 Juergen Vigna <jug@sad.it>
8047 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8048 (resetPos): fixed scroll behaviour.
8049 (LocalDispatch): do an update if moving cursor inside a table cell
8050 requests a scroll of the tabular.
8052 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8054 * insettext.C (textWidth): constify local var
8056 * insettabular.C: small cleanup.
8058 * insetfoot.C (Latex): constify local var
8060 * insetcollapsable.C: small cleanup.
8062 * figinset.C (runqueue): use compare instead of strcmp
8064 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8067 * insetinfo.C: remove cruft
8069 2001-02-14 Juergen Vigna <jug@sad.it>
8071 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8073 2001-02-13 Juergen Vigna <jug@sad.it>
8075 * insettext.C (InsertInset): don't move left (is this right?)
8077 * insettabular.C (LocalDispatch): use of the no_draw variable
8079 * insettabular.h: new no_draw variable to stop redraw
8081 * insettabular.C (TabularFeatures): fixed update for alignment change
8083 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8087 * insetbib.C: move dialogs to frontends/
8089 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8091 * insettext.C (LocalDispatch): Restore the language if the inset
8094 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8096 * insettext.C (moveRightIntern): Update the selection cursor.
8097 (moveLeftIntern): Ditto.
8099 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * Makefile.am: remove BoundingBox.h
8103 * BoundingBox.h: removed
8105 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8107 * insettext.C (LocalDispatch): Update selection cursor when moving
8108 cursor to the right.
8109 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8110 (moveLeftIntern): Ditto.
8112 2001-02-05 Baruch Even <baruch.even@writeme.com>
8114 * insetgraphics.C: Updated automatic image conversion, it now goes into
8115 temporary directory instead of with the image itself.
8117 2001-01-21 Baruch Even <baruch@ev-en.org>
8119 * insetgraphics.C: Added Docbook support. Added Automatic image
8120 conversion to EPS or PNG when needed (support bitmap graphics).
8122 2000-11-02 Baruch Even <baruch@ev-en.org>
8125 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8126 to '\n' and removal of commented out code.
8128 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8130 * insetbib.C (callback): Update citations if the key has changed.
8132 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8134 * insetbib.C (InsetBibKey): Better computation of default key.
8135 (getScreenLabel) Show both the key and the label.
8136 (getBibLabel): New method.
8137 (callback): Force a redraw if the inset have been changed.
8139 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8141 * insetref.C (getType, getName): Move methods from
8142 src/frontends/xforms/FormRef.C.
8144 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8146 * insettabular.C: Various improvements (use only one dummy position).
8148 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8150 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8151 par->bibkey->width. This fixes the crashes when running without
8152 gui or when having included documents.
8154 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8156 * insetcommand.C (getAsString, setFromString): Cleanup.
8158 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8160 * insetref.C: Add the array InsetRef::types that contains
8161 information about all supported reference types.
8163 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8165 * lyxinset.h: remove trailing comma in enum.
8167 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8169 * insettext.C: kill LyXBell.