1 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insettext.C (getLabelList):
4 * insettabular.C (getLabelList): remove, since the ParIterator
5 already does the job of looking inside insets (bug 2188)
7 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * ExternalSupport.[Ch] (updateExternal): add external_in_comment flag
10 * insetexternal.C (latex, linuxdoc, docbook, plaintext): Don't copy
12 * insetbibtex.C (latex): ditto
13 * insetinclude.C (latex, linuxdoc, docbook, plaintext): ditto
14 * insetnote.C (latex): set inComment flag in runparams and ignore
15 exported files for comment insets
16 * insetnote.C (linuxdoc): ditto
17 * insetnote.C (docbook): ditto
18 * insetnote.C (plaintext): ditto
20 2006-01-01 <larsbj@gullik.net>
22 * insetcharstyle.h: fix syntax error
24 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
26 * insetcollapsable.C (metrics): reverse patch of 2005-12-16 because
27 of better fix in text3.C.
29 2005-12-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * insetbase.h (noFontChange): refine documentation
33 2005-12-16 Martin Vermeer <martin.vermeer@hut.fi>
35 * insetcollapsable.C (metrics): fix "turds" when changing openinlined_
37 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
39 * insetbox.[Ch]: fix bugs 2136, 2123
41 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
43 * insetbox.C (metrics): fix width problems (bug 2137)
45 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * insettabular.C (tabularFeatures): Move some code to
48 setColumnPWidth and setMColumnPWidth
50 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
53 * insetcharstyle.[Ch]:
55 * insetlatexaccent.[Ch]:
59 * insetspecialchar.[Ch]:
60 * inseturl.[Ch]: new method textString (fix bug 2089)
62 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
66 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
71 change argument of forceDefaultParagraphs from inset to cell.
73 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
75 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * insetbase.h: document the EDITABLE enum.
79 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
84 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
86 * insetbranch.C: partial fix bug 2092: branches not
87 propagated to child docs
88 * insetcharstyle.C: Also replace LColor::red by LColor::error
90 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * insetbranch.C (isBranchSelected): take a buffer as argument.
93 adapt to work with child documents (bug 2092).
95 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * insettabular.C (doDispatch): get rid of annoying debug message.
99 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
100 code from InsetCollapsable.
102 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
103 inset is toggled to Closed, move cursor to the right (part of bug
106 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
108 * insettext.C: remove obsolete old_pit
110 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * insettabular.C (doDispatch): do not override the result of
113 LFUN_RIGHT/LEFT. (bug 2101)
115 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
117 * insetvspace.C (metrics): compute ascent and descent in a way that
118 the cursor is placed on the same level as the label text
120 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
122 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
123 of autoopen, which means that collapsables automatically open
124 whenever the cursor enters (and close again on leave) (fixes bug 1921).
126 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
129 and '\space' to '\space{}' (consistency).
131 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * insettabular.C (tabularFeatures): validate cursor after
134 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
136 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
138 * insettabular.C: fixes bug 1765: multicol cell width on screen not
141 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * insettabular.C: use recordUndoInset instead of recordUndo
144 (fixes bug 1937 and 1986).
146 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * insetvspace.C (metrics): include label text
149 * insetvspace.[Ch] (label): new, needed for the above
151 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * insetbase.[Ch]: new bool neverIndent() which indicates if
154 an inset does not want paragraph indentation at all.
157 * insetoptarg.h: return true for neverIndent()
158 * insettext.[Ch]: return true for neverIndent() in case
159 of tabular cells (based on a crude guess).
161 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * insetline.C: Add forgotten include
165 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * insetline.C (latex): write the size argument of \lyxline again
168 * insetquotes.C (latex): adapt to OutputParams changes
170 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
173 when switching to pwidth cell (bugs 1296, 1840).
175 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * insettabular.C (draw): pass PainterInfro::erased_ to
179 (drawCellLines): add an erased bool and handle it.
181 2005-08-03 John Levon <levon@movementarian.org>
183 * insettext.C (clear): remove bool argument.
184 (read): adapt to clear() changes.
186 * insettabular.C (cutSelection): adapt to MarkErased changes.
188 * insettext.C (markErased):
189 * insettabular.C (markErased):
190 * insetbase.C (markErased): add bool argument.
192 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
195 after copying several cells (works around bug 1919).
197 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
199 * insetcharstyle.C (metrics,draw): consider inset label for
200 width computation; fix drawing of labels of undefined char styles
202 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
204 * insettabular.C (getStatus): fix Helge's bug that a number of insets
205 including ERT could not be inserted in tabular.
207 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * insetinclude.C (string2params): fix typo in error message (bug 1963).
211 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
213 * insettabular.C (getStatus): disable line and paragraph breaks
214 in non-fixed-width cells (bug 1938).
216 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * insetwrap.C: Do not use translatable strings as internal identifier
222 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
224 * insetbase.C: include boost/current_function.hpp
226 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
228 * insetbase.C (edit,editXY,index): supress some lyxerr messages
230 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
234 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
236 * insetlabel.C (changeRefsIfUnique): remove unused code
238 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
241 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
242 reverse the logic. Make sure to set updateButtonLabel_ to true in all
243 places where params is set (directly or indirectly).
245 2005-07-15 André Pönitz <poenitz@gmx.net>
247 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
249 2005-07-15 André Pönitz <poenitz@gmx.net>
253 * insetcollapsable.[Ch]:
255 * updatableinset.[Ch]: remove UpdatableInset
257 2005-07-15 José Matos <jamatos@lyx.org>
259 * insettext.C (plaintext): fix call to asciiParagraph.
261 2005-07-15 André Pönitz <poenitz@gmx.net>
263 * insetcollapsable.[Ch]:
264 * updatableinset.[Ch] (scroll, setScroll): sanitize things
266 2005-07-14 Angus Leeming <leeming@lyx.org>
268 * insetbibtex.C (latex): when processing the LaTeX file in
269 a temp directory, copy the BibTeX databases there, mangling their
270 names in the process. Do this so that BibTeX can process the database
271 because it *really*, *really* can't handle "files with spaces".
273 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
275 * insettext.C (doDispatch): reduce some debug blabbering
277 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * ExternalSupport.C (subst_path): adjust to latex_path changes and
280 replace dots if appropriate
281 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
282 * insetexternal.C (validate): require lyxdot
284 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * ExternalSupport.C (subst_path): new argument exclude_extension
287 * ExternalSupport.C (doSubstitution): exclude the extension when
289 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
290 the extension when quoting the file name
292 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * insetquotes.C (latex): always use \og/\fg for the french
295 languages; test against the language code instead of the babel
298 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
300 * insettabular.C (tabularFeatures): adjust cursor after adding a column
302 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
304 * insetbranch.C (setButtonLabel): Make label prefix translatable.
306 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
308 * insettabular.[Ch] (dist): make it a real member of insettabular
309 and rewrite it to use the actuall cell dimensions for calculation,
310 not the insettext's deimensions (fixes bug 1801).
312 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * insetbibtex.C: (addDatabase): do not check for substrings but
315 but for whole tokens.
316 (delDatabase): make it actually work.
318 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
320 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
322 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
324 * insetgraphics.C (prepareFile): don't strip the extension of quoted
326 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
328 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
330 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
331 when multiple cells are selected (bug 1837).
333 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * insetoptarg.C (InsetOptArg): make the inset open by default
338 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * insetvspace.C (draw): use VSpace::asGUIName.
342 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
345 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
346 cur.noUpdate() if nothing changed
347 * insetlatexaccent.[Ch]: spelling fixes
349 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
351 * insetcollapsable.C (doDispatch): fix
352 click-on-closed-collapsable-inset-crash bug.
354 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
356 * insettabular.C (pasteSelection):
357 * insettext.h (copy c'tor): fix paste inside tabulars.
359 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * insetoptarg.C (plaintext): add dummy method.
363 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * insetbase.h (doDispatch): document a bit more
366 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
367 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
368 cur.bv().update(), because that leads to nested updates. Call
369 cur.noUpdate() instead where approriate.
371 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
373 * insetbibtex.C: change screen label
375 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
377 2005-05-06 José Matos <jamatos@lyx.org>
379 * insetcommandparams.C (scanCommand): fix out of range string access.
381 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
383 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
385 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
386 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
389 handle undefined character styles
390 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
391 handle undefined character styles
393 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
395 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
396 in getStatus and the tabularFeature string (bug 1860).
398 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
400 * insetbranch.C (getStatus): make the code more compact
402 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * insetcollapsable.C (doDispatch): do not pass through double/triple
405 click events when they are not in the insetext (bug 1797).
407 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
409 * insetbase.h: document a bit more
410 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
411 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
412 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
413 (getStatus): implement
414 * insetcollapsable.[Ch] (hitButton): take a const argument
415 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
418 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * insetcollapsable.C (doDispatch): pass through double/triple
421 click events (bug 1811).
423 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
427 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
428 but the SENSITIVE label type.
430 2005-04-18 Angus Leeming <leeming@lyx.org>
432 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
433 'use_latex_path' argument. In turn, passed to the new subst_path
434 function when replacing placeholders with paths.
436 * insetexternal.C (getScreenLabel):
437 * ExternalSupport.C (lots of places): change invocation of
438 doSubstitution in lots of places, specifying the appropriate values
439 for this 'use_latex_path' boolean.
441 * insetbib.C (latex):
442 * insetgraphics.C (latex):
443 * insetinclude.C (latex): pass path to latex_path rather than to
446 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
448 * insetcharstyle.C (validate): allow nested charstyle insets
450 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
452 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
454 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * insetfloat.C (InsetFloat):
457 * insetwrap.C (InsetWrap): do not set layout here.
459 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
463 * insetbase.h (getStatus): add more documentation
464 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
467 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
469 * insetcharstyle.C (metrics, draw):
470 * insetert.C (metrics, draw):
471 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
474 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
476 * insetexternal.C (validate):
477 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
478 multiple Requirements in external material template
480 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
482 * insettext.C (drawFrame): cosmetic fix
484 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
486 * ExternalSupport.C (writeExternal):
487 * insetgraphics.C (latex):
488 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
489 mis-count in computing latex error location
491 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
493 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
494 make it *not* descend into insets (fix a crash). Move the part
495 needed from editXY to a new function getNearestCell
497 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * insetinclude.C (InsetInclude): when constructing from another
500 InsetInclude, set set_label_ to false, since the value is never
503 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
507 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
509 * insettabular.C (drawSelection): cosmetic bugfix
511 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * insettabular.C (doDispatch): get middle mouse button back again
514 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
515 when only a part of the cell is selected (fix bug 1799)
517 * insettabular.C: handle some more character attributes in
518 M. Vermeers method (when multiple cells in tables are selected);
519 disable some more senseless lfuns when multiple cells are selected
521 Move to end of cell instead of beginning when coming from the cell
524 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
526 * insettabular.C: make applying character attributes
527 possible for multiple cells in tables. Disable collapsable
528 insets for multiple-cell selection in table (Jürgen S.)
529 Bug reported by Helge Hafting.
531 2005-02-25 Andreas Vox <avox@arcor.de>
533 * insetmarginal.[hC] (docbook): new method, render as <note>
535 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
537 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * insetcaption.[Ch] (doClone): implement
541 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
543 * insetgraphics.C (prepareFile): handle non-existing files
544 * insetgraphics.C (latex): remove special handling of non-existing
547 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
549 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
550 * insettext.C: adjust metrics
552 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * insettext.C: include boost/current_function.hpp (needed when
555 assertions are disabled)
557 2005-02-20 André Pönitz <poenitz@gmx.net>
559 * insetcollapsable.C: Prevent problems on double-/
560 tripleclick on collapsable label (bug 1797).
562 2005-02-13 André Pönitz <poenitz@gmx.net>
564 * insettext.[Ch] (border_): new
565 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
568 2005-02-14 Angus Leeming <leeming@lyx.org>
570 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
571 about "truncation of constant value".
573 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
575 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
576 workaround for broken HTML converter)
578 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * insetcollapsable.C (leaveInset): size() -> depth()
581 * insettabular.C (isRightToLeft): ditto
583 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
585 * insetert.C (latex, linuxdoc, docbook): remove newline handling
586 * insetert.C (doDispatch): clean pasted paragraphs
587 * insetert.C (getStatus): suppress more lfuns
588 * insetert.C (insetAllowed): return always false
590 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
595 * updatableinset.C: Use new cursor accessors.
597 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
601 2005-01-31 Angus Leeming <leeming@lyx.org>
603 * insetgraphicsParams.C: protect a #warning preprocessor call
604 with a #ifdef WITH_WARNINGS guard.
606 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * Several files: use convert<> instead of atoi,strToXXX and friends
610 2005-01-23 Angus Leeming <leeming@lyx.org>
612 * insetbibitem.h (bibitemWidest): declare the function.
614 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * insetgraphics.C (prepareFile): move the invocation of the default
617 converter to ../converter.C
618 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
619 call convert with try_default == true
621 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
623 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
624 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
625 determines what variables are substituted
626 * ExternalSupport.C (updateExternal): fix substitution of
629 2005-01-10 Angus Leeming <leeming@lyx.org>
631 * ExternalTemplate.C: use support/package.h to provide the paths to the
632 various directories used by LyX.
634 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * ExternalTransforms.C (adjAngle): tostr -> convert
644 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
649 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * ExternalTransforms.C: fix LaTeX output of \scalebox.
653 * ExternalTransforms.[Ch]:
654 * insetexternal.C: store all float/double values as strings.
657 * insetgraphicsParams.C: more precise checks for the value strings.
659 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * insettext.C (doDispatch): remove unused variable was_empty
663 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
666 * insetgraphicsParams.[Ch]: store all float/double values as strings.
668 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
670 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
672 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
674 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
675 UNSET_ALL_LINES (from Jürgen)
677 2004-12-14 Angus Leeming <leeming@lyx.org>
679 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
680 to overcome bug in the MinGW port of g++ 3.4.2.
682 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
684 * insettabular.C (getCellXPos): make it return a relative x
685 position wrt. the begin of the tabular
686 (resetPos): a couple of fixes
687 (doDispatch): add a couple of resetPos calls
688 (drawSelection): fix drawing of selection in single-cell mode
689 (draw): replace 'do not draw' optimization by 'draw with
692 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * insetbase.[Ch] (idxUpDown2): remove function
696 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * insettabular.[Ch]: use size_t-like types for cell, row and column
701 2004-12-02 José Matos <jamatos@lyx.org>
703 * insetlatexaccent.C (checkContents): remove compatibility code,
706 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
708 * insetbase.h (getStatus): add better comment from src/cursor.C
710 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
712 * insettabular.[Ch]: adjust, introduce "do not draw
713 offscreen" optimization using NullPainter, (dist): introduce,
714 (getCursorPos): implement, (drawSelection): implement
716 * insetcollapsable.[Ch]: adjust
718 * insettext.C: adjust, (metrics): set the font before calling
721 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
723 * rename a lot of InsetOld to InsetBase
725 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
728 * insettext.C: par->pit renaming
730 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
732 * Most insets: rename priv_dispatch to doDispatch
734 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
736 * insettabular.C (tabularFeatures): fix multicolumn handling
738 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * render_base.h (operator=): use common semantics
742 * insettext.C (operator=): delete this
743 (copy constructor): implement this properly
744 (init): use for_each and bind
746 (appendParagraphs): ditto
748 * insettabular.C: add more const. Adjust for changes in tabular.
750 * insetbase.h: Use NVI on clone. Add virtual doClone and update
751 all children, also make copy constructor protected. Added some
752 safe-guards to clone.
754 * insets: adjust to fit.
756 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * insetoptarg.C (latexOptional): return number of lines instead of
761 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
763 * insettabular.[Ch] (string2params): Don't pretend to return the
764 active cell anymore and simplify keyword parsing.
766 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * insetlatexaccent.h (isLetter): implement, so that word selection
769 takes accents into account.
771 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
773 * insetcollapsable.C (priv_dispatch): do not push the inset to the
776 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
778 * ExternalSupport.C, insetgraphics.C:
779 s/getFormatFromContents/formats.getFormatFromFile/
781 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
783 * insetcharstyle.[Ch]:
784 * insetert.[Ch]: implement getStatus
786 * insetcharstyle.C (draw): visual clue when the cursor is inside
789 2004-11-02 José Matos <jamatos@lyx.org>
791 * insetcharstyle.C (docbook):
792 * insetlabel.C (linuxdoc, docbook):
793 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
796 * insettabular.C (docbook): mixed content no longer belongs to
799 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
801 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
803 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
805 * ExternalSupport.C (updateExternal): convert files in the temp dir
807 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
809 * insetcharstyle.C: drawing cosmetics.
811 2004-10-30 José Matos <jamatos@lyx.org>
813 * insetcharstyle.C (docbook): a compromisse solution. Don't output
814 paragraph tags inside inline elements.
816 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
818 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
819 InsetText methods rather than outputVerbatim (escapes special
820 characters) [bug 1731]
821 * insetcharstyle.C (outputVerbatim): remove this function.
822 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
823 which caused an infinite loop.
825 2004-10-29 José Matos <jamatos@lyx.org>
827 * insetgraphics.C (uniqueID): transfered to sgml.C
829 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
831 * insetlabel.C (docbook, linuxdoc):
832 * insetref.C (docbook, linuxdoc): sanitize id.
834 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
837 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
838 * insetgraphics.C (findTargetFormat): reformat
840 2004-10-28 José Matos <jamatos@lyx.org>
842 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
844 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
846 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
848 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
850 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
851 "[,,,]" without warning message
853 2004-10-26 Angus Leeming <leeming@lyx.org>
855 * ExternalSupport.C (updateExternal):
856 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
857 external files to the temp directory.
859 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
861 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
862 layouts. This fixes problems with the memoir class (which does not
863 allow \footnote) [bug 1677]
865 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
867 * insetindex.C (docbook): escape the index, to generate correct sgml.
869 2004-10-23 José Matos <jamatos@lyx.org>
871 * insettext.C (docbook): rearrange arguments, due to change in the
874 2004-10-23 André Pönitz <poenitz@gmx.net>
876 * insettabular.C (cutSelection, tabularFereatures):
877 fix cursor position after cutting selection or table rows
879 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
881 * insetgraphics.C (docbook, writeImageObject): write more than one
882 format of imageobjects in <mediaobject>.
884 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
886 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
887 DocBook output for this inset ( <citation>content</citation> )
889 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
891 * insetgraphics.C (docbook) : using mediaobject for XML;
892 correcting bug with SGML output (now '>' instead of '/>')
894 2004-10-05 José Matos <jamatos@lyx.org>
896 * insetfloatlist.C (read):
897 * insetquotes.C (read):
898 * insetspace.C (read):
899 * insetspecialchar.C (read):
900 * insettabular.C (read): replace nextToken by more appropriate lex
903 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
905 * insetgraphics.C (createDocBookAttribute, docbook) :
906 convert scale, width, height and keepaspectratio to Docbook standards)
908 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
909 to Docbook units where possible.
911 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
913 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
915 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
916 as attributes with new method for docbook.
918 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * render_preview.h: Use preferred calling of Boost.Signal
922 * pch.h: use proper signal include
924 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * ExternalTransforms.h: User preferred calling of Boost.Function
928 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
930 * insetref.C (docbook): fixing problem where Docbook XML output
931 had unclosed <xref ... >
933 2004-08-16 José Matos <jamatos@lyx.org>
935 * insethfill.C (write):
936 * insetline.C (write):
937 * insetnewline.C (write):
938 * insetpagebreak.C (write): remove space at end of line.
940 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
942 * insettabular.C (plaintext): do not use ownerPar to get the
945 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
946 and it calls getParentLanguage (which calls ownerPar)
947 (edit): do not call sanitizeEmptyText
948 (priv_dispatch): remove code resetting font on empty inset, for
949 the same reasons as above.
951 * insettabular.C (isRightToLeft): instead of using
952 BufferView::getParentLanguage, use the data from the cursor
954 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * Makefile.am: support pch
960 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * insettabular.C (draw): whitespace
964 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
966 2004-08-14 André Pönitz <poenitz@gmx.net>
968 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
970 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * insettabular.C (metrics): when the width of a cell is zero(),
973 let it use as much space as it can
975 * insettext.C (editXY): compilation fix
977 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
979 (metrics): the insets is not full width any more.
980 (draw): adjust; fix bad test for PREVIEW_OFF
981 (add_preview): fix bad test for PREVIEW_OFF
982 (display): do not return true when using \input
984 2004-08-14 José Matos <jamatos@lyx.org>
986 * insetbibitem.[Ch] (plaintext): added.
988 * insetcite.[Ch]: fix plaintext export.
990 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
992 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
995 * insetcaption.C (InsetCaption): modify call to setDrawFrame
996 * insetcollapsable.C (InsetCollapsable): ditto
997 * insetenv.C (InsetEnvironment): ditto
999 2004-08-14 André Pönitz <poenitz@gmx.net>
1002 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
1004 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * insetoptarg.C (latexOptional): if the optional argument contains
1007 a ']' enclose it in {curly brackets}
1009 * insettext.C (editXY):
1010 * insettabular.C (editXY):
1011 * insetcollapsable.C (editXY):
1012 * insetbase.C (editXY): constify
1014 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
1015 not ask for an update if we did nothing; on a mouse release, make
1016 sure that the cursor is moved to the right position; on a mouse
1017 release, exit from the inset instead of invoking a
1018 LFUN_FINISHED_RIGHT.
1020 * insetbase.C (dispatch): before invoking dispatch, set cursor
1021 result to dispatch=update=true.
1023 2004-08-13 José Matos <jamatos@lyx.org>
1025 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
1027 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * insetfoot.C (latex): use OutputParams::intitle instead of
1030 parOwner() (avoids time consuming lookup)
1032 * insetquotes.C (latex): same as above with OutputParams::lang.
1033 Moreover the code actually works now.
1035 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1037 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1038 * insetinclude.C, insetgraphics.C, insetfloat.C:
1039 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1040 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1041 "support/std_sstream.h" to <sstream>
1043 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1045 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1046 It made the following fail for a .eps graphics file:
1048 2) view->pdf (pdflatex)
1049 because the .eps file was already in the temp dir when the pdflatex
1050 export happened and therefore no .eps -> pdf conversion was done.
1052 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1054 * insetgraphics.C, insettabular.C: s/wether/whether/g
1056 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * insetgraphics.C (stripExtension): new
1059 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1060 the caller does this
1061 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1062 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1064 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1066 * insetfloatlist.C (latex,getScreenLabel): translate according to
1067 the document language (bug #1312)
1069 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1071 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1072 with external_in_tmpdir and compute filename ourself
1073 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1074 use it to store referenced file(s)
1075 * ExternalSupport.C (writeExternal): write relative filename if
1077 * ExternalTemplate.[Ch]: add ReferencedFile command
1078 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1079 runparams.exportdata
1080 * insetgraphics.C (prepareFile): write relative filename if
1082 * insetinclude.C (latex, docbook, linuxdoc): add file to
1083 runparams.exportdata and write it to the temp dir instead of
1084 writing it to the final destination
1085 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1087 2004-05-19 Angus Leeming <leeming@lyx.org>
1089 * insetcite.[Ch]: small change because namespace biblio is
1090 now namespace lyx::biblio.
1092 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1094 * insettabular.[Ch] (buffer): make Buffer * argument const
1096 2004-05-17 Angus Leeming <leeming@lyx.org>
1098 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1099 to force the button label to be re-generated.
1101 2004-05-14 José Matos <jamatos@lyx.org>
1103 * insetlabel (docbook): do not ouput label, for the moment.
1105 2004-05-14 Angus Leeming <leeming@lyx.org>
1107 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1108 new biblio::asValidLatexString function.
1110 2004-05-12 Angus Leeming <leeming@lyx.org>
1112 * insetcite.C: use BufferParams::cite_engine rather than the three
1113 bools, use_natbib, use_jurabib, use_numerical_citations.
1115 2004-05-10 Angus Leeming <leeming@lyx.org>
1117 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1118 Ditto with getStyle, moved to biblio::getEngine.
1120 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1122 * insetgraphics.C (validate): remove pre 233 file format stuff,
1123 handle zipped files for "nice" export
1125 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1128 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1129 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1130 changed since the last run
1131 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1132 and copyFileIfNeeded.
1134 2004-04-29 Angus Leeming <leeming@lyx.org>
1136 * ExternalTemplate.[Ch]: remove redundant #includes.
1138 2004-04-28 Angus Leeming <leeming@lyx.org>
1141 s/updateToolbar()/updateToolbars()/
1143 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1145 * insetgraphics.C: require file extension (file format change!)
1146 * insetgraphics.C (latex): handle zipped files for "nice" export
1148 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * insetgraphics.C (latex): strip the extension and replace dots in
1151 the filename if doing a "nice" export. This is a partial fix for
1152 bug 1231 without reintroducing bug 655.
1154 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1156 * insetoptarg.h: remove the editable() method (InsetCollapsable
1157 does it better already)
1159 * insetbibtex.C (normalize_name): new helper function. Changes the
1160 name to be suitable to use in a latex file (relative to master
1161 buffer if necessary).
1162 (latex): use normalize_name.
1164 2004-04-20 Angus Leeming <leeming@lyx.org>
1166 * render_preview.C (startLoading): remove lyxerr statement.
1168 (getPreviewLoader): new helper function.
1170 2004-04-19 Angus Leeming <leeming@lyx.org>
1174 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1176 2004-04-19 Angus Leeming <leeming@lyx.org>
1178 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1180 (add_preview): renamed as add_preview_and_start_loading. Invoke
1181 RenderPreview::startLoading.
1183 * insetinclude.C (metrics, draw): changes due to the changed
1184 RenderPreview interface.
1186 * render_preview.C: remove cached pimage_.
1187 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1188 (draw): don't call startLoading. That's up to the user of
1191 2004-04-16 Angus Leeming <leeming@lyx.org>
1193 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1195 2004-04-13 Angus Leeming <leeming@lyx.org>
1197 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1198 the renderer to inform LyX::updateInset that the inset's status
1199 has changed and it should be redrawn.
1201 * render_button.[Ch] (clone):
1202 * render_graphic.[Ch] (c-tors, clone):
1203 * render_preview.[Ch] (c-tors, clone): ditto.
1205 * render_graphic.[Ch] (connect):
1206 * render_preview.[Ch] (connect): removed, as connection is now
1207 made in the constructors.
1211 * insetinclude.C: ensuing simplification of the client code.
1212 (statusChanged): now superfluous. Removed.
1214 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * ExternalTemplate.[Ch]: remove editCommand
1217 * ExternalSupport.C (editExternal): use formats.edit() instead of
1218 the removed editCommand template parameter
1219 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1220 * insetgraphics.[Ch] (editGraphics): new method
1222 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1224 * insetinclude.C (validate): set/reset features.buffer_ when
1225 validating the child
1227 2004-04-07 Angus Leeming <leeming@lyx.org>
1229 * insetexternal.C (priv_dispatch):
1230 * insetinclude.C (priv_dispatch): prevent crash by invoking
1231 InsetOld::priv_dispatch at the end of the switch, rather than
1232 InsetOld::dispatch...
1234 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1236 * insetcollapsable.C:
1237 * insetbranch.C: 'assign' to open/close branch inset according to
1238 selection; also print content on closed branch button
1240 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1242 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1243 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1244 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1246 * ExternalSupport.C (updateExternal): use absolute and output
1247 filename where appropriate
1249 2004-04-05 André Pönitz <poenitz@gmx.net>
1251 * insetbase.h: use LCursor & in notifyCursorLeave
1253 2004-04-05 Angus Leeming <leeming@lyx.org>
1255 * insetgraphics.C: remove unused header file "lyxrc.h".
1257 * render_graphic.C: squash bug 1372: Misleading graphics label when
1258 deactivating lyx view.
1260 2004-04-05 Angus Leeming <leeming@lyx.org>
1265 * insetlatexaccent.C:
1270 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1272 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1274 * insetfloat.C (read): fix yesterday's float fix.
1275 * insetwrap.C (read): apply the fixed float fix.
1277 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1279 * insetfloat.C (read): fix reading of float params
1282 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1284 * insettext.C (edit): comment the call to updateLocal (dangling now)
1285 * insettext.h: add allowSpellCheck() returning true
1287 2004-03-31 Angus Leeming <leeming@lyx.org>
1289 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1291 2004-03-31 Angus Leeming <leeming@lyx.org>
1293 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1294 the cursor out of an inset.
1296 * insetbranch.C (priv_dispatch):
1297 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1298 use getOutOfInset to push the cursor out of the inset when
1301 2004-03-30 Angus Leeming <leeming@lyx.org>
1303 * insetbase.[Ch] (translate): new static member function, returns
1304 an InsetBase::Code corresponding to the input string.
1306 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1308 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1309 so that it opens the inset if it refers to the currently active
1312 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1314 * insetfloat.C (addToToc): use par_const_iterator_begin and
1315 par_const_iterator_end.
1317 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1319 * insetbibtex.[Ch]: bibtopic support.
1321 * insetfloat.[Ch]: add param \sideways {true|false}
1322 (support for sideways floats from rotating.sty).
1324 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1326 * insettext.[Ch]: add a default ctor. implement const version of
1332 * insetwrap.C: adjust
1334 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1336 * insettext.h: add insetAllowed returning true by default (fixing
1337 vanishing insets problem)
1339 * insettext.C (draw): handle the responsability of adding the
1340 ouside offset to collapsable. Clean code a bit.
1342 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1343 from insettext correctly, solve a couple of off-by-one drawing
1346 2004-03-25 Angus Leeming <leeming@lyx.org>
1348 * insetcaption.C (draw): squash warning about unused variable.
1350 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1352 * ExternalSupport.C: use the master buffer's temp dir
1353 * insetgraphics.C (latex): make relative filename relative to the
1355 * insetgraphics.C: use the master buffer's temp dir
1356 * insetinclude.C (masterFilename): new function
1357 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1358 is always true if loadIfNeeded() returns true)
1360 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1362 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1363 set its parent to the current buffer.
1364 (latex): use the tmppath of the master buffer, not just the parent
1365 buffer (makes a difference with more than one level of include
1366 insets). If the file name is relative write in the .tex file a
1367 name relative to the master buffer directory.
1369 * insetinclude.C: rename masterFilename to parentFilename (this
1370 points to the direct parent)
1372 2004-03-25 André Pönitz <poenitz@gmx.net>
1374 * inset.[Ch]: remover owner
1376 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1384 * insetcharstyle.[Ch]:
1392 * insetwrap.C: adjust
1394 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1396 * insetquote.C: use opening quote after '[' char.
1398 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1400 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1403 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1405 * insetcite.[Ch]: support jurabib.
1407 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1409 * insetcite.C: Support second \cite option.
1411 * insetcommand.[Ch]:
1412 * insetcommandparams.[Ch]: add second optional argument.
1414 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1416 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1417 shows the inset dialog.
1419 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1421 * insetlabel.[Ch]: remove them
1422 * Makefile.am: adjust
1424 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1426 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1428 * insetinclude.C (latex): show a GUI warning if textclasses don't
1430 * insetinclude.C: use mangledFilename() for temp files
1431 * insetgraphics.C (readInsetGraphics): remove version check, since
1432 the graphics inset has no own fileformat number anymore
1434 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1436 * insetquotes.[Ch]: added new member that allows direct access
1437 to single/double quotation marks.
1438 * insetnewline.[Ch]:
1439 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1441 2004-02-16 André Pönitz <poenitz@gmx.net>
1444 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1445 implicitly assume 'DispatchResult(true, true) with exception of
1446 InsetBase::priv_dispatch which does the equivalent of
1447 'retrun DispatchResult(false)'
1449 * inset*.[Ch] (priv_dispatch): adjust
1451 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1452 simplify cursor moving function,
1453 re-enable horizontal scrolling for large tables
1455 2004-02-13 André Pönitz <poenitz@gmx.net>
1457 * insettabular.[Ch]: some work after IU
1459 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1461 * inset.C (setPosCache): switch to absolute coords in insets
1462 * insettext.[Ch] (draw, drawFrame): adjust
1463 * insetcollapsable.C (draw): adjust
1466 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1468 * insettext.C (edit):
1469 (updateLocal): use the cur argument instead of the global cursor
1470 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1472 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1476 * insetfloat.C (validate): "H" -> 'H' in call to contains
1478 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1480 2004-01-30 André Pönitz <poenitz@gmx.net>
1484 * insetcollapsable.[Ch]:
1487 * insetgraphics.[Ch]:
1489 * insettabular.[Ch]:
1492 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1495 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * insettabular.C: add using statement for std::vector, remove
1498 std:: where using was already used.
1500 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1502 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1504 * insetinclude.C (validate): use feautures.nice() instead of
1507 2004-01-20 André Pönitz <poenitz@gmx.net>
1510 * insetbase.[Ch]: move stuff from mathcursor here.
1512 * insetbibitem.[Ch]:
1516 * insetcharstyle.[Ch]:
1517 * insetcollapsable.[Ch]:
1518 * insetcommand.[Ch]:
1520 * insetexternal.[Ch]:
1522 * insetgraphics.[Ch]:
1523 * insetinclude.[Ch]:
1527 * insettabular.[Ch]:
1531 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1534 2004-01-15 André Pönitz <poenitz@gmx.net>
1537 * insetbibitem.[Ch]:
1541 * insetcharstyle.[Ch]:
1542 * insetcollapsable.[Ch]:
1543 * insetcommand.[Ch]:
1545 * insetexternal.[Ch]:
1547 * insetgraphics.[Ch]:
1548 * insetinclude.[Ch]:
1552 * insettabular.[Ch]:
1556 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1558 2004-01-08 André Pönitz <poenitz@gmx.net>
1560 * insetcollapsable.[Ch]:
1561 * insettabular.[Ch]:
1563 * updatableinset.h: use cell index info from global cursor.
1565 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1567 * insetnote.C (InsetNoteParams::write): write label only once
1569 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1573 get rid of the SameName functor
1575 * insettabular.C: improve the functor.
1577 2003-12-29 Angus Leeming <leeming@lyx.org>
1579 * insetexternal.C (setParams): update defaultTemplateName.
1581 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1583 * insetbox.C: Use term "Box" in button label
1585 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1587 * insetcharstyle.C: get getDrawFont working again
1589 2003-12-15 André Pönitz <poenitz@gmx.net>
1591 * insettabular.[Ch]:
1592 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1594 2003-12-12 Angus Leeming <leeming@lyx.org>
1596 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1598 (InsetBranchParams): remove the branchlist hack.
1599 (isBranchSelected): new function, used to decide whether to
1600 print each output format. Also used by InsetList.
1601 (read, string2params): repair my own breakage ;-)
1603 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1605 * insetminipage.[Ch]: remove from repository.
1607 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1610 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1611 insetert to insetcollapsable; introduce virtual function
1612 setButtonLabel and invoke it from collapsable
1614 2003-12-12 Angus Leeming <leeming@lyx.org>
1616 * insetinclude.C (draw): cache x,y and so enable the
1617 dialog to be opened.
1619 2003-12-12 Angus Leeming <leeming@lyx.org>
1621 * mailinset.C (print_mailer_error): tidy up the output.
1623 2003-12-11 Angus Leeming <leeming@lyx.org>
1625 * mailinset.[Ch] (print_mailer_error): new helper function.
1627 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1628 calling InsetCommandMailer.
1629 (InsetCommandMailer::string2params): pass the name of the dialog.
1631 * insetbibitem.[Ch] (d-tor):
1632 * insetbibtex.[Ch] (d-tor):
1633 * insetcite.[Ch] (d-tor):
1634 * insetfloatlist.[Ch] (d-tor):
1635 * insetindex.[Ch] (d-tor):
1636 * insetlabel.[Ch] (d-tor):
1637 * insetref.[Ch] (d-tor):
1638 * insettoc.[Ch] (d-tor):
1639 * inseturl.[Ch] (d-tor): removed.
1640 Hiding the dialog is handled by InsetCommand.
1642 * insetbibtex.[Ch] (draw, metrics):
1643 * insetfloatlist.[Ch] (draw, metrics):
1644 * insetindex.[Ch] (draw, metrics): removed.
1645 Drawing is handled by InsetCommand.
1647 * insetbibitem.[Ch] (priv_dispatch):
1648 * insetbibtex.[Ch] (priv_dispatch):
1649 * insetcite.[Ch] (priv_dispatch):
1650 * insetfloatlist.[Ch] (priv_dispatch):
1651 * insetindex.[Ch] (priv_dispatch):
1652 * insetlabel.[Ch] (priv_dispatch):
1653 * insettoc.[Ch] (priv_dispatch):
1654 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1655 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1656 LFUN_INSET_DIALOG_SHOW.
1658 * insetbox.C (string2params):
1659 * insetbranch.C (string2params):
1660 * insetert.C (string2params):
1661 * insetexternal.C (string2params):
1662 * insetfloat.C (string2params):
1663 * insetinclude.C (string2params):
1664 * insetminipage.C (string2params):
1665 * insetnote.C (string2params):
1666 * insetvspace.C (string2params):
1667 * insetwrap.C (string2params): over-hauled.
1669 2003-12-10 Angus Leeming <leeming@lyx.org>
1671 * insetexternal.[Ch]: add a draft option and respect it when
1674 2003-12-10 Angus Leeming <leeming@lyx.org>
1676 * insetbox.C: (read, write): now prepend the inset contents with
1677 'Box' to identify the inset as a box inset.
1679 * insetbox.h: move the translators out of sight.
1681 2003-12-10 Angus Leeming <leeming@lyx.org>
1683 * insetert.C (string2params): clean-up using the new lyxlex interface.
1685 * insetexternal.C: ensure that InsetExternalParams has a default
1686 template, 'RasterImage'.
1688 2003-12-10 Angus Leeming <leeming@lyx.org>
1690 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1691 to an enum. Ensuing clean-ups through out the class.
1692 (read, write): now prepend the inset contents with 'Note' to identify
1693 the inset as a note inset.
1695 2003-12-10 Angus Leeming <leeming@lyx.org>
1697 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1698 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1700 2003-12-10 André Pönitz <poenitz@gmx.net>
1704 * insettabular.[Ch]:
1705 * insettext.[Ch]: remove unused insetInset()
1707 * insetert.C: disable some LFUNs
1709 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1711 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1713 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1715 2003-12-04 Angus Leeming <leeming@lyx.org>
1717 * insetexternal.C (draw): update the xo_, yo_ cache.
1719 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1721 (RotationDataType): new helper struct wrapping the
1722 RotationData::OriginType enum.
1724 2003-12-03 André Pönitz <poenitz@gmx.net>
1726 * inset.h: remove getParagraphs()
1728 * insetcollapsable.[Ch]:
1731 * insettabular.[Ch]:
1732 * insettext.C: use getText() instead of getParagraphs()
1734 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1736 * insetert.C: fix label text updating bug
1738 2003-12-02 Angus Leeming <leeming@lyx.org>
1740 * insetvspace.[Ch] (space): new member function. Make space_ private.
1741 (read): use the new, simpler lyxlex syntax.
1743 2003-12-01 André Pönitz <poenitz@gmx.net>
1745 * insetcollapsable.[Ch]:
1746 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1748 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1750 * insetvspace.C (read): handle 'end_inset' token.
1752 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1754 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1756 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1758 * insetcollapsable.[Ch]:
1760 * insetcharstyle.C: place inset content on the button when
1763 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1765 * insetvspace.C: remove VSpace::NONE; increase inset width
1767 2003-12-01 André Pönitz <poenitz@gmx.net>
1769 * insetbase.h: whitespace
1771 * inset.[Ch]: remove latexTextWidth
1772 make setBackgroundColor virtual
1774 * insettext.[Ch]: move ParagraphList member to LyXText
1776 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1782 * insetminipage.[Ch]:
1784 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1786 2003-11-28 Angus Leeming <leeming@lyx.org>
1788 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1789 hiding and showing the dialog respectively.
1790 (priv_dispatch): also actually update the inset contents.
1792 2003-11-28 Angus Leeming <leeming@lyx.org>
1794 * insetbox.C (d-tor):
1795 * insetbranch.C (d-tor):
1796 * insetcite.C (d-tor):
1797 * insetfloat.C (d-tor):
1798 * insetfloatlist.C (d-tor):
1799 * insetinclude.C (d-tor):
1800 * insetindex.C (d-tor):
1801 simplify the invocation of the Mailer::hideDialog() function.
1803 * insetminipage.C (showInsetDialog):
1804 simplify the invocation of the Mailer::showialog() function.
1806 2003-11-28 André Pönitz <poenitz@gmx.net>
1809 * insetvspace.[Ch]: new insets
1811 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1813 * insetcharstyle.C: Syntax change for CharStyles
1815 2003-11-28 André Pönitz <poenitz@gmx.net>
1817 * updatableinset.h: remove insetInInsetY
1819 * insetcollapsable.[Ch]:
1821 * insettabular.[Ch]:
1822 * insettext.[Ch]: adjust
1824 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1828 * insetcollapsable.[Ch]:
1830 * insettabular.[Ch]: remove setFont
1832 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1834 * render_graphic.[Ch]: adjust comments
1836 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1838 * insetgraphics.C (draw): cache xo_ & yo_
1840 2003-11-24 André Pönitz <poenitz@gmx.net>
1842 * insettext.C (setViewCache): don't call LyXText::init() anymore
1844 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1847 * insetcollapsable.[Ch]:
1848 * insetert.[Ch]: remove bufferview parameter in methods
1849 open, close, status, and updateStatus.
1851 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1853 * insetcollapsable.[Ch]:
1854 * insettabular.[Ch]:
1855 * insettext.[Ch] (getCursorDim): squash unused variable
1857 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1859 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1861 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1863 * insettext.C (draw): sets LyXText absolute coordinates
1865 2003-11-20 Angus Leeming <leeming@lyx.org>
1867 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1868 warnings about unused parameters.
1870 * insetcollapsable.C (open):
1871 * insettabular.C (pasteSelection):
1872 * insettoc.C (draw): ditto.
1874 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1876 * insetcollapsable.C:
1878 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1879 remove mouse_x mouse_y etc.
1881 2003-11-17 André Pönitz <poenitz@gmx.net>
1883 * insettext.[Ch] (cx, cy): remove
1885 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1887 2003-11-13 André Pönitz <poenitz@gmx.net>
1890 * insetcollapsable.[Ch]:
1891 * insettabular.[Ch]:
1892 * insettext.[Ch] (deleteLyXText): remove
1894 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1896 * insetcollapsable.[Ch] (fitInsetCursor): remove
1897 * insettabular.[Ch] (fitInsetCursor): remove
1898 * insettext.[Ch] (fitInsetCursor): remove
1899 * updatableinset.[Ch] (fitInsetCursor): remove
1900 (getCursorDIm): add virtual
1902 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1904 * src/insets/Makefile.am:
1905 * src/insets/inset.h:
1906 * src/insets/insetcharstyle.C:
1907 * src/insets/insetcharstyle.h: The Character Style /XML short
1910 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1912 * insettext.C: remove all update calls
1913 * insetcollapsable.C: remove all update calls
1915 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1917 * insettext.C (updateLocal, insertInset, setFont): remove
1920 2003-11-10 André Pönitz <poenitz@gmx.net>
1922 * inset.h: remove Inset::id_
1924 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1929 2003-11-10 André Pönitz <poenitz@gmx.net>
1933 * insetcollapsable.[Ch]:
1937 * insettabular.[Ch]:
1940 * updatableinset.[Ch]: remove inset locking & adjust
1942 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1944 * inset.h (allowSpellCheck): add (return true)
1945 * insetert.h (allowSpellCheck): add (return false)
1947 2003-11-05 José Matos <jamatos@lyx.org>
1953 * insetcaption.[Ch]:
1955 * insetcollapsable.[Ch]:
1956 * insetcommand.[Ch]:
1959 * insetexternal.[Ch]:
1961 * insetfloatlist.[Ch]:
1963 * insetgraphics.[Ch]:
1965 * insetinclude.[Ch]:
1968 * insetlatexaccent.[Ch]:
1971 * insetmarginal.[Ch]:
1972 * insetminipage.[Ch]:
1973 * insetnewline.[Ch]:
1976 * insetpagebreak.[Ch]:
1980 * insetspecialchar.[Ch]:
1981 * insettabular.[Ch]:
1983 * insettheorem.[Ch]:
1986 * insetwrap.[Ch]: rename ascii to plaintext
1987 and LatexRunParams to OutputParams.
1989 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1991 * insetcollapsable.C (edit): add open() all
1992 * insettext.C (edit): add setViewCache call
1994 2003-11-04 André Pönitz <poenitz@gmx.net>
1996 * inset.h (edit): move locking code from dispatch() to edit()
2002 * insetcollapsable.[Ch]:
2005 * insetexternal.[Ch]:
2006 * insetgraphics.[Ch]:
2011 * insettabular.[Ch]:
2012 * insettext.[Ch]: adjust
2014 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2017 * insetcollapsable.[Ch]:
2019 * insettabular.[Ch]:
2021 * updatableinset.[Ch]: remove dead search code
2023 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2026 * insetcollapsable.[Ch]:
2028 * insettabular.[Ch]:
2030 * updatableinset.[Ch]: remove dead spellcheck code
2032 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2034 * insettabular.C (lockInsetInInset): small fix
2036 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2039 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2040 from here. Be stricter on DispatchResult returned.
2042 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * Inset::dispatch's: adjust for new DispatchResult semantics.
2046 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * render_base.h: make clone return an auto_ptr
2049 * render_button.C (clone): adjust
2050 * render_graphic.C (clone): adjust
2051 * render_preview.C (clone): adjust
2053 * insettheorem.C (clone): return an auto_ptr
2055 * insettext.C (priv_dispatch): exception safety
2057 * insettabular.C: store the file scope variable paste_tabular in a
2058 scoped_ptr, adjust usage.
2060 * insetexternal.C (setParams): exception safety
2062 * insetbibitem.C (clone): exception safety
2064 2003-11-03 André Pönitz <poenitz@gmx.net>
2067 * insetcollapsable.[Ch]:
2068 * insettabular.[Ch]:
2069 * insettext.[Ch]: remove Inset::id and related functions
2071 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * insets: adjust for DispatchResult changes.
2075 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2077 * insetpagebreak.C: fix screen representation & ascii output.
2079 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2083 * insettabular.[Ch]:
2084 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2086 2003-10-31 José Matos <jamatos@lyx.org>
2088 * inset.h (ascii, linuxdoc, docbook):
2089 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2090 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2091 * insetcaption.[Ch] (ascii, docbook):
2092 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2093 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2094 * insetert.[Ch] (ascii, linuxdoc, docbook):
2095 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2096 * insetfloat.[Ch] (linuxdoc, docbook):
2097 * insetfloatlist.[Ch] (ascii):
2098 * insetfoot.[Ch] (docbook):
2099 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2100 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2101 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2102 * insetindex.[Ch] (docbook):
2103 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2104 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2105 * insetline.[Ch] (ascii, linuxdoc, docbook):
2106 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2107 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2108 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2109 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2110 * insetref.[Ch] (ascii, linuxdoc, docbook):
2111 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2112 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2113 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2114 * insettext.[Ch] (ascii, linuxdoc, docbook):
2115 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2116 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2117 * insetwrap.[Ch] (docbook):
2118 add LatexRunParams argument.
2120 2003-10-30 José Matos <jamatos@lyx.org>
2122 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2124 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * updatableinset.C (priv_dispatch):
2127 * insetwrap.C (priv_dispatch):
2128 * inseturl.C (priv_dispatch):
2129 * insettoc.C (priv_dispatch):
2130 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2131 (moveLeftIntern, moveUp, moveDown):
2132 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2133 (moveLeft, moveUp, moveDown):
2134 * insetref.C (priv_dispatch):
2135 * insetnote.C (priv_dispatch):
2136 * insetminipage.C (priv_dispatch):
2137 * insetlabel.C (priv_dispatch):
2138 * insetindex.C (priv_dispatch):
2139 * insetinclude.C (priv_dispatch):
2140 * insetgraphics.C (priv_dispatch):
2141 * insetfloatlist.C (priv_dispatch):
2142 * insetfloat.C (priv_dispatch):
2143 * insetexternal.C (priv_dispatch):
2144 * insetert.C (priv_dispatch):
2145 * insetcommand.C (priv_dispatch):
2146 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2147 * insetcite.C (priv_dispatch):
2148 * insetbranch.C (priv_dispatch):
2149 * insetbox.C (priv_dispatch):
2150 * insetbibtex.C (priv_dispatch):
2151 * insetbibitem.C (priv_dispatch):
2152 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2154 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2156 * insettext.C: small refactoring of docbook stuff
2158 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2161 (priv_dispatch): adjust for operator dispatch_result_t removal
2163 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2164 in a DispatchResult, adjust accordingly.
2165 (priv_dispatch): use strange >= construct... (will be removed later)
2167 * most insets: dispatch_result -> DispatchResult
2169 * insetbase.h: move DispatchResult out to dispatchresult.h
2171 2003-10-27 André Pönitz <poenitz@gmx.net>
2173 * insetpagebreak.[Ch]: new inset for page breaks
2175 * insetline.[Ch]: new inset for vertical lines
2180 2003-10-25 Angus Leeming <leeming@lyx.org>
2182 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2183 new virtual member functions, specialised...
2184 * render_button.h (asButton):
2185 * render_graphic.h (asGraphic):
2186 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2188 * insetexternal.C: use these new functions rather than dynamic_cast.
2189 Various other small simplifications.
2191 2003-10-22 Angus Leeming <leeming@lyx.org>
2193 * insetexternal.[Ch]: add the ability to 'preview' the external file
2196 * insetinclude.C: changes due to the changes in the RenderPreview
2199 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2200 message if the preview image is not available. Only initiate the
2201 loading of the preview from draw(). Ditto, start the monitoring
2202 of an external file from RenderMonitoredPreview::draw.
2204 2003-10-22 Angus Leeming <leeming@lyx.org>
2206 * insetcite.[Ch] (setLoadingBuffer): removed.
2207 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2208 ascertain whether to proceed with the (expensive) task of computing
2209 the natbib-style label. Remove the home-grown hack providing
2210 similar functionality.
2212 2003-10-22 Angus Leeming <leeming@lyx.org>
2214 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2215 class and into an anonymous namespace.
2217 2003-10-22 Angus Leeming <leeming@lyx.org>
2219 * insetcommand.h: remove the display method.
2223 * insetindex.h (InsetPrintIndex):
2224 * insettoc.h: add a display method, returning true.
2226 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2228 * insetcollapsable.h:
2232 * insetinclude.h: (1) finish off the inset display() work;
2233 (2) fix the "is a bit silly" bug (accessing char
2236 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2240 * insetfootlike.h: re-introduce display() for insets,
2241 fixing the various bugs (stretch of line above, math inset
2244 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2246 * insetbase.C (dispatch): new func
2247 (priv_dispatch): new func replaces...
2248 (localDispatch): this, deleted.
2250 * all insets with dispatch modified for new code.
2252 2003-10-15 André Pönitz <poenitz@gmx.net>
2254 * insetcollapsable.[Ch]
2256 * inset.h: re-add some edit(bv, index) method called by undo
2258 2003-10-14 Angus Leeming <leeming@lyx.org>
2260 * insetexternal.[Ch] (view, cache, view_):
2261 * insetgraphics.[Ch] (view, cache, view_):
2262 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2263 (statusChanged): call LyX::cref().updateInset.
2265 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2266 the BufferView cache.
2268 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2271 2003-10-14 Angus Leeming <leeming@lyx.org>
2273 * insetinclude.C (metrics, draw): only draw the preview when previews
2276 2003-10-14 André Pönitz <poenitz@gmx.net>
2278 * insetcollapsable.[Ch]:
2279 * insettabular.[Ch]:
2281 * inset.h: getText() as alternative to getParagraphs()
2283 2003-10-13 Angus Leeming <leeming@lyx.org>
2286 * insetgraphicsParams.C: displayTranslator is now a function.
2288 2003-10-13 Angus Leeming <leeming@lyx.org>
2290 * insetinclude.C: remove #include "PreviewImage.h".
2292 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * ExternalSupport.C:
2295 * ExternalTransforms.C:
2297 * insetbox.h: ws changes only
2299 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2301 * insetinclude.C (localDispatch): do not call
2302 InsetOld::localDispatch, just return UNDISPATCHED
2303 * insetgraphics.C (localDispatch): ditto
2304 * insetcommand.C (localDispatch): ditto
2306 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * inset.h: get rid of RESULT typedef for dispatch_result
2310 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2311 * insetert.[Ch] (localDispatch): ditto
2312 * insettabular.[Ch] (localDispatch): ditto
2317 * insettext.[Ch] (localDispatch): ditto
2320 (moveRightIntern): ditto
2321 (moveLeftIntern): ditto
2324 * updatableinset.[Ch] (localDispatch): ditto
2326 2003-10-12 Angus Leeming <leeming@lyx.org>
2328 * renderbase.h (view, view_): removed.
2329 * renderbase.C: removed.
2330 * Makefile.am: remove render_base.C. The shortest lived file in
2333 * renderbutton.C (draw):
2334 * render_graphic.C (draw): don't cache the BufferView.
2336 * insetabase.h (cache, view): removed.
2338 * inset.h (generatePreview) removed.
2340 * insetcallapsable.[Ch] (cache, view, view_): removed.
2342 * insetcollapsable.C (draw): don't cache the BufferView.
2344 * insetcommand.[Ch] (view): removed.
2346 * insetexternal.[Ch] (cache, view, view_):
2347 * insetgraphics.[Ch] (cache, view, view_):
2348 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2350 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2351 when you have direct access to it. In fact, don't use the cache at all.
2353 2003-10-10 Angus Leeming <leeming@lyx.org>
2355 * insetinclude.C (metrics): use preview_->metrics.
2356 (draw): use preview_->draw.
2358 * render_preview.[Ch] (pimage): removed.
2360 2003-10-10 Angus Leeming <leeming@lyx.org>
2362 * renderers.[Ch]: removed.
2365 * render_button.[Ch]:
2366 * render_graphic.[Ch]:
2367 * render_preview.[Ch]: new files. The first three are split out of
2368 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2369 contains a re-worked InsetInclude::PreviewImpl also.
2371 * Makefile.am: reflect the changed files.
2374 * insetexternal.[Ch]:
2375 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2377 * insetinclude.[Ch]: changes reflecting the change from
2378 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2384 * inseturl.C: add #include "support/std_ostream.h"
2386 2003-10-09 Angus Leeming <leeming@lyx.org>
2388 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2389 to PreviewedInset::previewReady.
2391 2003-10-09 Angus Leeming <leeming@lyx.org>
2393 * insetexternal.[Ch] (statusChanged):
2394 * insetgraphics.[Ch] (statusChanged): make a const member function.
2396 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2399 2003-10-09 Angus Leeming <leeming@lyx.org>
2401 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2402 to PreviewedInset's previewReady and removePreview member functions.
2404 2003-10-08 André Pönitz <poenitz@gmx.net>
2406 * insetcollapsable.C:
2407 * insettext.[Ch]: saner 'init' structure
2409 * updatableinset.[Ch]: remove unneeded code
2411 2003-10-08 Angus Leeming <leeming@lyx.org>
2413 Fix doxygen warnings.
2415 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2416 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2418 2003-10-07 Angus Leeming <leeming@lyx.org>
2420 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2421 be applied to InsetExternal.
2423 * Makefile.am: add these new files.
2425 * ExternalTemplate.[Ch]: add a list of available transforms to
2426 class Template and a list of factory functions for transformer classes
2427 that can act on this data to class Format.
2429 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2431 * ExternalSupport.C: Add code to replace transform placeholders
2432 with appropriate output.
2434 2003-10-07 Angus Leeming <leeming@lyx.org>
2436 * ExternalSupport.[Ch]: new files, moving the private member functions
2437 and namespace anon functions out of insetexternal.C to here, so making
2438 it easier to understand what is going on in insetexternal itself.
2440 * Makefile.am: add new files.
2442 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2443 allowing the class to be forward declared. (Also consistent with
2444 all other Params classes.)
2445 (write): moved out of the class. Move this function and those in
2446 namespace anon to ExternalSupport.[Ch].
2448 2003-10-07 Angus Leeming <leeming@lyx.org>
2450 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2451 non-const member function.
2453 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2458 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2460 2003-10-02 André Pönitz <poenitz@gmx.net>
2462 * insettext.C (read): make sure there is at least one par
2463 in the text after reading.
2465 2003-10-01 José Matos <jamatos@lyx.org>
2467 * insetbranch.C (linuxdoc, docbook): minor fix.
2469 2003-10-01 Angus Leeming <leeming@lyx.org>
2471 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2473 * insetexternal.[Ch]: changes due to the introduction of
2474 namespace lyx::external.
2476 2003-09-30 Angus Leeming <leeming@lyx.org>
2478 * insetexternal.[Ch] (Params::read, write): new member functions.
2480 2003-09-25 Angus Leeming <leeming@lyx.org>
2482 * insetexternal.[Ch] (TempName): new (private) nested struct with
2483 fake copy semantics. Enables us to use the generated copy c-tor
2484 in the Params struct.
2485 (Params::templatename, Params::tempname): use accessor functions.
2487 2003-09-25 Angus Leeming <leeming@lyx.org>
2489 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2490 function, returning a const pointer.
2492 2003-09-23 Angus Leeming <leeming@lyx.org>
2494 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2495 store them in a vector, preambleNames.
2497 * insetexternal.C (validate): loop over all preambleNames and call
2498 LaTeXFeatures::addExternalPreamble with each.
2500 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2502 * insetbranch.C: bug fix in branches
2504 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2506 * insetnote.C: small clean-up.
2508 2003-09-19 Angus Leeming <leeming@lyx.org>
2510 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2512 * insetcommand.C (string2params): clear params using the default c-tor.
2514 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2515 InsetInclude::Params. No more data in this struct than in
2516 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2517 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2518 (clone): remove #warning as it's now redundant.
2519 (set): add a 'Buffer const &' arg. Make private.
2520 (loadIfNeeded) move out of the class definition and into namespace anon.
2521 (getMasterFilename, getFileName): ditto.
2523 2003-09-18 Angus Leeming <leeming@lyx.org>
2525 * insetcommand.C (setParams): use the params' copy constructor.
2527 2003-09-18 Angus Leeming <leeming@lyx.org>
2529 * insetinsetbase.h (getLabelList):
2530 * insetinsetcollapsable.[Ch] (getLabelList):
2531 * insetinsetinclude.[Ch] (getLabelList):
2532 * insetinsetlabel.[Ch] (getLabelList):
2533 * insetinsettabular.[Ch] (getLabelList):
2534 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2535 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2537 2003-09-18 Angus Leeming <leeming@lyx.org>
2539 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2540 redundant baggage from yesteryear.
2541 Remove Params::flag as it is redundant; the info is present in
2544 2003-09-18 Angus Leeming <leeming@lyx.org>
2546 * insetinclude.C (latexString): add a Buffer const & arg.
2548 2003-09-18 Angus Leeming <leeming@lyx.org>
2553 * insettext.h: rename EnumLColor as LColor_color.
2555 2003-09-18 Angus Leeming <leeming@lyx.org>
2557 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2558 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2560 2003-09-16 Angus Leeming <leeming@lyx.org>
2562 * insetinclude.C (localDispatch): ensure that
2563 params_.masterFilename_ is set before trying to generate a
2564 preview, else we trigger an assert.
2566 2003-09-16 Angus Leeming <leeming@lyx.org>
2568 * insetinclude.C (PreviewImpl::parent): return a const reference.
2570 2003-09-16 Angus Leeming <leeming@lyx.org>
2572 * insetcollapsable.[Ch]: make all member variables, except for
2575 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2576 than access labelfont directly.
2577 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2578 use InsetCollapsable::setCollapsed, isOpen rather than access
2579 collapsed_ directly.
2581 * insetminipage.C (metrics):
2582 * insetnote.C (metrics):
2583 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2584 access collapsed_ directly.
2586 2003-09-16 Angus Leeming <leeming@lyx.org>
2588 * insetbibitem.C: add #include "lyxfont.h".
2590 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * insetbibtex.C: use namespace alias for lyx::support::os
2595 2003-09-16 Angus Leeming <leeming@lyx.org>
2597 * insetcollapsable.h: remove unused framecolor variable.
2598 Remove #include "LColor.h".
2600 * insetcollapsable.C: remove unused framecolor variable.
2603 * insetcollapsable.C:
2611 Add #include "LColor.h".
2613 2003-09-16 Angus Leeming <leeming@lyx.org>
2615 * insettext.[Ch] (frameColor): new accessor function.
2616 (frame_color_): stored as an int, allows us to remove #include
2617 "LColor.h" from insettext.h
2622 add #include "LColor.h".
2624 * insetcollapsable.h: add #include "LColor.h"
2625 (for its framecolor member variable).
2627 2003-09-16 Angus Leeming <leeming@lyx.org>
2629 * insetenv.C (constructor): use accessor functions to access
2630 InsetText variables.
2632 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2633 rename frame_color as frame_color_. Make private.
2635 * insettext.C: associated changes.
2637 2003-09-16 Angus Leeming <leeming@lyx.org>
2639 * inset.h: store background_color_ as an int, not as an
2640 LColor::color to get LColor.h out of the header file.
2643 * insetlatexaccent.C:
2646 * insetspecialchar.C:
2648 add #include "LColor.h".
2650 2003-09-16 Angus Leeming <leeming@lyx.org>
2652 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2653 cannot string calls together.
2655 2003-09-15 Angus Leeming <leeming@lyx.org>
2657 * inset.[Ch] (setBackgroundColor, backgroundColor):
2658 * insettext.[Ch] (setFrameColor):
2659 pass EnumLColor args, rather than LColor::color ones.
2661 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * insetwrap.C: remove usage of STRCONV
2673 2003-09-15 Angus Leeming <leeming@lyx.org>
2675 * renderers.C (draw):
2676 * insetlatexaccent.C (draw): explicitly define the color passed to
2679 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2681 * insettext.C: remove block causing problems in lockInsetInInset
2682 (mentioned erroneously under Bug #1366)
2684 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2686 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2689 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2691 * several files: change Assert to BOOST_ASSERT
2693 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2695 * insettext.[Ch]: remove drawText[XY]Offset
2697 2003-09-08 Angus Leeming <leeming@lyx.org>
2699 * insetcollapsable.C:
2704 * insetspecialchar.C:
2707 * insettoc.C: remove redundant using directives.
2709 2003-09-07 Angus Leeming <leeming@lyx.org>
2712 * insetspecialchar.h: remove #include "support/std_string.h".
2714 2003-09-06 Angus Leeming <leeming@lyx.org>
2716 * renderers.C: add #include "insets/inset.h"
2718 2003-09-05 Angus Leeming <leeming@lyx.org>
2720 * *.C: strip out redundant #includes. (193 in total.)
2722 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2724 * insets/insetbibtex.[Ch]:
2725 * insets/insetcommand.h:
2726 * insets/insetfloatlist.[Ch]:
2727 * insets/insetinclude.[Ch]:
2728 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2729 of insets like bibtex, include, toc and floatlist to the visible
2730 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2731 up the dialogs. Cursor has to be in front of the inset (i.e.
2732 start of row) for this to function.
2734 2003-09-04 Angus Leeming <leeming@lyx.org>
2736 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2737 structure outside of the Format struct. Format::preambleName refers to
2738 an item in the map of all preamble snippets.
2739 Make use of the new Debug::EXTERNAL flag.
2741 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2742 (validate): Small change due to the changed storage of preamble
2745 2003-09-04 Angus Leeming <leeming@lyx.org>
2747 * insetgraphics.C: #include "support/os.h"
2749 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2750 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2751 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2753 * insetcollapsable.h:
2755 * insetnote.C: move #include "funcrequest.h" out of the header file.
2757 2003-09-03 Angus Leeming <leeming@lyx.org>
2759 * insetexternal.C (updateExternal):
2760 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2763 2003-09-03 Angus Leeming <leeming@lyx.org>
2765 * insetexternal.C: don't bring namespace lyx::support into the global
2768 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2770 * insetbranch.C: Add Branch: to label
2772 2003-09-02 John Levon <levon@movementarian.org>
2775 * insettext.C: remove cursor.i[xy]()
2777 2003-08-28 Angus Leeming <leeming@lyx.org>
2779 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2780 "sh ", enabling the conversion to be carried out even if the script
2783 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * most files: change to use const Buffer refs
2787 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2789 * insetfootlike.C: whitespace.
2791 2003-08-26 John Levon <levon@movementarian.org>
2795 * insetindex.h: remove remaining mentions of needFullRow()
2797 2003-08-26 André Pönitz <poenitz@gmx.net>
2803 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2805 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2807 * insetbranch.C: Small fix to prevent a crash on loading.
2809 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2814 * insetcollapsable.h:
2816 * insetfloatlist.[Ch]:
2817 * insetfootlike.[Ch]:
2818 * insetinclude.[Ch]:
2824 * insettheorem.[Ch]:
2825 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2826 altogether, putting the logic in metrics/draw in the insets.=20
2827 Draws short single row insets with more or less realistic metrics.
2829 2003-08-19 André Pönitz <poenitz@gmx.net>
2831 * insettext.C: use new RowPainter interface
2833 2003-08-18 John Levon <levon@movementarian.org>
2835 * insetref.C: require amsmath for eqref
2837 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2841 * insetbranch.[Ch]: implements the 'branch inset'
2842 idea. This allows the output of various versions of a document
2843 from a single source version, selectively outputing or suppressing
2844 output of parts of the text.
2845 This implementation contains a 'branch list editor' in a separate
2846 tab of the document settings dialog. Branches are user definable
2847 and have a "display colour" to distinguish them on-screen.
2849 ColorHandler was somewhat cleaned up.
2850 (1) make possible a dynamically growing LColor list by allowing
2851 the graphic context cache to grow along (vector);
2852 (2) eliminate an IMHO unnecessary step in colour allocation.
2854 2003-08-15 André Pönitz <poenitz@gmx.net>
2856 * insettext.[Ch]: adjust after rowlist split
2858 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2860 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2861 rename valign-center to valign-middle;
2862 rename VALIGN_CENTER to VALIGN_MIDDLE
2864 2003-08-11 André Pönitz <poenitz@gmx.net>
2866 * inset.h: remove resizeLyXText
2869 * insetcollapsable.[Ch]:
2871 * insettabular.[Ch]: adjust
2873 * insettext.[Ch]: remove saveLyXTextState,
2874 restoreLyXTextStat, sstate, reinitLyXText
2876 2003-08-07 André Pönitz <poenitz@gmx.net>
2878 * inset.[Ch]: move non-crucial functions out-of-line
2880 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2881 remove duplicated code.
2883 2003-08-05 André Pönitz <poenitz@gmx.net>
2886 * insetcollapsable.[Ch]:
2896 * insettabular.[Ch]:
2899 * updatableinset.[Ch]: rip out "deep update"
2901 * insettext.C (localDispatch): merge cases with default branch
2903 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2905 * insettabular.[Ch] (updateLocal): simplify logic
2907 2003-08-04 André Pönitz <poenitz@gmx.net>
2909 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2910 is 'FULL' all the time.
2912 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2914 * insetert.C (get_new_label): only add ... to the (closed) label
2915 when the string has been shortened
2917 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2919 * Always use std::endl with lyxerr
2921 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2923 * insetnote.C: update \author list
2925 2003-07-31 André Pönitz <poenitz@gmx.net>
2927 * insetcollapsable.h:
2928 * insettabular.[Ch]:
2929 * insettext.[Ch]: remove toggleSelection
2931 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2933 (with help from Juergen Spitzmueller)
2934 * insetnote.C: add add i18n support. Use Prefs-definable
2935 colours for Comment and Greyedout.
2937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2939 * insetcollapsable.[Ch]:
2941 * insetert.C: factor out the detection of clicking on the inset
2942 button as 'hitButton'. John Levon contributed.
2944 2003-07-30 André Pönitz <poenitz@gmx.net>
2946 * insetcollapsable.C:
2948 * insettabular.C: parantheses, localize vars etc.
2950 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2952 * insetnote.C: Implement a newenvironment in preamble for
2953 greyedout. Patch provided by Jürgen Spitzmüller.
2955 2003-07-29 Angus Leeming <leeming@lyx.org>
2957 * insetcommand.C (localDispatch): default to
2958 InsetOld::localDispatch.
2960 * insetbibitem.C (localDispatch):
2961 * insetbibtex.C (localDispatch): remove call to
2962 ChangeCitationsIfUnique.
2964 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2966 * insetexternal.C (read): use pushpophelper.
2968 2003-07-28 José Matos <jamatos@lyx.org>
2970 * insetext.C (read): \end_document replaces \the_end.
2972 2003-07-28 José Matos <jamatos@fep.up.pt>
2974 * insetert.C (write): \layout -> \begin_layout.
2975 Add missing \end_layout.
2977 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2979 * insetquotes.C: document a bit the format
2981 * insettabular.C (write): remove extra space
2983 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2984 * insetnote.C: Umpf. Hope I *now* get it right :-(
2986 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2987 *insetnote.C: did the right fix to greyedout: \color
2988 instead of \textcolor.
2990 2003-07-28 Angus Leeming <leeming@lyx.org>
2992 * insetbibtex.h: remove extraneous forward declaration.
2995 * insetbibtex.h: Also remove long-dead Holder member class
2998 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
3000 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
3003 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * insetwrap.C (addToToc): adjust for lyx::toc
3007 * insetfloatlist.C (ascii): adjust for lyx::toc
3009 * insetfloat.C (addToToc): adjust for lyx::toc
3011 2003-07-27 José Matos <jamatos@fep.up.pt>
3013 * insetnote.h (linuxdoc,docbook): update support.
3015 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3017 * insetfloat.C (wide): add a space to label, for consistency
3019 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * insettext.C (nextChange): adjust for lyx::find
3022 (searchForward): ditto
3023 (searchBackward): ditto
3025 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3027 * insetgraphicsParams.C:
3028 * insetexternal.C: declare extern displayTranslator
3031 * renderers.C: add #include "support/LAssert.h"
3033 2003-07-27 José Matos <jamatos@fep.up.pt>
3035 * insetfloat.[Ch] (linuxdoc):
3036 * insetgraphics.C (linuxdoc):
3037 * insettabular.C (linuxdoc):
3038 * insettext.[Ch] (linuxdoc): add support for tables and figures
3041 2003-07-27 José Matos <jamatos@fep.up.pt>
3043 * insetinclude (latex): comply with makeLaTeXFile argument change.
3045 2003-07-26 Asger Alstrup <alstrup@local>
3047 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3048 the undo crashes. We'll see what problems other places this will
3051 2003-07-26 Angus Leeming <leeming@lyx.org>
3053 * insetgraphics.C: remove unused declaration of system_tempdir.
3055 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * rename Inset to InsetOld
3059 * all inset files (clone): return a auto_ptr<InsetBase>
3061 2003-07-23 Angus Leeming <leeming@lyx.org>
3063 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3065 2003-07-23 Angus Leeming <leeming@lyx.org>
3067 * mailinset.[Ch] (inset2string):
3068 * insetcommand.[Ch] (inset2string):
3069 * insetert.[Ch] (inset2string):
3070 * insetexternal.[Ch] (inset2string):
3071 * insetfloat.[Ch] (inset2string):
3072 * insetgraphics.[Ch] (inset2string):
3073 * insetinclude.[Ch] (inset2string):
3074 * insetminipage.[Ch] (inset2string):
3075 * insetnote.[Ch] (inset2string):
3076 * insettabular.[Ch] (inset2string):
3077 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3079 * insetexternal.[Ch]:
3080 * insetgraphics.[Ch]: get rid of the view() function. Associated
3081 changes to the mailers' string2params and params2string functions.
3083 2003-07-23 Angus Leeming <leeming@lyx.org>
3085 * insetexternal.[Ch]: store the external file name in a FileName
3086 member variable rather than a string + associated changes.
3088 2003-07-21 Angus Leeming <leeming@lyx.org>
3090 * insetgraphicsParams.[Ch]: store the graphics file name in
3091 a FileName member variable rather than a string.
3093 * insetgraphics.[Ch]:
3094 * insetgraphicsParams.[Ch]: Associated changes.
3096 2003-07-21 Angus Leeming <leeming@lyx.org>
3098 * insetgraphics.[Ch] (string2params, params2string): passed a
3099 buffer_path argument.
3102 2003-07-21 Angus Leeming <leeming@lyx.org>
3105 * insetgraphicsParams.[Ch]:
3107 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3109 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3111 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3113 2003-07-18 André Pönitz <poenitz@gmx.net>
3116 * insetminipage.[Ch]:
3117 * insettabular.[Ch]:
3120 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3122 2003-07-18 André Pönitz <poenitz@gmx.net>
3126 * insetcollapsable.C:
3130 * insetgraphics.[Ch]:
3131 * insetlatexaccent.[Ch]:
3136 * insetspecialchar.C:
3137 * insettabular.[Ch]:
3139 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3141 2003-07-17 André Pönitz <poenitz@gmx.net>
3143 * insetcollapsable.C:
3145 * insettext.C: don't call Inset::update() anymore
3148 * insettabular.[Ch]: remove unneeded in_update_ members
3150 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3152 2003-07-16 André Pönitz <poenitz@gmx.net>
3154 * insettext.C (selectAll): remove
3156 2003-07-16 John Levon <levon@movementarian.org>
3159 * insetnote.C: implement showInsetDialog()
3161 2003-07-15 André Pönitz <poenitz@gmx.net>
3164 * insettext.C: refresh_status tristate -> need_update bool
3166 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3168 * insettext.C: adjust call to LyXText::init
3170 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3172 * insettext.C: use bufferview_funcs->replaceSelection()
3173 to delete selections in some cases (bugs 441, 673, 702, 954).
3175 2003-07-14 André Pönitz <poenitz@gmx.net>
3177 * insettext.C (draw): use slimmed down rowpainter interface
3179 2003-07-14 André Pönitz <poenitz@gmx.net>
3181 * insetcollapsable.C:
3183 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3184 remove unused BufferView * argument
3186 2003-07-14 André Pönitz <poenitz@gmx.net>
3188 * insettext.[Ch]: used cached metrics a bit more
3190 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3192 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3194 2003-07-10 André Pönitz <poenitz@gmx.net>
3197 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3199 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * introduce namespace lyx::graphics
3203 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * introduce namespace lyx::support
3207 2003-06-30 André Pönitz <poenitz@gmx.net>
3209 * insetcite.C (localDispatch): fix case of missing return value
3211 * insetcite.C (ascii): remove unneeded temporary
3213 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * insetspace.h: fix \file
3217 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3218 * insetinclude.C (fillWithBibKeys): ditto
3220 * insetbibitem.C: fix type const order
3222 * inset.C (getLyXText): add varname for arg
3224 * ExternalTemplate.h: fix type const order
3226 2003-06-27 André Pönitz <poenitz@gmx.net>
3228 * insettext.C: take care of removed LyXCursor::row_ member
3230 * insettext.[Ch]: use new TextCursor struct for sstate
3232 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3234 * inseterror.[Ch]: removed
3236 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3238 * insetinclude.C (docbook): use parseError instead of sgmlError
3240 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3242 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3243 of BufferList::loadLyXFile
3245 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * insettext.C (update): simplify
3248 (updateLocal): remove commented code
3249 (insetUnlock): simplify
3250 (lockInset): simplify
3251 (updateInsetInInset): simplify
3252 (localDispatch): simplify
3254 (resizeLyXText): simplify
3255 (collapseParagraphs): simplify
3257 * insetert.C (get_new_label): simplify
3259 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3261 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3262 pasteSelection with index
3264 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3266 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3268 2003-06-16 André Pönitz <poenitz@gmx.net>
3270 * insetbase.h: new virtual base function clone()
3272 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3273 Inset * clone() -> InsetBase * clone()
3275 2003-06-13 André Pönitz <poenitz@gmx.net>
3277 * insettabular.[Ch]: make tabular a proper member
3279 2003-06-12 André Pönitz <poenitz@gmx.net>
3281 * insettabular.[Ch]: some renaming plus whitespace
3283 2003-06-11 Angus Leeming <leeming@lyx.org>
3285 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3288 * insetbutton.[Ch]: removed.
3289 * graphicinset.[Ch]: renamed as renderers.[Ch].
3291 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3292 Create a new class ButtonRenderer using the InsetButton::metrics() and
3294 Derive both from a common RenderedInset base class.
3296 * insetcommand.[Ch]:
3297 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3298 Give it a ButtonRenderer member variable. Use it.
3299 Give the classes working copy c-tors.
3300 No longer derive from boost::noncopyable.
3302 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3303 display its contents as a button or as a graphic.
3305 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3308 2003-06-11 Angus Leeming <leeming@lyx.org>
3310 * insetcite.C (localDispatch): reformat.
3312 * insetref.C (localDispatch): enable dialog to be lauched.
3314 2003-06-11 John Levon <levon@movementarian.org>
3316 * insettabular.C: correctly mark all cells as erased
3318 2003-06-11 Angus Leeming <leeming@lyx.org>
3320 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3321 ExternalTemplate but its name, templatename. This means that a file
3322 containing a reference to an External Template not installed on the
3323 current machine will be saved retaining this info rather than inserting
3324 the first "valid" template from the list of templates.
3326 As a by product, the visual statement that the Template is missing is
3329 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3331 * insettext.C (appendParagraphs): remove some commented code.
3333 2003-06-10 Angus Leeming <leeming@lyx.org>
3335 * graphicinset.[Ch] (view): removed the publicly accessible
3336 function to set the cache.
3338 * insetexternal.[Ch]: move tempname_ into the Params struct.
3339 (Params d-tor): new function, to clean-up this temp file.
3340 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3342 (editExternal, doSubstitution): move out of class.
3344 2003-06-10 Angus Leeming <leeming@lyx.org>
3346 * graphicinset.[Ch] (params): removed.
3347 * graphicinset.h (operator=): declared private but not defined.
3348 (statusMessage): made private.
3350 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3352 2003-06-07 John Levon <levon@movementarian.org>
3354 * insetert.C (latex): make a newline mean just that not
3357 2003-06-07 José Matos <jamatos@fep.up.pt>
3359 * insethfill.[Ch] (linuxdoc, docbook): implement output
3360 * insetspace.C (linuxdoc, docbook): remove coments as the code
3363 2003-06-06 José Matos <jamatos@fep.up.pt>
3365 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3367 2003-06-06 André Pönitz <poenitz@gmx.net>
3369 * insetwrap.[Ch]: code compactification
3371 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3373 * mailinset.C (updateDialog): use Dialogs::visible
3375 2003-06-04 Angus Leeming <leeming@lyx.org>
3377 * graphicinset.C (draw): add a comment for the #if 0 block.
3379 * insetexternal.h: remove Params::parameters variable.
3381 * insetexternal.C (read, write): rewrite to output new ExternalInset
3382 format and read it back making full use of LyXLex.
3384 2003-06-04 André Pönitz <poenitz@gmx.net>
3386 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3388 2003-06-04 John Levon <levon@movementarian.org>
3390 * insettabular.C: back out tall table speed up. It was broken
3392 2003-06-03 Angus Leeming <leeming@lyx.org>
3394 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3395 Remove ViewCommand and UpdateCommand.
3397 * graphicinset.C (update): bug fix. Set the params before calling the
3400 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3401 the BufferView cache to enable the InsetExternal::editCommand to
3402 be invoked from the frontends. Would not be needed if this were
3403 dispatched properly.
3404 (old_ascent_): variable removed.
3406 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3407 do any necessary conversions of external material. Also use the
3408 new GraphicsInset to display the inset within LyX.
3410 2003-06-03 Angus Leeming <leeming@lyx.org>
3412 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3413 and move it somewhere where InsetExternal can use it too.
3415 * Makefile.am: add the new files.
3417 * insetgraphics.[Ch]: make use of the new GraphicInset.
3419 2003-06-03 John Levon <levon@movementarian.org>
3422 * insetbibitem.[Ch]:
3425 * insetcommand.[Ch]:
3429 * insetexternal.[Ch]:
3433 * insetgraphics.[Ch]:
3435 * insetinclude.[Ch]:
3438 * insetlatexaccent.[Ch]:
3439 * insetmarginal.[Ch]:
3440 * insetminipage.[Ch]:
3447 * insetspecialchar.[Ch]:
3448 * insettabular.[Ch]:
3450 * insetthereom.[Ch]:
3453 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3455 * insetgraphics.[Ch]:
3456 * insetgraphicsParams.[Ch]: always store an absolute
3459 2003-06-02 André Pönitz <poenitz@gmx.net>
3463 * insetlatexaccent.C: remove duplicated call to metrics()
3465 2003-06-02 John Levon <levon@movementarian.org>
3467 * insettabular.C: fix resize of column width
3469 2003-06-02 John Levon <levon@movementarian.org>
3474 * insetparent.C: remove insetparent
3476 2003-06-02 André Pönitz <poenitz@gmx.net>
3483 * insetcollapsable.[Ch]:
3487 * insetgraphics.[Ch]:
3488 * insetinclude.[Ch]:
3489 * insetlatexaccent.[Ch]:
3490 * insetminipage.[Ch]:
3491 * insetnewline.[Ch]:
3494 * insetspecialchar.[Ch]:
3495 * insettabular.[Ch]:
3496 * insettext.[Ch]: unify first drawing phase
3499 * insetbase.h: move validate() to the base
3501 2003-05-31 Angus Leeming <leeming@lyx.org>
3503 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3505 2003-05-30 André Pönitz <poenitz@gmx.net>
3510 * insetcaption.[Ch]:
3511 * insetcollapsable.[Ch]:
3514 * insetgraphics.[Ch]:
3515 * insetinclude.[Ch]:
3516 * insetlatexaccent.[Ch]:
3517 * insetnewline.[Ch]:
3520 * insetspecialchar.[Ch]:
3521 * insettabular.[Ch]:
3523 * updatableinset.[Ch]: unify second drawing phase
3525 2003-05-30 John Levon <levon@movementarian.org>
3527 * insetgraphics.C: fix a bformat
3529 2003-05-29 John Levon <levon@movementarian.org>
3531 * insettabular.C: remove unused bufferOwner()
3533 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * insettext.C (lockInsetInInset): adjust
3536 (getLabelList): use const_iterator, adjust
3537 (getInsetFromID): use const_iterator, adjust
3538 (addPreview): use const_iterator, adjust
3540 * insetwrap.C (clone): remove const_cast
3542 * insetnote.C (clone): remove const_cast
3544 * insetminipage.C (clone): remove const_cast
3546 * insetmarginal.C (clone): remove const_cast
3548 * insetfoot.C (clone): remove const_cast
3550 * insetfloat.C (clone): remove const_cast
3552 * insetert.C (clone): remove const_cast
3554 * delete commented same_id functions from a lot of files.
3556 2003-05-28 John Levon <levon@movementarian.org>
3562 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3564 * insetminipage.C: fix metrics (bug 1144)
3566 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * insettext.C (saveLyXTextState): adjust
3569 (restoreLyXTextState): adjust
3572 (unlockInsetInInset): adjust
3573 (localDispatch): adjust
3574 (getLyXText): adjust
3576 * insettabular.C (insertAsciiString): adjust
3578 2003-05-27 André Pönitz <poenitz@gmx.net>
3581 * insetcollapsable.C:
3584 * insetlatexaccent.C:
3589 * insetspecialchar.C:
3591 * insettext.C: dim.w -> dim.wid
3593 2003-05-26 John Levon <levon@movementarian.org>
3595 * insettabular.C: avoid drawing all of a long table
3596 if it's not needed. A big speedup
3598 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * remove same_id from function signatures, adjust
3602 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * insettext.C (InsetText): adjust
3606 (setParagraphData): separate same_id cases, adjust
3607 (appendParagraphs): adjust
3608 (appendParagraphs): adjust
3610 2003-05-23 André Pönitz <poenitz@gmx.net>
3612 * insetbutton.h: whitespace
3614 * insettabular.C: more compact code
3616 * updatableinset.C: remove const_cast
3619 2003-05-23 Angus Leeming <leeming@lyx.org>
3621 * insetexternal.C (write): check how many lines are output.
3622 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3623 if the template has defined it.
3625 2003-05-23 Angus Leeming <leeming@lyx.org>
3627 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3629 2003-05-23 Angus Leeming <leeming@lyx.org>
3631 * insetfoot.C (latex):
3632 * inseturl.C (latex): rename fragile as moving_arg.
3634 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3636 * inseterror.C (localDispatch): comment out unused var.
3638 2003-05-22 Angus Leeming <leeming@lyx.org>
3640 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3641 passed through the LatexRunParams arg.
3643 2003-05-22 Angus Leeming <leeming@lyx.org>
3645 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3646 through the LatexRunParams arg.
3648 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3649 arg rather than through a global var.
3651 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * insetspecialchar.C (dimension): use a string.
3655 2003-05-22 Angus Leeming <leeming@lyx.org>
3657 * insetbibtex.C (latex):
3658 * insetgraphics.C (latex):
3659 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3660 runparams rather than from the buffer itself.
3662 2003-05-22 Angus Leeming <leeming@lyx.org>
3664 * inset*.[Ch] (latex):
3665 passed a LatexRunParams parameter.
3667 * insetgraphics.C (latex): actually use it ;-)
3669 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3671 * insetfloat.C (addToToc): trivial compile fix
3673 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3675 * insettext.[Ch] (paragraph): delete unused function
3677 * insetfloat.C (addToToc): parlist simplfication
3679 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3681 * insetspace.[Ch]: added (new space insets)
3683 * inset.h: handle new space insets
3685 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * insetfloat.C (addToToc): adjust
3689 2003-05-21 André Pönitz <poenitz@gmx.net>
3691 * insettext.[Ch]: fix drawing bug introduced earlier
3693 2003-05-19 André Pönitz <poenitz@gmx.net>
3695 * insetspecialchar.C: fix bug introduced yesterday
3697 2003-05-19 André Pönitz <poenitz@gmx.net>
3701 * insetcollapsable.[Ch]:
3705 * insetgraphics.[Ch]:
3706 * insetgraphicsParams.[Ch]:
3707 * insetlatexaccent.[Ch]:
3708 * insetminipage.[Ch]:
3709 * insetnewline.[Ch]:
3711 * insetspecialchar.[Ch]:
3712 * insettabular.[Ch]:
3713 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3715 2003-05-19 André Pönitz <poenitz@gmx.net>
3718 * insettext.C: more insetenv
3720 2003-05-16 André Pönitz <poenitz@gmx.net>
3723 * insetminimpage.[Ch]:
3724 * insetcollapsable.[Ch]: fix #832
3726 2003-05-16 André Pönitz <poenitz@gmx.net>
3729 * insetbibitem.[Ch]:
3733 * insetcollapsable.[Ch]:
3734 * insetcommand.[Ch]:
3737 * insetexternal.[Ch]:
3738 * insetfloatlist.[Ch]:
3739 * insetgraphics.[Ch]:
3740 * insetinclude.[Ch]:
3743 * insetlatexaccent.[Ch]:
3746 * insettabular.[Ch]:
3750 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3752 2003-05-13 André Pönitz <poenitz@gmx.net>
3755 * insetcollapsable.C:
3759 * insetwrap.C: tostr from own header
3771 * insetwrap.C: STRCONV
3774 2003-05-12 André Pönitz <poenitz@gmx.net>
3786 * insetwwrap.C: boost::format -> bformat all over the place
3788 2003-05-05 André Pönitz <poenitz@gmx.net>
3790 * insettext.h: add missing #include <map>
3792 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * insettext.C (InsetText): parlist cleanup
3797 (insetUnlock): ditto
3799 (lockInsetInInset): ditto
3803 (searchBackward): ditto
3804 (collapseParagraphs): ditto
3806 2003-05-06 John Levon <levon@movementarian.org>
3808 * insetcaption.C: don't cast wrap inset to InsetFloat
3811 * insetfloat.C: remove unneeded type() function
3813 2003-05-05 André Pönitz <poenitz@gmx.net>
3817 * insettabular.[Ch]:
3818 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3819 replace getFirstParagraph() by getParagraphs()
3821 2003-05-03 John Levon <levon@movementarian.org>
3823 * insetcollapsable.h:
3824 * insetcollapsable.C:
3830 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3831 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3832 getCursor(). Remove explicit cursor hides.
3834 2003-05-02 André Pönitz <poenitz@gmx.net>
3836 * insettext.C: remove unneeded &*
3838 2003-04-30 John Levon <levon@movementarian.org>
3840 * insettabular.C: fix edit message
3842 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * insettext.C (setFont): do not convert iterator -> pointer
3846 * insettabular.C (localDispatch): do not convert iterator -> pointer
3848 (tabularFeatures): ditto
3850 2003-04-29 André Pönitz <poenitz@gmx.net>
3852 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3854 2003-04-28 André Pönitz <poenitz@gmx.net>
3856 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3859 2003-04-25 André Pönitz <poenitz@gmx.net>
3861 * insetenv.C: derive from InsetText instead of InsetCollapsable
3863 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * insetexternal.C (string2params): dont do anything if the string
3867 * insetgraphics.C (string2params): ditto
3868 * insetcommand.C (string2params): ditto
3869 * insetert.C (string2params): ditto
3870 * insetfloat.C (string2params): ditto
3871 * insetinclude.C (string2params): ditto
3872 * insetminipage.C (string2params): ditto
3873 * insettabular.C (string2params): ditto
3874 * insetwrap.C (string2params): ditto
3876 2003-04-24 André Pönitz <poenitz@gmx.net>
3878 * insetref.C: support for eqref
3880 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * insetert.C (read): use ParagraphList::iterator.
3884 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * insetquotes.C (latex): comment some code and add warnings.
3888 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3890 * insetexternal.C (localDispatch): added a missing DISPATCHED
3892 2003-04-12 John Levon <levon@movementarian.org>
3894 * insetwrap.C (addToToc): fix a crash, conversion
3895 from while to for loop forgot to remove the explicit
3898 2003-04-10 John Levon <levon@movementarian.org>
3900 * insettabular.C (tabularFeature): make sure
3901 to update the dialog when we change something
3904 (getStatus): don't disable some lfuns (bug 939)
3906 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * insettext.C (saveLyXTextState): adjust
3909 (localDispatch): adjust
3915 * insettabular.C (localDispatch): adjust
3917 (tabularFeatures): adjust
3919 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3921 * insettabular.C (searchForward,searchBackward): fix bug 782
3923 2003-04-07 John Levon <levon@movementarian.org>
3926 * insettext.C: clear status message on inset exit
3928 2003-04-03 John Levon <levon@movementarian.org>
3930 * insetcommand.C: return dispatched on DIALOG_UPDATE
3932 2003-04-02 John Levon <levon@movementarian.org>
3934 * insettabular.C: tab lfuns renamed
3936 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * insettext.C (update): move towards ParagraphList
3939 (updateLocal): ditto
3941 (insetUnlock): ditto
3943 (lockInsetInInset): ditto
3944 (updateInsetInInset): ditto
3945 (localDispatch): ditto
3948 (resizeLyXText): ditto
3949 (searchBackward): ditto
3950 (collapseParagraphs): ditto
3953 * insetwrap.C (InsetWrap): adjust
3954 (addToToc): adjust and rewrite loop
3956 * insettext.[Ch] (paragraph): delete function
3958 * insettabular.C (moveNextCell): adjust
3959 (movePrevCell): adjust
3960 (insertAsciiString): adjust
3962 * insetfloat.C (InsetFloat): adjust
3965 * insetert.C (InsetERT): adjust
3966 (write): adjust, and rewrite loop
3967 (latex): adjust, and rewrite loop
3968 (linuxdoc): adjust, and rewrite loop
3969 (docbook): adjust, and rewrite loop
3970 (localDispatch): adjust
3971 (get_new_label): adjust
3973 2003-04-01 John Levon <levon@movementarian.org>
3975 From Alfredo Braunstein
3978 * insetbutton.C: add localDispatch()
3980 * insetcommand.C: return DISPATCHED when edit() called
3982 * insettext.C: fix bug 967
3984 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * insettext.C: adjust
3988 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * insettext.C (draw): adjust
3991 (crow): return a RowList::iterator not a Row*
3993 * insetminipage.C (localDispatch): adjust
3995 * insetert.C (localDispatch): adjust
3997 2003-03-31 John Levon <levon@movementarian.org>
4000 * insetgraphicsParams.C: use_gui moved to lyx_gui
4002 2003-03-31 John Levon <levon@movementarian.org>
4004 * insettext.C: Alert fix
4006 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * insettext.C (ascent): adjust for RowList
4011 (getLyXText): adjust
4012 (toggleSelection): adjust
4014 * insetminipage.C (localDispatch): adjust for RowList
4016 * insetert.C (localDispatch): adjust for RowList
4017 (getMaxWidth): adjust for RowList
4019 2003-03-29 John Levon <levon@movementarian.org>
4021 * insetert.C: Alert cleanup
4023 2003-03-29 John Levon <levon@movementarian.org>
4025 * insettabular.C: Alert fix
4027 2003-03-28 John Levon <levon@movementarian.org>
4029 * insetfloat.C: reset label on INSET_MODIFY
4031 2003-03-28 John Levon <levon@movementarian.org>
4033 * insetgraphicsParams.C: read subcaptionText as a whole line
4036 2003-03-28 John Levon <levon@movementarian.org>
4038 * insettext.C: remove unused prototypes
4040 2003-03-25 Angus Leeming <leeming@lyx.org>
4042 * insetbibitem.C (localDispatch): repaint the view after modifying
4043 a bibitem inset in case the maximum InsetBibitem width has changed.
4045 2003-03-25 John Levon <levon@movementarian.org>
4048 * insettabular.C: LyXText renamings
4050 2003-03-24 John Levon <levon@movementarian.org>
4052 * insettext.C: remove some dead code. Fix bug 972 and
4053 related by posting a repaint in updateLocal(), and making
4054 the SEL functions set SELECTION.
4056 2003-03-22 John Levon <levon@movementarian.org>
4059 * inset.C: remove no-longer-needed topx_set
4061 * insetcollapsable.h:
4062 * insetcollapsable.C: remove dead code
4065 * insetert.C: rebreak the rows when a possible
4066 change in size is made, and reset the cursor
4069 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4071 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4072 topx_set. Fix drawing errors for clearInset(). Remove
4073 some unnecessary uses of topx, which should die.
4075 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4076 is no longer needed. Replace it with an ugly hack.
4078 2003-03-20 John Levon <levon@movementarian.org>
4081 * insetcollapsable.h:
4082 * insetcollapsable.C:
4090 * insettext.C: remove spurious font parameter
4091 from update(). Fix drawing of ERT insets inside
4092 insets (bug 966). Remove unused mark_dirty from
4093 tabular's updateLocal()
4095 2003-03-19 John Levon <levon@movementarian.org>
4104 * insetwrap.C: remove unused getter/setters
4106 2003-03-19 John Levon <levon@movementarian.org>
4108 * several files: bv->updateInset() doesn't take
4109 a bool mark_dirty any more
4111 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * adjust for BufferView* arg removal from lyxtext.
4115 2003-03-17 John Levon <levon@movementarian.org>
4117 * most files: remove the "cleared" parameter
4118 to draw in favour of always clearing. Associated
4121 2003-03-16 John Levon <levon@movementarian.org>
4123 * insettext.C: remove unused s.refresh
4125 2003-03-13 Angus Leeming <leeming@lyx.org>
4127 * insettext.C (edit): replace Dialogs::updateParagraph with
4128 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4130 2003-03-13 André Pönitz <poenitz@gmx.net>
4132 * Makefile.am: insert insetenv
4134 * insethenv.[Ch]: new files, currently inactive
4136 2003-03-12 John Levon <levon@movementarian.org>
4146 * insettext.C: use new insetnewline
4148 2003-03-12 John Levon <levon@movementarian.org>
4150 * insettext.C: readToken became readParagraph
4152 2003-03-12 John Levon <levon@movementarian.org>
4154 * insettext.C: use parlist iterator for reading contents
4156 2003-03-12 John Levon <levon@movementarian.org>
4158 * insettext.C: name change to readToken()
4160 2003-03-11 André Pönitz <poenitz@gmx.net>
4162 * Makefile.am: insert insethfill
4164 * insethfill.[Ch]: new files
4166 2003-03-10 Angus Leeming <leeming@lyx.org>
4168 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4170 (hideDialog): calls the new static Dialogs::hide() method.
4172 * insetbibitem.C (edit):
4173 * insetbibtex.C (edit):
4174 * insetcite.C (edit):
4175 * insetcommand.C (localDispatch):
4176 * inseterror.C (d-tor):
4177 * insetert.C (showInsetDialog):
4178 * insetexternal.C (localDispatch, edit):
4179 * insetfloat.C (localDispatch, showInsetDialog):
4180 * insetfloatlist.C (edit):
4181 * insetgraphics.C (localDispatch, edit):
4182 * insetinclude.C (localDispatch, edit):
4183 * insetindex.C (edit):
4184 * insetlabel.C (edit):
4185 * insetminipage.C (localDispatch, showInsetDialog):
4186 * insetref.C (edit):
4187 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4188 resetPos, showInsetDialog, openLayoutDialog):
4189 * insettoc.C (edit):
4190 * inseturl.C (edit):
4191 * insetwrap.C (localDispatch, showInsetDialog):
4192 changes due to the changed MailInset interface.
4194 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4196 * insetfloat.h: Set default placement to an empty string.
4198 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * insettext.C (latex): adjust call to latexParagraphs.
4202 2003-03-10 Angus Leeming <leeming@lyx.org>
4204 * mailinset.C: warn the user if the BufferView has not been cached.
4206 2003-03-10 Angus Leeming <leeming@lyx.org>
4208 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4210 * insetcommand.h (inset):
4211 * insetert.h (inset):
4212 * insetexternal.h (inset):
4213 * insetfloat.h (inset):
4214 * insetgraphics.h (inset):
4215 * insetinclude.h (inset):
4216 * insetminipage.h (inset):
4217 * insettabular.h (inset):
4218 * insetwrap.h (inset):
4219 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4221 2003-03-10 Angus Leeming <leeming@lyx.org>
4223 * insetcommand.C (string2params):
4224 * insetexternal.C (string2params):
4225 * insetfloat.C (string2params):
4226 * insetgraphics.C (string2params):
4227 * insetinclude.C (string2params):
4228 * insetminipage.C (string2params):
4229 * insettabular.C (string2params):
4230 * insetwrap.C (string2params): cure warning message about missing
4233 2003-03-09 Angus Leeming <leeming@lyx.org>
4235 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4236 it to communicate with the frontend dialogs.
4238 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4239 contents of this inset!
4241 2003-03-07 Angus Leeming <leeming@lyx.org>
4243 * inseterror.C (localDispatch): new method; calls edit() on
4246 2003-03-07 Angus Leeming <leeming@lyx.org>
4248 * insetbibitem.C (localDispatch):
4249 * insetbibtex.C (localDispatch):
4250 * insetlabel.C (localDispatch):
4251 rewrite as a switch.
4253 2003-03-07 Angus Leeming <leeming@lyx.org>
4255 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4256 it to communicate with the frontend dialogs.
4258 2003-03-07 Angus Leeming <leeming@lyx.org>
4260 * insetexternal.C: remove operator== and operator!= for
4261 InsetExternal::Params. They were used only by the old controller
4264 2003-03-07 Angus Leeming <leeming@lyx.org>
4266 * insetcommand.C (localDispatch):
4267 * insetexternal.C (localDispatch):
4268 * insetfloat.C (localDispatch):
4269 * insetinclude.C (localDispatch):
4270 * insetminipage.C (localDispatch):
4271 * insetwrap.C (localDispatch):
4272 add LFUN_INSET_DIALOG_UPDATE to the switch.
4274 2003-03-07 Angus Leeming <leeming@lyx.org>
4276 * insetcommand.C (string2params):
4277 * insetexternal.C (string2params):
4278 * insetfloat.C (string2params):
4279 * insetinclude.C (string2params):
4280 * insetwrap.C (string2params): use LyXLeX more.
4283 * insetexternal.[Ch]:
4285 * insetinclude.[Ch]:
4286 * insetwrap.[Ch]: change Mailer::name_ to be static.
4288 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4289 it to communicate with the frontend dialogs.
4291 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4294 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4296 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * insettext.C (updateLocal): un-const function
4299 (updateLocal): adjust
4300 (collapseParagraphs): un-const function
4301 (collapseParagraphs): adjust
4303 2003-03-05 Angus Leeming <leeming@lyx.org>
4305 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4306 it to communicate with the frontend dialogs.
4308 2003-03-05 Angus Leeming <leeming@lyx.org>
4310 * insetcollapsable.C (draw): cache the BufferView.
4312 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4313 it to communicate with the frontend dialogs.
4315 2003-03-05 Angus Leeming <leeming@lyx.org>
4317 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4320 2003-03-05 Angus Leeming <leeming@lyx.org>
4322 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4324 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4325 it to communicate with the frontend dialogs.
4327 2003-03-05 Angus Leeming <leeming@lyx.org>
4329 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4330 it to communicate with the frontend dialogs.
4332 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * insettext.C (collapseParagraphs): adjust
4335 (appendParagraphs): make it take a Buffer* instead of a
4336 BufferParams& as arg.
4337 (appendParagraphs): adjust
4339 2003-03-04 Angus Leeming <leeming@lyx.org>
4341 * insetbibitem.C (localDispatch):
4342 * insetbibtex.C (localDispatch):
4343 * insetcommand.C (localDispatch):
4344 * insetert.C (localDispatch):
4345 * insetlabel.C (localDispatch):
4346 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4348 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * insettext.C (latex): adjust for ParagraphList::iterator
4352 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * insetbutton.C (view): adjust for boost 1.30.0
4355 * insetcollapsable.C (view): ditto
4356 * insetgraphics.C (statusChanged): ditto
4358 * insettext.h: move paragraphs to be public.
4360 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * insetnote.[Ch] (InsetNote): remove unused constructor
4364 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4366 * insetgraphics.C: added include "format.h"
4368 2003-02-27 Angus Leeming <leeming@lyx.org>
4370 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4373 2003-02-27 Angus Leeming <leeming@lyx.org>
4375 * insetbibitem.C (localDispatch):
4376 * insetbibtex.C (localDispatch):
4379 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4381 2003-02-26 Angus Leeming <leeming@lyx.org>
4383 * insetbibitem.[Ch] (localDispatch):
4384 * insetbibtex.[Ch] (localDispatch):
4385 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4387 * insetcommand.C (localDispatch):
4388 act only on receipt of LFUN_XYZ_APPLY.
4390 * insetert.C (localDispatch): reformat.
4391 add LFUN_XYZ_APPLY to the switch.
4393 2003-02-26 John Levon <levon@movementarian.org>
4395 * insettext.C: use RowPainter
4397 * inset.h: make helpers take const *
4399 2003-02-26 Angus Leeming <leeming@lyx.org>
4401 * insetcommand.[Ch] (localDispatch): new method.
4403 2003-02-26 Angus Leeming <leeming@lyx.org>
4405 * insetinclude.C (draw): cache the BufferView* using cache not
4406 PreviewImpl::setView
4408 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4410 * insetgraphics.C (draw)
4411 * insetinclude.C (draw): Eliminate also the other argument (owner
4412 inset inset) in the call to PreviewImage::image
4414 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4416 * insetgraphics.C (draw)
4417 * insetinclude.C (draw): Eliminate Buferview argument in call to
4420 2003-02-25 John Levon <levon@movementarian.org>
4422 * insetgraphicsParams.h:
4423 * insetgraphics.C: don't start a load process if
4424 the inset is set to NoDisplay (bug #920)
4426 2003-02-22 John Levon <levon@movementarian.org>
4429 * insetwrap.C: TocItem changed API (bug 913)
4431 2003-02-21 Angus Leeming <leeming@lyx.org>
4433 * insetcollapsable.[Ch] (cache, edit):
4434 * insetbutton.[Ch] (cache, edit): new methods to cache the
4435 BufferView in the draw method.
4437 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4438 simplify comunication between InsetCommand-derived classes and
4441 * insetbibitem.[Ch]:
4445 * insetfloatlist.[Ch]:
4449 * inseturl.[Ch]: small changes to reflect the new interface to the
4452 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4453 other, similar classes.
4455 * Makefile.am: add new files.
4457 2003-02-21 Angus Leeming <leeming@lyx.org>
4459 * updatableinset.h (setView, view): remove.
4460 * inset.h (view, cache): to be replaced by these.
4462 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4465 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4468 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4470 2003-02-21 Allan Rae <rae@lyx.org>
4472 * insetinclude.C (loadIfNeeded): ensure loading also works when
4473 child document is under version control.
4475 2003-02-17 André Pönitz <poenitz@gmx.net>
4477 * insetbib.[Ch]: Adjust access to bibkeys
4479 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4481 * insetquotes.C (dispString): remove use of acute accent for "'"
4484 2003-02-14 John Levon <levon@movementarian.org>
4486 * insettabular.C: changed method names in tabular.C
4488 2003-02-14 John Levon <levon@movementarian.org>
4492 * insetcollapsable.h:
4493 * insetcollapsable.C:
4497 * insettext.C: remove unused getParFromID()
4499 2003-02-13 John Levon <levon@movementarian.org>
4502 * insettext.C: remove unused beginningofMainBody()
4504 2003-02-08 John Levon <levon@movementarian.org>
4508 * insetcollapsable.h:
4509 * insetcollapsable.C:
4514 add nextChange(). Make allowSpellcheck() const. Add markErased().
4516 * insetert.C: ignore deleted text
4518 * insettabular.C: make sure to keep change tracking working
4521 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4526 * insettext.C: Use error messages with identical spelling and
4529 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4531 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4533 2002-12-17 Juergen Vigna <jug@lyx.org>
4535 * insettext.C (localDispatch): hopefully fixed cursor up down
4536 movement on leaving other insets.
4538 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4540 * insettext.C: fix inconsistent usage of spaces, colons,
4541 capitalization, and the like.
4543 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4545 * insetgraphics.C (prepareFile): do not remove the extension of
4546 the file name if it is not the default extension for the given
4547 format (that is, in latex output, remove extension from foo.eps,
4548 but not from foo.epsi)
4550 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4552 * insettext.C (lfunMouseRelease): hackish solution to the "double
4555 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * insetfloat.C (addToToc): use the floats name not its type
4558 * insetwrap.C (addToToc): ditto
4560 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4562 * insetnote.C (init): make label font smaller
4564 2002-12-04 John Levon <levon@movementarian.org>
4566 * insetinclude.C: ressurect setting of command name
4568 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * insetquotes.C (dispString): disambiguate insert call
4572 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * several files: ws changes
4576 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * insetquotes.C (dispString): use string::insert for prepending a
4581 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4583 * insetparent.C (getScreenLabel): use boost::format
4585 * insetgraphics.C (prepareFile): use boost::format
4588 * insetfloatlist.C (latex): use boost::format
4590 * insetcaption.C (draw): use boost::format
4592 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4594 * insettabular.C (tabularFeatures): Support for block alignment in
4595 fixed width columns.
4597 2002-11-20 Juergen Vigna <jug@sad.it>
4599 * insettabular.C (resetPos): temporary fix for endless loop in
4600 this function on a redraw.
4602 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * insettabular.C (copySelection): STRCONV
4606 * insetinclude.C (uniqueID): STRCONV
4607 (latexString): ditto
4609 * insetgraphics.C: put VersionNumber inside anon namespace
4610 (createLatexOptions): STRCONV
4612 * insetcommandparams.C: include config.h
4614 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4616 * insetgraphicsParams.C (Write): use lyx::float_equal.
4617 Write height data correctly.
4618 (Read): zero scale when reading height data.
4620 2002-10-30 John Levon <levon@movementarian.org>
4622 * insetfloat.C (addToTOC): recursively traverse all
4623 contents looking for captions (fix #568)
4625 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4627 * insetexternal.C (doSubstitution): do not try to replace
4628 environment variables, this is done when executing the command
4630 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4632 * insetexternal.C (doSubstitution): change order of substitution
4633 to work around ReplaceEnvironmentPath brokenness
4635 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4637 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4639 * insetgraphicsParams.C (init, Write): associated changes
4640 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4641 InsetGraphicsParams::scale.
4643 2002-10-21 John Levon <levon@movementarian.org>
4645 * inset.h: remove unused DISPATCH_RESULT
4647 * insettext.C: sgml open/close tag now in sgml namespace
4649 2002-10-21 Angus Leeming <leeming@lyx.org>
4651 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4652 file path subdir/fig.eps when pasting it into a buffer in a different
4655 2002-10-16 John Levon <levon@movementarian.org>
4657 * insetspecialchar.C: remove \\protected_separator parsing
4659 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4661 * insetquote.C: fix LaTeX output of quotation marks.
4663 2002-10-14 Juergen Vigna <jug@sad.it>
4665 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4666 Backspace functions which confused the Undo handling.
4668 2002-10-09 Angus Leeming <leeming@lyx.org>
4670 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4671 BufferView::dispatch that turns off this optimisation when a new inset
4674 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4675 reload the BibTeX keys.
4677 2002-10-11 André Pönitz <poenitz@gmx.net>
4679 * insettext.h: handle LFUN_PRIOR/NEXT
4681 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4683 * insetfloat.C: fix bug with float settings
4684 (document default != float default).
4686 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4688 * insetwrap.C (addToToc): New method.
4689 (InsetWrap): Set layout to caption.
4691 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4695 2002-09-16 John Levon <levon@movementarian.org>
4697 * insettabular.h: hasSelection() needs to be public
4699 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4701 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4703 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4705 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4707 2002-09-11 André Pönitz <poenitz@gmx.net>
4709 * insettabular.C: implement LFUN_WORDSEL
4711 2002-09-10 John Levon <levon@movementarian.org>
4713 * insetinclude.h: remove unused param
4715 2002-09-09 John Levon <levon@movementarian.org>
4718 * insetinclude.C: remove noload, default to input
4720 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4722 * insetgraphics.C: disfuscated use of ']' in built output string.
4724 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4728 2002-08-29 Juergen Vigna <jug@sad.it>
4730 * insettabular.C (lfunMousePress): Pay attention where you set
4731 the x/y values as they depend on which inset in the tabular is
4732 actually locked. So you surely have to reset them if you (un)lock
4735 2002-08-29 André Pönitz <poenitz@gmx.net>
4737 * insetfootlike.h: rename include guard to ALL CAPS
4739 * insettext.C: swap object and first parameter for checkInsetHit calls
4740 as this functions has moved from BufferView to LyXText
4743 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4745 * insetgraphicsParams.C: remove local displayTranslator and use
4746 the one from graphics/GraphicsTypes.h.
4748 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4750 * insetfloat.C (wide): add BufferParams parameter
4752 * insetfloatlist.C (read):
4755 * insetfloat.C (latex):
4757 * insetcaption.C (draw): use LyXTextClass::floats()
4759 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4761 * insetoptarg.h: add std:: qualifier.
4763 2002-08-26 Juergen Vigna <jug@sad.it>
4765 * insettext.C (localDispatch): ditto.
4767 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4769 2002-08-25 John Levon <levon@movementarian.org>
4771 * inseturl.C: elide long URLs (bug 404)
4773 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4775 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4776 remove "Format Version <version_no.>" string from inset header
4779 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4781 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4782 a member of "grfx::Params" anymore.
4784 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4786 2002-08-24 John Levon <levon@movementarian.org>
4789 * insetoptarg.C: ws, pedantry ...
4791 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4793 * insettext.C (collapseParagraphs): pasteParagraph now in global
4795 (appendParagraphs): ditto
4797 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4799 * insetcite.C (latex): Remove spaces only after commmas.
4801 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * insettext.C: remove NO_COMPABILITY stuff
4805 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * insettext.C (edit): use ParagraphList iterators
4809 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4810 (bibitemWidest): ditto
4812 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * insettext.C: include <boost/bind.hpp>
4815 add using std::for_each
4816 (saveLyXTextState): use ParagraphsList::iterator
4817 (init): use for_each on paragraphlist iterators
4818 (InsetText): remove superflous setting cached_bview to 0
4819 (latex): reformat a bit
4820 (ascii): use paragraphlist iterators
4821 (validate): use for_each + boost bind
4822 (getLabelList): use paragraphlist iterators
4823 (deleteLyXText): use for_each + boost::bind
4824 (resizeLyXText): ditto
4825 (reinitLyXText): ditto
4826 (removeNewlines): use paragraphlist iterators
4827 (getParFromID): ditto
4828 (paragraph): use for_each + boost::bind
4829 (getInsetFromID): use paragraphlist iterators
4830 (getLabelList): typo fix
4832 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * insettext.C (read): assign tmp to paragraphs after return from
4835 call to parseSingleLyXformat2Token
4838 2002-08-13 Angus Leeming <leeming@lyx.org>
4856 * inseturl.C: changes due to the changed LyXView interface that
4857 now returns references to member variables not pointers.
4859 2002-08-13 Angus Leeming <leeming@lyx.org>
4862 * insetcollapsable.h:
4865 * insettext.h: forward-declare WordLangTuple
4866 (selectNextWordToSpellcheck) constify return type.
4869 * insetcollapsable.C:
4872 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4874 2002-08-12 Angus Leeming <leeming@lyx.org>
4876 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4879 2002-08-12 Juergen Vigna <jug@sad.it>
4881 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4884 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4887 (bibitemWidest): ditto
4888 * insettext.[Ch]: ditto
4890 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4894 2002-08-09 Angus Leeming <leeming@lyx.org>
4896 * insetinclude.C (latexString): remove fudge now that I've found out
4897 how to enable LaTeX to find the file using input@path.
4899 2002-08-09 John Levon <levon@movementarian.org>
4902 * insettext.C: remove unused xpos
4904 2002-08-07 Juergen Vigna <jug@lyx.org>
4906 * insettabular.C (localDispatch): make delete not put the stuff
4907 in the clipboard only do this on a cut operation.
4909 * insettext.C (localDispatch): make delete and backspace not put
4910 selected stuff to the clipboard.
4912 2002-08-07 André Pönitz <poenitz@gmx.net>
4915 * insetcollapsable.[Ch]:
4919 * insettabular.[Ch]:
4920 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4922 2002-08-06 John Levon <levon@movementarian.org>
4926 * insetcollapsable.h:
4927 * insetcollapsable.C:
4933 * insettext.C: use WordLangTuple for spellcheck
4935 2002-08-06 Angus Leeming <leeming@lyx.org>
4937 * insetinclude.C: add a monitor to the previewed image, so that the
4938 image is refreshed if the \input-ed file changes.
4940 2002-08-04 John Levon <levon@movementarian.org>
4943 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4945 2002-08-02 Angus Leeming <leeming@lyx.org>
4947 * insetcommandparams.[Ch] (preview): new methods returning and setting
4948 a new bool preview_ flag.
4949 (read): read this flag.
4950 (operator==): add flag to check.
4952 * insetinclude.C (write): output new preview() flag.
4953 (previewWanted): use this flag.
4955 2002-08-02 Angus Leeming <leeming@lyx.org>
4957 * insetcollapsable.[Ch] (addPreview):
4958 * insettabular.[Ch] (addPreview):
4959 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4960 for insets in insets.
4962 2002-08-02 Angus Leeming <leeming@lyx.org>
4964 * insetcite.C: fix typo.
4966 * insetgraphics.C: kill current_view and instead cache the BufferView
4969 * insetinclude.C: kill current_view and pass the BufferView to the
4970 PreviewedInset so that it can cache it.
4972 2002-08-01 Angus Leeming <leeming@lyx.org>
4974 * inset.h (generatePreview): renamed as addPreview.
4975 (generatePreview): new method. Allows code to be moved out of
4976 math_nestinset.C and into the new PreviewedInset class.
4978 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4979 add previews to the inset when \input-ing LaTeX.
4981 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * several files: strip,frontStrip -> trim,ltrim,rtrim
4985 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * insetbib.C (latex): modify because of strip changes
4989 * insetnote.C (InsetNote): ditto
4991 2002-07-26 Juergen Vigna <jug@sad.it>
4993 * insettabular.C (searchForward): check for lastcell if we
4994 had a locking inset.
4996 2002-07-25 Juergen Vigna <jug@sad.it>
4998 * insettabular.C (insetMotionNotify): Don't update the screen
4999 if we didn't do nothing.
5000 (searchForward): last cell was not checked.
5002 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5004 * insetfloat.C (read, write): Allow default placement
5005 (floatPlacement_ is empty).
5007 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5009 * insetminipage.h (noFontChange):
5010 * insettabular.h (noFontChange):
5011 * insetfootlike.h (noFontChange):
5012 * insetfloat.h (noFontChange): return true
5014 * inset.h (noFontChange): new method, defaulting to false
5016 2002-07-22 Herbert Voss <voss@lyx.org>
5018 * insetgraphicsParams.[Ch]: support size_type for old docs
5020 2002-07-22 Herbert Voss <voss@lyx.org>
5023 * insetgraphicsParams.[Ch]: change size_type to size_kind and
5026 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5028 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
5030 * insetlatexaccent.h: do not include "lyxlex.h"
5032 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
5035 * insetlatexaccent.C:
5039 * insetbib.C: #include "lyxlex.h"
5045 * insettext.C: use BufferParams::getLyXTextClass
5048 * insetfloat.C (addToToc): new method. Add to toclist the entries
5049 corresponding to Caption layouts
5050 (InsetFloat): when creating a new float, set the layout to "Caption"
5052 2002-07-21 Herbert Voss <voss@lyx.org>
5054 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5055 image relevant part into graphics/GraphicsImgae.C
5057 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5059 * insettoc.C (ascii):
5060 * insetfloatlist.C (ascii): change to use the new Toc functions
5061 instead of stuff that was in Buffer
5063 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5065 * insettext.C (localDispatch): BufferView::Dispatch has been
5066 renamed to BufferView::dispatch
5068 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * insetgraphicsParams.C (as_grfxParams): use the new
5071 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5072 1.2.0 patch, and I do not really know how to adapt it to the new
5073 grfx::Cache world. Angus, please could you have a look?
5075 2002-05-01 Herbert Voss <voss@lyx.org>
5077 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5079 2002-07-18 Angus Leeming <leeming@lyx.org>
5081 * insetgraphics.C: clean-up comments (from Herbert).
5082 add a new checksum variable to the cache. Use it in PrepareFile.
5083 (draw): start monitoring the file for a change.
5084 (prepareFile): re-arrange a little to avoid unnecessary steps.
5086 2002-07-17 Angus Leeming <leeming@lyx.org>
5088 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5089 a method rather than to the signal directly.
5091 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5093 * insettext.C: use view_state_changed, switchKeyMap
5095 2002-07-17 Herbert Voss <voss@perce.de>
5097 * insetgraphics.C (prepareFile): keep the extension when
5098 exporting to nice file
5100 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5102 * insetcite.C (getNatbibLabel):
5103 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5105 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5107 * insetgraphics.C: use ->isDrawable()
5109 2002-07-12 Angus Leeming <leeming@lyx.org>
5111 * insetgraphics.C: use the new smart loading capabilities of the image
5114 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5116 * insettabular.C (edit): Move into correct cell when entering a
5119 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5122 2002-07-05 Angus Leeming <leeming@lyx.org>
5124 * inset.h (generatePreview): new virtual method.
5126 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5128 * insetcommandparams.[Ch] (operator=): move out of class
5129 (operator!): move out of class
5131 2002-07-04 André Pönitz <poenitz@gmx.net>
5133 * insetcommandparams.[Ch]: new files
5135 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5137 2002-06-15 Herbert Voss <voss@perce.de>
5139 * insetgraphics.C (prepareFile): bugfix; return always
5140 files without extension
5142 2002-06-28 Angus Leeming <leeming@lyx.org>
5144 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5145 rename asGParams -> as_grfxParams.
5147 * insetgraphics.C: reflect above change.
5149 2002-06-26 Angus Leeming <leeming@lyx.org>
5151 * insetgraphics.h: use boost::scoped_ptr in preference to
5154 2002-06-26 Angus Leeming <leeming@lyx.org>
5156 * insetgraphics.C: moved the image loading stuff into a new class
5157 grfx::Loader. Simplifies this file enormously.
5159 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5161 * insetgraphicsParams.C: changes aassociated with moving
5162 grfx::DisplayType out of grfx::GParams.
5164 2002-06-26 André Pönitz <poenitz@gmx.net>
5166 * insetgraphics.C: use os::external_path where necesaary according to a
5167 patch from Claus Hentschel)
5169 2002-06-25 Angus Leeming <leeming@lyx.org>
5171 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5172 generating a pixmap once the graphics file is loaded into memory.
5173 The current_view ugliness that was in grfx::ModifiedImage has been
5174 moved here now that grfx::ModifiedImage is no more.
5176 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5178 * insettext.C: layout as layout
5180 2002-05-28 André Pönitz <poenitz@gmx.net>
5182 * insetfloatlist.h: remove source of compiler warning
5184 * insetref.C: tiny whitespace
5186 2002-06-15 Herbert Voss <voss@perce.de>
5188 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5189 and take always convert when no userdefined converter was
5191 (latex) small changes in the lyxerr output
5193 2002-06-15 LyX Development team <lyx@rilke>
5195 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5196 mixed content. Small white spaces clean.
5198 2002-06-14 Angus Leeming <leeming@lyx.org>
5200 * inseetexternal.C: remove the using std::difftime declaration.
5202 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5204 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5206 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5208 * insetquotes.C (draw): fix drawing of double quotes
5210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5212 * insettabular.C: s/scrollCB/scrollDocView/
5214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5216 * insettext.C: change of topCursorVisible()
5219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5222 * insettext.C: rename/change of LyXScreen
5224 2002-06-07 Angus Leeming <leeming@lyx.org>
5226 Fixes needed to compile with Compaq cxx 6.5.
5228 * insetexternal.C: all c-library variables have been moved into
5229 namespace std. Wrap using std::xyz declarations inside a #ifndef
5230 CXX_GLOBAL_CSTD block.
5232 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5234 * insetinclude.C (uniqueID):
5235 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5236 conflicted with some AIX headers.
5238 2002-05-31 Juergen Vigna <jug@sad.it>
5240 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5244 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5246 * insetexternal.C (clone): fix () bug when using new
5247 (updateExternal): don't only look for difftime in global scope
5249 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5251 * insettabular.C: add const
5253 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5256 file name, in case there are weird characters like ',' in there.
5259 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5261 * switch from SigC signals to boost::signals.
5263 2002-05-28 André Pönitz <poenitz@gmx.net>
5265 * insets/insetgraphicsParams.[Ch]:
5266 put in inset related stuff from src/graphic
5268 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5276 * insetcollapsable.C:
5277 * insetcollapsable.h:
5305 * inseturl.h: use mouse_state. Kill insetKeyPress
5307 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5312 * insetcollapsable.C:
5315 * insetlatexaccent.C:
5317 * insetspecialchar.C:
5319 * insettext.C: name change for font metrics
5321 2002-05-24 Juergen Vigna <jug@sad.it>
5323 * insetgraphics.h: include inset.h first (for LString.h)
5325 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5327 * insettext.C: screen moved
5329 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5347 * inseturl.C: LyXView moved into frontends/
5349 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5354 * insetcollapsable.C:
5358 * insetgraphicsParams.C:
5359 * insetlatexaccent.C:
5361 * insetspecialchar.C:
5363 * insettext.C: move Painter to frontends/
5365 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5367 * insettabular.h: use more specific smart_ptr header.
5368 * insettext.h: ditto
5370 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5373 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5375 * insettext.C: clear selection on paste (bug 393)
5377 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5379 * insettext.C (latex): Honor the moving_arg argument.
5381 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5383 * insetfoot.C (latex): if a footnote is in a title layout, then it
5384 is a \thanks. And then, its contents is a moving argument.
5386 2002-05-14 Juergen Vigna <jug@sad.it>
5388 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5391 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5393 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5394 when using options "Full author list" or "Upper case".
5396 2002-05-14 Herbert Voss <voss@perce.de>
5398 * insetgraphics.C (prepareFile): allow files with same name
5400 (readFigInset): set the flags from old figinset in the right
5402 (findTargetFormat): more comments
5404 2002-05-14 Juergen Vigna <jug@sad.it>
5406 * insettext.C (edit): tell checkAndActivateInset() that we don't
5407 have a button press.
5408 (checkAndActivateInset): if button < 0 we don't have a button press
5409 on the inset and os we won't call edit on it if it's not a Highly
5410 editable inset (then we have to enter it).
5412 2002-05-13 Juergen Vigna <jug@sad.it>
5414 * insetcollapsable.C (insetButtonRelease): returned wrong return
5417 2002-05-09 Juergen Vigna <jug@sad.it>
5419 * insetcollapsable.C (edit): first_after_edit should only be
5420 set to true if we enter this inset and it was collapsed so we
5421 open it up. This is needed to reclose it after a search/replace
5422 or spellcheck function opened it and was negative.
5424 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5426 * insetfloat.C (latex): Return correct value.
5428 2002-05-04 Herbert Voss <voss@perce.de>
5430 * InsetgraphicsParams.C (read): fix bug with WH
5432 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5434 * insetfloat.C (latex): More sensible latex output
5435 (fix the problem with endfloat).
5437 2002-05-02 José Matos <jamatos@fep.up.pt>
5439 * insetgraphics.C (validate): acess params as everyone else.
5441 2002-05-03 Juergen Vigna <jug@sad.it>
5443 * insettabular.C (fitInsetCursor): recalculate the cursor position
5446 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5448 * InsetgraphicsParams.[Ch]: whitespace.
5450 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5452 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5453 float type do not exist.
5455 2002-04-28 Herbert Voss <voss@perce.de>
5457 * insetgraphics.C (latex): fix bug with missing file-extension.
5458 LaTeX still allows a missing "eps" or "ps".
5460 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5462 * insetfloat.C (c-tor, wide): translate the name of the float.
5464 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5466 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5467 when using natbib and make it work efficiently. Must emphasise that the
5468 real work is Herbert's.
5470 2002-04-23 Herbert Voss <voss@perce.de>
5472 * insetgraphic.C (prepareFile): fix bug with overwriting and
5473 deleting an existing *.eps-file in the doc-dir
5475 2002-04-23 Juergen Vigna <jug@sad.it>
5477 * insettabular.C (drawCellSelection): fix off by 1 error.
5479 2002-04-22 Juergen Vigna <jug@sad.it>
5481 * insettabular.C (setFont): rewoke full selection if it was asked,
5482 after we changed all we had to change.
5484 * insettext.C (insetUnlock): code was uninitialized in some situations.
5486 2002-04-19 Herbert Voss <voss@perce.de>
5488 * insetgraphic.C (prepareFile): return filename without
5489 extension if we only export without compiling
5491 2002-04-19 Juergen Vigna <jug@sad.it>
5493 * insettext.C (draw): call a fullRebreak on the row where we had a
5494 change and reset the cursor and selection-cursors.
5496 * insettabular.C (insetUnlock):
5497 (insetButtonPress): call an update before setting the_locking_inset = 0
5498 as otherwise we don't repaint!
5499 (update): reset the cursor position when we changed dimensions as
5500 otherwise our cursor may be on the wrong spot.
5502 2002-04-18 Juergen Vigna <jug@sad.it>
5504 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5505 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5506 redraw otherwise we won't redraw.
5508 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5509 not really right before, but I only discovered this with the last
5510 changes to Page up/down.
5512 2002-04-17 Juergen Vigna <jug@sad.it>
5514 * insettext.C (checkAndActivateInset): simplified as we now have the
5515 edit(bv, bool) call.
5517 * insettext.h: changed behind variables to front variables to be
5518 equal to the one in the edit call (as it is for that they are used).
5520 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5522 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5523 not output anything at all!
5525 2002-04-16 Juergen Vigna <jug@sad.it>
5527 * insettabular.C (insetButtonPress):
5528 (insetUnlock): call a redraw on unlocking the cell inset.
5530 * insettext.C (insetButtonPress): same as below.
5531 (lockInset): new function to set initial values when inset should
5533 (insetButtonPress): use above function.
5534 (insetUnlock): don't force a repaint only set the updateStatus. The
5535 outside world should repaint if it thinks it should be done!
5537 * insettabular.C (insetButtonPress): init values if not set as locked
5538 as we are locked if someone presses on us and don't call the edit()
5539 call of the InsetText to lock it do it as BufferView does it!
5541 * inset.h (insetInInsetY): make func const and return an int.
5544 * insetcollapsable.C: adapt the above changed function.
5546 2002-04-15 Juergen Vigna <jug@sad.it>
5548 * insettext.C (getCursorPos): return relative position as to be able
5549 to give them directly to the edit() call.
5550 (edit): we have to set also x_fix as it is not set inside the
5551 setCursorFromCoordinates call!
5552 (insetMotionNotify): ditto.
5554 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5556 * insetbib.C (getKeys): strip leading '\t's from the line too.
5557 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5559 2002-04-12 Juergen Vigna <jug@sad.it>
5561 * insettext.h: added cix() helper function and use it where appropriate
5563 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5565 * insetgraphics.C (prepareFile): fix bug when graphics is a
5568 2002-04-12 Juergen Vigna <jug@sad.it>
5570 * insettext.C (insertInset): remove unneeded code!
5571 (updateLocal): fitCursor() fixes.
5572 (collapseParagraphs): fix a possible problem when having a selection
5573 and collapsing the paragraphs.
5575 2002-04-08 Herbert Voss <voss@perce.de>
5577 * insetgraphic.C (write): write the rotating angle as
5578 a float as is. test only for != 0.0
5580 2002-04-11 Juergen Vigna <jug@sad.it>
5582 * insettext.C: new function ciy() and use it for setting inset_y.
5584 * insetert.C (draw): fix the x return for collapsed version.
5586 2002-04-07 Herbert Voss <voss@perce.de>
5588 * insetgraphic.C (readFigInset): fix bug with subcaption and
5591 2002-04-08 Herbert Voss <voss@lyx.org>
5593 * insetgraphicsparam.C: forgot special option and delete old
5596 2002-04-05 Juergen Vigna <jug@sad.it>
5598 * insettext.C (localDispatch): make a CURSOR update if we inserted
5601 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * insetfloatlist.C (getScreenLabel):
5604 (latex): use Floating::listName
5605 (validate): new method
5607 2002-04-03 José Matos <jamatos@fep.up.pt>
5609 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5611 * insetfoot.[Ch] (docbook): added forgotten method.
5613 2002-04-03 Juergen Vigna <jug@sad.it>
5615 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5616 way as in Bufferview_pimpl.
5618 2002-04-03 Allan Rae <rae@lyx.org>
5620 * insetgraphics.C (latex): one % too many makes living on the bleeding
5621 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5623 2002-03-28 Herbert Voss <voss@lyx.org>
5625 * insetgraphic.C (latex): simplify the code for the latex
5626 output when the file doesn't exist
5628 2002-03-29 Juergen Vigna <jug@sad.it>
5630 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5633 * insettabular.C (edit): call fitCursor().
5635 * insettext.C (insetButtonPress): change behaviour of no_selection
5636 to the one in the BufferView selection_possible and fix the spurious
5637 selection bug with it.
5638 (localDispatch): revoke selection on BREAK... functions.
5640 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5642 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5644 2002-03-28 Juergen Vigna <jug@sad.it>
5646 * insettabular.C (insetAllowed): return true as default value otherwise
5647 we're not able to insert insets inside paragraphs of an not locked
5650 2002-03-27 Herbert Voss <voss@lyx.org>
5652 * insetgraphicsparam.C: change c%, p% to col%, page%
5654 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5656 * insetspecialchar.C (isLineSeparator): disable the nice code to
5657 allow linebreaks after hyphenation and menu separators.
5659 2002-03-26 Herbert Voss <voss@lyx.org>
5661 * insetgraphics.C (figinsetRead): set the right lyxview
5663 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5665 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5666 $\backslash$ and pass a "string const &" to the function.
5667 (prepareFile, latex): use Path rather than MakeAbsPath.
5669 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5671 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5672 proper fix to the graphics cache.
5673 (latex): "really" nice output if the file is not found ;-)
5675 2002-03-26 Juergen Vigna <jug@sad.it>
5677 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5678 (collapseParagraphs): fixed inserting of separator ' '
5680 * insettabular.C (insertAsciiString): only check for buffer lenght
5681 not if we have \t or \n inside the buffer as if we don't have we only
5682 have 1 cell and that's it!
5684 * insetert.C (close): don't collapse if inlined.
5686 2002-03-25 Herbert Voss <voss@lyx.org>
5688 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5689 graphics file does not exist.
5691 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5693 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5694 path when preparing export.
5696 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5697 no longer MakeRelPath.
5699 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5701 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5702 Used to determine the absolute path to the graphics file in the
5703 graphics cache and only in the graphics cache.
5704 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5705 make graphics file name absolute if it is stored as a relative path.
5707 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5708 make graphics file name absolute if it is stored as a relative path.
5710 * insettext.C (edit): emit an updateParagraph signal on entering a text
5711 inset. Needs to be emitted when leaving the inset also.
5713 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5715 * all files: ws cleanup
5717 * Makefile.am: remove ld -r stuff
5719 2002-03-21 Juergen Vigna <jug@sad.it>
5721 * insettext.C (appendParagraphs): new function added to append
5722 the paragraphs to this insets paragraphs.
5724 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5726 * Makefile.am: special rules if partial linking
5728 2002-03-19 Juergen Vigna <jug@sad.it>
5730 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5732 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5734 * insetgraphics.C: Clean up Baruch's comments a little.
5735 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5737 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5740 * insettheorem.C: wrap warnings
5742 * insetgraphics.C: improve messages, move cached_status_
5743 setting to safer place
5745 2002-03-18 Juergen Vigna <jug@sad.it>
5747 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5749 (localDispatch): ditto
5751 * insettext.C (edit): removed unneeded showCursor calls.
5752 (localDispatch): ditto.
5754 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5756 * insetgraphics.h: remove display() method.
5758 2002-03-11 Juergen Vigna <jug@sad.it>
5760 * insetgraphics.C (draw): hack to fix the redrawing bug.
5761 (draw): seems this fixes #268 (force redraw of row if we changed).
5763 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5764 this inset text (don't know why I missed this earlier).
5766 2002-03-08 Juergen Vigna <jug@sad.it>
5768 * insettabular.C (updateLocal): do a FULL update if we're not locked
5769 and only a CELL update is asked.
5771 * insettext.C (updateInsetInInset): update insets inside inset also
5772 if it isn't inside the_locking_inset.
5774 * insettabular.C (updateInsetInInset): ditto.
5776 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5778 * insetexternal.C (doSubstitution): check whether we are using a
5779 temp dir for defining $$FPath
5781 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5784 * insettext.C: remove #include "WorkArea.h".
5786 2002-03-06 Juergen Vigna <jug@sad.it>
5788 * insettext.C (draw): fixed frame redrawing.
5789 (clear): forgot to set the inset_owner of the paragraph.
5791 * insetert.C (status): pay attention the bv can be 0 here!
5792 (getMaxWidth): add the default leftMargin
5794 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5796 * insetert.C (getMaxWidth): make w unsigned int.
5798 2002-03-05 Juergen Vigna <jug@sad.it>
5800 * insetert.C (status): change behaviour of Inlined.
5801 (getMaxWidth): added for new inlined behaviour.
5803 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5805 * insetnote.h (linuxdoc, docbook): add empty methods.
5806 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5807 before being initialized.
5809 2002-03-05 Juergen Vigna <jug@sad.it>
5811 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5812 only that one in the inset. Should be enough.
5813 (updateLocal): set the selection cursor always if we don't have a
5814 selection to be sure it's set!
5816 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5818 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5820 * insettext.C (clear): a gross hack to set layout on a newly
5823 2002-03-04 Juergen Vigna <jug@sad.it>
5825 * insettabular.C (localDispatch): inserted handling of
5826 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5827 (insertAsciiString): new helper function.
5829 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5831 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5834 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5836 * insettext.C (InsetText): initalize newly created par with
5837 default layout. add bufferparams parameter
5840 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5841 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5842 * insetert.[Ch] (InsetERT): ditto
5843 * insetfloat.[Ch] (InsetFloat): ditto
5844 * insetfoot.[Ch] (InsetFoot): ditto
5845 * insetfootlike.[Ch] (InsetFootLike): ditto
5846 * insetmarginal.[Ch] (InsetMarginal): ditto
5847 * insetminipage.[Ch] (InsetMinipage): ditto
5848 * insetnote.[Ch] (InsetNote): ditto
5849 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5851 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5853 * insettext.C: layout as string
5855 * insetinclude.C: layout as string
5857 * insetert.C: layout as string
5859 * insetbib.C: layout as string
5861 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5864 * insettabular.C: remove #include "lyx_gui_misc.h".
5866 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5871 * inset.h: remove figinset, yahoo !
5873 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5875 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5876 copy c-tor and initialise member variables in the correct order.
5878 2002-02-28 Juergen Vigna <jug@sad.it>
5880 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5882 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * inset.h: ... and add a better one here.
5886 * insetcommand.C (insetButtonRelease): remove that one which was a
5889 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5891 * insetcommand.C (insetButtonRelease): ... and move it here.
5893 * inseturl.h: remove insetButtonRelease from there...
5895 2002-02-26 Juergen Vigna <jug@sad.it>
5897 * inseturl.h: Added a insetButtonRelease call returning true as
5900 * insetlabel.C (edit): Fixed wrong update handling after change I
5901 leave in the wrong code for the one who wrote it to remove and have
5902 a look what he did wrong.
5904 * insettabular.C (localDispatch): force a SELECTION update if we
5905 had a selection and we passed the event down to the inset (fix #213)
5906 (localDispatch): handle font changing stuff when we have a cell
5907 selection so that the selection is not rewoked. I don't really like
5908 this fix, but it's the only way I see to do it right now.
5910 2002-02-22 Juergen Vigna <jug@sad.it>
5912 * insettext.C (insetUnlock): set the cursor to the second paragraph
5913 if available and if the first one is empty (fix #191).
5915 2002-02-20 Juergen Vigna <jug@sad.it>
5917 * insettext.C (getDrawFont): implemented this function to call the
5918 one of the owner if present as the owner normally knows what to do
5921 * insetert.C: implement getDrawFont() function and comment out all
5922 the crap for setting a special latex font inside this inset.
5923 (InsetERT): added a Lanugage parameter to this constructor.
5925 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5926 change the font for being drawn on screen (used only in InsetERT for
5929 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5930 and also above (was missing).
5931 (updateLocal): don't remove the cell selection if we have one this
5932 should be done where we really want to remove it.
5934 2002-02-20 José Matos <jamatos@fep.up.pt>
5936 * insetinclude.h: include_label made string const.
5938 * insetinclude.C (InsetInclude): moved include_label initialization.
5941 (validate): fix support for temporary directory, for docbook and
5944 * insetgraphics.h : new private member, graphic_label, that holds
5945 the entity name that defines the graphics location (SGML).
5947 * insetgraphics.C (unique_id): new function to give a unique label
5950 (validate): the file locatation is given by an entity reference.
5952 2002-02-18 Herbert Voss <voss@lyx.org>
5954 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5956 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5958 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5959 as support/systemcall.[Ch] and of class Systemcalls as class
5962 2002-02-18 José Matos <jamatos@fep.up.pt>
5964 * insetinclude.C (validate): some code only applies to latex buffers,
5965 it was made conditional.
5967 2002-02-12 Herbert Voss <voss@lyx.org>
5969 * insetgraphics.C: (prepareFile) do not check at this time
5970 if the file is present.
5972 2002-02-12 Herbert Voss <voss@lyx.org>
5974 * insetgraphics.C: latex(), return the correct newlines
5976 2002-02-13 José Matos <jamatos@fep.up.pt>
5978 * inseturl.C (docbook): escape & in url.
5980 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5982 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5983 after HYPHENATION and MENU_SEPARATOR
5985 * inset.h (isLineSeparator): new method, returns false by default.
5987 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5989 * insetert.C (status): do not update the text inset, but the ERT
5992 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5994 * insetnote.C: use notebg for background
5996 2002-02-08 Herbert Voss <voss@lyx.org>
5999 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
6000 prevent LyX from unzipping when this should be handled
6001 by latex vis the graphic.cfg.
6004 2002-02-08 Herbert Voss <voss@lyx.org>
6006 * insetgraphic.C: prepareFile(): fix bug when file doesn't
6007 exists, than return filename with extension
6009 2002-02-06 Herbert Voss <voss@lyx.org>
6011 * insetgraphic.C: prepareFile(): don't convert the file, when
6012 it's not viewed in LyX. Saves a lot of time when opening a
6015 2002-02-05 Herbert Voss <voss@lyx.org>
6018 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
6019 and adding a rotate bool similiar to subcaption
6021 2002-02-04 Herbert Voss <voss@lyx.org>
6024 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
6025 similiar view to the LaTeX one. Get zipped files work.
6027 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6029 * insetgraphicsParams.C (init): set display to DEFAULT.
6030 No longer #include "lyxrc.h".
6032 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6034 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
6035 for now (so that the code compiles).
6037 2002-02-02 Herbert Voss <voss@lyx.org>
6039 * insetgraphic.C: delete inVariant() and some minor changes
6040 * insetgraphicsParams.[C]:
6042 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6044 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6045 interogate lyxrc.display_graphics before diaplaying the graphic.
6047 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6048 InsetGraphicsParams::DisplayType.
6050 2002-01-31 Herbert Voss <voss@lyx.org>
6052 * insetgraphic.C: (readfigInset) set display to pref-default
6054 2002-01-30 Herbert Voss <voss@lyx.org>
6056 * insetgraphic.C: get the filetyp from it's contents
6057 * insetgraphicparams.C: add token scale and lyxrc.display when
6058 creating a new inset
6060 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6062 * figinset.C: added using std::ios directive.
6064 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6066 * figinset.C (runqueue): open translation file in binary mode (for
6069 2002-01-27 Herbert Voss <voss@lyx.org>
6071 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6072 all options and to be sure that the old figinsets are correct
6074 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6075 structure and to support all lengths as LyXLength. The Parameter
6076 structure changed again, but reading of "old" 1.2 graphic insets
6079 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6081 * insetert.h (forceDefaultParagraphs): Added
6083 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6085 * insettabular.C (getMaxWidth):
6086 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6088 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6090 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6091 of LyXLength::inPixels
6093 * inset.C (latexTextWidth):
6094 * insetminipage.C (latexTextWidth): new method, which implements
6095 the equivalent of the LaTeX macro \textwidth
6097 * insetminipage.C (getMaxWidth): use latexTextWidth
6099 2002-01-18 Juergen Vigna <jug@sad.it>
6101 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6103 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6105 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6107 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6110 2002-01-17 Juergen Vigna <jug@sad.it>
6112 * insettabular.C (lockInsetInInset): same change as in insettext.
6114 * insettext.C (draw): width() function was called without setting
6115 the right top_x which could lead to wrong insetWidth setting!
6116 (lockInsetInInset): call edit instead of calling lockInset if we
6117 have to lock an inset inside!
6118 (edit): we have to also tell the inset that we have to redraw the
6119 frame on an edit call if this inset draws a frame only if locked.
6121 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6123 * insetbib.C (getFiles): uncomment Path variable.
6125 2002-01-16 Juergen Vigna <jug@sad.it>
6127 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6130 2002-01-16 Allan Rae <rae@lyx.org>
6132 * insetinclude.C (docbook): someone forgot a ";"
6134 2002-01-16 José Matos <jamatos@fep.up.pt>
6136 * figinset.C (docbook): removed a old place holder "@".
6137 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6138 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6139 ascii text version, clearly guarded inside a CDATA section.
6140 (docbook): in docbook 4, inlinegraphics is empty.
6141 * insettabular.C (linuxdoc): export the ascii version of the table
6142 inside a CDATA section.
6144 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * insetparent.C (InsetParent):
6147 * insetgraphicsParams.C (Write):
6149 * insetgraphics.C (prepareFile):
6152 * insetexternal.C (executeCommand):
6153 (doSubstitution): use Buffer::filePath
6155 * insetbib.C (getFiles): add a #warning for Angus
6157 * insetgraphics.C: Add a remark about how filenames should be
6158 considered to be relative to buffer (but absolute is still allowed)
6159 (draw): do not try to get status if lyxrc.use_gui is false
6161 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6164 * insetcollapsable.[Ch]:
6165 * insettabular.[Ch] (searchForward, searchBackward): change the
6166 bool const & params to bool.
6168 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6169 to avoid the name clash with InsetCollapsable's methods of the same
6170 names but different functionality.
6172 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6174 * insettext.C (ascii): use lyx::count rather than countChar.
6176 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6178 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6180 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6182 * insetgraphics.C (updateInset): do not try to render image if
6183 lyxrc.use_gui is false (bug #104)
6185 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6186 if file does not exist
6188 * figinset.C (browseFile): add shortcuts to directory buttons
6190 * insettext.C (updateLocal): update menubar and toolbar here too.
6192 2002-01-13 Allan Rae <rae@lyx.org>
6194 * insettabular.C (InsetTabular): Both constructors now initialise
6195 all class variables.
6197 2002-01-11 Juergen Vigna <jug@sad.it>
6199 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6201 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6203 * insettabular.C (getStatus): add forgotten brace around multiline
6206 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * insetfloat.C (validate): require "float" instead of "floats".
6210 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6212 * insettabular.C (getStatus): use FuncStatus
6214 2002-01-08 Juergen Vigna <jug@sad.it>
6216 * insettabular.C (insetButtonRelease): now this should work too
6219 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6220 if the width is a percentage.
6222 * inset.h: added isChar() function and implemented this for
6223 insetspecialchar insetquotes and insetlatexaccent.
6224 added forceDefaultParagraphs() and implemented it for insettabular.
6226 2002-01-07 Juergen Vigna <jug@sad.it>
6228 * insettext.C (getLyXText): Fixed this function. An insert into the
6229 map is only done if we REALLY have a new BufferView.
6231 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6233 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6235 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6237 * insetinclude.C: fix use of FileInfo
6239 2002-01-07 Juergen Vigna <jug@sad.it>
6241 * insettabular.C (draw): fixed clearing of cell around inset.
6243 2002-01-05 Juergen Vigna <jug@sad.it>
6245 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6246 variables are updated.
6248 * insettabular.C (resetPos): set always the inset_y as it may be
6249 needed in another function.
6250 (searchBackward): don't draw while searching.
6252 2002-01-04 Juergen Vigna <jug@sad.it>
6254 * insettext.C (lockInsetInInset): forgot to set a cursor.
6256 2002-01-02 Juergen Vigna <jug@sad.it>
6258 * insettext.C (insertInset): make the correct undo informations on
6259 inserting new insets.
6261 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6263 * insettabular.C: correct single-cell select vertically
6265 2001-12-27 Juergen Vigna <jug@sad.it>
6267 * insettabular.C (ascii): export as tab-separated-values if the
6268 function was not called from export (f.ex.: clipboard).
6270 * insetcollapsable.h: added default support for ascii, linuxdoc and
6271 docbook export (the insettext is exported by default!)
6273 * insettabular.C (copySelection): suff the clipboard with the tabular
6274 data in a tab separated format, seems more naturals then with all the
6277 2001-12-24 Juergen Vigna <jug@sad.it>
6279 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6280 to check for REAL mouseMotion.
6282 2001-12-20 Juergen Vigna <jug@sad.it>
6284 * inset.C (cursor): return the owners cursor if available instead of
6285 always only the bv->text->cursor.
6287 * insettabular.C (checkLongtableSpecial): works now.
6289 2001-12-19 Juergen Vigna <jug@sad.it>
6291 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6292 this has to be always row + 1 as 0 means not selected!
6293 (checkLongtableSpecial): added
6294 (tabularFeatures): better longtable options support
6296 * insettext.C (resizeLyXText): reinit the text always also on a
6299 2001-12-18 Juergen Vigna <jug@sad.it>
6301 * insettext.C (updateInsetInInset): look if we have to autocollapse
6302 paragraps and return if the update is requested for ourself.
6304 * insetert.C (status): update the insettext not myself as that is what
6307 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6308 function only return if the update was requested with myself.
6310 * insettext.C (insetButtonPress): fixed stupid bug.
6311 (various functions): pay attention that lt is cleared BEFORE calling
6312 updateLocal() and try to use it in the right manner (don't use it
6313 if it's not really neccessary!)
6314 (collapseParagraphs): insert a blank between collapsing paragraphs
6315 if neccessary (not already there!).
6317 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6319 * insettabular.C: move includes around a bit, add a couple of
6322 * insettext.[Ch]: move includes around a bit, other ws changes and
6325 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6327 * insettext.C (insetButtonRelease): fix compile problem
6329 2001-12-17 Juergen Vigna <jug@sad.it>
6331 * insettext.C (insetButtonPress): set the selection cursor!
6332 (insetButtonPress): clear the selection (and set with that the
6333 selection.cursor) if we only hit an inset!
6335 * insetert.C (read): removed piece of compatibility code only needed
6338 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6341 * insetcollapsable.C (insetButtonRelease): changed so that it can
6342 open eventual existing popup dialogs on mousebutton==3.
6344 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6346 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6348 * inset.C (insetButtonRelease): return a bool for telling the outer
6349 world that we opened a dialog.
6351 2001-12-07 Juergen Vigna <jug@sad.it>
6353 * insettext.C (paragraph): remove the deleteing of paragraphs as
6354 it was a WRONG move!
6356 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6359 * insettabular.C: use new setSelection(). Allow
6360 selection of single cells.
6362 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6364 * insetquotes.C (latex): fix to use the local language setting at
6365 the point where the inset is inserted (different macros for
6366 different french packages)
6368 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6370 * inset.h: add par_owner_ member variable and parOwner
6373 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6375 * insettabular.C (everywhere): adapt because widths are now real
6376 widths and not strings
6378 * insettext.C (draw): re-introduce the calls to width(), ascent()
6379 and descent() to initialize the caching variables.
6381 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6383 * insettext.C (draw):
6384 (drawFrame): use insetWidth instead of last_width
6386 * insettext.h: remove variable last_width (insetWidth is exactly
6387 the same) and last_height (computed but never used!)
6389 2001-12-10 Allan Rae <rae@lyx.org>
6391 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6393 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6395 * insettext.C (insetAllowed): add comment
6397 2001-12-05 Juergen Vigna <jug@sad.it>
6399 * insettext.C (insetAllowed): fixed for the case that we directly
6400 ask the insettext from its LyXText.
6401 (paragraph): fixed the crash when assigning the par->next() from
6402 the EmptyParagraphMechanism!
6404 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6408 * insettext.C: change "while(" to "while ("
6410 2001-12-04 Juergen Vigna <jug@sad.it>
6412 * insetert.C (edit): handle Inlined status.
6414 * insettext.C (insertInset): trying John's fix for the trailing cursor
6416 * insetert.C (insetButtonPress): added to handle inlined status
6417 (insetMotionNotify): ditto.
6419 * insettext.C (clearInset): changed Painter & in BufferView * param,
6420 to be able to call ascent,descent methods.
6422 2001-12-03 Juergen Vigna <jug@sad.it>
6424 * insettext.C (updateInsetInInset): use lt variable to forbid
6425 changes of LyXText in an update call.
6426 (updateInsetInInset): fixed updating of non locked insets!
6428 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6430 * insettabular.C: capture some more functions to prevent
6431 selection drawing problems. Bug #451274
6433 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6436 * insetgraphicsParams.C: fix inverted sense of float_equal
6438 2001-11-30 Juergen Vigna <jug@sad.it>
6440 * insettabular.C (InsetTabular): use the save_id flag to create also
6441 the tabular with the same id's.
6443 * insettext.C (setParagraphData): added a same_id function for undo
6444 to set the same paragraph id's as of the paragraph we are setting.
6446 2001-11-30 José Matos <jamatos@fep.up.pt>
6449 * insettoc.[Ch]: DocBook -> docbook.
6451 2001-11-29 André Pönitz <poenitz@gmx.net>
6454 * insettext.C: further reduction of header dependencies by using
6455 lyx::layout_type and lyx::textclass_type from support/types.h
6457 2001-11-29 Juergen Vigna <jug@sad.it>
6459 * insettext.C: inserted a reinitLyXText function everywhere I delete
6460 the paragraphs! This should fixe the crashes we had.
6461 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6462 (paragraph): set the InsetOwner() of the new paragraphs!
6464 2001-11-28 André Pönitz <poenitz@gmx.net>
6466 * insetnote.C: add pos initialization that I removed without
6469 2001-11-28 Juergen Vigna <jug@sad.it>
6471 * insettabular.C (resetPos): hack to not crash with infinite paints.
6473 * insettabular.h: insert missing function allowSpellcheck()!
6475 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6477 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6480 * insetfloatlist.C: derive from InsetCommand so gui can use it
6483 2001-11-26 André Pönitz <poenitz@gmx.net>
6487 * insetnote.C: reduce header dependencies, introduce type for
6490 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6492 * various: update for Alert.h
6494 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6496 * inset.h: fix comment
6498 * insettext.C: use par->isInset()
6500 2001-11-22 Allan Rae <rae@lyx.org>
6502 * insetcollapsable.h:
6503 * inset.h: Changes to checkInsertChar() behaviour.
6504 Now return value indicates whether chars can be inserted.
6506 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6508 * various: updated to use the new LaTeXFeatures
6510 2001-11-14 José Matos <jamatos@fep.up.pt>
6512 * insetspecialchar.C (linuxdoc):
6513 (docbook): don't give a name to a unused variable.
6515 * insettext.C (docbook): removed unused variable.
6517 2001-11-13 Herbert Voss <voss@perce.de>
6519 * insetgraphic.C: fix scale bug
6521 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6523 * inset.h (isSpace):
6524 (isLetter): new virtual methods.
6526 * insetspecialchar.C (isSpace):
6527 (isLetter): implement here.
6529 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6531 * inset.h: new inline helpers
6533 * insettext.C: use new helpers
6535 2001-11-07 José Matos <jamatos@fep.up.pt>
6537 * insettext.C (docbook): full support for paragraphs inside insettext.
6539 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6541 * insetindex.C: added header file for std::ostream.
6543 2001-11-03 José Matos <jamatos@fep.up.pt>
6545 * insetindex.C: added using std::ostream that I forgot yesterday.
6547 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6549 * insetindex.h (docbook):
6550 * insetindex.C (docbook): added support for docbook export.
6552 2001-11-02 José Matos <jamatos@fep.up.pt>
6554 * insetcaption.C(docbook): added support for docbook export.
6556 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6558 * insetexternal.C (updateExternal): Do not run update command if
6559 result file exists and is up to date.
6561 * ExternalTemplate.C (readFormat): Support the updateresult token.
6563 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6565 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6566 external_templates) to use the buffer->fileName() but only if
6567 previewing. Generating a TeX file should make FPath return
6570 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6573 * insetert.C: fix some problems
6575 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6577 * insetexternal.C (doSubstitution): Added $$FPath token
6578 to list of usable substitutions in external inset templates.
6580 2001-10-24 Juergen Vigna <jug@sad.it>
6582 * insettabular.C: use new ltType struct for setting longtable
6583 header and footers also new UNSET enums.
6585 2001-10-24 José Matos <jamatos@fep.up.pt>
6587 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6588 (docbook): If the table is not inside a float then wrap it inside
6589 <informaltable>...</informaltable>.
6591 2001-10-23 José Matos <jamatos@fep.up.pt>
6593 * insetref.C (docbook): removed / terminator to conform SGML.
6595 * insetspecialchar.C (linuxdoc):
6596 (docbook): Added support for special chars, more than ascii export.
6598 2001-10-22 Juergen Vigna <jug@sad.it>
6600 * insettext.C (checkInsertChar): added for REALLY checking the
6601 font of the inserted char in the right inset!
6603 2001-10-19 Juergen Vigna <jug@sad.it>
6605 * inset.h: added method allowSpellcheck() so that insets who do
6606 not have anything to spellcheck can tell and so they are over-jumped.
6607 Implemented for InsetText and co.
6609 2001-10-18 Juergen Vigna <jug@sad.it>
6611 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6613 2001-10-15 José Matos <jamatos@fep.up.pt>
6615 * insetert.C: allow export for docbook and linuxdoc
6617 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6619 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6621 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6623 * insetquotes.C (dispString): fix handling of latin9 quotes
6625 2001-10-03 Juergen Vigna <jug@sad.it>
6629 * insetcollapsable.C: change updateInset calls to not tell BV that
6630 we have changed status.
6632 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6634 * insettabular.C (deletable): make const
6636 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6638 * insetert.C (latex): Fix the returned value
6640 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6642 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6643 Returns string(), so nothing in an ERT inset is spellchecked.
6645 * insetgraphics.C (draw): print the filename if not displaying the
6647 (width): make sure that the width and draw methods are consistent.
6648 (updateInset): don't even load the image into cache if not displaying
6651 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6653 * various files (selectNextWord): renamed as
6654 selectNextWordToSpellcheck.
6656 * insetgraphics.C (draw): remove the previous change. Right place
6657 is in imageLoaderXPM.C.
6658 (draw): don't display the image if params.display == NONE.
6660 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6662 * figinset.C (runqueue):
6663 * insetgraphics.C (draw): set background colour of inset from
6664 background to the user-configurable graphicsbg.
6666 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6668 * insetquotes.C (InsetQuotes): when trying to decide the side of
6669 the quote, choose `left' only after a space or '('
6671 2001-09-04 José Matos <jamatos@fep.up.pt>
6676 * insetcollapsable.h
6694 * insetlatexaccent.C
6695 * insetlatexaccent.h
6700 * insetspecialchar.C
6701 * insetspecialchar.h
6705 * insettext.C (docbook): rename docBook method to docbook.
6707 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6709 * inset.h (getFirstParagraph): New virtual method.
6711 2001-08-20 Herbert Voss <voss@perce.de>
6712 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6713 in the the bibtex-database-gui for inserting a line
6716 If no style is given than there is no tex-output.
6718 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6720 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6724 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6726 * insetert.C (latex): Fix output for multiple paragraphs.
6727 (write): New code for writing paragraph data.
6728 (read): Set font after reading the inset.
6729 (localDispatch): Call set_latex_font() for more cases.
6731 * insetnote.h: Add empty validate method.
6734 * insetnote.C (InsetNote): Set language to the language of the
6737 2001-08-16 Juergen Vigna <jug@sad.it>
6739 * insettext.C: implemented the new FINISHED states.
6741 * insettabular.C: ditto
6743 * inset.h: added more FINISHED states for cursor right,up,down
6745 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6747 * insetfloatlist.C: use "FloatName List"
6749 2001-08-14 Juergen Vigna <jug@sad.it>
6751 * insetert.C (edit): forgot to set status_ in edit calls!
6753 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6755 * insettext.C: Compilation fix
6757 2001-08-13 Juergen Vigna <jug@sad.it>
6759 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6761 * insetcollapsable.C (edit): don't recollapse an already open inset.
6763 * insettext.C: fixed problem when reinitializing LyXText by not doing
6764 it while lt is in use and post this to the next possible time in
6766 (searchForward): fixed not unlocking of inset if nothing found.
6767 (edit): set cursor behind right (was set -1 pos).
6769 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6771 * insettabular.C (tabularFeatures): fixed fix where deleting the
6772 last row didn't get the right actcell!
6774 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6776 * insettext.C (localDispatch): Change language only when the inset
6779 2001-08-10 Juergen Vigna <jug@sad.it>
6781 * insettabular.C (selectNextWordInt): use the front using edit call.
6783 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6784 the parameter overwrite class variable inset.
6786 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6788 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6789 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6791 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6792 update only for fixed with cells.
6793 (resetPos): try to fix the lockup on spellchecking or s&r.
6795 * insettext.C (update): comment this out as it seems first wrong
6796 and second not needed anymore!
6797 (some functions): call reinitLyXText() only in update() in all other
6798 positions set only need_update = INIT.
6800 2001-08-08 Juergen Vigna <jug@sad.it>
6802 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6804 * insettext.C (insetUnlock): remove double-space on inset unlock.
6806 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6808 * insettabular.C (update): fixed cursor positon after an insert.
6809 (insetAllowed): do not allow to insert insets when not inside the
6811 (draw): clear below an inset too as it could have changed height.
6813 * inset.C (getMaxWidth): fixed width for inset in inset.
6815 * insettext.C (update): small fix.
6817 * insettabular.C (tabularFeatures): added selection support to
6818 DELETE_ROW/DELETE_COLUMN.
6820 2001-08-07 Juergen Vigna <jug@sad.it>
6822 * inset.C (getMaxWidth): recoded and all it's implementations!
6824 * insettext.C (init,setParagraph+constructors): cleanups
6825 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6826 are new and I want do a save/restore of the cursor position which is
6827 not possible anymore.
6829 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6830 (searchBackward): ditto
6831 (selectNextWord): ditto
6833 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6835 * insetlatexaccent.C (checkContents): Add some debug messages
6837 2001-08-07 Juergen Vigna <jug@sad.it>
6839 * insetert.C (read): don't use InsetCollapsable::read as we don't
6840 write the collapsed status anymore only the status.
6843 2001-08-06 Juergen Vigna <jug@sad.it>
6845 * insetert.C (set_latex_font): use LyXText's setFont directly.
6847 * insettext.C (drawFrame): fixed one time more the right position
6848 and size of the frame!
6850 * insetert.C (~InsetERT): hide the dialog.
6851 (showInsetDialog): added implementation
6854 (status): new function for the status of the ERT inset (3-state).
6855 (write): output also the status of the inset for readback!
6856 (read): readback the status if available otherwise use collapsed_.
6858 * insettext.C (edit): small fix of setting the position, which could
6861 * insetert.C (width): implement this function for inlined viewing.
6862 Added minimum width of 10 pixels!
6864 * insetminipage.C (InsetMinipage): just change the colors a bit so
6865 that border/background is a bit more visible. We will remove this
6868 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6869 function for getting the important widths for drawing in various
6870 functions and in LyXText.
6871 (draw): fixed up a bit (frame drawing/clearing)
6873 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6875 * inset.C (convertFont): delete method. not used.
6877 2001-08-03 Juergen Vigna <jug@sad.it>
6879 * insettext.C (setFont): don't call for a draw update if we're just
6880 changing the cursor font!
6882 2001-08-02 Juergen Vigna <jug@sad.it>
6884 * insettext.C (draw): clear the background with the right color if
6885 needed. Update myself if x&max-width changed and return without doing
6886 anything. Let the update code handle the right stuff.
6888 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6889 inside another inset.
6891 2001-08-01 Juergen Vigna <jug@sad.it>
6893 * insetcollapsable.C (update): added an in_update bool so we avoid
6896 * insettabular.C (update): added an in_update bool so we avoid
6899 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6901 (update): added an in_update bool so we avoid reentering.
6903 * insettabular.C (localDispatch): clear col/row selection when doing
6904 something else inside an inset.
6906 * insettext.C (getLyXText): fixed bug when requesting a recursive
6909 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6911 * insetcite.C (latex): Paranoia check. Make sure that there is no
6912 whitespace between the citation keys.
6914 2001-07-31 Juergen Vigna <jug@sad.it>
6916 * inset.h (nodraw): make the set function also const so that this
6917 can be called from inside other const functions.
6919 * insetcollapsable.h: removed inline variable and moved it over
6920 to the only user InsetERT.
6922 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6923 inset opening immediately therein lying insets dialogs!
6925 * insetert.C (localDispatch): set the font also if we don't have any
6926 chars in this paragraph, otherwise if we delete all of em and start
6927 writing we have the wrong font.
6929 (draw): implemented for inline support
6930 (insetButtonRelease): ditto.
6932 2001-07-30 Juergen Vigna <jug@sad.it>
6934 * insettext.C (reinitLyXText): new function to reinit the insets
6935 text after lot's of paragraph changes. Use this instead of the
6936 cache.clear() which is VERY dangerous.
6938 * insetfloat.C (insetButtonRelease): we should only show the dialog
6939 if we press on the label otherwise we have problems to open mouse
6940 button 3 dialogs inside this float (f.ex. of a tabular!)
6942 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6944 * insetert.C: change back to "ERT"
6946 * insetfloat.C: handliign of RMB on label added.
6948 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6950 * insetgraphicsParams.C: #include LOstream.h here.
6952 * insetfoot.h: remove InsetFoot:: qualifier.
6954 2001-07-29 Baruch Even <baruch@lyx.org>
6956 * ChangeLog: Hiding time travel evidence.
6958 * insetgraphicsParams.h:
6959 * insetgraphicsParams.C:
6960 * insetgraphics.C: Added horizontal scale option, it actually
6961 scales both directions since it keeps image proportions.
6963 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6965 2001-07-29 Baruch Even <baruch@lyx.org>
6967 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6968 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6970 HACKY! Will need to add an EPS detection routine like old InsetFig
6973 2001-07-29 Baruch Even <baruch@lyx.org>
6975 * insetgraphics.C: Added EPSI to be an alias of EPS.
6977 2001-07-29 Baruch Even <baruch@lyx.org>
6979 * insetgraphics.C: Change GRAPHICS to Graphics.
6980 Changed image conversion rules (documented at the beginning of file).
6982 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6984 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6987 * insetgraphics.C: added a using std::endl directive.
6989 * insetcommand.h (getScreenLabel): removed pure virtual function,
6990 as it duplicates that in InsetButton.
6992 * insetbib.[Ch] (getScreenLabel):
6993 * insetbutton.[Ch] (getScreenLabel):
6994 * insetcite.[Ch] (getScreenLabel):
6995 * insetert.[Ch] (getScreenLabel):
6996 * insetexternal.[Ch] (getScreenLabel):
6997 * insetfloatlist.[Ch] (getScreenLabel):
6998 * insetinclude.[Ch] (getScreenLabel):
6999 * insetindex.[Ch] (getScreenLabel):
7000 * insetlabel.h (getScreenLabel):
7001 * insetparent.[Ch] (getScreenLabel):
7002 * insetref.[Ch] (getScreenLabel):
7003 * insettoc.[Ch] (getScreenLabel):
7004 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
7006 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
7008 (validate): remove check on "cite" when using natbib.
7010 2001-07-26 Baruch Even <baruch@lyx.org>
7012 * insetgraphics.C (draw): changed casting to be in one place
7013 rather than all over the function.
7016 * insetgraphics.C (read): Added compatibility reads of InsetFig.
7018 * insetgraphicsParams.h:
7019 * insetgraphicsParams.C:
7020 * insetgraphics.C: Removed inline option and changed rotateAngle
7023 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7025 * insetfoot.C (validate): Added method to ensure that the
7026 right bit of LaTeX is emitted.
7028 * insetfoot.h: Added validate method to set the correct
7029 LaTeXFeatures bit for the special footnote code.
7031 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7033 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7036 2001-07-27 Juergen Vigna <jug@sad.it>
7038 * inset.h: remove unused font variable in parameter.
7039 removed checkInsertChar in UpdatableInset as it was equal to
7040 the one in Inset and so not needed.
7042 * insetert.C (checkInsertChar): implementation of function
7045 * inset.h: added new function checkInsertChar.
7047 * various files: added c-tor and clone() function.
7049 * insetcollapsable.h: removed clone function here as this should
7050 be only realized in REAL insets and added it to all collapsable
7051 insets! (with the copy-constructor).
7053 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7055 * insetminipage.C (read): handle missing parameters more gracefully
7057 * insetcollapsable.C (read): handel missing collapsed more gracefully
7059 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7061 * insetfloat.C (read): handle missing parameters.
7063 * insettext.C (read): handle old latex end_inset
7065 * insetert.C (setButtonLabel): new method
7066 (init): use it, to set the dynamic label correctly
7069 * Makefile.am (EXTRA_DIST): add files that is not part or the
7072 * insetcollapsable.h: remove autocollapsable (no users), remove
7073 draw_label, change_label_with_text and companion code. Remove args
7075 * insetert.[Ch]: move here instead (only user)
7077 * inset.h: rename private variable name to name_, make
7078 selectNextWord return a const string. make getInsetName return a
7079 string const &. Remove bool from open, add close.
7081 * Makefile.am: don't compile insetlist, insetsection
7084 2001-07-24 Juergen Vigna <jug@sad.it>
7086 * insetert.C (InsetERT): put init after the paragraph initialization,
7087 as otherwise we don't set the draw_label right.
7089 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7090 insets with the mouse without having strange selections.
7091 (edit): if the inset was collapsed and we open it here then put the
7092 cursor always at the beginning of the inset.
7093 (get_new_label): 15 instead of 10 max chars in the label.
7095 * insetert.C (localDispatch): added and handle various stuff we
7096 need to handle here (font setting on paragraph break, not permitted
7097 layout setting, etc.).
7099 * inset.h: added default copy-consturctor and implemented this in
7100 various insets with the change to use this in the clone function!
7102 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7104 * insetminipage.C (InsetMinipage): set background color to red :)
7106 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7108 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7109 draw frame mode is LOCKED.
7111 * insetcollapsable.C (edit):
7112 (insetButtonRelease): set update status to full when
7115 * insettext.C (clearInset):
7116 * insettabular.C (draw):
7117 * insetlatexaccent.C (draw): honor background color.
7119 * inset.h: new member background_color_, initialized to
7122 * inset.C (backgroundColor): new method.
7123 (setBackgroundColor): new method.
7125 * insetert.C (init): new method, called by the ctors.
7126 (InsetERT): when inserting contents, make sure the font is
7129 * insetnote.C (InsetNote): when inserting content, remove trailing
7131 (init): set background color to LColor::note
7133 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7135 * insetcollapsable.C: adjust
7137 * insetbutton.C: adjust
7139 2001-07-23 Juergen Vigna <jug@sad.it>
7141 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7142 parameter on the _collapsed function (was not needed) and call
7143 always width_collapsed().
7145 * insetert.C (InsetERT): use setLabel with "true" flag.
7147 * insetcollapsable.C: modified various functions to set the draw_label
7148 string right in any condition.
7149 (setLabel): added a bool parameter to set change_label_with_text.
7151 * insetcollapsable.h: added draw_label string which is set to the
7152 actual drawn label-string, while label is the original static label
7153 of this collapsable inset. Added bool change_label_with_text to set
7154 if we want that the label changes to the start of the InsetText's
7155 text when collabpsed. You can set this flag with the setLabel funciton.
7156 Added bool inlined for inlined collapsable insets, but not handled
7159 * insetcollapsable.C (get_new_label): added should get a new label
7160 from the InsetText beginning (for now 10 chars).
7162 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7164 * insetquotes.C (latex): fix the handling of french double quotes
7165 when not using the french pachage.
7167 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7169 * insetcollapsable.h: make WidthCollapsed mutable.
7171 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7172 InsetPrintIndex returns INDEX_PRINT_CODE.
7174 * inset.h: add INDEX_PRINT_CODE
7176 * insetcollapsable.C (draw): init widthCollapsed if necessary
7179 * insetquotes.C (width): use the local language, not the document
7182 (dispString): add additional spacing for all french languages,
7184 (validate): make it work when there is no default language
7186 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7188 * insetnote.C (init): new method, called by the constructors
7189 (InsetNote): new constructor with contents passed as a string
7191 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7193 * insetfootlike.C (insetAllowed): disallow float in footlike.
7195 * insetert.C (InsetERT): add collapsed argument to the constrctor
7198 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * insetindex.h: shut off warning
7202 2001-07-20 Juergen Vigna <jug@sad.it>
7204 * insetcollapsable.C (update): recoded hopefully works now!
7206 2001-07-19 Juergen Vigna <jug@sad.it>
7208 * most files: implemented the below new introduced function.
7210 * inset.h: added new edit(BufferView *, bool front) method to be able
7211 to enter an inset from the front/back without knowing x/y positions
7212 and baselines inside the inset. So I just can tell the inset activate
7213 me and set the cursor on the front/back of yourself.
7215 2001-07-18 Juergen Vigna <jug@sad.it>
7217 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7218 is given to the InsetText.
7219 (insetButtonPress): ditto
7220 (insetButtonRelease): ditto
7221 (insetMotionNotify): ditto
7223 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7225 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7226 LIGATURE_BREAK, since the name is so stupid.
7228 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7230 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7231 the default InsetCollapsable methods. I.e., it can insert anything.
7232 (write) output the name of the inset, not some silly hack for
7233 compatability with the old InsetInfo.
7235 * insetinfo.[Ch]: removed.
7236 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7237 now collapsable, but functionality is otherwise identical to InsetInfo.
7239 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7241 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7243 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7246 * insetquotes.C: general cleanup
7247 (dispString): add spaces inside french double quotes.
7248 (latex): ditto. Moreover, treat first the case where the frenchb
7249 or french options have been given.
7251 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7253 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7256 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7258 * figinset.C (RegisterFigure): Print debug message only when
7259 current_view is available.
7261 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7263 * many files: update to match the change below
7265 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7266 implement the version which takes an inset here.
7268 * insetcollapsable.[Ch]: implement open and isOpen
7270 * inset.h: remove insertInsetAllowed from Inset
7271 (open): new method, to open or close an inset
7272 (isOpen): returns the status of an inset
7273 (isCollapsable, colapse): removed
7275 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7277 * insetquotes.C (dispString): display french guillemets when using
7280 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7282 * insetcollapsable.h: remove bogus return statements
7284 2001-07-18 Juergen Vigna <jug@sad.it>
7286 * insettabular.C (selectNextWord): fixed spellchecking for the
7287 first cell of a tabular (wasn't entered!)
7288 (getLyXText): changed to enter automatically insettext and return
7289 it's LyXText if we're locked.
7291 2001-07-17 Juergen Vigna <jug@sad.it>
7293 * various files: implemented the below functions.
7295 * inset.h: added functions
7296 - virtual string selectNextWord(BufferView *, float & value) const;
7297 - virtual void selectSelectedWord(BufferView *) { return; }
7298 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7299 needed for spellchecking correctly!
7301 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7303 * insetert.C (latex): write out all paragraphs.
7305 2001-07-17 Baruch Even <baruch@lyx.org>
7307 * insetgraphics.C (draw): Removed unneeded casts.
7309 2001-07-16 Juergen Vigna <jug@sad.it>
7311 * insettext.C (update): fixed small oversight (reset lt to 0).
7313 2001-07-14 Baruch Even <baruch@lyx.org>
7316 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7318 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7320 Consistent use of Lsstream.h:
7321 * figinset.C: removed using std::ostringstream directive.
7323 * insetgraphics.C (createLatexOptions):
7324 * insetinclude.C (unique_id):
7325 std::ostringstream -> ostringstream.
7326 * insettext.C (localDispatch): std::istringstream -> istringstream.
7328 2001-07-13 Juergen Vigna <jug@sad.it>
7330 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7332 * insetcollapsable.C (getLockingInset): ditto.
7334 2001-07-12 Juergen Vigna <jug@sad.it>
7336 * insetcollapsable.h: added implementation of new function for
7339 * various files: added implementation of new insertInsetAllowed-func
7340 and redone the function a bit more.
7342 * inset.h: added isCollapsable(), bool collapsed(),
7343 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7345 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7347 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7348 LyXText which is marked for removal while we're using it!
7350 * insettext.h: added private LyXText * lt to use it to assure we are
7351 not deleting our LyXText while we're using it!
7353 2001-07-11 Juergen Vigna <jug@sad.it>
7355 * insettext.C (insertInset): check if we are before the inset after
7356 inserting it! This check IS needed. Remove the Undo-Call as it is
7357 called in LyXText::insertInset!
7359 * insettext.h: added struct InnerCache.
7361 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7362 that we ONLY delete the LyXText in the getLyXText() routine. So we
7363 are sure we don't delete LyXText while someone is working with it!
7365 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7367 * insetexternal.C: (*it). -> it->
7368 * insettext.C: ditto
7370 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7372 * insetcollapsable.C (edit): always open collapsed insets (even if
7373 they are not autocollapsable)
7375 * insetcommand.C (operator=): simplify.
7377 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * insetert.C (latex): handle META_NEWLINE
7381 2001-07-09 Juergen Vigna <jug@sad.it>
7383 * insetert.h: a normal InsetText can insert insets, but we won't.
7385 * inset.h: return default "false" on insertInsetAllowed and implement
7386 this function where a returnvalue != "false" is needed.
7388 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7390 * insetert.C (InsetERT): new contructor
7392 2001-07-06 Juergen Vigna <jug@sad.it>
7394 * a lot of files: added implementation of the below new functions
7395 and the change to clone(). Also the call of the new undo-functions
7398 * inset.h: added an inset_id, added functions getParFromID,
7399 getInsetFromID, firstParagraph, cursor and id functions, added
7400 bool same_ids to clone function.
7402 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7405 of BufferView * and shared_ptr<LyXText>
7407 2001-07-05 Juergen Vigna <jug@sad.it>
7409 * insettext.C (clear): deleted also the cache not only LyXText.
7410 (setParagraphData): ditto.
7412 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * insetfloat.C (latex): let the specific placement take presedence
7415 if set, otherwise choose document placement if set, otherwise just
7416 use float default placement.
7418 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * insettext.C (localDispatch): call CutAndPaste::'s static method
7423 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7425 * insetbib.C: no meed to include forms.h here.
7427 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7429 * insettext.C: added using std::make_pair directive.
7431 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7433 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7435 (deleteLyXText): ditto
7436 (resizeLyXText): ditto
7438 2001-07-02 Juergen Vigna <jug@sad.it>
7440 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7441 following calls are only returned the right pointer without the over
7442 head to search in the map.
7443 (various funcs): reset the cached_bview variable as this signs that
7444 the cache is not valid anymore.
7446 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7448 * insettabular.C (clone): do not copy the LyXTabular twice
7450 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * insettext.h (TEXT): delete method
7454 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7456 * insetmarginal.C (latex):
7457 * insetfoot.C (latex): fix spacing of notes in LaTeX
7459 * insettext.C (localDispatch): use .c_str() on istringstream
7460 constructor argument.
7462 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7467 * inseturl.C: fix method names in these to begin
7468 with small char too, so they inherit
7470 2001-06-28 Juergen Vigna <jug@sad.it>
7472 * insettext.C (setFont): fixed font settings using toggleFree()
7473 instead of setFont().
7475 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7477 * Change a lot of method names to begin with a small char.
7478 Changes to a lot of files because of this.
7480 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7482 * insetfloatlist.C (Write): std:: qualify ostream
7485 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7489 * insetgraphics.C: send debug output to Debug::INFO instead of
7492 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7495 * insettabular.C (getStatus): update to use func_status
7497 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7499 * insetref.C (DocBook): added support for cross-references without
7502 2001-06-26 The LyX Project <jug@sad.it>
7507 * insetlabel.h: removed escape method and moved it to
7510 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7512 * insettabular.C (getMaxWidth): do the speedup in a different way,
7515 2001-06-24 The LyX Project <Asger>
7517 * insettabular.C (getMaxWidth): We cache a mapping from
7518 inset to cell in order to speed this method up.
7520 2001-06-24 The LyX Project <Asger>
7522 * insettext.C: Optimized InsetText::draw or something.
7524 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7526 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7528 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7530 * inset.h: name change from lyxinset.h
7532 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7534 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7536 2001-06-14 Juergen Vigna <jug@sad.it>
7538 * insettext.C (draw): removed warnings.
7540 2001-06-13 Juergen Vigna <jug@sad.it>
7542 * insettabular.C (nodraw): only go down the tree if we don't have
7543 that flag set otherwise it's obvious that we don't want to draw.
7544 (LocalDispatch): do also an update if we have an undispached result.
7546 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7549 * insetgraphicsParams.C:
7550 * insettext.C: removed // -*- C++ -*- as first line.
7552 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7554 * lyxinset.h (resizeLyXText): shut off warning about unused
7557 2001-06-07 Juergen Vigna <jug@sad.it>
7559 * insettext.C (resizeLyXText): honor the new force flag.
7561 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7563 * insettabular.C (deleteLyXText): new function
7565 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7573 * insetcollapsable.C:
7574 * insetcaption.C: LColor tidy
7576 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7578 * figinset.C: fix typo
7580 2001-06-01 Juergen Vigna <jug@sad.it>
7582 * insettabular.C (resetPos): small hack so that scroll is not set to
7583 0 when we are in the last column of a tabular. This is a problem we
7584 have because of constats 20 offset on both directions, so this can
7585 cause on the limit an endless loop.
7587 * insettext.C (SetFont): forgot that we can have locking insets ;)
7589 2001-05-31 Juergen Vigna <jug@sad.it>
7591 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7593 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7595 * figinset.C: add using std:: directive for the C functions which
7598 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * insetfloat.C (Write): write out wide info
7601 (Read): read the wide info
7602 (Latex): use the wide info when creating latex.
7604 * insettext.C: adjust
7606 * insetgraphics.[Ch] (statusMessage): change to return string
7610 * figinset.C (runqueue): add std::
7613 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7615 * insetcite.C (Ascii): add std:: qualifier
7617 2001-05-28 Juergen Vigna <jug@sad.it>
7619 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7620 a endless-width inset (maxWidth < 0).
7621 (Edit): change language only if not equal.
7623 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7625 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7627 2001-05-16 Juergen Vigna <jug@sad.it>
7629 * insettext.C (selectAll): added
7630 (clearSelection): added
7632 * insettabular.C (SetFont): now we may set a font on a whole selection!
7633 (getSelection): added helper function.
7635 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7637 * insetcite.C (Ascii): Add method.
7639 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7642 * insetbib.C: fix path for OS/2 & Win32
7644 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7646 * insetfoot.C (Latex): don't use % after footnote.
7648 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7650 * insettext.C (Read): use clear
7651 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7653 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7655 * insetfloatlist.h: add a bunch of std:: qualifiers.
7657 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7659 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7660 FLOAT_LIST_CODE, renumber code list.
7662 * insettoc.C (getScreenLabel): remove support for float lists
7666 * insetfloatlist.[Ch]: new files
7668 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7670 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7672 * insettabular.C (LocalDispatch):
7673 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7676 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7678 * insettext.C: remvoe !NEW_INSETS cruft
7680 * insettabular.C: remove !NEW_INSETS cruft
7682 * insetcollapsable.h: remove !NEW_INSETS cruft
7684 * insetbib.C: remove !NEW_INSETS cruft
7686 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7688 * insettoc.C: hack to make listof algorithm work
7690 2001-04-20 Juergen Vigna <jug@sad.it>
7692 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7694 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7696 * insetquotes.C (Latex): improve the guard against
7697 unwanted !` and ?` ligatures. This should really be done in
7698 another place (to catch all this ligatures at low-level).
7700 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7702 * insettext.C (init): remvoe leftovers from cursor_visible change
7703 (draw): use c++ cast
7704 (LocalDispatch): dispatch LFUN_MESSAGE
7706 * insettabular.C (InsetTabular): remove leftovers from
7707 cursor_visible, and scoped_ptr changes
7708 (draw): use c++ cast
7710 * insetcollapsable.C (draw): use c++ cast
7712 * ExternalTemplate.h: inherit privaely from noncopyable
7713 * insetcommand.h: ditto
7714 * insetinclude.h: ditto
7716 2001-04-16 Allan Rae <rae@lyx.org>
7718 * insettoc.C (Ascii):
7719 * insettext.C (draw):
7720 * insettabular.C (setPos):
7721 * insetminipage.C (Read):
7722 * insetfloat.C (placement):
7723 * insetcaption.C (Ascii, DocBook):
7724 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7725 an unrecognised preprocessor directive. So ensure they're wrapped.
7727 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7730 * insetexternal.C: set view on Clone. Add _ to private members.
7732 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7734 * insettext.C (InsetText): fix new
7735 (InsetText): reindent some, simplify deletion of par list
7736 (clear): simplify deletion of par list, fix new
7737 (SetParagraphData): simplify deletion of par list
7739 * insettabular.[Ch] (getLabelList): implement new method
7741 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7743 * lyxinset.h: do not include gettext.h...
7751 * insetlatexaccent.C:
7755 * inseturl.C: ... and do it here instead
7757 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7759 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7761 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7763 * insetcollapsable.[Ch] (getLabelList): implement
7765 * insettext.[Ch] (getLabelList): implement
7767 * insettext.h: reindent
7769 * insettabular.h: make tabular a scoped_ptr
7771 * insettext.C (init): adjust for cursor_visible
7772 (ToggleInsetCursor): constify asc and desc, font, adjust for
7774 (ShowInsetCursor): constify asc and desc, font, adjust for
7776 (HideInsetCursor): adjust for cursor_visible
7778 * insettabular.C: reindent some
7779 (InsetTabular): adjust for scoped_ptr and cursor_visible
7780 (InsetTabular): ditto
7781 (~InsetTabular): delete delete
7782 (Clone): adjust for scoped_ptr
7783 (Read): constify old_format, adjust for scoped_ptr, move init of
7785 (draw): constify tx, localize loop vars.
7786 some other localization of variables, remove double initilizatons.
7788 * insetfoot.C: remove using std::ostream, add ostream where needed
7790 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7792 * lyxinset.h: some reindentaion, use initializer list for
7794 UpdatableInset: make cursor_visible a private var add
7795 public isCursorVisible(), add protected toggleCursorVisible() and
7796 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7798 * insettoc.C: remvoe using decl
7799 (getScreenLabel): make cmdname donst
7802 (Ascii): don't use endl
7804 * insetfootlike.C: remove using decl at file scope and add std::
7806 * insetmarginal.C: ditto
7808 * insetfoot.C: some reformatting
7810 * insetfloat.C (InsetButtonRelease): adjust the hit area
7812 * insetert.C (SetFont): some reformatting
7814 * insetcollapsable.C: some reformatting and constification
7815 (Clone): comment out.
7816 * insetcollapsable.h: some reformatting
7817 (Clone): comment out.
7822 2001-03-30 Juergen Vigna <jug@sad.it>
7824 * insetcollapsable.h: changen *inset to be a InsetText inset.
7826 * some files: changed to reflect the above change.
7828 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7830 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7831 InsetExternal::Params.
7832 Added operator==() and operator!=() for the Params struct.
7834 2001-03-29 Juergen Vigna <jug@sad.it>
7836 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7839 * insetminipage.C: removed widthp_ and all it's functions and changed
7840 to use new %-lengths of LyXLength.
7842 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7844 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7846 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7848 * insetgraphicsParams.C (operator!=): new function, needed by the
7849 ControlGraphics class.
7851 2001-03-28 Juergen Vigna <jug@sad.it>
7853 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7854 (checkAndActivateInset): don't use the values returned from
7855 call to bv->checkInsetHit.
7857 * insetminipage.C (Clone): set special minipage values.
7859 * insetcollapsable.C (draw): changed to draw the button in the
7860 upper left corner outside the textinset.
7861 (ascent): changed because of different drawing
7865 (InsetButtonPress): ditto
7866 (InsetButtonRelease): ditto
7867 (InsetMotionNotify): ditto
7869 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7871 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7875 2001-03-26 Juergen Vigna <jug@sad.it>
7877 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7879 * insettext.C (ShowInsetDialog): implemented above function.
7881 * insettabular.C (ShowInsetDialog): ditto
7883 * insetminipage.C (ShowInsetDialog): ditto
7885 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7887 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7888 InsetInclude::Params. Don't store a buffer * in Params. Store the
7889 master file name instead.
7891 2001-03-23 Juergen Vigna <jug@sad.it>
7893 * insetcollapsable.C (InsetMotionNotify):
7894 (InsetButtonRelease):
7895 (InsetButtonPress): fixed y-offset (minipages).
7897 * insettext.C (draw): force a FULL update if cleared == true.
7899 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7900 routine to draw the minipages on its position-flag.
7901 (InsetInInsetY): give back the right y position, because of minipage
7904 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7907 * insetfloat.C (DocBook): docbook export code.
7909 2001-03-22 Juergen Vigna <jug@sad.it>
7911 * insetminipage.C (getMaxWidth): added function to set the drawing
7913 (Read): should work now!
7915 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7916 if we create a new inset.
7918 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7920 * figinset.C (fl_set_preemptive_callback): moved definition outside
7923 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7925 * insetminipage.C (Read): prepare for reading of minipage arguments.
7927 2001-03-18 Baruch Even <baruch@lyx.org>
7929 * insetgraphics.C: Minor cleanups of the comments and code.
7931 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7933 * insetminipage.C (InsetMinipage): default to not collapsed
7935 2001-03-16 Juergen Vigna <jug@sad.it>
7937 * insetminipage.C (width): modified with to be a string
7938 (widthp): added widthp (for % width) support functions.
7939 (InsetButtonRelease): added to open the options dialog on button==3.
7940 (~InsetMinipage): added to hide the dialog.
7942 * insetminipage.h: added hideDialog signal
7944 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7946 * insetminipage.h: change the order or Position to match
7947 LyXParagraph::MINIPAGE_ALIGNMENT
7949 * several files: remvoe CXX_WORKING_NAMESPACES
7951 * ExternalTemplate.h: noncopyable is in namespace boost
7952 * insetinclude.h: ditto
7953 * insetcommand.h: ditto
7955 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7957 * insettext.C (Edit): #else# -> #else.
7958 * insettoc.C: added using directive.
7960 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7962 * insetminipage.h: add pos, inner_pos, width and height. + getters
7963 and setters for all of them.
7965 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7967 * insetinclude.C (Latex): Do not exit when the textclass of the
7968 included file differ from the textclass of the parent file.
7970 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7972 * ExternalTemplate.C (read): the reading of external insets now checks
7973 for \end_inset and removes it form the input stream.
7975 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7977 * ExternalTemplate.h:
7978 * ExternalTemplate.C:
7980 * insetexternal.C: move form to GUII
7982 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7985 * insetinclude.C: add InsetIncludeParams, use
7986 composition rather than derivation of InsetCommand
7988 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7990 * insettoc.C (Ascii): use the Buffer typedefs
7992 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7994 * insettoc.C (Ascii): implement for dynamic number of lists
7996 * insetcaption.[Ch]: update from new_insets branch
7997 * insetfloat.[Ch]: ditto
7999 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8002 * figinset.C: use new File Dialog
8004 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8006 * insettext.C: changes becuase of ParagraphParameters.
8008 2001-02-28 Baruch Even <baruch@ev-en.org>
8010 * insetgraphics.C (updateInset): Changed due to the change in
8013 2001-02-26 Juergen Vigna <jug@sad.it>
8015 * insettext.C (SetFont): Set Undo only if we have selection (as it is
8016 handled in LyXText).
8018 2001-02-23 Juergen Vigna <jug@sad.it>
8020 * insettext.C (draw): some small repainting fixes.
8021 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
8023 * inset.C (LocalDispatch): changed action to be a kb_action (as it
8024 should be) and not an int.
8026 * insettabular.C (LocalDispatch): ditto
8028 * insettext.C (LocalDispatch): ditto
8030 * insetcollapsable.C (LocalDispatch): ditto
8032 2001-02-22 Juergen Vigna <jug@sad.it>
8034 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
8035 DISPATCH it and we don't have a locking_inset.
8037 2001-02-21 Baruch Even <baruch@ev-en.org>
8039 * insetgraphics.[Ch]: Changed to use
8040 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8042 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8044 * insetcollapsable.C (getLyXText): add const qualifier to second
8047 2001-02-22 Juergen Vigna <jug@sad.it>
8049 * insettext.C (getLyXText): honor the recursive parameter.
8050 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8052 * inset.C (getLyXText): added bool recursive parameter.
8054 * insettext.C (SetUpdateStatus): or the update codes.
8055 (draw): check need_update with &.
8056 (InsetButtonPress): set no_selection to not put a selection when
8057 entering an inset and it is redraws in another spot.
8059 * insettext.h: made need_update an int.
8061 2001-02-20 Baruch Even <baruch@ev-en.org>
8064 * insetgraphisc.C: Changed to use better semantics when loading images
8065 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8067 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8071 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8072 consistent with InsetTabular.
8074 2001-02-19 Juergen Vigna <jug@sad.it>
8076 * insettabular.C (LocalDispatch): implement PAGE up/down.
8078 * insettext.C (draw): clear all of it on need_update==INIT too!
8080 * insettabular.C (InsetUnlock): always clear the selection.
8082 * inset.C (scroll): normally we only want to scroll the inset until
8083 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8085 2001-02-14 Juergen Vigna <jug@sad.it>
8087 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8088 (resetPos): fixed scroll behaviour.
8089 (LocalDispatch): do an update if moving cursor inside a table cell
8090 requests a scroll of the tabular.
8092 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8094 * insettext.C (textWidth): constify local var
8096 * insettabular.C: small cleanup.
8098 * insetfoot.C (Latex): constify local var
8100 * insetcollapsable.C: small cleanup.
8102 * figinset.C (runqueue): use compare instead of strcmp
8104 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8107 * insetinfo.C: remove cruft
8109 2001-02-14 Juergen Vigna <jug@sad.it>
8111 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8113 2001-02-13 Juergen Vigna <jug@sad.it>
8115 * insettext.C (InsertInset): don't move left (is this right?)
8117 * insettabular.C (LocalDispatch): use of the no_draw variable
8119 * insettabular.h: new no_draw variable to stop redraw
8121 * insettabular.C (TabularFeatures): fixed update for alignment change
8123 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8127 * insetbib.C: move dialogs to frontends/
8129 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8131 * insettext.C (LocalDispatch): Restore the language if the inset
8134 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8136 * insettext.C (moveRightIntern): Update the selection cursor.
8137 (moveLeftIntern): Ditto.
8139 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * Makefile.am: remove BoundingBox.h
8143 * BoundingBox.h: removed
8145 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8147 * insettext.C (LocalDispatch): Update selection cursor when moving
8148 cursor to the right.
8149 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8150 (moveLeftIntern): Ditto.
8152 2001-02-05 Baruch Even <baruch.even@writeme.com>
8154 * insetgraphics.C: Updated automatic image conversion, it now goes into
8155 temporary directory instead of with the image itself.
8157 2001-01-21 Baruch Even <baruch@ev-en.org>
8159 * insetgraphics.C: Added Docbook support. Added Automatic image
8160 conversion to EPS or PNG when needed (support bitmap graphics).
8162 2000-11-02 Baruch Even <baruch@ev-en.org>
8165 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8166 to '\n' and removal of commented out code.
8168 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8170 * insetbib.C (callback): Update citations if the key has changed.
8172 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8174 * insetbib.C (InsetBibKey): Better computation of default key.
8175 (getScreenLabel) Show both the key and the label.
8176 (getBibLabel): New method.
8177 (callback): Force a redraw if the inset have been changed.
8179 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8181 * insetref.C (getType, getName): Move methods from
8182 src/frontends/xforms/FormRef.C.
8184 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8186 * insettabular.C: Various improvements (use only one dummy position).
8188 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8190 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8191 par->bibkey->width. This fixes the crashes when running without
8192 gui or when having included documents.
8194 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8196 * insetcommand.C (getAsString, setFromString): Cleanup.
8198 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8200 * insetref.C: Add the array InsetRef::types that contains
8201 information about all supported reference types.
8203 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * lyxinset.h: remove trailing comma in enum.
8207 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8209 * insettext.C: kill LyXBell.