1 2005-12-16 Martin Vermeer <martin.vermeer@hut.fi>
3 * insetcollapsable.C: fix "turds" when changing openinlined_
5 2005-12-05 Martin Vermeer <martin.vermeer@hut.fi>
7 * insetbox.[Ch]: fix bugs 2136, 2123
9 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
11 * insetbox.C (metrics): fix width problems (bug 2137)
13 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * insettabular.C (tabularFeatures): Move some code to
16 setColumnPWidth and setMColumnPWidth
18 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * insetcharstyle.[Ch]:
23 * insetlatexaccent.[Ch]:
27 * insetspecialchar.[Ch]:
28 * inseturl.[Ch]: new method textString (fix bug 2089)
30 2005-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
32 * insetbibtex.C (latex): copy .bib files to the master buffer temp dir
34 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 change argument of forceDefaultParagraphs from inset to cell.
41 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
43 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * insetbase.h: document the EDITABLE enum.
47 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
52 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
54 * insetbranch.C: partial fix bug 2092: branches not
55 propagated to child docs
56 * insetcharstyle.C: Also replace LColor::red by LColor::error
58 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * insetbranch.C (isBranchSelected): take a buffer as argument.
61 adapt to work with child documents (bug 2092).
63 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * insettabular.C (doDispatch): get rid of annoying debug message.
67 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
68 code from InsetCollapsable.
70 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
71 inset is toggled to Closed, move cursor to the right (part of bug
74 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
76 * insettext.C: remove obsolete old_pit
78 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * insettabular.C (doDispatch): do not override the result of
81 LFUN_RIGHT/LEFT. (bug 2101)
83 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
85 * insetvspace.C (metrics): compute ascent and descent in a way that
86 the cursor is placed on the same level as the label text
88 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
91 of autoopen, which means that collapsables automatically open
92 whenever the cursor enters (and close again on leave) (fixes bug 1921).
94 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
97 and '\space' to '\space{}' (consistency).
99 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * insettabular.C (tabularFeatures): validate cursor after
102 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
104 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
106 * insettabular.C: fixes bug 1765: multicol cell width on screen not
109 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * insettabular.C: use recordUndoInset instead of recordUndo
112 (fixes bug 1937 and 1986).
114 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * insetvspace.C (metrics): include label text
117 * insetvspace.[Ch] (label): new, needed for the above
119 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * insetbase.[Ch]: new bool neverIndent() which indicates if
122 an inset does not want paragraph indentation at all.
125 * insetoptarg.h: return true for neverIndent()
126 * insettext.[Ch]: return true for neverIndent() in case
127 of tabular cells (based on a crude guess).
129 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * insetline.C: Add forgotten include
133 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * insetline.C (latex): write the size argument of \lyxline again
136 * insetquotes.C (latex): adapt to OutputParams changes
138 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
141 when switching to pwidth cell (bugs 1296, 1840).
143 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * insettabular.C (draw): pass PainterInfro::erased_ to
147 (drawCellLines): add an erased bool and handle it.
149 2005-08-03 John Levon <levon@movementarian.org>
151 * insettext.C (clear): remove bool argument.
152 (read): adapt to clear() changes.
154 * insettabular.C (cutSelection): adapt to MarkErased changes.
156 * insettext.C (markErased):
157 * insettabular.C (markErased):
158 * insetbase.C (markErased): add bool argument.
160 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
163 after copying several cells (works around bug 1919).
165 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
167 * insetcharstyle.C (metrics,draw): consider inset label for
168 width computation; fix drawing of labels of undefined char styles
170 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
172 * insettabular.C (getStatus): fix Helge's bug that a number of insets
173 including ERT could not be inserted in tabular.
175 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * insetinclude.C (string2params): fix typo in error message (bug 1963).
179 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
181 * insettabular.C (getStatus): disable line and paragraph breaks
182 in non-fixed-width cells (bug 1938).
184 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
187 * insetwrap.C: Do not use translatable strings as internal identifier
190 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
192 * insetbase.C: include boost/current_function.hpp
194 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
196 * insetbase.C (edit,editXY,index): supress some lyxerr messages
198 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
202 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
204 * insetlabel.C (changeRefsIfUnique): remove unused code
206 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
209 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
210 reverse the logic. Make sure to set updateButtonLabel_ to true in all
211 places where params is set (directly or indirectly).
213 2005-07-15 André Pönitz <poenitz@gmx.net>
215 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
217 2005-07-15 André Pönitz <poenitz@gmx.net>
221 * insetcollapsable.[Ch]:
223 * updatableinset.[Ch]: remove UpdatableInset
225 2005-07-15 José Matos <jamatos@lyx.org>
227 * insettext.C (plaintext): fix call to asciiParagraph.
229 2005-07-15 André Pönitz <poenitz@gmx.net>
231 * insetcollapsable.[Ch]:
232 * updatableinset.[Ch] (scroll, setScroll): sanitize things
234 2005-07-14 Angus Leeming <leeming@lyx.org>
236 * insetbibtex.C (latex): when processing the LaTeX file in
237 a temp directory, copy the BibTeX databases there, mangling their
238 names in the process. Do this so that BibTeX can process the database
239 because it *really*, *really* can't handle "files with spaces".
241 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
243 * insettext.C (doDispatch): reduce some debug blabbering
245 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * ExternalSupport.C (subst_path): adjust to latex_path changes and
248 replace dots if appropriate
249 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
250 * insetexternal.C (validate): require lyxdot
252 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * ExternalSupport.C (subst_path): new argument exclude_extension
255 * ExternalSupport.C (doSubstitution): exclude the extension when
257 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
258 the extension when quoting the file name
260 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * insetquotes.C (latex): always use \og/\fg for the french
263 languages; test against the language code instead of the babel
266 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * insettabular.C (tabularFeatures): adjust cursor after adding a column
270 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
272 * insetbranch.C (setButtonLabel): Make label prefix translatable.
274 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * insettabular.[Ch] (dist): make it a real member of insettabular
277 and rewrite it to use the actuall cell dimensions for calculation,
278 not the insettext's deimensions (fixes bug 1801).
280 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * insetbibtex.C: (addDatabase): do not check for substrings but
283 but for whole tokens.
284 (delDatabase): make it actually work.
286 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
288 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
290 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
292 * insetgraphics.C (prepareFile): don't strip the extension of quoted
294 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
296 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
299 when multiple cells are selected (bug 1837).
301 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * insetoptarg.C (InsetOptArg): make the inset open by default
306 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * insetvspace.C (draw): use VSpace::asGUIName.
310 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
313 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
314 cur.noUpdate() if nothing changed
315 * insetlatexaccent.[Ch]: spelling fixes
317 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
319 * insetcollapsable.C (doDispatch): fix
320 click-on-closed-collapsable-inset-crash bug.
322 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
324 * insettabular.C (pasteSelection):
325 * insettext.h (copy c'tor): fix paste inside tabulars.
327 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * insetoptarg.C (plaintext): add dummy method.
331 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * insetbase.h (doDispatch): document a bit more
334 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
335 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
336 cur.bv().update(), because that leads to nested updates. Call
337 cur.noUpdate() instead where approriate.
339 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
341 * insetbibtex.C: change screen label
343 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
345 2005-05-06 José Matos <jamatos@lyx.org>
347 * insetcommandparams.C (scanCommand): fix out of range string access.
349 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
351 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
353 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
354 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
356 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
357 handle undefined character styles
358 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
359 handle undefined character styles
361 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
364 in getStatus and the tabularFeature string (bug 1860).
366 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * insetbranch.C (getStatus): make the code more compact
370 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * insetcollapsable.C (doDispatch): do not pass through double/triple
373 click events when they are not in the insetext (bug 1797).
375 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
377 * insetbase.h: document a bit more
378 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
379 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
380 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
381 (getStatus): implement
382 * insetcollapsable.[Ch] (hitButton): take a const argument
383 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
386 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * insetcollapsable.C (doDispatch): pass through double/triple
389 click events (bug 1811).
391 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
395 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
396 but the SENSITIVE label type.
398 2005-04-18 Angus Leeming <leeming@lyx.org>
400 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
401 'use_latex_path' argument. In turn, passed to the new subst_path
402 function when replacing placeholders with paths.
404 * insetexternal.C (getScreenLabel):
405 * ExternalSupport.C (lots of places): change invocation of
406 doSubstitution in lots of places, specifying the appropriate values
407 for this 'use_latex_path' boolean.
409 * insetbib.C (latex):
410 * insetgraphics.C (latex):
411 * insetinclude.C (latex): pass path to latex_path rather than to
414 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
416 * insetcharstyle.C (validate): allow nested charstyle insets
418 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
420 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
422 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * insetfloat.C (InsetFloat):
425 * insetwrap.C (InsetWrap): do not set layout here.
427 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
431 * insetbase.h (getStatus): add more documentation
432 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
435 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
437 * insetcharstyle.C (metrics, draw):
438 * insetert.C (metrics, draw):
439 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
442 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
444 * insetexternal.C (validate):
445 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
446 multiple Requirements in external material template
448 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
450 * insettext.C (drawFrame): cosmetic fix
452 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
454 * ExternalSupport.C (writeExternal):
455 * insetgraphics.C (latex):
456 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
457 mis-count in computing latex error location
459 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
461 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
462 make it *not* descend into insets (fix a crash). Move the part
463 needed from editXY to a new function getNearestCell
465 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * insetinclude.C (InsetInclude): when constructing from another
468 InsetInclude, set set_label_ to false, since the value is never
471 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
475 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
477 * insettabular.C (drawSelection): cosmetic bugfix
479 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
481 * insettabular.C (doDispatch): get middle mouse button back again
482 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
483 when only a part of the cell is selected (fix bug 1799)
485 * insettabular.C: handle some more character attributes in
486 M. Vermeers method (when multiple cells in tables are selected);
487 disable some more senseless lfuns when multiple cells are selected
489 Move to end of cell instead of beginning when coming from the cell
492 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
494 * insettabular.C: make applying character attributes
495 possible for multiple cells in tables. Disable collapsable
496 insets for multiple-cell selection in table (Jürgen S.)
497 Bug reported by Helge Hafting.
499 2005-02-25 Andreas Vox <avox@arcor.de>
501 * insetmarginal.[hC] (docbook): new method, render as <note>
503 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
505 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * insetcaption.[Ch] (doClone): implement
509 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * insetgraphics.C (prepareFile): handle non-existing files
512 * insetgraphics.C (latex): remove special handling of non-existing
515 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
518 * insettext.C: adjust metrics
520 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * insettext.C: include boost/current_function.hpp (needed when
523 assertions are disabled)
525 2005-02-20 André Pönitz <poenitz@gmx.net>
527 * insetcollapsable.C: Prevent problems on double-/
528 tripleclick on collapsable label (bug 1797).
530 2005-02-13 André Pönitz <poenitz@gmx.net>
532 * insettext.[Ch] (border_): new
533 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
536 2005-02-14 Angus Leeming <leeming@lyx.org>
538 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
539 about "truncation of constant value".
541 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
543 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
544 workaround for broken HTML converter)
546 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * insetcollapsable.C (leaveInset): size() -> depth()
549 * insettabular.C (isRightToLeft): ditto
551 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * insetert.C (latex, linuxdoc, docbook): remove newline handling
554 * insetert.C (doDispatch): clean pasted paragraphs
555 * insetert.C (getStatus): suppress more lfuns
556 * insetert.C (insetAllowed): return always false
558 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
563 * updatableinset.C: Use new cursor accessors.
565 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
569 2005-01-31 Angus Leeming <leeming@lyx.org>
571 * insetgraphicsParams.C: protect a #warning preprocessor call
572 with a #ifdef WITH_WARNINGS guard.
574 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * Several files: use convert<> instead of atoi,strToXXX and friends
578 2005-01-23 Angus Leeming <leeming@lyx.org>
580 * insetbibitem.h (bibitemWidest): declare the function.
582 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
584 * insetgraphics.C (prepareFile): move the invocation of the default
585 converter to ../converter.C
586 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
587 call convert with try_default == true
589 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
592 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
593 determines what variables are substituted
594 * ExternalSupport.C (updateExternal): fix substitution of
597 2005-01-10 Angus Leeming <leeming@lyx.org>
599 * ExternalTemplate.C: use support/package.h to provide the paths to the
600 various directories used by LyX.
602 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * ExternalTransforms.C (adjAngle): tostr -> convert
612 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
614 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
617 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * ExternalTransforms.C: fix LaTeX output of \scalebox.
621 * ExternalTransforms.[Ch]:
622 * insetexternal.C: store all float/double values as strings.
625 * insetgraphicsParams.C: more precise checks for the value strings.
627 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * insettext.C (doDispatch): remove unused variable was_empty
631 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * insetgraphicsParams.[Ch]: store all float/double values as strings.
636 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
638 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
640 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
642 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
643 UNSET_ALL_LINES (from Jürgen)
645 2004-12-14 Angus Leeming <leeming@lyx.org>
647 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
648 to overcome bug in the MinGW port of g++ 3.4.2.
650 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
652 * insettabular.C (getCellXPos): make it return a relative x
653 position wrt. the begin of the tabular
654 (resetPos): a couple of fixes
655 (doDispatch): add a couple of resetPos calls
656 (drawSelection): fix drawing of selection in single-cell mode
657 (draw): replace 'do not draw' optimization by 'draw with
660 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
662 * insetbase.[Ch] (idxUpDown2): remove function
664 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
666 * insettabular.[Ch]: use size_t-like types for cell, row and column
669 2004-12-02 José Matos <jamatos@lyx.org>
671 * insetlatexaccent.C (checkContents): remove compatibility code,
674 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * insetbase.h (getStatus): add better comment from src/cursor.C
678 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
680 * insettabular.[Ch]: adjust, introduce "do not draw
681 offscreen" optimization using NullPainter, (dist): introduce,
682 (getCursorPos): implement, (drawSelection): implement
684 * insetcollapsable.[Ch]: adjust
686 * insettext.C: adjust, (metrics): set the font before calling
689 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * rename a lot of InsetOld to InsetBase
693 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
696 * insettext.C: par->pit renaming
698 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * Most insets: rename priv_dispatch to doDispatch
702 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
704 * insettabular.C (tabularFeatures): fix multicolumn handling
706 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
708 * render_base.h (operator=): use common semantics
710 * insettext.C (operator=): delete this
711 (copy constructor): implement this properly
712 (init): use for_each and bind
714 (appendParagraphs): ditto
716 * insettabular.C: add more const. Adjust for changes in tabular.
718 * insetbase.h: Use NVI on clone. Add virtual doClone and update
719 all children, also make copy constructor protected. Added some
720 safe-guards to clone.
722 * insets: adjust to fit.
724 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * insetoptarg.C (latexOptional): return number of lines instead of
729 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * insettabular.[Ch] (string2params): Don't pretend to return the
732 active cell anymore and simplify keyword parsing.
734 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * insetlatexaccent.h (isLetter): implement, so that word selection
737 takes accents into account.
739 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
741 * insetcollapsable.C (priv_dispatch): do not push the inset to the
744 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
746 * ExternalSupport.C, insetgraphics.C:
747 s/getFormatFromContents/formats.getFormatFromFile/
749 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
751 * insetcharstyle.[Ch]:
752 * insetert.[Ch]: implement getStatus
754 * insetcharstyle.C (draw): visual clue when the cursor is inside
757 2004-11-02 José Matos <jamatos@lyx.org>
759 * insetcharstyle.C (docbook):
760 * insetlabel.C (linuxdoc, docbook):
761 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
764 * insettabular.C (docbook): mixed content no longer belongs to
767 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
769 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
771 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * ExternalSupport.C (updateExternal): convert files in the temp dir
775 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
777 * insetcharstyle.C: drawing cosmetics.
779 2004-10-30 José Matos <jamatos@lyx.org>
781 * insetcharstyle.C (docbook): a compromisse solution. Don't output
782 paragraph tags inside inline elements.
784 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
787 InsetText methods rather than outputVerbatim (escapes special
788 characters) [bug 1731]
789 * insetcharstyle.C (outputVerbatim): remove this function.
790 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
791 which caused an infinite loop.
793 2004-10-29 José Matos <jamatos@lyx.org>
795 * insetgraphics.C (uniqueID): transfered to sgml.C
797 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
799 * insetlabel.C (docbook, linuxdoc):
800 * insetref.C (docbook, linuxdoc): sanitize id.
802 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
804 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
805 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
806 * insetgraphics.C (findTargetFormat): reformat
808 2004-10-28 José Matos <jamatos@lyx.org>
810 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
812 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
814 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
816 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
819 "[,,,]" without warning message
821 2004-10-26 Angus Leeming <leeming@lyx.org>
823 * ExternalSupport.C (updateExternal):
824 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
825 external files to the temp directory.
827 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
830 layouts. This fixes problems with the memoir class (which does not
831 allow \footnote) [bug 1677]
833 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
835 * insetindex.C (docbook): escape the index, to generate correct sgml.
837 2004-10-23 José Matos <jamatos@lyx.org>
839 * insettext.C (docbook): rearrange arguments, due to change in the
842 2004-10-23 André Pönitz <poenitz@gmx.net>
844 * insettabular.C (cutSelection, tabularFereatures):
845 fix cursor position after cutting selection or table rows
847 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
849 * insetgraphics.C (docbook, writeImageObject): write more than one
850 format of imageobjects in <mediaobject>.
852 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
854 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
855 DocBook output for this inset ( <citation>content</citation> )
857 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
859 * insetgraphics.C (docbook) : using mediaobject for XML;
860 correcting bug with SGML output (now '>' instead of '/>')
862 2004-10-05 José Matos <jamatos@lyx.org>
864 * insetfloatlist.C (read):
865 * insetquotes.C (read):
866 * insetspace.C (read):
867 * insetspecialchar.C (read):
868 * insettabular.C (read): replace nextToken by more appropriate lex
871 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
873 * insetgraphics.C (createDocBookAttribute, docbook) :
874 convert scale, width, height and keepaspectratio to Docbook standards)
876 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
877 to Docbook units where possible.
879 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
881 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
883 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
884 as attributes with new method for docbook.
886 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * render_preview.h: Use preferred calling of Boost.Signal
890 * pch.h: use proper signal include
892 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
894 * ExternalTransforms.h: User preferred calling of Boost.Function
896 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
898 * insetref.C (docbook): fixing problem where Docbook XML output
899 had unclosed <xref ... >
901 2004-08-16 José Matos <jamatos@lyx.org>
903 * insethfill.C (write):
904 * insetline.C (write):
905 * insetnewline.C (write):
906 * insetpagebreak.C (write): remove space at end of line.
908 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * insettabular.C (plaintext): do not use ownerPar to get the
913 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
914 and it calls getParentLanguage (which calls ownerPar)
915 (edit): do not call sanitizeEmptyText
916 (priv_dispatch): remove code resetting font on empty inset, for
917 the same reasons as above.
919 * insettabular.C (isRightToLeft): instead of using
920 BufferView::getParentLanguage, use the data from the cursor
922 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * Makefile.am: support pch
928 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * insettabular.C (draw): whitespace
932 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
934 2004-08-14 André Pönitz <poenitz@gmx.net>
936 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
938 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * insettabular.C (metrics): when the width of a cell is zero(),
941 let it use as much space as it can
943 * insettext.C (editXY): compilation fix
945 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
947 (metrics): the insets is not full width any more.
948 (draw): adjust; fix bad test for PREVIEW_OFF
949 (add_preview): fix bad test for PREVIEW_OFF
950 (display): do not return true when using \input
952 2004-08-14 José Matos <jamatos@lyx.org>
954 * insetbibitem.[Ch] (plaintext): added.
956 * insetcite.[Ch]: fix plaintext export.
958 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
960 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
963 * insetcaption.C (InsetCaption): modify call to setDrawFrame
964 * insetcollapsable.C (InsetCollapsable): ditto
965 * insetenv.C (InsetEnvironment): ditto
967 2004-08-14 André Pönitz <poenitz@gmx.net>
970 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
972 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * insetoptarg.C (latexOptional): if the optional argument contains
975 a ']' enclose it in {curly brackets}
977 * insettext.C (editXY):
978 * insettabular.C (editXY):
979 * insetcollapsable.C (editXY):
980 * insetbase.C (editXY): constify
982 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
983 not ask for an update if we did nothing; on a mouse release, make
984 sure that the cursor is moved to the right position; on a mouse
985 release, exit from the inset instead of invoking a
988 * insetbase.C (dispatch): before invoking dispatch, set cursor
989 result to dispatch=update=true.
991 2004-08-13 José Matos <jamatos@lyx.org>
993 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
995 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
997 * insetfoot.C (latex): use OutputParams::intitle instead of
998 parOwner() (avoids time consuming lookup)
1000 * insetquotes.C (latex): same as above with OutputParams::lang.
1001 Moreover the code actually works now.
1003 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1005 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
1006 * insetinclude.C, insetgraphics.C, insetfloat.C:
1007 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
1008 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
1009 "support/std_sstream.h" to <sstream>
1011 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1013 * insetgraphics.C (prepareFile): remove conversion_needed flag.
1014 It made the following fail for a .eps graphics file:
1016 2) view->pdf (pdflatex)
1017 because the .eps file was already in the temp dir when the pdflatex
1018 export happened and therefore no .eps -> pdf conversion was done.
1020 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1022 * insetgraphics.C, insettabular.C: s/wether/whether/g
1024 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * insetgraphics.C (stripExtension): new
1027 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
1028 the caller does this
1029 * insetgraphics.C (prepareFile): Handle "nice" exports, too
1030 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
1032 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * insetfloatlist.C (latex,getScreenLabel): translate according to
1035 the document language (bug #1312)
1037 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1040 with external_in_tmpdir and compute filename ourself
1041 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1042 use it to store referenced file(s)
1043 * ExternalSupport.C (writeExternal): write relative filename if
1045 * ExternalTemplate.[Ch]: add ReferencedFile command
1046 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1047 runparams.exportdata
1048 * insetgraphics.C (prepareFile): write relative filename if
1050 * insetinclude.C (latex, docbook, linuxdoc): add file to
1051 runparams.exportdata and write it to the temp dir instead of
1052 writing it to the final destination
1053 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1055 2004-05-19 Angus Leeming <leeming@lyx.org>
1057 * insetcite.[Ch]: small change because namespace biblio is
1058 now namespace lyx::biblio.
1060 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1062 * insettabular.[Ch] (buffer): make Buffer * argument const
1064 2004-05-17 Angus Leeming <leeming@lyx.org>
1066 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1067 to force the button label to be re-generated.
1069 2004-05-14 José Matos <jamatos@lyx.org>
1071 * insetlabel (docbook): do not ouput label, for the moment.
1073 2004-05-14 Angus Leeming <leeming@lyx.org>
1075 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1076 new biblio::asValidLatexString function.
1078 2004-05-12 Angus Leeming <leeming@lyx.org>
1080 * insetcite.C: use BufferParams::cite_engine rather than the three
1081 bools, use_natbib, use_jurabib, use_numerical_citations.
1083 2004-05-10 Angus Leeming <leeming@lyx.org>
1085 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1086 Ditto with getStyle, moved to biblio::getEngine.
1088 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1090 * insetgraphics.C (validate): remove pre 233 file format stuff,
1091 handle zipped files for "nice" export
1093 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1096 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1097 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1098 changed since the last run
1099 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1100 and copyFileIfNeeded.
1102 2004-04-29 Angus Leeming <leeming@lyx.org>
1104 * ExternalTemplate.[Ch]: remove redundant #includes.
1106 2004-04-28 Angus Leeming <leeming@lyx.org>
1109 s/updateToolbar()/updateToolbars()/
1111 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1113 * insetgraphics.C: require file extension (file format change!)
1114 * insetgraphics.C (latex): handle zipped files for "nice" export
1116 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1118 * insetgraphics.C (latex): strip the extension and replace dots in
1119 the filename if doing a "nice" export. This is a partial fix for
1120 bug 1231 without reintroducing bug 655.
1122 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * insetoptarg.h: remove the editable() method (InsetCollapsable
1125 does it better already)
1127 * insetbibtex.C (normalize_name): new helper function. Changes the
1128 name to be suitable to use in a latex file (relative to master
1129 buffer if necessary).
1130 (latex): use normalize_name.
1132 2004-04-20 Angus Leeming <leeming@lyx.org>
1134 * render_preview.C (startLoading): remove lyxerr statement.
1136 (getPreviewLoader): new helper function.
1138 2004-04-19 Angus Leeming <leeming@lyx.org>
1142 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1144 2004-04-19 Angus Leeming <leeming@lyx.org>
1146 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1148 (add_preview): renamed as add_preview_and_start_loading. Invoke
1149 RenderPreview::startLoading.
1151 * insetinclude.C (metrics, draw): changes due to the changed
1152 RenderPreview interface.
1154 * render_preview.C: remove cached pimage_.
1155 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1156 (draw): don't call startLoading. That's up to the user of
1159 2004-04-16 Angus Leeming <leeming@lyx.org>
1161 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1163 2004-04-13 Angus Leeming <leeming@lyx.org>
1165 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1166 the renderer to inform LyX::updateInset that the inset's status
1167 has changed and it should be redrawn.
1169 * render_button.[Ch] (clone):
1170 * render_graphic.[Ch] (c-tors, clone):
1171 * render_preview.[Ch] (c-tors, clone): ditto.
1173 * render_graphic.[Ch] (connect):
1174 * render_preview.[Ch] (connect): removed, as connection is now
1175 made in the constructors.
1179 * insetinclude.C: ensuing simplification of the client code.
1180 (statusChanged): now superfluous. Removed.
1182 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1184 * ExternalTemplate.[Ch]: remove editCommand
1185 * ExternalSupport.C (editExternal): use formats.edit() instead of
1186 the removed editCommand template parameter
1187 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1188 * insetgraphics.[Ch] (editGraphics): new method
1190 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1192 * insetinclude.C (validate): set/reset features.buffer_ when
1193 validating the child
1195 2004-04-07 Angus Leeming <leeming@lyx.org>
1197 * insetexternal.C (priv_dispatch):
1198 * insetinclude.C (priv_dispatch): prevent crash by invoking
1199 InsetOld::priv_dispatch at the end of the switch, rather than
1200 InsetOld::dispatch...
1202 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1204 * insetcollapsable.C:
1205 * insetbranch.C: 'assign' to open/close branch inset according to
1206 selection; also print content on closed branch button
1208 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1210 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1211 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1212 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1214 * ExternalSupport.C (updateExternal): use absolute and output
1215 filename where appropriate
1217 2004-04-05 André Pönitz <poenitz@gmx.net>
1219 * insetbase.h: use LCursor & in notifyCursorLeave
1221 2004-04-05 Angus Leeming <leeming@lyx.org>
1223 * insetgraphics.C: remove unused header file "lyxrc.h".
1225 * render_graphic.C: squash bug 1372: Misleading graphics label when
1226 deactivating lyx view.
1228 2004-04-05 Angus Leeming <leeming@lyx.org>
1233 * insetlatexaccent.C:
1238 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1240 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1242 * insetfloat.C (read): fix yesterday's float fix.
1243 * insetwrap.C (read): apply the fixed float fix.
1245 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1247 * insetfloat.C (read): fix reading of float params
1250 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1252 * insettext.C (edit): comment the call to updateLocal (dangling now)
1253 * insettext.h: add allowSpellCheck() returning true
1255 2004-03-31 Angus Leeming <leeming@lyx.org>
1257 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1259 2004-03-31 Angus Leeming <leeming@lyx.org>
1261 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1262 the cursor out of an inset.
1264 * insetbranch.C (priv_dispatch):
1265 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1266 use getOutOfInset to push the cursor out of the inset when
1269 2004-03-30 Angus Leeming <leeming@lyx.org>
1271 * insetbase.[Ch] (translate): new static member function, returns
1272 an InsetBase::Code corresponding to the input string.
1274 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1276 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1277 so that it opens the inset if it refers to the currently active
1280 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1282 * insetfloat.C (addToToc): use par_const_iterator_begin and
1283 par_const_iterator_end.
1285 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1287 * insetbibtex.[Ch]: bibtopic support.
1289 * insetfloat.[Ch]: add param \sideways {true|false}
1290 (support for sideways floats from rotating.sty).
1292 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1294 * insettext.[Ch]: add a default ctor. implement const version of
1300 * insetwrap.C: adjust
1302 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1304 * insettext.h: add insetAllowed returning true by default (fixing
1305 vanishing insets problem)
1307 * insettext.C (draw): handle the responsability of adding the
1308 ouside offset to collapsable. Clean code a bit.
1310 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1311 from insettext correctly, solve a couple of off-by-one drawing
1314 2004-03-25 Angus Leeming <leeming@lyx.org>
1316 * insetcaption.C (draw): squash warning about unused variable.
1318 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1320 * ExternalSupport.C: use the master buffer's temp dir
1321 * insetgraphics.C (latex): make relative filename relative to the
1323 * insetgraphics.C: use the master buffer's temp dir
1324 * insetinclude.C (masterFilename): new function
1325 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1326 is always true if loadIfNeeded() returns true)
1328 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1330 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1331 set its parent to the current buffer.
1332 (latex): use the tmppath of the master buffer, not just the parent
1333 buffer (makes a difference with more than one level of include
1334 insets). If the file name is relative write in the .tex file a
1335 name relative to the master buffer directory.
1337 * insetinclude.C: rename masterFilename to parentFilename (this
1338 points to the direct parent)
1340 2004-03-25 André Pönitz <poenitz@gmx.net>
1342 * inset.[Ch]: remover owner
1344 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1352 * insetcharstyle.[Ch]:
1360 * insetwrap.C: adjust
1362 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1364 * insetquote.C: use opening quote after '[' char.
1366 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1368 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1371 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1373 * insetcite.[Ch]: support jurabib.
1375 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1377 * insetcite.C: Support second \cite option.
1379 * insetcommand.[Ch]:
1380 * insetcommandparams.[Ch]: add second optional argument.
1382 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1384 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1385 shows the inset dialog.
1387 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1389 * insetlabel.[Ch]: remove them
1390 * Makefile.am: adjust
1392 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1394 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1396 * insetinclude.C (latex): show a GUI warning if textclasses don't
1398 * insetinclude.C: use mangledFilename() for temp files
1399 * insetgraphics.C (readInsetGraphics): remove version check, since
1400 the graphics inset has no own fileformat number anymore
1402 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1404 * insetquotes.[Ch]: added new member that allows direct access
1405 to single/double quotation marks.
1406 * insetnewline.[Ch]:
1407 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1409 2004-02-16 André Pönitz <poenitz@gmx.net>
1412 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1413 implicitly assume 'DispatchResult(true, true) with exception of
1414 InsetBase::priv_dispatch which does the equivalent of
1415 'retrun DispatchResult(false)'
1417 * inset*.[Ch] (priv_dispatch): adjust
1419 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1420 simplify cursor moving function,
1421 re-enable horizontal scrolling for large tables
1423 2004-02-13 André Pönitz <poenitz@gmx.net>
1425 * insettabular.[Ch]: some work after IU
1427 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1429 * inset.C (setPosCache): switch to absolute coords in insets
1430 * insettext.[Ch] (draw, drawFrame): adjust
1431 * insetcollapsable.C (draw): adjust
1434 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1436 * insettext.C (edit):
1437 (updateLocal): use the cur argument instead of the global cursor
1438 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1440 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1444 * insetfloat.C (validate): "H" -> 'H' in call to contains
1446 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1448 2004-01-30 André Pönitz <poenitz@gmx.net>
1452 * insetcollapsable.[Ch]:
1455 * insetgraphics.[Ch]:
1457 * insettabular.[Ch]:
1460 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1463 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * insettabular.C: add using statement for std::vector, remove
1466 std:: where using was already used.
1468 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1470 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1472 * insetinclude.C (validate): use feautures.nice() instead of
1475 2004-01-20 André Pönitz <poenitz@gmx.net>
1478 * insetbase.[Ch]: move stuff from mathcursor here.
1480 * insetbibitem.[Ch]:
1484 * insetcharstyle.[Ch]:
1485 * insetcollapsable.[Ch]:
1486 * insetcommand.[Ch]:
1488 * insetexternal.[Ch]:
1490 * insetgraphics.[Ch]:
1491 * insetinclude.[Ch]:
1495 * insettabular.[Ch]:
1499 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1502 2004-01-15 André Pönitz <poenitz@gmx.net>
1505 * insetbibitem.[Ch]:
1509 * insetcharstyle.[Ch]:
1510 * insetcollapsable.[Ch]:
1511 * insetcommand.[Ch]:
1513 * insetexternal.[Ch]:
1515 * insetgraphics.[Ch]:
1516 * insetinclude.[Ch]:
1520 * insettabular.[Ch]:
1524 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1526 2004-01-08 André Pönitz <poenitz@gmx.net>
1528 * insetcollapsable.[Ch]:
1529 * insettabular.[Ch]:
1531 * updatableinset.h: use cell index info from global cursor.
1533 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1535 * insetnote.C (InsetNoteParams::write): write label only once
1537 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1541 get rid of the SameName functor
1543 * insettabular.C: improve the functor.
1545 2003-12-29 Angus Leeming <leeming@lyx.org>
1547 * insetexternal.C (setParams): update defaultTemplateName.
1549 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1551 * insetbox.C: Use term "Box" in button label
1553 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1555 * insetcharstyle.C: get getDrawFont working again
1557 2003-12-15 André Pönitz <poenitz@gmx.net>
1559 * insettabular.[Ch]:
1560 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1562 2003-12-12 Angus Leeming <leeming@lyx.org>
1564 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1566 (InsetBranchParams): remove the branchlist hack.
1567 (isBranchSelected): new function, used to decide whether to
1568 print each output format. Also used by InsetList.
1569 (read, string2params): repair my own breakage ;-)
1571 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1573 * insetminipage.[Ch]: remove from repository.
1575 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1578 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1579 insetert to insetcollapsable; introduce virtual function
1580 setButtonLabel and invoke it from collapsable
1582 2003-12-12 Angus Leeming <leeming@lyx.org>
1584 * insetinclude.C (draw): cache x,y and so enable the
1585 dialog to be opened.
1587 2003-12-12 Angus Leeming <leeming@lyx.org>
1589 * mailinset.C (print_mailer_error): tidy up the output.
1591 2003-12-11 Angus Leeming <leeming@lyx.org>
1593 * mailinset.[Ch] (print_mailer_error): new helper function.
1595 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1596 calling InsetCommandMailer.
1597 (InsetCommandMailer::string2params): pass the name of the dialog.
1599 * insetbibitem.[Ch] (d-tor):
1600 * insetbibtex.[Ch] (d-tor):
1601 * insetcite.[Ch] (d-tor):
1602 * insetfloatlist.[Ch] (d-tor):
1603 * insetindex.[Ch] (d-tor):
1604 * insetlabel.[Ch] (d-tor):
1605 * insetref.[Ch] (d-tor):
1606 * insettoc.[Ch] (d-tor):
1607 * inseturl.[Ch] (d-tor): removed.
1608 Hiding the dialog is handled by InsetCommand.
1610 * insetbibtex.[Ch] (draw, metrics):
1611 * insetfloatlist.[Ch] (draw, metrics):
1612 * insetindex.[Ch] (draw, metrics): removed.
1613 Drawing is handled by InsetCommand.
1615 * insetbibitem.[Ch] (priv_dispatch):
1616 * insetbibtex.[Ch] (priv_dispatch):
1617 * insetcite.[Ch] (priv_dispatch):
1618 * insetfloatlist.[Ch] (priv_dispatch):
1619 * insetindex.[Ch] (priv_dispatch):
1620 * insetlabel.[Ch] (priv_dispatch):
1621 * insettoc.[Ch] (priv_dispatch):
1622 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1623 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1624 LFUN_INSET_DIALOG_SHOW.
1626 * insetbox.C (string2params):
1627 * insetbranch.C (string2params):
1628 * insetert.C (string2params):
1629 * insetexternal.C (string2params):
1630 * insetfloat.C (string2params):
1631 * insetinclude.C (string2params):
1632 * insetminipage.C (string2params):
1633 * insetnote.C (string2params):
1634 * insetvspace.C (string2params):
1635 * insetwrap.C (string2params): over-hauled.
1637 2003-12-10 Angus Leeming <leeming@lyx.org>
1639 * insetexternal.[Ch]: add a draft option and respect it when
1642 2003-12-10 Angus Leeming <leeming@lyx.org>
1644 * insetbox.C: (read, write): now prepend the inset contents with
1645 'Box' to identify the inset as a box inset.
1647 * insetbox.h: move the translators out of sight.
1649 2003-12-10 Angus Leeming <leeming@lyx.org>
1651 * insetert.C (string2params): clean-up using the new lyxlex interface.
1653 * insetexternal.C: ensure that InsetExternalParams has a default
1654 template, 'RasterImage'.
1656 2003-12-10 Angus Leeming <leeming@lyx.org>
1658 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1659 to an enum. Ensuing clean-ups through out the class.
1660 (read, write): now prepend the inset contents with 'Note' to identify
1661 the inset as a note inset.
1663 2003-12-10 Angus Leeming <leeming@lyx.org>
1665 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1666 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1668 2003-12-10 André Pönitz <poenitz@gmx.net>
1672 * insettabular.[Ch]:
1673 * insettext.[Ch]: remove unused insetInset()
1675 * insetert.C: disable some LFUNs
1677 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1679 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1681 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1683 2003-12-04 Angus Leeming <leeming@lyx.org>
1685 * insetexternal.C (draw): update the xo_, yo_ cache.
1687 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1689 (RotationDataType): new helper struct wrapping the
1690 RotationData::OriginType enum.
1692 2003-12-03 André Pönitz <poenitz@gmx.net>
1694 * inset.h: remove getParagraphs()
1696 * insetcollapsable.[Ch]:
1699 * insettabular.[Ch]:
1700 * insettext.C: use getText() instead of getParagraphs()
1702 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1704 * insetert.C: fix label text updating bug
1706 2003-12-02 Angus Leeming <leeming@lyx.org>
1708 * insetvspace.[Ch] (space): new member function. Make space_ private.
1709 (read): use the new, simpler lyxlex syntax.
1711 2003-12-01 André Pönitz <poenitz@gmx.net>
1713 * insetcollapsable.[Ch]:
1714 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1716 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1718 * insetvspace.C (read): handle 'end_inset' token.
1720 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1722 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1724 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1726 * insetcollapsable.[Ch]:
1728 * insetcharstyle.C: place inset content on the button when
1731 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1733 * insetvspace.C: remove VSpace::NONE; increase inset width
1735 2003-12-01 André Pönitz <poenitz@gmx.net>
1737 * insetbase.h: whitespace
1739 * inset.[Ch]: remove latexTextWidth
1740 make setBackgroundColor virtual
1742 * insettext.[Ch]: move ParagraphList member to LyXText
1744 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1750 * insetminipage.[Ch]:
1752 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1754 2003-11-28 Angus Leeming <leeming@lyx.org>
1756 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1757 hiding and showing the dialog respectively.
1758 (priv_dispatch): also actually update the inset contents.
1760 2003-11-28 Angus Leeming <leeming@lyx.org>
1762 * insetbox.C (d-tor):
1763 * insetbranch.C (d-tor):
1764 * insetcite.C (d-tor):
1765 * insetfloat.C (d-tor):
1766 * insetfloatlist.C (d-tor):
1767 * insetinclude.C (d-tor):
1768 * insetindex.C (d-tor):
1769 simplify the invocation of the Mailer::hideDialog() function.
1771 * insetminipage.C (showInsetDialog):
1772 simplify the invocation of the Mailer::showialog() function.
1774 2003-11-28 André Pönitz <poenitz@gmx.net>
1777 * insetvspace.[Ch]: new insets
1779 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1781 * insetcharstyle.C: Syntax change for CharStyles
1783 2003-11-28 André Pönitz <poenitz@gmx.net>
1785 * updatableinset.h: remove insetInInsetY
1787 * insetcollapsable.[Ch]:
1789 * insettabular.[Ch]:
1790 * insettext.[Ch]: adjust
1792 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1796 * insetcollapsable.[Ch]:
1798 * insettabular.[Ch]: remove setFont
1800 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1802 * render_graphic.[Ch]: adjust comments
1804 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1806 * insetgraphics.C (draw): cache xo_ & yo_
1808 2003-11-24 André Pönitz <poenitz@gmx.net>
1810 * insettext.C (setViewCache): don't call LyXText::init() anymore
1812 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1815 * insetcollapsable.[Ch]:
1816 * insetert.[Ch]: remove bufferview parameter in methods
1817 open, close, status, and updateStatus.
1819 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1821 * insetcollapsable.[Ch]:
1822 * insettabular.[Ch]:
1823 * insettext.[Ch] (getCursorDim): squash unused variable
1825 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1827 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1829 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1831 * insettext.C (draw): sets LyXText absolute coordinates
1833 2003-11-20 Angus Leeming <leeming@lyx.org>
1835 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1836 warnings about unused parameters.
1838 * insetcollapsable.C (open):
1839 * insettabular.C (pasteSelection):
1840 * insettoc.C (draw): ditto.
1842 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1844 * insetcollapsable.C:
1846 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1847 remove mouse_x mouse_y etc.
1849 2003-11-17 André Pönitz <poenitz@gmx.net>
1851 * insettext.[Ch] (cx, cy): remove
1853 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1855 2003-11-13 André Pönitz <poenitz@gmx.net>
1858 * insetcollapsable.[Ch]:
1859 * insettabular.[Ch]:
1860 * insettext.[Ch] (deleteLyXText): remove
1862 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1864 * insetcollapsable.[Ch] (fitInsetCursor): remove
1865 * insettabular.[Ch] (fitInsetCursor): remove
1866 * insettext.[Ch] (fitInsetCursor): remove
1867 * updatableinset.[Ch] (fitInsetCursor): remove
1868 (getCursorDIm): add virtual
1870 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1872 * src/insets/Makefile.am:
1873 * src/insets/inset.h:
1874 * src/insets/insetcharstyle.C:
1875 * src/insets/insetcharstyle.h: The Character Style /XML short
1878 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1880 * insettext.C: remove all update calls
1881 * insetcollapsable.C: remove all update calls
1883 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1885 * insettext.C (updateLocal, insertInset, setFont): remove
1888 2003-11-10 André Pönitz <poenitz@gmx.net>
1890 * inset.h: remove Inset::id_
1892 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1897 2003-11-10 André Pönitz <poenitz@gmx.net>
1901 * insetcollapsable.[Ch]:
1905 * insettabular.[Ch]:
1908 * updatableinset.[Ch]: remove inset locking & adjust
1910 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1912 * inset.h (allowSpellCheck): add (return true)
1913 * insetert.h (allowSpellCheck): add (return false)
1915 2003-11-05 José Matos <jamatos@lyx.org>
1921 * insetcaption.[Ch]:
1923 * insetcollapsable.[Ch]:
1924 * insetcommand.[Ch]:
1927 * insetexternal.[Ch]:
1929 * insetfloatlist.[Ch]:
1931 * insetgraphics.[Ch]:
1933 * insetinclude.[Ch]:
1936 * insetlatexaccent.[Ch]:
1939 * insetmarginal.[Ch]:
1940 * insetminipage.[Ch]:
1941 * insetnewline.[Ch]:
1944 * insetpagebreak.[Ch]:
1948 * insetspecialchar.[Ch]:
1949 * insettabular.[Ch]:
1951 * insettheorem.[Ch]:
1954 * insetwrap.[Ch]: rename ascii to plaintext
1955 and LatexRunParams to OutputParams.
1957 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1959 * insetcollapsable.C (edit): add open() all
1960 * insettext.C (edit): add setViewCache call
1962 2003-11-04 André Pönitz <poenitz@gmx.net>
1964 * inset.h (edit): move locking code from dispatch() to edit()
1970 * insetcollapsable.[Ch]:
1973 * insetexternal.[Ch]:
1974 * insetgraphics.[Ch]:
1979 * insettabular.[Ch]:
1980 * insettext.[Ch]: adjust
1982 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1985 * insetcollapsable.[Ch]:
1987 * insettabular.[Ch]:
1989 * updatableinset.[Ch]: remove dead search code
1991 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1994 * insetcollapsable.[Ch]:
1996 * insettabular.[Ch]:
1998 * updatableinset.[Ch]: remove dead spellcheck code
2000 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2002 * insettabular.C (lockInsetInInset): small fix
2004 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
2007 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
2008 from here. Be stricter on DispatchResult returned.
2010 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * Inset::dispatch's: adjust for new DispatchResult semantics.
2014 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * render_base.h: make clone return an auto_ptr
2017 * render_button.C (clone): adjust
2018 * render_graphic.C (clone): adjust
2019 * render_preview.C (clone): adjust
2021 * insettheorem.C (clone): return an auto_ptr
2023 * insettext.C (priv_dispatch): exception safety
2025 * insettabular.C: store the file scope variable paste_tabular in a
2026 scoped_ptr, adjust usage.
2028 * insetexternal.C (setParams): exception safety
2030 * insetbibitem.C (clone): exception safety
2032 2003-11-03 André Pönitz <poenitz@gmx.net>
2035 * insetcollapsable.[Ch]:
2036 * insettabular.[Ch]:
2037 * insettext.[Ch]: remove Inset::id and related functions
2039 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * insets: adjust for DispatchResult changes.
2043 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2045 * insetpagebreak.C: fix screen representation & ascii output.
2047 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2051 * insettabular.[Ch]:
2052 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2054 2003-10-31 José Matos <jamatos@lyx.org>
2056 * inset.h (ascii, linuxdoc, docbook):
2057 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2058 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2059 * insetcaption.[Ch] (ascii, docbook):
2060 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2061 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2062 * insetert.[Ch] (ascii, linuxdoc, docbook):
2063 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2064 * insetfloat.[Ch] (linuxdoc, docbook):
2065 * insetfloatlist.[Ch] (ascii):
2066 * insetfoot.[Ch] (docbook):
2067 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2068 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2069 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2070 * insetindex.[Ch] (docbook):
2071 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2072 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2073 * insetline.[Ch] (ascii, linuxdoc, docbook):
2074 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2075 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2076 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2077 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2078 * insetref.[Ch] (ascii, linuxdoc, docbook):
2079 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2080 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2081 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2082 * insettext.[Ch] (ascii, linuxdoc, docbook):
2083 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2084 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2085 * insetwrap.[Ch] (docbook):
2086 add LatexRunParams argument.
2088 2003-10-30 José Matos <jamatos@lyx.org>
2090 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2092 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2094 * updatableinset.C (priv_dispatch):
2095 * insetwrap.C (priv_dispatch):
2096 * inseturl.C (priv_dispatch):
2097 * insettoc.C (priv_dispatch):
2098 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2099 (moveLeftIntern, moveUp, moveDown):
2100 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2101 (moveLeft, moveUp, moveDown):
2102 * insetref.C (priv_dispatch):
2103 * insetnote.C (priv_dispatch):
2104 * insetminipage.C (priv_dispatch):
2105 * insetlabel.C (priv_dispatch):
2106 * insetindex.C (priv_dispatch):
2107 * insetinclude.C (priv_dispatch):
2108 * insetgraphics.C (priv_dispatch):
2109 * insetfloatlist.C (priv_dispatch):
2110 * insetfloat.C (priv_dispatch):
2111 * insetexternal.C (priv_dispatch):
2112 * insetert.C (priv_dispatch):
2113 * insetcommand.C (priv_dispatch):
2114 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2115 * insetcite.C (priv_dispatch):
2116 * insetbranch.C (priv_dispatch):
2117 * insetbox.C (priv_dispatch):
2118 * insetbibtex.C (priv_dispatch):
2119 * insetbibitem.C (priv_dispatch):
2120 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2122 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2124 * insettext.C: small refactoring of docbook stuff
2126 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2129 (priv_dispatch): adjust for operator dispatch_result_t removal
2131 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2132 in a DispatchResult, adjust accordingly.
2133 (priv_dispatch): use strange >= construct... (will be removed later)
2135 * most insets: dispatch_result -> DispatchResult
2137 * insetbase.h: move DispatchResult out to dispatchresult.h
2139 2003-10-27 André Pönitz <poenitz@gmx.net>
2141 * insetpagebreak.[Ch]: new inset for page breaks
2143 * insetline.[Ch]: new inset for vertical lines
2148 2003-10-25 Angus Leeming <leeming@lyx.org>
2150 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2151 new virtual member functions, specialised...
2152 * render_button.h (asButton):
2153 * render_graphic.h (asGraphic):
2154 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2156 * insetexternal.C: use these new functions rather than dynamic_cast.
2157 Various other small simplifications.
2159 2003-10-22 Angus Leeming <leeming@lyx.org>
2161 * insetexternal.[Ch]: add the ability to 'preview' the external file
2164 * insetinclude.C: changes due to the changes in the RenderPreview
2167 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2168 message if the preview image is not available. Only initiate the
2169 loading of the preview from draw(). Ditto, start the monitoring
2170 of an external file from RenderMonitoredPreview::draw.
2172 2003-10-22 Angus Leeming <leeming@lyx.org>
2174 * insetcite.[Ch] (setLoadingBuffer): removed.
2175 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2176 ascertain whether to proceed with the (expensive) task of computing
2177 the natbib-style label. Remove the home-grown hack providing
2178 similar functionality.
2180 2003-10-22 Angus Leeming <leeming@lyx.org>
2182 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2183 class and into an anonymous namespace.
2185 2003-10-22 Angus Leeming <leeming@lyx.org>
2187 * insetcommand.h: remove the display method.
2191 * insetindex.h (InsetPrintIndex):
2192 * insettoc.h: add a display method, returning true.
2194 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2196 * insetcollapsable.h:
2200 * insetinclude.h: (1) finish off the inset display() work;
2201 (2) fix the "is a bit silly" bug (accessing char
2204 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2208 * insetfootlike.h: re-introduce display() for insets,
2209 fixing the various bugs (stretch of line above, math inset
2212 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * insetbase.C (dispatch): new func
2215 (priv_dispatch): new func replaces...
2216 (localDispatch): this, deleted.
2218 * all insets with dispatch modified for new code.
2220 2003-10-15 André Pönitz <poenitz@gmx.net>
2222 * insetcollapsable.[Ch]
2224 * inset.h: re-add some edit(bv, index) method called by undo
2226 2003-10-14 Angus Leeming <leeming@lyx.org>
2228 * insetexternal.[Ch] (view, cache, view_):
2229 * insetgraphics.[Ch] (view, cache, view_):
2230 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2231 (statusChanged): call LyX::cref().updateInset.
2233 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2234 the BufferView cache.
2236 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2239 2003-10-14 Angus Leeming <leeming@lyx.org>
2241 * insetinclude.C (metrics, draw): only draw the preview when previews
2244 2003-10-14 André Pönitz <poenitz@gmx.net>
2246 * insetcollapsable.[Ch]:
2247 * insettabular.[Ch]:
2249 * inset.h: getText() as alternative to getParagraphs()
2251 2003-10-13 Angus Leeming <leeming@lyx.org>
2254 * insetgraphicsParams.C: displayTranslator is now a function.
2256 2003-10-13 Angus Leeming <leeming@lyx.org>
2258 * insetinclude.C: remove #include "PreviewImage.h".
2260 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2262 * ExternalSupport.C:
2263 * ExternalTransforms.C:
2265 * insetbox.h: ws changes only
2267 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * insetinclude.C (localDispatch): do not call
2270 InsetOld::localDispatch, just return UNDISPATCHED
2271 * insetgraphics.C (localDispatch): ditto
2272 * insetcommand.C (localDispatch): ditto
2274 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2276 * inset.h: get rid of RESULT typedef for dispatch_result
2278 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2279 * insetert.[Ch] (localDispatch): ditto
2280 * insettabular.[Ch] (localDispatch): ditto
2285 * insettext.[Ch] (localDispatch): ditto
2288 (moveRightIntern): ditto
2289 (moveLeftIntern): ditto
2292 * updatableinset.[Ch] (localDispatch): ditto
2294 2003-10-12 Angus Leeming <leeming@lyx.org>
2296 * renderbase.h (view, view_): removed.
2297 * renderbase.C: removed.
2298 * Makefile.am: remove render_base.C. The shortest lived file in
2301 * renderbutton.C (draw):
2302 * render_graphic.C (draw): don't cache the BufferView.
2304 * insetabase.h (cache, view): removed.
2306 * inset.h (generatePreview) removed.
2308 * insetcallapsable.[Ch] (cache, view, view_): removed.
2310 * insetcollapsable.C (draw): don't cache the BufferView.
2312 * insetcommand.[Ch] (view): removed.
2314 * insetexternal.[Ch] (cache, view, view_):
2315 * insetgraphics.[Ch] (cache, view, view_):
2316 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2318 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2319 when you have direct access to it. In fact, don't use the cache at all.
2321 2003-10-10 Angus Leeming <leeming@lyx.org>
2323 * insetinclude.C (metrics): use preview_->metrics.
2324 (draw): use preview_->draw.
2326 * render_preview.[Ch] (pimage): removed.
2328 2003-10-10 Angus Leeming <leeming@lyx.org>
2330 * renderers.[Ch]: removed.
2333 * render_button.[Ch]:
2334 * render_graphic.[Ch]:
2335 * render_preview.[Ch]: new files. The first three are split out of
2336 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2337 contains a re-worked InsetInclude::PreviewImpl also.
2339 * Makefile.am: reflect the changed files.
2342 * insetexternal.[Ch]:
2343 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2345 * insetinclude.[Ch]: changes reflecting the change from
2346 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2352 * inseturl.C: add #include "support/std_ostream.h"
2354 2003-10-09 Angus Leeming <leeming@lyx.org>
2356 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2357 to PreviewedInset::previewReady.
2359 2003-10-09 Angus Leeming <leeming@lyx.org>
2361 * insetexternal.[Ch] (statusChanged):
2362 * insetgraphics.[Ch] (statusChanged): make a const member function.
2364 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2367 2003-10-09 Angus Leeming <leeming@lyx.org>
2369 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2370 to PreviewedInset's previewReady and removePreview member functions.
2372 2003-10-08 André Pönitz <poenitz@gmx.net>
2374 * insetcollapsable.C:
2375 * insettext.[Ch]: saner 'init' structure
2377 * updatableinset.[Ch]: remove unneeded code
2379 2003-10-08 Angus Leeming <leeming@lyx.org>
2381 Fix doxygen warnings.
2383 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2384 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2386 2003-10-07 Angus Leeming <leeming@lyx.org>
2388 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2389 be applied to InsetExternal.
2391 * Makefile.am: add these new files.
2393 * ExternalTemplate.[Ch]: add a list of available transforms to
2394 class Template and a list of factory functions for transformer classes
2395 that can act on this data to class Format.
2397 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2399 * ExternalSupport.C: Add code to replace transform placeholders
2400 with appropriate output.
2402 2003-10-07 Angus Leeming <leeming@lyx.org>
2404 * ExternalSupport.[Ch]: new files, moving the private member functions
2405 and namespace anon functions out of insetexternal.C to here, so making
2406 it easier to understand what is going on in insetexternal itself.
2408 * Makefile.am: add new files.
2410 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2411 allowing the class to be forward declared. (Also consistent with
2412 all other Params classes.)
2413 (write): moved out of the class. Move this function and those in
2414 namespace anon to ExternalSupport.[Ch].
2416 2003-10-07 Angus Leeming <leeming@lyx.org>
2418 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2419 non-const member function.
2421 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2426 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2428 2003-10-02 André Pönitz <poenitz@gmx.net>
2430 * insettext.C (read): make sure there is at least one par
2431 in the text after reading.
2433 2003-10-01 José Matos <jamatos@lyx.org>
2435 * insetbranch.C (linuxdoc, docbook): minor fix.
2437 2003-10-01 Angus Leeming <leeming@lyx.org>
2439 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2441 * insetexternal.[Ch]: changes due to the introduction of
2442 namespace lyx::external.
2444 2003-09-30 Angus Leeming <leeming@lyx.org>
2446 * insetexternal.[Ch] (Params::read, write): new member functions.
2448 2003-09-25 Angus Leeming <leeming@lyx.org>
2450 * insetexternal.[Ch] (TempName): new (private) nested struct with
2451 fake copy semantics. Enables us to use the generated copy c-tor
2452 in the Params struct.
2453 (Params::templatename, Params::tempname): use accessor functions.
2455 2003-09-25 Angus Leeming <leeming@lyx.org>
2457 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2458 function, returning a const pointer.
2460 2003-09-23 Angus Leeming <leeming@lyx.org>
2462 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2463 store them in a vector, preambleNames.
2465 * insetexternal.C (validate): loop over all preambleNames and call
2466 LaTeXFeatures::addExternalPreamble with each.
2468 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2470 * insetbranch.C: bug fix in branches
2472 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2474 * insetnote.C: small clean-up.
2476 2003-09-19 Angus Leeming <leeming@lyx.org>
2478 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2480 * insetcommand.C (string2params): clear params using the default c-tor.
2482 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2483 InsetInclude::Params. No more data in this struct than in
2484 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2485 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2486 (clone): remove #warning as it's now redundant.
2487 (set): add a 'Buffer const &' arg. Make private.
2488 (loadIfNeeded) move out of the class definition and into namespace anon.
2489 (getMasterFilename, getFileName): ditto.
2491 2003-09-18 Angus Leeming <leeming@lyx.org>
2493 * insetcommand.C (setParams): use the params' copy constructor.
2495 2003-09-18 Angus Leeming <leeming@lyx.org>
2497 * insetinsetbase.h (getLabelList):
2498 * insetinsetcollapsable.[Ch] (getLabelList):
2499 * insetinsetinclude.[Ch] (getLabelList):
2500 * insetinsetlabel.[Ch] (getLabelList):
2501 * insetinsettabular.[Ch] (getLabelList):
2502 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2503 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2505 2003-09-18 Angus Leeming <leeming@lyx.org>
2507 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2508 redundant baggage from yesteryear.
2509 Remove Params::flag as it is redundant; the info is present in
2512 2003-09-18 Angus Leeming <leeming@lyx.org>
2514 * insetinclude.C (latexString): add a Buffer const & arg.
2516 2003-09-18 Angus Leeming <leeming@lyx.org>
2521 * insettext.h: rename EnumLColor as LColor_color.
2523 2003-09-18 Angus Leeming <leeming@lyx.org>
2525 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2526 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2528 2003-09-16 Angus Leeming <leeming@lyx.org>
2530 * insetinclude.C (localDispatch): ensure that
2531 params_.masterFilename_ is set before trying to generate a
2532 preview, else we trigger an assert.
2534 2003-09-16 Angus Leeming <leeming@lyx.org>
2536 * insetinclude.C (PreviewImpl::parent): return a const reference.
2538 2003-09-16 Angus Leeming <leeming@lyx.org>
2540 * insetcollapsable.[Ch]: make all member variables, except for
2543 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2544 than access labelfont directly.
2545 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2546 use InsetCollapsable::setCollapsed, isOpen rather than access
2547 collapsed_ directly.
2549 * insetminipage.C (metrics):
2550 * insetnote.C (metrics):
2551 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2552 access collapsed_ directly.
2554 2003-09-16 Angus Leeming <leeming@lyx.org>
2556 * insetbibitem.C: add #include "lyxfont.h".
2558 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * insetbibtex.C: use namespace alias for lyx::support::os
2563 2003-09-16 Angus Leeming <leeming@lyx.org>
2565 * insetcollapsable.h: remove unused framecolor variable.
2566 Remove #include "LColor.h".
2568 * insetcollapsable.C: remove unused framecolor variable.
2571 * insetcollapsable.C:
2579 Add #include "LColor.h".
2581 2003-09-16 Angus Leeming <leeming@lyx.org>
2583 * insettext.[Ch] (frameColor): new accessor function.
2584 (frame_color_): stored as an int, allows us to remove #include
2585 "LColor.h" from insettext.h
2590 add #include "LColor.h".
2592 * insetcollapsable.h: add #include "LColor.h"
2593 (for its framecolor member variable).
2595 2003-09-16 Angus Leeming <leeming@lyx.org>
2597 * insetenv.C (constructor): use accessor functions to access
2598 InsetText variables.
2600 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2601 rename frame_color as frame_color_. Make private.
2603 * insettext.C: associated changes.
2605 2003-09-16 Angus Leeming <leeming@lyx.org>
2607 * inset.h: store background_color_ as an int, not as an
2608 LColor::color to get LColor.h out of the header file.
2611 * insetlatexaccent.C:
2614 * insetspecialchar.C:
2616 add #include "LColor.h".
2618 2003-09-16 Angus Leeming <leeming@lyx.org>
2620 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2621 cannot string calls together.
2623 2003-09-15 Angus Leeming <leeming@lyx.org>
2625 * inset.[Ch] (setBackgroundColor, backgroundColor):
2626 * insettext.[Ch] (setFrameColor):
2627 pass EnumLColor args, rather than LColor::color ones.
2629 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * insetwrap.C: remove usage of STRCONV
2641 2003-09-15 Angus Leeming <leeming@lyx.org>
2643 * renderers.C (draw):
2644 * insetlatexaccent.C (draw): explicitly define the color passed to
2647 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2649 * insettext.C: remove block causing problems in lockInsetInInset
2650 (mentioned erroneously under Bug #1366)
2652 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2654 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2657 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2659 * several files: change Assert to BOOST_ASSERT
2661 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2663 * insettext.[Ch]: remove drawText[XY]Offset
2665 2003-09-08 Angus Leeming <leeming@lyx.org>
2667 * insetcollapsable.C:
2672 * insetspecialchar.C:
2675 * insettoc.C: remove redundant using directives.
2677 2003-09-07 Angus Leeming <leeming@lyx.org>
2680 * insetspecialchar.h: remove #include "support/std_string.h".
2682 2003-09-06 Angus Leeming <leeming@lyx.org>
2684 * renderers.C: add #include "insets/inset.h"
2686 2003-09-05 Angus Leeming <leeming@lyx.org>
2688 * *.C: strip out redundant #includes. (193 in total.)
2690 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2692 * insets/insetbibtex.[Ch]:
2693 * insets/insetcommand.h:
2694 * insets/insetfloatlist.[Ch]:
2695 * insets/insetinclude.[Ch]:
2696 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2697 of insets like bibtex, include, toc and floatlist to the visible
2698 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2699 up the dialogs. Cursor has to be in front of the inset (i.e.
2700 start of row) for this to function.
2702 2003-09-04 Angus Leeming <leeming@lyx.org>
2704 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2705 structure outside of the Format struct. Format::preambleName refers to
2706 an item in the map of all preamble snippets.
2707 Make use of the new Debug::EXTERNAL flag.
2709 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2710 (validate): Small change due to the changed storage of preamble
2713 2003-09-04 Angus Leeming <leeming@lyx.org>
2715 * insetgraphics.C: #include "support/os.h"
2717 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2718 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2719 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2721 * insetcollapsable.h:
2723 * insetnote.C: move #include "funcrequest.h" out of the header file.
2725 2003-09-03 Angus Leeming <leeming@lyx.org>
2727 * insetexternal.C (updateExternal):
2728 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2731 2003-09-03 Angus Leeming <leeming@lyx.org>
2733 * insetexternal.C: don't bring namespace lyx::support into the global
2736 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2738 * insetbranch.C: Add Branch: to label
2740 2003-09-02 John Levon <levon@movementarian.org>
2743 * insettext.C: remove cursor.i[xy]()
2745 2003-08-28 Angus Leeming <leeming@lyx.org>
2747 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2748 "sh ", enabling the conversion to be carried out even if the script
2751 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2753 * most files: change to use const Buffer refs
2755 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2757 * insetfootlike.C: whitespace.
2759 2003-08-26 John Levon <levon@movementarian.org>
2763 * insetindex.h: remove remaining mentions of needFullRow()
2765 2003-08-26 André Pönitz <poenitz@gmx.net>
2771 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2773 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2775 * insetbranch.C: Small fix to prevent a crash on loading.
2777 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2782 * insetcollapsable.h:
2784 * insetfloatlist.[Ch]:
2785 * insetfootlike.[Ch]:
2786 * insetinclude.[Ch]:
2792 * insettheorem.[Ch]:
2793 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2794 altogether, putting the logic in metrics/draw in the insets.=20
2795 Draws short single row insets with more or less realistic metrics.
2797 2003-08-19 André Pönitz <poenitz@gmx.net>
2799 * insettext.C: use new RowPainter interface
2801 2003-08-18 John Levon <levon@movementarian.org>
2803 * insetref.C: require amsmath for eqref
2805 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2809 * insetbranch.[Ch]: implements the 'branch inset'
2810 idea. This allows the output of various versions of a document
2811 from a single source version, selectively outputing or suppressing
2812 output of parts of the text.
2813 This implementation contains a 'branch list editor' in a separate
2814 tab of the document settings dialog. Branches are user definable
2815 and have a "display colour" to distinguish them on-screen.
2817 ColorHandler was somewhat cleaned up.
2818 (1) make possible a dynamically growing LColor list by allowing
2819 the graphic context cache to grow along (vector);
2820 (2) eliminate an IMHO unnecessary step in colour allocation.
2822 2003-08-15 André Pönitz <poenitz@gmx.net>
2824 * insettext.[Ch]: adjust after rowlist split
2826 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2828 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2829 rename valign-center to valign-middle;
2830 rename VALIGN_CENTER to VALIGN_MIDDLE
2832 2003-08-11 André Pönitz <poenitz@gmx.net>
2834 * inset.h: remove resizeLyXText
2837 * insetcollapsable.[Ch]:
2839 * insettabular.[Ch]: adjust
2841 * insettext.[Ch]: remove saveLyXTextState,
2842 restoreLyXTextStat, sstate, reinitLyXText
2844 2003-08-07 André Pönitz <poenitz@gmx.net>
2846 * inset.[Ch]: move non-crucial functions out-of-line
2848 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2849 remove duplicated code.
2851 2003-08-05 André Pönitz <poenitz@gmx.net>
2854 * insetcollapsable.[Ch]:
2864 * insettabular.[Ch]:
2867 * updatableinset.[Ch]: rip out "deep update"
2869 * insettext.C (localDispatch): merge cases with default branch
2871 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2873 * insettabular.[Ch] (updateLocal): simplify logic
2875 2003-08-04 André Pönitz <poenitz@gmx.net>
2877 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2878 is 'FULL' all the time.
2880 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2882 * insetert.C (get_new_label): only add ... to the (closed) label
2883 when the string has been shortened
2885 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2887 * Always use std::endl with lyxerr
2889 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2891 * insetnote.C: update \author list
2893 2003-07-31 André Pönitz <poenitz@gmx.net>
2895 * insetcollapsable.h:
2896 * insettabular.[Ch]:
2897 * insettext.[Ch]: remove toggleSelection
2899 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2901 (with help from Juergen Spitzmueller)
2902 * insetnote.C: add add i18n support. Use Prefs-definable
2903 colours for Comment and Greyedout.
2905 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2907 * insetcollapsable.[Ch]:
2909 * insetert.C: factor out the detection of clicking on the inset
2910 button as 'hitButton'. John Levon contributed.
2912 2003-07-30 André Pönitz <poenitz@gmx.net>
2914 * insetcollapsable.C:
2916 * insettabular.C: parantheses, localize vars etc.
2918 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2920 * insetnote.C: Implement a newenvironment in preamble for
2921 greyedout. Patch provided by Jürgen Spitzmüller.
2923 2003-07-29 Angus Leeming <leeming@lyx.org>
2925 * insetcommand.C (localDispatch): default to
2926 InsetOld::localDispatch.
2928 * insetbibitem.C (localDispatch):
2929 * insetbibtex.C (localDispatch): remove call to
2930 ChangeCitationsIfUnique.
2932 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2934 * insetexternal.C (read): use pushpophelper.
2936 2003-07-28 José Matos <jamatos@lyx.org>
2938 * insetext.C (read): \end_document replaces \the_end.
2940 2003-07-28 José Matos <jamatos@fep.up.pt>
2942 * insetert.C (write): \layout -> \begin_layout.
2943 Add missing \end_layout.
2945 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * insetquotes.C: document a bit the format
2949 * insettabular.C (write): remove extra space
2951 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2952 * insetnote.C: Umpf. Hope I *now* get it right :-(
2954 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2955 *insetnote.C: did the right fix to greyedout: \color
2956 instead of \textcolor.
2958 2003-07-28 Angus Leeming <leeming@lyx.org>
2960 * insetbibtex.h: remove extraneous forward declaration.
2963 * insetbibtex.h: Also remove long-dead Holder member class
2966 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2968 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2971 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * insetwrap.C (addToToc): adjust for lyx::toc
2975 * insetfloatlist.C (ascii): adjust for lyx::toc
2977 * insetfloat.C (addToToc): adjust for lyx::toc
2979 2003-07-27 José Matos <jamatos@fep.up.pt>
2981 * insetnote.h (linuxdoc,docbook): update support.
2983 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2985 * insetfloat.C (wide): add a space to label, for consistency
2987 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * insettext.C (nextChange): adjust for lyx::find
2990 (searchForward): ditto
2991 (searchBackward): ditto
2993 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2995 * insetgraphicsParams.C:
2996 * insetexternal.C: declare extern displayTranslator
2999 * renderers.C: add #include "support/LAssert.h"
3001 2003-07-27 José Matos <jamatos@fep.up.pt>
3003 * insetfloat.[Ch] (linuxdoc):
3004 * insetgraphics.C (linuxdoc):
3005 * insettabular.C (linuxdoc):
3006 * insettext.[Ch] (linuxdoc): add support for tables and figures
3009 2003-07-27 José Matos <jamatos@fep.up.pt>
3011 * insetinclude (latex): comply with makeLaTeXFile argument change.
3013 2003-07-26 Asger Alstrup <alstrup@local>
3015 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
3016 the undo crashes. We'll see what problems other places this will
3019 2003-07-26 Angus Leeming <leeming@lyx.org>
3021 * insetgraphics.C: remove unused declaration of system_tempdir.
3023 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * rename Inset to InsetOld
3027 * all inset files (clone): return a auto_ptr<InsetBase>
3029 2003-07-23 Angus Leeming <leeming@lyx.org>
3031 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3033 2003-07-23 Angus Leeming <leeming@lyx.org>
3035 * mailinset.[Ch] (inset2string):
3036 * insetcommand.[Ch] (inset2string):
3037 * insetert.[Ch] (inset2string):
3038 * insetexternal.[Ch] (inset2string):
3039 * insetfloat.[Ch] (inset2string):
3040 * insetgraphics.[Ch] (inset2string):
3041 * insetinclude.[Ch] (inset2string):
3042 * insetminipage.[Ch] (inset2string):
3043 * insetnote.[Ch] (inset2string):
3044 * insettabular.[Ch] (inset2string):
3045 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3047 * insetexternal.[Ch]:
3048 * insetgraphics.[Ch]: get rid of the view() function. Associated
3049 changes to the mailers' string2params and params2string functions.
3051 2003-07-23 Angus Leeming <leeming@lyx.org>
3053 * insetexternal.[Ch]: store the external file name in a FileName
3054 member variable rather than a string + associated changes.
3056 2003-07-21 Angus Leeming <leeming@lyx.org>
3058 * insetgraphicsParams.[Ch]: store the graphics file name in
3059 a FileName member variable rather than a string.
3061 * insetgraphics.[Ch]:
3062 * insetgraphicsParams.[Ch]: Associated changes.
3064 2003-07-21 Angus Leeming <leeming@lyx.org>
3066 * insetgraphics.[Ch] (string2params, params2string): passed a
3067 buffer_path argument.
3070 2003-07-21 Angus Leeming <leeming@lyx.org>
3073 * insetgraphicsParams.[Ch]:
3075 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3077 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3079 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3081 2003-07-18 André Pönitz <poenitz@gmx.net>
3084 * insetminipage.[Ch]:
3085 * insettabular.[Ch]:
3088 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3090 2003-07-18 André Pönitz <poenitz@gmx.net>
3094 * insetcollapsable.C:
3098 * insetgraphics.[Ch]:
3099 * insetlatexaccent.[Ch]:
3104 * insetspecialchar.C:
3105 * insettabular.[Ch]:
3107 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3109 2003-07-17 André Pönitz <poenitz@gmx.net>
3111 * insetcollapsable.C:
3113 * insettext.C: don't call Inset::update() anymore
3116 * insettabular.[Ch]: remove unneeded in_update_ members
3118 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3120 2003-07-16 André Pönitz <poenitz@gmx.net>
3122 * insettext.C (selectAll): remove
3124 2003-07-16 John Levon <levon@movementarian.org>
3127 * insetnote.C: implement showInsetDialog()
3129 2003-07-15 André Pönitz <poenitz@gmx.net>
3132 * insettext.C: refresh_status tristate -> need_update bool
3134 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3136 * insettext.C: adjust call to LyXText::init
3138 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3140 * insettext.C: use bufferview_funcs->replaceSelection()
3141 to delete selections in some cases (bugs 441, 673, 702, 954).
3143 2003-07-14 André Pönitz <poenitz@gmx.net>
3145 * insettext.C (draw): use slimmed down rowpainter interface
3147 2003-07-14 André Pönitz <poenitz@gmx.net>
3149 * insetcollapsable.C:
3151 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3152 remove unused BufferView * argument
3154 2003-07-14 André Pönitz <poenitz@gmx.net>
3156 * insettext.[Ch]: used cached metrics a bit more
3158 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3160 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3162 2003-07-10 André Pönitz <poenitz@gmx.net>
3165 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3167 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * introduce namespace lyx::graphics
3171 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * introduce namespace lyx::support
3175 2003-06-30 André Pönitz <poenitz@gmx.net>
3177 * insetcite.C (localDispatch): fix case of missing return value
3179 * insetcite.C (ascii): remove unneeded temporary
3181 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * insetspace.h: fix \file
3185 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3186 * insetinclude.C (fillWithBibKeys): ditto
3188 * insetbibitem.C: fix type const order
3190 * inset.C (getLyXText): add varname for arg
3192 * ExternalTemplate.h: fix type const order
3194 2003-06-27 André Pönitz <poenitz@gmx.net>
3196 * insettext.C: take care of removed LyXCursor::row_ member
3198 * insettext.[Ch]: use new TextCursor struct for sstate
3200 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3202 * inseterror.[Ch]: removed
3204 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3206 * insetinclude.C (docbook): use parseError instead of sgmlError
3208 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3210 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3211 of BufferList::loadLyXFile
3213 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * insettext.C (update): simplify
3216 (updateLocal): remove commented code
3217 (insetUnlock): simplify
3218 (lockInset): simplify
3219 (updateInsetInInset): simplify
3220 (localDispatch): simplify
3222 (resizeLyXText): simplify
3223 (collapseParagraphs): simplify
3225 * insetert.C (get_new_label): simplify
3227 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3229 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3230 pasteSelection with index
3232 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3234 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3236 2003-06-16 André Pönitz <poenitz@gmx.net>
3238 * insetbase.h: new virtual base function clone()
3240 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3241 Inset * clone() -> InsetBase * clone()
3243 2003-06-13 André Pönitz <poenitz@gmx.net>
3245 * insettabular.[Ch]: make tabular a proper member
3247 2003-06-12 André Pönitz <poenitz@gmx.net>
3249 * insettabular.[Ch]: some renaming plus whitespace
3251 2003-06-11 Angus Leeming <leeming@lyx.org>
3253 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3256 * insetbutton.[Ch]: removed.
3257 * graphicinset.[Ch]: renamed as renderers.[Ch].
3259 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3260 Create a new class ButtonRenderer using the InsetButton::metrics() and
3262 Derive both from a common RenderedInset base class.
3264 * insetcommand.[Ch]:
3265 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3266 Give it a ButtonRenderer member variable. Use it.
3267 Give the classes working copy c-tors.
3268 No longer derive from boost::noncopyable.
3270 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3271 display its contents as a button or as a graphic.
3273 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3276 2003-06-11 Angus Leeming <leeming@lyx.org>
3278 * insetcite.C (localDispatch): reformat.
3280 * insetref.C (localDispatch): enable dialog to be lauched.
3282 2003-06-11 John Levon <levon@movementarian.org>
3284 * insettabular.C: correctly mark all cells as erased
3286 2003-06-11 Angus Leeming <leeming@lyx.org>
3288 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3289 ExternalTemplate but its name, templatename. This means that a file
3290 containing a reference to an External Template not installed on the
3291 current machine will be saved retaining this info rather than inserting
3292 the first "valid" template from the list of templates.
3294 As a by product, the visual statement that the Template is missing is
3297 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3299 * insettext.C (appendParagraphs): remove some commented code.
3301 2003-06-10 Angus Leeming <leeming@lyx.org>
3303 * graphicinset.[Ch] (view): removed the publicly accessible
3304 function to set the cache.
3306 * insetexternal.[Ch]: move tempname_ into the Params struct.
3307 (Params d-tor): new function, to clean-up this temp file.
3308 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3310 (editExternal, doSubstitution): move out of class.
3312 2003-06-10 Angus Leeming <leeming@lyx.org>
3314 * graphicinset.[Ch] (params): removed.
3315 * graphicinset.h (operator=): declared private but not defined.
3316 (statusMessage): made private.
3318 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3320 2003-06-07 John Levon <levon@movementarian.org>
3322 * insetert.C (latex): make a newline mean just that not
3325 2003-06-07 José Matos <jamatos@fep.up.pt>
3327 * insethfill.[Ch] (linuxdoc, docbook): implement output
3328 * insetspace.C (linuxdoc, docbook): remove coments as the code
3331 2003-06-06 José Matos <jamatos@fep.up.pt>
3333 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3335 2003-06-06 André Pönitz <poenitz@gmx.net>
3337 * insetwrap.[Ch]: code compactification
3339 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3341 * mailinset.C (updateDialog): use Dialogs::visible
3343 2003-06-04 Angus Leeming <leeming@lyx.org>
3345 * graphicinset.C (draw): add a comment for the #if 0 block.
3347 * insetexternal.h: remove Params::parameters variable.
3349 * insetexternal.C (read, write): rewrite to output new ExternalInset
3350 format and read it back making full use of LyXLex.
3352 2003-06-04 André Pönitz <poenitz@gmx.net>
3354 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3356 2003-06-04 John Levon <levon@movementarian.org>
3358 * insettabular.C: back out tall table speed up. It was broken
3360 2003-06-03 Angus Leeming <leeming@lyx.org>
3362 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3363 Remove ViewCommand and UpdateCommand.
3365 * graphicinset.C (update): bug fix. Set the params before calling the
3368 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3369 the BufferView cache to enable the InsetExternal::editCommand to
3370 be invoked from the frontends. Would not be needed if this were
3371 dispatched properly.
3372 (old_ascent_): variable removed.
3374 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3375 do any necessary conversions of external material. Also use the
3376 new GraphicsInset to display the inset within LyX.
3378 2003-06-03 Angus Leeming <leeming@lyx.org>
3380 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3381 and move it somewhere where InsetExternal can use it too.
3383 * Makefile.am: add the new files.
3385 * insetgraphics.[Ch]: make use of the new GraphicInset.
3387 2003-06-03 John Levon <levon@movementarian.org>
3390 * insetbibitem.[Ch]:
3393 * insetcommand.[Ch]:
3397 * insetexternal.[Ch]:
3401 * insetgraphics.[Ch]:
3403 * insetinclude.[Ch]:
3406 * insetlatexaccent.[Ch]:
3407 * insetmarginal.[Ch]:
3408 * insetminipage.[Ch]:
3415 * insetspecialchar.[Ch]:
3416 * insettabular.[Ch]:
3418 * insetthereom.[Ch]:
3421 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3423 * insetgraphics.[Ch]:
3424 * insetgraphicsParams.[Ch]: always store an absolute
3427 2003-06-02 André Pönitz <poenitz@gmx.net>
3431 * insetlatexaccent.C: remove duplicated call to metrics()
3433 2003-06-02 John Levon <levon@movementarian.org>
3435 * insettabular.C: fix resize of column width
3437 2003-06-02 John Levon <levon@movementarian.org>
3442 * insetparent.C: remove insetparent
3444 2003-06-02 André Pönitz <poenitz@gmx.net>
3451 * insetcollapsable.[Ch]:
3455 * insetgraphics.[Ch]:
3456 * insetinclude.[Ch]:
3457 * insetlatexaccent.[Ch]:
3458 * insetminipage.[Ch]:
3459 * insetnewline.[Ch]:
3462 * insetspecialchar.[Ch]:
3463 * insettabular.[Ch]:
3464 * insettext.[Ch]: unify first drawing phase
3467 * insetbase.h: move validate() to the base
3469 2003-05-31 Angus Leeming <leeming@lyx.org>
3471 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3473 2003-05-30 André Pönitz <poenitz@gmx.net>
3478 * insetcaption.[Ch]:
3479 * insetcollapsable.[Ch]:
3482 * insetgraphics.[Ch]:
3483 * insetinclude.[Ch]:
3484 * insetlatexaccent.[Ch]:
3485 * insetnewline.[Ch]:
3488 * insetspecialchar.[Ch]:
3489 * insettabular.[Ch]:
3491 * updatableinset.[Ch]: unify second drawing phase
3493 2003-05-30 John Levon <levon@movementarian.org>
3495 * insetgraphics.C: fix a bformat
3497 2003-05-29 John Levon <levon@movementarian.org>
3499 * insettabular.C: remove unused bufferOwner()
3501 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insettext.C (lockInsetInInset): adjust
3504 (getLabelList): use const_iterator, adjust
3505 (getInsetFromID): use const_iterator, adjust
3506 (addPreview): use const_iterator, adjust
3508 * insetwrap.C (clone): remove const_cast
3510 * insetnote.C (clone): remove const_cast
3512 * insetminipage.C (clone): remove const_cast
3514 * insetmarginal.C (clone): remove const_cast
3516 * insetfoot.C (clone): remove const_cast
3518 * insetfloat.C (clone): remove const_cast
3520 * insetert.C (clone): remove const_cast
3522 * delete commented same_id functions from a lot of files.
3524 2003-05-28 John Levon <levon@movementarian.org>
3530 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3532 * insetminipage.C: fix metrics (bug 1144)
3534 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * insettext.C (saveLyXTextState): adjust
3537 (restoreLyXTextState): adjust
3540 (unlockInsetInInset): adjust
3541 (localDispatch): adjust
3542 (getLyXText): adjust
3544 * insettabular.C (insertAsciiString): adjust
3546 2003-05-27 André Pönitz <poenitz@gmx.net>
3549 * insetcollapsable.C:
3552 * insetlatexaccent.C:
3557 * insetspecialchar.C:
3559 * insettext.C: dim.w -> dim.wid
3561 2003-05-26 John Levon <levon@movementarian.org>
3563 * insettabular.C: avoid drawing all of a long table
3564 if it's not needed. A big speedup
3566 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * remove same_id from function signatures, adjust
3570 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * insettext.C (InsetText): adjust
3574 (setParagraphData): separate same_id cases, adjust
3575 (appendParagraphs): adjust
3576 (appendParagraphs): adjust
3578 2003-05-23 André Pönitz <poenitz@gmx.net>
3580 * insetbutton.h: whitespace
3582 * insettabular.C: more compact code
3584 * updatableinset.C: remove const_cast
3587 2003-05-23 Angus Leeming <leeming@lyx.org>
3589 * insetexternal.C (write): check how many lines are output.
3590 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3591 if the template has defined it.
3593 2003-05-23 Angus Leeming <leeming@lyx.org>
3595 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3597 2003-05-23 Angus Leeming <leeming@lyx.org>
3599 * insetfoot.C (latex):
3600 * inseturl.C (latex): rename fragile as moving_arg.
3602 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * inseterror.C (localDispatch): comment out unused var.
3606 2003-05-22 Angus Leeming <leeming@lyx.org>
3608 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3609 passed through the LatexRunParams arg.
3611 2003-05-22 Angus Leeming <leeming@lyx.org>
3613 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3614 through the LatexRunParams arg.
3616 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3617 arg rather than through a global var.
3619 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * insetspecialchar.C (dimension): use a string.
3623 2003-05-22 Angus Leeming <leeming@lyx.org>
3625 * insetbibtex.C (latex):
3626 * insetgraphics.C (latex):
3627 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3628 runparams rather than from the buffer itself.
3630 2003-05-22 Angus Leeming <leeming@lyx.org>
3632 * inset*.[Ch] (latex):
3633 passed a LatexRunParams parameter.
3635 * insetgraphics.C (latex): actually use it ;-)
3637 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3639 * insetfloat.C (addToToc): trivial compile fix
3641 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * insettext.[Ch] (paragraph): delete unused function
3645 * insetfloat.C (addToToc): parlist simplfication
3647 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3649 * insetspace.[Ch]: added (new space insets)
3651 * inset.h: handle new space insets
3653 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * insetfloat.C (addToToc): adjust
3657 2003-05-21 André Pönitz <poenitz@gmx.net>
3659 * insettext.[Ch]: fix drawing bug introduced earlier
3661 2003-05-19 André Pönitz <poenitz@gmx.net>
3663 * insetspecialchar.C: fix bug introduced yesterday
3665 2003-05-19 André Pönitz <poenitz@gmx.net>
3669 * insetcollapsable.[Ch]:
3673 * insetgraphics.[Ch]:
3674 * insetgraphicsParams.[Ch]:
3675 * insetlatexaccent.[Ch]:
3676 * insetminipage.[Ch]:
3677 * insetnewline.[Ch]:
3679 * insetspecialchar.[Ch]:
3680 * insettabular.[Ch]:
3681 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3683 2003-05-19 André Pönitz <poenitz@gmx.net>
3686 * insettext.C: more insetenv
3688 2003-05-16 André Pönitz <poenitz@gmx.net>
3691 * insetminimpage.[Ch]:
3692 * insetcollapsable.[Ch]: fix #832
3694 2003-05-16 André Pönitz <poenitz@gmx.net>
3697 * insetbibitem.[Ch]:
3701 * insetcollapsable.[Ch]:
3702 * insetcommand.[Ch]:
3705 * insetexternal.[Ch]:
3706 * insetfloatlist.[Ch]:
3707 * insetgraphics.[Ch]:
3708 * insetinclude.[Ch]:
3711 * insetlatexaccent.[Ch]:
3714 * insettabular.[Ch]:
3718 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3720 2003-05-13 André Pönitz <poenitz@gmx.net>
3723 * insetcollapsable.C:
3727 * insetwrap.C: tostr from own header
3739 * insetwrap.C: STRCONV
3742 2003-05-12 André Pönitz <poenitz@gmx.net>
3754 * insetwwrap.C: boost::format -> bformat all over the place
3756 2003-05-05 André Pönitz <poenitz@gmx.net>
3758 * insettext.h: add missing #include <map>
3760 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * insettext.C (InsetText): parlist cleanup
3765 (insetUnlock): ditto
3767 (lockInsetInInset): ditto
3771 (searchBackward): ditto
3772 (collapseParagraphs): ditto
3774 2003-05-06 John Levon <levon@movementarian.org>
3776 * insetcaption.C: don't cast wrap inset to InsetFloat
3779 * insetfloat.C: remove unneeded type() function
3781 2003-05-05 André Pönitz <poenitz@gmx.net>
3785 * insettabular.[Ch]:
3786 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3787 replace getFirstParagraph() by getParagraphs()
3789 2003-05-03 John Levon <levon@movementarian.org>
3791 * insetcollapsable.h:
3792 * insetcollapsable.C:
3798 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3799 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3800 getCursor(). Remove explicit cursor hides.
3802 2003-05-02 André Pönitz <poenitz@gmx.net>
3804 * insettext.C: remove unneeded &*
3806 2003-04-30 John Levon <levon@movementarian.org>
3808 * insettabular.C: fix edit message
3810 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * insettext.C (setFont): do not convert iterator -> pointer
3814 * insettabular.C (localDispatch): do not convert iterator -> pointer
3816 (tabularFeatures): ditto
3818 2003-04-29 André Pönitz <poenitz@gmx.net>
3820 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3822 2003-04-28 André Pönitz <poenitz@gmx.net>
3824 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3827 2003-04-25 André Pönitz <poenitz@gmx.net>
3829 * insetenv.C: derive from InsetText instead of InsetCollapsable
3831 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3833 * insetexternal.C (string2params): dont do anything if the string
3835 * insetgraphics.C (string2params): ditto
3836 * insetcommand.C (string2params): ditto
3837 * insetert.C (string2params): ditto
3838 * insetfloat.C (string2params): ditto
3839 * insetinclude.C (string2params): ditto
3840 * insetminipage.C (string2params): ditto
3841 * insettabular.C (string2params): ditto
3842 * insetwrap.C (string2params): ditto
3844 2003-04-24 André Pönitz <poenitz@gmx.net>
3846 * insetref.C: support for eqref
3848 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * insetert.C (read): use ParagraphList::iterator.
3852 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * insetquotes.C (latex): comment some code and add warnings.
3856 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3858 * insetexternal.C (localDispatch): added a missing DISPATCHED
3860 2003-04-12 John Levon <levon@movementarian.org>
3862 * insetwrap.C (addToToc): fix a crash, conversion
3863 from while to for loop forgot to remove the explicit
3866 2003-04-10 John Levon <levon@movementarian.org>
3868 * insettabular.C (tabularFeature): make sure
3869 to update the dialog when we change something
3872 (getStatus): don't disable some lfuns (bug 939)
3874 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * insettext.C (saveLyXTextState): adjust
3877 (localDispatch): adjust
3883 * insettabular.C (localDispatch): adjust
3885 (tabularFeatures): adjust
3887 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3889 * insettabular.C (searchForward,searchBackward): fix bug 782
3891 2003-04-07 John Levon <levon@movementarian.org>
3894 * insettext.C: clear status message on inset exit
3896 2003-04-03 John Levon <levon@movementarian.org>
3898 * insetcommand.C: return dispatched on DIALOG_UPDATE
3900 2003-04-02 John Levon <levon@movementarian.org>
3902 * insettabular.C: tab lfuns renamed
3904 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * insettext.C (update): move towards ParagraphList
3907 (updateLocal): ditto
3909 (insetUnlock): ditto
3911 (lockInsetInInset): ditto
3912 (updateInsetInInset): ditto
3913 (localDispatch): ditto
3916 (resizeLyXText): ditto
3917 (searchBackward): ditto
3918 (collapseParagraphs): ditto
3921 * insetwrap.C (InsetWrap): adjust
3922 (addToToc): adjust and rewrite loop
3924 * insettext.[Ch] (paragraph): delete function
3926 * insettabular.C (moveNextCell): adjust
3927 (movePrevCell): adjust
3928 (insertAsciiString): adjust
3930 * insetfloat.C (InsetFloat): adjust
3933 * insetert.C (InsetERT): adjust
3934 (write): adjust, and rewrite loop
3935 (latex): adjust, and rewrite loop
3936 (linuxdoc): adjust, and rewrite loop
3937 (docbook): adjust, and rewrite loop
3938 (localDispatch): adjust
3939 (get_new_label): adjust
3941 2003-04-01 John Levon <levon@movementarian.org>
3943 From Alfredo Braunstein
3946 * insetbutton.C: add localDispatch()
3948 * insetcommand.C: return DISPATCHED when edit() called
3950 * insettext.C: fix bug 967
3952 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * insettext.C: adjust
3956 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * insettext.C (draw): adjust
3959 (crow): return a RowList::iterator not a Row*
3961 * insetminipage.C (localDispatch): adjust
3963 * insetert.C (localDispatch): adjust
3965 2003-03-31 John Levon <levon@movementarian.org>
3968 * insetgraphicsParams.C: use_gui moved to lyx_gui
3970 2003-03-31 John Levon <levon@movementarian.org>
3972 * insettext.C: Alert fix
3974 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * insettext.C (ascent): adjust for RowList
3979 (getLyXText): adjust
3980 (toggleSelection): adjust
3982 * insetminipage.C (localDispatch): adjust for RowList
3984 * insetert.C (localDispatch): adjust for RowList
3985 (getMaxWidth): adjust for RowList
3987 2003-03-29 John Levon <levon@movementarian.org>
3989 * insetert.C: Alert cleanup
3991 2003-03-29 John Levon <levon@movementarian.org>
3993 * insettabular.C: Alert fix
3995 2003-03-28 John Levon <levon@movementarian.org>
3997 * insetfloat.C: reset label on INSET_MODIFY
3999 2003-03-28 John Levon <levon@movementarian.org>
4001 * insetgraphicsParams.C: read subcaptionText as a whole line
4004 2003-03-28 John Levon <levon@movementarian.org>
4006 * insettext.C: remove unused prototypes
4008 2003-03-25 Angus Leeming <leeming@lyx.org>
4010 * insetbibitem.C (localDispatch): repaint the view after modifying
4011 a bibitem inset in case the maximum InsetBibitem width has changed.
4013 2003-03-25 John Levon <levon@movementarian.org>
4016 * insettabular.C: LyXText renamings
4018 2003-03-24 John Levon <levon@movementarian.org>
4020 * insettext.C: remove some dead code. Fix bug 972 and
4021 related by posting a repaint in updateLocal(), and making
4022 the SEL functions set SELECTION.
4024 2003-03-22 John Levon <levon@movementarian.org>
4027 * inset.C: remove no-longer-needed topx_set
4029 * insetcollapsable.h:
4030 * insetcollapsable.C: remove dead code
4033 * insetert.C: rebreak the rows when a possible
4034 change in size is made, and reset the cursor
4037 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4039 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4040 topx_set. Fix drawing errors for clearInset(). Remove
4041 some unnecessary uses of topx, which should die.
4043 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4044 is no longer needed. Replace it with an ugly hack.
4046 2003-03-20 John Levon <levon@movementarian.org>
4049 * insetcollapsable.h:
4050 * insetcollapsable.C:
4058 * insettext.C: remove spurious font parameter
4059 from update(). Fix drawing of ERT insets inside
4060 insets (bug 966). Remove unused mark_dirty from
4061 tabular's updateLocal()
4063 2003-03-19 John Levon <levon@movementarian.org>
4072 * insetwrap.C: remove unused getter/setters
4074 2003-03-19 John Levon <levon@movementarian.org>
4076 * several files: bv->updateInset() doesn't take
4077 a bool mark_dirty any more
4079 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * adjust for BufferView* arg removal from lyxtext.
4083 2003-03-17 John Levon <levon@movementarian.org>
4085 * most files: remove the "cleared" parameter
4086 to draw in favour of always clearing. Associated
4089 2003-03-16 John Levon <levon@movementarian.org>
4091 * insettext.C: remove unused s.refresh
4093 2003-03-13 Angus Leeming <leeming@lyx.org>
4095 * insettext.C (edit): replace Dialogs::updateParagraph with
4096 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4098 2003-03-13 André Pönitz <poenitz@gmx.net>
4100 * Makefile.am: insert insetenv
4102 * insethenv.[Ch]: new files, currently inactive
4104 2003-03-12 John Levon <levon@movementarian.org>
4114 * insettext.C: use new insetnewline
4116 2003-03-12 John Levon <levon@movementarian.org>
4118 * insettext.C: readToken became readParagraph
4120 2003-03-12 John Levon <levon@movementarian.org>
4122 * insettext.C: use parlist iterator for reading contents
4124 2003-03-12 John Levon <levon@movementarian.org>
4126 * insettext.C: name change to readToken()
4128 2003-03-11 André Pönitz <poenitz@gmx.net>
4130 * Makefile.am: insert insethfill
4132 * insethfill.[Ch]: new files
4134 2003-03-10 Angus Leeming <leeming@lyx.org>
4136 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4138 (hideDialog): calls the new static Dialogs::hide() method.
4140 * insetbibitem.C (edit):
4141 * insetbibtex.C (edit):
4142 * insetcite.C (edit):
4143 * insetcommand.C (localDispatch):
4144 * inseterror.C (d-tor):
4145 * insetert.C (showInsetDialog):
4146 * insetexternal.C (localDispatch, edit):
4147 * insetfloat.C (localDispatch, showInsetDialog):
4148 * insetfloatlist.C (edit):
4149 * insetgraphics.C (localDispatch, edit):
4150 * insetinclude.C (localDispatch, edit):
4151 * insetindex.C (edit):
4152 * insetlabel.C (edit):
4153 * insetminipage.C (localDispatch, showInsetDialog):
4154 * insetref.C (edit):
4155 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4156 resetPos, showInsetDialog, openLayoutDialog):
4157 * insettoc.C (edit):
4158 * inseturl.C (edit):
4159 * insetwrap.C (localDispatch, showInsetDialog):
4160 changes due to the changed MailInset interface.
4162 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4164 * insetfloat.h: Set default placement to an empty string.
4166 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4168 * insettext.C (latex): adjust call to latexParagraphs.
4170 2003-03-10 Angus Leeming <leeming@lyx.org>
4172 * mailinset.C: warn the user if the BufferView has not been cached.
4174 2003-03-10 Angus Leeming <leeming@lyx.org>
4176 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4178 * insetcommand.h (inset):
4179 * insetert.h (inset):
4180 * insetexternal.h (inset):
4181 * insetfloat.h (inset):
4182 * insetgraphics.h (inset):
4183 * insetinclude.h (inset):
4184 * insetminipage.h (inset):
4185 * insettabular.h (inset):
4186 * insetwrap.h (inset):
4187 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4189 2003-03-10 Angus Leeming <leeming@lyx.org>
4191 * insetcommand.C (string2params):
4192 * insetexternal.C (string2params):
4193 * insetfloat.C (string2params):
4194 * insetgraphics.C (string2params):
4195 * insetinclude.C (string2params):
4196 * insetminipage.C (string2params):
4197 * insettabular.C (string2params):
4198 * insetwrap.C (string2params): cure warning message about missing
4201 2003-03-09 Angus Leeming <leeming@lyx.org>
4203 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4204 it to communicate with the frontend dialogs.
4206 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4207 contents of this inset!
4209 2003-03-07 Angus Leeming <leeming@lyx.org>
4211 * inseterror.C (localDispatch): new method; calls edit() on
4214 2003-03-07 Angus Leeming <leeming@lyx.org>
4216 * insetbibitem.C (localDispatch):
4217 * insetbibtex.C (localDispatch):
4218 * insetlabel.C (localDispatch):
4219 rewrite as a switch.
4221 2003-03-07 Angus Leeming <leeming@lyx.org>
4223 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4224 it to communicate with the frontend dialogs.
4226 2003-03-07 Angus Leeming <leeming@lyx.org>
4228 * insetexternal.C: remove operator== and operator!= for
4229 InsetExternal::Params. They were used only by the old controller
4232 2003-03-07 Angus Leeming <leeming@lyx.org>
4234 * insetcommand.C (localDispatch):
4235 * insetexternal.C (localDispatch):
4236 * insetfloat.C (localDispatch):
4237 * insetinclude.C (localDispatch):
4238 * insetminipage.C (localDispatch):
4239 * insetwrap.C (localDispatch):
4240 add LFUN_INSET_DIALOG_UPDATE to the switch.
4242 2003-03-07 Angus Leeming <leeming@lyx.org>
4244 * insetcommand.C (string2params):
4245 * insetexternal.C (string2params):
4246 * insetfloat.C (string2params):
4247 * insetinclude.C (string2params):
4248 * insetwrap.C (string2params): use LyXLeX more.
4251 * insetexternal.[Ch]:
4253 * insetinclude.[Ch]:
4254 * insetwrap.[Ch]: change Mailer::name_ to be static.
4256 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4257 it to communicate with the frontend dialogs.
4259 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4262 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4264 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * insettext.C (updateLocal): un-const function
4267 (updateLocal): adjust
4268 (collapseParagraphs): un-const function
4269 (collapseParagraphs): adjust
4271 2003-03-05 Angus Leeming <leeming@lyx.org>
4273 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4274 it to communicate with the frontend dialogs.
4276 2003-03-05 Angus Leeming <leeming@lyx.org>
4278 * insetcollapsable.C (draw): cache the BufferView.
4280 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4281 it to communicate with the frontend dialogs.
4283 2003-03-05 Angus Leeming <leeming@lyx.org>
4285 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4288 2003-03-05 Angus Leeming <leeming@lyx.org>
4290 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4292 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4293 it to communicate with the frontend dialogs.
4295 2003-03-05 Angus Leeming <leeming@lyx.org>
4297 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4298 it to communicate with the frontend dialogs.
4300 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * insettext.C (collapseParagraphs): adjust
4303 (appendParagraphs): make it take a Buffer* instead of a
4304 BufferParams& as arg.
4305 (appendParagraphs): adjust
4307 2003-03-04 Angus Leeming <leeming@lyx.org>
4309 * insetbibitem.C (localDispatch):
4310 * insetbibtex.C (localDispatch):
4311 * insetcommand.C (localDispatch):
4312 * insetert.C (localDispatch):
4313 * insetlabel.C (localDispatch):
4314 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4316 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * insettext.C (latex): adjust for ParagraphList::iterator
4320 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * insetbutton.C (view): adjust for boost 1.30.0
4323 * insetcollapsable.C (view): ditto
4324 * insetgraphics.C (statusChanged): ditto
4326 * insettext.h: move paragraphs to be public.
4328 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * insetnote.[Ch] (InsetNote): remove unused constructor
4332 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4334 * insetgraphics.C: added include "format.h"
4336 2003-02-27 Angus Leeming <leeming@lyx.org>
4338 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4341 2003-02-27 Angus Leeming <leeming@lyx.org>
4343 * insetbibitem.C (localDispatch):
4344 * insetbibtex.C (localDispatch):
4347 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4349 2003-02-26 Angus Leeming <leeming@lyx.org>
4351 * insetbibitem.[Ch] (localDispatch):
4352 * insetbibtex.[Ch] (localDispatch):
4353 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4355 * insetcommand.C (localDispatch):
4356 act only on receipt of LFUN_XYZ_APPLY.
4358 * insetert.C (localDispatch): reformat.
4359 add LFUN_XYZ_APPLY to the switch.
4361 2003-02-26 John Levon <levon@movementarian.org>
4363 * insettext.C: use RowPainter
4365 * inset.h: make helpers take const *
4367 2003-02-26 Angus Leeming <leeming@lyx.org>
4369 * insetcommand.[Ch] (localDispatch): new method.
4371 2003-02-26 Angus Leeming <leeming@lyx.org>
4373 * insetinclude.C (draw): cache the BufferView* using cache not
4374 PreviewImpl::setView
4376 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4378 * insetgraphics.C (draw)
4379 * insetinclude.C (draw): Eliminate also the other argument (owner
4380 inset inset) in the call to PreviewImage::image
4382 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4384 * insetgraphics.C (draw)
4385 * insetinclude.C (draw): Eliminate Buferview argument in call to
4388 2003-02-25 John Levon <levon@movementarian.org>
4390 * insetgraphicsParams.h:
4391 * insetgraphics.C: don't start a load process if
4392 the inset is set to NoDisplay (bug #920)
4394 2003-02-22 John Levon <levon@movementarian.org>
4397 * insetwrap.C: TocItem changed API (bug 913)
4399 2003-02-21 Angus Leeming <leeming@lyx.org>
4401 * insetcollapsable.[Ch] (cache, edit):
4402 * insetbutton.[Ch] (cache, edit): new methods to cache the
4403 BufferView in the draw method.
4405 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4406 simplify comunication between InsetCommand-derived classes and
4409 * insetbibitem.[Ch]:
4413 * insetfloatlist.[Ch]:
4417 * inseturl.[Ch]: small changes to reflect the new interface to the
4420 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4421 other, similar classes.
4423 * Makefile.am: add new files.
4425 2003-02-21 Angus Leeming <leeming@lyx.org>
4427 * updatableinset.h (setView, view): remove.
4428 * inset.h (view, cache): to be replaced by these.
4430 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4433 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4436 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4438 2003-02-21 Allan Rae <rae@lyx.org>
4440 * insetinclude.C (loadIfNeeded): ensure loading also works when
4441 child document is under version control.
4443 2003-02-17 André Pönitz <poenitz@gmx.net>
4445 * insetbib.[Ch]: Adjust access to bibkeys
4447 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4449 * insetquotes.C (dispString): remove use of acute accent for "'"
4452 2003-02-14 John Levon <levon@movementarian.org>
4454 * insettabular.C: changed method names in tabular.C
4456 2003-02-14 John Levon <levon@movementarian.org>
4460 * insetcollapsable.h:
4461 * insetcollapsable.C:
4465 * insettext.C: remove unused getParFromID()
4467 2003-02-13 John Levon <levon@movementarian.org>
4470 * insettext.C: remove unused beginningofMainBody()
4472 2003-02-08 John Levon <levon@movementarian.org>
4476 * insetcollapsable.h:
4477 * insetcollapsable.C:
4482 add nextChange(). Make allowSpellcheck() const. Add markErased().
4484 * insetert.C: ignore deleted text
4486 * insettabular.C: make sure to keep change tracking working
4489 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4494 * insettext.C: Use error messages with identical spelling and
4497 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4499 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4501 2002-12-17 Juergen Vigna <jug@lyx.org>
4503 * insettext.C (localDispatch): hopefully fixed cursor up down
4504 movement on leaving other insets.
4506 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4508 * insettext.C: fix inconsistent usage of spaces, colons,
4509 capitalization, and the like.
4511 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4513 * insetgraphics.C (prepareFile): do not remove the extension of
4514 the file name if it is not the default extension for the given
4515 format (that is, in latex output, remove extension from foo.eps,
4516 but not from foo.epsi)
4518 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4520 * insettext.C (lfunMouseRelease): hackish solution to the "double
4523 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * insetfloat.C (addToToc): use the floats name not its type
4526 * insetwrap.C (addToToc): ditto
4528 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4530 * insetnote.C (init): make label font smaller
4532 2002-12-04 John Levon <levon@movementarian.org>
4534 * insetinclude.C: ressurect setting of command name
4536 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * insetquotes.C (dispString): disambiguate insert call
4540 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * several files: ws changes
4544 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * insetquotes.C (dispString): use string::insert for prepending a
4549 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4551 * insetparent.C (getScreenLabel): use boost::format
4553 * insetgraphics.C (prepareFile): use boost::format
4556 * insetfloatlist.C (latex): use boost::format
4558 * insetcaption.C (draw): use boost::format
4560 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4562 * insettabular.C (tabularFeatures): Support for block alignment in
4563 fixed width columns.
4565 2002-11-20 Juergen Vigna <jug@sad.it>
4567 * insettabular.C (resetPos): temporary fix for endless loop in
4568 this function on a redraw.
4570 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4572 * insettabular.C (copySelection): STRCONV
4574 * insetinclude.C (uniqueID): STRCONV
4575 (latexString): ditto
4577 * insetgraphics.C: put VersionNumber inside anon namespace
4578 (createLatexOptions): STRCONV
4580 * insetcommandparams.C: include config.h
4582 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4584 * insetgraphicsParams.C (Write): use lyx::float_equal.
4585 Write height data correctly.
4586 (Read): zero scale when reading height data.
4588 2002-10-30 John Levon <levon@movementarian.org>
4590 * insetfloat.C (addToTOC): recursively traverse all
4591 contents looking for captions (fix #568)
4593 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4595 * insetexternal.C (doSubstitution): do not try to replace
4596 environment variables, this is done when executing the command
4598 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4600 * insetexternal.C (doSubstitution): change order of substitution
4601 to work around ReplaceEnvironmentPath brokenness
4603 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4605 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4607 * insetgraphicsParams.C (init, Write): associated changes
4608 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4609 InsetGraphicsParams::scale.
4611 2002-10-21 John Levon <levon@movementarian.org>
4613 * inset.h: remove unused DISPATCH_RESULT
4615 * insettext.C: sgml open/close tag now in sgml namespace
4617 2002-10-21 Angus Leeming <leeming@lyx.org>
4619 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4620 file path subdir/fig.eps when pasting it into a buffer in a different
4623 2002-10-16 John Levon <levon@movementarian.org>
4625 * insetspecialchar.C: remove \\protected_separator parsing
4627 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4629 * insetquote.C: fix LaTeX output of quotation marks.
4631 2002-10-14 Juergen Vigna <jug@sad.it>
4633 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4634 Backspace functions which confused the Undo handling.
4636 2002-10-09 Angus Leeming <leeming@lyx.org>
4638 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4639 BufferView::dispatch that turns off this optimisation when a new inset
4642 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4643 reload the BibTeX keys.
4645 2002-10-11 André Pönitz <poenitz@gmx.net>
4647 * insettext.h: handle LFUN_PRIOR/NEXT
4649 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4651 * insetfloat.C: fix bug with float settings
4652 (document default != float default).
4654 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4656 * insetwrap.C (addToToc): New method.
4657 (InsetWrap): Set layout to caption.
4659 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4663 2002-09-16 John Levon <levon@movementarian.org>
4665 * insettabular.h: hasSelection() needs to be public
4667 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4669 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4671 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4673 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4675 2002-09-11 André Pönitz <poenitz@gmx.net>
4677 * insettabular.C: implement LFUN_WORDSEL
4679 2002-09-10 John Levon <levon@movementarian.org>
4681 * insetinclude.h: remove unused param
4683 2002-09-09 John Levon <levon@movementarian.org>
4686 * insetinclude.C: remove noload, default to input
4688 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4690 * insetgraphics.C: disfuscated use of ']' in built output string.
4692 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4696 2002-08-29 Juergen Vigna <jug@sad.it>
4698 * insettabular.C (lfunMousePress): Pay attention where you set
4699 the x/y values as they depend on which inset in the tabular is
4700 actually locked. So you surely have to reset them if you (un)lock
4703 2002-08-29 André Pönitz <poenitz@gmx.net>
4705 * insetfootlike.h: rename include guard to ALL CAPS
4707 * insettext.C: swap object and first parameter for checkInsetHit calls
4708 as this functions has moved from BufferView to LyXText
4711 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4713 * insetgraphicsParams.C: remove local displayTranslator and use
4714 the one from graphics/GraphicsTypes.h.
4716 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * insetfloat.C (wide): add BufferParams parameter
4720 * insetfloatlist.C (read):
4723 * insetfloat.C (latex):
4725 * insetcaption.C (draw): use LyXTextClass::floats()
4727 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4729 * insetoptarg.h: add std:: qualifier.
4731 2002-08-26 Juergen Vigna <jug@sad.it>
4733 * insettext.C (localDispatch): ditto.
4735 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4737 2002-08-25 John Levon <levon@movementarian.org>
4739 * inseturl.C: elide long URLs (bug 404)
4741 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4743 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4744 remove "Format Version <version_no.>" string from inset header
4747 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4749 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4750 a member of "grfx::Params" anymore.
4752 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4754 2002-08-24 John Levon <levon@movementarian.org>
4757 * insetoptarg.C: ws, pedantry ...
4759 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4761 * insettext.C (collapseParagraphs): pasteParagraph now in global
4763 (appendParagraphs): ditto
4765 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4767 * insetcite.C (latex): Remove spaces only after commmas.
4769 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * insettext.C: remove NO_COMPABILITY stuff
4773 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * insettext.C (edit): use ParagraphList iterators
4777 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4778 (bibitemWidest): ditto
4780 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * insettext.C: include <boost/bind.hpp>
4783 add using std::for_each
4784 (saveLyXTextState): use ParagraphsList::iterator
4785 (init): use for_each on paragraphlist iterators
4786 (InsetText): remove superflous setting cached_bview to 0
4787 (latex): reformat a bit
4788 (ascii): use paragraphlist iterators
4789 (validate): use for_each + boost bind
4790 (getLabelList): use paragraphlist iterators
4791 (deleteLyXText): use for_each + boost::bind
4792 (resizeLyXText): ditto
4793 (reinitLyXText): ditto
4794 (removeNewlines): use paragraphlist iterators
4795 (getParFromID): ditto
4796 (paragraph): use for_each + boost::bind
4797 (getInsetFromID): use paragraphlist iterators
4798 (getLabelList): typo fix
4800 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * insettext.C (read): assign tmp to paragraphs after return from
4803 call to parseSingleLyXformat2Token
4806 2002-08-13 Angus Leeming <leeming@lyx.org>
4824 * inseturl.C: changes due to the changed LyXView interface that
4825 now returns references to member variables not pointers.
4827 2002-08-13 Angus Leeming <leeming@lyx.org>
4830 * insetcollapsable.h:
4833 * insettext.h: forward-declare WordLangTuple
4834 (selectNextWordToSpellcheck) constify return type.
4837 * insetcollapsable.C:
4840 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4842 2002-08-12 Angus Leeming <leeming@lyx.org>
4844 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4847 2002-08-12 Juergen Vigna <jug@sad.it>
4849 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4852 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4855 (bibitemWidest): ditto
4856 * insettext.[Ch]: ditto
4858 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4862 2002-08-09 Angus Leeming <leeming@lyx.org>
4864 * insetinclude.C (latexString): remove fudge now that I've found out
4865 how to enable LaTeX to find the file using input@path.
4867 2002-08-09 John Levon <levon@movementarian.org>
4870 * insettext.C: remove unused xpos
4872 2002-08-07 Juergen Vigna <jug@lyx.org>
4874 * insettabular.C (localDispatch): make delete not put the stuff
4875 in the clipboard only do this on a cut operation.
4877 * insettext.C (localDispatch): make delete and backspace not put
4878 selected stuff to the clipboard.
4880 2002-08-07 André Pönitz <poenitz@gmx.net>
4883 * insetcollapsable.[Ch]:
4887 * insettabular.[Ch]:
4888 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4890 2002-08-06 John Levon <levon@movementarian.org>
4894 * insetcollapsable.h:
4895 * insetcollapsable.C:
4901 * insettext.C: use WordLangTuple for spellcheck
4903 2002-08-06 Angus Leeming <leeming@lyx.org>
4905 * insetinclude.C: add a monitor to the previewed image, so that the
4906 image is refreshed if the \input-ed file changes.
4908 2002-08-04 John Levon <levon@movementarian.org>
4911 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4913 2002-08-02 Angus Leeming <leeming@lyx.org>
4915 * insetcommandparams.[Ch] (preview): new methods returning and setting
4916 a new bool preview_ flag.
4917 (read): read this flag.
4918 (operator==): add flag to check.
4920 * insetinclude.C (write): output new preview() flag.
4921 (previewWanted): use this flag.
4923 2002-08-02 Angus Leeming <leeming@lyx.org>
4925 * insetcollapsable.[Ch] (addPreview):
4926 * insettabular.[Ch] (addPreview):
4927 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4928 for insets in insets.
4930 2002-08-02 Angus Leeming <leeming@lyx.org>
4932 * insetcite.C: fix typo.
4934 * insetgraphics.C: kill current_view and instead cache the BufferView
4937 * insetinclude.C: kill current_view and pass the BufferView to the
4938 PreviewedInset so that it can cache it.
4940 2002-08-01 Angus Leeming <leeming@lyx.org>
4942 * inset.h (generatePreview): renamed as addPreview.
4943 (generatePreview): new method. Allows code to be moved out of
4944 math_nestinset.C and into the new PreviewedInset class.
4946 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4947 add previews to the inset when \input-ing LaTeX.
4949 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * several files: strip,frontStrip -> trim,ltrim,rtrim
4953 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * insetbib.C (latex): modify because of strip changes
4957 * insetnote.C (InsetNote): ditto
4959 2002-07-26 Juergen Vigna <jug@sad.it>
4961 * insettabular.C (searchForward): check for lastcell if we
4962 had a locking inset.
4964 2002-07-25 Juergen Vigna <jug@sad.it>
4966 * insettabular.C (insetMotionNotify): Don't update the screen
4967 if we didn't do nothing.
4968 (searchForward): last cell was not checked.
4970 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4972 * insetfloat.C (read, write): Allow default placement
4973 (floatPlacement_ is empty).
4975 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4977 * insetminipage.h (noFontChange):
4978 * insettabular.h (noFontChange):
4979 * insetfootlike.h (noFontChange):
4980 * insetfloat.h (noFontChange): return true
4982 * inset.h (noFontChange): new method, defaulting to false
4984 2002-07-22 Herbert Voss <voss@lyx.org>
4986 * insetgraphicsParams.[Ch]: support size_type for old docs
4988 2002-07-22 Herbert Voss <voss@lyx.org>
4991 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4994 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4996 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4998 * insetlatexaccent.h: do not include "lyxlex.h"
5000 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
5003 * insetlatexaccent.C:
5007 * insetbib.C: #include "lyxlex.h"
5013 * insettext.C: use BufferParams::getLyXTextClass
5016 * insetfloat.C (addToToc): new method. Add to toclist the entries
5017 corresponding to Caption layouts
5018 (InsetFloat): when creating a new float, set the layout to "Caption"
5020 2002-07-21 Herbert Voss <voss@lyx.org>
5022 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
5023 image relevant part into graphics/GraphicsImgae.C
5025 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5027 * insettoc.C (ascii):
5028 * insetfloatlist.C (ascii): change to use the new Toc functions
5029 instead of stuff that was in Buffer
5031 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5033 * insettext.C (localDispatch): BufferView::Dispatch has been
5034 renamed to BufferView::dispatch
5036 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5038 * insetgraphicsParams.C (as_grfxParams): use the new
5039 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5040 1.2.0 patch, and I do not really know how to adapt it to the new
5041 grfx::Cache world. Angus, please could you have a look?
5043 2002-05-01 Herbert Voss <voss@lyx.org>
5045 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5047 2002-07-18 Angus Leeming <leeming@lyx.org>
5049 * insetgraphics.C: clean-up comments (from Herbert).
5050 add a new checksum variable to the cache. Use it in PrepareFile.
5051 (draw): start monitoring the file for a change.
5052 (prepareFile): re-arrange a little to avoid unnecessary steps.
5054 2002-07-17 Angus Leeming <leeming@lyx.org>
5056 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5057 a method rather than to the signal directly.
5059 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5061 * insettext.C: use view_state_changed, switchKeyMap
5063 2002-07-17 Herbert Voss <voss@perce.de>
5065 * insetgraphics.C (prepareFile): keep the extension when
5066 exporting to nice file
5068 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * insetcite.C (getNatbibLabel):
5071 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5073 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5075 * insetgraphics.C: use ->isDrawable()
5077 2002-07-12 Angus Leeming <leeming@lyx.org>
5079 * insetgraphics.C: use the new smart loading capabilities of the image
5082 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5084 * insettabular.C (edit): Move into correct cell when entering a
5087 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5090 2002-07-05 Angus Leeming <leeming@lyx.org>
5092 * inset.h (generatePreview): new virtual method.
5094 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5096 * insetcommandparams.[Ch] (operator=): move out of class
5097 (operator!): move out of class
5099 2002-07-04 André Pönitz <poenitz@gmx.net>
5101 * insetcommandparams.[Ch]: new files
5103 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5105 2002-06-15 Herbert Voss <voss@perce.de>
5107 * insetgraphics.C (prepareFile): bugfix; return always
5108 files without extension
5110 2002-06-28 Angus Leeming <leeming@lyx.org>
5112 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5113 rename asGParams -> as_grfxParams.
5115 * insetgraphics.C: reflect above change.
5117 2002-06-26 Angus Leeming <leeming@lyx.org>
5119 * insetgraphics.h: use boost::scoped_ptr in preference to
5122 2002-06-26 Angus Leeming <leeming@lyx.org>
5124 * insetgraphics.C: moved the image loading stuff into a new class
5125 grfx::Loader. Simplifies this file enormously.
5127 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5129 * insetgraphicsParams.C: changes aassociated with moving
5130 grfx::DisplayType out of grfx::GParams.
5132 2002-06-26 André Pönitz <poenitz@gmx.net>
5134 * insetgraphics.C: use os::external_path where necesaary according to a
5135 patch from Claus Hentschel)
5137 2002-06-25 Angus Leeming <leeming@lyx.org>
5139 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5140 generating a pixmap once the graphics file is loaded into memory.
5141 The current_view ugliness that was in grfx::ModifiedImage has been
5142 moved here now that grfx::ModifiedImage is no more.
5144 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5146 * insettext.C: layout as layout
5148 2002-05-28 André Pönitz <poenitz@gmx.net>
5150 * insetfloatlist.h: remove source of compiler warning
5152 * insetref.C: tiny whitespace
5154 2002-06-15 Herbert Voss <voss@perce.de>
5156 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5157 and take always convert when no userdefined converter was
5159 (latex) small changes in the lyxerr output
5161 2002-06-15 LyX Development team <lyx@rilke>
5163 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5164 mixed content. Small white spaces clean.
5166 2002-06-14 Angus Leeming <leeming@lyx.org>
5168 * inseetexternal.C: remove the using std::difftime declaration.
5170 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5172 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5174 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5176 * insetquotes.C (draw): fix drawing of double quotes
5178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5180 * insettabular.C: s/scrollCB/scrollDocView/
5182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5184 * insettext.C: change of topCursorVisible()
5187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5190 * insettext.C: rename/change of LyXScreen
5192 2002-06-07 Angus Leeming <leeming@lyx.org>
5194 Fixes needed to compile with Compaq cxx 6.5.
5196 * insetexternal.C: all c-library variables have been moved into
5197 namespace std. Wrap using std::xyz declarations inside a #ifndef
5198 CXX_GLOBAL_CSTD block.
5200 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * insetinclude.C (uniqueID):
5203 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5204 conflicted with some AIX headers.
5206 2002-05-31 Juergen Vigna <jug@sad.it>
5208 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5212 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5214 * insetexternal.C (clone): fix () bug when using new
5215 (updateExternal): don't only look for difftime in global scope
5217 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5219 * insettabular.C: add const
5221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5223 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5224 file name, in case there are weird characters like ',' in there.
5227 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5229 * switch from SigC signals to boost::signals.
5231 2002-05-28 André Pönitz <poenitz@gmx.net>
5233 * insets/insetgraphicsParams.[Ch]:
5234 put in inset related stuff from src/graphic
5236 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5244 * insetcollapsable.C:
5245 * insetcollapsable.h:
5273 * inseturl.h: use mouse_state. Kill insetKeyPress
5275 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5280 * insetcollapsable.C:
5283 * insetlatexaccent.C:
5285 * insetspecialchar.C:
5287 * insettext.C: name change for font metrics
5289 2002-05-24 Juergen Vigna <jug@sad.it>
5291 * insetgraphics.h: include inset.h first (for LString.h)
5293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5295 * insettext.C: screen moved
5297 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5315 * inseturl.C: LyXView moved into frontends/
5317 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5322 * insetcollapsable.C:
5326 * insetgraphicsParams.C:
5327 * insetlatexaccent.C:
5329 * insetspecialchar.C:
5331 * insettext.C: move Painter to frontends/
5333 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5335 * insettabular.h: use more specific smart_ptr header.
5336 * insettext.h: ditto
5338 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5341 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5343 * insettext.C: clear selection on paste (bug 393)
5345 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5347 * insettext.C (latex): Honor the moving_arg argument.
5349 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * insetfoot.C (latex): if a footnote is in a title layout, then it
5352 is a \thanks. And then, its contents is a moving argument.
5354 2002-05-14 Juergen Vigna <jug@sad.it>
5356 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5359 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5361 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5362 when using options "Full author list" or "Upper case".
5364 2002-05-14 Herbert Voss <voss@perce.de>
5366 * insetgraphics.C (prepareFile): allow files with same name
5368 (readFigInset): set the flags from old figinset in the right
5370 (findTargetFormat): more comments
5372 2002-05-14 Juergen Vigna <jug@sad.it>
5374 * insettext.C (edit): tell checkAndActivateInset() that we don't
5375 have a button press.
5376 (checkAndActivateInset): if button < 0 we don't have a button press
5377 on the inset and os we won't call edit on it if it's not a Highly
5378 editable inset (then we have to enter it).
5380 2002-05-13 Juergen Vigna <jug@sad.it>
5382 * insetcollapsable.C (insetButtonRelease): returned wrong return
5385 2002-05-09 Juergen Vigna <jug@sad.it>
5387 * insetcollapsable.C (edit): first_after_edit should only be
5388 set to true if we enter this inset and it was collapsed so we
5389 open it up. This is needed to reclose it after a search/replace
5390 or spellcheck function opened it and was negative.
5392 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5394 * insetfloat.C (latex): Return correct value.
5396 2002-05-04 Herbert Voss <voss@perce.de>
5398 * InsetgraphicsParams.C (read): fix bug with WH
5400 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5402 * insetfloat.C (latex): More sensible latex output
5403 (fix the problem with endfloat).
5405 2002-05-02 José Matos <jamatos@fep.up.pt>
5407 * insetgraphics.C (validate): acess params as everyone else.
5409 2002-05-03 Juergen Vigna <jug@sad.it>
5411 * insettabular.C (fitInsetCursor): recalculate the cursor position
5414 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5416 * InsetgraphicsParams.[Ch]: whitespace.
5418 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5420 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5421 float type do not exist.
5423 2002-04-28 Herbert Voss <voss@perce.de>
5425 * insetgraphics.C (latex): fix bug with missing file-extension.
5426 LaTeX still allows a missing "eps" or "ps".
5428 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5430 * insetfloat.C (c-tor, wide): translate the name of the float.
5432 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5434 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5435 when using natbib and make it work efficiently. Must emphasise that the
5436 real work is Herbert's.
5438 2002-04-23 Herbert Voss <voss@perce.de>
5440 * insetgraphic.C (prepareFile): fix bug with overwriting and
5441 deleting an existing *.eps-file in the doc-dir
5443 2002-04-23 Juergen Vigna <jug@sad.it>
5445 * insettabular.C (drawCellSelection): fix off by 1 error.
5447 2002-04-22 Juergen Vigna <jug@sad.it>
5449 * insettabular.C (setFont): rewoke full selection if it was asked,
5450 after we changed all we had to change.
5452 * insettext.C (insetUnlock): code was uninitialized in some situations.
5454 2002-04-19 Herbert Voss <voss@perce.de>
5456 * insetgraphic.C (prepareFile): return filename without
5457 extension if we only export without compiling
5459 2002-04-19 Juergen Vigna <jug@sad.it>
5461 * insettext.C (draw): call a fullRebreak on the row where we had a
5462 change and reset the cursor and selection-cursors.
5464 * insettabular.C (insetUnlock):
5465 (insetButtonPress): call an update before setting the_locking_inset = 0
5466 as otherwise we don't repaint!
5467 (update): reset the cursor position when we changed dimensions as
5468 otherwise our cursor may be on the wrong spot.
5470 2002-04-18 Juergen Vigna <jug@sad.it>
5472 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5473 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5474 redraw otherwise we won't redraw.
5476 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5477 not really right before, but I only discovered this with the last
5478 changes to Page up/down.
5480 2002-04-17 Juergen Vigna <jug@sad.it>
5482 * insettext.C (checkAndActivateInset): simplified as we now have the
5483 edit(bv, bool) call.
5485 * insettext.h: changed behind variables to front variables to be
5486 equal to the one in the edit call (as it is for that they are used).
5488 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5490 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5491 not output anything at all!
5493 2002-04-16 Juergen Vigna <jug@sad.it>
5495 * insettabular.C (insetButtonPress):
5496 (insetUnlock): call a redraw on unlocking the cell inset.
5498 * insettext.C (insetButtonPress): same as below.
5499 (lockInset): new function to set initial values when inset should
5501 (insetButtonPress): use above function.
5502 (insetUnlock): don't force a repaint only set the updateStatus. The
5503 outside world should repaint if it thinks it should be done!
5505 * insettabular.C (insetButtonPress): init values if not set as locked
5506 as we are locked if someone presses on us and don't call the edit()
5507 call of the InsetText to lock it do it as BufferView does it!
5509 * inset.h (insetInInsetY): make func const and return an int.
5512 * insetcollapsable.C: adapt the above changed function.
5514 2002-04-15 Juergen Vigna <jug@sad.it>
5516 * insettext.C (getCursorPos): return relative position as to be able
5517 to give them directly to the edit() call.
5518 (edit): we have to set also x_fix as it is not set inside the
5519 setCursorFromCoordinates call!
5520 (insetMotionNotify): ditto.
5522 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5524 * insetbib.C (getKeys): strip leading '\t's from the line too.
5525 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5527 2002-04-12 Juergen Vigna <jug@sad.it>
5529 * insettext.h: added cix() helper function and use it where appropriate
5531 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5533 * insetgraphics.C (prepareFile): fix bug when graphics is a
5536 2002-04-12 Juergen Vigna <jug@sad.it>
5538 * insettext.C (insertInset): remove unneeded code!
5539 (updateLocal): fitCursor() fixes.
5540 (collapseParagraphs): fix a possible problem when having a selection
5541 and collapsing the paragraphs.
5543 2002-04-08 Herbert Voss <voss@perce.de>
5545 * insetgraphic.C (write): write the rotating angle as
5546 a float as is. test only for != 0.0
5548 2002-04-11 Juergen Vigna <jug@sad.it>
5550 * insettext.C: new function ciy() and use it for setting inset_y.
5552 * insetert.C (draw): fix the x return for collapsed version.
5554 2002-04-07 Herbert Voss <voss@perce.de>
5556 * insetgraphic.C (readFigInset): fix bug with subcaption and
5559 2002-04-08 Herbert Voss <voss@lyx.org>
5561 * insetgraphicsparam.C: forgot special option and delete old
5564 2002-04-05 Juergen Vigna <jug@sad.it>
5566 * insettext.C (localDispatch): make a CURSOR update if we inserted
5569 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5571 * insetfloatlist.C (getScreenLabel):
5572 (latex): use Floating::listName
5573 (validate): new method
5575 2002-04-03 José Matos <jamatos@fep.up.pt>
5577 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5579 * insetfoot.[Ch] (docbook): added forgotten method.
5581 2002-04-03 Juergen Vigna <jug@sad.it>
5583 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5584 way as in Bufferview_pimpl.
5586 2002-04-03 Allan Rae <rae@lyx.org>
5588 * insetgraphics.C (latex): one % too many makes living on the bleeding
5589 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5591 2002-03-28 Herbert Voss <voss@lyx.org>
5593 * insetgraphic.C (latex): simplify the code for the latex
5594 output when the file doesn't exist
5596 2002-03-29 Juergen Vigna <jug@sad.it>
5598 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5601 * insettabular.C (edit): call fitCursor().
5603 * insettext.C (insetButtonPress): change behaviour of no_selection
5604 to the one in the BufferView selection_possible and fix the spurious
5605 selection bug with it.
5606 (localDispatch): revoke selection on BREAK... functions.
5608 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5610 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5612 2002-03-28 Juergen Vigna <jug@sad.it>
5614 * insettabular.C (insetAllowed): return true as default value otherwise
5615 we're not able to insert insets inside paragraphs of an not locked
5618 2002-03-27 Herbert Voss <voss@lyx.org>
5620 * insetgraphicsparam.C: change c%, p% to col%, page%
5622 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5624 * insetspecialchar.C (isLineSeparator): disable the nice code to
5625 allow linebreaks after hyphenation and menu separators.
5627 2002-03-26 Herbert Voss <voss@lyx.org>
5629 * insetgraphics.C (figinsetRead): set the right lyxview
5631 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5633 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5634 $\backslash$ and pass a "string const &" to the function.
5635 (prepareFile, latex): use Path rather than MakeAbsPath.
5637 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5639 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5640 proper fix to the graphics cache.
5641 (latex): "really" nice output if the file is not found ;-)
5643 2002-03-26 Juergen Vigna <jug@sad.it>
5645 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5646 (collapseParagraphs): fixed inserting of separator ' '
5648 * insettabular.C (insertAsciiString): only check for buffer lenght
5649 not if we have \t or \n inside the buffer as if we don't have we only
5650 have 1 cell and that's it!
5652 * insetert.C (close): don't collapse if inlined.
5654 2002-03-25 Herbert Voss <voss@lyx.org>
5656 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5657 graphics file does not exist.
5659 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5661 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5662 path when preparing export.
5664 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5665 no longer MakeRelPath.
5667 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5669 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5670 Used to determine the absolute path to the graphics file in the
5671 graphics cache and only in the graphics cache.
5672 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5673 make graphics file name absolute if it is stored as a relative path.
5675 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5676 make graphics file name absolute if it is stored as a relative path.
5678 * insettext.C (edit): emit an updateParagraph signal on entering a text
5679 inset. Needs to be emitted when leaving the inset also.
5681 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5683 * all files: ws cleanup
5685 * Makefile.am: remove ld -r stuff
5687 2002-03-21 Juergen Vigna <jug@sad.it>
5689 * insettext.C (appendParagraphs): new function added to append
5690 the paragraphs to this insets paragraphs.
5692 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * Makefile.am: special rules if partial linking
5696 2002-03-19 Juergen Vigna <jug@sad.it>
5698 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5700 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5702 * insetgraphics.C: Clean up Baruch's comments a little.
5703 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5705 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5708 * insettheorem.C: wrap warnings
5710 * insetgraphics.C: improve messages, move cached_status_
5711 setting to safer place
5713 2002-03-18 Juergen Vigna <jug@sad.it>
5715 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5717 (localDispatch): ditto
5719 * insettext.C (edit): removed unneeded showCursor calls.
5720 (localDispatch): ditto.
5722 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5724 * insetgraphics.h: remove display() method.
5726 2002-03-11 Juergen Vigna <jug@sad.it>
5728 * insetgraphics.C (draw): hack to fix the redrawing bug.
5729 (draw): seems this fixes #268 (force redraw of row if we changed).
5731 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5732 this inset text (don't know why I missed this earlier).
5734 2002-03-08 Juergen Vigna <jug@sad.it>
5736 * insettabular.C (updateLocal): do a FULL update if we're not locked
5737 and only a CELL update is asked.
5739 * insettext.C (updateInsetInInset): update insets inside inset also
5740 if it isn't inside the_locking_inset.
5742 * insettabular.C (updateInsetInInset): ditto.
5744 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5746 * insetexternal.C (doSubstitution): check whether we are using a
5747 temp dir for defining $$FPath
5749 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5752 * insettext.C: remove #include "WorkArea.h".
5754 2002-03-06 Juergen Vigna <jug@sad.it>
5756 * insettext.C (draw): fixed frame redrawing.
5757 (clear): forgot to set the inset_owner of the paragraph.
5759 * insetert.C (status): pay attention the bv can be 0 here!
5760 (getMaxWidth): add the default leftMargin
5762 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5764 * insetert.C (getMaxWidth): make w unsigned int.
5766 2002-03-05 Juergen Vigna <jug@sad.it>
5768 * insetert.C (status): change behaviour of Inlined.
5769 (getMaxWidth): added for new inlined behaviour.
5771 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5773 * insetnote.h (linuxdoc, docbook): add empty methods.
5774 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5775 before being initialized.
5777 2002-03-05 Juergen Vigna <jug@sad.it>
5779 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5780 only that one in the inset. Should be enough.
5781 (updateLocal): set the selection cursor always if we don't have a
5782 selection to be sure it's set!
5784 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5786 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * insettext.C (clear): a gross hack to set layout on a newly
5791 2002-03-04 Juergen Vigna <jug@sad.it>
5793 * insettabular.C (localDispatch): inserted handling of
5794 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5795 (insertAsciiString): new helper function.
5797 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5799 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5802 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5804 * insettext.C (InsetText): initalize newly created par with
5805 default layout. add bufferparams parameter
5808 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5809 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5810 * insetert.[Ch] (InsetERT): ditto
5811 * insetfloat.[Ch] (InsetFloat): ditto
5812 * insetfoot.[Ch] (InsetFoot): ditto
5813 * insetfootlike.[Ch] (InsetFootLike): ditto
5814 * insetmarginal.[Ch] (InsetMarginal): ditto
5815 * insetminipage.[Ch] (InsetMinipage): ditto
5816 * insetnote.[Ch] (InsetNote): ditto
5817 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5819 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5821 * insettext.C: layout as string
5823 * insetinclude.C: layout as string
5825 * insetert.C: layout as string
5827 * insetbib.C: layout as string
5829 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5832 * insettabular.C: remove #include "lyx_gui_misc.h".
5834 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5839 * inset.h: remove figinset, yahoo !
5841 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5843 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5844 copy c-tor and initialise member variables in the correct order.
5846 2002-02-28 Juergen Vigna <jug@sad.it>
5848 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5850 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5852 * inset.h: ... and add a better one here.
5854 * insetcommand.C (insetButtonRelease): remove that one which was a
5857 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5859 * insetcommand.C (insetButtonRelease): ... and move it here.
5861 * inseturl.h: remove insetButtonRelease from there...
5863 2002-02-26 Juergen Vigna <jug@sad.it>
5865 * inseturl.h: Added a insetButtonRelease call returning true as
5868 * insetlabel.C (edit): Fixed wrong update handling after change I
5869 leave in the wrong code for the one who wrote it to remove and have
5870 a look what he did wrong.
5872 * insettabular.C (localDispatch): force a SELECTION update if we
5873 had a selection and we passed the event down to the inset (fix #213)
5874 (localDispatch): handle font changing stuff when we have a cell
5875 selection so that the selection is not rewoked. I don't really like
5876 this fix, but it's the only way I see to do it right now.
5878 2002-02-22 Juergen Vigna <jug@sad.it>
5880 * insettext.C (insetUnlock): set the cursor to the second paragraph
5881 if available and if the first one is empty (fix #191).
5883 2002-02-20 Juergen Vigna <jug@sad.it>
5885 * insettext.C (getDrawFont): implemented this function to call the
5886 one of the owner if present as the owner normally knows what to do
5889 * insetert.C: implement getDrawFont() function and comment out all
5890 the crap for setting a special latex font inside this inset.
5891 (InsetERT): added a Lanugage parameter to this constructor.
5893 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5894 change the font for being drawn on screen (used only in InsetERT for
5897 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5898 and also above (was missing).
5899 (updateLocal): don't remove the cell selection if we have one this
5900 should be done where we really want to remove it.
5902 2002-02-20 José Matos <jamatos@fep.up.pt>
5904 * insetinclude.h: include_label made string const.
5906 * insetinclude.C (InsetInclude): moved include_label initialization.
5909 (validate): fix support for temporary directory, for docbook and
5912 * insetgraphics.h : new private member, graphic_label, that holds
5913 the entity name that defines the graphics location (SGML).
5915 * insetgraphics.C (unique_id): new function to give a unique label
5918 (validate): the file locatation is given by an entity reference.
5920 2002-02-18 Herbert Voss <voss@lyx.org>
5922 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5924 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5926 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5927 as support/systemcall.[Ch] and of class Systemcalls as class
5930 2002-02-18 José Matos <jamatos@fep.up.pt>
5932 * insetinclude.C (validate): some code only applies to latex buffers,
5933 it was made conditional.
5935 2002-02-12 Herbert Voss <voss@lyx.org>
5937 * insetgraphics.C: (prepareFile) do not check at this time
5938 if the file is present.
5940 2002-02-12 Herbert Voss <voss@lyx.org>
5942 * insetgraphics.C: latex(), return the correct newlines
5944 2002-02-13 José Matos <jamatos@fep.up.pt>
5946 * inseturl.C (docbook): escape & in url.
5948 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5950 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5951 after HYPHENATION and MENU_SEPARATOR
5953 * inset.h (isLineSeparator): new method, returns false by default.
5955 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * insetert.C (status): do not update the text inset, but the ERT
5960 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5962 * insetnote.C: use notebg for background
5964 2002-02-08 Herbert Voss <voss@lyx.org>
5967 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5968 prevent LyX from unzipping when this should be handled
5969 by latex vis the graphic.cfg.
5972 2002-02-08 Herbert Voss <voss@lyx.org>
5974 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5975 exists, than return filename with extension
5977 2002-02-06 Herbert Voss <voss@lyx.org>
5979 * insetgraphic.C: prepareFile(): don't convert the file, when
5980 it's not viewed in LyX. Saves a lot of time when opening a
5983 2002-02-05 Herbert Voss <voss@lyx.org>
5986 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5987 and adding a rotate bool similiar to subcaption
5989 2002-02-04 Herbert Voss <voss@lyx.org>
5992 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5993 similiar view to the LaTeX one. Get zipped files work.
5995 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5997 * insetgraphicsParams.C (init): set display to DEFAULT.
5998 No longer #include "lyxrc.h".
6000 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
6002 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
6003 for now (so that the code compiles).
6005 2002-02-02 Herbert Voss <voss@lyx.org>
6007 * insetgraphic.C: delete inVariant() and some minor changes
6008 * insetgraphicsParams.[C]:
6010 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
6012 * insetgraphics.C (updateInset): if params.display == DEFAULT,
6013 interogate lyxrc.display_graphics before diaplaying the graphic.
6015 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
6016 InsetGraphicsParams::DisplayType.
6018 2002-01-31 Herbert Voss <voss@lyx.org>
6020 * insetgraphic.C: (readfigInset) set display to pref-default
6022 2002-01-30 Herbert Voss <voss@lyx.org>
6024 * insetgraphic.C: get the filetyp from it's contents
6025 * insetgraphicparams.C: add token scale and lyxrc.display when
6026 creating a new inset
6028 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
6030 * figinset.C: added using std::ios directive.
6032 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6034 * figinset.C (runqueue): open translation file in binary mode (for
6037 2002-01-27 Herbert Voss <voss@lyx.org>
6039 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6040 all options and to be sure that the old figinsets are correct
6042 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6043 structure and to support all lengths as LyXLength. The Parameter
6044 structure changed again, but reading of "old" 1.2 graphic insets
6047 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6049 * insetert.h (forceDefaultParagraphs): Added
6051 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6053 * insettabular.C (getMaxWidth):
6054 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6056 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6059 of LyXLength::inPixels
6061 * inset.C (latexTextWidth):
6062 * insetminipage.C (latexTextWidth): new method, which implements
6063 the equivalent of the LaTeX macro \textwidth
6065 * insetminipage.C (getMaxWidth): use latexTextWidth
6067 2002-01-18 Juergen Vigna <jug@sad.it>
6069 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6071 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6073 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6075 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6078 2002-01-17 Juergen Vigna <jug@sad.it>
6080 * insettabular.C (lockInsetInInset): same change as in insettext.
6082 * insettext.C (draw): width() function was called without setting
6083 the right top_x which could lead to wrong insetWidth setting!
6084 (lockInsetInInset): call edit instead of calling lockInset if we
6085 have to lock an inset inside!
6086 (edit): we have to also tell the inset that we have to redraw the
6087 frame on an edit call if this inset draws a frame only if locked.
6089 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6091 * insetbib.C (getFiles): uncomment Path variable.
6093 2002-01-16 Juergen Vigna <jug@sad.it>
6095 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6098 2002-01-16 Allan Rae <rae@lyx.org>
6100 * insetinclude.C (docbook): someone forgot a ";"
6102 2002-01-16 José Matos <jamatos@fep.up.pt>
6104 * figinset.C (docbook): removed a old place holder "@".
6105 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6106 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6107 ascii text version, clearly guarded inside a CDATA section.
6108 (docbook): in docbook 4, inlinegraphics is empty.
6109 * insettabular.C (linuxdoc): export the ascii version of the table
6110 inside a CDATA section.
6112 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6114 * insetparent.C (InsetParent):
6115 * insetgraphicsParams.C (Write):
6117 * insetgraphics.C (prepareFile):
6120 * insetexternal.C (executeCommand):
6121 (doSubstitution): use Buffer::filePath
6123 * insetbib.C (getFiles): add a #warning for Angus
6125 * insetgraphics.C: Add a remark about how filenames should be
6126 considered to be relative to buffer (but absolute is still allowed)
6127 (draw): do not try to get status if lyxrc.use_gui is false
6129 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6132 * insetcollapsable.[Ch]:
6133 * insettabular.[Ch] (searchForward, searchBackward): change the
6134 bool const & params to bool.
6136 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6137 to avoid the name clash with InsetCollapsable's methods of the same
6138 names but different functionality.
6140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6142 * insettext.C (ascii): use lyx::count rather than countChar.
6144 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6146 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6148 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6150 * insetgraphics.C (updateInset): do not try to render image if
6151 lyxrc.use_gui is false (bug #104)
6153 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6154 if file does not exist
6156 * figinset.C (browseFile): add shortcuts to directory buttons
6158 * insettext.C (updateLocal): update menubar and toolbar here too.
6160 2002-01-13 Allan Rae <rae@lyx.org>
6162 * insettabular.C (InsetTabular): Both constructors now initialise
6163 all class variables.
6165 2002-01-11 Juergen Vigna <jug@sad.it>
6167 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6169 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6171 * insettabular.C (getStatus): add forgotten brace around multiline
6174 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6176 * insetfloat.C (validate): require "float" instead of "floats".
6178 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6180 * insettabular.C (getStatus): use FuncStatus
6182 2002-01-08 Juergen Vigna <jug@sad.it>
6184 * insettabular.C (insetButtonRelease): now this should work too
6187 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6188 if the width is a percentage.
6190 * inset.h: added isChar() function and implemented this for
6191 insetspecialchar insetquotes and insetlatexaccent.
6192 added forceDefaultParagraphs() and implemented it for insettabular.
6194 2002-01-07 Juergen Vigna <jug@sad.it>
6196 * insettext.C (getLyXText): Fixed this function. An insert into the
6197 map is only done if we REALLY have a new BufferView.
6199 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6201 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6203 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6205 * insetinclude.C: fix use of FileInfo
6207 2002-01-07 Juergen Vigna <jug@sad.it>
6209 * insettabular.C (draw): fixed clearing of cell around inset.
6211 2002-01-05 Juergen Vigna <jug@sad.it>
6213 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6214 variables are updated.
6216 * insettabular.C (resetPos): set always the inset_y as it may be
6217 needed in another function.
6218 (searchBackward): don't draw while searching.
6220 2002-01-04 Juergen Vigna <jug@sad.it>
6222 * insettext.C (lockInsetInInset): forgot to set a cursor.
6224 2002-01-02 Juergen Vigna <jug@sad.it>
6226 * insettext.C (insertInset): make the correct undo informations on
6227 inserting new insets.
6229 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6231 * insettabular.C: correct single-cell select vertically
6233 2001-12-27 Juergen Vigna <jug@sad.it>
6235 * insettabular.C (ascii): export as tab-separated-values if the
6236 function was not called from export (f.ex.: clipboard).
6238 * insetcollapsable.h: added default support for ascii, linuxdoc and
6239 docbook export (the insettext is exported by default!)
6241 * insettabular.C (copySelection): suff the clipboard with the tabular
6242 data in a tab separated format, seems more naturals then with all the
6245 2001-12-24 Juergen Vigna <jug@sad.it>
6247 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6248 to check for REAL mouseMotion.
6250 2001-12-20 Juergen Vigna <jug@sad.it>
6252 * inset.C (cursor): return the owners cursor if available instead of
6253 always only the bv->text->cursor.
6255 * insettabular.C (checkLongtableSpecial): works now.
6257 2001-12-19 Juergen Vigna <jug@sad.it>
6259 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6260 this has to be always row + 1 as 0 means not selected!
6261 (checkLongtableSpecial): added
6262 (tabularFeatures): better longtable options support
6264 * insettext.C (resizeLyXText): reinit the text always also on a
6267 2001-12-18 Juergen Vigna <jug@sad.it>
6269 * insettext.C (updateInsetInInset): look if we have to autocollapse
6270 paragraps and return if the update is requested for ourself.
6272 * insetert.C (status): update the insettext not myself as that is what
6275 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6276 function only return if the update was requested with myself.
6278 * insettext.C (insetButtonPress): fixed stupid bug.
6279 (various functions): pay attention that lt is cleared BEFORE calling
6280 updateLocal() and try to use it in the right manner (don't use it
6281 if it's not really neccessary!)
6282 (collapseParagraphs): insert a blank between collapsing paragraphs
6283 if neccessary (not already there!).
6285 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * insettabular.C: move includes around a bit, add a couple of
6290 * insettext.[Ch]: move includes around a bit, other ws changes and
6293 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6295 * insettext.C (insetButtonRelease): fix compile problem
6297 2001-12-17 Juergen Vigna <jug@sad.it>
6299 * insettext.C (insetButtonPress): set the selection cursor!
6300 (insetButtonPress): clear the selection (and set with that the
6301 selection.cursor) if we only hit an inset!
6303 * insetert.C (read): removed piece of compatibility code only needed
6306 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6309 * insetcollapsable.C (insetButtonRelease): changed so that it can
6310 open eventual existing popup dialogs on mousebutton==3.
6312 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6314 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6316 * inset.C (insetButtonRelease): return a bool for telling the outer
6317 world that we opened a dialog.
6319 2001-12-07 Juergen Vigna <jug@sad.it>
6321 * insettext.C (paragraph): remove the deleteing of paragraphs as
6322 it was a WRONG move!
6324 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6327 * insettabular.C: use new setSelection(). Allow
6328 selection of single cells.
6330 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6332 * insetquotes.C (latex): fix to use the local language setting at
6333 the point where the inset is inserted (different macros for
6334 different french packages)
6336 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6338 * inset.h: add par_owner_ member variable and parOwner
6341 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6343 * insettabular.C (everywhere): adapt because widths are now real
6344 widths and not strings
6346 * insettext.C (draw): re-introduce the calls to width(), ascent()
6347 and descent() to initialize the caching variables.
6349 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6351 * insettext.C (draw):
6352 (drawFrame): use insetWidth instead of last_width
6354 * insettext.h: remove variable last_width (insetWidth is exactly
6355 the same) and last_height (computed but never used!)
6357 2001-12-10 Allan Rae <rae@lyx.org>
6359 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6361 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6363 * insettext.C (insetAllowed): add comment
6365 2001-12-05 Juergen Vigna <jug@sad.it>
6367 * insettext.C (insetAllowed): fixed for the case that we directly
6368 ask the insettext from its LyXText.
6369 (paragraph): fixed the crash when assigning the par->next() from
6370 the EmptyParagraphMechanism!
6372 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6376 * insettext.C: change "while(" to "while ("
6378 2001-12-04 Juergen Vigna <jug@sad.it>
6380 * insetert.C (edit): handle Inlined status.
6382 * insettext.C (insertInset): trying John's fix for the trailing cursor
6384 * insetert.C (insetButtonPress): added to handle inlined status
6385 (insetMotionNotify): ditto.
6387 * insettext.C (clearInset): changed Painter & in BufferView * param,
6388 to be able to call ascent,descent methods.
6390 2001-12-03 Juergen Vigna <jug@sad.it>
6392 * insettext.C (updateInsetInInset): use lt variable to forbid
6393 changes of LyXText in an update call.
6394 (updateInsetInInset): fixed updating of non locked insets!
6396 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6398 * insettabular.C: capture some more functions to prevent
6399 selection drawing problems. Bug #451274
6401 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6404 * insetgraphicsParams.C: fix inverted sense of float_equal
6406 2001-11-30 Juergen Vigna <jug@sad.it>
6408 * insettabular.C (InsetTabular): use the save_id flag to create also
6409 the tabular with the same id's.
6411 * insettext.C (setParagraphData): added a same_id function for undo
6412 to set the same paragraph id's as of the paragraph we are setting.
6414 2001-11-30 José Matos <jamatos@fep.up.pt>
6417 * insettoc.[Ch]: DocBook -> docbook.
6419 2001-11-29 André Pönitz <poenitz@gmx.net>
6422 * insettext.C: further reduction of header dependencies by using
6423 lyx::layout_type and lyx::textclass_type from support/types.h
6425 2001-11-29 Juergen Vigna <jug@sad.it>
6427 * insettext.C: inserted a reinitLyXText function everywhere I delete
6428 the paragraphs! This should fixe the crashes we had.
6429 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6430 (paragraph): set the InsetOwner() of the new paragraphs!
6432 2001-11-28 André Pönitz <poenitz@gmx.net>
6434 * insetnote.C: add pos initialization that I removed without
6437 2001-11-28 Juergen Vigna <jug@sad.it>
6439 * insettabular.C (resetPos): hack to not crash with infinite paints.
6441 * insettabular.h: insert missing function allowSpellcheck()!
6443 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6445 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6448 * insetfloatlist.C: derive from InsetCommand so gui can use it
6451 2001-11-26 André Pönitz <poenitz@gmx.net>
6455 * insetnote.C: reduce header dependencies, introduce type for
6458 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6460 * various: update for Alert.h
6462 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6464 * inset.h: fix comment
6466 * insettext.C: use par->isInset()
6468 2001-11-22 Allan Rae <rae@lyx.org>
6470 * insetcollapsable.h:
6471 * inset.h: Changes to checkInsertChar() behaviour.
6472 Now return value indicates whether chars can be inserted.
6474 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6476 * various: updated to use the new LaTeXFeatures
6478 2001-11-14 José Matos <jamatos@fep.up.pt>
6480 * insetspecialchar.C (linuxdoc):
6481 (docbook): don't give a name to a unused variable.
6483 * insettext.C (docbook): removed unused variable.
6485 2001-11-13 Herbert Voss <voss@perce.de>
6487 * insetgraphic.C: fix scale bug
6489 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6491 * inset.h (isSpace):
6492 (isLetter): new virtual methods.
6494 * insetspecialchar.C (isSpace):
6495 (isLetter): implement here.
6497 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6499 * inset.h: new inline helpers
6501 * insettext.C: use new helpers
6503 2001-11-07 José Matos <jamatos@fep.up.pt>
6505 * insettext.C (docbook): full support for paragraphs inside insettext.
6507 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6509 * insetindex.C: added header file for std::ostream.
6511 2001-11-03 José Matos <jamatos@fep.up.pt>
6513 * insetindex.C: added using std::ostream that I forgot yesterday.
6515 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6517 * insetindex.h (docbook):
6518 * insetindex.C (docbook): added support for docbook export.
6520 2001-11-02 José Matos <jamatos@fep.up.pt>
6522 * insetcaption.C(docbook): added support for docbook export.
6524 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6526 * insetexternal.C (updateExternal): Do not run update command if
6527 result file exists and is up to date.
6529 * ExternalTemplate.C (readFormat): Support the updateresult token.
6531 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6533 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6534 external_templates) to use the buffer->fileName() but only if
6535 previewing. Generating a TeX file should make FPath return
6538 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6541 * insetert.C: fix some problems
6543 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6545 * insetexternal.C (doSubstitution): Added $$FPath token
6546 to list of usable substitutions in external inset templates.
6548 2001-10-24 Juergen Vigna <jug@sad.it>
6550 * insettabular.C: use new ltType struct for setting longtable
6551 header and footers also new UNSET enums.
6553 2001-10-24 José Matos <jamatos@fep.up.pt>
6555 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6556 (docbook): If the table is not inside a float then wrap it inside
6557 <informaltable>...</informaltable>.
6559 2001-10-23 José Matos <jamatos@fep.up.pt>
6561 * insetref.C (docbook): removed / terminator to conform SGML.
6563 * insetspecialchar.C (linuxdoc):
6564 (docbook): Added support for special chars, more than ascii export.
6566 2001-10-22 Juergen Vigna <jug@sad.it>
6568 * insettext.C (checkInsertChar): added for REALLY checking the
6569 font of the inserted char in the right inset!
6571 2001-10-19 Juergen Vigna <jug@sad.it>
6573 * inset.h: added method allowSpellcheck() so that insets who do
6574 not have anything to spellcheck can tell and so they are over-jumped.
6575 Implemented for InsetText and co.
6577 2001-10-18 Juergen Vigna <jug@sad.it>
6579 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6581 2001-10-15 José Matos <jamatos@fep.up.pt>
6583 * insetert.C: allow export for docbook and linuxdoc
6585 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6587 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6589 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6591 * insetquotes.C (dispString): fix handling of latin9 quotes
6593 2001-10-03 Juergen Vigna <jug@sad.it>
6597 * insetcollapsable.C: change updateInset calls to not tell BV that
6598 we have changed status.
6600 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * insettabular.C (deletable): make const
6604 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6606 * insetert.C (latex): Fix the returned value
6608 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6610 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6611 Returns string(), so nothing in an ERT inset is spellchecked.
6613 * insetgraphics.C (draw): print the filename if not displaying the
6615 (width): make sure that the width and draw methods are consistent.
6616 (updateInset): don't even load the image into cache if not displaying
6619 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6621 * various files (selectNextWord): renamed as
6622 selectNextWordToSpellcheck.
6624 * insetgraphics.C (draw): remove the previous change. Right place
6625 is in imageLoaderXPM.C.
6626 (draw): don't display the image if params.display == NONE.
6628 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6630 * figinset.C (runqueue):
6631 * insetgraphics.C (draw): set background colour of inset from
6632 background to the user-configurable graphicsbg.
6634 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6636 * insetquotes.C (InsetQuotes): when trying to decide the side of
6637 the quote, choose `left' only after a space or '('
6639 2001-09-04 José Matos <jamatos@fep.up.pt>
6644 * insetcollapsable.h
6662 * insetlatexaccent.C
6663 * insetlatexaccent.h
6668 * insetspecialchar.C
6669 * insetspecialchar.h
6673 * insettext.C (docbook): rename docBook method to docbook.
6675 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6677 * inset.h (getFirstParagraph): New virtual method.
6679 2001-08-20 Herbert Voss <voss@perce.de>
6680 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6681 in the the bibtex-database-gui for inserting a line
6684 If no style is given than there is no tex-output.
6686 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6688 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6692 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6694 * insetert.C (latex): Fix output for multiple paragraphs.
6695 (write): New code for writing paragraph data.
6696 (read): Set font after reading the inset.
6697 (localDispatch): Call set_latex_font() for more cases.
6699 * insetnote.h: Add empty validate method.
6702 * insetnote.C (InsetNote): Set language to the language of the
6705 2001-08-16 Juergen Vigna <jug@sad.it>
6707 * insettext.C: implemented the new FINISHED states.
6709 * insettabular.C: ditto
6711 * inset.h: added more FINISHED states for cursor right,up,down
6713 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6715 * insetfloatlist.C: use "FloatName List"
6717 2001-08-14 Juergen Vigna <jug@sad.it>
6719 * insetert.C (edit): forgot to set status_ in edit calls!
6721 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6723 * insettext.C: Compilation fix
6725 2001-08-13 Juergen Vigna <jug@sad.it>
6727 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6729 * insetcollapsable.C (edit): don't recollapse an already open inset.
6731 * insettext.C: fixed problem when reinitializing LyXText by not doing
6732 it while lt is in use and post this to the next possible time in
6734 (searchForward): fixed not unlocking of inset if nothing found.
6735 (edit): set cursor behind right (was set -1 pos).
6737 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6739 * insettabular.C (tabularFeatures): fixed fix where deleting the
6740 last row didn't get the right actcell!
6742 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6744 * insettext.C (localDispatch): Change language only when the inset
6747 2001-08-10 Juergen Vigna <jug@sad.it>
6749 * insettabular.C (selectNextWordInt): use the front using edit call.
6751 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6752 the parameter overwrite class variable inset.
6754 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6756 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6757 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6759 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6760 update only for fixed with cells.
6761 (resetPos): try to fix the lockup on spellchecking or s&r.
6763 * insettext.C (update): comment this out as it seems first wrong
6764 and second not needed anymore!
6765 (some functions): call reinitLyXText() only in update() in all other
6766 positions set only need_update = INIT.
6768 2001-08-08 Juergen Vigna <jug@sad.it>
6770 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6772 * insettext.C (insetUnlock): remove double-space on inset unlock.
6774 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6776 * insettabular.C (update): fixed cursor positon after an insert.
6777 (insetAllowed): do not allow to insert insets when not inside the
6779 (draw): clear below an inset too as it could have changed height.
6781 * inset.C (getMaxWidth): fixed width for inset in inset.
6783 * insettext.C (update): small fix.
6785 * insettabular.C (tabularFeatures): added selection support to
6786 DELETE_ROW/DELETE_COLUMN.
6788 2001-08-07 Juergen Vigna <jug@sad.it>
6790 * inset.C (getMaxWidth): recoded and all it's implementations!
6792 * insettext.C (init,setParagraph+constructors): cleanups
6793 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6794 are new and I want do a save/restore of the cursor position which is
6795 not possible anymore.
6797 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6798 (searchBackward): ditto
6799 (selectNextWord): ditto
6801 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6803 * insetlatexaccent.C (checkContents): Add some debug messages
6805 2001-08-07 Juergen Vigna <jug@sad.it>
6807 * insetert.C (read): don't use InsetCollapsable::read as we don't
6808 write the collapsed status anymore only the status.
6811 2001-08-06 Juergen Vigna <jug@sad.it>
6813 * insetert.C (set_latex_font): use LyXText's setFont directly.
6815 * insettext.C (drawFrame): fixed one time more the right position
6816 and size of the frame!
6818 * insetert.C (~InsetERT): hide the dialog.
6819 (showInsetDialog): added implementation
6822 (status): new function for the status of the ERT inset (3-state).
6823 (write): output also the status of the inset for readback!
6824 (read): readback the status if available otherwise use collapsed_.
6826 * insettext.C (edit): small fix of setting the position, which could
6829 * insetert.C (width): implement this function for inlined viewing.
6830 Added minimum width of 10 pixels!
6832 * insetminipage.C (InsetMinipage): just change the colors a bit so
6833 that border/background is a bit more visible. We will remove this
6836 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6837 function for getting the important widths for drawing in various
6838 functions and in LyXText.
6839 (draw): fixed up a bit (frame drawing/clearing)
6841 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * inset.C (convertFont): delete method. not used.
6845 2001-08-03 Juergen Vigna <jug@sad.it>
6847 * insettext.C (setFont): don't call for a draw update if we're just
6848 changing the cursor font!
6850 2001-08-02 Juergen Vigna <jug@sad.it>
6852 * insettext.C (draw): clear the background with the right color if
6853 needed. Update myself if x&max-width changed and return without doing
6854 anything. Let the update code handle the right stuff.
6856 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6857 inside another inset.
6859 2001-08-01 Juergen Vigna <jug@sad.it>
6861 * insetcollapsable.C (update): added an in_update bool so we avoid
6864 * insettabular.C (update): added an in_update bool so we avoid
6867 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6869 (update): added an in_update bool so we avoid reentering.
6871 * insettabular.C (localDispatch): clear col/row selection when doing
6872 something else inside an inset.
6874 * insettext.C (getLyXText): fixed bug when requesting a recursive
6877 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6879 * insetcite.C (latex): Paranoia check. Make sure that there is no
6880 whitespace between the citation keys.
6882 2001-07-31 Juergen Vigna <jug@sad.it>
6884 * inset.h (nodraw): make the set function also const so that this
6885 can be called from inside other const functions.
6887 * insetcollapsable.h: removed inline variable and moved it over
6888 to the only user InsetERT.
6890 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6891 inset opening immediately therein lying insets dialogs!
6893 * insetert.C (localDispatch): set the font also if we don't have any
6894 chars in this paragraph, otherwise if we delete all of em and start
6895 writing we have the wrong font.
6897 (draw): implemented for inline support
6898 (insetButtonRelease): ditto.
6900 2001-07-30 Juergen Vigna <jug@sad.it>
6902 * insettext.C (reinitLyXText): new function to reinit the insets
6903 text after lot's of paragraph changes. Use this instead of the
6904 cache.clear() which is VERY dangerous.
6906 * insetfloat.C (insetButtonRelease): we should only show the dialog
6907 if we press on the label otherwise we have problems to open mouse
6908 button 3 dialogs inside this float (f.ex. of a tabular!)
6910 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6912 * insetert.C: change back to "ERT"
6914 * insetfloat.C: handliign of RMB on label added.
6916 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6918 * insetgraphicsParams.C: #include LOstream.h here.
6920 * insetfoot.h: remove InsetFoot:: qualifier.
6922 2001-07-29 Baruch Even <baruch@lyx.org>
6924 * ChangeLog: Hiding time travel evidence.
6926 * insetgraphicsParams.h:
6927 * insetgraphicsParams.C:
6928 * insetgraphics.C: Added horizontal scale option, it actually
6929 scales both directions since it keeps image proportions.
6931 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6933 2001-07-29 Baruch Even <baruch@lyx.org>
6935 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6936 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6938 HACKY! Will need to add an EPS detection routine like old InsetFig
6941 2001-07-29 Baruch Even <baruch@lyx.org>
6943 * insetgraphics.C: Added EPSI to be an alias of EPS.
6945 2001-07-29 Baruch Even <baruch@lyx.org>
6947 * insetgraphics.C: Change GRAPHICS to Graphics.
6948 Changed image conversion rules (documented at the beginning of file).
6950 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6952 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6955 * insetgraphics.C: added a using std::endl directive.
6957 * insetcommand.h (getScreenLabel): removed pure virtual function,
6958 as it duplicates that in InsetButton.
6960 * insetbib.[Ch] (getScreenLabel):
6961 * insetbutton.[Ch] (getScreenLabel):
6962 * insetcite.[Ch] (getScreenLabel):
6963 * insetert.[Ch] (getScreenLabel):
6964 * insetexternal.[Ch] (getScreenLabel):
6965 * insetfloatlist.[Ch] (getScreenLabel):
6966 * insetinclude.[Ch] (getScreenLabel):
6967 * insetindex.[Ch] (getScreenLabel):
6968 * insetlabel.h (getScreenLabel):
6969 * insetparent.[Ch] (getScreenLabel):
6970 * insetref.[Ch] (getScreenLabel):
6971 * insettoc.[Ch] (getScreenLabel):
6972 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6974 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6976 (validate): remove check on "cite" when using natbib.
6978 2001-07-26 Baruch Even <baruch@lyx.org>
6980 * insetgraphics.C (draw): changed casting to be in one place
6981 rather than all over the function.
6984 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6986 * insetgraphicsParams.h:
6987 * insetgraphicsParams.C:
6988 * insetgraphics.C: Removed inline option and changed rotateAngle
6991 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6993 * insetfoot.C (validate): Added method to ensure that the
6994 right bit of LaTeX is emitted.
6996 * insetfoot.h: Added validate method to set the correct
6997 LaTeXFeatures bit for the special footnote code.
6999 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7001 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
7004 2001-07-27 Juergen Vigna <jug@sad.it>
7006 * inset.h: remove unused font variable in parameter.
7007 removed checkInsertChar in UpdatableInset as it was equal to
7008 the one in Inset and so not needed.
7010 * insetert.C (checkInsertChar): implementation of function
7013 * inset.h: added new function checkInsertChar.
7015 * various files: added c-tor and clone() function.
7017 * insetcollapsable.h: removed clone function here as this should
7018 be only realized in REAL insets and added it to all collapsable
7019 insets! (with the copy-constructor).
7021 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7023 * insetminipage.C (read): handle missing parameters more gracefully
7025 * insetcollapsable.C (read): handel missing collapsed more gracefully
7027 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7029 * insetfloat.C (read): handle missing parameters.
7031 * insettext.C (read): handle old latex end_inset
7033 * insetert.C (setButtonLabel): new method
7034 (init): use it, to set the dynamic label correctly
7037 * Makefile.am (EXTRA_DIST): add files that is not part or the
7040 * insetcollapsable.h: remove autocollapsable (no users), remove
7041 draw_label, change_label_with_text and companion code. Remove args
7043 * insetert.[Ch]: move here instead (only user)
7045 * inset.h: rename private variable name to name_, make
7046 selectNextWord return a const string. make getInsetName return a
7047 string const &. Remove bool from open, add close.
7049 * Makefile.am: don't compile insetlist, insetsection
7052 2001-07-24 Juergen Vigna <jug@sad.it>
7054 * insetert.C (InsetERT): put init after the paragraph initialization,
7055 as otherwise we don't set the draw_label right.
7057 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7058 insets with the mouse without having strange selections.
7059 (edit): if the inset was collapsed and we open it here then put the
7060 cursor always at the beginning of the inset.
7061 (get_new_label): 15 instead of 10 max chars in the label.
7063 * insetert.C (localDispatch): added and handle various stuff we
7064 need to handle here (font setting on paragraph break, not permitted
7065 layout setting, etc.).
7067 * inset.h: added default copy-consturctor and implemented this in
7068 various insets with the change to use this in the clone function!
7070 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7072 * insetminipage.C (InsetMinipage): set background color to red :)
7074 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7076 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7077 draw frame mode is LOCKED.
7079 * insetcollapsable.C (edit):
7080 (insetButtonRelease): set update status to full when
7083 * insettext.C (clearInset):
7084 * insettabular.C (draw):
7085 * insetlatexaccent.C (draw): honor background color.
7087 * inset.h: new member background_color_, initialized to
7090 * inset.C (backgroundColor): new method.
7091 (setBackgroundColor): new method.
7093 * insetert.C (init): new method, called by the ctors.
7094 (InsetERT): when inserting contents, make sure the font is
7097 * insetnote.C (InsetNote): when inserting content, remove trailing
7099 (init): set background color to LColor::note
7101 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7103 * insetcollapsable.C: adjust
7105 * insetbutton.C: adjust
7107 2001-07-23 Juergen Vigna <jug@sad.it>
7109 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7110 parameter on the _collapsed function (was not needed) and call
7111 always width_collapsed().
7113 * insetert.C (InsetERT): use setLabel with "true" flag.
7115 * insetcollapsable.C: modified various functions to set the draw_label
7116 string right in any condition.
7117 (setLabel): added a bool parameter to set change_label_with_text.
7119 * insetcollapsable.h: added draw_label string which is set to the
7120 actual drawn label-string, while label is the original static label
7121 of this collapsable inset. Added bool change_label_with_text to set
7122 if we want that the label changes to the start of the InsetText's
7123 text when collabpsed. You can set this flag with the setLabel funciton.
7124 Added bool inlined for inlined collapsable insets, but not handled
7127 * insetcollapsable.C (get_new_label): added should get a new label
7128 from the InsetText beginning (for now 10 chars).
7130 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7132 * insetquotes.C (latex): fix the handling of french double quotes
7133 when not using the french pachage.
7135 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7137 * insetcollapsable.h: make WidthCollapsed mutable.
7139 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7140 InsetPrintIndex returns INDEX_PRINT_CODE.
7142 * inset.h: add INDEX_PRINT_CODE
7144 * insetcollapsable.C (draw): init widthCollapsed if necessary
7147 * insetquotes.C (width): use the local language, not the document
7150 (dispString): add additional spacing for all french languages,
7152 (validate): make it work when there is no default language
7154 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7156 * insetnote.C (init): new method, called by the constructors
7157 (InsetNote): new constructor with contents passed as a string
7159 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7161 * insetfootlike.C (insetAllowed): disallow float in footlike.
7163 * insetert.C (InsetERT): add collapsed argument to the constrctor
7166 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * insetindex.h: shut off warning
7170 2001-07-20 Juergen Vigna <jug@sad.it>
7172 * insetcollapsable.C (update): recoded hopefully works now!
7174 2001-07-19 Juergen Vigna <jug@sad.it>
7176 * most files: implemented the below new introduced function.
7178 * inset.h: added new edit(BufferView *, bool front) method to be able
7179 to enter an inset from the front/back without knowing x/y positions
7180 and baselines inside the inset. So I just can tell the inset activate
7181 me and set the cursor on the front/back of yourself.
7183 2001-07-18 Juergen Vigna <jug@sad.it>
7185 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7186 is given to the InsetText.
7187 (insetButtonPress): ditto
7188 (insetButtonRelease): ditto
7189 (insetMotionNotify): ditto
7191 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7193 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7194 LIGATURE_BREAK, since the name is so stupid.
7196 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7198 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7199 the default InsetCollapsable methods. I.e., it can insert anything.
7200 (write) output the name of the inset, not some silly hack for
7201 compatability with the old InsetInfo.
7203 * insetinfo.[Ch]: removed.
7204 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7205 now collapsable, but functionality is otherwise identical to InsetInfo.
7207 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7209 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7211 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7214 * insetquotes.C: general cleanup
7215 (dispString): add spaces inside french double quotes.
7216 (latex): ditto. Moreover, treat first the case where the frenchb
7217 or french options have been given.
7219 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7221 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7224 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7226 * figinset.C (RegisterFigure): Print debug message only when
7227 current_view is available.
7229 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7231 * many files: update to match the change below
7233 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7234 implement the version which takes an inset here.
7236 * insetcollapsable.[Ch]: implement open and isOpen
7238 * inset.h: remove insertInsetAllowed from Inset
7239 (open): new method, to open or close an inset
7240 (isOpen): returns the status of an inset
7241 (isCollapsable, colapse): removed
7243 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7245 * insetquotes.C (dispString): display french guillemets when using
7248 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7250 * insetcollapsable.h: remove bogus return statements
7252 2001-07-18 Juergen Vigna <jug@sad.it>
7254 * insettabular.C (selectNextWord): fixed spellchecking for the
7255 first cell of a tabular (wasn't entered!)
7256 (getLyXText): changed to enter automatically insettext and return
7257 it's LyXText if we're locked.
7259 2001-07-17 Juergen Vigna <jug@sad.it>
7261 * various files: implemented the below functions.
7263 * inset.h: added functions
7264 - virtual string selectNextWord(BufferView *, float & value) const;
7265 - virtual void selectSelectedWord(BufferView *) { return; }
7266 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7267 needed for spellchecking correctly!
7269 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7271 * insetert.C (latex): write out all paragraphs.
7273 2001-07-17 Baruch Even <baruch@lyx.org>
7275 * insetgraphics.C (draw): Removed unneeded casts.
7277 2001-07-16 Juergen Vigna <jug@sad.it>
7279 * insettext.C (update): fixed small oversight (reset lt to 0).
7281 2001-07-14 Baruch Even <baruch@lyx.org>
7284 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7286 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7288 Consistent use of Lsstream.h:
7289 * figinset.C: removed using std::ostringstream directive.
7291 * insetgraphics.C (createLatexOptions):
7292 * insetinclude.C (unique_id):
7293 std::ostringstream -> ostringstream.
7294 * insettext.C (localDispatch): std::istringstream -> istringstream.
7296 2001-07-13 Juergen Vigna <jug@sad.it>
7298 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7300 * insetcollapsable.C (getLockingInset): ditto.
7302 2001-07-12 Juergen Vigna <jug@sad.it>
7304 * insetcollapsable.h: added implementation of new function for
7307 * various files: added implementation of new insertInsetAllowed-func
7308 and redone the function a bit more.
7310 * inset.h: added isCollapsable(), bool collapsed(),
7311 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7313 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7315 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7316 LyXText which is marked for removal while we're using it!
7318 * insettext.h: added private LyXText * lt to use it to assure we are
7319 not deleting our LyXText while we're using it!
7321 2001-07-11 Juergen Vigna <jug@sad.it>
7323 * insettext.C (insertInset): check if we are before the inset after
7324 inserting it! This check IS needed. Remove the Undo-Call as it is
7325 called in LyXText::insertInset!
7327 * insettext.h: added struct InnerCache.
7329 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7330 that we ONLY delete the LyXText in the getLyXText() routine. So we
7331 are sure we don't delete LyXText while someone is working with it!
7333 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7335 * insetexternal.C: (*it). -> it->
7336 * insettext.C: ditto
7338 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7340 * insetcollapsable.C (edit): always open collapsed insets (even if
7341 they are not autocollapsable)
7343 * insetcommand.C (operator=): simplify.
7345 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7347 * insetert.C (latex): handle META_NEWLINE
7349 2001-07-09 Juergen Vigna <jug@sad.it>
7351 * insetert.h: a normal InsetText can insert insets, but we won't.
7353 * inset.h: return default "false" on insertInsetAllowed and implement
7354 this function where a returnvalue != "false" is needed.
7356 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * insetert.C (InsetERT): new contructor
7360 2001-07-06 Juergen Vigna <jug@sad.it>
7362 * a lot of files: added implementation of the below new functions
7363 and the change to clone(). Also the call of the new undo-functions
7366 * inset.h: added an inset_id, added functions getParFromID,
7367 getInsetFromID, firstParagraph, cursor and id functions, added
7368 bool same_ids to clone function.
7370 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7373 of BufferView * and shared_ptr<LyXText>
7375 2001-07-05 Juergen Vigna <jug@sad.it>
7377 * insettext.C (clear): deleted also the cache not only LyXText.
7378 (setParagraphData): ditto.
7380 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * insetfloat.C (latex): let the specific placement take presedence
7383 if set, otherwise choose document placement if set, otherwise just
7384 use float default placement.
7386 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7388 * insettext.C (localDispatch): call CutAndPaste::'s static method
7391 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7393 * insetbib.C: no meed to include forms.h here.
7395 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7397 * insettext.C: added using std::make_pair directive.
7399 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7401 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7403 (deleteLyXText): ditto
7404 (resizeLyXText): ditto
7406 2001-07-02 Juergen Vigna <jug@sad.it>
7408 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7409 following calls are only returned the right pointer without the over
7410 head to search in the map.
7411 (various funcs): reset the cached_bview variable as this signs that
7412 the cache is not valid anymore.
7414 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * insettabular.C (clone): do not copy the LyXTabular twice
7418 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * insettext.h (TEXT): delete method
7422 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7424 * insetmarginal.C (latex):
7425 * insetfoot.C (latex): fix spacing of notes in LaTeX
7427 * insettext.C (localDispatch): use .c_str() on istringstream
7428 constructor argument.
7430 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7435 * inseturl.C: fix method names in these to begin
7436 with small char too, so they inherit
7438 2001-06-28 Juergen Vigna <jug@sad.it>
7440 * insettext.C (setFont): fixed font settings using toggleFree()
7441 instead of setFont().
7443 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7445 * Change a lot of method names to begin with a small char.
7446 Changes to a lot of files because of this.
7448 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7450 * insetfloatlist.C (Write): std:: qualify ostream
7453 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7457 * insetgraphics.C: send debug output to Debug::INFO instead of
7460 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7463 * insettabular.C (getStatus): update to use func_status
7465 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7467 * insetref.C (DocBook): added support for cross-references without
7470 2001-06-26 The LyX Project <jug@sad.it>
7475 * insetlabel.h: removed escape method and moved it to
7478 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7480 * insettabular.C (getMaxWidth): do the speedup in a different way,
7483 2001-06-24 The LyX Project <Asger>
7485 * insettabular.C (getMaxWidth): We cache a mapping from
7486 inset to cell in order to speed this method up.
7488 2001-06-24 The LyX Project <Asger>
7490 * insettext.C: Optimized InsetText::draw or something.
7492 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7494 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7496 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * inset.h: name change from lyxinset.h
7500 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7502 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7504 2001-06-14 Juergen Vigna <jug@sad.it>
7506 * insettext.C (draw): removed warnings.
7508 2001-06-13 Juergen Vigna <jug@sad.it>
7510 * insettabular.C (nodraw): only go down the tree if we don't have
7511 that flag set otherwise it's obvious that we don't want to draw.
7512 (LocalDispatch): do also an update if we have an undispached result.
7514 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7517 * insetgraphicsParams.C:
7518 * insettext.C: removed // -*- C++ -*- as first line.
7520 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7522 * lyxinset.h (resizeLyXText): shut off warning about unused
7525 2001-06-07 Juergen Vigna <jug@sad.it>
7527 * insettext.C (resizeLyXText): honor the new force flag.
7529 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7531 * insettabular.C (deleteLyXText): new function
7533 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7541 * insetcollapsable.C:
7542 * insetcaption.C: LColor tidy
7544 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7546 * figinset.C: fix typo
7548 2001-06-01 Juergen Vigna <jug@sad.it>
7550 * insettabular.C (resetPos): small hack so that scroll is not set to
7551 0 when we are in the last column of a tabular. This is a problem we
7552 have because of constats 20 offset on both directions, so this can
7553 cause on the limit an endless loop.
7555 * insettext.C (SetFont): forgot that we can have locking insets ;)
7557 2001-05-31 Juergen Vigna <jug@sad.it>
7559 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7561 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7563 * figinset.C: add using std:: directive for the C functions which
7566 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7568 * insetfloat.C (Write): write out wide info
7569 (Read): read the wide info
7570 (Latex): use the wide info when creating latex.
7572 * insettext.C: adjust
7574 * insetgraphics.[Ch] (statusMessage): change to return string
7578 * figinset.C (runqueue): add std::
7581 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * insetcite.C (Ascii): add std:: qualifier
7585 2001-05-28 Juergen Vigna <jug@sad.it>
7587 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7588 a endless-width inset (maxWidth < 0).
7589 (Edit): change language only if not equal.
7591 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7593 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7595 2001-05-16 Juergen Vigna <jug@sad.it>
7597 * insettext.C (selectAll): added
7598 (clearSelection): added
7600 * insettabular.C (SetFont): now we may set a font on a whole selection!
7601 (getSelection): added helper function.
7603 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7605 * insetcite.C (Ascii): Add method.
7607 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7610 * insetbib.C: fix path for OS/2 & Win32
7612 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * insetfoot.C (Latex): don't use % after footnote.
7616 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7618 * insettext.C (Read): use clear
7619 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7621 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7623 * insetfloatlist.h: add a bunch of std:: qualifiers.
7625 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7627 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7628 FLOAT_LIST_CODE, renumber code list.
7630 * insettoc.C (getScreenLabel): remove support for float lists
7634 * insetfloatlist.[Ch]: new files
7636 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7638 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7640 * insettabular.C (LocalDispatch):
7641 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7644 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7646 * insettext.C: remvoe !NEW_INSETS cruft
7648 * insettabular.C: remove !NEW_INSETS cruft
7650 * insetcollapsable.h: remove !NEW_INSETS cruft
7652 * insetbib.C: remove !NEW_INSETS cruft
7654 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * insettoc.C: hack to make listof algorithm work
7658 2001-04-20 Juergen Vigna <jug@sad.it>
7660 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7662 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7664 * insetquotes.C (Latex): improve the guard against
7665 unwanted !` and ?` ligatures. This should really be done in
7666 another place (to catch all this ligatures at low-level).
7668 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * insettext.C (init): remvoe leftovers from cursor_visible change
7671 (draw): use c++ cast
7672 (LocalDispatch): dispatch LFUN_MESSAGE
7674 * insettabular.C (InsetTabular): remove leftovers from
7675 cursor_visible, and scoped_ptr changes
7676 (draw): use c++ cast
7678 * insetcollapsable.C (draw): use c++ cast
7680 * ExternalTemplate.h: inherit privaely from noncopyable
7681 * insetcommand.h: ditto
7682 * insetinclude.h: ditto
7684 2001-04-16 Allan Rae <rae@lyx.org>
7686 * insettoc.C (Ascii):
7687 * insettext.C (draw):
7688 * insettabular.C (setPos):
7689 * insetminipage.C (Read):
7690 * insetfloat.C (placement):
7691 * insetcaption.C (Ascii, DocBook):
7692 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7693 an unrecognised preprocessor directive. So ensure they're wrapped.
7695 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7698 * insetexternal.C: set view on Clone. Add _ to private members.
7700 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7702 * insettext.C (InsetText): fix new
7703 (InsetText): reindent some, simplify deletion of par list
7704 (clear): simplify deletion of par list, fix new
7705 (SetParagraphData): simplify deletion of par list
7707 * insettabular.[Ch] (getLabelList): implement new method
7709 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * lyxinset.h: do not include gettext.h...
7719 * insetlatexaccent.C:
7723 * inseturl.C: ... and do it here instead
7725 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7727 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7729 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7731 * insetcollapsable.[Ch] (getLabelList): implement
7733 * insettext.[Ch] (getLabelList): implement
7735 * insettext.h: reindent
7737 * insettabular.h: make tabular a scoped_ptr
7739 * insettext.C (init): adjust for cursor_visible
7740 (ToggleInsetCursor): constify asc and desc, font, adjust for
7742 (ShowInsetCursor): constify asc and desc, font, adjust for
7744 (HideInsetCursor): adjust for cursor_visible
7746 * insettabular.C: reindent some
7747 (InsetTabular): adjust for scoped_ptr and cursor_visible
7748 (InsetTabular): ditto
7749 (~InsetTabular): delete delete
7750 (Clone): adjust for scoped_ptr
7751 (Read): constify old_format, adjust for scoped_ptr, move init of
7753 (draw): constify tx, localize loop vars.
7754 some other localization of variables, remove double initilizatons.
7756 * insetfoot.C: remove using std::ostream, add ostream where needed
7758 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7760 * lyxinset.h: some reindentaion, use initializer list for
7762 UpdatableInset: make cursor_visible a private var add
7763 public isCursorVisible(), add protected toggleCursorVisible() and
7764 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7766 * insettoc.C: remvoe using decl
7767 (getScreenLabel): make cmdname donst
7770 (Ascii): don't use endl
7772 * insetfootlike.C: remove using decl at file scope and add std::
7774 * insetmarginal.C: ditto
7776 * insetfoot.C: some reformatting
7778 * insetfloat.C (InsetButtonRelease): adjust the hit area
7780 * insetert.C (SetFont): some reformatting
7782 * insetcollapsable.C: some reformatting and constification
7783 (Clone): comment out.
7784 * insetcollapsable.h: some reformatting
7785 (Clone): comment out.
7790 2001-03-30 Juergen Vigna <jug@sad.it>
7792 * insetcollapsable.h: changen *inset to be a InsetText inset.
7794 * some files: changed to reflect the above change.
7796 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7798 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7799 InsetExternal::Params.
7800 Added operator==() and operator!=() for the Params struct.
7802 2001-03-29 Juergen Vigna <jug@sad.it>
7804 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7807 * insetminipage.C: removed widthp_ and all it's functions and changed
7808 to use new %-lengths of LyXLength.
7810 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7812 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7814 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7816 * insetgraphicsParams.C (operator!=): new function, needed by the
7817 ControlGraphics class.
7819 2001-03-28 Juergen Vigna <jug@sad.it>
7821 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7822 (checkAndActivateInset): don't use the values returned from
7823 call to bv->checkInsetHit.
7825 * insetminipage.C (Clone): set special minipage values.
7827 * insetcollapsable.C (draw): changed to draw the button in the
7828 upper left corner outside the textinset.
7829 (ascent): changed because of different drawing
7833 (InsetButtonPress): ditto
7834 (InsetButtonRelease): ditto
7835 (InsetMotionNotify): ditto
7837 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7839 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7843 2001-03-26 Juergen Vigna <jug@sad.it>
7845 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7847 * insettext.C (ShowInsetDialog): implemented above function.
7849 * insettabular.C (ShowInsetDialog): ditto
7851 * insetminipage.C (ShowInsetDialog): ditto
7853 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7855 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7856 InsetInclude::Params. Don't store a buffer * in Params. Store the
7857 master file name instead.
7859 2001-03-23 Juergen Vigna <jug@sad.it>
7861 * insetcollapsable.C (InsetMotionNotify):
7862 (InsetButtonRelease):
7863 (InsetButtonPress): fixed y-offset (minipages).
7865 * insettext.C (draw): force a FULL update if cleared == true.
7867 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7868 routine to draw the minipages on its position-flag.
7869 (InsetInInsetY): give back the right y position, because of minipage
7872 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7875 * insetfloat.C (DocBook): docbook export code.
7877 2001-03-22 Juergen Vigna <jug@sad.it>
7879 * insetminipage.C (getMaxWidth): added function to set the drawing
7881 (Read): should work now!
7883 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7884 if we create a new inset.
7886 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7888 * figinset.C (fl_set_preemptive_callback): moved definition outside
7891 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7893 * insetminipage.C (Read): prepare for reading of minipage arguments.
7895 2001-03-18 Baruch Even <baruch@lyx.org>
7897 * insetgraphics.C: Minor cleanups of the comments and code.
7899 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7901 * insetminipage.C (InsetMinipage): default to not collapsed
7903 2001-03-16 Juergen Vigna <jug@sad.it>
7905 * insetminipage.C (width): modified with to be a string
7906 (widthp): added widthp (for % width) support functions.
7907 (InsetButtonRelease): added to open the options dialog on button==3.
7908 (~InsetMinipage): added to hide the dialog.
7910 * insetminipage.h: added hideDialog signal
7912 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7914 * insetminipage.h: change the order or Position to match
7915 LyXParagraph::MINIPAGE_ALIGNMENT
7917 * several files: remvoe CXX_WORKING_NAMESPACES
7919 * ExternalTemplate.h: noncopyable is in namespace boost
7920 * insetinclude.h: ditto
7921 * insetcommand.h: ditto
7923 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7925 * insettext.C (Edit): #else# -> #else.
7926 * insettoc.C: added using directive.
7928 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7930 * insetminipage.h: add pos, inner_pos, width and height. + getters
7931 and setters for all of them.
7933 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7935 * insetinclude.C (Latex): Do not exit when the textclass of the
7936 included file differ from the textclass of the parent file.
7938 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7940 * ExternalTemplate.C (read): the reading of external insets now checks
7941 for \end_inset and removes it form the input stream.
7943 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7945 * ExternalTemplate.h:
7946 * ExternalTemplate.C:
7948 * insetexternal.C: move form to GUII
7950 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7953 * insetinclude.C: add InsetIncludeParams, use
7954 composition rather than derivation of InsetCommand
7956 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7958 * insettoc.C (Ascii): use the Buffer typedefs
7960 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7962 * insettoc.C (Ascii): implement for dynamic number of lists
7964 * insetcaption.[Ch]: update from new_insets branch
7965 * insetfloat.[Ch]: ditto
7967 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7970 * figinset.C: use new File Dialog
7972 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7974 * insettext.C: changes becuase of ParagraphParameters.
7976 2001-02-28 Baruch Even <baruch@ev-en.org>
7978 * insetgraphics.C (updateInset): Changed due to the change in
7981 2001-02-26 Juergen Vigna <jug@sad.it>
7983 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7984 handled in LyXText).
7986 2001-02-23 Juergen Vigna <jug@sad.it>
7988 * insettext.C (draw): some small repainting fixes.
7989 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7991 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7992 should be) and not an int.
7994 * insettabular.C (LocalDispatch): ditto
7996 * insettext.C (LocalDispatch): ditto
7998 * insetcollapsable.C (LocalDispatch): ditto
8000 2001-02-22 Juergen Vigna <jug@sad.it>
8002 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
8003 DISPATCH it and we don't have a locking_inset.
8005 2001-02-21 Baruch Even <baruch@ev-en.org>
8007 * insetgraphics.[Ch]: Changed to use
8008 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
8010 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8012 * insetcollapsable.C (getLyXText): add const qualifier to second
8015 2001-02-22 Juergen Vigna <jug@sad.it>
8017 * insettext.C (getLyXText): honor the recursive parameter.
8018 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
8020 * inset.C (getLyXText): added bool recursive parameter.
8022 * insettext.C (SetUpdateStatus): or the update codes.
8023 (draw): check need_update with &.
8024 (InsetButtonPress): set no_selection to not put a selection when
8025 entering an inset and it is redraws in another spot.
8027 * insettext.h: made need_update an int.
8029 2001-02-20 Baruch Even <baruch@ev-en.org>
8032 * insetgraphisc.C: Changed to use better semantics when loading images
8033 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8035 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8039 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8040 consistent with InsetTabular.
8042 2001-02-19 Juergen Vigna <jug@sad.it>
8044 * insettabular.C (LocalDispatch): implement PAGE up/down.
8046 * insettext.C (draw): clear all of it on need_update==INIT too!
8048 * insettabular.C (InsetUnlock): always clear the selection.
8050 * inset.C (scroll): normally we only want to scroll the inset until
8051 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8053 2001-02-14 Juergen Vigna <jug@sad.it>
8055 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8056 (resetPos): fixed scroll behaviour.
8057 (LocalDispatch): do an update if moving cursor inside a table cell
8058 requests a scroll of the tabular.
8060 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8062 * insettext.C (textWidth): constify local var
8064 * insettabular.C: small cleanup.
8066 * insetfoot.C (Latex): constify local var
8068 * insetcollapsable.C: small cleanup.
8070 * figinset.C (runqueue): use compare instead of strcmp
8072 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8075 * insetinfo.C: remove cruft
8077 2001-02-14 Juergen Vigna <jug@sad.it>
8079 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8081 2001-02-13 Juergen Vigna <jug@sad.it>
8083 * insettext.C (InsertInset): don't move left (is this right?)
8085 * insettabular.C (LocalDispatch): use of the no_draw variable
8087 * insettabular.h: new no_draw variable to stop redraw
8089 * insettabular.C (TabularFeatures): fixed update for alignment change
8091 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8095 * insetbib.C: move dialogs to frontends/
8097 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8099 * insettext.C (LocalDispatch): Restore the language if the inset
8102 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8104 * insettext.C (moveRightIntern): Update the selection cursor.
8105 (moveLeftIntern): Ditto.
8107 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * Makefile.am: remove BoundingBox.h
8111 * BoundingBox.h: removed
8113 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8115 * insettext.C (LocalDispatch): Update selection cursor when moving
8116 cursor to the right.
8117 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8118 (moveLeftIntern): Ditto.
8120 2001-02-05 Baruch Even <baruch.even@writeme.com>
8122 * insetgraphics.C: Updated automatic image conversion, it now goes into
8123 temporary directory instead of with the image itself.
8125 2001-01-21 Baruch Even <baruch@ev-en.org>
8127 * insetgraphics.C: Added Docbook support. Added Automatic image
8128 conversion to EPS or PNG when needed (support bitmap graphics).
8130 2000-11-02 Baruch Even <baruch@ev-en.org>
8133 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8134 to '\n' and removal of commented out code.
8136 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8138 * insetbib.C (callback): Update citations if the key has changed.
8140 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8142 * insetbib.C (InsetBibKey): Better computation of default key.
8143 (getScreenLabel) Show both the key and the label.
8144 (getBibLabel): New method.
8145 (callback): Force a redraw if the inset have been changed.
8147 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8149 * insetref.C (getType, getName): Move methods from
8150 src/frontends/xforms/FormRef.C.
8152 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8154 * insettabular.C: Various improvements (use only one dummy position).
8156 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8158 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8159 par->bibkey->width. This fixes the crashes when running without
8160 gui or when having included documents.
8162 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8164 * insetcommand.C (getAsString, setFromString): Cleanup.
8166 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8168 * insetref.C: Add the array InsetRef::types that contains
8169 information about all supported reference types.
8171 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8173 * lyxinset.h: remove trailing comma in enum.
8175 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8177 * insettext.C: kill LyXBell.