1 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
4 and '\space' to '\space{}' (consistency).
6 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * insettabular.C (tabularFeatures): validate cursor after
9 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
11 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
13 * insettabular.C: fixes bug 1765: multicol cell width on screen not
16 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
18 * insettabular.C: use recordUndoInset instead of recordUndo
19 (fixes bug 1937 and 1986).
21 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * insetvspace.C (metrics): include label text
24 * insetvspace.[Ch] (label): new, needed for the above
26 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
28 * insetbase.[Ch]: new bool neverIndent() which indicates if
29 an inset does not want paragraph indentation at all.
32 * insetoptarg.h: return true for neverIndent()
33 * insettext.[Ch]: return true for neverIndent() in case
34 of tabular cells (based on a crude guess).
36 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * insetline.C: Add forgotten include
40 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * insetline.C (latex): write the size argument of \lyxline again
43 * insetquotes.C (latex): adapt to OutputParams changes
45 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
47 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
48 when switching to pwidth cell (bugs 1296, 1840).
50 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * insettabular.C (draw): pass PainterInfro::erased_ to
54 (drawCellLines): add an erased bool and handle it.
56 2005-08-03 John Levon <levon@movementarian.org>
58 * insettext.C (clear): remove bool argument.
59 (read): adapt to clear() changes.
61 * insettabular.C (cutSelection): adapt to MarkErased changes.
63 * insettext.C (markErased):
64 * insettabular.C (markErased):
65 * insetbase.C (markErased): add bool argument.
67 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
69 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
70 after copying several cells (works around bug 1919).
72 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
74 * insetcharstyle.C (metrics,draw): consider inset label for
75 width computation; fix drawing of labels of undefined char styles
77 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
79 * insettabular.C (getStatus): fix Helge's bug that a number of insets
80 including ERT could not be inserted in tabular.
82 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * insetinclude.C (string2params): fix typo in error message (bug 1963).
86 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * insettabular.C (getStatus): disable line and paragraph breaks
89 in non-fixed-width cells (bug 1938).
91 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * insetwrap.C: Do not use translatable strings as internal identifier
97 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
99 * insetbase.C: include boost/current_function.hpp
101 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
103 * insetbase.C (edit,editXY,index): supress some lyxerr messages
105 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
109 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
111 * insetlabel.C (changeRefsIfUnique): remove unused code
113 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
116 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
117 reverse the logic. Make sure to set updateButtonLabel_ to true in all
118 places where params is set (directly or indirectly).
120 2005-07-15 André Pönitz <poenitz@gmx.net>
122 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
124 2005-07-15 André Pönitz <poenitz@gmx.net>
128 * insetcollapsable.[Ch]:
130 * updatableinset.[Ch]: remove UpdatableInset
132 2005-07-15 José Matos <jamatos@lyx.org>
134 * insettext.C (plaintext): fix call to asciiParagraph.
136 2005-07-15 André Pönitz <poenitz@gmx.net>
138 * insetcollapsable.[Ch]:
139 * updatableinset.[Ch] (scroll, setScroll): sanitize things
141 2005-07-14 Angus Leeming <leeming@lyx.org>
143 * insetbibtex.C (latex): when processing the LaTeX file in
144 a temp directory, copy the BibTeX databases there, mangling their
145 names in the process. Do this so that BibTeX can process the database
146 because it *really*, *really* can't handle "files with spaces".
148 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
150 * insettext.C (doDispatch): reduce some debug blabbering
152 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
154 * ExternalSupport.C (subst_path): adjust to latex_path changes and
155 replace dots if appropriate
156 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
157 * insetexternal.C (validate): require lyxdot
159 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * ExternalSupport.C (subst_path): new argument exclude_extension
162 * ExternalSupport.C (doSubstitution): exclude the extension when
164 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
165 the extension when quoting the file name
167 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * insetquotes.C (latex): always use \og/\fg for the french
170 languages; test against the language code instead of the babel
173 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * insettabular.C (tabularFeatures): adjust cursor after adding a column
177 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * insetbranch.C (setButtonLabel): Make label prefix translatable.
181 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * insettabular.[Ch] (dist): make it a real member of insettabular
184 and rewrite it to use the actuall cell dimensions for calculation,
185 not the insettext's deimensions (fixes bug 1801).
187 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * insetbibtex.C: (addDatabase): do not check for substrings but
190 but for whole tokens.
191 (delDatabase): make it actually work.
193 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
197 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * insetgraphics.C (prepareFile): don't strip the extension of quoted
201 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
203 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
206 when multiple cells are selected (bug 1837).
208 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * insetoptarg.C (InsetOptArg): make the inset open by default
213 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * insetvspace.C (draw): use VSpace::asGUIName.
217 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
219 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
220 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
221 cur.noUpdate() if nothing changed
222 * insetlatexaccent.[Ch]: spelling fixes
224 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
226 * insetcollapsable.C (doDispatch): fix
227 click-on-closed-collapsable-inset-crash bug.
229 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
231 * insettabular.C (pasteSelection):
232 * insettext.h (copy c'tor): fix paste inside tabulars.
234 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * insetoptarg.C (plaintext): add dummy method.
238 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * insetbase.h (doDispatch): document a bit more
241 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
242 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
243 cur.bv().update(), because that leads to nested updates. Call
244 cur.noUpdate() instead where approriate.
246 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
248 * insetbibtex.C: change screen label
250 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
252 2005-05-06 José Matos <jamatos@lyx.org>
254 * insetcommandparams.C (scanCommand): fix out of range string access.
256 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
258 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
260 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
261 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
264 handle undefined character styles
265 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
266 handle undefined character styles
268 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
271 in getStatus and the tabularFeature string (bug 1860).
273 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * insetbranch.C (getStatus): make the code more compact
277 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * insetcollapsable.C (doDispatch): do not pass through double/triple
280 click events when they are not in the insetext (bug 1797).
282 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * insetbase.h: document a bit more
285 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
286 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
287 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
288 (getStatus): implement
289 * insetcollapsable.[Ch] (hitButton): take a const argument
290 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
293 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * insetcollapsable.C (doDispatch): pass through double/triple
296 click events (bug 1811).
298 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
302 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
303 but the SENSITIVE label type.
305 2005-04-18 Angus Leeming <leeming@lyx.org>
307 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
308 'use_latex_path' argument. In turn, passed to the new subst_path
309 function when replacing placeholders with paths.
311 * insetexternal.C (getScreenLabel):
312 * ExternalSupport.C (lots of places): change invocation of
313 doSubstitution in lots of places, specifying the appropriate values
314 for this 'use_latex_path' boolean.
316 * insetbib.C (latex):
317 * insetgraphics.C (latex):
318 * insetinclude.C (latex): pass path to latex_path rather than to
321 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
323 * insetcharstyle.C (validate): allow nested charstyle insets
325 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
327 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
329 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
331 * insetfloat.C (InsetFloat):
332 * insetwrap.C (InsetWrap): do not set layout here.
334 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
338 * insetbase.h (getStatus): add more documentation
339 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
342 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
344 * insetcharstyle.C (metrics, draw):
345 * insetert.C (metrics, draw):
346 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
349 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
351 * insetexternal.C (validate):
352 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
353 multiple Requirements in external material template
355 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
357 * insettext.C (drawFrame): cosmetic fix
359 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
361 * ExternalSupport.C (writeExternal):
362 * insetgraphics.C (latex):
363 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
364 mis-count in computing latex error location
366 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
368 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
369 make it *not* descend into insets (fix a crash). Move the part
370 needed from editXY to a new function getNearestCell
372 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * insetinclude.C (InsetInclude): when constructing from another
375 InsetInclude, set set_label_ to false, since the value is never
378 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
382 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
384 * insettabular.C (drawSelection): cosmetic bugfix
386 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
388 * insettabular.C (doDispatch): get middle mouse button back again
389 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
390 when only a part of the cell is selected (fix bug 1799)
392 * insettabular.C: handle some more character attributes in
393 M. Vermeers method (when multiple cells in tables are selected);
394 disable some more senseless lfuns when multiple cells are selected
396 Move to end of cell instead of beginning when coming from the cell
399 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
401 * insettabular.C: make applying character attributes
402 possible for multiple cells in tables. Disable collapsable
403 insets for multiple-cell selection in table (Jürgen S.)
404 Bug reported by Helge Hafting.
406 2005-02-25 Andreas Vox <avox@arcor.de>
408 * insetmarginal.[hC] (docbook): new method, render as <note>
410 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
412 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
414 * insetcaption.[Ch] (doClone): implement
416 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
418 * insetgraphics.C (prepareFile): handle non-existing files
419 * insetgraphics.C (latex): remove special handling of non-existing
422 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
424 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
425 * insettext.C: adjust metrics
427 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * insettext.C: include boost/current_function.hpp (needed when
430 assertions are disabled)
432 2005-02-20 André Pönitz <poenitz@gmx.net>
434 * insetcollapsable.C: Prevent problems on double-/
435 tripleclick on collapsable label (bug 1797).
437 2005-02-13 André Pönitz <poenitz@gmx.net>
439 * insettext.[Ch] (border_): new
440 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
443 2005-02-14 Angus Leeming <leeming@lyx.org>
445 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
446 about "truncation of constant value".
448 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
450 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
451 workaround for broken HTML converter)
453 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
455 * insetcollapsable.C (leaveInset): size() -> depth()
456 * insettabular.C (isRightToLeft): ditto
458 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * insetert.C (latex, linuxdoc, docbook): remove newline handling
461 * insetert.C (doDispatch): clean pasted paragraphs
462 * insetert.C (getStatus): suppress more lfuns
463 * insetert.C (insetAllowed): return always false
465 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
470 * updatableinset.C: Use new cursor accessors.
472 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
474 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
476 2005-01-31 Angus Leeming <leeming@lyx.org>
478 * insetgraphicsParams.C: protect a #warning preprocessor call
479 with a #ifdef WITH_WARNINGS guard.
481 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
483 * Several files: use convert<> instead of atoi,strToXXX and friends
485 2005-01-23 Angus Leeming <leeming@lyx.org>
487 * insetbibitem.h (bibitemWidest): declare the function.
489 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
491 * insetgraphics.C (prepareFile): move the invocation of the default
492 converter to ../converter.C
493 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
494 call convert with try_default == true
496 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
499 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
500 determines what variables are substituted
501 * ExternalSupport.C (updateExternal): fix substitution of
504 2005-01-10 Angus Leeming <leeming@lyx.org>
506 * ExternalTemplate.C: use support/package.h to provide the paths to the
507 various directories used by LyX.
509 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * ExternalTransforms.C (adjAngle): tostr -> convert
519 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
524 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
526 * ExternalTransforms.C: fix LaTeX output of \scalebox.
528 * ExternalTransforms.[Ch]:
529 * insetexternal.C: store all float/double values as strings.
532 * insetgraphicsParams.C: more precise checks for the value strings.
534 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * insettext.C (doDispatch): remove unused variable was_empty
538 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
541 * insetgraphicsParams.[Ch]: store all float/double values as strings.
543 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
545 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
547 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
550 UNSET_ALL_LINES (from Jürgen)
552 2004-12-14 Angus Leeming <leeming@lyx.org>
554 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
555 to overcome bug in the MinGW port of g++ 3.4.2.
557 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
559 * insettabular.C (getCellXPos): make it return a relative x
560 position wrt. the begin of the tabular
561 (resetPos): a couple of fixes
562 (doDispatch): add a couple of resetPos calls
563 (drawSelection): fix drawing of selection in single-cell mode
564 (draw): replace 'do not draw' optimization by 'draw with
567 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
569 * insetbase.[Ch] (idxUpDown2): remove function
571 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
573 * insettabular.[Ch]: use size_t-like types for cell, row and column
576 2004-12-02 José Matos <jamatos@lyx.org>
578 * insetlatexaccent.C (checkContents): remove compatibility code,
581 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
583 * insetbase.h (getStatus): add better comment from src/cursor.C
585 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
587 * insettabular.[Ch]: adjust, introduce "do not draw
588 offscreen" optimization using NullPainter, (dist): introduce,
589 (getCursorPos): implement, (drawSelection): implement
591 * insetcollapsable.[Ch]: adjust
593 * insettext.C: adjust, (metrics): set the font before calling
596 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
598 * rename a lot of InsetOld to InsetBase
600 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
603 * insettext.C: par->pit renaming
605 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * Most insets: rename priv_dispatch to doDispatch
609 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
611 * insettabular.C (tabularFeatures): fix multicolumn handling
613 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * render_base.h (operator=): use common semantics
617 * insettext.C (operator=): delete this
618 (copy constructor): implement this properly
619 (init): use for_each and bind
621 (appendParagraphs): ditto
623 * insettabular.C: add more const. Adjust for changes in tabular.
625 * insetbase.h: Use NVI on clone. Add virtual doClone and update
626 all children, also make copy constructor protected. Added some
627 safe-guards to clone.
629 * insets: adjust to fit.
631 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * insetoptarg.C (latexOptional): return number of lines instead of
636 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * insettabular.[Ch] (string2params): Don't pretend to return the
639 active cell anymore and simplify keyword parsing.
641 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * insetlatexaccent.h (isLetter): implement, so that word selection
644 takes accents into account.
646 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
648 * insetcollapsable.C (priv_dispatch): do not push the inset to the
651 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * ExternalSupport.C, insetgraphics.C:
654 s/getFormatFromContents/formats.getFormatFromFile/
656 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
658 * insetcharstyle.[Ch]:
659 * insetert.[Ch]: implement getStatus
661 * insetcharstyle.C (draw): visual clue when the cursor is inside
664 2004-11-02 José Matos <jamatos@lyx.org>
666 * insetcharstyle.C (docbook):
667 * insetlabel.C (linuxdoc, docbook):
668 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
671 * insettabular.C (docbook): mixed content no longer belongs to
674 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
678 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * ExternalSupport.C (updateExternal): convert files in the temp dir
682 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
684 * insetcharstyle.C: drawing cosmetics.
686 2004-10-30 José Matos <jamatos@lyx.org>
688 * insetcharstyle.C (docbook): a compromisse solution. Don't output
689 paragraph tags inside inline elements.
691 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
693 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
694 InsetText methods rather than outputVerbatim (escapes special
695 characters) [bug 1731]
696 * insetcharstyle.C (outputVerbatim): remove this function.
697 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
698 which caused an infinite loop.
700 2004-10-29 José Matos <jamatos@lyx.org>
702 * insetgraphics.C (uniqueID): transfered to sgml.C
704 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
706 * insetlabel.C (docbook, linuxdoc):
707 * insetref.C (docbook, linuxdoc): sanitize id.
709 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
711 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
712 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
713 * insetgraphics.C (findTargetFormat): reformat
715 2004-10-28 José Matos <jamatos@lyx.org>
717 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
719 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
721 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
723 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
725 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
726 "[,,,]" without warning message
728 2004-10-26 Angus Leeming <leeming@lyx.org>
730 * ExternalSupport.C (updateExternal):
731 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
732 external files to the temp directory.
734 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
736 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
737 layouts. This fixes problems with the memoir class (which does not
738 allow \footnote) [bug 1677]
740 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
742 * insetindex.C (docbook): escape the index, to generate correct sgml.
744 2004-10-23 José Matos <jamatos@lyx.org>
746 * insettext.C (docbook): rearrange arguments, due to change in the
749 2004-10-23 André Pönitz <poenitz@gmx.net>
751 * insettabular.C (cutSelection, tabularFereatures):
752 fix cursor position after cutting selection or table rows
754 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
756 * insetgraphics.C (docbook, writeImageObject): write more than one
757 format of imageobjects in <mediaobject>.
759 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
761 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
762 DocBook output for this inset ( <citation>content</citation> )
764 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
766 * insetgraphics.C (docbook) : using mediaobject for XML;
767 correcting bug with SGML output (now '>' instead of '/>')
769 2004-10-05 José Matos <jamatos@lyx.org>
771 * insetfloatlist.C (read):
772 * insetquotes.C (read):
773 * insetspace.C (read):
774 * insetspecialchar.C (read):
775 * insettabular.C (read): replace nextToken by more appropriate lex
778 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
780 * insetgraphics.C (createDocBookAttribute, docbook) :
781 convert scale, width, height and keepaspectratio to Docbook standards)
783 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
784 to Docbook units where possible.
786 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
788 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
790 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
791 as attributes with new method for docbook.
793 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * render_preview.h: Use preferred calling of Boost.Signal
797 * pch.h: use proper signal include
799 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
801 * ExternalTransforms.h: User preferred calling of Boost.Function
803 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
805 * insetref.C (docbook): fixing problem where Docbook XML output
806 had unclosed <xref ... >
808 2004-08-16 José Matos <jamatos@lyx.org>
810 * insethfill.C (write):
811 * insetline.C (write):
812 * insetnewline.C (write):
813 * insetpagebreak.C (write): remove space at end of line.
815 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * insettabular.C (plaintext): do not use ownerPar to get the
820 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
821 and it calls getParentLanguage (which calls ownerPar)
822 (edit): do not call sanitizeEmptyText
823 (priv_dispatch): remove code resetting font on empty inset, for
824 the same reasons as above.
826 * insettabular.C (isRightToLeft): instead of using
827 BufferView::getParentLanguage, use the data from the cursor
829 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
833 * Makefile.am: support pch
835 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * insettabular.C (draw): whitespace
839 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
841 2004-08-14 André Pönitz <poenitz@gmx.net>
843 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
845 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * insettabular.C (metrics): when the width of a cell is zero(),
848 let it use as much space as it can
850 * insettext.C (editXY): compilation fix
852 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
854 (metrics): the insets is not full width any more.
855 (draw): adjust; fix bad test for PREVIEW_OFF
856 (add_preview): fix bad test for PREVIEW_OFF
857 (display): do not return true when using \input
859 2004-08-14 José Matos <jamatos@lyx.org>
861 * insetbibitem.[Ch] (plaintext): added.
863 * insetcite.[Ch]: fix plaintext export.
865 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
867 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
870 * insetcaption.C (InsetCaption): modify call to setDrawFrame
871 * insetcollapsable.C (InsetCollapsable): ditto
872 * insetenv.C (InsetEnvironment): ditto
874 2004-08-14 André Pönitz <poenitz@gmx.net>
877 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
879 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * insetoptarg.C (latexOptional): if the optional argument contains
882 a ']' enclose it in {curly brackets}
884 * insettext.C (editXY):
885 * insettabular.C (editXY):
886 * insetcollapsable.C (editXY):
887 * insetbase.C (editXY): constify
889 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
890 not ask for an update if we did nothing; on a mouse release, make
891 sure that the cursor is moved to the right position; on a mouse
892 release, exit from the inset instead of invoking a
895 * insetbase.C (dispatch): before invoking dispatch, set cursor
896 result to dispatch=update=true.
898 2004-08-13 José Matos <jamatos@lyx.org>
900 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
902 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
904 * insetfoot.C (latex): use OutputParams::intitle instead of
905 parOwner() (avoids time consuming lookup)
907 * insetquotes.C (latex): same as above with OutputParams::lang.
908 Moreover the code actually works now.
910 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
912 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
913 * insetinclude.C, insetgraphics.C, insetfloat.C:
914 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
915 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
916 "support/std_sstream.h" to <sstream>
918 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
920 * insetgraphics.C (prepareFile): remove conversion_needed flag.
921 It made the following fail for a .eps graphics file:
923 2) view->pdf (pdflatex)
924 because the .eps file was already in the temp dir when the pdflatex
925 export happened and therefore no .eps -> pdf conversion was done.
927 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
929 * insetgraphics.C, insettabular.C: s/wether/whether/g
931 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
933 * insetgraphics.C (stripExtension): new
934 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
936 * insetgraphics.C (prepareFile): Handle "nice" exports, too
937 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
939 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * insetfloatlist.C (latex,getScreenLabel): translate according to
942 the document language (bug #1312)
944 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
946 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
947 with external_in_tmpdir and compute filename ourself
948 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
949 use it to store referenced file(s)
950 * ExternalSupport.C (writeExternal): write relative filename if
952 * ExternalTemplate.[Ch]: add ReferencedFile command
953 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
955 * insetgraphics.C (prepareFile): write relative filename if
957 * insetinclude.C (latex, docbook, linuxdoc): add file to
958 runparams.exportdata and write it to the temp dir instead of
959 writing it to the final destination
960 * insetinclude.C (docbook, linuxdoc): don't copy runparams
962 2004-05-19 Angus Leeming <leeming@lyx.org>
964 * insetcite.[Ch]: small change because namespace biblio is
965 now namespace lyx::biblio.
967 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
969 * insettabular.[Ch] (buffer): make Buffer * argument const
971 2004-05-17 Angus Leeming <leeming@lyx.org>
973 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
974 to force the button label to be re-generated.
976 2004-05-14 José Matos <jamatos@lyx.org>
978 * insetlabel (docbook): do not ouput label, for the moment.
980 2004-05-14 Angus Leeming <leeming@lyx.org>
982 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
983 new biblio::asValidLatexString function.
985 2004-05-12 Angus Leeming <leeming@lyx.org>
987 * insetcite.C: use BufferParams::cite_engine rather than the three
988 bools, use_natbib, use_jurabib, use_numerical_citations.
990 2004-05-10 Angus Leeming <leeming@lyx.org>
992 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
993 Ditto with getStyle, moved to biblio::getEngine.
995 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
997 * insetgraphics.C (validate): remove pre 233 file format stuff,
998 handle zipped files for "nice" export
1000 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1002 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1003 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1004 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1005 changed since the last run
1006 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1007 and copyFileIfNeeded.
1009 2004-04-29 Angus Leeming <leeming@lyx.org>
1011 * ExternalTemplate.[Ch]: remove redundant #includes.
1013 2004-04-28 Angus Leeming <leeming@lyx.org>
1016 s/updateToolbar()/updateToolbars()/
1018 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1020 * insetgraphics.C: require file extension (file format change!)
1021 * insetgraphics.C (latex): handle zipped files for "nice" export
1023 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1025 * insetgraphics.C (latex): strip the extension and replace dots in
1026 the filename if doing a "nice" export. This is a partial fix for
1027 bug 1231 without reintroducing bug 655.
1029 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * insetoptarg.h: remove the editable() method (InsetCollapsable
1032 does it better already)
1034 * insetbibtex.C (normalize_name): new helper function. Changes the
1035 name to be suitable to use in a latex file (relative to master
1036 buffer if necessary).
1037 (latex): use normalize_name.
1039 2004-04-20 Angus Leeming <leeming@lyx.org>
1041 * render_preview.C (startLoading): remove lyxerr statement.
1043 (getPreviewLoader): new helper function.
1045 2004-04-19 Angus Leeming <leeming@lyx.org>
1049 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1051 2004-04-19 Angus Leeming <leeming@lyx.org>
1053 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1055 (add_preview): renamed as add_preview_and_start_loading. Invoke
1056 RenderPreview::startLoading.
1058 * insetinclude.C (metrics, draw): changes due to the changed
1059 RenderPreview interface.
1061 * render_preview.C: remove cached pimage_.
1062 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1063 (draw): don't call startLoading. That's up to the user of
1066 2004-04-16 Angus Leeming <leeming@lyx.org>
1068 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1070 2004-04-13 Angus Leeming <leeming@lyx.org>
1072 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1073 the renderer to inform LyX::updateInset that the inset's status
1074 has changed and it should be redrawn.
1076 * render_button.[Ch] (clone):
1077 * render_graphic.[Ch] (c-tors, clone):
1078 * render_preview.[Ch] (c-tors, clone): ditto.
1080 * render_graphic.[Ch] (connect):
1081 * render_preview.[Ch] (connect): removed, as connection is now
1082 made in the constructors.
1086 * insetinclude.C: ensuing simplification of the client code.
1087 (statusChanged): now superfluous. Removed.
1089 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1091 * ExternalTemplate.[Ch]: remove editCommand
1092 * ExternalSupport.C (editExternal): use formats.edit() instead of
1093 the removed editCommand template parameter
1094 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1095 * insetgraphics.[Ch] (editGraphics): new method
1097 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * insetinclude.C (validate): set/reset features.buffer_ when
1100 validating the child
1102 2004-04-07 Angus Leeming <leeming@lyx.org>
1104 * insetexternal.C (priv_dispatch):
1105 * insetinclude.C (priv_dispatch): prevent crash by invoking
1106 InsetOld::priv_dispatch at the end of the switch, rather than
1107 InsetOld::dispatch...
1109 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1111 * insetcollapsable.C:
1112 * insetbranch.C: 'assign' to open/close branch inset according to
1113 selection; also print content on closed branch button
1115 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1117 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1118 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1119 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1121 * ExternalSupport.C (updateExternal): use absolute and output
1122 filename where appropriate
1124 2004-04-05 André Pönitz <poenitz@gmx.net>
1126 * insetbase.h: use LCursor & in notifyCursorLeave
1128 2004-04-05 Angus Leeming <leeming@lyx.org>
1130 * insetgraphics.C: remove unused header file "lyxrc.h".
1132 * render_graphic.C: squash bug 1372: Misleading graphics label when
1133 deactivating lyx view.
1135 2004-04-05 Angus Leeming <leeming@lyx.org>
1140 * insetlatexaccent.C:
1145 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1147 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1149 * insetfloat.C (read): fix yesterday's float fix.
1150 * insetwrap.C (read): apply the fixed float fix.
1152 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1154 * insetfloat.C (read): fix reading of float params
1157 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1159 * insettext.C (edit): comment the call to updateLocal (dangling now)
1160 * insettext.h: add allowSpellCheck() returning true
1162 2004-03-31 Angus Leeming <leeming@lyx.org>
1164 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1166 2004-03-31 Angus Leeming <leeming@lyx.org>
1168 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1169 the cursor out of an inset.
1171 * insetbranch.C (priv_dispatch):
1172 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1173 use getOutOfInset to push the cursor out of the inset when
1176 2004-03-30 Angus Leeming <leeming@lyx.org>
1178 * insetbase.[Ch] (translate): new static member function, returns
1179 an InsetBase::Code corresponding to the input string.
1181 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1183 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1184 so that it opens the inset if it refers to the currently active
1187 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1189 * insetfloat.C (addToToc): use par_const_iterator_begin and
1190 par_const_iterator_end.
1192 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1194 * insetbibtex.[Ch]: bibtopic support.
1196 * insetfloat.[Ch]: add param \sideways {true|false}
1197 (support for sideways floats from rotating.sty).
1199 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1201 * insettext.[Ch]: add a default ctor. implement const version of
1207 * insetwrap.C: adjust
1209 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1211 * insettext.h: add insetAllowed returning true by default (fixing
1212 vanishing insets problem)
1214 * insettext.C (draw): handle the responsability of adding the
1215 ouside offset to collapsable. Clean code a bit.
1217 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1218 from insettext correctly, solve a couple of off-by-one drawing
1221 2004-03-25 Angus Leeming <leeming@lyx.org>
1223 * insetcaption.C (draw): squash warning about unused variable.
1225 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1227 * ExternalSupport.C: use the master buffer's temp dir
1228 * insetgraphics.C (latex): make relative filename relative to the
1230 * insetgraphics.C: use the master buffer's temp dir
1231 * insetinclude.C (masterFilename): new function
1232 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1233 is always true if loadIfNeeded() returns true)
1235 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1237 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1238 set its parent to the current buffer.
1239 (latex): use the tmppath of the master buffer, not just the parent
1240 buffer (makes a difference with more than one level of include
1241 insets). If the file name is relative write in the .tex file a
1242 name relative to the master buffer directory.
1244 * insetinclude.C: rename masterFilename to parentFilename (this
1245 points to the direct parent)
1247 2004-03-25 André Pönitz <poenitz@gmx.net>
1249 * inset.[Ch]: remover owner
1251 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1259 * insetcharstyle.[Ch]:
1267 * insetwrap.C: adjust
1269 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1271 * insetquote.C: use opening quote after '[' char.
1273 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1275 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1278 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1280 * insetcite.[Ch]: support jurabib.
1282 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1284 * insetcite.C: Support second \cite option.
1286 * insetcommand.[Ch]:
1287 * insetcommandparams.[Ch]: add second optional argument.
1289 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1291 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1292 shows the inset dialog.
1294 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1296 * insetlabel.[Ch]: remove them
1297 * Makefile.am: adjust
1299 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1301 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1303 * insetinclude.C (latex): show a GUI warning if textclasses don't
1305 * insetinclude.C: use mangledFilename() for temp files
1306 * insetgraphics.C (readInsetGraphics): remove version check, since
1307 the graphics inset has no own fileformat number anymore
1309 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * insetquotes.[Ch]: added new member that allows direct access
1312 to single/double quotation marks.
1313 * insetnewline.[Ch]:
1314 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1316 2004-02-16 André Pönitz <poenitz@gmx.net>
1319 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1320 implicitly assume 'DispatchResult(true, true) with exception of
1321 InsetBase::priv_dispatch which does the equivalent of
1322 'retrun DispatchResult(false)'
1324 * inset*.[Ch] (priv_dispatch): adjust
1326 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1327 simplify cursor moving function,
1328 re-enable horizontal scrolling for large tables
1330 2004-02-13 André Pönitz <poenitz@gmx.net>
1332 * insettabular.[Ch]: some work after IU
1334 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1336 * inset.C (setPosCache): switch to absolute coords in insets
1337 * insettext.[Ch] (draw, drawFrame): adjust
1338 * insetcollapsable.C (draw): adjust
1341 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1343 * insettext.C (edit):
1344 (updateLocal): use the cur argument instead of the global cursor
1345 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1347 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1351 * insetfloat.C (validate): "H" -> 'H' in call to contains
1353 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1355 2004-01-30 André Pönitz <poenitz@gmx.net>
1359 * insetcollapsable.[Ch]:
1362 * insetgraphics.[Ch]:
1364 * insettabular.[Ch]:
1367 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1370 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * insettabular.C: add using statement for std::vector, remove
1373 std:: where using was already used.
1375 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1379 * insetinclude.C (validate): use feautures.nice() instead of
1382 2004-01-20 André Pönitz <poenitz@gmx.net>
1385 * insetbase.[Ch]: move stuff from mathcursor here.
1387 * insetbibitem.[Ch]:
1391 * insetcharstyle.[Ch]:
1392 * insetcollapsable.[Ch]:
1393 * insetcommand.[Ch]:
1395 * insetexternal.[Ch]:
1397 * insetgraphics.[Ch]:
1398 * insetinclude.[Ch]:
1402 * insettabular.[Ch]:
1406 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1409 2004-01-15 André Pönitz <poenitz@gmx.net>
1412 * insetbibitem.[Ch]:
1416 * insetcharstyle.[Ch]:
1417 * insetcollapsable.[Ch]:
1418 * insetcommand.[Ch]:
1420 * insetexternal.[Ch]:
1422 * insetgraphics.[Ch]:
1423 * insetinclude.[Ch]:
1427 * insettabular.[Ch]:
1431 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1433 2004-01-08 André Pönitz <poenitz@gmx.net>
1435 * insetcollapsable.[Ch]:
1436 * insettabular.[Ch]:
1438 * updatableinset.h: use cell index info from global cursor.
1440 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1442 * insetnote.C (InsetNoteParams::write): write label only once
1444 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1448 get rid of the SameName functor
1450 * insettabular.C: improve the functor.
1452 2003-12-29 Angus Leeming <leeming@lyx.org>
1454 * insetexternal.C (setParams): update defaultTemplateName.
1456 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1458 * insetbox.C: Use term "Box" in button label
1460 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1462 * insetcharstyle.C: get getDrawFont working again
1464 2003-12-15 André Pönitz <poenitz@gmx.net>
1466 * insettabular.[Ch]:
1467 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1469 2003-12-12 Angus Leeming <leeming@lyx.org>
1471 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1473 (InsetBranchParams): remove the branchlist hack.
1474 (isBranchSelected): new function, used to decide whether to
1475 print each output format. Also used by InsetList.
1476 (read, string2params): repair my own breakage ;-)
1478 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1480 * insetminipage.[Ch]: remove from repository.
1482 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1485 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1486 insetert to insetcollapsable; introduce virtual function
1487 setButtonLabel and invoke it from collapsable
1489 2003-12-12 Angus Leeming <leeming@lyx.org>
1491 * insetinclude.C (draw): cache x,y and so enable the
1492 dialog to be opened.
1494 2003-12-12 Angus Leeming <leeming@lyx.org>
1496 * mailinset.C (print_mailer_error): tidy up the output.
1498 2003-12-11 Angus Leeming <leeming@lyx.org>
1500 * mailinset.[Ch] (print_mailer_error): new helper function.
1502 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1503 calling InsetCommandMailer.
1504 (InsetCommandMailer::string2params): pass the name of the dialog.
1506 * insetbibitem.[Ch] (d-tor):
1507 * insetbibtex.[Ch] (d-tor):
1508 * insetcite.[Ch] (d-tor):
1509 * insetfloatlist.[Ch] (d-tor):
1510 * insetindex.[Ch] (d-tor):
1511 * insetlabel.[Ch] (d-tor):
1512 * insetref.[Ch] (d-tor):
1513 * insettoc.[Ch] (d-tor):
1514 * inseturl.[Ch] (d-tor): removed.
1515 Hiding the dialog is handled by InsetCommand.
1517 * insetbibtex.[Ch] (draw, metrics):
1518 * insetfloatlist.[Ch] (draw, metrics):
1519 * insetindex.[Ch] (draw, metrics): removed.
1520 Drawing is handled by InsetCommand.
1522 * insetbibitem.[Ch] (priv_dispatch):
1523 * insetbibtex.[Ch] (priv_dispatch):
1524 * insetcite.[Ch] (priv_dispatch):
1525 * insetfloatlist.[Ch] (priv_dispatch):
1526 * insetindex.[Ch] (priv_dispatch):
1527 * insetlabel.[Ch] (priv_dispatch):
1528 * insettoc.[Ch] (priv_dispatch):
1529 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1530 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1531 LFUN_INSET_DIALOG_SHOW.
1533 * insetbox.C (string2params):
1534 * insetbranch.C (string2params):
1535 * insetert.C (string2params):
1536 * insetexternal.C (string2params):
1537 * insetfloat.C (string2params):
1538 * insetinclude.C (string2params):
1539 * insetminipage.C (string2params):
1540 * insetnote.C (string2params):
1541 * insetvspace.C (string2params):
1542 * insetwrap.C (string2params): over-hauled.
1544 2003-12-10 Angus Leeming <leeming@lyx.org>
1546 * insetexternal.[Ch]: add a draft option and respect it when
1549 2003-12-10 Angus Leeming <leeming@lyx.org>
1551 * insetbox.C: (read, write): now prepend the inset contents with
1552 'Box' to identify the inset as a box inset.
1554 * insetbox.h: move the translators out of sight.
1556 2003-12-10 Angus Leeming <leeming@lyx.org>
1558 * insetert.C (string2params): clean-up using the new lyxlex interface.
1560 * insetexternal.C: ensure that InsetExternalParams has a default
1561 template, 'RasterImage'.
1563 2003-12-10 Angus Leeming <leeming@lyx.org>
1565 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1566 to an enum. Ensuing clean-ups through out the class.
1567 (read, write): now prepend the inset contents with 'Note' to identify
1568 the inset as a note inset.
1570 2003-12-10 Angus Leeming <leeming@lyx.org>
1572 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1573 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1575 2003-12-10 André Pönitz <poenitz@gmx.net>
1579 * insettabular.[Ch]:
1580 * insettext.[Ch]: remove unused insetInset()
1582 * insetert.C: disable some LFUNs
1584 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1586 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1588 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1590 2003-12-04 Angus Leeming <leeming@lyx.org>
1592 * insetexternal.C (draw): update the xo_, yo_ cache.
1594 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1596 (RotationDataType): new helper struct wrapping the
1597 RotationData::OriginType enum.
1599 2003-12-03 André Pönitz <poenitz@gmx.net>
1601 * inset.h: remove getParagraphs()
1603 * insetcollapsable.[Ch]:
1606 * insettabular.[Ch]:
1607 * insettext.C: use getText() instead of getParagraphs()
1609 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1611 * insetert.C: fix label text updating bug
1613 2003-12-02 Angus Leeming <leeming@lyx.org>
1615 * insetvspace.[Ch] (space): new member function. Make space_ private.
1616 (read): use the new, simpler lyxlex syntax.
1618 2003-12-01 André Pönitz <poenitz@gmx.net>
1620 * insetcollapsable.[Ch]:
1621 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1623 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1625 * insetvspace.C (read): handle 'end_inset' token.
1627 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1629 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1631 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1633 * insetcollapsable.[Ch]:
1635 * insetcharstyle.C: place inset content on the button when
1638 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1640 * insetvspace.C: remove VSpace::NONE; increase inset width
1642 2003-12-01 André Pönitz <poenitz@gmx.net>
1644 * insetbase.h: whitespace
1646 * inset.[Ch]: remove latexTextWidth
1647 make setBackgroundColor virtual
1649 * insettext.[Ch]: move ParagraphList member to LyXText
1651 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1657 * insetminipage.[Ch]:
1659 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1661 2003-11-28 Angus Leeming <leeming@lyx.org>
1663 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1664 hiding and showing the dialog respectively.
1665 (priv_dispatch): also actually update the inset contents.
1667 2003-11-28 Angus Leeming <leeming@lyx.org>
1669 * insetbox.C (d-tor):
1670 * insetbranch.C (d-tor):
1671 * insetcite.C (d-tor):
1672 * insetfloat.C (d-tor):
1673 * insetfloatlist.C (d-tor):
1674 * insetinclude.C (d-tor):
1675 * insetindex.C (d-tor):
1676 simplify the invocation of the Mailer::hideDialog() function.
1678 * insetminipage.C (showInsetDialog):
1679 simplify the invocation of the Mailer::showialog() function.
1681 2003-11-28 André Pönitz <poenitz@gmx.net>
1684 * insetvspace.[Ch]: new insets
1686 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1688 * insetcharstyle.C: Syntax change for CharStyles
1690 2003-11-28 André Pönitz <poenitz@gmx.net>
1692 * updatableinset.h: remove insetInInsetY
1694 * insetcollapsable.[Ch]:
1696 * insettabular.[Ch]:
1697 * insettext.[Ch]: adjust
1699 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1703 * insetcollapsable.[Ch]:
1705 * insettabular.[Ch]: remove setFont
1707 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1709 * render_graphic.[Ch]: adjust comments
1711 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1713 * insetgraphics.C (draw): cache xo_ & yo_
1715 2003-11-24 André Pönitz <poenitz@gmx.net>
1717 * insettext.C (setViewCache): don't call LyXText::init() anymore
1719 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1722 * insetcollapsable.[Ch]:
1723 * insetert.[Ch]: remove bufferview parameter in methods
1724 open, close, status, and updateStatus.
1726 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1728 * insetcollapsable.[Ch]:
1729 * insettabular.[Ch]:
1730 * insettext.[Ch] (getCursorDim): squash unused variable
1732 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1734 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1736 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1738 * insettext.C (draw): sets LyXText absolute coordinates
1740 2003-11-20 Angus Leeming <leeming@lyx.org>
1742 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1743 warnings about unused parameters.
1745 * insetcollapsable.C (open):
1746 * insettabular.C (pasteSelection):
1747 * insettoc.C (draw): ditto.
1749 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1751 * insetcollapsable.C:
1753 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1754 remove mouse_x mouse_y etc.
1756 2003-11-17 André Pönitz <poenitz@gmx.net>
1758 * insettext.[Ch] (cx, cy): remove
1760 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1762 2003-11-13 André Pönitz <poenitz@gmx.net>
1765 * insetcollapsable.[Ch]:
1766 * insettabular.[Ch]:
1767 * insettext.[Ch] (deleteLyXText): remove
1769 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1771 * insetcollapsable.[Ch] (fitInsetCursor): remove
1772 * insettabular.[Ch] (fitInsetCursor): remove
1773 * insettext.[Ch] (fitInsetCursor): remove
1774 * updatableinset.[Ch] (fitInsetCursor): remove
1775 (getCursorDIm): add virtual
1777 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1779 * src/insets/Makefile.am:
1780 * src/insets/inset.h:
1781 * src/insets/insetcharstyle.C:
1782 * src/insets/insetcharstyle.h: The Character Style /XML short
1785 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1787 * insettext.C: remove all update calls
1788 * insetcollapsable.C: remove all update calls
1790 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1792 * insettext.C (updateLocal, insertInset, setFont): remove
1795 2003-11-10 André Pönitz <poenitz@gmx.net>
1797 * inset.h: remove Inset::id_
1799 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1804 2003-11-10 André Pönitz <poenitz@gmx.net>
1808 * insetcollapsable.[Ch]:
1812 * insettabular.[Ch]:
1815 * updatableinset.[Ch]: remove inset locking & adjust
1817 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1819 * inset.h (allowSpellCheck): add (return true)
1820 * insetert.h (allowSpellCheck): add (return false)
1822 2003-11-05 José Matos <jamatos@lyx.org>
1828 * insetcaption.[Ch]:
1830 * insetcollapsable.[Ch]:
1831 * insetcommand.[Ch]:
1834 * insetexternal.[Ch]:
1836 * insetfloatlist.[Ch]:
1838 * insetgraphics.[Ch]:
1840 * insetinclude.[Ch]:
1843 * insetlatexaccent.[Ch]:
1846 * insetmarginal.[Ch]:
1847 * insetminipage.[Ch]:
1848 * insetnewline.[Ch]:
1851 * insetpagebreak.[Ch]:
1855 * insetspecialchar.[Ch]:
1856 * insettabular.[Ch]:
1858 * insettheorem.[Ch]:
1861 * insetwrap.[Ch]: rename ascii to plaintext
1862 and LatexRunParams to OutputParams.
1864 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1866 * insetcollapsable.C (edit): add open() all
1867 * insettext.C (edit): add setViewCache call
1869 2003-11-04 André Pönitz <poenitz@gmx.net>
1871 * inset.h (edit): move locking code from dispatch() to edit()
1877 * insetcollapsable.[Ch]:
1880 * insetexternal.[Ch]:
1881 * insetgraphics.[Ch]:
1886 * insettabular.[Ch]:
1887 * insettext.[Ch]: adjust
1889 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1892 * insetcollapsable.[Ch]:
1894 * insettabular.[Ch]:
1896 * updatableinset.[Ch]: remove dead search code
1898 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1901 * insetcollapsable.[Ch]:
1903 * insettabular.[Ch]:
1905 * updatableinset.[Ch]: remove dead spellcheck code
1907 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1909 * insettabular.C (lockInsetInInset): small fix
1911 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1914 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1915 from here. Be stricter on DispatchResult returned.
1917 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * Inset::dispatch's: adjust for new DispatchResult semantics.
1921 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * render_base.h: make clone return an auto_ptr
1924 * render_button.C (clone): adjust
1925 * render_graphic.C (clone): adjust
1926 * render_preview.C (clone): adjust
1928 * insettheorem.C (clone): return an auto_ptr
1930 * insettext.C (priv_dispatch): exception safety
1932 * insettabular.C: store the file scope variable paste_tabular in a
1933 scoped_ptr, adjust usage.
1935 * insetexternal.C (setParams): exception safety
1937 * insetbibitem.C (clone): exception safety
1939 2003-11-03 André Pönitz <poenitz@gmx.net>
1942 * insetcollapsable.[Ch]:
1943 * insettabular.[Ch]:
1944 * insettext.[Ch]: remove Inset::id and related functions
1946 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1948 * insets: adjust for DispatchResult changes.
1950 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1952 * insetpagebreak.C: fix screen representation & ascii output.
1954 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1958 * insettabular.[Ch]:
1959 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1961 2003-10-31 José Matos <jamatos@lyx.org>
1963 * inset.h (ascii, linuxdoc, docbook):
1964 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1965 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1966 * insetcaption.[Ch] (ascii, docbook):
1967 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1968 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1969 * insetert.[Ch] (ascii, linuxdoc, docbook):
1970 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1971 * insetfloat.[Ch] (linuxdoc, docbook):
1972 * insetfloatlist.[Ch] (ascii):
1973 * insetfoot.[Ch] (docbook):
1974 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1975 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1976 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1977 * insetindex.[Ch] (docbook):
1978 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1979 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1980 * insetline.[Ch] (ascii, linuxdoc, docbook):
1981 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1982 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1983 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1984 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1985 * insetref.[Ch] (ascii, linuxdoc, docbook):
1986 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1987 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1988 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1989 * insettext.[Ch] (ascii, linuxdoc, docbook):
1990 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1991 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1992 * insetwrap.[Ch] (docbook):
1993 add LatexRunParams argument.
1995 2003-10-30 José Matos <jamatos@lyx.org>
1997 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1999 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * updatableinset.C (priv_dispatch):
2002 * insetwrap.C (priv_dispatch):
2003 * inseturl.C (priv_dispatch):
2004 * insettoc.C (priv_dispatch):
2005 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2006 (moveLeftIntern, moveUp, moveDown):
2007 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2008 (moveLeft, moveUp, moveDown):
2009 * insetref.C (priv_dispatch):
2010 * insetnote.C (priv_dispatch):
2011 * insetminipage.C (priv_dispatch):
2012 * insetlabel.C (priv_dispatch):
2013 * insetindex.C (priv_dispatch):
2014 * insetinclude.C (priv_dispatch):
2015 * insetgraphics.C (priv_dispatch):
2016 * insetfloatlist.C (priv_dispatch):
2017 * insetfloat.C (priv_dispatch):
2018 * insetexternal.C (priv_dispatch):
2019 * insetert.C (priv_dispatch):
2020 * insetcommand.C (priv_dispatch):
2021 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2022 * insetcite.C (priv_dispatch):
2023 * insetbranch.C (priv_dispatch):
2024 * insetbox.C (priv_dispatch):
2025 * insetbibtex.C (priv_dispatch):
2026 * insetbibitem.C (priv_dispatch):
2027 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2029 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2031 * insettext.C: small refactoring of docbook stuff
2033 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2036 (priv_dispatch): adjust for operator dispatch_result_t removal
2038 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2039 in a DispatchResult, adjust accordingly.
2040 (priv_dispatch): use strange >= construct... (will be removed later)
2042 * most insets: dispatch_result -> DispatchResult
2044 * insetbase.h: move DispatchResult out to dispatchresult.h
2046 2003-10-27 André Pönitz <poenitz@gmx.net>
2048 * insetpagebreak.[Ch]: new inset for page breaks
2050 * insetline.[Ch]: new inset for vertical lines
2055 2003-10-25 Angus Leeming <leeming@lyx.org>
2057 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2058 new virtual member functions, specialised...
2059 * render_button.h (asButton):
2060 * render_graphic.h (asGraphic):
2061 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2063 * insetexternal.C: use these new functions rather than dynamic_cast.
2064 Various other small simplifications.
2066 2003-10-22 Angus Leeming <leeming@lyx.org>
2068 * insetexternal.[Ch]: add the ability to 'preview' the external file
2071 * insetinclude.C: changes due to the changes in the RenderPreview
2074 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2075 message if the preview image is not available. Only initiate the
2076 loading of the preview from draw(). Ditto, start the monitoring
2077 of an external file from RenderMonitoredPreview::draw.
2079 2003-10-22 Angus Leeming <leeming@lyx.org>
2081 * insetcite.[Ch] (setLoadingBuffer): removed.
2082 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2083 ascertain whether to proceed with the (expensive) task of computing
2084 the natbib-style label. Remove the home-grown hack providing
2085 similar functionality.
2087 2003-10-22 Angus Leeming <leeming@lyx.org>
2089 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2090 class and into an anonymous namespace.
2092 2003-10-22 Angus Leeming <leeming@lyx.org>
2094 * insetcommand.h: remove the display method.
2098 * insetindex.h (InsetPrintIndex):
2099 * insettoc.h: add a display method, returning true.
2101 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2103 * insetcollapsable.h:
2107 * insetinclude.h: (1) finish off the inset display() work;
2108 (2) fix the "is a bit silly" bug (accessing char
2111 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2115 * insetfootlike.h: re-introduce display() for insets,
2116 fixing the various bugs (stretch of line above, math inset
2119 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2121 * insetbase.C (dispatch): new func
2122 (priv_dispatch): new func replaces...
2123 (localDispatch): this, deleted.
2125 * all insets with dispatch modified for new code.
2127 2003-10-15 André Pönitz <poenitz@gmx.net>
2129 * insetcollapsable.[Ch]
2131 * inset.h: re-add some edit(bv, index) method called by undo
2133 2003-10-14 Angus Leeming <leeming@lyx.org>
2135 * insetexternal.[Ch] (view, cache, view_):
2136 * insetgraphics.[Ch] (view, cache, view_):
2137 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2138 (statusChanged): call LyX::cref().updateInset.
2140 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2141 the BufferView cache.
2143 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2146 2003-10-14 Angus Leeming <leeming@lyx.org>
2148 * insetinclude.C (metrics, draw): only draw the preview when previews
2151 2003-10-14 André Pönitz <poenitz@gmx.net>
2153 * insetcollapsable.[Ch]:
2154 * insettabular.[Ch]:
2156 * inset.h: getText() as alternative to getParagraphs()
2158 2003-10-13 Angus Leeming <leeming@lyx.org>
2161 * insetgraphicsParams.C: displayTranslator is now a function.
2163 2003-10-13 Angus Leeming <leeming@lyx.org>
2165 * insetinclude.C: remove #include "PreviewImage.h".
2167 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * ExternalSupport.C:
2170 * ExternalTransforms.C:
2172 * insetbox.h: ws changes only
2174 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * insetinclude.C (localDispatch): do not call
2177 InsetOld::localDispatch, just return UNDISPATCHED
2178 * insetgraphics.C (localDispatch): ditto
2179 * insetcommand.C (localDispatch): ditto
2181 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * inset.h: get rid of RESULT typedef for dispatch_result
2185 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2186 * insetert.[Ch] (localDispatch): ditto
2187 * insettabular.[Ch] (localDispatch): ditto
2192 * insettext.[Ch] (localDispatch): ditto
2195 (moveRightIntern): ditto
2196 (moveLeftIntern): ditto
2199 * updatableinset.[Ch] (localDispatch): ditto
2201 2003-10-12 Angus Leeming <leeming@lyx.org>
2203 * renderbase.h (view, view_): removed.
2204 * renderbase.C: removed.
2205 * Makefile.am: remove render_base.C. The shortest lived file in
2208 * renderbutton.C (draw):
2209 * render_graphic.C (draw): don't cache the BufferView.
2211 * insetabase.h (cache, view): removed.
2213 * inset.h (generatePreview) removed.
2215 * insetcallapsable.[Ch] (cache, view, view_): removed.
2217 * insetcollapsable.C (draw): don't cache the BufferView.
2219 * insetcommand.[Ch] (view): removed.
2221 * insetexternal.[Ch] (cache, view, view_):
2222 * insetgraphics.[Ch] (cache, view, view_):
2223 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2225 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2226 when you have direct access to it. In fact, don't use the cache at all.
2228 2003-10-10 Angus Leeming <leeming@lyx.org>
2230 * insetinclude.C (metrics): use preview_->metrics.
2231 (draw): use preview_->draw.
2233 * render_preview.[Ch] (pimage): removed.
2235 2003-10-10 Angus Leeming <leeming@lyx.org>
2237 * renderers.[Ch]: removed.
2240 * render_button.[Ch]:
2241 * render_graphic.[Ch]:
2242 * render_preview.[Ch]: new files. The first three are split out of
2243 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2244 contains a re-worked InsetInclude::PreviewImpl also.
2246 * Makefile.am: reflect the changed files.
2249 * insetexternal.[Ch]:
2250 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2252 * insetinclude.[Ch]: changes reflecting the change from
2253 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2259 * inseturl.C: add #include "support/std_ostream.h"
2261 2003-10-09 Angus Leeming <leeming@lyx.org>
2263 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2264 to PreviewedInset::previewReady.
2266 2003-10-09 Angus Leeming <leeming@lyx.org>
2268 * insetexternal.[Ch] (statusChanged):
2269 * insetgraphics.[Ch] (statusChanged): make a const member function.
2271 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2274 2003-10-09 Angus Leeming <leeming@lyx.org>
2276 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2277 to PreviewedInset's previewReady and removePreview member functions.
2279 2003-10-08 André Pönitz <poenitz@gmx.net>
2281 * insetcollapsable.C:
2282 * insettext.[Ch]: saner 'init' structure
2284 * updatableinset.[Ch]: remove unneeded code
2286 2003-10-08 Angus Leeming <leeming@lyx.org>
2288 Fix doxygen warnings.
2290 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2291 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2293 2003-10-07 Angus Leeming <leeming@lyx.org>
2295 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2296 be applied to InsetExternal.
2298 * Makefile.am: add these new files.
2300 * ExternalTemplate.[Ch]: add a list of available transforms to
2301 class Template and a list of factory functions for transformer classes
2302 that can act on this data to class Format.
2304 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2306 * ExternalSupport.C: Add code to replace transform placeholders
2307 with appropriate output.
2309 2003-10-07 Angus Leeming <leeming@lyx.org>
2311 * ExternalSupport.[Ch]: new files, moving the private member functions
2312 and namespace anon functions out of insetexternal.C to here, so making
2313 it easier to understand what is going on in insetexternal itself.
2315 * Makefile.am: add new files.
2317 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2318 allowing the class to be forward declared. (Also consistent with
2319 all other Params classes.)
2320 (write): moved out of the class. Move this function and those in
2321 namespace anon to ExternalSupport.[Ch].
2323 2003-10-07 Angus Leeming <leeming@lyx.org>
2325 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2326 non-const member function.
2328 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2333 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2335 2003-10-02 André Pönitz <poenitz@gmx.net>
2337 * insettext.C (read): make sure there is at least one par
2338 in the text after reading.
2340 2003-10-01 José Matos <jamatos@lyx.org>
2342 * insetbranch.C (linuxdoc, docbook): minor fix.
2344 2003-10-01 Angus Leeming <leeming@lyx.org>
2346 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2348 * insetexternal.[Ch]: changes due to the introduction of
2349 namespace lyx::external.
2351 2003-09-30 Angus Leeming <leeming@lyx.org>
2353 * insetexternal.[Ch] (Params::read, write): new member functions.
2355 2003-09-25 Angus Leeming <leeming@lyx.org>
2357 * insetexternal.[Ch] (TempName): new (private) nested struct with
2358 fake copy semantics. Enables us to use the generated copy c-tor
2359 in the Params struct.
2360 (Params::templatename, Params::tempname): use accessor functions.
2362 2003-09-25 Angus Leeming <leeming@lyx.org>
2364 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2365 function, returning a const pointer.
2367 2003-09-23 Angus Leeming <leeming@lyx.org>
2369 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2370 store them in a vector, preambleNames.
2372 * insetexternal.C (validate): loop over all preambleNames and call
2373 LaTeXFeatures::addExternalPreamble with each.
2375 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2377 * insetbranch.C: bug fix in branches
2379 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2381 * insetnote.C: small clean-up.
2383 2003-09-19 Angus Leeming <leeming@lyx.org>
2385 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2387 * insetcommand.C (string2params): clear params using the default c-tor.
2389 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2390 InsetInclude::Params. No more data in this struct than in
2391 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2392 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2393 (clone): remove #warning as it's now redundant.
2394 (set): add a 'Buffer const &' arg. Make private.
2395 (loadIfNeeded) move out of the class definition and into namespace anon.
2396 (getMasterFilename, getFileName): ditto.
2398 2003-09-18 Angus Leeming <leeming@lyx.org>
2400 * insetcommand.C (setParams): use the params' copy constructor.
2402 2003-09-18 Angus Leeming <leeming@lyx.org>
2404 * insetinsetbase.h (getLabelList):
2405 * insetinsetcollapsable.[Ch] (getLabelList):
2406 * insetinsetinclude.[Ch] (getLabelList):
2407 * insetinsetlabel.[Ch] (getLabelList):
2408 * insetinsettabular.[Ch] (getLabelList):
2409 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2410 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2412 2003-09-18 Angus Leeming <leeming@lyx.org>
2414 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2415 redundant baggage from yesteryear.
2416 Remove Params::flag as it is redundant; the info is present in
2419 2003-09-18 Angus Leeming <leeming@lyx.org>
2421 * insetinclude.C (latexString): add a Buffer const & arg.
2423 2003-09-18 Angus Leeming <leeming@lyx.org>
2428 * insettext.h: rename EnumLColor as LColor_color.
2430 2003-09-18 Angus Leeming <leeming@lyx.org>
2432 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2433 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2435 2003-09-16 Angus Leeming <leeming@lyx.org>
2437 * insetinclude.C (localDispatch): ensure that
2438 params_.masterFilename_ is set before trying to generate a
2439 preview, else we trigger an assert.
2441 2003-09-16 Angus Leeming <leeming@lyx.org>
2443 * insetinclude.C (PreviewImpl::parent): return a const reference.
2445 2003-09-16 Angus Leeming <leeming@lyx.org>
2447 * insetcollapsable.[Ch]: make all member variables, except for
2450 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2451 than access labelfont directly.
2452 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2453 use InsetCollapsable::setCollapsed, isOpen rather than access
2454 collapsed_ directly.
2456 * insetminipage.C (metrics):
2457 * insetnote.C (metrics):
2458 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2459 access collapsed_ directly.
2461 2003-09-16 Angus Leeming <leeming@lyx.org>
2463 * insetbibitem.C: add #include "lyxfont.h".
2465 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * insetbibtex.C: use namespace alias for lyx::support::os
2470 2003-09-16 Angus Leeming <leeming@lyx.org>
2472 * insetcollapsable.h: remove unused framecolor variable.
2473 Remove #include "LColor.h".
2475 * insetcollapsable.C: remove unused framecolor variable.
2478 * insetcollapsable.C:
2486 Add #include "LColor.h".
2488 2003-09-16 Angus Leeming <leeming@lyx.org>
2490 * insettext.[Ch] (frameColor): new accessor function.
2491 (frame_color_): stored as an int, allows us to remove #include
2492 "LColor.h" from insettext.h
2497 add #include "LColor.h".
2499 * insetcollapsable.h: add #include "LColor.h"
2500 (for its framecolor member variable).
2502 2003-09-16 Angus Leeming <leeming@lyx.org>
2504 * insetenv.C (constructor): use accessor functions to access
2505 InsetText variables.
2507 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2508 rename frame_color as frame_color_. Make private.
2510 * insettext.C: associated changes.
2512 2003-09-16 Angus Leeming <leeming@lyx.org>
2514 * inset.h: store background_color_ as an int, not as an
2515 LColor::color to get LColor.h out of the header file.
2518 * insetlatexaccent.C:
2521 * insetspecialchar.C:
2523 add #include "LColor.h".
2525 2003-09-16 Angus Leeming <leeming@lyx.org>
2527 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2528 cannot string calls together.
2530 2003-09-15 Angus Leeming <leeming@lyx.org>
2532 * inset.[Ch] (setBackgroundColor, backgroundColor):
2533 * insettext.[Ch] (setFrameColor):
2534 pass EnumLColor args, rather than LColor::color ones.
2536 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2546 * insetwrap.C: remove usage of STRCONV
2548 2003-09-15 Angus Leeming <leeming@lyx.org>
2550 * renderers.C (draw):
2551 * insetlatexaccent.C (draw): explicitly define the color passed to
2554 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2556 * insettext.C: remove block causing problems in lockInsetInInset
2557 (mentioned erroneously under Bug #1366)
2559 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2561 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2564 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2566 * several files: change Assert to BOOST_ASSERT
2568 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2570 * insettext.[Ch]: remove drawText[XY]Offset
2572 2003-09-08 Angus Leeming <leeming@lyx.org>
2574 * insetcollapsable.C:
2579 * insetspecialchar.C:
2582 * insettoc.C: remove redundant using directives.
2584 2003-09-07 Angus Leeming <leeming@lyx.org>
2587 * insetspecialchar.h: remove #include "support/std_string.h".
2589 2003-09-06 Angus Leeming <leeming@lyx.org>
2591 * renderers.C: add #include "insets/inset.h"
2593 2003-09-05 Angus Leeming <leeming@lyx.org>
2595 * *.C: strip out redundant #includes. (193 in total.)
2597 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2599 * insets/insetbibtex.[Ch]:
2600 * insets/insetcommand.h:
2601 * insets/insetfloatlist.[Ch]:
2602 * insets/insetinclude.[Ch]:
2603 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2604 of insets like bibtex, include, toc and floatlist to the visible
2605 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2606 up the dialogs. Cursor has to be in front of the inset (i.e.
2607 start of row) for this to function.
2609 2003-09-04 Angus Leeming <leeming@lyx.org>
2611 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2612 structure outside of the Format struct. Format::preambleName refers to
2613 an item in the map of all preamble snippets.
2614 Make use of the new Debug::EXTERNAL flag.
2616 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2617 (validate): Small change due to the changed storage of preamble
2620 2003-09-04 Angus Leeming <leeming@lyx.org>
2622 * insetgraphics.C: #include "support/os.h"
2624 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2625 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2626 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2628 * insetcollapsable.h:
2630 * insetnote.C: move #include "funcrequest.h" out of the header file.
2632 2003-09-03 Angus Leeming <leeming@lyx.org>
2634 * insetexternal.C (updateExternal):
2635 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2638 2003-09-03 Angus Leeming <leeming@lyx.org>
2640 * insetexternal.C: don't bring namespace lyx::support into the global
2643 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2645 * insetbranch.C: Add Branch: to label
2647 2003-09-02 John Levon <levon@movementarian.org>
2650 * insettext.C: remove cursor.i[xy]()
2652 2003-08-28 Angus Leeming <leeming@lyx.org>
2654 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2655 "sh ", enabling the conversion to be carried out even if the script
2658 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * most files: change to use const Buffer refs
2662 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2664 * insetfootlike.C: whitespace.
2666 2003-08-26 John Levon <levon@movementarian.org>
2670 * insetindex.h: remove remaining mentions of needFullRow()
2672 2003-08-26 André Pönitz <poenitz@gmx.net>
2678 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2680 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2682 * insetbranch.C: Small fix to prevent a crash on loading.
2684 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2689 * insetcollapsable.h:
2691 * insetfloatlist.[Ch]:
2692 * insetfootlike.[Ch]:
2693 * insetinclude.[Ch]:
2699 * insettheorem.[Ch]:
2700 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2701 altogether, putting the logic in metrics/draw in the insets.=20
2702 Draws short single row insets with more or less realistic metrics.
2704 2003-08-19 André Pönitz <poenitz@gmx.net>
2706 * insettext.C: use new RowPainter interface
2708 2003-08-18 John Levon <levon@movementarian.org>
2710 * insetref.C: require amsmath for eqref
2712 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2716 * insetbranch.[Ch]: implements the 'branch inset'
2717 idea. This allows the output of various versions of a document
2718 from a single source version, selectively outputing or suppressing
2719 output of parts of the text.
2720 This implementation contains a 'branch list editor' in a separate
2721 tab of the document settings dialog. Branches are user definable
2722 and have a "display colour" to distinguish them on-screen.
2724 ColorHandler was somewhat cleaned up.
2725 (1) make possible a dynamically growing LColor list by allowing
2726 the graphic context cache to grow along (vector);
2727 (2) eliminate an IMHO unnecessary step in colour allocation.
2729 2003-08-15 André Pönitz <poenitz@gmx.net>
2731 * insettext.[Ch]: adjust after rowlist split
2733 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2735 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2736 rename valign-center to valign-middle;
2737 rename VALIGN_CENTER to VALIGN_MIDDLE
2739 2003-08-11 André Pönitz <poenitz@gmx.net>
2741 * inset.h: remove resizeLyXText
2744 * insetcollapsable.[Ch]:
2746 * insettabular.[Ch]: adjust
2748 * insettext.[Ch]: remove saveLyXTextState,
2749 restoreLyXTextStat, sstate, reinitLyXText
2751 2003-08-07 André Pönitz <poenitz@gmx.net>
2753 * inset.[Ch]: move non-crucial functions out-of-line
2755 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2756 remove duplicated code.
2758 2003-08-05 André Pönitz <poenitz@gmx.net>
2761 * insetcollapsable.[Ch]:
2771 * insettabular.[Ch]:
2774 * updatableinset.[Ch]: rip out "deep update"
2776 * insettext.C (localDispatch): merge cases with default branch
2778 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2780 * insettabular.[Ch] (updateLocal): simplify logic
2782 2003-08-04 André Pönitz <poenitz@gmx.net>
2784 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2785 is 'FULL' all the time.
2787 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 * insetert.C (get_new_label): only add ... to the (closed) label
2790 when the string has been shortened
2792 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2794 * Always use std::endl with lyxerr
2796 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2798 * insetnote.C: update \author list
2800 2003-07-31 André Pönitz <poenitz@gmx.net>
2802 * insetcollapsable.h:
2803 * insettabular.[Ch]:
2804 * insettext.[Ch]: remove toggleSelection
2806 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2808 (with help from Juergen Spitzmueller)
2809 * insetnote.C: add add i18n support. Use Prefs-definable
2810 colours for Comment and Greyedout.
2812 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2814 * insetcollapsable.[Ch]:
2816 * insetert.C: factor out the detection of clicking on the inset
2817 button as 'hitButton'. John Levon contributed.
2819 2003-07-30 André Pönitz <poenitz@gmx.net>
2821 * insetcollapsable.C:
2823 * insettabular.C: parantheses, localize vars etc.
2825 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2827 * insetnote.C: Implement a newenvironment in preamble for
2828 greyedout. Patch provided by Jürgen Spitzmüller.
2830 2003-07-29 Angus Leeming <leeming@lyx.org>
2832 * insetcommand.C (localDispatch): default to
2833 InsetOld::localDispatch.
2835 * insetbibitem.C (localDispatch):
2836 * insetbibtex.C (localDispatch): remove call to
2837 ChangeCitationsIfUnique.
2839 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2841 * insetexternal.C (read): use pushpophelper.
2843 2003-07-28 José Matos <jamatos@lyx.org>
2845 * insetext.C (read): \end_document replaces \the_end.
2847 2003-07-28 José Matos <jamatos@fep.up.pt>
2849 * insetert.C (write): \layout -> \begin_layout.
2850 Add missing \end_layout.
2852 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * insetquotes.C: document a bit the format
2856 * insettabular.C (write): remove extra space
2858 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2859 * insetnote.C: Umpf. Hope I *now* get it right :-(
2861 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2862 *insetnote.C: did the right fix to greyedout: \color
2863 instead of \textcolor.
2865 2003-07-28 Angus Leeming <leeming@lyx.org>
2867 * insetbibtex.h: remove extraneous forward declaration.
2870 * insetbibtex.h: Also remove long-dead Holder member class
2873 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2875 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2878 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * insetwrap.C (addToToc): adjust for lyx::toc
2882 * insetfloatlist.C (ascii): adjust for lyx::toc
2884 * insetfloat.C (addToToc): adjust for lyx::toc
2886 2003-07-27 José Matos <jamatos@fep.up.pt>
2888 * insetnote.h (linuxdoc,docbook): update support.
2890 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2892 * insetfloat.C (wide): add a space to label, for consistency
2894 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * insettext.C (nextChange): adjust for lyx::find
2897 (searchForward): ditto
2898 (searchBackward): ditto
2900 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2902 * insetgraphicsParams.C:
2903 * insetexternal.C: declare extern displayTranslator
2906 * renderers.C: add #include "support/LAssert.h"
2908 2003-07-27 José Matos <jamatos@fep.up.pt>
2910 * insetfloat.[Ch] (linuxdoc):
2911 * insetgraphics.C (linuxdoc):
2912 * insettabular.C (linuxdoc):
2913 * insettext.[Ch] (linuxdoc): add support for tables and figures
2916 2003-07-27 José Matos <jamatos@fep.up.pt>
2918 * insetinclude (latex): comply with makeLaTeXFile argument change.
2920 2003-07-26 Asger Alstrup <alstrup@local>
2922 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2923 the undo crashes. We'll see what problems other places this will
2926 2003-07-26 Angus Leeming <leeming@lyx.org>
2928 * insetgraphics.C: remove unused declaration of system_tempdir.
2930 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * rename Inset to InsetOld
2934 * all inset files (clone): return a auto_ptr<InsetBase>
2936 2003-07-23 Angus Leeming <leeming@lyx.org>
2938 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2940 2003-07-23 Angus Leeming <leeming@lyx.org>
2942 * mailinset.[Ch] (inset2string):
2943 * insetcommand.[Ch] (inset2string):
2944 * insetert.[Ch] (inset2string):
2945 * insetexternal.[Ch] (inset2string):
2946 * insetfloat.[Ch] (inset2string):
2947 * insetgraphics.[Ch] (inset2string):
2948 * insetinclude.[Ch] (inset2string):
2949 * insetminipage.[Ch] (inset2string):
2950 * insetnote.[Ch] (inset2string):
2951 * insettabular.[Ch] (inset2string):
2952 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2954 * insetexternal.[Ch]:
2955 * insetgraphics.[Ch]: get rid of the view() function. Associated
2956 changes to the mailers' string2params and params2string functions.
2958 2003-07-23 Angus Leeming <leeming@lyx.org>
2960 * insetexternal.[Ch]: store the external file name in a FileName
2961 member variable rather than a string + associated changes.
2963 2003-07-21 Angus Leeming <leeming@lyx.org>
2965 * insetgraphicsParams.[Ch]: store the graphics file name in
2966 a FileName member variable rather than a string.
2968 * insetgraphics.[Ch]:
2969 * insetgraphicsParams.[Ch]: Associated changes.
2971 2003-07-21 Angus Leeming <leeming@lyx.org>
2973 * insetgraphics.[Ch] (string2params, params2string): passed a
2974 buffer_path argument.
2977 2003-07-21 Angus Leeming <leeming@lyx.org>
2980 * insetgraphicsParams.[Ch]:
2982 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2984 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2986 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2988 2003-07-18 André Pönitz <poenitz@gmx.net>
2991 * insetminipage.[Ch]:
2992 * insettabular.[Ch]:
2995 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2997 2003-07-18 André Pönitz <poenitz@gmx.net>
3001 * insetcollapsable.C:
3005 * insetgraphics.[Ch]:
3006 * insetlatexaccent.[Ch]:
3011 * insetspecialchar.C:
3012 * insettabular.[Ch]:
3014 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3016 2003-07-17 André Pönitz <poenitz@gmx.net>
3018 * insetcollapsable.C:
3020 * insettext.C: don't call Inset::update() anymore
3023 * insettabular.[Ch]: remove unneeded in_update_ members
3025 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3027 2003-07-16 André Pönitz <poenitz@gmx.net>
3029 * insettext.C (selectAll): remove
3031 2003-07-16 John Levon <levon@movementarian.org>
3034 * insetnote.C: implement showInsetDialog()
3036 2003-07-15 André Pönitz <poenitz@gmx.net>
3039 * insettext.C: refresh_status tristate -> need_update bool
3041 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3043 * insettext.C: adjust call to LyXText::init
3045 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3047 * insettext.C: use bufferview_funcs->replaceSelection()
3048 to delete selections in some cases (bugs 441, 673, 702, 954).
3050 2003-07-14 André Pönitz <poenitz@gmx.net>
3052 * insettext.C (draw): use slimmed down rowpainter interface
3054 2003-07-14 André Pönitz <poenitz@gmx.net>
3056 * insetcollapsable.C:
3058 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3059 remove unused BufferView * argument
3061 2003-07-14 André Pönitz <poenitz@gmx.net>
3063 * insettext.[Ch]: used cached metrics a bit more
3065 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3067 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3069 2003-07-10 André Pönitz <poenitz@gmx.net>
3072 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3074 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * introduce namespace lyx::graphics
3078 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * introduce namespace lyx::support
3082 2003-06-30 André Pönitz <poenitz@gmx.net>
3084 * insetcite.C (localDispatch): fix case of missing return value
3086 * insetcite.C (ascii): remove unneeded temporary
3088 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * insetspace.h: fix \file
3092 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3093 * insetinclude.C (fillWithBibKeys): ditto
3095 * insetbibitem.C: fix type const order
3097 * inset.C (getLyXText): add varname for arg
3099 * ExternalTemplate.h: fix type const order
3101 2003-06-27 André Pönitz <poenitz@gmx.net>
3103 * insettext.C: take care of removed LyXCursor::row_ member
3105 * insettext.[Ch]: use new TextCursor struct for sstate
3107 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3109 * inseterror.[Ch]: removed
3111 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3113 * insetinclude.C (docbook): use parseError instead of sgmlError
3115 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3117 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3118 of BufferList::loadLyXFile
3120 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * insettext.C (update): simplify
3123 (updateLocal): remove commented code
3124 (insetUnlock): simplify
3125 (lockInset): simplify
3126 (updateInsetInInset): simplify
3127 (localDispatch): simplify
3129 (resizeLyXText): simplify
3130 (collapseParagraphs): simplify
3132 * insetert.C (get_new_label): simplify
3134 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3136 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3137 pasteSelection with index
3139 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3141 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3143 2003-06-16 André Pönitz <poenitz@gmx.net>
3145 * insetbase.h: new virtual base function clone()
3147 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3148 Inset * clone() -> InsetBase * clone()
3150 2003-06-13 André Pönitz <poenitz@gmx.net>
3152 * insettabular.[Ch]: make tabular a proper member
3154 2003-06-12 André Pönitz <poenitz@gmx.net>
3156 * insettabular.[Ch]: some renaming plus whitespace
3158 2003-06-11 Angus Leeming <leeming@lyx.org>
3160 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3163 * insetbutton.[Ch]: removed.
3164 * graphicinset.[Ch]: renamed as renderers.[Ch].
3166 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3167 Create a new class ButtonRenderer using the InsetButton::metrics() and
3169 Derive both from a common RenderedInset base class.
3171 * insetcommand.[Ch]:
3172 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3173 Give it a ButtonRenderer member variable. Use it.
3174 Give the classes working copy c-tors.
3175 No longer derive from boost::noncopyable.
3177 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3178 display its contents as a button or as a graphic.
3180 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3183 2003-06-11 Angus Leeming <leeming@lyx.org>
3185 * insetcite.C (localDispatch): reformat.
3187 * insetref.C (localDispatch): enable dialog to be lauched.
3189 2003-06-11 John Levon <levon@movementarian.org>
3191 * insettabular.C: correctly mark all cells as erased
3193 2003-06-11 Angus Leeming <leeming@lyx.org>
3195 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3196 ExternalTemplate but its name, templatename. This means that a file
3197 containing a reference to an External Template not installed on the
3198 current machine will be saved retaining this info rather than inserting
3199 the first "valid" template from the list of templates.
3201 As a by product, the visual statement that the Template is missing is
3204 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3206 * insettext.C (appendParagraphs): remove some commented code.
3208 2003-06-10 Angus Leeming <leeming@lyx.org>
3210 * graphicinset.[Ch] (view): removed the publicly accessible
3211 function to set the cache.
3213 * insetexternal.[Ch]: move tempname_ into the Params struct.
3214 (Params d-tor): new function, to clean-up this temp file.
3215 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3217 (editExternal, doSubstitution): move out of class.
3219 2003-06-10 Angus Leeming <leeming@lyx.org>
3221 * graphicinset.[Ch] (params): removed.
3222 * graphicinset.h (operator=): declared private but not defined.
3223 (statusMessage): made private.
3225 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3227 2003-06-07 John Levon <levon@movementarian.org>
3229 * insetert.C (latex): make a newline mean just that not
3232 2003-06-07 José Matos <jamatos@fep.up.pt>
3234 * insethfill.[Ch] (linuxdoc, docbook): implement output
3235 * insetspace.C (linuxdoc, docbook): remove coments as the code
3238 2003-06-06 José Matos <jamatos@fep.up.pt>
3240 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3242 2003-06-06 André Pönitz <poenitz@gmx.net>
3244 * insetwrap.[Ch]: code compactification
3246 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3248 * mailinset.C (updateDialog): use Dialogs::visible
3250 2003-06-04 Angus Leeming <leeming@lyx.org>
3252 * graphicinset.C (draw): add a comment for the #if 0 block.
3254 * insetexternal.h: remove Params::parameters variable.
3256 * insetexternal.C (read, write): rewrite to output new ExternalInset
3257 format and read it back making full use of LyXLex.
3259 2003-06-04 André Pönitz <poenitz@gmx.net>
3261 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3263 2003-06-04 John Levon <levon@movementarian.org>
3265 * insettabular.C: back out tall table speed up. It was broken
3267 2003-06-03 Angus Leeming <leeming@lyx.org>
3269 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3270 Remove ViewCommand and UpdateCommand.
3272 * graphicinset.C (update): bug fix. Set the params before calling the
3275 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3276 the BufferView cache to enable the InsetExternal::editCommand to
3277 be invoked from the frontends. Would not be needed if this were
3278 dispatched properly.
3279 (old_ascent_): variable removed.
3281 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3282 do any necessary conversions of external material. Also use the
3283 new GraphicsInset to display the inset within LyX.
3285 2003-06-03 Angus Leeming <leeming@lyx.org>
3287 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3288 and move it somewhere where InsetExternal can use it too.
3290 * Makefile.am: add the new files.
3292 * insetgraphics.[Ch]: make use of the new GraphicInset.
3294 2003-06-03 John Levon <levon@movementarian.org>
3297 * insetbibitem.[Ch]:
3300 * insetcommand.[Ch]:
3304 * insetexternal.[Ch]:
3308 * insetgraphics.[Ch]:
3310 * insetinclude.[Ch]:
3313 * insetlatexaccent.[Ch]:
3314 * insetmarginal.[Ch]:
3315 * insetminipage.[Ch]:
3322 * insetspecialchar.[Ch]:
3323 * insettabular.[Ch]:
3325 * insetthereom.[Ch]:
3328 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3330 * insetgraphics.[Ch]:
3331 * insetgraphicsParams.[Ch]: always store an absolute
3334 2003-06-02 André Pönitz <poenitz@gmx.net>
3338 * insetlatexaccent.C: remove duplicated call to metrics()
3340 2003-06-02 John Levon <levon@movementarian.org>
3342 * insettabular.C: fix resize of column width
3344 2003-06-02 John Levon <levon@movementarian.org>
3349 * insetparent.C: remove insetparent
3351 2003-06-02 André Pönitz <poenitz@gmx.net>
3358 * insetcollapsable.[Ch]:
3362 * insetgraphics.[Ch]:
3363 * insetinclude.[Ch]:
3364 * insetlatexaccent.[Ch]:
3365 * insetminipage.[Ch]:
3366 * insetnewline.[Ch]:
3369 * insetspecialchar.[Ch]:
3370 * insettabular.[Ch]:
3371 * insettext.[Ch]: unify first drawing phase
3374 * insetbase.h: move validate() to the base
3376 2003-05-31 Angus Leeming <leeming@lyx.org>
3378 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3380 2003-05-30 André Pönitz <poenitz@gmx.net>
3385 * insetcaption.[Ch]:
3386 * insetcollapsable.[Ch]:
3389 * insetgraphics.[Ch]:
3390 * insetinclude.[Ch]:
3391 * insetlatexaccent.[Ch]:
3392 * insetnewline.[Ch]:
3395 * insetspecialchar.[Ch]:
3396 * insettabular.[Ch]:
3398 * updatableinset.[Ch]: unify second drawing phase
3400 2003-05-30 John Levon <levon@movementarian.org>
3402 * insetgraphics.C: fix a bformat
3404 2003-05-29 John Levon <levon@movementarian.org>
3406 * insettabular.C: remove unused bufferOwner()
3408 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * insettext.C (lockInsetInInset): adjust
3411 (getLabelList): use const_iterator, adjust
3412 (getInsetFromID): use const_iterator, adjust
3413 (addPreview): use const_iterator, adjust
3415 * insetwrap.C (clone): remove const_cast
3417 * insetnote.C (clone): remove const_cast
3419 * insetminipage.C (clone): remove const_cast
3421 * insetmarginal.C (clone): remove const_cast
3423 * insetfoot.C (clone): remove const_cast
3425 * insetfloat.C (clone): remove const_cast
3427 * insetert.C (clone): remove const_cast
3429 * delete commented same_id functions from a lot of files.
3431 2003-05-28 John Levon <levon@movementarian.org>
3437 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3439 * insetminipage.C: fix metrics (bug 1144)
3441 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * insettext.C (saveLyXTextState): adjust
3444 (restoreLyXTextState): adjust
3447 (unlockInsetInInset): adjust
3448 (localDispatch): adjust
3449 (getLyXText): adjust
3451 * insettabular.C (insertAsciiString): adjust
3453 2003-05-27 André Pönitz <poenitz@gmx.net>
3456 * insetcollapsable.C:
3459 * insetlatexaccent.C:
3464 * insetspecialchar.C:
3466 * insettext.C: dim.w -> dim.wid
3468 2003-05-26 John Levon <levon@movementarian.org>
3470 * insettabular.C: avoid drawing all of a long table
3471 if it's not needed. A big speedup
3473 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * remove same_id from function signatures, adjust
3477 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * insettext.C (InsetText): adjust
3481 (setParagraphData): separate same_id cases, adjust
3482 (appendParagraphs): adjust
3483 (appendParagraphs): adjust
3485 2003-05-23 André Pönitz <poenitz@gmx.net>
3487 * insetbutton.h: whitespace
3489 * insettabular.C: more compact code
3491 * updatableinset.C: remove const_cast
3494 2003-05-23 Angus Leeming <leeming@lyx.org>
3496 * insetexternal.C (write): check how many lines are output.
3497 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3498 if the template has defined it.
3500 2003-05-23 Angus Leeming <leeming@lyx.org>
3502 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3504 2003-05-23 Angus Leeming <leeming@lyx.org>
3506 * insetfoot.C (latex):
3507 * inseturl.C (latex): rename fragile as moving_arg.
3509 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * inseterror.C (localDispatch): comment out unused var.
3513 2003-05-22 Angus Leeming <leeming@lyx.org>
3515 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3516 passed through the LatexRunParams arg.
3518 2003-05-22 Angus Leeming <leeming@lyx.org>
3520 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3521 through the LatexRunParams arg.
3523 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3524 arg rather than through a global var.
3526 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * insetspecialchar.C (dimension): use a string.
3530 2003-05-22 Angus Leeming <leeming@lyx.org>
3532 * insetbibtex.C (latex):
3533 * insetgraphics.C (latex):
3534 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3535 runparams rather than from the buffer itself.
3537 2003-05-22 Angus Leeming <leeming@lyx.org>
3539 * inset*.[Ch] (latex):
3540 passed a LatexRunParams parameter.
3542 * insetgraphics.C (latex): actually use it ;-)
3544 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3546 * insetfloat.C (addToToc): trivial compile fix
3548 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * insettext.[Ch] (paragraph): delete unused function
3552 * insetfloat.C (addToToc): parlist simplfication
3554 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3556 * insetspace.[Ch]: added (new space insets)
3558 * inset.h: handle new space insets
3560 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * insetfloat.C (addToToc): adjust
3564 2003-05-21 André Pönitz <poenitz@gmx.net>
3566 * insettext.[Ch]: fix drawing bug introduced earlier
3568 2003-05-19 André Pönitz <poenitz@gmx.net>
3570 * insetspecialchar.C: fix bug introduced yesterday
3572 2003-05-19 André Pönitz <poenitz@gmx.net>
3576 * insetcollapsable.[Ch]:
3580 * insetgraphics.[Ch]:
3581 * insetgraphicsParams.[Ch]:
3582 * insetlatexaccent.[Ch]:
3583 * insetminipage.[Ch]:
3584 * insetnewline.[Ch]:
3586 * insetspecialchar.[Ch]:
3587 * insettabular.[Ch]:
3588 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3590 2003-05-19 André Pönitz <poenitz@gmx.net>
3593 * insettext.C: more insetenv
3595 2003-05-16 André Pönitz <poenitz@gmx.net>
3598 * insetminimpage.[Ch]:
3599 * insetcollapsable.[Ch]: fix #832
3601 2003-05-16 André Pönitz <poenitz@gmx.net>
3604 * insetbibitem.[Ch]:
3608 * insetcollapsable.[Ch]:
3609 * insetcommand.[Ch]:
3612 * insetexternal.[Ch]:
3613 * insetfloatlist.[Ch]:
3614 * insetgraphics.[Ch]:
3615 * insetinclude.[Ch]:
3618 * insetlatexaccent.[Ch]:
3621 * insettabular.[Ch]:
3625 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3627 2003-05-13 André Pönitz <poenitz@gmx.net>
3630 * insetcollapsable.C:
3634 * insetwrap.C: tostr from own header
3646 * insetwrap.C: STRCONV
3649 2003-05-12 André Pönitz <poenitz@gmx.net>
3661 * insetwwrap.C: boost::format -> bformat all over the place
3663 2003-05-05 André Pönitz <poenitz@gmx.net>
3665 * insettext.h: add missing #include <map>
3667 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * insettext.C (InsetText): parlist cleanup
3672 (insetUnlock): ditto
3674 (lockInsetInInset): ditto
3678 (searchBackward): ditto
3679 (collapseParagraphs): ditto
3681 2003-05-06 John Levon <levon@movementarian.org>
3683 * insetcaption.C: don't cast wrap inset to InsetFloat
3686 * insetfloat.C: remove unneeded type() function
3688 2003-05-05 André Pönitz <poenitz@gmx.net>
3692 * insettabular.[Ch]:
3693 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3694 replace getFirstParagraph() by getParagraphs()
3696 2003-05-03 John Levon <levon@movementarian.org>
3698 * insetcollapsable.h:
3699 * insetcollapsable.C:
3705 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3706 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3707 getCursor(). Remove explicit cursor hides.
3709 2003-05-02 André Pönitz <poenitz@gmx.net>
3711 * insettext.C: remove unneeded &*
3713 2003-04-30 John Levon <levon@movementarian.org>
3715 * insettabular.C: fix edit message
3717 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * insettext.C (setFont): do not convert iterator -> pointer
3721 * insettabular.C (localDispatch): do not convert iterator -> pointer
3723 (tabularFeatures): ditto
3725 2003-04-29 André Pönitz <poenitz@gmx.net>
3727 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3729 2003-04-28 André Pönitz <poenitz@gmx.net>
3731 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3734 2003-04-25 André Pönitz <poenitz@gmx.net>
3736 * insetenv.C: derive from InsetText instead of InsetCollapsable
3738 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * insetexternal.C (string2params): dont do anything if the string
3742 * insetgraphics.C (string2params): ditto
3743 * insetcommand.C (string2params): ditto
3744 * insetert.C (string2params): ditto
3745 * insetfloat.C (string2params): ditto
3746 * insetinclude.C (string2params): ditto
3747 * insetminipage.C (string2params): ditto
3748 * insettabular.C (string2params): ditto
3749 * insetwrap.C (string2params): ditto
3751 2003-04-24 André Pönitz <poenitz@gmx.net>
3753 * insetref.C: support for eqref
3755 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * insetert.C (read): use ParagraphList::iterator.
3759 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * insetquotes.C (latex): comment some code and add warnings.
3763 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3765 * insetexternal.C (localDispatch): added a missing DISPATCHED
3767 2003-04-12 John Levon <levon@movementarian.org>
3769 * insetwrap.C (addToToc): fix a crash, conversion
3770 from while to for loop forgot to remove the explicit
3773 2003-04-10 John Levon <levon@movementarian.org>
3775 * insettabular.C (tabularFeature): make sure
3776 to update the dialog when we change something
3779 (getStatus): don't disable some lfuns (bug 939)
3781 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * insettext.C (saveLyXTextState): adjust
3784 (localDispatch): adjust
3790 * insettabular.C (localDispatch): adjust
3792 (tabularFeatures): adjust
3794 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3796 * insettabular.C (searchForward,searchBackward): fix bug 782
3798 2003-04-07 John Levon <levon@movementarian.org>
3801 * insettext.C: clear status message on inset exit
3803 2003-04-03 John Levon <levon@movementarian.org>
3805 * insetcommand.C: return dispatched on DIALOG_UPDATE
3807 2003-04-02 John Levon <levon@movementarian.org>
3809 * insettabular.C: tab lfuns renamed
3811 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * insettext.C (update): move towards ParagraphList
3814 (updateLocal): ditto
3816 (insetUnlock): ditto
3818 (lockInsetInInset): ditto
3819 (updateInsetInInset): ditto
3820 (localDispatch): ditto
3823 (resizeLyXText): ditto
3824 (searchBackward): ditto
3825 (collapseParagraphs): ditto
3828 * insetwrap.C (InsetWrap): adjust
3829 (addToToc): adjust and rewrite loop
3831 * insettext.[Ch] (paragraph): delete function
3833 * insettabular.C (moveNextCell): adjust
3834 (movePrevCell): adjust
3835 (insertAsciiString): adjust
3837 * insetfloat.C (InsetFloat): adjust
3840 * insetert.C (InsetERT): adjust
3841 (write): adjust, and rewrite loop
3842 (latex): adjust, and rewrite loop
3843 (linuxdoc): adjust, and rewrite loop
3844 (docbook): adjust, and rewrite loop
3845 (localDispatch): adjust
3846 (get_new_label): adjust
3848 2003-04-01 John Levon <levon@movementarian.org>
3850 From Alfredo Braunstein
3853 * insetbutton.C: add localDispatch()
3855 * insetcommand.C: return DISPATCHED when edit() called
3857 * insettext.C: fix bug 967
3859 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * insettext.C: adjust
3863 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * insettext.C (draw): adjust
3866 (crow): return a RowList::iterator not a Row*
3868 * insetminipage.C (localDispatch): adjust
3870 * insetert.C (localDispatch): adjust
3872 2003-03-31 John Levon <levon@movementarian.org>
3875 * insetgraphicsParams.C: use_gui moved to lyx_gui
3877 2003-03-31 John Levon <levon@movementarian.org>
3879 * insettext.C: Alert fix
3881 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * insettext.C (ascent): adjust for RowList
3886 (getLyXText): adjust
3887 (toggleSelection): adjust
3889 * insetminipage.C (localDispatch): adjust for RowList
3891 * insetert.C (localDispatch): adjust for RowList
3892 (getMaxWidth): adjust for RowList
3894 2003-03-29 John Levon <levon@movementarian.org>
3896 * insetert.C: Alert cleanup
3898 2003-03-29 John Levon <levon@movementarian.org>
3900 * insettabular.C: Alert fix
3902 2003-03-28 John Levon <levon@movementarian.org>
3904 * insetfloat.C: reset label on INSET_MODIFY
3906 2003-03-28 John Levon <levon@movementarian.org>
3908 * insetgraphicsParams.C: read subcaptionText as a whole line
3911 2003-03-28 John Levon <levon@movementarian.org>
3913 * insettext.C: remove unused prototypes
3915 2003-03-25 Angus Leeming <leeming@lyx.org>
3917 * insetbibitem.C (localDispatch): repaint the view after modifying
3918 a bibitem inset in case the maximum InsetBibitem width has changed.
3920 2003-03-25 John Levon <levon@movementarian.org>
3923 * insettabular.C: LyXText renamings
3925 2003-03-24 John Levon <levon@movementarian.org>
3927 * insettext.C: remove some dead code. Fix bug 972 and
3928 related by posting a repaint in updateLocal(), and making
3929 the SEL functions set SELECTION.
3931 2003-03-22 John Levon <levon@movementarian.org>
3934 * inset.C: remove no-longer-needed topx_set
3936 * insetcollapsable.h:
3937 * insetcollapsable.C: remove dead code
3940 * insetert.C: rebreak the rows when a possible
3941 change in size is made, and reset the cursor
3944 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3946 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3947 topx_set. Fix drawing errors for clearInset(). Remove
3948 some unnecessary uses of topx, which should die.
3950 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3951 is no longer needed. Replace it with an ugly hack.
3953 2003-03-20 John Levon <levon@movementarian.org>
3956 * insetcollapsable.h:
3957 * insetcollapsable.C:
3965 * insettext.C: remove spurious font parameter
3966 from update(). Fix drawing of ERT insets inside
3967 insets (bug 966). Remove unused mark_dirty from
3968 tabular's updateLocal()
3970 2003-03-19 John Levon <levon@movementarian.org>
3979 * insetwrap.C: remove unused getter/setters
3981 2003-03-19 John Levon <levon@movementarian.org>
3983 * several files: bv->updateInset() doesn't take
3984 a bool mark_dirty any more
3986 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * adjust for BufferView* arg removal from lyxtext.
3990 2003-03-17 John Levon <levon@movementarian.org>
3992 * most files: remove the "cleared" parameter
3993 to draw in favour of always clearing. Associated
3996 2003-03-16 John Levon <levon@movementarian.org>
3998 * insettext.C: remove unused s.refresh
4000 2003-03-13 Angus Leeming <leeming@lyx.org>
4002 * insettext.C (edit): replace Dialogs::updateParagraph with
4003 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4005 2003-03-13 André Pönitz <poenitz@gmx.net>
4007 * Makefile.am: insert insetenv
4009 * insethenv.[Ch]: new files, currently inactive
4011 2003-03-12 John Levon <levon@movementarian.org>
4021 * insettext.C: use new insetnewline
4023 2003-03-12 John Levon <levon@movementarian.org>
4025 * insettext.C: readToken became readParagraph
4027 2003-03-12 John Levon <levon@movementarian.org>
4029 * insettext.C: use parlist iterator for reading contents
4031 2003-03-12 John Levon <levon@movementarian.org>
4033 * insettext.C: name change to readToken()
4035 2003-03-11 André Pönitz <poenitz@gmx.net>
4037 * Makefile.am: insert insethfill
4039 * insethfill.[Ch]: new files
4041 2003-03-10 Angus Leeming <leeming@lyx.org>
4043 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4045 (hideDialog): calls the new static Dialogs::hide() method.
4047 * insetbibitem.C (edit):
4048 * insetbibtex.C (edit):
4049 * insetcite.C (edit):
4050 * insetcommand.C (localDispatch):
4051 * inseterror.C (d-tor):
4052 * insetert.C (showInsetDialog):
4053 * insetexternal.C (localDispatch, edit):
4054 * insetfloat.C (localDispatch, showInsetDialog):
4055 * insetfloatlist.C (edit):
4056 * insetgraphics.C (localDispatch, edit):
4057 * insetinclude.C (localDispatch, edit):
4058 * insetindex.C (edit):
4059 * insetlabel.C (edit):
4060 * insetminipage.C (localDispatch, showInsetDialog):
4061 * insetref.C (edit):
4062 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4063 resetPos, showInsetDialog, openLayoutDialog):
4064 * insettoc.C (edit):
4065 * inseturl.C (edit):
4066 * insetwrap.C (localDispatch, showInsetDialog):
4067 changes due to the changed MailInset interface.
4069 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4071 * insetfloat.h: Set default placement to an empty string.
4073 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4075 * insettext.C (latex): adjust call to latexParagraphs.
4077 2003-03-10 Angus Leeming <leeming@lyx.org>
4079 * mailinset.C: warn the user if the BufferView has not been cached.
4081 2003-03-10 Angus Leeming <leeming@lyx.org>
4083 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4085 * insetcommand.h (inset):
4086 * insetert.h (inset):
4087 * insetexternal.h (inset):
4088 * insetfloat.h (inset):
4089 * insetgraphics.h (inset):
4090 * insetinclude.h (inset):
4091 * insetminipage.h (inset):
4092 * insettabular.h (inset):
4093 * insetwrap.h (inset):
4094 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4096 2003-03-10 Angus Leeming <leeming@lyx.org>
4098 * insetcommand.C (string2params):
4099 * insetexternal.C (string2params):
4100 * insetfloat.C (string2params):
4101 * insetgraphics.C (string2params):
4102 * insetinclude.C (string2params):
4103 * insetminipage.C (string2params):
4104 * insettabular.C (string2params):
4105 * insetwrap.C (string2params): cure warning message about missing
4108 2003-03-09 Angus Leeming <leeming@lyx.org>
4110 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4111 it to communicate with the frontend dialogs.
4113 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4114 contents of this inset!
4116 2003-03-07 Angus Leeming <leeming@lyx.org>
4118 * inseterror.C (localDispatch): new method; calls edit() on
4121 2003-03-07 Angus Leeming <leeming@lyx.org>
4123 * insetbibitem.C (localDispatch):
4124 * insetbibtex.C (localDispatch):
4125 * insetlabel.C (localDispatch):
4126 rewrite as a switch.
4128 2003-03-07 Angus Leeming <leeming@lyx.org>
4130 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4131 it to communicate with the frontend dialogs.
4133 2003-03-07 Angus Leeming <leeming@lyx.org>
4135 * insetexternal.C: remove operator== and operator!= for
4136 InsetExternal::Params. They were used only by the old controller
4139 2003-03-07 Angus Leeming <leeming@lyx.org>
4141 * insetcommand.C (localDispatch):
4142 * insetexternal.C (localDispatch):
4143 * insetfloat.C (localDispatch):
4144 * insetinclude.C (localDispatch):
4145 * insetminipage.C (localDispatch):
4146 * insetwrap.C (localDispatch):
4147 add LFUN_INSET_DIALOG_UPDATE to the switch.
4149 2003-03-07 Angus Leeming <leeming@lyx.org>
4151 * insetcommand.C (string2params):
4152 * insetexternal.C (string2params):
4153 * insetfloat.C (string2params):
4154 * insetinclude.C (string2params):
4155 * insetwrap.C (string2params): use LyXLeX more.
4158 * insetexternal.[Ch]:
4160 * insetinclude.[Ch]:
4161 * insetwrap.[Ch]: change Mailer::name_ to be static.
4163 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4164 it to communicate with the frontend dialogs.
4166 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4169 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4171 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * insettext.C (updateLocal): un-const function
4174 (updateLocal): adjust
4175 (collapseParagraphs): un-const function
4176 (collapseParagraphs): adjust
4178 2003-03-05 Angus Leeming <leeming@lyx.org>
4180 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4181 it to communicate with the frontend dialogs.
4183 2003-03-05 Angus Leeming <leeming@lyx.org>
4185 * insetcollapsable.C (draw): cache the BufferView.
4187 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4188 it to communicate with the frontend dialogs.
4190 2003-03-05 Angus Leeming <leeming@lyx.org>
4192 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4195 2003-03-05 Angus Leeming <leeming@lyx.org>
4197 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4199 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4200 it to communicate with the frontend dialogs.
4202 2003-03-05 Angus Leeming <leeming@lyx.org>
4204 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4205 it to communicate with the frontend dialogs.
4207 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * insettext.C (collapseParagraphs): adjust
4210 (appendParagraphs): make it take a Buffer* instead of a
4211 BufferParams& as arg.
4212 (appendParagraphs): adjust
4214 2003-03-04 Angus Leeming <leeming@lyx.org>
4216 * insetbibitem.C (localDispatch):
4217 * insetbibtex.C (localDispatch):
4218 * insetcommand.C (localDispatch):
4219 * insetert.C (localDispatch):
4220 * insetlabel.C (localDispatch):
4221 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4223 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * insettext.C (latex): adjust for ParagraphList::iterator
4227 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * insetbutton.C (view): adjust for boost 1.30.0
4230 * insetcollapsable.C (view): ditto
4231 * insetgraphics.C (statusChanged): ditto
4233 * insettext.h: move paragraphs to be public.
4235 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * insetnote.[Ch] (InsetNote): remove unused constructor
4239 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4241 * insetgraphics.C: added include "format.h"
4243 2003-02-27 Angus Leeming <leeming@lyx.org>
4245 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4248 2003-02-27 Angus Leeming <leeming@lyx.org>
4250 * insetbibitem.C (localDispatch):
4251 * insetbibtex.C (localDispatch):
4254 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4256 2003-02-26 Angus Leeming <leeming@lyx.org>
4258 * insetbibitem.[Ch] (localDispatch):
4259 * insetbibtex.[Ch] (localDispatch):
4260 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4262 * insetcommand.C (localDispatch):
4263 act only on receipt of LFUN_XYZ_APPLY.
4265 * insetert.C (localDispatch): reformat.
4266 add LFUN_XYZ_APPLY to the switch.
4268 2003-02-26 John Levon <levon@movementarian.org>
4270 * insettext.C: use RowPainter
4272 * inset.h: make helpers take const *
4274 2003-02-26 Angus Leeming <leeming@lyx.org>
4276 * insetcommand.[Ch] (localDispatch): new method.
4278 2003-02-26 Angus Leeming <leeming@lyx.org>
4280 * insetinclude.C (draw): cache the BufferView* using cache not
4281 PreviewImpl::setView
4283 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4285 * insetgraphics.C (draw)
4286 * insetinclude.C (draw): Eliminate also the other argument (owner
4287 inset inset) in the call to PreviewImage::image
4289 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4291 * insetgraphics.C (draw)
4292 * insetinclude.C (draw): Eliminate Buferview argument in call to
4295 2003-02-25 John Levon <levon@movementarian.org>
4297 * insetgraphicsParams.h:
4298 * insetgraphics.C: don't start a load process if
4299 the inset is set to NoDisplay (bug #920)
4301 2003-02-22 John Levon <levon@movementarian.org>
4304 * insetwrap.C: TocItem changed API (bug 913)
4306 2003-02-21 Angus Leeming <leeming@lyx.org>
4308 * insetcollapsable.[Ch] (cache, edit):
4309 * insetbutton.[Ch] (cache, edit): new methods to cache the
4310 BufferView in the draw method.
4312 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4313 simplify comunication between InsetCommand-derived classes and
4316 * insetbibitem.[Ch]:
4320 * insetfloatlist.[Ch]:
4324 * inseturl.[Ch]: small changes to reflect the new interface to the
4327 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4328 other, similar classes.
4330 * Makefile.am: add new files.
4332 2003-02-21 Angus Leeming <leeming@lyx.org>
4334 * updatableinset.h (setView, view): remove.
4335 * inset.h (view, cache): to be replaced by these.
4337 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4340 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4343 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4345 2003-02-21 Allan Rae <rae@lyx.org>
4347 * insetinclude.C (loadIfNeeded): ensure loading also works when
4348 child document is under version control.
4350 2003-02-17 André Pönitz <poenitz@gmx.net>
4352 * insetbib.[Ch]: Adjust access to bibkeys
4354 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4356 * insetquotes.C (dispString): remove use of acute accent for "'"
4359 2003-02-14 John Levon <levon@movementarian.org>
4361 * insettabular.C: changed method names in tabular.C
4363 2003-02-14 John Levon <levon@movementarian.org>
4367 * insetcollapsable.h:
4368 * insetcollapsable.C:
4372 * insettext.C: remove unused getParFromID()
4374 2003-02-13 John Levon <levon@movementarian.org>
4377 * insettext.C: remove unused beginningofMainBody()
4379 2003-02-08 John Levon <levon@movementarian.org>
4383 * insetcollapsable.h:
4384 * insetcollapsable.C:
4389 add nextChange(). Make allowSpellcheck() const. Add markErased().
4391 * insetert.C: ignore deleted text
4393 * insettabular.C: make sure to keep change tracking working
4396 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4401 * insettext.C: Use error messages with identical spelling and
4404 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4406 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4408 2002-12-17 Juergen Vigna <jug@lyx.org>
4410 * insettext.C (localDispatch): hopefully fixed cursor up down
4411 movement on leaving other insets.
4413 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4415 * insettext.C: fix inconsistent usage of spaces, colons,
4416 capitalization, and the like.
4418 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4420 * insetgraphics.C (prepareFile): do not remove the extension of
4421 the file name if it is not the default extension for the given
4422 format (that is, in latex output, remove extension from foo.eps,
4423 but not from foo.epsi)
4425 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4427 * insettext.C (lfunMouseRelease): hackish solution to the "double
4430 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * insetfloat.C (addToToc): use the floats name not its type
4433 * insetwrap.C (addToToc): ditto
4435 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4437 * insetnote.C (init): make label font smaller
4439 2002-12-04 John Levon <levon@movementarian.org>
4441 * insetinclude.C: ressurect setting of command name
4443 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * insetquotes.C (dispString): disambiguate insert call
4447 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * several files: ws changes
4451 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * insetquotes.C (dispString): use string::insert for prepending a
4456 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4458 * insetparent.C (getScreenLabel): use boost::format
4460 * insetgraphics.C (prepareFile): use boost::format
4463 * insetfloatlist.C (latex): use boost::format
4465 * insetcaption.C (draw): use boost::format
4467 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4469 * insettabular.C (tabularFeatures): Support for block alignment in
4470 fixed width columns.
4472 2002-11-20 Juergen Vigna <jug@sad.it>
4474 * insettabular.C (resetPos): temporary fix for endless loop in
4475 this function on a redraw.
4477 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * insettabular.C (copySelection): STRCONV
4481 * insetinclude.C (uniqueID): STRCONV
4482 (latexString): ditto
4484 * insetgraphics.C: put VersionNumber inside anon namespace
4485 (createLatexOptions): STRCONV
4487 * insetcommandparams.C: include config.h
4489 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4491 * insetgraphicsParams.C (Write): use lyx::float_equal.
4492 Write height data correctly.
4493 (Read): zero scale when reading height data.
4495 2002-10-30 John Levon <levon@movementarian.org>
4497 * insetfloat.C (addToTOC): recursively traverse all
4498 contents looking for captions (fix #568)
4500 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4502 * insetexternal.C (doSubstitution): do not try to replace
4503 environment variables, this is done when executing the command
4505 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4507 * insetexternal.C (doSubstitution): change order of substitution
4508 to work around ReplaceEnvironmentPath brokenness
4510 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4512 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4514 * insetgraphicsParams.C (init, Write): associated changes
4515 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4516 InsetGraphicsParams::scale.
4518 2002-10-21 John Levon <levon@movementarian.org>
4520 * inset.h: remove unused DISPATCH_RESULT
4522 * insettext.C: sgml open/close tag now in sgml namespace
4524 2002-10-21 Angus Leeming <leeming@lyx.org>
4526 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4527 file path subdir/fig.eps when pasting it into a buffer in a different
4530 2002-10-16 John Levon <levon@movementarian.org>
4532 * insetspecialchar.C: remove \\protected_separator parsing
4534 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4536 * insetquote.C: fix LaTeX output of quotation marks.
4538 2002-10-14 Juergen Vigna <jug@sad.it>
4540 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4541 Backspace functions which confused the Undo handling.
4543 2002-10-09 Angus Leeming <leeming@lyx.org>
4545 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4546 BufferView::dispatch that turns off this optimisation when a new inset
4549 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4550 reload the BibTeX keys.
4552 2002-10-11 André Pönitz <poenitz@gmx.net>
4554 * insettext.h: handle LFUN_PRIOR/NEXT
4556 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4558 * insetfloat.C: fix bug with float settings
4559 (document default != float default).
4561 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4563 * insetwrap.C (addToToc): New method.
4564 (InsetWrap): Set layout to caption.
4566 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4570 2002-09-16 John Levon <levon@movementarian.org>
4572 * insettabular.h: hasSelection() needs to be public
4574 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4576 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4578 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4580 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4582 2002-09-11 André Pönitz <poenitz@gmx.net>
4584 * insettabular.C: implement LFUN_WORDSEL
4586 2002-09-10 John Levon <levon@movementarian.org>
4588 * insetinclude.h: remove unused param
4590 2002-09-09 John Levon <levon@movementarian.org>
4593 * insetinclude.C: remove noload, default to input
4595 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4597 * insetgraphics.C: disfuscated use of ']' in built output string.
4599 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4603 2002-08-29 Juergen Vigna <jug@sad.it>
4605 * insettabular.C (lfunMousePress): Pay attention where you set
4606 the x/y values as they depend on which inset in the tabular is
4607 actually locked. So you surely have to reset them if you (un)lock
4610 2002-08-29 André Pönitz <poenitz@gmx.net>
4612 * insetfootlike.h: rename include guard to ALL CAPS
4614 * insettext.C: swap object and first parameter for checkInsetHit calls
4615 as this functions has moved from BufferView to LyXText
4618 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4620 * insetgraphicsParams.C: remove local displayTranslator and use
4621 the one from graphics/GraphicsTypes.h.
4623 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4625 * insetfloat.C (wide): add BufferParams parameter
4627 * insetfloatlist.C (read):
4630 * insetfloat.C (latex):
4632 * insetcaption.C (draw): use LyXTextClass::floats()
4634 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4636 * insetoptarg.h: add std:: qualifier.
4638 2002-08-26 Juergen Vigna <jug@sad.it>
4640 * insettext.C (localDispatch): ditto.
4642 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4644 2002-08-25 John Levon <levon@movementarian.org>
4646 * inseturl.C: elide long URLs (bug 404)
4648 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4650 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4651 remove "Format Version <version_no.>" string from inset header
4654 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4656 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4657 a member of "grfx::Params" anymore.
4659 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4661 2002-08-24 John Levon <levon@movementarian.org>
4664 * insetoptarg.C: ws, pedantry ...
4666 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4668 * insettext.C (collapseParagraphs): pasteParagraph now in global
4670 (appendParagraphs): ditto
4672 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4674 * insetcite.C (latex): Remove spaces only after commmas.
4676 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * insettext.C: remove NO_COMPABILITY stuff
4680 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * insettext.C (edit): use ParagraphList iterators
4684 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4685 (bibitemWidest): ditto
4687 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * insettext.C: include <boost/bind.hpp>
4690 add using std::for_each
4691 (saveLyXTextState): use ParagraphsList::iterator
4692 (init): use for_each on paragraphlist iterators
4693 (InsetText): remove superflous setting cached_bview to 0
4694 (latex): reformat a bit
4695 (ascii): use paragraphlist iterators
4696 (validate): use for_each + boost bind
4697 (getLabelList): use paragraphlist iterators
4698 (deleteLyXText): use for_each + boost::bind
4699 (resizeLyXText): ditto
4700 (reinitLyXText): ditto
4701 (removeNewlines): use paragraphlist iterators
4702 (getParFromID): ditto
4703 (paragraph): use for_each + boost::bind
4704 (getInsetFromID): use paragraphlist iterators
4705 (getLabelList): typo fix
4707 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * insettext.C (read): assign tmp to paragraphs after return from
4710 call to parseSingleLyXformat2Token
4713 2002-08-13 Angus Leeming <leeming@lyx.org>
4731 * inseturl.C: changes due to the changed LyXView interface that
4732 now returns references to member variables not pointers.
4734 2002-08-13 Angus Leeming <leeming@lyx.org>
4737 * insetcollapsable.h:
4740 * insettext.h: forward-declare WordLangTuple
4741 (selectNextWordToSpellcheck) constify return type.
4744 * insetcollapsable.C:
4747 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4749 2002-08-12 Angus Leeming <leeming@lyx.org>
4751 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4754 2002-08-12 Juergen Vigna <jug@sad.it>
4756 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4759 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4762 (bibitemWidest): ditto
4763 * insettext.[Ch]: ditto
4765 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4769 2002-08-09 Angus Leeming <leeming@lyx.org>
4771 * insetinclude.C (latexString): remove fudge now that I've found out
4772 how to enable LaTeX to find the file using input@path.
4774 2002-08-09 John Levon <levon@movementarian.org>
4777 * insettext.C: remove unused xpos
4779 2002-08-07 Juergen Vigna <jug@lyx.org>
4781 * insettabular.C (localDispatch): make delete not put the stuff
4782 in the clipboard only do this on a cut operation.
4784 * insettext.C (localDispatch): make delete and backspace not put
4785 selected stuff to the clipboard.
4787 2002-08-07 André Pönitz <poenitz@gmx.net>
4790 * insetcollapsable.[Ch]:
4794 * insettabular.[Ch]:
4795 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4797 2002-08-06 John Levon <levon@movementarian.org>
4801 * insetcollapsable.h:
4802 * insetcollapsable.C:
4808 * insettext.C: use WordLangTuple for spellcheck
4810 2002-08-06 Angus Leeming <leeming@lyx.org>
4812 * insetinclude.C: add a monitor to the previewed image, so that the
4813 image is refreshed if the \input-ed file changes.
4815 2002-08-04 John Levon <levon@movementarian.org>
4818 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4820 2002-08-02 Angus Leeming <leeming@lyx.org>
4822 * insetcommandparams.[Ch] (preview): new methods returning and setting
4823 a new bool preview_ flag.
4824 (read): read this flag.
4825 (operator==): add flag to check.
4827 * insetinclude.C (write): output new preview() flag.
4828 (previewWanted): use this flag.
4830 2002-08-02 Angus Leeming <leeming@lyx.org>
4832 * insetcollapsable.[Ch] (addPreview):
4833 * insettabular.[Ch] (addPreview):
4834 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4835 for insets in insets.
4837 2002-08-02 Angus Leeming <leeming@lyx.org>
4839 * insetcite.C: fix typo.
4841 * insetgraphics.C: kill current_view and instead cache the BufferView
4844 * insetinclude.C: kill current_view and pass the BufferView to the
4845 PreviewedInset so that it can cache it.
4847 2002-08-01 Angus Leeming <leeming@lyx.org>
4849 * inset.h (generatePreview): renamed as addPreview.
4850 (generatePreview): new method. Allows code to be moved out of
4851 math_nestinset.C and into the new PreviewedInset class.
4853 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4854 add previews to the inset when \input-ing LaTeX.
4856 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * several files: strip,frontStrip -> trim,ltrim,rtrim
4860 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * insetbib.C (latex): modify because of strip changes
4864 * insetnote.C (InsetNote): ditto
4866 2002-07-26 Juergen Vigna <jug@sad.it>
4868 * insettabular.C (searchForward): check for lastcell if we
4869 had a locking inset.
4871 2002-07-25 Juergen Vigna <jug@sad.it>
4873 * insettabular.C (insetMotionNotify): Don't update the screen
4874 if we didn't do nothing.
4875 (searchForward): last cell was not checked.
4877 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4879 * insetfloat.C (read, write): Allow default placement
4880 (floatPlacement_ is empty).
4882 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4884 * insetminipage.h (noFontChange):
4885 * insettabular.h (noFontChange):
4886 * insetfootlike.h (noFontChange):
4887 * insetfloat.h (noFontChange): return true
4889 * inset.h (noFontChange): new method, defaulting to false
4891 2002-07-22 Herbert Voss <voss@lyx.org>
4893 * insetgraphicsParams.[Ch]: support size_type for old docs
4895 2002-07-22 Herbert Voss <voss@lyx.org>
4898 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4901 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4903 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4905 * insetlatexaccent.h: do not include "lyxlex.h"
4907 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4910 * insetlatexaccent.C:
4914 * insetbib.C: #include "lyxlex.h"
4920 * insettext.C: use BufferParams::getLyXTextClass
4923 * insetfloat.C (addToToc): new method. Add to toclist the entries
4924 corresponding to Caption layouts
4925 (InsetFloat): when creating a new float, set the layout to "Caption"
4927 2002-07-21 Herbert Voss <voss@lyx.org>
4929 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4930 image relevant part into graphics/GraphicsImgae.C
4932 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4934 * insettoc.C (ascii):
4935 * insetfloatlist.C (ascii): change to use the new Toc functions
4936 instead of stuff that was in Buffer
4938 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4940 * insettext.C (localDispatch): BufferView::Dispatch has been
4941 renamed to BufferView::dispatch
4943 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4945 * insetgraphicsParams.C (as_grfxParams): use the new
4946 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4947 1.2.0 patch, and I do not really know how to adapt it to the new
4948 grfx::Cache world. Angus, please could you have a look?
4950 2002-05-01 Herbert Voss <voss@lyx.org>
4952 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4954 2002-07-18 Angus Leeming <leeming@lyx.org>
4956 * insetgraphics.C: clean-up comments (from Herbert).
4957 add a new checksum variable to the cache. Use it in PrepareFile.
4958 (draw): start monitoring the file for a change.
4959 (prepareFile): re-arrange a little to avoid unnecessary steps.
4961 2002-07-17 Angus Leeming <leeming@lyx.org>
4963 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4964 a method rather than to the signal directly.
4966 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4968 * insettext.C: use view_state_changed, switchKeyMap
4970 2002-07-17 Herbert Voss <voss@perce.de>
4972 * insetgraphics.C (prepareFile): keep the extension when
4973 exporting to nice file
4975 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4977 * insetcite.C (getNatbibLabel):
4978 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4980 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4982 * insetgraphics.C: use ->isDrawable()
4984 2002-07-12 Angus Leeming <leeming@lyx.org>
4986 * insetgraphics.C: use the new smart loading capabilities of the image
4989 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4991 * insettabular.C (edit): Move into correct cell when entering a
4994 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4997 2002-07-05 Angus Leeming <leeming@lyx.org>
4999 * inset.h (generatePreview): new virtual method.
5001 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5003 * insetcommandparams.[Ch] (operator=): move out of class
5004 (operator!): move out of class
5006 2002-07-04 André Pönitz <poenitz@gmx.net>
5008 * insetcommandparams.[Ch]: new files
5010 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5012 2002-06-15 Herbert Voss <voss@perce.de>
5014 * insetgraphics.C (prepareFile): bugfix; return always
5015 files without extension
5017 2002-06-28 Angus Leeming <leeming@lyx.org>
5019 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5020 rename asGParams -> as_grfxParams.
5022 * insetgraphics.C: reflect above change.
5024 2002-06-26 Angus Leeming <leeming@lyx.org>
5026 * insetgraphics.h: use boost::scoped_ptr in preference to
5029 2002-06-26 Angus Leeming <leeming@lyx.org>
5031 * insetgraphics.C: moved the image loading stuff into a new class
5032 grfx::Loader. Simplifies this file enormously.
5034 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5036 * insetgraphicsParams.C: changes aassociated with moving
5037 grfx::DisplayType out of grfx::GParams.
5039 2002-06-26 André Pönitz <poenitz@gmx.net>
5041 * insetgraphics.C: use os::external_path where necesaary according to a
5042 patch from Claus Hentschel)
5044 2002-06-25 Angus Leeming <leeming@lyx.org>
5046 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5047 generating a pixmap once the graphics file is loaded into memory.
5048 The current_view ugliness that was in grfx::ModifiedImage has been
5049 moved here now that grfx::ModifiedImage is no more.
5051 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5053 * insettext.C: layout as layout
5055 2002-05-28 André Pönitz <poenitz@gmx.net>
5057 * insetfloatlist.h: remove source of compiler warning
5059 * insetref.C: tiny whitespace
5061 2002-06-15 Herbert Voss <voss@perce.de>
5063 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5064 and take always convert when no userdefined converter was
5066 (latex) small changes in the lyxerr output
5068 2002-06-15 LyX Development team <lyx@rilke>
5070 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5071 mixed content. Small white spaces clean.
5073 2002-06-14 Angus Leeming <leeming@lyx.org>
5075 * inseetexternal.C: remove the using std::difftime declaration.
5077 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5079 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5081 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5083 * insetquotes.C (draw): fix drawing of double quotes
5085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5087 * insettabular.C: s/scrollCB/scrollDocView/
5089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5091 * insettext.C: change of topCursorVisible()
5094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5097 * insettext.C: rename/change of LyXScreen
5099 2002-06-07 Angus Leeming <leeming@lyx.org>
5101 Fixes needed to compile with Compaq cxx 6.5.
5103 * insetexternal.C: all c-library variables have been moved into
5104 namespace std. Wrap using std::xyz declarations inside a #ifndef
5105 CXX_GLOBAL_CSTD block.
5107 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * insetinclude.C (uniqueID):
5110 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5111 conflicted with some AIX headers.
5113 2002-05-31 Juergen Vigna <jug@sad.it>
5115 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5119 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5121 * insetexternal.C (clone): fix () bug when using new
5122 (updateExternal): don't only look for difftime in global scope
5124 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5126 * insettabular.C: add const
5128 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5131 file name, in case there are weird characters like ',' in there.
5134 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * switch from SigC signals to boost::signals.
5138 2002-05-28 André Pönitz <poenitz@gmx.net>
5140 * insets/insetgraphicsParams.[Ch]:
5141 put in inset related stuff from src/graphic
5143 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5151 * insetcollapsable.C:
5152 * insetcollapsable.h:
5180 * inseturl.h: use mouse_state. Kill insetKeyPress
5182 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5187 * insetcollapsable.C:
5190 * insetlatexaccent.C:
5192 * insetspecialchar.C:
5194 * insettext.C: name change for font metrics
5196 2002-05-24 Juergen Vigna <jug@sad.it>
5198 * insetgraphics.h: include inset.h first (for LString.h)
5200 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5202 * insettext.C: screen moved
5204 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5222 * inseturl.C: LyXView moved into frontends/
5224 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5229 * insetcollapsable.C:
5233 * insetgraphicsParams.C:
5234 * insetlatexaccent.C:
5236 * insetspecialchar.C:
5238 * insettext.C: move Painter to frontends/
5240 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * insettabular.h: use more specific smart_ptr header.
5243 * insettext.h: ditto
5245 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5248 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5250 * insettext.C: clear selection on paste (bug 393)
5252 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5254 * insettext.C (latex): Honor the moving_arg argument.
5256 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5258 * insetfoot.C (latex): if a footnote is in a title layout, then it
5259 is a \thanks. And then, its contents is a moving argument.
5261 2002-05-14 Juergen Vigna <jug@sad.it>
5263 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5266 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5268 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5269 when using options "Full author list" or "Upper case".
5271 2002-05-14 Herbert Voss <voss@perce.de>
5273 * insetgraphics.C (prepareFile): allow files with same name
5275 (readFigInset): set the flags from old figinset in the right
5277 (findTargetFormat): more comments
5279 2002-05-14 Juergen Vigna <jug@sad.it>
5281 * insettext.C (edit): tell checkAndActivateInset() that we don't
5282 have a button press.
5283 (checkAndActivateInset): if button < 0 we don't have a button press
5284 on the inset and os we won't call edit on it if it's not a Highly
5285 editable inset (then we have to enter it).
5287 2002-05-13 Juergen Vigna <jug@sad.it>
5289 * insetcollapsable.C (insetButtonRelease): returned wrong return
5292 2002-05-09 Juergen Vigna <jug@sad.it>
5294 * insetcollapsable.C (edit): first_after_edit should only be
5295 set to true if we enter this inset and it was collapsed so we
5296 open it up. This is needed to reclose it after a search/replace
5297 or spellcheck function opened it and was negative.
5299 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5301 * insetfloat.C (latex): Return correct value.
5303 2002-05-04 Herbert Voss <voss@perce.de>
5305 * InsetgraphicsParams.C (read): fix bug with WH
5307 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5309 * insetfloat.C (latex): More sensible latex output
5310 (fix the problem with endfloat).
5312 2002-05-02 José Matos <jamatos@fep.up.pt>
5314 * insetgraphics.C (validate): acess params as everyone else.
5316 2002-05-03 Juergen Vigna <jug@sad.it>
5318 * insettabular.C (fitInsetCursor): recalculate the cursor position
5321 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5323 * InsetgraphicsParams.[Ch]: whitespace.
5325 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5327 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5328 float type do not exist.
5330 2002-04-28 Herbert Voss <voss@perce.de>
5332 * insetgraphics.C (latex): fix bug with missing file-extension.
5333 LaTeX still allows a missing "eps" or "ps".
5335 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5337 * insetfloat.C (c-tor, wide): translate the name of the float.
5339 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5341 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5342 when using natbib and make it work efficiently. Must emphasise that the
5343 real work is Herbert's.
5345 2002-04-23 Herbert Voss <voss@perce.de>
5347 * insetgraphic.C (prepareFile): fix bug with overwriting and
5348 deleting an existing *.eps-file in the doc-dir
5350 2002-04-23 Juergen Vigna <jug@sad.it>
5352 * insettabular.C (drawCellSelection): fix off by 1 error.
5354 2002-04-22 Juergen Vigna <jug@sad.it>
5356 * insettabular.C (setFont): rewoke full selection if it was asked,
5357 after we changed all we had to change.
5359 * insettext.C (insetUnlock): code was uninitialized in some situations.
5361 2002-04-19 Herbert Voss <voss@perce.de>
5363 * insetgraphic.C (prepareFile): return filename without
5364 extension if we only export without compiling
5366 2002-04-19 Juergen Vigna <jug@sad.it>
5368 * insettext.C (draw): call a fullRebreak on the row where we had a
5369 change and reset the cursor and selection-cursors.
5371 * insettabular.C (insetUnlock):
5372 (insetButtonPress): call an update before setting the_locking_inset = 0
5373 as otherwise we don't repaint!
5374 (update): reset the cursor position when we changed dimensions as
5375 otherwise our cursor may be on the wrong spot.
5377 2002-04-18 Juergen Vigna <jug@sad.it>
5379 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5380 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5381 redraw otherwise we won't redraw.
5383 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5384 not really right before, but I only discovered this with the last
5385 changes to Page up/down.
5387 2002-04-17 Juergen Vigna <jug@sad.it>
5389 * insettext.C (checkAndActivateInset): simplified as we now have the
5390 edit(bv, bool) call.
5392 * insettext.h: changed behind variables to front variables to be
5393 equal to the one in the edit call (as it is for that they are used).
5395 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5397 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5398 not output anything at all!
5400 2002-04-16 Juergen Vigna <jug@sad.it>
5402 * insettabular.C (insetButtonPress):
5403 (insetUnlock): call a redraw on unlocking the cell inset.
5405 * insettext.C (insetButtonPress): same as below.
5406 (lockInset): new function to set initial values when inset should
5408 (insetButtonPress): use above function.
5409 (insetUnlock): don't force a repaint only set the updateStatus. The
5410 outside world should repaint if it thinks it should be done!
5412 * insettabular.C (insetButtonPress): init values if not set as locked
5413 as we are locked if someone presses on us and don't call the edit()
5414 call of the InsetText to lock it do it as BufferView does it!
5416 * inset.h (insetInInsetY): make func const and return an int.
5419 * insetcollapsable.C: adapt the above changed function.
5421 2002-04-15 Juergen Vigna <jug@sad.it>
5423 * insettext.C (getCursorPos): return relative position as to be able
5424 to give them directly to the edit() call.
5425 (edit): we have to set also x_fix as it is not set inside the
5426 setCursorFromCoordinates call!
5427 (insetMotionNotify): ditto.
5429 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5431 * insetbib.C (getKeys): strip leading '\t's from the line too.
5432 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5434 2002-04-12 Juergen Vigna <jug@sad.it>
5436 * insettext.h: added cix() helper function and use it where appropriate
5438 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5440 * insetgraphics.C (prepareFile): fix bug when graphics is a
5443 2002-04-12 Juergen Vigna <jug@sad.it>
5445 * insettext.C (insertInset): remove unneeded code!
5446 (updateLocal): fitCursor() fixes.
5447 (collapseParagraphs): fix a possible problem when having a selection
5448 and collapsing the paragraphs.
5450 2002-04-08 Herbert Voss <voss@perce.de>
5452 * insetgraphic.C (write): write the rotating angle as
5453 a float as is. test only for != 0.0
5455 2002-04-11 Juergen Vigna <jug@sad.it>
5457 * insettext.C: new function ciy() and use it for setting inset_y.
5459 * insetert.C (draw): fix the x return for collapsed version.
5461 2002-04-07 Herbert Voss <voss@perce.de>
5463 * insetgraphic.C (readFigInset): fix bug with subcaption and
5466 2002-04-08 Herbert Voss <voss@lyx.org>
5468 * insetgraphicsparam.C: forgot special option and delete old
5471 2002-04-05 Juergen Vigna <jug@sad.it>
5473 * insettext.C (localDispatch): make a CURSOR update if we inserted
5476 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5478 * insetfloatlist.C (getScreenLabel):
5479 (latex): use Floating::listName
5480 (validate): new method
5482 2002-04-03 José Matos <jamatos@fep.up.pt>
5484 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5486 * insetfoot.[Ch] (docbook): added forgotten method.
5488 2002-04-03 Juergen Vigna <jug@sad.it>
5490 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5491 way as in Bufferview_pimpl.
5493 2002-04-03 Allan Rae <rae@lyx.org>
5495 * insetgraphics.C (latex): one % too many makes living on the bleeding
5496 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5498 2002-03-28 Herbert Voss <voss@lyx.org>
5500 * insetgraphic.C (latex): simplify the code for the latex
5501 output when the file doesn't exist
5503 2002-03-29 Juergen Vigna <jug@sad.it>
5505 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5508 * insettabular.C (edit): call fitCursor().
5510 * insettext.C (insetButtonPress): change behaviour of no_selection
5511 to the one in the BufferView selection_possible and fix the spurious
5512 selection bug with it.
5513 (localDispatch): revoke selection on BREAK... functions.
5515 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5517 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5519 2002-03-28 Juergen Vigna <jug@sad.it>
5521 * insettabular.C (insetAllowed): return true as default value otherwise
5522 we're not able to insert insets inside paragraphs of an not locked
5525 2002-03-27 Herbert Voss <voss@lyx.org>
5527 * insetgraphicsparam.C: change c%, p% to col%, page%
5529 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5531 * insetspecialchar.C (isLineSeparator): disable the nice code to
5532 allow linebreaks after hyphenation and menu separators.
5534 2002-03-26 Herbert Voss <voss@lyx.org>
5536 * insetgraphics.C (figinsetRead): set the right lyxview
5538 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5540 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5541 $\backslash$ and pass a "string const &" to the function.
5542 (prepareFile, latex): use Path rather than MakeAbsPath.
5544 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5546 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5547 proper fix to the graphics cache.
5548 (latex): "really" nice output if the file is not found ;-)
5550 2002-03-26 Juergen Vigna <jug@sad.it>
5552 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5553 (collapseParagraphs): fixed inserting of separator ' '
5555 * insettabular.C (insertAsciiString): only check for buffer lenght
5556 not if we have \t or \n inside the buffer as if we don't have we only
5557 have 1 cell and that's it!
5559 * insetert.C (close): don't collapse if inlined.
5561 2002-03-25 Herbert Voss <voss@lyx.org>
5563 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5564 graphics file does not exist.
5566 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5568 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5569 path when preparing export.
5571 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5572 no longer MakeRelPath.
5574 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5576 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5577 Used to determine the absolute path to the graphics file in the
5578 graphics cache and only in the graphics cache.
5579 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5580 make graphics file name absolute if it is stored as a relative path.
5582 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5583 make graphics file name absolute if it is stored as a relative path.
5585 * insettext.C (edit): emit an updateParagraph signal on entering a text
5586 inset. Needs to be emitted when leaving the inset also.
5588 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5590 * all files: ws cleanup
5592 * Makefile.am: remove ld -r stuff
5594 2002-03-21 Juergen Vigna <jug@sad.it>
5596 * insettext.C (appendParagraphs): new function added to append
5597 the paragraphs to this insets paragraphs.
5599 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5601 * Makefile.am: special rules if partial linking
5603 2002-03-19 Juergen Vigna <jug@sad.it>
5605 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5607 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5609 * insetgraphics.C: Clean up Baruch's comments a little.
5610 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5612 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5615 * insettheorem.C: wrap warnings
5617 * insetgraphics.C: improve messages, move cached_status_
5618 setting to safer place
5620 2002-03-18 Juergen Vigna <jug@sad.it>
5622 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5624 (localDispatch): ditto
5626 * insettext.C (edit): removed unneeded showCursor calls.
5627 (localDispatch): ditto.
5629 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5631 * insetgraphics.h: remove display() method.
5633 2002-03-11 Juergen Vigna <jug@sad.it>
5635 * insetgraphics.C (draw): hack to fix the redrawing bug.
5636 (draw): seems this fixes #268 (force redraw of row if we changed).
5638 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5639 this inset text (don't know why I missed this earlier).
5641 2002-03-08 Juergen Vigna <jug@sad.it>
5643 * insettabular.C (updateLocal): do a FULL update if we're not locked
5644 and only a CELL update is asked.
5646 * insettext.C (updateInsetInInset): update insets inside inset also
5647 if it isn't inside the_locking_inset.
5649 * insettabular.C (updateInsetInInset): ditto.
5651 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5653 * insetexternal.C (doSubstitution): check whether we are using a
5654 temp dir for defining $$FPath
5656 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5659 * insettext.C: remove #include "WorkArea.h".
5661 2002-03-06 Juergen Vigna <jug@sad.it>
5663 * insettext.C (draw): fixed frame redrawing.
5664 (clear): forgot to set the inset_owner of the paragraph.
5666 * insetert.C (status): pay attention the bv can be 0 here!
5667 (getMaxWidth): add the default leftMargin
5669 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5671 * insetert.C (getMaxWidth): make w unsigned int.
5673 2002-03-05 Juergen Vigna <jug@sad.it>
5675 * insetert.C (status): change behaviour of Inlined.
5676 (getMaxWidth): added for new inlined behaviour.
5678 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5680 * insetnote.h (linuxdoc, docbook): add empty methods.
5681 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5682 before being initialized.
5684 2002-03-05 Juergen Vigna <jug@sad.it>
5686 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5687 only that one in the inset. Should be enough.
5688 (updateLocal): set the selection cursor always if we don't have a
5689 selection to be sure it's set!
5691 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5693 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5695 * insettext.C (clear): a gross hack to set layout on a newly
5698 2002-03-04 Juergen Vigna <jug@sad.it>
5700 * insettabular.C (localDispatch): inserted handling of
5701 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5702 (insertAsciiString): new helper function.
5704 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5706 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5709 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5711 * insettext.C (InsetText): initalize newly created par with
5712 default layout. add bufferparams parameter
5715 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5716 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5717 * insetert.[Ch] (InsetERT): ditto
5718 * insetfloat.[Ch] (InsetFloat): ditto
5719 * insetfoot.[Ch] (InsetFoot): ditto
5720 * insetfootlike.[Ch] (InsetFootLike): ditto
5721 * insetmarginal.[Ch] (InsetMarginal): ditto
5722 * insetminipage.[Ch] (InsetMinipage): ditto
5723 * insetnote.[Ch] (InsetNote): ditto
5724 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5726 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5728 * insettext.C: layout as string
5730 * insetinclude.C: layout as string
5732 * insetert.C: layout as string
5734 * insetbib.C: layout as string
5736 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5739 * insettabular.C: remove #include "lyx_gui_misc.h".
5741 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5746 * inset.h: remove figinset, yahoo !
5748 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5750 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5751 copy c-tor and initialise member variables in the correct order.
5753 2002-02-28 Juergen Vigna <jug@sad.it>
5755 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5757 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * inset.h: ... and add a better one here.
5761 * insetcommand.C (insetButtonRelease): remove that one which was a
5764 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5766 * insetcommand.C (insetButtonRelease): ... and move it here.
5768 * inseturl.h: remove insetButtonRelease from there...
5770 2002-02-26 Juergen Vigna <jug@sad.it>
5772 * inseturl.h: Added a insetButtonRelease call returning true as
5775 * insetlabel.C (edit): Fixed wrong update handling after change I
5776 leave in the wrong code for the one who wrote it to remove and have
5777 a look what he did wrong.
5779 * insettabular.C (localDispatch): force a SELECTION update if we
5780 had a selection and we passed the event down to the inset (fix #213)
5781 (localDispatch): handle font changing stuff when we have a cell
5782 selection so that the selection is not rewoked. I don't really like
5783 this fix, but it's the only way I see to do it right now.
5785 2002-02-22 Juergen Vigna <jug@sad.it>
5787 * insettext.C (insetUnlock): set the cursor to the second paragraph
5788 if available and if the first one is empty (fix #191).
5790 2002-02-20 Juergen Vigna <jug@sad.it>
5792 * insettext.C (getDrawFont): implemented this function to call the
5793 one of the owner if present as the owner normally knows what to do
5796 * insetert.C: implement getDrawFont() function and comment out all
5797 the crap for setting a special latex font inside this inset.
5798 (InsetERT): added a Lanugage parameter to this constructor.
5800 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5801 change the font for being drawn on screen (used only in InsetERT for
5804 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5805 and also above (was missing).
5806 (updateLocal): don't remove the cell selection if we have one this
5807 should be done where we really want to remove it.
5809 2002-02-20 José Matos <jamatos@fep.up.pt>
5811 * insetinclude.h: include_label made string const.
5813 * insetinclude.C (InsetInclude): moved include_label initialization.
5816 (validate): fix support for temporary directory, for docbook and
5819 * insetgraphics.h : new private member, graphic_label, that holds
5820 the entity name that defines the graphics location (SGML).
5822 * insetgraphics.C (unique_id): new function to give a unique label
5825 (validate): the file locatation is given by an entity reference.
5827 2002-02-18 Herbert Voss <voss@lyx.org>
5829 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5831 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5833 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5834 as support/systemcall.[Ch] and of class Systemcalls as class
5837 2002-02-18 José Matos <jamatos@fep.up.pt>
5839 * insetinclude.C (validate): some code only applies to latex buffers,
5840 it was made conditional.
5842 2002-02-12 Herbert Voss <voss@lyx.org>
5844 * insetgraphics.C: (prepareFile) do not check at this time
5845 if the file is present.
5847 2002-02-12 Herbert Voss <voss@lyx.org>
5849 * insetgraphics.C: latex(), return the correct newlines
5851 2002-02-13 José Matos <jamatos@fep.up.pt>
5853 * inseturl.C (docbook): escape & in url.
5855 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5857 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5858 after HYPHENATION and MENU_SEPARATOR
5860 * inset.h (isLineSeparator): new method, returns false by default.
5862 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5864 * insetert.C (status): do not update the text inset, but the ERT
5867 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5869 * insetnote.C: use notebg for background
5871 2002-02-08 Herbert Voss <voss@lyx.org>
5874 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5875 prevent LyX from unzipping when this should be handled
5876 by latex vis the graphic.cfg.
5879 2002-02-08 Herbert Voss <voss@lyx.org>
5881 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5882 exists, than return filename with extension
5884 2002-02-06 Herbert Voss <voss@lyx.org>
5886 * insetgraphic.C: prepareFile(): don't convert the file, when
5887 it's not viewed in LyX. Saves a lot of time when opening a
5890 2002-02-05 Herbert Voss <voss@lyx.org>
5893 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5894 and adding a rotate bool similiar to subcaption
5896 2002-02-04 Herbert Voss <voss@lyx.org>
5899 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5900 similiar view to the LaTeX one. Get zipped files work.
5902 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5904 * insetgraphicsParams.C (init): set display to DEFAULT.
5905 No longer #include "lyxrc.h".
5907 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5909 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5910 for now (so that the code compiles).
5912 2002-02-02 Herbert Voss <voss@lyx.org>
5914 * insetgraphic.C: delete inVariant() and some minor changes
5915 * insetgraphicsParams.[C]:
5917 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5919 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5920 interogate lyxrc.display_graphics before diaplaying the graphic.
5922 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5923 InsetGraphicsParams::DisplayType.
5925 2002-01-31 Herbert Voss <voss@lyx.org>
5927 * insetgraphic.C: (readfigInset) set display to pref-default
5929 2002-01-30 Herbert Voss <voss@lyx.org>
5931 * insetgraphic.C: get the filetyp from it's contents
5932 * insetgraphicparams.C: add token scale and lyxrc.display when
5933 creating a new inset
5935 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5937 * figinset.C: added using std::ios directive.
5939 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * figinset.C (runqueue): open translation file in binary mode (for
5944 2002-01-27 Herbert Voss <voss@lyx.org>
5946 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5947 all options and to be sure that the old figinsets are correct
5949 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5950 structure and to support all lengths as LyXLength. The Parameter
5951 structure changed again, but reading of "old" 1.2 graphic insets
5954 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5956 * insetert.h (forceDefaultParagraphs): Added
5958 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5960 * insettabular.C (getMaxWidth):
5961 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5963 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5965 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5966 of LyXLength::inPixels
5968 * inset.C (latexTextWidth):
5969 * insetminipage.C (latexTextWidth): new method, which implements
5970 the equivalent of the LaTeX macro \textwidth
5972 * insetminipage.C (getMaxWidth): use latexTextWidth
5974 2002-01-18 Juergen Vigna <jug@sad.it>
5976 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5978 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5980 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5982 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5985 2002-01-17 Juergen Vigna <jug@sad.it>
5987 * insettabular.C (lockInsetInInset): same change as in insettext.
5989 * insettext.C (draw): width() function was called without setting
5990 the right top_x which could lead to wrong insetWidth setting!
5991 (lockInsetInInset): call edit instead of calling lockInset if we
5992 have to lock an inset inside!
5993 (edit): we have to also tell the inset that we have to redraw the
5994 frame on an edit call if this inset draws a frame only if locked.
5996 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * insetbib.C (getFiles): uncomment Path variable.
6000 2002-01-16 Juergen Vigna <jug@sad.it>
6002 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6005 2002-01-16 Allan Rae <rae@lyx.org>
6007 * insetinclude.C (docbook): someone forgot a ";"
6009 2002-01-16 José Matos <jamatos@fep.up.pt>
6011 * figinset.C (docbook): removed a old place holder "@".
6012 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6013 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6014 ascii text version, clearly guarded inside a CDATA section.
6015 (docbook): in docbook 4, inlinegraphics is empty.
6016 * insettabular.C (linuxdoc): export the ascii version of the table
6017 inside a CDATA section.
6019 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * insetparent.C (InsetParent):
6022 * insetgraphicsParams.C (Write):
6024 * insetgraphics.C (prepareFile):
6027 * insetexternal.C (executeCommand):
6028 (doSubstitution): use Buffer::filePath
6030 * insetbib.C (getFiles): add a #warning for Angus
6032 * insetgraphics.C: Add a remark about how filenames should be
6033 considered to be relative to buffer (but absolute is still allowed)
6034 (draw): do not try to get status if lyxrc.use_gui is false
6036 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6039 * insetcollapsable.[Ch]:
6040 * insettabular.[Ch] (searchForward, searchBackward): change the
6041 bool const & params to bool.
6043 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6044 to avoid the name clash with InsetCollapsable's methods of the same
6045 names but different functionality.
6047 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6049 * insettext.C (ascii): use lyx::count rather than countChar.
6051 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6053 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6055 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * insetgraphics.C (updateInset): do not try to render image if
6058 lyxrc.use_gui is false (bug #104)
6060 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6061 if file does not exist
6063 * figinset.C (browseFile): add shortcuts to directory buttons
6065 * insettext.C (updateLocal): update menubar and toolbar here too.
6067 2002-01-13 Allan Rae <rae@lyx.org>
6069 * insettabular.C (InsetTabular): Both constructors now initialise
6070 all class variables.
6072 2002-01-11 Juergen Vigna <jug@sad.it>
6074 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6076 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6078 * insettabular.C (getStatus): add forgotten brace around multiline
6081 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6083 * insetfloat.C (validate): require "float" instead of "floats".
6085 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6087 * insettabular.C (getStatus): use FuncStatus
6089 2002-01-08 Juergen Vigna <jug@sad.it>
6091 * insettabular.C (insetButtonRelease): now this should work too
6094 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6095 if the width is a percentage.
6097 * inset.h: added isChar() function and implemented this for
6098 insetspecialchar insetquotes and insetlatexaccent.
6099 added forceDefaultParagraphs() and implemented it for insettabular.
6101 2002-01-07 Juergen Vigna <jug@sad.it>
6103 * insettext.C (getLyXText): Fixed this function. An insert into the
6104 map is only done if we REALLY have a new BufferView.
6106 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6108 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6110 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6112 * insetinclude.C: fix use of FileInfo
6114 2002-01-07 Juergen Vigna <jug@sad.it>
6116 * insettabular.C (draw): fixed clearing of cell around inset.
6118 2002-01-05 Juergen Vigna <jug@sad.it>
6120 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6121 variables are updated.
6123 * insettabular.C (resetPos): set always the inset_y as it may be
6124 needed in another function.
6125 (searchBackward): don't draw while searching.
6127 2002-01-04 Juergen Vigna <jug@sad.it>
6129 * insettext.C (lockInsetInInset): forgot to set a cursor.
6131 2002-01-02 Juergen Vigna <jug@sad.it>
6133 * insettext.C (insertInset): make the correct undo informations on
6134 inserting new insets.
6136 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6138 * insettabular.C: correct single-cell select vertically
6140 2001-12-27 Juergen Vigna <jug@sad.it>
6142 * insettabular.C (ascii): export as tab-separated-values if the
6143 function was not called from export (f.ex.: clipboard).
6145 * insetcollapsable.h: added default support for ascii, linuxdoc and
6146 docbook export (the insettext is exported by default!)
6148 * insettabular.C (copySelection): suff the clipboard with the tabular
6149 data in a tab separated format, seems more naturals then with all the
6152 2001-12-24 Juergen Vigna <jug@sad.it>
6154 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6155 to check for REAL mouseMotion.
6157 2001-12-20 Juergen Vigna <jug@sad.it>
6159 * inset.C (cursor): return the owners cursor if available instead of
6160 always only the bv->text->cursor.
6162 * insettabular.C (checkLongtableSpecial): works now.
6164 2001-12-19 Juergen Vigna <jug@sad.it>
6166 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6167 this has to be always row + 1 as 0 means not selected!
6168 (checkLongtableSpecial): added
6169 (tabularFeatures): better longtable options support
6171 * insettext.C (resizeLyXText): reinit the text always also on a
6174 2001-12-18 Juergen Vigna <jug@sad.it>
6176 * insettext.C (updateInsetInInset): look if we have to autocollapse
6177 paragraps and return if the update is requested for ourself.
6179 * insetert.C (status): update the insettext not myself as that is what
6182 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6183 function only return if the update was requested with myself.
6185 * insettext.C (insetButtonPress): fixed stupid bug.
6186 (various functions): pay attention that lt is cleared BEFORE calling
6187 updateLocal() and try to use it in the right manner (don't use it
6188 if it's not really neccessary!)
6189 (collapseParagraphs): insert a blank between collapsing paragraphs
6190 if neccessary (not already there!).
6192 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * insettabular.C: move includes around a bit, add a couple of
6197 * insettext.[Ch]: move includes around a bit, other ws changes and
6200 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6202 * insettext.C (insetButtonRelease): fix compile problem
6204 2001-12-17 Juergen Vigna <jug@sad.it>
6206 * insettext.C (insetButtonPress): set the selection cursor!
6207 (insetButtonPress): clear the selection (and set with that the
6208 selection.cursor) if we only hit an inset!
6210 * insetert.C (read): removed piece of compatibility code only needed
6213 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6216 * insetcollapsable.C (insetButtonRelease): changed so that it can
6217 open eventual existing popup dialogs on mousebutton==3.
6219 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6221 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6223 * inset.C (insetButtonRelease): return a bool for telling the outer
6224 world that we opened a dialog.
6226 2001-12-07 Juergen Vigna <jug@sad.it>
6228 * insettext.C (paragraph): remove the deleteing of paragraphs as
6229 it was a WRONG move!
6231 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6234 * insettabular.C: use new setSelection(). Allow
6235 selection of single cells.
6237 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6239 * insetquotes.C (latex): fix to use the local language setting at
6240 the point where the inset is inserted (different macros for
6241 different french packages)
6243 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6245 * inset.h: add par_owner_ member variable and parOwner
6248 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6250 * insettabular.C (everywhere): adapt because widths are now real
6251 widths and not strings
6253 * insettext.C (draw): re-introduce the calls to width(), ascent()
6254 and descent() to initialize the caching variables.
6256 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * insettext.C (draw):
6259 (drawFrame): use insetWidth instead of last_width
6261 * insettext.h: remove variable last_width (insetWidth is exactly
6262 the same) and last_height (computed but never used!)
6264 2001-12-10 Allan Rae <rae@lyx.org>
6266 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6268 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6270 * insettext.C (insetAllowed): add comment
6272 2001-12-05 Juergen Vigna <jug@sad.it>
6274 * insettext.C (insetAllowed): fixed for the case that we directly
6275 ask the insettext from its LyXText.
6276 (paragraph): fixed the crash when assigning the par->next() from
6277 the EmptyParagraphMechanism!
6279 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * insettext.C: change "while(" to "while ("
6285 2001-12-04 Juergen Vigna <jug@sad.it>
6287 * insetert.C (edit): handle Inlined status.
6289 * insettext.C (insertInset): trying John's fix for the trailing cursor
6291 * insetert.C (insetButtonPress): added to handle inlined status
6292 (insetMotionNotify): ditto.
6294 * insettext.C (clearInset): changed Painter & in BufferView * param,
6295 to be able to call ascent,descent methods.
6297 2001-12-03 Juergen Vigna <jug@sad.it>
6299 * insettext.C (updateInsetInInset): use lt variable to forbid
6300 changes of LyXText in an update call.
6301 (updateInsetInInset): fixed updating of non locked insets!
6303 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6305 * insettabular.C: capture some more functions to prevent
6306 selection drawing problems. Bug #451274
6308 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6311 * insetgraphicsParams.C: fix inverted sense of float_equal
6313 2001-11-30 Juergen Vigna <jug@sad.it>
6315 * insettabular.C (InsetTabular): use the save_id flag to create also
6316 the tabular with the same id's.
6318 * insettext.C (setParagraphData): added a same_id function for undo
6319 to set the same paragraph id's as of the paragraph we are setting.
6321 2001-11-30 José Matos <jamatos@fep.up.pt>
6324 * insettoc.[Ch]: DocBook -> docbook.
6326 2001-11-29 André Pönitz <poenitz@gmx.net>
6329 * insettext.C: further reduction of header dependencies by using
6330 lyx::layout_type and lyx::textclass_type from support/types.h
6332 2001-11-29 Juergen Vigna <jug@sad.it>
6334 * insettext.C: inserted a reinitLyXText function everywhere I delete
6335 the paragraphs! This should fixe the crashes we had.
6336 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6337 (paragraph): set the InsetOwner() of the new paragraphs!
6339 2001-11-28 André Pönitz <poenitz@gmx.net>
6341 * insetnote.C: add pos initialization that I removed without
6344 2001-11-28 Juergen Vigna <jug@sad.it>
6346 * insettabular.C (resetPos): hack to not crash with infinite paints.
6348 * insettabular.h: insert missing function allowSpellcheck()!
6350 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6352 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6355 * insetfloatlist.C: derive from InsetCommand so gui can use it
6358 2001-11-26 André Pönitz <poenitz@gmx.net>
6362 * insetnote.C: reduce header dependencies, introduce type for
6365 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6367 * various: update for Alert.h
6369 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6371 * inset.h: fix comment
6373 * insettext.C: use par->isInset()
6375 2001-11-22 Allan Rae <rae@lyx.org>
6377 * insetcollapsable.h:
6378 * inset.h: Changes to checkInsertChar() behaviour.
6379 Now return value indicates whether chars can be inserted.
6381 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6383 * various: updated to use the new LaTeXFeatures
6385 2001-11-14 José Matos <jamatos@fep.up.pt>
6387 * insetspecialchar.C (linuxdoc):
6388 (docbook): don't give a name to a unused variable.
6390 * insettext.C (docbook): removed unused variable.
6392 2001-11-13 Herbert Voss <voss@perce.de>
6394 * insetgraphic.C: fix scale bug
6396 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6398 * inset.h (isSpace):
6399 (isLetter): new virtual methods.
6401 * insetspecialchar.C (isSpace):
6402 (isLetter): implement here.
6404 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6406 * inset.h: new inline helpers
6408 * insettext.C: use new helpers
6410 2001-11-07 José Matos <jamatos@fep.up.pt>
6412 * insettext.C (docbook): full support for paragraphs inside insettext.
6414 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6416 * insetindex.C: added header file for std::ostream.
6418 2001-11-03 José Matos <jamatos@fep.up.pt>
6420 * insetindex.C: added using std::ostream that I forgot yesterday.
6422 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6424 * insetindex.h (docbook):
6425 * insetindex.C (docbook): added support for docbook export.
6427 2001-11-02 José Matos <jamatos@fep.up.pt>
6429 * insetcaption.C(docbook): added support for docbook export.
6431 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6433 * insetexternal.C (updateExternal): Do not run update command if
6434 result file exists and is up to date.
6436 * ExternalTemplate.C (readFormat): Support the updateresult token.
6438 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6440 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6441 external_templates) to use the buffer->fileName() but only if
6442 previewing. Generating a TeX file should make FPath return
6445 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6448 * insetert.C: fix some problems
6450 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6452 * insetexternal.C (doSubstitution): Added $$FPath token
6453 to list of usable substitutions in external inset templates.
6455 2001-10-24 Juergen Vigna <jug@sad.it>
6457 * insettabular.C: use new ltType struct for setting longtable
6458 header and footers also new UNSET enums.
6460 2001-10-24 José Matos <jamatos@fep.up.pt>
6462 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6463 (docbook): If the table is not inside a float then wrap it inside
6464 <informaltable>...</informaltable>.
6466 2001-10-23 José Matos <jamatos@fep.up.pt>
6468 * insetref.C (docbook): removed / terminator to conform SGML.
6470 * insetspecialchar.C (linuxdoc):
6471 (docbook): Added support for special chars, more than ascii export.
6473 2001-10-22 Juergen Vigna <jug@sad.it>
6475 * insettext.C (checkInsertChar): added for REALLY checking the
6476 font of the inserted char in the right inset!
6478 2001-10-19 Juergen Vigna <jug@sad.it>
6480 * inset.h: added method allowSpellcheck() so that insets who do
6481 not have anything to spellcheck can tell and so they are over-jumped.
6482 Implemented for InsetText and co.
6484 2001-10-18 Juergen Vigna <jug@sad.it>
6486 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6488 2001-10-15 José Matos <jamatos@fep.up.pt>
6490 * insetert.C: allow export for docbook and linuxdoc
6492 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6494 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6496 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6498 * insetquotes.C (dispString): fix handling of latin9 quotes
6500 2001-10-03 Juergen Vigna <jug@sad.it>
6504 * insetcollapsable.C: change updateInset calls to not tell BV that
6505 we have changed status.
6507 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6509 * insettabular.C (deletable): make const
6511 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6513 * insetert.C (latex): Fix the returned value
6515 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6517 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6518 Returns string(), so nothing in an ERT inset is spellchecked.
6520 * insetgraphics.C (draw): print the filename if not displaying the
6522 (width): make sure that the width and draw methods are consistent.
6523 (updateInset): don't even load the image into cache if not displaying
6526 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6528 * various files (selectNextWord): renamed as
6529 selectNextWordToSpellcheck.
6531 * insetgraphics.C (draw): remove the previous change. Right place
6532 is in imageLoaderXPM.C.
6533 (draw): don't display the image if params.display == NONE.
6535 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6537 * figinset.C (runqueue):
6538 * insetgraphics.C (draw): set background colour of inset from
6539 background to the user-configurable graphicsbg.
6541 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6543 * insetquotes.C (InsetQuotes): when trying to decide the side of
6544 the quote, choose `left' only after a space or '('
6546 2001-09-04 José Matos <jamatos@fep.up.pt>
6551 * insetcollapsable.h
6569 * insetlatexaccent.C
6570 * insetlatexaccent.h
6575 * insetspecialchar.C
6576 * insetspecialchar.h
6580 * insettext.C (docbook): rename docBook method to docbook.
6582 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6584 * inset.h (getFirstParagraph): New virtual method.
6586 2001-08-20 Herbert Voss <voss@perce.de>
6587 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6588 in the the bibtex-database-gui for inserting a line
6591 If no style is given than there is no tex-output.
6593 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6595 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6599 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6601 * insetert.C (latex): Fix output for multiple paragraphs.
6602 (write): New code for writing paragraph data.
6603 (read): Set font after reading the inset.
6604 (localDispatch): Call set_latex_font() for more cases.
6606 * insetnote.h: Add empty validate method.
6609 * insetnote.C (InsetNote): Set language to the language of the
6612 2001-08-16 Juergen Vigna <jug@sad.it>
6614 * insettext.C: implemented the new FINISHED states.
6616 * insettabular.C: ditto
6618 * inset.h: added more FINISHED states for cursor right,up,down
6620 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6622 * insetfloatlist.C: use "FloatName List"
6624 2001-08-14 Juergen Vigna <jug@sad.it>
6626 * insetert.C (edit): forgot to set status_ in edit calls!
6628 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6630 * insettext.C: Compilation fix
6632 2001-08-13 Juergen Vigna <jug@sad.it>
6634 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6636 * insetcollapsable.C (edit): don't recollapse an already open inset.
6638 * insettext.C: fixed problem when reinitializing LyXText by not doing
6639 it while lt is in use and post this to the next possible time in
6641 (searchForward): fixed not unlocking of inset if nothing found.
6642 (edit): set cursor behind right (was set -1 pos).
6644 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6646 * insettabular.C (tabularFeatures): fixed fix where deleting the
6647 last row didn't get the right actcell!
6649 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6651 * insettext.C (localDispatch): Change language only when the inset
6654 2001-08-10 Juergen Vigna <jug@sad.it>
6656 * insettabular.C (selectNextWordInt): use the front using edit call.
6658 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6659 the parameter overwrite class variable inset.
6661 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6663 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6664 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6666 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6667 update only for fixed with cells.
6668 (resetPos): try to fix the lockup on spellchecking or s&r.
6670 * insettext.C (update): comment this out as it seems first wrong
6671 and second not needed anymore!
6672 (some functions): call reinitLyXText() only in update() in all other
6673 positions set only need_update = INIT.
6675 2001-08-08 Juergen Vigna <jug@sad.it>
6677 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6679 * insettext.C (insetUnlock): remove double-space on inset unlock.
6681 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6683 * insettabular.C (update): fixed cursor positon after an insert.
6684 (insetAllowed): do not allow to insert insets when not inside the
6686 (draw): clear below an inset too as it could have changed height.
6688 * inset.C (getMaxWidth): fixed width for inset in inset.
6690 * insettext.C (update): small fix.
6692 * insettabular.C (tabularFeatures): added selection support to
6693 DELETE_ROW/DELETE_COLUMN.
6695 2001-08-07 Juergen Vigna <jug@sad.it>
6697 * inset.C (getMaxWidth): recoded and all it's implementations!
6699 * insettext.C (init,setParagraph+constructors): cleanups
6700 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6701 are new and I want do a save/restore of the cursor position which is
6702 not possible anymore.
6704 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6705 (searchBackward): ditto
6706 (selectNextWord): ditto
6708 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6710 * insetlatexaccent.C (checkContents): Add some debug messages
6712 2001-08-07 Juergen Vigna <jug@sad.it>
6714 * insetert.C (read): don't use InsetCollapsable::read as we don't
6715 write the collapsed status anymore only the status.
6718 2001-08-06 Juergen Vigna <jug@sad.it>
6720 * insetert.C (set_latex_font): use LyXText's setFont directly.
6722 * insettext.C (drawFrame): fixed one time more the right position
6723 and size of the frame!
6725 * insetert.C (~InsetERT): hide the dialog.
6726 (showInsetDialog): added implementation
6729 (status): new function for the status of the ERT inset (3-state).
6730 (write): output also the status of the inset for readback!
6731 (read): readback the status if available otherwise use collapsed_.
6733 * insettext.C (edit): small fix of setting the position, which could
6736 * insetert.C (width): implement this function for inlined viewing.
6737 Added minimum width of 10 pixels!
6739 * insetminipage.C (InsetMinipage): just change the colors a bit so
6740 that border/background is a bit more visible. We will remove this
6743 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6744 function for getting the important widths for drawing in various
6745 functions and in LyXText.
6746 (draw): fixed up a bit (frame drawing/clearing)
6748 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * inset.C (convertFont): delete method. not used.
6752 2001-08-03 Juergen Vigna <jug@sad.it>
6754 * insettext.C (setFont): don't call for a draw update if we're just
6755 changing the cursor font!
6757 2001-08-02 Juergen Vigna <jug@sad.it>
6759 * insettext.C (draw): clear the background with the right color if
6760 needed. Update myself if x&max-width changed and return without doing
6761 anything. Let the update code handle the right stuff.
6763 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6764 inside another inset.
6766 2001-08-01 Juergen Vigna <jug@sad.it>
6768 * insetcollapsable.C (update): added an in_update bool so we avoid
6771 * insettabular.C (update): added an in_update bool so we avoid
6774 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6776 (update): added an in_update bool so we avoid reentering.
6778 * insettabular.C (localDispatch): clear col/row selection when doing
6779 something else inside an inset.
6781 * insettext.C (getLyXText): fixed bug when requesting a recursive
6784 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6786 * insetcite.C (latex): Paranoia check. Make sure that there is no
6787 whitespace between the citation keys.
6789 2001-07-31 Juergen Vigna <jug@sad.it>
6791 * inset.h (nodraw): make the set function also const so that this
6792 can be called from inside other const functions.
6794 * insetcollapsable.h: removed inline variable and moved it over
6795 to the only user InsetERT.
6797 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6798 inset opening immediately therein lying insets dialogs!
6800 * insetert.C (localDispatch): set the font also if we don't have any
6801 chars in this paragraph, otherwise if we delete all of em and start
6802 writing we have the wrong font.
6804 (draw): implemented for inline support
6805 (insetButtonRelease): ditto.
6807 2001-07-30 Juergen Vigna <jug@sad.it>
6809 * insettext.C (reinitLyXText): new function to reinit the insets
6810 text after lot's of paragraph changes. Use this instead of the
6811 cache.clear() which is VERY dangerous.
6813 * insetfloat.C (insetButtonRelease): we should only show the dialog
6814 if we press on the label otherwise we have problems to open mouse
6815 button 3 dialogs inside this float (f.ex. of a tabular!)
6817 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6819 * insetert.C: change back to "ERT"
6821 * insetfloat.C: handliign of RMB on label added.
6823 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * insetgraphicsParams.C: #include LOstream.h here.
6827 * insetfoot.h: remove InsetFoot:: qualifier.
6829 2001-07-29 Baruch Even <baruch@lyx.org>
6831 * ChangeLog: Hiding time travel evidence.
6833 * insetgraphicsParams.h:
6834 * insetgraphicsParams.C:
6835 * insetgraphics.C: Added horizontal scale option, it actually
6836 scales both directions since it keeps image proportions.
6838 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6840 2001-07-29 Baruch Even <baruch@lyx.org>
6842 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6843 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6845 HACKY! Will need to add an EPS detection routine like old InsetFig
6848 2001-07-29 Baruch Even <baruch@lyx.org>
6850 * insetgraphics.C: Added EPSI to be an alias of EPS.
6852 2001-07-29 Baruch Even <baruch@lyx.org>
6854 * insetgraphics.C: Change GRAPHICS to Graphics.
6855 Changed image conversion rules (documented at the beginning of file).
6857 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6859 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6862 * insetgraphics.C: added a using std::endl directive.
6864 * insetcommand.h (getScreenLabel): removed pure virtual function,
6865 as it duplicates that in InsetButton.
6867 * insetbib.[Ch] (getScreenLabel):
6868 * insetbutton.[Ch] (getScreenLabel):
6869 * insetcite.[Ch] (getScreenLabel):
6870 * insetert.[Ch] (getScreenLabel):
6871 * insetexternal.[Ch] (getScreenLabel):
6872 * insetfloatlist.[Ch] (getScreenLabel):
6873 * insetinclude.[Ch] (getScreenLabel):
6874 * insetindex.[Ch] (getScreenLabel):
6875 * insetlabel.h (getScreenLabel):
6876 * insetparent.[Ch] (getScreenLabel):
6877 * insetref.[Ch] (getScreenLabel):
6878 * insettoc.[Ch] (getScreenLabel):
6879 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6881 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6883 (validate): remove check on "cite" when using natbib.
6885 2001-07-26 Baruch Even <baruch@lyx.org>
6887 * insetgraphics.C (draw): changed casting to be in one place
6888 rather than all over the function.
6891 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6893 * insetgraphicsParams.h:
6894 * insetgraphicsParams.C:
6895 * insetgraphics.C: Removed inline option and changed rotateAngle
6898 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6900 * insetfoot.C (validate): Added method to ensure that the
6901 right bit of LaTeX is emitted.
6903 * insetfoot.h: Added validate method to set the correct
6904 LaTeXFeatures bit for the special footnote code.
6906 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6908 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6911 2001-07-27 Juergen Vigna <jug@sad.it>
6913 * inset.h: remove unused font variable in parameter.
6914 removed checkInsertChar in UpdatableInset as it was equal to
6915 the one in Inset and so not needed.
6917 * insetert.C (checkInsertChar): implementation of function
6920 * inset.h: added new function checkInsertChar.
6922 * various files: added c-tor and clone() function.
6924 * insetcollapsable.h: removed clone function here as this should
6925 be only realized in REAL insets and added it to all collapsable
6926 insets! (with the copy-constructor).
6928 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * insetminipage.C (read): handle missing parameters more gracefully
6932 * insetcollapsable.C (read): handel missing collapsed more gracefully
6934 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6936 * insetfloat.C (read): handle missing parameters.
6938 * insettext.C (read): handle old latex end_inset
6940 * insetert.C (setButtonLabel): new method
6941 (init): use it, to set the dynamic label correctly
6944 * Makefile.am (EXTRA_DIST): add files that is not part or the
6947 * insetcollapsable.h: remove autocollapsable (no users), remove
6948 draw_label, change_label_with_text and companion code. Remove args
6950 * insetert.[Ch]: move here instead (only user)
6952 * inset.h: rename private variable name to name_, make
6953 selectNextWord return a const string. make getInsetName return a
6954 string const &. Remove bool from open, add close.
6956 * Makefile.am: don't compile insetlist, insetsection
6959 2001-07-24 Juergen Vigna <jug@sad.it>
6961 * insetert.C (InsetERT): put init after the paragraph initialization,
6962 as otherwise we don't set the draw_label right.
6964 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6965 insets with the mouse without having strange selections.
6966 (edit): if the inset was collapsed and we open it here then put the
6967 cursor always at the beginning of the inset.
6968 (get_new_label): 15 instead of 10 max chars in the label.
6970 * insetert.C (localDispatch): added and handle various stuff we
6971 need to handle here (font setting on paragraph break, not permitted
6972 layout setting, etc.).
6974 * inset.h: added default copy-consturctor and implemented this in
6975 various insets with the change to use this in the clone function!
6977 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6979 * insetminipage.C (InsetMinipage): set background color to red :)
6981 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6983 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6984 draw frame mode is LOCKED.
6986 * insetcollapsable.C (edit):
6987 (insetButtonRelease): set update status to full when
6990 * insettext.C (clearInset):
6991 * insettabular.C (draw):
6992 * insetlatexaccent.C (draw): honor background color.
6994 * inset.h: new member background_color_, initialized to
6997 * inset.C (backgroundColor): new method.
6998 (setBackgroundColor): new method.
7000 * insetert.C (init): new method, called by the ctors.
7001 (InsetERT): when inserting contents, make sure the font is
7004 * insetnote.C (InsetNote): when inserting content, remove trailing
7006 (init): set background color to LColor::note
7008 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * insetcollapsable.C: adjust
7012 * insetbutton.C: adjust
7014 2001-07-23 Juergen Vigna <jug@sad.it>
7016 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7017 parameter on the _collapsed function (was not needed) and call
7018 always width_collapsed().
7020 * insetert.C (InsetERT): use setLabel with "true" flag.
7022 * insetcollapsable.C: modified various functions to set the draw_label
7023 string right in any condition.
7024 (setLabel): added a bool parameter to set change_label_with_text.
7026 * insetcollapsable.h: added draw_label string which is set to the
7027 actual drawn label-string, while label is the original static label
7028 of this collapsable inset. Added bool change_label_with_text to set
7029 if we want that the label changes to the start of the InsetText's
7030 text when collabpsed. You can set this flag with the setLabel funciton.
7031 Added bool inlined for inlined collapsable insets, but not handled
7034 * insetcollapsable.C (get_new_label): added should get a new label
7035 from the InsetText beginning (for now 10 chars).
7037 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7039 * insetquotes.C (latex): fix the handling of french double quotes
7040 when not using the french pachage.
7042 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7044 * insetcollapsable.h: make WidthCollapsed mutable.
7046 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7047 InsetPrintIndex returns INDEX_PRINT_CODE.
7049 * inset.h: add INDEX_PRINT_CODE
7051 * insetcollapsable.C (draw): init widthCollapsed if necessary
7054 * insetquotes.C (width): use the local language, not the document
7057 (dispString): add additional spacing for all french languages,
7059 (validate): make it work when there is no default language
7061 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7063 * insetnote.C (init): new method, called by the constructors
7064 (InsetNote): new constructor with contents passed as a string
7066 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7068 * insetfootlike.C (insetAllowed): disallow float in footlike.
7070 * insetert.C (InsetERT): add collapsed argument to the constrctor
7073 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7075 * insetindex.h: shut off warning
7077 2001-07-20 Juergen Vigna <jug@sad.it>
7079 * insetcollapsable.C (update): recoded hopefully works now!
7081 2001-07-19 Juergen Vigna <jug@sad.it>
7083 * most files: implemented the below new introduced function.
7085 * inset.h: added new edit(BufferView *, bool front) method to be able
7086 to enter an inset from the front/back without knowing x/y positions
7087 and baselines inside the inset. So I just can tell the inset activate
7088 me and set the cursor on the front/back of yourself.
7090 2001-07-18 Juergen Vigna <jug@sad.it>
7092 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7093 is given to the InsetText.
7094 (insetButtonPress): ditto
7095 (insetButtonRelease): ditto
7096 (insetMotionNotify): ditto
7098 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7100 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7101 LIGATURE_BREAK, since the name is so stupid.
7103 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7105 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7106 the default InsetCollapsable methods. I.e., it can insert anything.
7107 (write) output the name of the inset, not some silly hack for
7108 compatability with the old InsetInfo.
7110 * insetinfo.[Ch]: removed.
7111 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7112 now collapsable, but functionality is otherwise identical to InsetInfo.
7114 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7116 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7118 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7121 * insetquotes.C: general cleanup
7122 (dispString): add spaces inside french double quotes.
7123 (latex): ditto. Moreover, treat first the case where the frenchb
7124 or french options have been given.
7126 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7128 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7131 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7133 * figinset.C (RegisterFigure): Print debug message only when
7134 current_view is available.
7136 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7138 * many files: update to match the change below
7140 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7141 implement the version which takes an inset here.
7143 * insetcollapsable.[Ch]: implement open and isOpen
7145 * inset.h: remove insertInsetAllowed from Inset
7146 (open): new method, to open or close an inset
7147 (isOpen): returns the status of an inset
7148 (isCollapsable, colapse): removed
7150 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7152 * insetquotes.C (dispString): display french guillemets when using
7155 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7157 * insetcollapsable.h: remove bogus return statements
7159 2001-07-18 Juergen Vigna <jug@sad.it>
7161 * insettabular.C (selectNextWord): fixed spellchecking for the
7162 first cell of a tabular (wasn't entered!)
7163 (getLyXText): changed to enter automatically insettext and return
7164 it's LyXText if we're locked.
7166 2001-07-17 Juergen Vigna <jug@sad.it>
7168 * various files: implemented the below functions.
7170 * inset.h: added functions
7171 - virtual string selectNextWord(BufferView *, float & value) const;
7172 - virtual void selectSelectedWord(BufferView *) { return; }
7173 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7174 needed for spellchecking correctly!
7176 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * insetert.C (latex): write out all paragraphs.
7180 2001-07-17 Baruch Even <baruch@lyx.org>
7182 * insetgraphics.C (draw): Removed unneeded casts.
7184 2001-07-16 Juergen Vigna <jug@sad.it>
7186 * insettext.C (update): fixed small oversight (reset lt to 0).
7188 2001-07-14 Baruch Even <baruch@lyx.org>
7191 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7193 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7195 Consistent use of Lsstream.h:
7196 * figinset.C: removed using std::ostringstream directive.
7198 * insetgraphics.C (createLatexOptions):
7199 * insetinclude.C (unique_id):
7200 std::ostringstream -> ostringstream.
7201 * insettext.C (localDispatch): std::istringstream -> istringstream.
7203 2001-07-13 Juergen Vigna <jug@sad.it>
7205 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7207 * insetcollapsable.C (getLockingInset): ditto.
7209 2001-07-12 Juergen Vigna <jug@sad.it>
7211 * insetcollapsable.h: added implementation of new function for
7214 * various files: added implementation of new insertInsetAllowed-func
7215 and redone the function a bit more.
7217 * inset.h: added isCollapsable(), bool collapsed(),
7218 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7220 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7222 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7223 LyXText which is marked for removal while we're using it!
7225 * insettext.h: added private LyXText * lt to use it to assure we are
7226 not deleting our LyXText while we're using it!
7228 2001-07-11 Juergen Vigna <jug@sad.it>
7230 * insettext.C (insertInset): check if we are before the inset after
7231 inserting it! This check IS needed. Remove the Undo-Call as it is
7232 called in LyXText::insertInset!
7234 * insettext.h: added struct InnerCache.
7236 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7237 that we ONLY delete the LyXText in the getLyXText() routine. So we
7238 are sure we don't delete LyXText while someone is working with it!
7240 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * insetexternal.C: (*it). -> it->
7243 * insettext.C: ditto
7245 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7247 * insetcollapsable.C (edit): always open collapsed insets (even if
7248 they are not autocollapsable)
7250 * insetcommand.C (operator=): simplify.
7252 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7254 * insetert.C (latex): handle META_NEWLINE
7256 2001-07-09 Juergen Vigna <jug@sad.it>
7258 * insetert.h: a normal InsetText can insert insets, but we won't.
7260 * inset.h: return default "false" on insertInsetAllowed and implement
7261 this function where a returnvalue != "false" is needed.
7263 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * insetert.C (InsetERT): new contructor
7267 2001-07-06 Juergen Vigna <jug@sad.it>
7269 * a lot of files: added implementation of the below new functions
7270 and the change to clone(). Also the call of the new undo-functions
7273 * inset.h: added an inset_id, added functions getParFromID,
7274 getInsetFromID, firstParagraph, cursor and id functions, added
7275 bool same_ids to clone function.
7277 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7279 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7280 of BufferView * and shared_ptr<LyXText>
7282 2001-07-05 Juergen Vigna <jug@sad.it>
7284 * insettext.C (clear): deleted also the cache not only LyXText.
7285 (setParagraphData): ditto.
7287 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7289 * insetfloat.C (latex): let the specific placement take presedence
7290 if set, otherwise choose document placement if set, otherwise just
7291 use float default placement.
7293 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7295 * insettext.C (localDispatch): call CutAndPaste::'s static method
7298 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7300 * insetbib.C: no meed to include forms.h here.
7302 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7304 * insettext.C: added using std::make_pair directive.
7306 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7310 (deleteLyXText): ditto
7311 (resizeLyXText): ditto
7313 2001-07-02 Juergen Vigna <jug@sad.it>
7315 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7316 following calls are only returned the right pointer without the over
7317 head to search in the map.
7318 (various funcs): reset the cached_bview variable as this signs that
7319 the cache is not valid anymore.
7321 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7323 * insettabular.C (clone): do not copy the LyXTabular twice
7325 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * insettext.h (TEXT): delete method
7329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7331 * insetmarginal.C (latex):
7332 * insetfoot.C (latex): fix spacing of notes in LaTeX
7334 * insettext.C (localDispatch): use .c_str() on istringstream
7335 constructor argument.
7337 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7342 * inseturl.C: fix method names in these to begin
7343 with small char too, so they inherit
7345 2001-06-28 Juergen Vigna <jug@sad.it>
7347 * insettext.C (setFont): fixed font settings using toggleFree()
7348 instead of setFont().
7350 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7352 * Change a lot of method names to begin with a small char.
7353 Changes to a lot of files because of this.
7355 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7357 * insetfloatlist.C (Write): std:: qualify ostream
7360 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7364 * insetgraphics.C: send debug output to Debug::INFO instead of
7367 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7370 * insettabular.C (getStatus): update to use func_status
7372 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7374 * insetref.C (DocBook): added support for cross-references without
7377 2001-06-26 The LyX Project <jug@sad.it>
7382 * insetlabel.h: removed escape method and moved it to
7385 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7387 * insettabular.C (getMaxWidth): do the speedup in a different way,
7390 2001-06-24 The LyX Project <Asger>
7392 * insettabular.C (getMaxWidth): We cache a mapping from
7393 inset to cell in order to speed this method up.
7395 2001-06-24 The LyX Project <Asger>
7397 * insettext.C: Optimized InsetText::draw or something.
7399 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7401 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7403 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7405 * inset.h: name change from lyxinset.h
7407 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7409 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7411 2001-06-14 Juergen Vigna <jug@sad.it>
7413 * insettext.C (draw): removed warnings.
7415 2001-06-13 Juergen Vigna <jug@sad.it>
7417 * insettabular.C (nodraw): only go down the tree if we don't have
7418 that flag set otherwise it's obvious that we don't want to draw.
7419 (LocalDispatch): do also an update if we have an undispached result.
7421 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7424 * insetgraphicsParams.C:
7425 * insettext.C: removed // -*- C++ -*- as first line.
7427 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7429 * lyxinset.h (resizeLyXText): shut off warning about unused
7432 2001-06-07 Juergen Vigna <jug@sad.it>
7434 * insettext.C (resizeLyXText): honor the new force flag.
7436 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7438 * insettabular.C (deleteLyXText): new function
7440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7448 * insetcollapsable.C:
7449 * insetcaption.C: LColor tidy
7451 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7453 * figinset.C: fix typo
7455 2001-06-01 Juergen Vigna <jug@sad.it>
7457 * insettabular.C (resetPos): small hack so that scroll is not set to
7458 0 when we are in the last column of a tabular. This is a problem we
7459 have because of constats 20 offset on both directions, so this can
7460 cause on the limit an endless loop.
7462 * insettext.C (SetFont): forgot that we can have locking insets ;)
7464 2001-05-31 Juergen Vigna <jug@sad.it>
7466 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7468 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7470 * figinset.C: add using std:: directive for the C functions which
7473 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * insetfloat.C (Write): write out wide info
7476 (Read): read the wide info
7477 (Latex): use the wide info when creating latex.
7479 * insettext.C: adjust
7481 * insetgraphics.[Ch] (statusMessage): change to return string
7485 * figinset.C (runqueue): add std::
7488 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7490 * insetcite.C (Ascii): add std:: qualifier
7492 2001-05-28 Juergen Vigna <jug@sad.it>
7494 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7495 a endless-width inset (maxWidth < 0).
7496 (Edit): change language only if not equal.
7498 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7500 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7502 2001-05-16 Juergen Vigna <jug@sad.it>
7504 * insettext.C (selectAll): added
7505 (clearSelection): added
7507 * insettabular.C (SetFont): now we may set a font on a whole selection!
7508 (getSelection): added helper function.
7510 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7512 * insetcite.C (Ascii): Add method.
7514 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7517 * insetbib.C: fix path for OS/2 & Win32
7519 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7521 * insetfoot.C (Latex): don't use % after footnote.
7523 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7525 * insettext.C (Read): use clear
7526 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7528 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * insetfloatlist.h: add a bunch of std:: qualifiers.
7532 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7535 FLOAT_LIST_CODE, renumber code list.
7537 * insettoc.C (getScreenLabel): remove support for float lists
7541 * insetfloatlist.[Ch]: new files
7543 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7545 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7547 * insettabular.C (LocalDispatch):
7548 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7553 * insettext.C: remvoe !NEW_INSETS cruft
7555 * insettabular.C: remove !NEW_INSETS cruft
7557 * insetcollapsable.h: remove !NEW_INSETS cruft
7559 * insetbib.C: remove !NEW_INSETS cruft
7561 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7563 * insettoc.C: hack to make listof algorithm work
7565 2001-04-20 Juergen Vigna <jug@sad.it>
7567 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7569 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7571 * insetquotes.C (Latex): improve the guard against
7572 unwanted !` and ?` ligatures. This should really be done in
7573 another place (to catch all this ligatures at low-level).
7575 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7577 * insettext.C (init): remvoe leftovers from cursor_visible change
7578 (draw): use c++ cast
7579 (LocalDispatch): dispatch LFUN_MESSAGE
7581 * insettabular.C (InsetTabular): remove leftovers from
7582 cursor_visible, and scoped_ptr changes
7583 (draw): use c++ cast
7585 * insetcollapsable.C (draw): use c++ cast
7587 * ExternalTemplate.h: inherit privaely from noncopyable
7588 * insetcommand.h: ditto
7589 * insetinclude.h: ditto
7591 2001-04-16 Allan Rae <rae@lyx.org>
7593 * insettoc.C (Ascii):
7594 * insettext.C (draw):
7595 * insettabular.C (setPos):
7596 * insetminipage.C (Read):
7597 * insetfloat.C (placement):
7598 * insetcaption.C (Ascii, DocBook):
7599 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7600 an unrecognised preprocessor directive. So ensure they're wrapped.
7602 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7605 * insetexternal.C: set view on Clone. Add _ to private members.
7607 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * insettext.C (InsetText): fix new
7610 (InsetText): reindent some, simplify deletion of par list
7611 (clear): simplify deletion of par list, fix new
7612 (SetParagraphData): simplify deletion of par list
7614 * insettabular.[Ch] (getLabelList): implement new method
7616 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * lyxinset.h: do not include gettext.h...
7626 * insetlatexaccent.C:
7630 * inseturl.C: ... and do it here instead
7632 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7634 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7636 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7638 * insetcollapsable.[Ch] (getLabelList): implement
7640 * insettext.[Ch] (getLabelList): implement
7642 * insettext.h: reindent
7644 * insettabular.h: make tabular a scoped_ptr
7646 * insettext.C (init): adjust for cursor_visible
7647 (ToggleInsetCursor): constify asc and desc, font, adjust for
7649 (ShowInsetCursor): constify asc and desc, font, adjust for
7651 (HideInsetCursor): adjust for cursor_visible
7653 * insettabular.C: reindent some
7654 (InsetTabular): adjust for scoped_ptr and cursor_visible
7655 (InsetTabular): ditto
7656 (~InsetTabular): delete delete
7657 (Clone): adjust for scoped_ptr
7658 (Read): constify old_format, adjust for scoped_ptr, move init of
7660 (draw): constify tx, localize loop vars.
7661 some other localization of variables, remove double initilizatons.
7663 * insetfoot.C: remove using std::ostream, add ostream where needed
7665 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7667 * lyxinset.h: some reindentaion, use initializer list for
7669 UpdatableInset: make cursor_visible a private var add
7670 public isCursorVisible(), add protected toggleCursorVisible() and
7671 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7673 * insettoc.C: remvoe using decl
7674 (getScreenLabel): make cmdname donst
7677 (Ascii): don't use endl
7679 * insetfootlike.C: remove using decl at file scope and add std::
7681 * insetmarginal.C: ditto
7683 * insetfoot.C: some reformatting
7685 * insetfloat.C (InsetButtonRelease): adjust the hit area
7687 * insetert.C (SetFont): some reformatting
7689 * insetcollapsable.C: some reformatting and constification
7690 (Clone): comment out.
7691 * insetcollapsable.h: some reformatting
7692 (Clone): comment out.
7697 2001-03-30 Juergen Vigna <jug@sad.it>
7699 * insetcollapsable.h: changen *inset to be a InsetText inset.
7701 * some files: changed to reflect the above change.
7703 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7705 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7706 InsetExternal::Params.
7707 Added operator==() and operator!=() for the Params struct.
7709 2001-03-29 Juergen Vigna <jug@sad.it>
7711 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7714 * insetminipage.C: removed widthp_ and all it's functions and changed
7715 to use new %-lengths of LyXLength.
7717 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7719 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7721 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7723 * insetgraphicsParams.C (operator!=): new function, needed by the
7724 ControlGraphics class.
7726 2001-03-28 Juergen Vigna <jug@sad.it>
7728 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7729 (checkAndActivateInset): don't use the values returned from
7730 call to bv->checkInsetHit.
7732 * insetminipage.C (Clone): set special minipage values.
7734 * insetcollapsable.C (draw): changed to draw the button in the
7735 upper left corner outside the textinset.
7736 (ascent): changed because of different drawing
7740 (InsetButtonPress): ditto
7741 (InsetButtonRelease): ditto
7742 (InsetMotionNotify): ditto
7744 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7746 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7750 2001-03-26 Juergen Vigna <jug@sad.it>
7752 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7754 * insettext.C (ShowInsetDialog): implemented above function.
7756 * insettabular.C (ShowInsetDialog): ditto
7758 * insetminipage.C (ShowInsetDialog): ditto
7760 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7762 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7763 InsetInclude::Params. Don't store a buffer * in Params. Store the
7764 master file name instead.
7766 2001-03-23 Juergen Vigna <jug@sad.it>
7768 * insetcollapsable.C (InsetMotionNotify):
7769 (InsetButtonRelease):
7770 (InsetButtonPress): fixed y-offset (minipages).
7772 * insettext.C (draw): force a FULL update if cleared == true.
7774 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7775 routine to draw the minipages on its position-flag.
7776 (InsetInInsetY): give back the right y position, because of minipage
7779 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7782 * insetfloat.C (DocBook): docbook export code.
7784 2001-03-22 Juergen Vigna <jug@sad.it>
7786 * insetminipage.C (getMaxWidth): added function to set the drawing
7788 (Read): should work now!
7790 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7791 if we create a new inset.
7793 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7795 * figinset.C (fl_set_preemptive_callback): moved definition outside
7798 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7800 * insetminipage.C (Read): prepare for reading of minipage arguments.
7802 2001-03-18 Baruch Even <baruch@lyx.org>
7804 * insetgraphics.C: Minor cleanups of the comments and code.
7806 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7808 * insetminipage.C (InsetMinipage): default to not collapsed
7810 2001-03-16 Juergen Vigna <jug@sad.it>
7812 * insetminipage.C (width): modified with to be a string
7813 (widthp): added widthp (for % width) support functions.
7814 (InsetButtonRelease): added to open the options dialog on button==3.
7815 (~InsetMinipage): added to hide the dialog.
7817 * insetminipage.h: added hideDialog signal
7819 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7821 * insetminipage.h: change the order or Position to match
7822 LyXParagraph::MINIPAGE_ALIGNMENT
7824 * several files: remvoe CXX_WORKING_NAMESPACES
7826 * ExternalTemplate.h: noncopyable is in namespace boost
7827 * insetinclude.h: ditto
7828 * insetcommand.h: ditto
7830 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7832 * insettext.C (Edit): #else# -> #else.
7833 * insettoc.C: added using directive.
7835 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7837 * insetminipage.h: add pos, inner_pos, width and height. + getters
7838 and setters for all of them.
7840 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7842 * insetinclude.C (Latex): Do not exit when the textclass of the
7843 included file differ from the textclass of the parent file.
7845 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7847 * ExternalTemplate.C (read): the reading of external insets now checks
7848 for \end_inset and removes it form the input stream.
7850 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7852 * ExternalTemplate.h:
7853 * ExternalTemplate.C:
7855 * insetexternal.C: move form to GUII
7857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7860 * insetinclude.C: add InsetIncludeParams, use
7861 composition rather than derivation of InsetCommand
7863 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7865 * insettoc.C (Ascii): use the Buffer typedefs
7867 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7869 * insettoc.C (Ascii): implement for dynamic number of lists
7871 * insetcaption.[Ch]: update from new_insets branch
7872 * insetfloat.[Ch]: ditto
7874 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7877 * figinset.C: use new File Dialog
7879 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7881 * insettext.C: changes becuase of ParagraphParameters.
7883 2001-02-28 Baruch Even <baruch@ev-en.org>
7885 * insetgraphics.C (updateInset): Changed due to the change in
7888 2001-02-26 Juergen Vigna <jug@sad.it>
7890 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7891 handled in LyXText).
7893 2001-02-23 Juergen Vigna <jug@sad.it>
7895 * insettext.C (draw): some small repainting fixes.
7896 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7898 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7899 should be) and not an int.
7901 * insettabular.C (LocalDispatch): ditto
7903 * insettext.C (LocalDispatch): ditto
7905 * insetcollapsable.C (LocalDispatch): ditto
7907 2001-02-22 Juergen Vigna <jug@sad.it>
7909 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7910 DISPATCH it and we don't have a locking_inset.
7912 2001-02-21 Baruch Even <baruch@ev-en.org>
7914 * insetgraphics.[Ch]: Changed to use
7915 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7917 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7919 * insetcollapsable.C (getLyXText): add const qualifier to second
7922 2001-02-22 Juergen Vigna <jug@sad.it>
7924 * insettext.C (getLyXText): honor the recursive parameter.
7925 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7927 * inset.C (getLyXText): added bool recursive parameter.
7929 * insettext.C (SetUpdateStatus): or the update codes.
7930 (draw): check need_update with &.
7931 (InsetButtonPress): set no_selection to not put a selection when
7932 entering an inset and it is redraws in another spot.
7934 * insettext.h: made need_update an int.
7936 2001-02-20 Baruch Even <baruch@ev-en.org>
7939 * insetgraphisc.C: Changed to use better semantics when loading images
7940 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7942 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7946 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7947 consistent with InsetTabular.
7949 2001-02-19 Juergen Vigna <jug@sad.it>
7951 * insettabular.C (LocalDispatch): implement PAGE up/down.
7953 * insettext.C (draw): clear all of it on need_update==INIT too!
7955 * insettabular.C (InsetUnlock): always clear the selection.
7957 * inset.C (scroll): normally we only want to scroll the inset until
7958 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7960 2001-02-14 Juergen Vigna <jug@sad.it>
7962 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7963 (resetPos): fixed scroll behaviour.
7964 (LocalDispatch): do an update if moving cursor inside a table cell
7965 requests a scroll of the tabular.
7967 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7969 * insettext.C (textWidth): constify local var
7971 * insettabular.C: small cleanup.
7973 * insetfoot.C (Latex): constify local var
7975 * insetcollapsable.C: small cleanup.
7977 * figinset.C (runqueue): use compare instead of strcmp
7979 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7982 * insetinfo.C: remove cruft
7984 2001-02-14 Juergen Vigna <jug@sad.it>
7986 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7988 2001-02-13 Juergen Vigna <jug@sad.it>
7990 * insettext.C (InsertInset): don't move left (is this right?)
7992 * insettabular.C (LocalDispatch): use of the no_draw variable
7994 * insettabular.h: new no_draw variable to stop redraw
7996 * insettabular.C (TabularFeatures): fixed update for alignment change
7998 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8002 * insetbib.C: move dialogs to frontends/
8004 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8006 * insettext.C (LocalDispatch): Restore the language if the inset
8009 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8011 * insettext.C (moveRightIntern): Update the selection cursor.
8012 (moveLeftIntern): Ditto.
8014 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8016 * Makefile.am: remove BoundingBox.h
8018 * BoundingBox.h: removed
8020 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8022 * insettext.C (LocalDispatch): Update selection cursor when moving
8023 cursor to the right.
8024 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8025 (moveLeftIntern): Ditto.
8027 2001-02-05 Baruch Even <baruch.even@writeme.com>
8029 * insetgraphics.C: Updated automatic image conversion, it now goes into
8030 temporary directory instead of with the image itself.
8032 2001-01-21 Baruch Even <baruch@ev-en.org>
8034 * insetgraphics.C: Added Docbook support. Added Automatic image
8035 conversion to EPS or PNG when needed (support bitmap graphics).
8037 2000-11-02 Baruch Even <baruch@ev-en.org>
8040 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8041 to '\n' and removal of commented out code.
8043 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8045 * insetbib.C (callback): Update citations if the key has changed.
8047 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8049 * insetbib.C (InsetBibKey): Better computation of default key.
8050 (getScreenLabel) Show both the key and the label.
8051 (getBibLabel): New method.
8052 (callback): Force a redraw if the inset have been changed.
8054 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8056 * insetref.C (getType, getName): Move methods from
8057 src/frontends/xforms/FormRef.C.
8059 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8061 * insettabular.C: Various improvements (use only one dummy position).
8063 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8065 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8066 par->bibkey->width. This fixes the crashes when running without
8067 gui or when having included documents.
8069 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8071 * insetcommand.C (getAsString, setFromString): Cleanup.
8073 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8075 * insetref.C: Add the array InsetRef::types that contains
8076 information about all supported reference types.
8078 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8080 * lyxinset.h: remove trailing comma in enum.
8082 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8084 * insettext.C: kill LyXBell.