1 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6 change argument of forceDefaultParagraphs from inset to cell.
8 * insettabular.C: fix forceDefaultParagraphs (part of bug 1953).
10 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * insetbase.h: document the EDITABLE enum.
14 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
16 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
19 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
21 * insetbranch.C: partial fix bug 2092: branches not
22 propagated to child docs
23 * insetcharstyle.C: Also replace LColor::red by LColor::error
25 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * insetbranch.C (isBranchSelected): take a buffer as argument.
28 adapt to work with child documents (bug 2092).
30 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * insettabular.C (doDispatch): get rid of annoying debug message.
34 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
35 code from InsetCollapsable.
37 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
38 inset is toggled to Closed, move cursor to the right (part of bug
41 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
43 * insettext.C: remove obsolete old_pit
45 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * insettabular.C (doDispatch): do not override the result of
48 LFUN_RIGHT/LEFT. (bug 2101)
50 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
52 * insetvspace.C (metrics): compute ascent and descent in a way that
53 the cursor is placed on the same level as the label text
55 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
57 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
58 of autoopen, which means that collapsables automatically open
59 whenever the cursor enters (and close again on leave) (fixes bug 1921).
61 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
64 and '\space' to '\space{}' (consistency).
66 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * insettabular.C (tabularFeatures): validate cursor after
69 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
71 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
73 * insettabular.C: fixes bug 1765: multicol cell width on screen not
76 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * insettabular.C: use recordUndoInset instead of recordUndo
79 (fixes bug 1937 and 1986).
81 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * insetvspace.C (metrics): include label text
84 * insetvspace.[Ch] (label): new, needed for the above
86 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * insetbase.[Ch]: new bool neverIndent() which indicates if
89 an inset does not want paragraph indentation at all.
92 * insetoptarg.h: return true for neverIndent()
93 * insettext.[Ch]: return true for neverIndent() in case
94 of tabular cells (based on a crude guess).
96 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * insetline.C: Add forgotten include
100 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * insetline.C (latex): write the size argument of \lyxline again
103 * insetquotes.C (latex): adapt to OutputParams changes
105 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
108 when switching to pwidth cell (bugs 1296, 1840).
110 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * insettabular.C (draw): pass PainterInfro::erased_ to
114 (drawCellLines): add an erased bool and handle it.
116 2005-08-03 John Levon <levon@movementarian.org>
118 * insettext.C (clear): remove bool argument.
119 (read): adapt to clear() changes.
121 * insettabular.C (cutSelection): adapt to MarkErased changes.
123 * insettext.C (markErased):
124 * insettabular.C (markErased):
125 * insetbase.C (markErased): add bool argument.
127 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
129 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
130 after copying several cells (works around bug 1919).
132 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
134 * insetcharstyle.C (metrics,draw): consider inset label for
135 width computation; fix drawing of labels of undefined char styles
137 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
139 * insettabular.C (getStatus): fix Helge's bug that a number of insets
140 including ERT could not be inserted in tabular.
142 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * insetinclude.C (string2params): fix typo in error message (bug 1963).
146 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
148 * insettabular.C (getStatus): disable line and paragraph breaks
149 in non-fixed-width cells (bug 1938).
151 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * insetwrap.C: Do not use translatable strings as internal identifier
157 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
159 * insetbase.C: include boost/current_function.hpp
161 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
163 * insetbase.C (edit,editXY,index): supress some lyxerr messages
165 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
169 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
171 * insetlabel.C (changeRefsIfUnique): remove unused code
173 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
176 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
177 reverse the logic. Make sure to set updateButtonLabel_ to true in all
178 places where params is set (directly or indirectly).
180 2005-07-15 André Pönitz <poenitz@gmx.net>
182 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
184 2005-07-15 André Pönitz <poenitz@gmx.net>
188 * insetcollapsable.[Ch]:
190 * updatableinset.[Ch]: remove UpdatableInset
192 2005-07-15 José Matos <jamatos@lyx.org>
194 * insettext.C (plaintext): fix call to asciiParagraph.
196 2005-07-15 André Pönitz <poenitz@gmx.net>
198 * insetcollapsable.[Ch]:
199 * updatableinset.[Ch] (scroll, setScroll): sanitize things
201 2005-07-14 Angus Leeming <leeming@lyx.org>
203 * insetbibtex.C (latex): when processing the LaTeX file in
204 a temp directory, copy the BibTeX databases there, mangling their
205 names in the process. Do this so that BibTeX can process the database
206 because it *really*, *really* can't handle "files with spaces".
208 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
210 * insettext.C (doDispatch): reduce some debug blabbering
212 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
214 * ExternalSupport.C (subst_path): adjust to latex_path changes and
215 replace dots if appropriate
216 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
217 * insetexternal.C (validate): require lyxdot
219 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * ExternalSupport.C (subst_path): new argument exclude_extension
222 * ExternalSupport.C (doSubstitution): exclude the extension when
224 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
225 the extension when quoting the file name
227 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * insetquotes.C (latex): always use \og/\fg for the french
230 languages; test against the language code instead of the babel
233 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
235 * insettabular.C (tabularFeatures): adjust cursor after adding a column
237 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * insetbranch.C (setButtonLabel): Make label prefix translatable.
241 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
243 * insettabular.[Ch] (dist): make it a real member of insettabular
244 and rewrite it to use the actuall cell dimensions for calculation,
245 not the insettext's deimensions (fixes bug 1801).
247 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
249 * insetbibtex.C: (addDatabase): do not check for substrings but
250 but for whole tokens.
251 (delDatabase): make it actually work.
253 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
257 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * insetgraphics.C (prepareFile): don't strip the extension of quoted
261 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
263 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
265 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
266 when multiple cells are selected (bug 1837).
268 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * insetoptarg.C (InsetOptArg): make the inset open by default
273 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * insetvspace.C (draw): use VSpace::asGUIName.
277 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
280 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
281 cur.noUpdate() if nothing changed
282 * insetlatexaccent.[Ch]: spelling fixes
284 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
286 * insetcollapsable.C (doDispatch): fix
287 click-on-closed-collapsable-inset-crash bug.
289 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
291 * insettabular.C (pasteSelection):
292 * insettext.h (copy c'tor): fix paste inside tabulars.
294 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * insetoptarg.C (plaintext): add dummy method.
298 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
300 * insetbase.h (doDispatch): document a bit more
301 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
302 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
303 cur.bv().update(), because that leads to nested updates. Call
304 cur.noUpdate() instead where approriate.
306 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
308 * insetbibtex.C: change screen label
310 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
312 2005-05-06 José Matos <jamatos@lyx.org>
314 * insetcommandparams.C (scanCommand): fix out of range string access.
316 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
318 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
320 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
321 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
324 handle undefined character styles
325 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
326 handle undefined character styles
328 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
330 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
331 in getStatus and the tabularFeature string (bug 1860).
333 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
335 * insetbranch.C (getStatus): make the code more compact
337 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * insetcollapsable.C (doDispatch): do not pass through double/triple
340 click events when they are not in the insetext (bug 1797).
342 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * insetbase.h: document a bit more
345 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
346 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
347 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
348 (getStatus): implement
349 * insetcollapsable.[Ch] (hitButton): take a const argument
350 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
353 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * insetcollapsable.C (doDispatch): pass through double/triple
356 click events (bug 1811).
358 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
362 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
363 but the SENSITIVE label type.
365 2005-04-18 Angus Leeming <leeming@lyx.org>
367 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
368 'use_latex_path' argument. In turn, passed to the new subst_path
369 function when replacing placeholders with paths.
371 * insetexternal.C (getScreenLabel):
372 * ExternalSupport.C (lots of places): change invocation of
373 doSubstitution in lots of places, specifying the appropriate values
374 for this 'use_latex_path' boolean.
376 * insetbib.C (latex):
377 * insetgraphics.C (latex):
378 * insetinclude.C (latex): pass path to latex_path rather than to
381 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
383 * insetcharstyle.C (validate): allow nested charstyle insets
385 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
389 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * insetfloat.C (InsetFloat):
392 * insetwrap.C (InsetWrap): do not set layout here.
394 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
396 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
398 * insetbase.h (getStatus): add more documentation
399 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
402 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
404 * insetcharstyle.C (metrics, draw):
405 * insetert.C (metrics, draw):
406 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
409 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
411 * insetexternal.C (validate):
412 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
413 multiple Requirements in external material template
415 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
417 * insettext.C (drawFrame): cosmetic fix
419 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
421 * ExternalSupport.C (writeExternal):
422 * insetgraphics.C (latex):
423 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
424 mis-count in computing latex error location
426 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
428 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
429 make it *not* descend into insets (fix a crash). Move the part
430 needed from editXY to a new function getNearestCell
432 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * insetinclude.C (InsetInclude): when constructing from another
435 InsetInclude, set set_label_ to false, since the value is never
438 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
440 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
442 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
444 * insettabular.C (drawSelection): cosmetic bugfix
446 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * insettabular.C (doDispatch): get middle mouse button back again
449 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
450 when only a part of the cell is selected (fix bug 1799)
452 * insettabular.C: handle some more character attributes in
453 M. Vermeers method (when multiple cells in tables are selected);
454 disable some more senseless lfuns when multiple cells are selected
456 Move to end of cell instead of beginning when coming from the cell
459 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
461 * insettabular.C: make applying character attributes
462 possible for multiple cells in tables. Disable collapsable
463 insets for multiple-cell selection in table (Jürgen S.)
464 Bug reported by Helge Hafting.
466 2005-02-25 Andreas Vox <avox@arcor.de>
468 * insetmarginal.[hC] (docbook): new method, render as <note>
470 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
472 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
474 * insetcaption.[Ch] (doClone): implement
476 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
478 * insetgraphics.C (prepareFile): handle non-existing files
479 * insetgraphics.C (latex): remove special handling of non-existing
482 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
484 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
485 * insettext.C: adjust metrics
487 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * insettext.C: include boost/current_function.hpp (needed when
490 assertions are disabled)
492 2005-02-20 André Pönitz <poenitz@gmx.net>
494 * insetcollapsable.C: Prevent problems on double-/
495 tripleclick on collapsable label (bug 1797).
497 2005-02-13 André Pönitz <poenitz@gmx.net>
499 * insettext.[Ch] (border_): new
500 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
503 2005-02-14 Angus Leeming <leeming@lyx.org>
505 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
506 about "truncation of constant value".
508 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
510 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
511 workaround for broken HTML converter)
513 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * insetcollapsable.C (leaveInset): size() -> depth()
516 * insettabular.C (isRightToLeft): ditto
518 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
520 * insetert.C (latex, linuxdoc, docbook): remove newline handling
521 * insetert.C (doDispatch): clean pasted paragraphs
522 * insetert.C (getStatus): suppress more lfuns
523 * insetert.C (insetAllowed): return always false
525 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
530 * updatableinset.C: Use new cursor accessors.
532 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
534 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
536 2005-01-31 Angus Leeming <leeming@lyx.org>
538 * insetgraphicsParams.C: protect a #warning preprocessor call
539 with a #ifdef WITH_WARNINGS guard.
541 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * Several files: use convert<> instead of atoi,strToXXX and friends
545 2005-01-23 Angus Leeming <leeming@lyx.org>
547 * insetbibitem.h (bibitemWidest): declare the function.
549 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * insetgraphics.C (prepareFile): move the invocation of the default
552 converter to ../converter.C
553 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
554 call convert with try_default == true
556 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
558 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
559 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
560 determines what variables are substituted
561 * ExternalSupport.C (updateExternal): fix substitution of
564 2005-01-10 Angus Leeming <leeming@lyx.org>
566 * ExternalTemplate.C: use support/package.h to provide the paths to the
567 various directories used by LyX.
569 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * ExternalTransforms.C (adjAngle): tostr -> convert
579 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
581 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
584 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
586 * ExternalTransforms.C: fix LaTeX output of \scalebox.
588 * ExternalTransforms.[Ch]:
589 * insetexternal.C: store all float/double values as strings.
592 * insetgraphicsParams.C: more precise checks for the value strings.
594 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * insettext.C (doDispatch): remove unused variable was_empty
598 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
601 * insetgraphicsParams.[Ch]: store all float/double values as strings.
603 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
605 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
607 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
609 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
610 UNSET_ALL_LINES (from Jürgen)
612 2004-12-14 Angus Leeming <leeming@lyx.org>
614 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
615 to overcome bug in the MinGW port of g++ 3.4.2.
617 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
619 * insettabular.C (getCellXPos): make it return a relative x
620 position wrt. the begin of the tabular
621 (resetPos): a couple of fixes
622 (doDispatch): add a couple of resetPos calls
623 (drawSelection): fix drawing of selection in single-cell mode
624 (draw): replace 'do not draw' optimization by 'draw with
627 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
629 * insetbase.[Ch] (idxUpDown2): remove function
631 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
633 * insettabular.[Ch]: use size_t-like types for cell, row and column
636 2004-12-02 José Matos <jamatos@lyx.org>
638 * insetlatexaccent.C (checkContents): remove compatibility code,
641 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
643 * insetbase.h (getStatus): add better comment from src/cursor.C
645 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
647 * insettabular.[Ch]: adjust, introduce "do not draw
648 offscreen" optimization using NullPainter, (dist): introduce,
649 (getCursorPos): implement, (drawSelection): implement
651 * insetcollapsable.[Ch]: adjust
653 * insettext.C: adjust, (metrics): set the font before calling
656 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
658 * rename a lot of InsetOld to InsetBase
660 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
663 * insettext.C: par->pit renaming
665 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * Most insets: rename priv_dispatch to doDispatch
669 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
671 * insettabular.C (tabularFeatures): fix multicolumn handling
673 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * render_base.h (operator=): use common semantics
677 * insettext.C (operator=): delete this
678 (copy constructor): implement this properly
679 (init): use for_each and bind
681 (appendParagraphs): ditto
683 * insettabular.C: add more const. Adjust for changes in tabular.
685 * insetbase.h: Use NVI on clone. Add virtual doClone and update
686 all children, also make copy constructor protected. Added some
687 safe-guards to clone.
689 * insets: adjust to fit.
691 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * insetoptarg.C (latexOptional): return number of lines instead of
696 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * insettabular.[Ch] (string2params): Don't pretend to return the
699 active cell anymore and simplify keyword parsing.
701 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * insetlatexaccent.h (isLetter): implement, so that word selection
704 takes accents into account.
706 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
708 * insetcollapsable.C (priv_dispatch): do not push the inset to the
711 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * ExternalSupport.C, insetgraphics.C:
714 s/getFormatFromContents/formats.getFormatFromFile/
716 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
718 * insetcharstyle.[Ch]:
719 * insetert.[Ch]: implement getStatus
721 * insetcharstyle.C (draw): visual clue when the cursor is inside
724 2004-11-02 José Matos <jamatos@lyx.org>
726 * insetcharstyle.C (docbook):
727 * insetlabel.C (linuxdoc, docbook):
728 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
731 * insettabular.C (docbook): mixed content no longer belongs to
734 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
736 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
738 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
740 * ExternalSupport.C (updateExternal): convert files in the temp dir
742 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
744 * insetcharstyle.C: drawing cosmetics.
746 2004-10-30 José Matos <jamatos@lyx.org>
748 * insetcharstyle.C (docbook): a compromisse solution. Don't output
749 paragraph tags inside inline elements.
751 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
753 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
754 InsetText methods rather than outputVerbatim (escapes special
755 characters) [bug 1731]
756 * insetcharstyle.C (outputVerbatim): remove this function.
757 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
758 which caused an infinite loop.
760 2004-10-29 José Matos <jamatos@lyx.org>
762 * insetgraphics.C (uniqueID): transfered to sgml.C
764 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
766 * insetlabel.C (docbook, linuxdoc):
767 * insetref.C (docbook, linuxdoc): sanitize id.
769 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
771 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
772 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
773 * insetgraphics.C (findTargetFormat): reformat
775 2004-10-28 José Matos <jamatos@lyx.org>
777 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
779 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
783 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
785 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
786 "[,,,]" without warning message
788 2004-10-26 Angus Leeming <leeming@lyx.org>
790 * ExternalSupport.C (updateExternal):
791 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
792 external files to the temp directory.
794 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
796 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
797 layouts. This fixes problems with the memoir class (which does not
798 allow \footnote) [bug 1677]
800 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
802 * insetindex.C (docbook): escape the index, to generate correct sgml.
804 2004-10-23 José Matos <jamatos@lyx.org>
806 * insettext.C (docbook): rearrange arguments, due to change in the
809 2004-10-23 André Pönitz <poenitz@gmx.net>
811 * insettabular.C (cutSelection, tabularFereatures):
812 fix cursor position after cutting selection or table rows
814 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
816 * insetgraphics.C (docbook, writeImageObject): write more than one
817 format of imageobjects in <mediaobject>.
819 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
821 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
822 DocBook output for this inset ( <citation>content</citation> )
824 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
826 * insetgraphics.C (docbook) : using mediaobject for XML;
827 correcting bug with SGML output (now '>' instead of '/>')
829 2004-10-05 José Matos <jamatos@lyx.org>
831 * insetfloatlist.C (read):
832 * insetquotes.C (read):
833 * insetspace.C (read):
834 * insetspecialchar.C (read):
835 * insettabular.C (read): replace nextToken by more appropriate lex
838 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
840 * insetgraphics.C (createDocBookAttribute, docbook) :
841 convert scale, width, height and keepaspectratio to Docbook standards)
843 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
844 to Docbook units where possible.
846 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
848 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
850 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
851 as attributes with new method for docbook.
853 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * render_preview.h: Use preferred calling of Boost.Signal
857 * pch.h: use proper signal include
859 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * ExternalTransforms.h: User preferred calling of Boost.Function
863 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
865 * insetref.C (docbook): fixing problem where Docbook XML output
866 had unclosed <xref ... >
868 2004-08-16 José Matos <jamatos@lyx.org>
870 * insethfill.C (write):
871 * insetline.C (write):
872 * insetnewline.C (write):
873 * insetpagebreak.C (write): remove space at end of line.
875 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
877 * insettabular.C (plaintext): do not use ownerPar to get the
880 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
881 and it calls getParentLanguage (which calls ownerPar)
882 (edit): do not call sanitizeEmptyText
883 (priv_dispatch): remove code resetting font on empty inset, for
884 the same reasons as above.
886 * insettabular.C (isRightToLeft): instead of using
887 BufferView::getParentLanguage, use the data from the cursor
889 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * Makefile.am: support pch
895 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
897 * insettabular.C (draw): whitespace
899 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
901 2004-08-14 André Pönitz <poenitz@gmx.net>
903 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
905 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
907 * insettabular.C (metrics): when the width of a cell is zero(),
908 let it use as much space as it can
910 * insettext.C (editXY): compilation fix
912 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
914 (metrics): the insets is not full width any more.
915 (draw): adjust; fix bad test for PREVIEW_OFF
916 (add_preview): fix bad test for PREVIEW_OFF
917 (display): do not return true when using \input
919 2004-08-14 José Matos <jamatos@lyx.org>
921 * insetbibitem.[Ch] (plaintext): added.
923 * insetcite.[Ch]: fix plaintext export.
925 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
927 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
930 * insetcaption.C (InsetCaption): modify call to setDrawFrame
931 * insetcollapsable.C (InsetCollapsable): ditto
932 * insetenv.C (InsetEnvironment): ditto
934 2004-08-14 André Pönitz <poenitz@gmx.net>
937 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
939 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * insetoptarg.C (latexOptional): if the optional argument contains
942 a ']' enclose it in {curly brackets}
944 * insettext.C (editXY):
945 * insettabular.C (editXY):
946 * insetcollapsable.C (editXY):
947 * insetbase.C (editXY): constify
949 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
950 not ask for an update if we did nothing; on a mouse release, make
951 sure that the cursor is moved to the right position; on a mouse
952 release, exit from the inset instead of invoking a
955 * insetbase.C (dispatch): before invoking dispatch, set cursor
956 result to dispatch=update=true.
958 2004-08-13 José Matos <jamatos@lyx.org>
960 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
962 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * insetfoot.C (latex): use OutputParams::intitle instead of
965 parOwner() (avoids time consuming lookup)
967 * insetquotes.C (latex): same as above with OutputParams::lang.
968 Moreover the code actually works now.
970 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
973 * insetinclude.C, insetgraphics.C, insetfloat.C:
974 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
975 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
976 "support/std_sstream.h" to <sstream>
978 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * insetgraphics.C (prepareFile): remove conversion_needed flag.
981 It made the following fail for a .eps graphics file:
983 2) view->pdf (pdflatex)
984 because the .eps file was already in the temp dir when the pdflatex
985 export happened and therefore no .eps -> pdf conversion was done.
987 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * insetgraphics.C, insettabular.C: s/wether/whether/g
991 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * insetgraphics.C (stripExtension): new
994 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
996 * insetgraphics.C (prepareFile): Handle "nice" exports, too
997 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
999 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * insetfloatlist.C (latex,getScreenLabel): translate according to
1002 the document language (bug #1312)
1004 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1006 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
1007 with external_in_tmpdir and compute filename ourself
1008 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
1009 use it to store referenced file(s)
1010 * ExternalSupport.C (writeExternal): write relative filename if
1012 * ExternalTemplate.[Ch]: add ReferencedFile command
1013 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1014 runparams.exportdata
1015 * insetgraphics.C (prepareFile): write relative filename if
1017 * insetinclude.C (latex, docbook, linuxdoc): add file to
1018 runparams.exportdata and write it to the temp dir instead of
1019 writing it to the final destination
1020 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1022 2004-05-19 Angus Leeming <leeming@lyx.org>
1024 * insetcite.[Ch]: small change because namespace biblio is
1025 now namespace lyx::biblio.
1027 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1029 * insettabular.[Ch] (buffer): make Buffer * argument const
1031 2004-05-17 Angus Leeming <leeming@lyx.org>
1033 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1034 to force the button label to be re-generated.
1036 2004-05-14 José Matos <jamatos@lyx.org>
1038 * insetlabel (docbook): do not ouput label, for the moment.
1040 2004-05-14 Angus Leeming <leeming@lyx.org>
1042 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1043 new biblio::asValidLatexString function.
1045 2004-05-12 Angus Leeming <leeming@lyx.org>
1047 * insetcite.C: use BufferParams::cite_engine rather than the three
1048 bools, use_natbib, use_jurabib, use_numerical_citations.
1050 2004-05-10 Angus Leeming <leeming@lyx.org>
1052 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1053 Ditto with getStyle, moved to biblio::getEngine.
1055 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1057 * insetgraphics.C (validate): remove pre 233 file format stuff,
1058 handle zipped files for "nice" export
1060 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1062 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1063 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1064 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1065 changed since the last run
1066 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1067 and copyFileIfNeeded.
1069 2004-04-29 Angus Leeming <leeming@lyx.org>
1071 * ExternalTemplate.[Ch]: remove redundant #includes.
1073 2004-04-28 Angus Leeming <leeming@lyx.org>
1076 s/updateToolbar()/updateToolbars()/
1078 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1080 * insetgraphics.C: require file extension (file format change!)
1081 * insetgraphics.C (latex): handle zipped files for "nice" export
1083 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * insetgraphics.C (latex): strip the extension and replace dots in
1086 the filename if doing a "nice" export. This is a partial fix for
1087 bug 1231 without reintroducing bug 655.
1089 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1091 * insetoptarg.h: remove the editable() method (InsetCollapsable
1092 does it better already)
1094 * insetbibtex.C (normalize_name): new helper function. Changes the
1095 name to be suitable to use in a latex file (relative to master
1096 buffer if necessary).
1097 (latex): use normalize_name.
1099 2004-04-20 Angus Leeming <leeming@lyx.org>
1101 * render_preview.C (startLoading): remove lyxerr statement.
1103 (getPreviewLoader): new helper function.
1105 2004-04-19 Angus Leeming <leeming@lyx.org>
1109 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1111 2004-04-19 Angus Leeming <leeming@lyx.org>
1113 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1115 (add_preview): renamed as add_preview_and_start_loading. Invoke
1116 RenderPreview::startLoading.
1118 * insetinclude.C (metrics, draw): changes due to the changed
1119 RenderPreview interface.
1121 * render_preview.C: remove cached pimage_.
1122 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1123 (draw): don't call startLoading. That's up to the user of
1126 2004-04-16 Angus Leeming <leeming@lyx.org>
1128 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1130 2004-04-13 Angus Leeming <leeming@lyx.org>
1132 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1133 the renderer to inform LyX::updateInset that the inset's status
1134 has changed and it should be redrawn.
1136 * render_button.[Ch] (clone):
1137 * render_graphic.[Ch] (c-tors, clone):
1138 * render_preview.[Ch] (c-tors, clone): ditto.
1140 * render_graphic.[Ch] (connect):
1141 * render_preview.[Ch] (connect): removed, as connection is now
1142 made in the constructors.
1146 * insetinclude.C: ensuing simplification of the client code.
1147 (statusChanged): now superfluous. Removed.
1149 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1151 * ExternalTemplate.[Ch]: remove editCommand
1152 * ExternalSupport.C (editExternal): use formats.edit() instead of
1153 the removed editCommand template parameter
1154 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1155 * insetgraphics.[Ch] (editGraphics): new method
1157 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1159 * insetinclude.C (validate): set/reset features.buffer_ when
1160 validating the child
1162 2004-04-07 Angus Leeming <leeming@lyx.org>
1164 * insetexternal.C (priv_dispatch):
1165 * insetinclude.C (priv_dispatch): prevent crash by invoking
1166 InsetOld::priv_dispatch at the end of the switch, rather than
1167 InsetOld::dispatch...
1169 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1171 * insetcollapsable.C:
1172 * insetbranch.C: 'assign' to open/close branch inset according to
1173 selection; also print content on closed branch button
1175 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1177 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1178 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1179 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1181 * ExternalSupport.C (updateExternal): use absolute and output
1182 filename where appropriate
1184 2004-04-05 André Pönitz <poenitz@gmx.net>
1186 * insetbase.h: use LCursor & in notifyCursorLeave
1188 2004-04-05 Angus Leeming <leeming@lyx.org>
1190 * insetgraphics.C: remove unused header file "lyxrc.h".
1192 * render_graphic.C: squash bug 1372: Misleading graphics label when
1193 deactivating lyx view.
1195 2004-04-05 Angus Leeming <leeming@lyx.org>
1200 * insetlatexaccent.C:
1205 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1207 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1209 * insetfloat.C (read): fix yesterday's float fix.
1210 * insetwrap.C (read): apply the fixed float fix.
1212 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1214 * insetfloat.C (read): fix reading of float params
1217 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1219 * insettext.C (edit): comment the call to updateLocal (dangling now)
1220 * insettext.h: add allowSpellCheck() returning true
1222 2004-03-31 Angus Leeming <leeming@lyx.org>
1224 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1226 2004-03-31 Angus Leeming <leeming@lyx.org>
1228 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1229 the cursor out of an inset.
1231 * insetbranch.C (priv_dispatch):
1232 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1233 use getOutOfInset to push the cursor out of the inset when
1236 2004-03-30 Angus Leeming <leeming@lyx.org>
1238 * insetbase.[Ch] (translate): new static member function, returns
1239 an InsetBase::Code corresponding to the input string.
1241 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1243 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1244 so that it opens the inset if it refers to the currently active
1247 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1249 * insetfloat.C (addToToc): use par_const_iterator_begin and
1250 par_const_iterator_end.
1252 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1254 * insetbibtex.[Ch]: bibtopic support.
1256 * insetfloat.[Ch]: add param \sideways {true|false}
1257 (support for sideways floats from rotating.sty).
1259 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1261 * insettext.[Ch]: add a default ctor. implement const version of
1267 * insetwrap.C: adjust
1269 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1271 * insettext.h: add insetAllowed returning true by default (fixing
1272 vanishing insets problem)
1274 * insettext.C (draw): handle the responsability of adding the
1275 ouside offset to collapsable. Clean code a bit.
1277 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1278 from insettext correctly, solve a couple of off-by-one drawing
1281 2004-03-25 Angus Leeming <leeming@lyx.org>
1283 * insetcaption.C (draw): squash warning about unused variable.
1285 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1287 * ExternalSupport.C: use the master buffer's temp dir
1288 * insetgraphics.C (latex): make relative filename relative to the
1290 * insetgraphics.C: use the master buffer's temp dir
1291 * insetinclude.C (masterFilename): new function
1292 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1293 is always true if loadIfNeeded() returns true)
1295 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1297 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1298 set its parent to the current buffer.
1299 (latex): use the tmppath of the master buffer, not just the parent
1300 buffer (makes a difference with more than one level of include
1301 insets). If the file name is relative write in the .tex file a
1302 name relative to the master buffer directory.
1304 * insetinclude.C: rename masterFilename to parentFilename (this
1305 points to the direct parent)
1307 2004-03-25 André Pönitz <poenitz@gmx.net>
1309 * inset.[Ch]: remover owner
1311 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1319 * insetcharstyle.[Ch]:
1327 * insetwrap.C: adjust
1329 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * insetquote.C: use opening quote after '[' char.
1333 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1335 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1338 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1340 * insetcite.[Ch]: support jurabib.
1342 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1344 * insetcite.C: Support second \cite option.
1346 * insetcommand.[Ch]:
1347 * insetcommandparams.[Ch]: add second optional argument.
1349 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1351 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1352 shows the inset dialog.
1354 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1356 * insetlabel.[Ch]: remove them
1357 * Makefile.am: adjust
1359 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1361 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1363 * insetinclude.C (latex): show a GUI warning if textclasses don't
1365 * insetinclude.C: use mangledFilename() for temp files
1366 * insetgraphics.C (readInsetGraphics): remove version check, since
1367 the graphics inset has no own fileformat number anymore
1369 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1371 * insetquotes.[Ch]: added new member that allows direct access
1372 to single/double quotation marks.
1373 * insetnewline.[Ch]:
1374 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1376 2004-02-16 André Pönitz <poenitz@gmx.net>
1379 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1380 implicitly assume 'DispatchResult(true, true) with exception of
1381 InsetBase::priv_dispatch which does the equivalent of
1382 'retrun DispatchResult(false)'
1384 * inset*.[Ch] (priv_dispatch): adjust
1386 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1387 simplify cursor moving function,
1388 re-enable horizontal scrolling for large tables
1390 2004-02-13 André Pönitz <poenitz@gmx.net>
1392 * insettabular.[Ch]: some work after IU
1394 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1396 * inset.C (setPosCache): switch to absolute coords in insets
1397 * insettext.[Ch] (draw, drawFrame): adjust
1398 * insetcollapsable.C (draw): adjust
1401 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1403 * insettext.C (edit):
1404 (updateLocal): use the cur argument instead of the global cursor
1405 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1407 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1411 * insetfloat.C (validate): "H" -> 'H' in call to contains
1413 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1415 2004-01-30 André Pönitz <poenitz@gmx.net>
1419 * insetcollapsable.[Ch]:
1422 * insetgraphics.[Ch]:
1424 * insettabular.[Ch]:
1427 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1430 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1432 * insettabular.C: add using statement for std::vector, remove
1433 std:: where using was already used.
1435 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1437 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1439 * insetinclude.C (validate): use feautures.nice() instead of
1442 2004-01-20 André Pönitz <poenitz@gmx.net>
1445 * insetbase.[Ch]: move stuff from mathcursor here.
1447 * insetbibitem.[Ch]:
1451 * insetcharstyle.[Ch]:
1452 * insetcollapsable.[Ch]:
1453 * insetcommand.[Ch]:
1455 * insetexternal.[Ch]:
1457 * insetgraphics.[Ch]:
1458 * insetinclude.[Ch]:
1462 * insettabular.[Ch]:
1466 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1469 2004-01-15 André Pönitz <poenitz@gmx.net>
1472 * insetbibitem.[Ch]:
1476 * insetcharstyle.[Ch]:
1477 * insetcollapsable.[Ch]:
1478 * insetcommand.[Ch]:
1480 * insetexternal.[Ch]:
1482 * insetgraphics.[Ch]:
1483 * insetinclude.[Ch]:
1487 * insettabular.[Ch]:
1491 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1493 2004-01-08 André Pönitz <poenitz@gmx.net>
1495 * insetcollapsable.[Ch]:
1496 * insettabular.[Ch]:
1498 * updatableinset.h: use cell index info from global cursor.
1500 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1502 * insetnote.C (InsetNoteParams::write): write label only once
1504 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1508 get rid of the SameName functor
1510 * insettabular.C: improve the functor.
1512 2003-12-29 Angus Leeming <leeming@lyx.org>
1514 * insetexternal.C (setParams): update defaultTemplateName.
1516 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1518 * insetbox.C: Use term "Box" in button label
1520 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1522 * insetcharstyle.C: get getDrawFont working again
1524 2003-12-15 André Pönitz <poenitz@gmx.net>
1526 * insettabular.[Ch]:
1527 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1529 2003-12-12 Angus Leeming <leeming@lyx.org>
1531 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1533 (InsetBranchParams): remove the branchlist hack.
1534 (isBranchSelected): new function, used to decide whether to
1535 print each output format. Also used by InsetList.
1536 (read, string2params): repair my own breakage ;-)
1538 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1540 * insetminipage.[Ch]: remove from repository.
1542 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1545 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1546 insetert to insetcollapsable; introduce virtual function
1547 setButtonLabel and invoke it from collapsable
1549 2003-12-12 Angus Leeming <leeming@lyx.org>
1551 * insetinclude.C (draw): cache x,y and so enable the
1552 dialog to be opened.
1554 2003-12-12 Angus Leeming <leeming@lyx.org>
1556 * mailinset.C (print_mailer_error): tidy up the output.
1558 2003-12-11 Angus Leeming <leeming@lyx.org>
1560 * mailinset.[Ch] (print_mailer_error): new helper function.
1562 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1563 calling InsetCommandMailer.
1564 (InsetCommandMailer::string2params): pass the name of the dialog.
1566 * insetbibitem.[Ch] (d-tor):
1567 * insetbibtex.[Ch] (d-tor):
1568 * insetcite.[Ch] (d-tor):
1569 * insetfloatlist.[Ch] (d-tor):
1570 * insetindex.[Ch] (d-tor):
1571 * insetlabel.[Ch] (d-tor):
1572 * insetref.[Ch] (d-tor):
1573 * insettoc.[Ch] (d-tor):
1574 * inseturl.[Ch] (d-tor): removed.
1575 Hiding the dialog is handled by InsetCommand.
1577 * insetbibtex.[Ch] (draw, metrics):
1578 * insetfloatlist.[Ch] (draw, metrics):
1579 * insetindex.[Ch] (draw, metrics): removed.
1580 Drawing is handled by InsetCommand.
1582 * insetbibitem.[Ch] (priv_dispatch):
1583 * insetbibtex.[Ch] (priv_dispatch):
1584 * insetcite.[Ch] (priv_dispatch):
1585 * insetfloatlist.[Ch] (priv_dispatch):
1586 * insetindex.[Ch] (priv_dispatch):
1587 * insetlabel.[Ch] (priv_dispatch):
1588 * insettoc.[Ch] (priv_dispatch):
1589 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1590 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1591 LFUN_INSET_DIALOG_SHOW.
1593 * insetbox.C (string2params):
1594 * insetbranch.C (string2params):
1595 * insetert.C (string2params):
1596 * insetexternal.C (string2params):
1597 * insetfloat.C (string2params):
1598 * insetinclude.C (string2params):
1599 * insetminipage.C (string2params):
1600 * insetnote.C (string2params):
1601 * insetvspace.C (string2params):
1602 * insetwrap.C (string2params): over-hauled.
1604 2003-12-10 Angus Leeming <leeming@lyx.org>
1606 * insetexternal.[Ch]: add a draft option and respect it when
1609 2003-12-10 Angus Leeming <leeming@lyx.org>
1611 * insetbox.C: (read, write): now prepend the inset contents with
1612 'Box' to identify the inset as a box inset.
1614 * insetbox.h: move the translators out of sight.
1616 2003-12-10 Angus Leeming <leeming@lyx.org>
1618 * insetert.C (string2params): clean-up using the new lyxlex interface.
1620 * insetexternal.C: ensure that InsetExternalParams has a default
1621 template, 'RasterImage'.
1623 2003-12-10 Angus Leeming <leeming@lyx.org>
1625 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1626 to an enum. Ensuing clean-ups through out the class.
1627 (read, write): now prepend the inset contents with 'Note' to identify
1628 the inset as a note inset.
1630 2003-12-10 Angus Leeming <leeming@lyx.org>
1632 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1633 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1635 2003-12-10 André Pönitz <poenitz@gmx.net>
1639 * insettabular.[Ch]:
1640 * insettext.[Ch]: remove unused insetInset()
1642 * insetert.C: disable some LFUNs
1644 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1646 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1648 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1650 2003-12-04 Angus Leeming <leeming@lyx.org>
1652 * insetexternal.C (draw): update the xo_, yo_ cache.
1654 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1656 (RotationDataType): new helper struct wrapping the
1657 RotationData::OriginType enum.
1659 2003-12-03 André Pönitz <poenitz@gmx.net>
1661 * inset.h: remove getParagraphs()
1663 * insetcollapsable.[Ch]:
1666 * insettabular.[Ch]:
1667 * insettext.C: use getText() instead of getParagraphs()
1669 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1671 * insetert.C: fix label text updating bug
1673 2003-12-02 Angus Leeming <leeming@lyx.org>
1675 * insetvspace.[Ch] (space): new member function. Make space_ private.
1676 (read): use the new, simpler lyxlex syntax.
1678 2003-12-01 André Pönitz <poenitz@gmx.net>
1680 * insetcollapsable.[Ch]:
1681 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1683 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1685 * insetvspace.C (read): handle 'end_inset' token.
1687 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1689 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1691 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1693 * insetcollapsable.[Ch]:
1695 * insetcharstyle.C: place inset content on the button when
1698 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1700 * insetvspace.C: remove VSpace::NONE; increase inset width
1702 2003-12-01 André Pönitz <poenitz@gmx.net>
1704 * insetbase.h: whitespace
1706 * inset.[Ch]: remove latexTextWidth
1707 make setBackgroundColor virtual
1709 * insettext.[Ch]: move ParagraphList member to LyXText
1711 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1717 * insetminipage.[Ch]:
1719 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1721 2003-11-28 Angus Leeming <leeming@lyx.org>
1723 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1724 hiding and showing the dialog respectively.
1725 (priv_dispatch): also actually update the inset contents.
1727 2003-11-28 Angus Leeming <leeming@lyx.org>
1729 * insetbox.C (d-tor):
1730 * insetbranch.C (d-tor):
1731 * insetcite.C (d-tor):
1732 * insetfloat.C (d-tor):
1733 * insetfloatlist.C (d-tor):
1734 * insetinclude.C (d-tor):
1735 * insetindex.C (d-tor):
1736 simplify the invocation of the Mailer::hideDialog() function.
1738 * insetminipage.C (showInsetDialog):
1739 simplify the invocation of the Mailer::showialog() function.
1741 2003-11-28 André Pönitz <poenitz@gmx.net>
1744 * insetvspace.[Ch]: new insets
1746 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1748 * insetcharstyle.C: Syntax change for CharStyles
1750 2003-11-28 André Pönitz <poenitz@gmx.net>
1752 * updatableinset.h: remove insetInInsetY
1754 * insetcollapsable.[Ch]:
1756 * insettabular.[Ch]:
1757 * insettext.[Ch]: adjust
1759 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1763 * insetcollapsable.[Ch]:
1765 * insettabular.[Ch]: remove setFont
1767 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1769 * render_graphic.[Ch]: adjust comments
1771 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1773 * insetgraphics.C (draw): cache xo_ & yo_
1775 2003-11-24 André Pönitz <poenitz@gmx.net>
1777 * insettext.C (setViewCache): don't call LyXText::init() anymore
1779 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1782 * insetcollapsable.[Ch]:
1783 * insetert.[Ch]: remove bufferview parameter in methods
1784 open, close, status, and updateStatus.
1786 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1788 * insetcollapsable.[Ch]:
1789 * insettabular.[Ch]:
1790 * insettext.[Ch] (getCursorDim): squash unused variable
1792 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1794 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1796 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1798 * insettext.C (draw): sets LyXText absolute coordinates
1800 2003-11-20 Angus Leeming <leeming@lyx.org>
1802 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1803 warnings about unused parameters.
1805 * insetcollapsable.C (open):
1806 * insettabular.C (pasteSelection):
1807 * insettoc.C (draw): ditto.
1809 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1811 * insetcollapsable.C:
1813 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1814 remove mouse_x mouse_y etc.
1816 2003-11-17 André Pönitz <poenitz@gmx.net>
1818 * insettext.[Ch] (cx, cy): remove
1820 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1822 2003-11-13 André Pönitz <poenitz@gmx.net>
1825 * insetcollapsable.[Ch]:
1826 * insettabular.[Ch]:
1827 * insettext.[Ch] (deleteLyXText): remove
1829 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1831 * insetcollapsable.[Ch] (fitInsetCursor): remove
1832 * insettabular.[Ch] (fitInsetCursor): remove
1833 * insettext.[Ch] (fitInsetCursor): remove
1834 * updatableinset.[Ch] (fitInsetCursor): remove
1835 (getCursorDIm): add virtual
1837 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1839 * src/insets/Makefile.am:
1840 * src/insets/inset.h:
1841 * src/insets/insetcharstyle.C:
1842 * src/insets/insetcharstyle.h: The Character Style /XML short
1845 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1847 * insettext.C: remove all update calls
1848 * insetcollapsable.C: remove all update calls
1850 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1852 * insettext.C (updateLocal, insertInset, setFont): remove
1855 2003-11-10 André Pönitz <poenitz@gmx.net>
1857 * inset.h: remove Inset::id_
1859 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1864 2003-11-10 André Pönitz <poenitz@gmx.net>
1868 * insetcollapsable.[Ch]:
1872 * insettabular.[Ch]:
1875 * updatableinset.[Ch]: remove inset locking & adjust
1877 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1879 * inset.h (allowSpellCheck): add (return true)
1880 * insetert.h (allowSpellCheck): add (return false)
1882 2003-11-05 José Matos <jamatos@lyx.org>
1888 * insetcaption.[Ch]:
1890 * insetcollapsable.[Ch]:
1891 * insetcommand.[Ch]:
1894 * insetexternal.[Ch]:
1896 * insetfloatlist.[Ch]:
1898 * insetgraphics.[Ch]:
1900 * insetinclude.[Ch]:
1903 * insetlatexaccent.[Ch]:
1906 * insetmarginal.[Ch]:
1907 * insetminipage.[Ch]:
1908 * insetnewline.[Ch]:
1911 * insetpagebreak.[Ch]:
1915 * insetspecialchar.[Ch]:
1916 * insettabular.[Ch]:
1918 * insettheorem.[Ch]:
1921 * insetwrap.[Ch]: rename ascii to plaintext
1922 and LatexRunParams to OutputParams.
1924 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1926 * insetcollapsable.C (edit): add open() all
1927 * insettext.C (edit): add setViewCache call
1929 2003-11-04 André Pönitz <poenitz@gmx.net>
1931 * inset.h (edit): move locking code from dispatch() to edit()
1937 * insetcollapsable.[Ch]:
1940 * insetexternal.[Ch]:
1941 * insetgraphics.[Ch]:
1946 * insettabular.[Ch]:
1947 * insettext.[Ch]: adjust
1949 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1952 * insetcollapsable.[Ch]:
1954 * insettabular.[Ch]:
1956 * updatableinset.[Ch]: remove dead search code
1958 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1961 * insetcollapsable.[Ch]:
1963 * insettabular.[Ch]:
1965 * updatableinset.[Ch]: remove dead spellcheck code
1967 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1969 * insettabular.C (lockInsetInInset): small fix
1971 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1974 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1975 from here. Be stricter on DispatchResult returned.
1977 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * Inset::dispatch's: adjust for new DispatchResult semantics.
1981 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * render_base.h: make clone return an auto_ptr
1984 * render_button.C (clone): adjust
1985 * render_graphic.C (clone): adjust
1986 * render_preview.C (clone): adjust
1988 * insettheorem.C (clone): return an auto_ptr
1990 * insettext.C (priv_dispatch): exception safety
1992 * insettabular.C: store the file scope variable paste_tabular in a
1993 scoped_ptr, adjust usage.
1995 * insetexternal.C (setParams): exception safety
1997 * insetbibitem.C (clone): exception safety
1999 2003-11-03 André Pönitz <poenitz@gmx.net>
2002 * insetcollapsable.[Ch]:
2003 * insettabular.[Ch]:
2004 * insettext.[Ch]: remove Inset::id and related functions
2006 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * insets: adjust for DispatchResult changes.
2010 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2012 * insetpagebreak.C: fix screen representation & ascii output.
2014 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2018 * insettabular.[Ch]:
2019 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2021 2003-10-31 José Matos <jamatos@lyx.org>
2023 * inset.h (ascii, linuxdoc, docbook):
2024 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2025 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2026 * insetcaption.[Ch] (ascii, docbook):
2027 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2028 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2029 * insetert.[Ch] (ascii, linuxdoc, docbook):
2030 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2031 * insetfloat.[Ch] (linuxdoc, docbook):
2032 * insetfloatlist.[Ch] (ascii):
2033 * insetfoot.[Ch] (docbook):
2034 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2035 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2036 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2037 * insetindex.[Ch] (docbook):
2038 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2039 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2040 * insetline.[Ch] (ascii, linuxdoc, docbook):
2041 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2042 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2043 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2044 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2045 * insetref.[Ch] (ascii, linuxdoc, docbook):
2046 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2047 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2048 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2049 * insettext.[Ch] (ascii, linuxdoc, docbook):
2050 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2051 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2052 * insetwrap.[Ch] (docbook):
2053 add LatexRunParams argument.
2055 2003-10-30 José Matos <jamatos@lyx.org>
2057 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2059 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * updatableinset.C (priv_dispatch):
2062 * insetwrap.C (priv_dispatch):
2063 * inseturl.C (priv_dispatch):
2064 * insettoc.C (priv_dispatch):
2065 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2066 (moveLeftIntern, moveUp, moveDown):
2067 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2068 (moveLeft, moveUp, moveDown):
2069 * insetref.C (priv_dispatch):
2070 * insetnote.C (priv_dispatch):
2071 * insetminipage.C (priv_dispatch):
2072 * insetlabel.C (priv_dispatch):
2073 * insetindex.C (priv_dispatch):
2074 * insetinclude.C (priv_dispatch):
2075 * insetgraphics.C (priv_dispatch):
2076 * insetfloatlist.C (priv_dispatch):
2077 * insetfloat.C (priv_dispatch):
2078 * insetexternal.C (priv_dispatch):
2079 * insetert.C (priv_dispatch):
2080 * insetcommand.C (priv_dispatch):
2081 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2082 * insetcite.C (priv_dispatch):
2083 * insetbranch.C (priv_dispatch):
2084 * insetbox.C (priv_dispatch):
2085 * insetbibtex.C (priv_dispatch):
2086 * insetbibitem.C (priv_dispatch):
2087 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2089 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2091 * insettext.C: small refactoring of docbook stuff
2093 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2096 (priv_dispatch): adjust for operator dispatch_result_t removal
2098 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2099 in a DispatchResult, adjust accordingly.
2100 (priv_dispatch): use strange >= construct... (will be removed later)
2102 * most insets: dispatch_result -> DispatchResult
2104 * insetbase.h: move DispatchResult out to dispatchresult.h
2106 2003-10-27 André Pönitz <poenitz@gmx.net>
2108 * insetpagebreak.[Ch]: new inset for page breaks
2110 * insetline.[Ch]: new inset for vertical lines
2115 2003-10-25 Angus Leeming <leeming@lyx.org>
2117 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2118 new virtual member functions, specialised...
2119 * render_button.h (asButton):
2120 * render_graphic.h (asGraphic):
2121 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2123 * insetexternal.C: use these new functions rather than dynamic_cast.
2124 Various other small simplifications.
2126 2003-10-22 Angus Leeming <leeming@lyx.org>
2128 * insetexternal.[Ch]: add the ability to 'preview' the external file
2131 * insetinclude.C: changes due to the changes in the RenderPreview
2134 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2135 message if the preview image is not available. Only initiate the
2136 loading of the preview from draw(). Ditto, start the monitoring
2137 of an external file from RenderMonitoredPreview::draw.
2139 2003-10-22 Angus Leeming <leeming@lyx.org>
2141 * insetcite.[Ch] (setLoadingBuffer): removed.
2142 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2143 ascertain whether to proceed with the (expensive) task of computing
2144 the natbib-style label. Remove the home-grown hack providing
2145 similar functionality.
2147 2003-10-22 Angus Leeming <leeming@lyx.org>
2149 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2150 class and into an anonymous namespace.
2152 2003-10-22 Angus Leeming <leeming@lyx.org>
2154 * insetcommand.h: remove the display method.
2158 * insetindex.h (InsetPrintIndex):
2159 * insettoc.h: add a display method, returning true.
2161 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2163 * insetcollapsable.h:
2167 * insetinclude.h: (1) finish off the inset display() work;
2168 (2) fix the "is a bit silly" bug (accessing char
2171 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2175 * insetfootlike.h: re-introduce display() for insets,
2176 fixing the various bugs (stretch of line above, math inset
2179 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2181 * insetbase.C (dispatch): new func
2182 (priv_dispatch): new func replaces...
2183 (localDispatch): this, deleted.
2185 * all insets with dispatch modified for new code.
2187 2003-10-15 André Pönitz <poenitz@gmx.net>
2189 * insetcollapsable.[Ch]
2191 * inset.h: re-add some edit(bv, index) method called by undo
2193 2003-10-14 Angus Leeming <leeming@lyx.org>
2195 * insetexternal.[Ch] (view, cache, view_):
2196 * insetgraphics.[Ch] (view, cache, view_):
2197 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2198 (statusChanged): call LyX::cref().updateInset.
2200 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2201 the BufferView cache.
2203 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2206 2003-10-14 Angus Leeming <leeming@lyx.org>
2208 * insetinclude.C (metrics, draw): only draw the preview when previews
2211 2003-10-14 André Pönitz <poenitz@gmx.net>
2213 * insetcollapsable.[Ch]:
2214 * insettabular.[Ch]:
2216 * inset.h: getText() as alternative to getParagraphs()
2218 2003-10-13 Angus Leeming <leeming@lyx.org>
2221 * insetgraphicsParams.C: displayTranslator is now a function.
2223 2003-10-13 Angus Leeming <leeming@lyx.org>
2225 * insetinclude.C: remove #include "PreviewImage.h".
2227 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * ExternalSupport.C:
2230 * ExternalTransforms.C:
2232 * insetbox.h: ws changes only
2234 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * insetinclude.C (localDispatch): do not call
2237 InsetOld::localDispatch, just return UNDISPATCHED
2238 * insetgraphics.C (localDispatch): ditto
2239 * insetcommand.C (localDispatch): ditto
2241 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * inset.h: get rid of RESULT typedef for dispatch_result
2245 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2246 * insetert.[Ch] (localDispatch): ditto
2247 * insettabular.[Ch] (localDispatch): ditto
2252 * insettext.[Ch] (localDispatch): ditto
2255 (moveRightIntern): ditto
2256 (moveLeftIntern): ditto
2259 * updatableinset.[Ch] (localDispatch): ditto
2261 2003-10-12 Angus Leeming <leeming@lyx.org>
2263 * renderbase.h (view, view_): removed.
2264 * renderbase.C: removed.
2265 * Makefile.am: remove render_base.C. The shortest lived file in
2268 * renderbutton.C (draw):
2269 * render_graphic.C (draw): don't cache the BufferView.
2271 * insetabase.h (cache, view): removed.
2273 * inset.h (generatePreview) removed.
2275 * insetcallapsable.[Ch] (cache, view, view_): removed.
2277 * insetcollapsable.C (draw): don't cache the BufferView.
2279 * insetcommand.[Ch] (view): removed.
2281 * insetexternal.[Ch] (cache, view, view_):
2282 * insetgraphics.[Ch] (cache, view, view_):
2283 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2285 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2286 when you have direct access to it. In fact, don't use the cache at all.
2288 2003-10-10 Angus Leeming <leeming@lyx.org>
2290 * insetinclude.C (metrics): use preview_->metrics.
2291 (draw): use preview_->draw.
2293 * render_preview.[Ch] (pimage): removed.
2295 2003-10-10 Angus Leeming <leeming@lyx.org>
2297 * renderers.[Ch]: removed.
2300 * render_button.[Ch]:
2301 * render_graphic.[Ch]:
2302 * render_preview.[Ch]: new files. The first three are split out of
2303 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2304 contains a re-worked InsetInclude::PreviewImpl also.
2306 * Makefile.am: reflect the changed files.
2309 * insetexternal.[Ch]:
2310 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2312 * insetinclude.[Ch]: changes reflecting the change from
2313 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2319 * inseturl.C: add #include "support/std_ostream.h"
2321 2003-10-09 Angus Leeming <leeming@lyx.org>
2323 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2324 to PreviewedInset::previewReady.
2326 2003-10-09 Angus Leeming <leeming@lyx.org>
2328 * insetexternal.[Ch] (statusChanged):
2329 * insetgraphics.[Ch] (statusChanged): make a const member function.
2331 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2334 2003-10-09 Angus Leeming <leeming@lyx.org>
2336 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2337 to PreviewedInset's previewReady and removePreview member functions.
2339 2003-10-08 André Pönitz <poenitz@gmx.net>
2341 * insetcollapsable.C:
2342 * insettext.[Ch]: saner 'init' structure
2344 * updatableinset.[Ch]: remove unneeded code
2346 2003-10-08 Angus Leeming <leeming@lyx.org>
2348 Fix doxygen warnings.
2350 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2351 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2353 2003-10-07 Angus Leeming <leeming@lyx.org>
2355 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2356 be applied to InsetExternal.
2358 * Makefile.am: add these new files.
2360 * ExternalTemplate.[Ch]: add a list of available transforms to
2361 class Template and a list of factory functions for transformer classes
2362 that can act on this data to class Format.
2364 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2366 * ExternalSupport.C: Add code to replace transform placeholders
2367 with appropriate output.
2369 2003-10-07 Angus Leeming <leeming@lyx.org>
2371 * ExternalSupport.[Ch]: new files, moving the private member functions
2372 and namespace anon functions out of insetexternal.C to here, so making
2373 it easier to understand what is going on in insetexternal itself.
2375 * Makefile.am: add new files.
2377 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2378 allowing the class to be forward declared. (Also consistent with
2379 all other Params classes.)
2380 (write): moved out of the class. Move this function and those in
2381 namespace anon to ExternalSupport.[Ch].
2383 2003-10-07 Angus Leeming <leeming@lyx.org>
2385 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2386 non-const member function.
2388 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2393 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2395 2003-10-02 André Pönitz <poenitz@gmx.net>
2397 * insettext.C (read): make sure there is at least one par
2398 in the text after reading.
2400 2003-10-01 José Matos <jamatos@lyx.org>
2402 * insetbranch.C (linuxdoc, docbook): minor fix.
2404 2003-10-01 Angus Leeming <leeming@lyx.org>
2406 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2408 * insetexternal.[Ch]: changes due to the introduction of
2409 namespace lyx::external.
2411 2003-09-30 Angus Leeming <leeming@lyx.org>
2413 * insetexternal.[Ch] (Params::read, write): new member functions.
2415 2003-09-25 Angus Leeming <leeming@lyx.org>
2417 * insetexternal.[Ch] (TempName): new (private) nested struct with
2418 fake copy semantics. Enables us to use the generated copy c-tor
2419 in the Params struct.
2420 (Params::templatename, Params::tempname): use accessor functions.
2422 2003-09-25 Angus Leeming <leeming@lyx.org>
2424 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2425 function, returning a const pointer.
2427 2003-09-23 Angus Leeming <leeming@lyx.org>
2429 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2430 store them in a vector, preambleNames.
2432 * insetexternal.C (validate): loop over all preambleNames and call
2433 LaTeXFeatures::addExternalPreamble with each.
2435 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2437 * insetbranch.C: bug fix in branches
2439 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2441 * insetnote.C: small clean-up.
2443 2003-09-19 Angus Leeming <leeming@lyx.org>
2445 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2447 * insetcommand.C (string2params): clear params using the default c-tor.
2449 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2450 InsetInclude::Params. No more data in this struct than in
2451 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2452 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2453 (clone): remove #warning as it's now redundant.
2454 (set): add a 'Buffer const &' arg. Make private.
2455 (loadIfNeeded) move out of the class definition and into namespace anon.
2456 (getMasterFilename, getFileName): ditto.
2458 2003-09-18 Angus Leeming <leeming@lyx.org>
2460 * insetcommand.C (setParams): use the params' copy constructor.
2462 2003-09-18 Angus Leeming <leeming@lyx.org>
2464 * insetinsetbase.h (getLabelList):
2465 * insetinsetcollapsable.[Ch] (getLabelList):
2466 * insetinsetinclude.[Ch] (getLabelList):
2467 * insetinsetlabel.[Ch] (getLabelList):
2468 * insetinsettabular.[Ch] (getLabelList):
2469 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2470 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2472 2003-09-18 Angus Leeming <leeming@lyx.org>
2474 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2475 redundant baggage from yesteryear.
2476 Remove Params::flag as it is redundant; the info is present in
2479 2003-09-18 Angus Leeming <leeming@lyx.org>
2481 * insetinclude.C (latexString): add a Buffer const & arg.
2483 2003-09-18 Angus Leeming <leeming@lyx.org>
2488 * insettext.h: rename EnumLColor as LColor_color.
2490 2003-09-18 Angus Leeming <leeming@lyx.org>
2492 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2493 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2495 2003-09-16 Angus Leeming <leeming@lyx.org>
2497 * insetinclude.C (localDispatch): ensure that
2498 params_.masterFilename_ is set before trying to generate a
2499 preview, else we trigger an assert.
2501 2003-09-16 Angus Leeming <leeming@lyx.org>
2503 * insetinclude.C (PreviewImpl::parent): return a const reference.
2505 2003-09-16 Angus Leeming <leeming@lyx.org>
2507 * insetcollapsable.[Ch]: make all member variables, except for
2510 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2511 than access labelfont directly.
2512 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2513 use InsetCollapsable::setCollapsed, isOpen rather than access
2514 collapsed_ directly.
2516 * insetminipage.C (metrics):
2517 * insetnote.C (metrics):
2518 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2519 access collapsed_ directly.
2521 2003-09-16 Angus Leeming <leeming@lyx.org>
2523 * insetbibitem.C: add #include "lyxfont.h".
2525 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * insetbibtex.C: use namespace alias for lyx::support::os
2530 2003-09-16 Angus Leeming <leeming@lyx.org>
2532 * insetcollapsable.h: remove unused framecolor variable.
2533 Remove #include "LColor.h".
2535 * insetcollapsable.C: remove unused framecolor variable.
2538 * insetcollapsable.C:
2546 Add #include "LColor.h".
2548 2003-09-16 Angus Leeming <leeming@lyx.org>
2550 * insettext.[Ch] (frameColor): new accessor function.
2551 (frame_color_): stored as an int, allows us to remove #include
2552 "LColor.h" from insettext.h
2557 add #include "LColor.h".
2559 * insetcollapsable.h: add #include "LColor.h"
2560 (for its framecolor member variable).
2562 2003-09-16 Angus Leeming <leeming@lyx.org>
2564 * insetenv.C (constructor): use accessor functions to access
2565 InsetText variables.
2567 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2568 rename frame_color as frame_color_. Make private.
2570 * insettext.C: associated changes.
2572 2003-09-16 Angus Leeming <leeming@lyx.org>
2574 * inset.h: store background_color_ as an int, not as an
2575 LColor::color to get LColor.h out of the header file.
2578 * insetlatexaccent.C:
2581 * insetspecialchar.C:
2583 add #include "LColor.h".
2585 2003-09-16 Angus Leeming <leeming@lyx.org>
2587 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2588 cannot string calls together.
2590 2003-09-15 Angus Leeming <leeming@lyx.org>
2592 * inset.[Ch] (setBackgroundColor, backgroundColor):
2593 * insettext.[Ch] (setFrameColor):
2594 pass EnumLColor args, rather than LColor::color ones.
2596 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2606 * insetwrap.C: remove usage of STRCONV
2608 2003-09-15 Angus Leeming <leeming@lyx.org>
2610 * renderers.C (draw):
2611 * insetlatexaccent.C (draw): explicitly define the color passed to
2614 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2616 * insettext.C: remove block causing problems in lockInsetInInset
2617 (mentioned erroneously under Bug #1366)
2619 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2621 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2624 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2626 * several files: change Assert to BOOST_ASSERT
2628 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2630 * insettext.[Ch]: remove drawText[XY]Offset
2632 2003-09-08 Angus Leeming <leeming@lyx.org>
2634 * insetcollapsable.C:
2639 * insetspecialchar.C:
2642 * insettoc.C: remove redundant using directives.
2644 2003-09-07 Angus Leeming <leeming@lyx.org>
2647 * insetspecialchar.h: remove #include "support/std_string.h".
2649 2003-09-06 Angus Leeming <leeming@lyx.org>
2651 * renderers.C: add #include "insets/inset.h"
2653 2003-09-05 Angus Leeming <leeming@lyx.org>
2655 * *.C: strip out redundant #includes. (193 in total.)
2657 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2659 * insets/insetbibtex.[Ch]:
2660 * insets/insetcommand.h:
2661 * insets/insetfloatlist.[Ch]:
2662 * insets/insetinclude.[Ch]:
2663 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2664 of insets like bibtex, include, toc and floatlist to the visible
2665 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2666 up the dialogs. Cursor has to be in front of the inset (i.e.
2667 start of row) for this to function.
2669 2003-09-04 Angus Leeming <leeming@lyx.org>
2671 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2672 structure outside of the Format struct. Format::preambleName refers to
2673 an item in the map of all preamble snippets.
2674 Make use of the new Debug::EXTERNAL flag.
2676 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2677 (validate): Small change due to the changed storage of preamble
2680 2003-09-04 Angus Leeming <leeming@lyx.org>
2682 * insetgraphics.C: #include "support/os.h"
2684 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2685 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2686 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2688 * insetcollapsable.h:
2690 * insetnote.C: move #include "funcrequest.h" out of the header file.
2692 2003-09-03 Angus Leeming <leeming@lyx.org>
2694 * insetexternal.C (updateExternal):
2695 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2698 2003-09-03 Angus Leeming <leeming@lyx.org>
2700 * insetexternal.C: don't bring namespace lyx::support into the global
2703 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2705 * insetbranch.C: Add Branch: to label
2707 2003-09-02 John Levon <levon@movementarian.org>
2710 * insettext.C: remove cursor.i[xy]()
2712 2003-08-28 Angus Leeming <leeming@lyx.org>
2714 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2715 "sh ", enabling the conversion to be carried out even if the script
2718 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * most files: change to use const Buffer refs
2722 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2724 * insetfootlike.C: whitespace.
2726 2003-08-26 John Levon <levon@movementarian.org>
2730 * insetindex.h: remove remaining mentions of needFullRow()
2732 2003-08-26 André Pönitz <poenitz@gmx.net>
2738 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2740 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2742 * insetbranch.C: Small fix to prevent a crash on loading.
2744 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2749 * insetcollapsable.h:
2751 * insetfloatlist.[Ch]:
2752 * insetfootlike.[Ch]:
2753 * insetinclude.[Ch]:
2759 * insettheorem.[Ch]:
2760 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2761 altogether, putting the logic in metrics/draw in the insets.=20
2762 Draws short single row insets with more or less realistic metrics.
2764 2003-08-19 André Pönitz <poenitz@gmx.net>
2766 * insettext.C: use new RowPainter interface
2768 2003-08-18 John Levon <levon@movementarian.org>
2770 * insetref.C: require amsmath for eqref
2772 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2776 * insetbranch.[Ch]: implements the 'branch inset'
2777 idea. This allows the output of various versions of a document
2778 from a single source version, selectively outputing or suppressing
2779 output of parts of the text.
2780 This implementation contains a 'branch list editor' in a separate
2781 tab of the document settings dialog. Branches are user definable
2782 and have a "display colour" to distinguish them on-screen.
2784 ColorHandler was somewhat cleaned up.
2785 (1) make possible a dynamically growing LColor list by allowing
2786 the graphic context cache to grow along (vector);
2787 (2) eliminate an IMHO unnecessary step in colour allocation.
2789 2003-08-15 André Pönitz <poenitz@gmx.net>
2791 * insettext.[Ch]: adjust after rowlist split
2793 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2795 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2796 rename valign-center to valign-middle;
2797 rename VALIGN_CENTER to VALIGN_MIDDLE
2799 2003-08-11 André Pönitz <poenitz@gmx.net>
2801 * inset.h: remove resizeLyXText
2804 * insetcollapsable.[Ch]:
2806 * insettabular.[Ch]: adjust
2808 * insettext.[Ch]: remove saveLyXTextState,
2809 restoreLyXTextStat, sstate, reinitLyXText
2811 2003-08-07 André Pönitz <poenitz@gmx.net>
2813 * inset.[Ch]: move non-crucial functions out-of-line
2815 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2816 remove duplicated code.
2818 2003-08-05 André Pönitz <poenitz@gmx.net>
2821 * insetcollapsable.[Ch]:
2831 * insettabular.[Ch]:
2834 * updatableinset.[Ch]: rip out "deep update"
2836 * insettext.C (localDispatch): merge cases with default branch
2838 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2840 * insettabular.[Ch] (updateLocal): simplify logic
2842 2003-08-04 André Pönitz <poenitz@gmx.net>
2844 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2845 is 'FULL' all the time.
2847 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2849 * insetert.C (get_new_label): only add ... to the (closed) label
2850 when the string has been shortened
2852 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2854 * Always use std::endl with lyxerr
2856 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2858 * insetnote.C: update \author list
2860 2003-07-31 André Pönitz <poenitz@gmx.net>
2862 * insetcollapsable.h:
2863 * insettabular.[Ch]:
2864 * insettext.[Ch]: remove toggleSelection
2866 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2868 (with help from Juergen Spitzmueller)
2869 * insetnote.C: add add i18n support. Use Prefs-definable
2870 colours for Comment and Greyedout.
2872 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2874 * insetcollapsable.[Ch]:
2876 * insetert.C: factor out the detection of clicking on the inset
2877 button as 'hitButton'. John Levon contributed.
2879 2003-07-30 André Pönitz <poenitz@gmx.net>
2881 * insetcollapsable.C:
2883 * insettabular.C: parantheses, localize vars etc.
2885 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2887 * insetnote.C: Implement a newenvironment in preamble for
2888 greyedout. Patch provided by Jürgen Spitzmüller.
2890 2003-07-29 Angus Leeming <leeming@lyx.org>
2892 * insetcommand.C (localDispatch): default to
2893 InsetOld::localDispatch.
2895 * insetbibitem.C (localDispatch):
2896 * insetbibtex.C (localDispatch): remove call to
2897 ChangeCitationsIfUnique.
2899 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2901 * insetexternal.C (read): use pushpophelper.
2903 2003-07-28 José Matos <jamatos@lyx.org>
2905 * insetext.C (read): \end_document replaces \the_end.
2907 2003-07-28 José Matos <jamatos@fep.up.pt>
2909 * insetert.C (write): \layout -> \begin_layout.
2910 Add missing \end_layout.
2912 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2914 * insetquotes.C: document a bit the format
2916 * insettabular.C (write): remove extra space
2918 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2919 * insetnote.C: Umpf. Hope I *now* get it right :-(
2921 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2922 *insetnote.C: did the right fix to greyedout: \color
2923 instead of \textcolor.
2925 2003-07-28 Angus Leeming <leeming@lyx.org>
2927 * insetbibtex.h: remove extraneous forward declaration.
2930 * insetbibtex.h: Also remove long-dead Holder member class
2933 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2935 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2938 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * insetwrap.C (addToToc): adjust for lyx::toc
2942 * insetfloatlist.C (ascii): adjust for lyx::toc
2944 * insetfloat.C (addToToc): adjust for lyx::toc
2946 2003-07-27 José Matos <jamatos@fep.up.pt>
2948 * insetnote.h (linuxdoc,docbook): update support.
2950 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * insetfloat.C (wide): add a space to label, for consistency
2954 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2956 * insettext.C (nextChange): adjust for lyx::find
2957 (searchForward): ditto
2958 (searchBackward): ditto
2960 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2962 * insetgraphicsParams.C:
2963 * insetexternal.C: declare extern displayTranslator
2966 * renderers.C: add #include "support/LAssert.h"
2968 2003-07-27 José Matos <jamatos@fep.up.pt>
2970 * insetfloat.[Ch] (linuxdoc):
2971 * insetgraphics.C (linuxdoc):
2972 * insettabular.C (linuxdoc):
2973 * insettext.[Ch] (linuxdoc): add support for tables and figures
2976 2003-07-27 José Matos <jamatos@fep.up.pt>
2978 * insetinclude (latex): comply with makeLaTeXFile argument change.
2980 2003-07-26 Asger Alstrup <alstrup@local>
2982 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2983 the undo crashes. We'll see what problems other places this will
2986 2003-07-26 Angus Leeming <leeming@lyx.org>
2988 * insetgraphics.C: remove unused declaration of system_tempdir.
2990 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * rename Inset to InsetOld
2994 * all inset files (clone): return a auto_ptr<InsetBase>
2996 2003-07-23 Angus Leeming <leeming@lyx.org>
2998 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
3000 2003-07-23 Angus Leeming <leeming@lyx.org>
3002 * mailinset.[Ch] (inset2string):
3003 * insetcommand.[Ch] (inset2string):
3004 * insetert.[Ch] (inset2string):
3005 * insetexternal.[Ch] (inset2string):
3006 * insetfloat.[Ch] (inset2string):
3007 * insetgraphics.[Ch] (inset2string):
3008 * insetinclude.[Ch] (inset2string):
3009 * insetminipage.[Ch] (inset2string):
3010 * insetnote.[Ch] (inset2string):
3011 * insettabular.[Ch] (inset2string):
3012 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3014 * insetexternal.[Ch]:
3015 * insetgraphics.[Ch]: get rid of the view() function. Associated
3016 changes to the mailers' string2params and params2string functions.
3018 2003-07-23 Angus Leeming <leeming@lyx.org>
3020 * insetexternal.[Ch]: store the external file name in a FileName
3021 member variable rather than a string + associated changes.
3023 2003-07-21 Angus Leeming <leeming@lyx.org>
3025 * insetgraphicsParams.[Ch]: store the graphics file name in
3026 a FileName member variable rather than a string.
3028 * insetgraphics.[Ch]:
3029 * insetgraphicsParams.[Ch]: Associated changes.
3031 2003-07-21 Angus Leeming <leeming@lyx.org>
3033 * insetgraphics.[Ch] (string2params, params2string): passed a
3034 buffer_path argument.
3037 2003-07-21 Angus Leeming <leeming@lyx.org>
3040 * insetgraphicsParams.[Ch]:
3042 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3044 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3046 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3048 2003-07-18 André Pönitz <poenitz@gmx.net>
3051 * insetminipage.[Ch]:
3052 * insettabular.[Ch]:
3055 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3057 2003-07-18 André Pönitz <poenitz@gmx.net>
3061 * insetcollapsable.C:
3065 * insetgraphics.[Ch]:
3066 * insetlatexaccent.[Ch]:
3071 * insetspecialchar.C:
3072 * insettabular.[Ch]:
3074 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3076 2003-07-17 André Pönitz <poenitz@gmx.net>
3078 * insetcollapsable.C:
3080 * insettext.C: don't call Inset::update() anymore
3083 * insettabular.[Ch]: remove unneeded in_update_ members
3085 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3087 2003-07-16 André Pönitz <poenitz@gmx.net>
3089 * insettext.C (selectAll): remove
3091 2003-07-16 John Levon <levon@movementarian.org>
3094 * insetnote.C: implement showInsetDialog()
3096 2003-07-15 André Pönitz <poenitz@gmx.net>
3099 * insettext.C: refresh_status tristate -> need_update bool
3101 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3103 * insettext.C: adjust call to LyXText::init
3105 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3107 * insettext.C: use bufferview_funcs->replaceSelection()
3108 to delete selections in some cases (bugs 441, 673, 702, 954).
3110 2003-07-14 André Pönitz <poenitz@gmx.net>
3112 * insettext.C (draw): use slimmed down rowpainter interface
3114 2003-07-14 André Pönitz <poenitz@gmx.net>
3116 * insetcollapsable.C:
3118 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3119 remove unused BufferView * argument
3121 2003-07-14 André Pönitz <poenitz@gmx.net>
3123 * insettext.[Ch]: used cached metrics a bit more
3125 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3127 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3129 2003-07-10 André Pönitz <poenitz@gmx.net>
3132 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3134 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * introduce namespace lyx::graphics
3138 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * introduce namespace lyx::support
3142 2003-06-30 André Pönitz <poenitz@gmx.net>
3144 * insetcite.C (localDispatch): fix case of missing return value
3146 * insetcite.C (ascii): remove unneeded temporary
3148 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * insetspace.h: fix \file
3152 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3153 * insetinclude.C (fillWithBibKeys): ditto
3155 * insetbibitem.C: fix type const order
3157 * inset.C (getLyXText): add varname for arg
3159 * ExternalTemplate.h: fix type const order
3161 2003-06-27 André Pönitz <poenitz@gmx.net>
3163 * insettext.C: take care of removed LyXCursor::row_ member
3165 * insettext.[Ch]: use new TextCursor struct for sstate
3167 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3169 * inseterror.[Ch]: removed
3171 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3173 * insetinclude.C (docbook): use parseError instead of sgmlError
3175 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3177 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3178 of BufferList::loadLyXFile
3180 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * insettext.C (update): simplify
3183 (updateLocal): remove commented code
3184 (insetUnlock): simplify
3185 (lockInset): simplify
3186 (updateInsetInInset): simplify
3187 (localDispatch): simplify
3189 (resizeLyXText): simplify
3190 (collapseParagraphs): simplify
3192 * insetert.C (get_new_label): simplify
3194 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3196 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3197 pasteSelection with index
3199 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3201 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3203 2003-06-16 André Pönitz <poenitz@gmx.net>
3205 * insetbase.h: new virtual base function clone()
3207 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3208 Inset * clone() -> InsetBase * clone()
3210 2003-06-13 André Pönitz <poenitz@gmx.net>
3212 * insettabular.[Ch]: make tabular a proper member
3214 2003-06-12 André Pönitz <poenitz@gmx.net>
3216 * insettabular.[Ch]: some renaming plus whitespace
3218 2003-06-11 Angus Leeming <leeming@lyx.org>
3220 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3223 * insetbutton.[Ch]: removed.
3224 * graphicinset.[Ch]: renamed as renderers.[Ch].
3226 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3227 Create a new class ButtonRenderer using the InsetButton::metrics() and
3229 Derive both from a common RenderedInset base class.
3231 * insetcommand.[Ch]:
3232 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3233 Give it a ButtonRenderer member variable. Use it.
3234 Give the classes working copy c-tors.
3235 No longer derive from boost::noncopyable.
3237 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3238 display its contents as a button or as a graphic.
3240 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3243 2003-06-11 Angus Leeming <leeming@lyx.org>
3245 * insetcite.C (localDispatch): reformat.
3247 * insetref.C (localDispatch): enable dialog to be lauched.
3249 2003-06-11 John Levon <levon@movementarian.org>
3251 * insettabular.C: correctly mark all cells as erased
3253 2003-06-11 Angus Leeming <leeming@lyx.org>
3255 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3256 ExternalTemplate but its name, templatename. This means that a file
3257 containing a reference to an External Template not installed on the
3258 current machine will be saved retaining this info rather than inserting
3259 the first "valid" template from the list of templates.
3261 As a by product, the visual statement that the Template is missing is
3264 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3266 * insettext.C (appendParagraphs): remove some commented code.
3268 2003-06-10 Angus Leeming <leeming@lyx.org>
3270 * graphicinset.[Ch] (view): removed the publicly accessible
3271 function to set the cache.
3273 * insetexternal.[Ch]: move tempname_ into the Params struct.
3274 (Params d-tor): new function, to clean-up this temp file.
3275 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3277 (editExternal, doSubstitution): move out of class.
3279 2003-06-10 Angus Leeming <leeming@lyx.org>
3281 * graphicinset.[Ch] (params): removed.
3282 * graphicinset.h (operator=): declared private but not defined.
3283 (statusMessage): made private.
3285 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3287 2003-06-07 John Levon <levon@movementarian.org>
3289 * insetert.C (latex): make a newline mean just that not
3292 2003-06-07 José Matos <jamatos@fep.up.pt>
3294 * insethfill.[Ch] (linuxdoc, docbook): implement output
3295 * insetspace.C (linuxdoc, docbook): remove coments as the code
3298 2003-06-06 José Matos <jamatos@fep.up.pt>
3300 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3302 2003-06-06 André Pönitz <poenitz@gmx.net>
3304 * insetwrap.[Ch]: code compactification
3306 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3308 * mailinset.C (updateDialog): use Dialogs::visible
3310 2003-06-04 Angus Leeming <leeming@lyx.org>
3312 * graphicinset.C (draw): add a comment for the #if 0 block.
3314 * insetexternal.h: remove Params::parameters variable.
3316 * insetexternal.C (read, write): rewrite to output new ExternalInset
3317 format and read it back making full use of LyXLex.
3319 2003-06-04 André Pönitz <poenitz@gmx.net>
3321 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3323 2003-06-04 John Levon <levon@movementarian.org>
3325 * insettabular.C: back out tall table speed up. It was broken
3327 2003-06-03 Angus Leeming <leeming@lyx.org>
3329 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3330 Remove ViewCommand and UpdateCommand.
3332 * graphicinset.C (update): bug fix. Set the params before calling the
3335 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3336 the BufferView cache to enable the InsetExternal::editCommand to
3337 be invoked from the frontends. Would not be needed if this were
3338 dispatched properly.
3339 (old_ascent_): variable removed.
3341 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3342 do any necessary conversions of external material. Also use the
3343 new GraphicsInset to display the inset within LyX.
3345 2003-06-03 Angus Leeming <leeming@lyx.org>
3347 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3348 and move it somewhere where InsetExternal can use it too.
3350 * Makefile.am: add the new files.
3352 * insetgraphics.[Ch]: make use of the new GraphicInset.
3354 2003-06-03 John Levon <levon@movementarian.org>
3357 * insetbibitem.[Ch]:
3360 * insetcommand.[Ch]:
3364 * insetexternal.[Ch]:
3368 * insetgraphics.[Ch]:
3370 * insetinclude.[Ch]:
3373 * insetlatexaccent.[Ch]:
3374 * insetmarginal.[Ch]:
3375 * insetminipage.[Ch]:
3382 * insetspecialchar.[Ch]:
3383 * insettabular.[Ch]:
3385 * insetthereom.[Ch]:
3388 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3390 * insetgraphics.[Ch]:
3391 * insetgraphicsParams.[Ch]: always store an absolute
3394 2003-06-02 André Pönitz <poenitz@gmx.net>
3398 * insetlatexaccent.C: remove duplicated call to metrics()
3400 2003-06-02 John Levon <levon@movementarian.org>
3402 * insettabular.C: fix resize of column width
3404 2003-06-02 John Levon <levon@movementarian.org>
3409 * insetparent.C: remove insetparent
3411 2003-06-02 André Pönitz <poenitz@gmx.net>
3418 * insetcollapsable.[Ch]:
3422 * insetgraphics.[Ch]:
3423 * insetinclude.[Ch]:
3424 * insetlatexaccent.[Ch]:
3425 * insetminipage.[Ch]:
3426 * insetnewline.[Ch]:
3429 * insetspecialchar.[Ch]:
3430 * insettabular.[Ch]:
3431 * insettext.[Ch]: unify first drawing phase
3434 * insetbase.h: move validate() to the base
3436 2003-05-31 Angus Leeming <leeming@lyx.org>
3438 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3440 2003-05-30 André Pönitz <poenitz@gmx.net>
3445 * insetcaption.[Ch]:
3446 * insetcollapsable.[Ch]:
3449 * insetgraphics.[Ch]:
3450 * insetinclude.[Ch]:
3451 * insetlatexaccent.[Ch]:
3452 * insetnewline.[Ch]:
3455 * insetspecialchar.[Ch]:
3456 * insettabular.[Ch]:
3458 * updatableinset.[Ch]: unify second drawing phase
3460 2003-05-30 John Levon <levon@movementarian.org>
3462 * insetgraphics.C: fix a bformat
3464 2003-05-29 John Levon <levon@movementarian.org>
3466 * insettabular.C: remove unused bufferOwner()
3468 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * insettext.C (lockInsetInInset): adjust
3471 (getLabelList): use const_iterator, adjust
3472 (getInsetFromID): use const_iterator, adjust
3473 (addPreview): use const_iterator, adjust
3475 * insetwrap.C (clone): remove const_cast
3477 * insetnote.C (clone): remove const_cast
3479 * insetminipage.C (clone): remove const_cast
3481 * insetmarginal.C (clone): remove const_cast
3483 * insetfoot.C (clone): remove const_cast
3485 * insetfloat.C (clone): remove const_cast
3487 * insetert.C (clone): remove const_cast
3489 * delete commented same_id functions from a lot of files.
3491 2003-05-28 John Levon <levon@movementarian.org>
3497 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3499 * insetminipage.C: fix metrics (bug 1144)
3501 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insettext.C (saveLyXTextState): adjust
3504 (restoreLyXTextState): adjust
3507 (unlockInsetInInset): adjust
3508 (localDispatch): adjust
3509 (getLyXText): adjust
3511 * insettabular.C (insertAsciiString): adjust
3513 2003-05-27 André Pönitz <poenitz@gmx.net>
3516 * insetcollapsable.C:
3519 * insetlatexaccent.C:
3524 * insetspecialchar.C:
3526 * insettext.C: dim.w -> dim.wid
3528 2003-05-26 John Levon <levon@movementarian.org>
3530 * insettabular.C: avoid drawing all of a long table
3531 if it's not needed. A big speedup
3533 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * remove same_id from function signatures, adjust
3537 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * insettext.C (InsetText): adjust
3541 (setParagraphData): separate same_id cases, adjust
3542 (appendParagraphs): adjust
3543 (appendParagraphs): adjust
3545 2003-05-23 André Pönitz <poenitz@gmx.net>
3547 * insetbutton.h: whitespace
3549 * insettabular.C: more compact code
3551 * updatableinset.C: remove const_cast
3554 2003-05-23 Angus Leeming <leeming@lyx.org>
3556 * insetexternal.C (write): check how many lines are output.
3557 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3558 if the template has defined it.
3560 2003-05-23 Angus Leeming <leeming@lyx.org>
3562 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3564 2003-05-23 Angus Leeming <leeming@lyx.org>
3566 * insetfoot.C (latex):
3567 * inseturl.C (latex): rename fragile as moving_arg.
3569 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * inseterror.C (localDispatch): comment out unused var.
3573 2003-05-22 Angus Leeming <leeming@lyx.org>
3575 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3576 passed through the LatexRunParams arg.
3578 2003-05-22 Angus Leeming <leeming@lyx.org>
3580 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3581 through the LatexRunParams arg.
3583 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3584 arg rather than through a global var.
3586 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * insetspecialchar.C (dimension): use a string.
3590 2003-05-22 Angus Leeming <leeming@lyx.org>
3592 * insetbibtex.C (latex):
3593 * insetgraphics.C (latex):
3594 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3595 runparams rather than from the buffer itself.
3597 2003-05-22 Angus Leeming <leeming@lyx.org>
3599 * inset*.[Ch] (latex):
3600 passed a LatexRunParams parameter.
3602 * insetgraphics.C (latex): actually use it ;-)
3604 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3606 * insetfloat.C (addToToc): trivial compile fix
3608 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * insettext.[Ch] (paragraph): delete unused function
3612 * insetfloat.C (addToToc): parlist simplfication
3614 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3616 * insetspace.[Ch]: added (new space insets)
3618 * inset.h: handle new space insets
3620 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * insetfloat.C (addToToc): adjust
3624 2003-05-21 André Pönitz <poenitz@gmx.net>
3626 * insettext.[Ch]: fix drawing bug introduced earlier
3628 2003-05-19 André Pönitz <poenitz@gmx.net>
3630 * insetspecialchar.C: fix bug introduced yesterday
3632 2003-05-19 André Pönitz <poenitz@gmx.net>
3636 * insetcollapsable.[Ch]:
3640 * insetgraphics.[Ch]:
3641 * insetgraphicsParams.[Ch]:
3642 * insetlatexaccent.[Ch]:
3643 * insetminipage.[Ch]:
3644 * insetnewline.[Ch]:
3646 * insetspecialchar.[Ch]:
3647 * insettabular.[Ch]:
3648 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3650 2003-05-19 André Pönitz <poenitz@gmx.net>
3653 * insettext.C: more insetenv
3655 2003-05-16 André Pönitz <poenitz@gmx.net>
3658 * insetminimpage.[Ch]:
3659 * insetcollapsable.[Ch]: fix #832
3661 2003-05-16 André Pönitz <poenitz@gmx.net>
3664 * insetbibitem.[Ch]:
3668 * insetcollapsable.[Ch]:
3669 * insetcommand.[Ch]:
3672 * insetexternal.[Ch]:
3673 * insetfloatlist.[Ch]:
3674 * insetgraphics.[Ch]:
3675 * insetinclude.[Ch]:
3678 * insetlatexaccent.[Ch]:
3681 * insettabular.[Ch]:
3685 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3687 2003-05-13 André Pönitz <poenitz@gmx.net>
3690 * insetcollapsable.C:
3694 * insetwrap.C: tostr from own header
3706 * insetwrap.C: STRCONV
3709 2003-05-12 André Pönitz <poenitz@gmx.net>
3721 * insetwwrap.C: boost::format -> bformat all over the place
3723 2003-05-05 André Pönitz <poenitz@gmx.net>
3725 * insettext.h: add missing #include <map>
3727 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * insettext.C (InsetText): parlist cleanup
3732 (insetUnlock): ditto
3734 (lockInsetInInset): ditto
3738 (searchBackward): ditto
3739 (collapseParagraphs): ditto
3741 2003-05-06 John Levon <levon@movementarian.org>
3743 * insetcaption.C: don't cast wrap inset to InsetFloat
3746 * insetfloat.C: remove unneeded type() function
3748 2003-05-05 André Pönitz <poenitz@gmx.net>
3752 * insettabular.[Ch]:
3753 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3754 replace getFirstParagraph() by getParagraphs()
3756 2003-05-03 John Levon <levon@movementarian.org>
3758 * insetcollapsable.h:
3759 * insetcollapsable.C:
3765 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3766 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3767 getCursor(). Remove explicit cursor hides.
3769 2003-05-02 André Pönitz <poenitz@gmx.net>
3771 * insettext.C: remove unneeded &*
3773 2003-04-30 John Levon <levon@movementarian.org>
3775 * insettabular.C: fix edit message
3777 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * insettext.C (setFont): do not convert iterator -> pointer
3781 * insettabular.C (localDispatch): do not convert iterator -> pointer
3783 (tabularFeatures): ditto
3785 2003-04-29 André Pönitz <poenitz@gmx.net>
3787 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3789 2003-04-28 André Pönitz <poenitz@gmx.net>
3791 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3794 2003-04-25 André Pönitz <poenitz@gmx.net>
3796 * insetenv.C: derive from InsetText instead of InsetCollapsable
3798 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * insetexternal.C (string2params): dont do anything if the string
3802 * insetgraphics.C (string2params): ditto
3803 * insetcommand.C (string2params): ditto
3804 * insetert.C (string2params): ditto
3805 * insetfloat.C (string2params): ditto
3806 * insetinclude.C (string2params): ditto
3807 * insetminipage.C (string2params): ditto
3808 * insettabular.C (string2params): ditto
3809 * insetwrap.C (string2params): ditto
3811 2003-04-24 André Pönitz <poenitz@gmx.net>
3813 * insetref.C: support for eqref
3815 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * insetert.C (read): use ParagraphList::iterator.
3819 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * insetquotes.C (latex): comment some code and add warnings.
3823 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3825 * insetexternal.C (localDispatch): added a missing DISPATCHED
3827 2003-04-12 John Levon <levon@movementarian.org>
3829 * insetwrap.C (addToToc): fix a crash, conversion
3830 from while to for loop forgot to remove the explicit
3833 2003-04-10 John Levon <levon@movementarian.org>
3835 * insettabular.C (tabularFeature): make sure
3836 to update the dialog when we change something
3839 (getStatus): don't disable some lfuns (bug 939)
3841 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * insettext.C (saveLyXTextState): adjust
3844 (localDispatch): adjust
3850 * insettabular.C (localDispatch): adjust
3852 (tabularFeatures): adjust
3854 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3856 * insettabular.C (searchForward,searchBackward): fix bug 782
3858 2003-04-07 John Levon <levon@movementarian.org>
3861 * insettext.C: clear status message on inset exit
3863 2003-04-03 John Levon <levon@movementarian.org>
3865 * insetcommand.C: return dispatched on DIALOG_UPDATE
3867 2003-04-02 John Levon <levon@movementarian.org>
3869 * insettabular.C: tab lfuns renamed
3871 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * insettext.C (update): move towards ParagraphList
3874 (updateLocal): ditto
3876 (insetUnlock): ditto
3878 (lockInsetInInset): ditto
3879 (updateInsetInInset): ditto
3880 (localDispatch): ditto
3883 (resizeLyXText): ditto
3884 (searchBackward): ditto
3885 (collapseParagraphs): ditto
3888 * insetwrap.C (InsetWrap): adjust
3889 (addToToc): adjust and rewrite loop
3891 * insettext.[Ch] (paragraph): delete function
3893 * insettabular.C (moveNextCell): adjust
3894 (movePrevCell): adjust
3895 (insertAsciiString): adjust
3897 * insetfloat.C (InsetFloat): adjust
3900 * insetert.C (InsetERT): adjust
3901 (write): adjust, and rewrite loop
3902 (latex): adjust, and rewrite loop
3903 (linuxdoc): adjust, and rewrite loop
3904 (docbook): adjust, and rewrite loop
3905 (localDispatch): adjust
3906 (get_new_label): adjust
3908 2003-04-01 John Levon <levon@movementarian.org>
3910 From Alfredo Braunstein
3913 * insetbutton.C: add localDispatch()
3915 * insetcommand.C: return DISPATCHED when edit() called
3917 * insettext.C: fix bug 967
3919 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * insettext.C: adjust
3923 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * insettext.C (draw): adjust
3926 (crow): return a RowList::iterator not a Row*
3928 * insetminipage.C (localDispatch): adjust
3930 * insetert.C (localDispatch): adjust
3932 2003-03-31 John Levon <levon@movementarian.org>
3935 * insetgraphicsParams.C: use_gui moved to lyx_gui
3937 2003-03-31 John Levon <levon@movementarian.org>
3939 * insettext.C: Alert fix
3941 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * insettext.C (ascent): adjust for RowList
3946 (getLyXText): adjust
3947 (toggleSelection): adjust
3949 * insetminipage.C (localDispatch): adjust for RowList
3951 * insetert.C (localDispatch): adjust for RowList
3952 (getMaxWidth): adjust for RowList
3954 2003-03-29 John Levon <levon@movementarian.org>
3956 * insetert.C: Alert cleanup
3958 2003-03-29 John Levon <levon@movementarian.org>
3960 * insettabular.C: Alert fix
3962 2003-03-28 John Levon <levon@movementarian.org>
3964 * insetfloat.C: reset label on INSET_MODIFY
3966 2003-03-28 John Levon <levon@movementarian.org>
3968 * insetgraphicsParams.C: read subcaptionText as a whole line
3971 2003-03-28 John Levon <levon@movementarian.org>
3973 * insettext.C: remove unused prototypes
3975 2003-03-25 Angus Leeming <leeming@lyx.org>
3977 * insetbibitem.C (localDispatch): repaint the view after modifying
3978 a bibitem inset in case the maximum InsetBibitem width has changed.
3980 2003-03-25 John Levon <levon@movementarian.org>
3983 * insettabular.C: LyXText renamings
3985 2003-03-24 John Levon <levon@movementarian.org>
3987 * insettext.C: remove some dead code. Fix bug 972 and
3988 related by posting a repaint in updateLocal(), and making
3989 the SEL functions set SELECTION.
3991 2003-03-22 John Levon <levon@movementarian.org>
3994 * inset.C: remove no-longer-needed topx_set
3996 * insetcollapsable.h:
3997 * insetcollapsable.C: remove dead code
4000 * insetert.C: rebreak the rows when a possible
4001 change in size is made, and reset the cursor
4004 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
4006 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
4007 topx_set. Fix drawing errors for clearInset(). Remove
4008 some unnecessary uses of topx, which should die.
4010 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
4011 is no longer needed. Replace it with an ugly hack.
4013 2003-03-20 John Levon <levon@movementarian.org>
4016 * insetcollapsable.h:
4017 * insetcollapsable.C:
4025 * insettext.C: remove spurious font parameter
4026 from update(). Fix drawing of ERT insets inside
4027 insets (bug 966). Remove unused mark_dirty from
4028 tabular's updateLocal()
4030 2003-03-19 John Levon <levon@movementarian.org>
4039 * insetwrap.C: remove unused getter/setters
4041 2003-03-19 John Levon <levon@movementarian.org>
4043 * several files: bv->updateInset() doesn't take
4044 a bool mark_dirty any more
4046 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * adjust for BufferView* arg removal from lyxtext.
4050 2003-03-17 John Levon <levon@movementarian.org>
4052 * most files: remove the "cleared" parameter
4053 to draw in favour of always clearing. Associated
4056 2003-03-16 John Levon <levon@movementarian.org>
4058 * insettext.C: remove unused s.refresh
4060 2003-03-13 Angus Leeming <leeming@lyx.org>
4062 * insettext.C (edit): replace Dialogs::updateParagraph with
4063 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4065 2003-03-13 André Pönitz <poenitz@gmx.net>
4067 * Makefile.am: insert insetenv
4069 * insethenv.[Ch]: new files, currently inactive
4071 2003-03-12 John Levon <levon@movementarian.org>
4081 * insettext.C: use new insetnewline
4083 2003-03-12 John Levon <levon@movementarian.org>
4085 * insettext.C: readToken became readParagraph
4087 2003-03-12 John Levon <levon@movementarian.org>
4089 * insettext.C: use parlist iterator for reading contents
4091 2003-03-12 John Levon <levon@movementarian.org>
4093 * insettext.C: name change to readToken()
4095 2003-03-11 André Pönitz <poenitz@gmx.net>
4097 * Makefile.am: insert insethfill
4099 * insethfill.[Ch]: new files
4101 2003-03-10 Angus Leeming <leeming@lyx.org>
4103 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4105 (hideDialog): calls the new static Dialogs::hide() method.
4107 * insetbibitem.C (edit):
4108 * insetbibtex.C (edit):
4109 * insetcite.C (edit):
4110 * insetcommand.C (localDispatch):
4111 * inseterror.C (d-tor):
4112 * insetert.C (showInsetDialog):
4113 * insetexternal.C (localDispatch, edit):
4114 * insetfloat.C (localDispatch, showInsetDialog):
4115 * insetfloatlist.C (edit):
4116 * insetgraphics.C (localDispatch, edit):
4117 * insetinclude.C (localDispatch, edit):
4118 * insetindex.C (edit):
4119 * insetlabel.C (edit):
4120 * insetminipage.C (localDispatch, showInsetDialog):
4121 * insetref.C (edit):
4122 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4123 resetPos, showInsetDialog, openLayoutDialog):
4124 * insettoc.C (edit):
4125 * inseturl.C (edit):
4126 * insetwrap.C (localDispatch, showInsetDialog):
4127 changes due to the changed MailInset interface.
4129 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4131 * insetfloat.h: Set default placement to an empty string.
4133 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4135 * insettext.C (latex): adjust call to latexParagraphs.
4137 2003-03-10 Angus Leeming <leeming@lyx.org>
4139 * mailinset.C: warn the user if the BufferView has not been cached.
4141 2003-03-10 Angus Leeming <leeming@lyx.org>
4143 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4145 * insetcommand.h (inset):
4146 * insetert.h (inset):
4147 * insetexternal.h (inset):
4148 * insetfloat.h (inset):
4149 * insetgraphics.h (inset):
4150 * insetinclude.h (inset):
4151 * insetminipage.h (inset):
4152 * insettabular.h (inset):
4153 * insetwrap.h (inset):
4154 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4156 2003-03-10 Angus Leeming <leeming@lyx.org>
4158 * insetcommand.C (string2params):
4159 * insetexternal.C (string2params):
4160 * insetfloat.C (string2params):
4161 * insetgraphics.C (string2params):
4162 * insetinclude.C (string2params):
4163 * insetminipage.C (string2params):
4164 * insettabular.C (string2params):
4165 * insetwrap.C (string2params): cure warning message about missing
4168 2003-03-09 Angus Leeming <leeming@lyx.org>
4170 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4171 it to communicate with the frontend dialogs.
4173 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4174 contents of this inset!
4176 2003-03-07 Angus Leeming <leeming@lyx.org>
4178 * inseterror.C (localDispatch): new method; calls edit() on
4181 2003-03-07 Angus Leeming <leeming@lyx.org>
4183 * insetbibitem.C (localDispatch):
4184 * insetbibtex.C (localDispatch):
4185 * insetlabel.C (localDispatch):
4186 rewrite as a switch.
4188 2003-03-07 Angus Leeming <leeming@lyx.org>
4190 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4191 it to communicate with the frontend dialogs.
4193 2003-03-07 Angus Leeming <leeming@lyx.org>
4195 * insetexternal.C: remove operator== and operator!= for
4196 InsetExternal::Params. They were used only by the old controller
4199 2003-03-07 Angus Leeming <leeming@lyx.org>
4201 * insetcommand.C (localDispatch):
4202 * insetexternal.C (localDispatch):
4203 * insetfloat.C (localDispatch):
4204 * insetinclude.C (localDispatch):
4205 * insetminipage.C (localDispatch):
4206 * insetwrap.C (localDispatch):
4207 add LFUN_INSET_DIALOG_UPDATE to the switch.
4209 2003-03-07 Angus Leeming <leeming@lyx.org>
4211 * insetcommand.C (string2params):
4212 * insetexternal.C (string2params):
4213 * insetfloat.C (string2params):
4214 * insetinclude.C (string2params):
4215 * insetwrap.C (string2params): use LyXLeX more.
4218 * insetexternal.[Ch]:
4220 * insetinclude.[Ch]:
4221 * insetwrap.[Ch]: change Mailer::name_ to be static.
4223 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4224 it to communicate with the frontend dialogs.
4226 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4229 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4231 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * insettext.C (updateLocal): un-const function
4234 (updateLocal): adjust
4235 (collapseParagraphs): un-const function
4236 (collapseParagraphs): adjust
4238 2003-03-05 Angus Leeming <leeming@lyx.org>
4240 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4241 it to communicate with the frontend dialogs.
4243 2003-03-05 Angus Leeming <leeming@lyx.org>
4245 * insetcollapsable.C (draw): cache the BufferView.
4247 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4248 it to communicate with the frontend dialogs.
4250 2003-03-05 Angus Leeming <leeming@lyx.org>
4252 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4255 2003-03-05 Angus Leeming <leeming@lyx.org>
4257 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4259 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4260 it to communicate with the frontend dialogs.
4262 2003-03-05 Angus Leeming <leeming@lyx.org>
4264 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4265 it to communicate with the frontend dialogs.
4267 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * insettext.C (collapseParagraphs): adjust
4270 (appendParagraphs): make it take a Buffer* instead of a
4271 BufferParams& as arg.
4272 (appendParagraphs): adjust
4274 2003-03-04 Angus Leeming <leeming@lyx.org>
4276 * insetbibitem.C (localDispatch):
4277 * insetbibtex.C (localDispatch):
4278 * insetcommand.C (localDispatch):
4279 * insetert.C (localDispatch):
4280 * insetlabel.C (localDispatch):
4281 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4283 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * insettext.C (latex): adjust for ParagraphList::iterator
4287 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * insetbutton.C (view): adjust for boost 1.30.0
4290 * insetcollapsable.C (view): ditto
4291 * insetgraphics.C (statusChanged): ditto
4293 * insettext.h: move paragraphs to be public.
4295 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * insetnote.[Ch] (InsetNote): remove unused constructor
4299 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4301 * insetgraphics.C: added include "format.h"
4303 2003-02-27 Angus Leeming <leeming@lyx.org>
4305 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4308 2003-02-27 Angus Leeming <leeming@lyx.org>
4310 * insetbibitem.C (localDispatch):
4311 * insetbibtex.C (localDispatch):
4314 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4316 2003-02-26 Angus Leeming <leeming@lyx.org>
4318 * insetbibitem.[Ch] (localDispatch):
4319 * insetbibtex.[Ch] (localDispatch):
4320 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4322 * insetcommand.C (localDispatch):
4323 act only on receipt of LFUN_XYZ_APPLY.
4325 * insetert.C (localDispatch): reformat.
4326 add LFUN_XYZ_APPLY to the switch.
4328 2003-02-26 John Levon <levon@movementarian.org>
4330 * insettext.C: use RowPainter
4332 * inset.h: make helpers take const *
4334 2003-02-26 Angus Leeming <leeming@lyx.org>
4336 * insetcommand.[Ch] (localDispatch): new method.
4338 2003-02-26 Angus Leeming <leeming@lyx.org>
4340 * insetinclude.C (draw): cache the BufferView* using cache not
4341 PreviewImpl::setView
4343 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4345 * insetgraphics.C (draw)
4346 * insetinclude.C (draw): Eliminate also the other argument (owner
4347 inset inset) in the call to PreviewImage::image
4349 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4351 * insetgraphics.C (draw)
4352 * insetinclude.C (draw): Eliminate Buferview argument in call to
4355 2003-02-25 John Levon <levon@movementarian.org>
4357 * insetgraphicsParams.h:
4358 * insetgraphics.C: don't start a load process if
4359 the inset is set to NoDisplay (bug #920)
4361 2003-02-22 John Levon <levon@movementarian.org>
4364 * insetwrap.C: TocItem changed API (bug 913)
4366 2003-02-21 Angus Leeming <leeming@lyx.org>
4368 * insetcollapsable.[Ch] (cache, edit):
4369 * insetbutton.[Ch] (cache, edit): new methods to cache the
4370 BufferView in the draw method.
4372 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4373 simplify comunication between InsetCommand-derived classes and
4376 * insetbibitem.[Ch]:
4380 * insetfloatlist.[Ch]:
4384 * inseturl.[Ch]: small changes to reflect the new interface to the
4387 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4388 other, similar classes.
4390 * Makefile.am: add new files.
4392 2003-02-21 Angus Leeming <leeming@lyx.org>
4394 * updatableinset.h (setView, view): remove.
4395 * inset.h (view, cache): to be replaced by these.
4397 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4400 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4403 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4405 2003-02-21 Allan Rae <rae@lyx.org>
4407 * insetinclude.C (loadIfNeeded): ensure loading also works when
4408 child document is under version control.
4410 2003-02-17 André Pönitz <poenitz@gmx.net>
4412 * insetbib.[Ch]: Adjust access to bibkeys
4414 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4416 * insetquotes.C (dispString): remove use of acute accent for "'"
4419 2003-02-14 John Levon <levon@movementarian.org>
4421 * insettabular.C: changed method names in tabular.C
4423 2003-02-14 John Levon <levon@movementarian.org>
4427 * insetcollapsable.h:
4428 * insetcollapsable.C:
4432 * insettext.C: remove unused getParFromID()
4434 2003-02-13 John Levon <levon@movementarian.org>
4437 * insettext.C: remove unused beginningofMainBody()
4439 2003-02-08 John Levon <levon@movementarian.org>
4443 * insetcollapsable.h:
4444 * insetcollapsable.C:
4449 add nextChange(). Make allowSpellcheck() const. Add markErased().
4451 * insetert.C: ignore deleted text
4453 * insettabular.C: make sure to keep change tracking working
4456 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4461 * insettext.C: Use error messages with identical spelling and
4464 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4466 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4468 2002-12-17 Juergen Vigna <jug@lyx.org>
4470 * insettext.C (localDispatch): hopefully fixed cursor up down
4471 movement on leaving other insets.
4473 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4475 * insettext.C: fix inconsistent usage of spaces, colons,
4476 capitalization, and the like.
4478 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4480 * insetgraphics.C (prepareFile): do not remove the extension of
4481 the file name if it is not the default extension for the given
4482 format (that is, in latex output, remove extension from foo.eps,
4483 but not from foo.epsi)
4485 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4487 * insettext.C (lfunMouseRelease): hackish solution to the "double
4490 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * insetfloat.C (addToToc): use the floats name not its type
4493 * insetwrap.C (addToToc): ditto
4495 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4497 * insetnote.C (init): make label font smaller
4499 2002-12-04 John Levon <levon@movementarian.org>
4501 * insetinclude.C: ressurect setting of command name
4503 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * insetquotes.C (dispString): disambiguate insert call
4507 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4509 * several files: ws changes
4511 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * insetquotes.C (dispString): use string::insert for prepending a
4516 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4518 * insetparent.C (getScreenLabel): use boost::format
4520 * insetgraphics.C (prepareFile): use boost::format
4523 * insetfloatlist.C (latex): use boost::format
4525 * insetcaption.C (draw): use boost::format
4527 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4529 * insettabular.C (tabularFeatures): Support for block alignment in
4530 fixed width columns.
4532 2002-11-20 Juergen Vigna <jug@sad.it>
4534 * insettabular.C (resetPos): temporary fix for endless loop in
4535 this function on a redraw.
4537 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * insettabular.C (copySelection): STRCONV
4541 * insetinclude.C (uniqueID): STRCONV
4542 (latexString): ditto
4544 * insetgraphics.C: put VersionNumber inside anon namespace
4545 (createLatexOptions): STRCONV
4547 * insetcommandparams.C: include config.h
4549 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4551 * insetgraphicsParams.C (Write): use lyx::float_equal.
4552 Write height data correctly.
4553 (Read): zero scale when reading height data.
4555 2002-10-30 John Levon <levon@movementarian.org>
4557 * insetfloat.C (addToTOC): recursively traverse all
4558 contents looking for captions (fix #568)
4560 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4562 * insetexternal.C (doSubstitution): do not try to replace
4563 environment variables, this is done when executing the command
4565 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4567 * insetexternal.C (doSubstitution): change order of substitution
4568 to work around ReplaceEnvironmentPath brokenness
4570 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4572 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4574 * insetgraphicsParams.C (init, Write): associated changes
4575 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4576 InsetGraphicsParams::scale.
4578 2002-10-21 John Levon <levon@movementarian.org>
4580 * inset.h: remove unused DISPATCH_RESULT
4582 * insettext.C: sgml open/close tag now in sgml namespace
4584 2002-10-21 Angus Leeming <leeming@lyx.org>
4586 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4587 file path subdir/fig.eps when pasting it into a buffer in a different
4590 2002-10-16 John Levon <levon@movementarian.org>
4592 * insetspecialchar.C: remove \\protected_separator parsing
4594 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4596 * insetquote.C: fix LaTeX output of quotation marks.
4598 2002-10-14 Juergen Vigna <jug@sad.it>
4600 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4601 Backspace functions which confused the Undo handling.
4603 2002-10-09 Angus Leeming <leeming@lyx.org>
4605 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4606 BufferView::dispatch that turns off this optimisation when a new inset
4609 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4610 reload the BibTeX keys.
4612 2002-10-11 André Pönitz <poenitz@gmx.net>
4614 * insettext.h: handle LFUN_PRIOR/NEXT
4616 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4618 * insetfloat.C: fix bug with float settings
4619 (document default != float default).
4621 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4623 * insetwrap.C (addToToc): New method.
4624 (InsetWrap): Set layout to caption.
4626 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4630 2002-09-16 John Levon <levon@movementarian.org>
4632 * insettabular.h: hasSelection() needs to be public
4634 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4636 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4638 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4640 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4642 2002-09-11 André Pönitz <poenitz@gmx.net>
4644 * insettabular.C: implement LFUN_WORDSEL
4646 2002-09-10 John Levon <levon@movementarian.org>
4648 * insetinclude.h: remove unused param
4650 2002-09-09 John Levon <levon@movementarian.org>
4653 * insetinclude.C: remove noload, default to input
4655 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4657 * insetgraphics.C: disfuscated use of ']' in built output string.
4659 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4663 2002-08-29 Juergen Vigna <jug@sad.it>
4665 * insettabular.C (lfunMousePress): Pay attention where you set
4666 the x/y values as they depend on which inset in the tabular is
4667 actually locked. So you surely have to reset them if you (un)lock
4670 2002-08-29 André Pönitz <poenitz@gmx.net>
4672 * insetfootlike.h: rename include guard to ALL CAPS
4674 * insettext.C: swap object and first parameter for checkInsetHit calls
4675 as this functions has moved from BufferView to LyXText
4678 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4680 * insetgraphicsParams.C: remove local displayTranslator and use
4681 the one from graphics/GraphicsTypes.h.
4683 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4685 * insetfloat.C (wide): add BufferParams parameter
4687 * insetfloatlist.C (read):
4690 * insetfloat.C (latex):
4692 * insetcaption.C (draw): use LyXTextClass::floats()
4694 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4696 * insetoptarg.h: add std:: qualifier.
4698 2002-08-26 Juergen Vigna <jug@sad.it>
4700 * insettext.C (localDispatch): ditto.
4702 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4704 2002-08-25 John Levon <levon@movementarian.org>
4706 * inseturl.C: elide long URLs (bug 404)
4708 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4710 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4711 remove "Format Version <version_no.>" string from inset header
4714 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4716 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4717 a member of "grfx::Params" anymore.
4719 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4721 2002-08-24 John Levon <levon@movementarian.org>
4724 * insetoptarg.C: ws, pedantry ...
4726 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4728 * insettext.C (collapseParagraphs): pasteParagraph now in global
4730 (appendParagraphs): ditto
4732 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4734 * insetcite.C (latex): Remove spaces only after commmas.
4736 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * insettext.C: remove NO_COMPABILITY stuff
4740 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * insettext.C (edit): use ParagraphList iterators
4744 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4745 (bibitemWidest): ditto
4747 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * insettext.C: include <boost/bind.hpp>
4750 add using std::for_each
4751 (saveLyXTextState): use ParagraphsList::iterator
4752 (init): use for_each on paragraphlist iterators
4753 (InsetText): remove superflous setting cached_bview to 0
4754 (latex): reformat a bit
4755 (ascii): use paragraphlist iterators
4756 (validate): use for_each + boost bind
4757 (getLabelList): use paragraphlist iterators
4758 (deleteLyXText): use for_each + boost::bind
4759 (resizeLyXText): ditto
4760 (reinitLyXText): ditto
4761 (removeNewlines): use paragraphlist iterators
4762 (getParFromID): ditto
4763 (paragraph): use for_each + boost::bind
4764 (getInsetFromID): use paragraphlist iterators
4765 (getLabelList): typo fix
4767 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * insettext.C (read): assign tmp to paragraphs after return from
4770 call to parseSingleLyXformat2Token
4773 2002-08-13 Angus Leeming <leeming@lyx.org>
4791 * inseturl.C: changes due to the changed LyXView interface that
4792 now returns references to member variables not pointers.
4794 2002-08-13 Angus Leeming <leeming@lyx.org>
4797 * insetcollapsable.h:
4800 * insettext.h: forward-declare WordLangTuple
4801 (selectNextWordToSpellcheck) constify return type.
4804 * insetcollapsable.C:
4807 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4809 2002-08-12 Angus Leeming <leeming@lyx.org>
4811 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4814 2002-08-12 Juergen Vigna <jug@sad.it>
4816 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4819 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4822 (bibitemWidest): ditto
4823 * insettext.[Ch]: ditto
4825 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4829 2002-08-09 Angus Leeming <leeming@lyx.org>
4831 * insetinclude.C (latexString): remove fudge now that I've found out
4832 how to enable LaTeX to find the file using input@path.
4834 2002-08-09 John Levon <levon@movementarian.org>
4837 * insettext.C: remove unused xpos
4839 2002-08-07 Juergen Vigna <jug@lyx.org>
4841 * insettabular.C (localDispatch): make delete not put the stuff
4842 in the clipboard only do this on a cut operation.
4844 * insettext.C (localDispatch): make delete and backspace not put
4845 selected stuff to the clipboard.
4847 2002-08-07 André Pönitz <poenitz@gmx.net>
4850 * insetcollapsable.[Ch]:
4854 * insettabular.[Ch]:
4855 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4857 2002-08-06 John Levon <levon@movementarian.org>
4861 * insetcollapsable.h:
4862 * insetcollapsable.C:
4868 * insettext.C: use WordLangTuple for spellcheck
4870 2002-08-06 Angus Leeming <leeming@lyx.org>
4872 * insetinclude.C: add a monitor to the previewed image, so that the
4873 image is refreshed if the \input-ed file changes.
4875 2002-08-04 John Levon <levon@movementarian.org>
4878 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4880 2002-08-02 Angus Leeming <leeming@lyx.org>
4882 * insetcommandparams.[Ch] (preview): new methods returning and setting
4883 a new bool preview_ flag.
4884 (read): read this flag.
4885 (operator==): add flag to check.
4887 * insetinclude.C (write): output new preview() flag.
4888 (previewWanted): use this flag.
4890 2002-08-02 Angus Leeming <leeming@lyx.org>
4892 * insetcollapsable.[Ch] (addPreview):
4893 * insettabular.[Ch] (addPreview):
4894 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4895 for insets in insets.
4897 2002-08-02 Angus Leeming <leeming@lyx.org>
4899 * insetcite.C: fix typo.
4901 * insetgraphics.C: kill current_view and instead cache the BufferView
4904 * insetinclude.C: kill current_view and pass the BufferView to the
4905 PreviewedInset so that it can cache it.
4907 2002-08-01 Angus Leeming <leeming@lyx.org>
4909 * inset.h (generatePreview): renamed as addPreview.
4910 (generatePreview): new method. Allows code to be moved out of
4911 math_nestinset.C and into the new PreviewedInset class.
4913 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4914 add previews to the inset when \input-ing LaTeX.
4916 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * several files: strip,frontStrip -> trim,ltrim,rtrim
4920 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * insetbib.C (latex): modify because of strip changes
4924 * insetnote.C (InsetNote): ditto
4926 2002-07-26 Juergen Vigna <jug@sad.it>
4928 * insettabular.C (searchForward): check for lastcell if we
4929 had a locking inset.
4931 2002-07-25 Juergen Vigna <jug@sad.it>
4933 * insettabular.C (insetMotionNotify): Don't update the screen
4934 if we didn't do nothing.
4935 (searchForward): last cell was not checked.
4937 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4939 * insetfloat.C (read, write): Allow default placement
4940 (floatPlacement_ is empty).
4942 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * insetminipage.h (noFontChange):
4945 * insettabular.h (noFontChange):
4946 * insetfootlike.h (noFontChange):
4947 * insetfloat.h (noFontChange): return true
4949 * inset.h (noFontChange): new method, defaulting to false
4951 2002-07-22 Herbert Voss <voss@lyx.org>
4953 * insetgraphicsParams.[Ch]: support size_type for old docs
4955 2002-07-22 Herbert Voss <voss@lyx.org>
4958 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4961 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4965 * insetlatexaccent.h: do not include "lyxlex.h"
4967 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4970 * insetlatexaccent.C:
4974 * insetbib.C: #include "lyxlex.h"
4980 * insettext.C: use BufferParams::getLyXTextClass
4983 * insetfloat.C (addToToc): new method. Add to toclist the entries
4984 corresponding to Caption layouts
4985 (InsetFloat): when creating a new float, set the layout to "Caption"
4987 2002-07-21 Herbert Voss <voss@lyx.org>
4989 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4990 image relevant part into graphics/GraphicsImgae.C
4992 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * insettoc.C (ascii):
4995 * insetfloatlist.C (ascii): change to use the new Toc functions
4996 instead of stuff that was in Buffer
4998 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * insettext.C (localDispatch): BufferView::Dispatch has been
5001 renamed to BufferView::dispatch
5003 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5005 * insetgraphicsParams.C (as_grfxParams): use the new
5006 keepLyXAspectRatio parameter. Note that this is an adaptation of a
5007 1.2.0 patch, and I do not really know how to adapt it to the new
5008 grfx::Cache world. Angus, please could you have a look?
5010 2002-05-01 Herbert Voss <voss@lyx.org>
5012 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5014 2002-07-18 Angus Leeming <leeming@lyx.org>
5016 * insetgraphics.C: clean-up comments (from Herbert).
5017 add a new checksum variable to the cache. Use it in PrepareFile.
5018 (draw): start monitoring the file for a change.
5019 (prepareFile): re-arrange a little to avoid unnecessary steps.
5021 2002-07-17 Angus Leeming <leeming@lyx.org>
5023 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5024 a method rather than to the signal directly.
5026 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5028 * insettext.C: use view_state_changed, switchKeyMap
5030 2002-07-17 Herbert Voss <voss@perce.de>
5032 * insetgraphics.C (prepareFile): keep the extension when
5033 exporting to nice file
5035 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5037 * insetcite.C (getNatbibLabel):
5038 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5040 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5042 * insetgraphics.C: use ->isDrawable()
5044 2002-07-12 Angus Leeming <leeming@lyx.org>
5046 * insetgraphics.C: use the new smart loading capabilities of the image
5049 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5051 * insettabular.C (edit): Move into correct cell when entering a
5054 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5057 2002-07-05 Angus Leeming <leeming@lyx.org>
5059 * inset.h (generatePreview): new virtual method.
5061 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5063 * insetcommandparams.[Ch] (operator=): move out of class
5064 (operator!): move out of class
5066 2002-07-04 André Pönitz <poenitz@gmx.net>
5068 * insetcommandparams.[Ch]: new files
5070 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5072 2002-06-15 Herbert Voss <voss@perce.de>
5074 * insetgraphics.C (prepareFile): bugfix; return always
5075 files without extension
5077 2002-06-28 Angus Leeming <leeming@lyx.org>
5079 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5080 rename asGParams -> as_grfxParams.
5082 * insetgraphics.C: reflect above change.
5084 2002-06-26 Angus Leeming <leeming@lyx.org>
5086 * insetgraphics.h: use boost::scoped_ptr in preference to
5089 2002-06-26 Angus Leeming <leeming@lyx.org>
5091 * insetgraphics.C: moved the image loading stuff into a new class
5092 grfx::Loader. Simplifies this file enormously.
5094 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5096 * insetgraphicsParams.C: changes aassociated with moving
5097 grfx::DisplayType out of grfx::GParams.
5099 2002-06-26 André Pönitz <poenitz@gmx.net>
5101 * insetgraphics.C: use os::external_path where necesaary according to a
5102 patch from Claus Hentschel)
5104 2002-06-25 Angus Leeming <leeming@lyx.org>
5106 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5107 generating a pixmap once the graphics file is loaded into memory.
5108 The current_view ugliness that was in grfx::ModifiedImage has been
5109 moved here now that grfx::ModifiedImage is no more.
5111 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5113 * insettext.C: layout as layout
5115 2002-05-28 André Pönitz <poenitz@gmx.net>
5117 * insetfloatlist.h: remove source of compiler warning
5119 * insetref.C: tiny whitespace
5121 2002-06-15 Herbert Voss <voss@perce.de>
5123 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5124 and take always convert when no userdefined converter was
5126 (latex) small changes in the lyxerr output
5128 2002-06-15 LyX Development team <lyx@rilke>
5130 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5131 mixed content. Small white spaces clean.
5133 2002-06-14 Angus Leeming <leeming@lyx.org>
5135 * inseetexternal.C: remove the using std::difftime declaration.
5137 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5139 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5141 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5143 * insetquotes.C (draw): fix drawing of double quotes
5145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5147 * insettabular.C: s/scrollCB/scrollDocView/
5149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5151 * insettext.C: change of topCursorVisible()
5154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5157 * insettext.C: rename/change of LyXScreen
5159 2002-06-07 Angus Leeming <leeming@lyx.org>
5161 Fixes needed to compile with Compaq cxx 6.5.
5163 * insetexternal.C: all c-library variables have been moved into
5164 namespace std. Wrap using std::xyz declarations inside a #ifndef
5165 CXX_GLOBAL_CSTD block.
5167 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5169 * insetinclude.C (uniqueID):
5170 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5171 conflicted with some AIX headers.
5173 2002-05-31 Juergen Vigna <jug@sad.it>
5175 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5179 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5181 * insetexternal.C (clone): fix () bug when using new
5182 (updateExternal): don't only look for difftime in global scope
5184 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5186 * insettabular.C: add const
5188 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5190 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5191 file name, in case there are weird characters like ',' in there.
5194 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5196 * switch from SigC signals to boost::signals.
5198 2002-05-28 André Pönitz <poenitz@gmx.net>
5200 * insets/insetgraphicsParams.[Ch]:
5201 put in inset related stuff from src/graphic
5203 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5211 * insetcollapsable.C:
5212 * insetcollapsable.h:
5240 * inseturl.h: use mouse_state. Kill insetKeyPress
5242 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5247 * insetcollapsable.C:
5250 * insetlatexaccent.C:
5252 * insetspecialchar.C:
5254 * insettext.C: name change for font metrics
5256 2002-05-24 Juergen Vigna <jug@sad.it>
5258 * insetgraphics.h: include inset.h first (for LString.h)
5260 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5262 * insettext.C: screen moved
5264 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5282 * inseturl.C: LyXView moved into frontends/
5284 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5289 * insetcollapsable.C:
5293 * insetgraphicsParams.C:
5294 * insetlatexaccent.C:
5296 * insetspecialchar.C:
5298 * insettext.C: move Painter to frontends/
5300 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5302 * insettabular.h: use more specific smart_ptr header.
5303 * insettext.h: ditto
5305 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5308 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5310 * insettext.C: clear selection on paste (bug 393)
5312 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5314 * insettext.C (latex): Honor the moving_arg argument.
5316 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5318 * insetfoot.C (latex): if a footnote is in a title layout, then it
5319 is a \thanks. And then, its contents is a moving argument.
5321 2002-05-14 Juergen Vigna <jug@sad.it>
5323 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5326 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5328 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5329 when using options "Full author list" or "Upper case".
5331 2002-05-14 Herbert Voss <voss@perce.de>
5333 * insetgraphics.C (prepareFile): allow files with same name
5335 (readFigInset): set the flags from old figinset in the right
5337 (findTargetFormat): more comments
5339 2002-05-14 Juergen Vigna <jug@sad.it>
5341 * insettext.C (edit): tell checkAndActivateInset() that we don't
5342 have a button press.
5343 (checkAndActivateInset): if button < 0 we don't have a button press
5344 on the inset and os we won't call edit on it if it's not a Highly
5345 editable inset (then we have to enter it).
5347 2002-05-13 Juergen Vigna <jug@sad.it>
5349 * insetcollapsable.C (insetButtonRelease): returned wrong return
5352 2002-05-09 Juergen Vigna <jug@sad.it>
5354 * insetcollapsable.C (edit): first_after_edit should only be
5355 set to true if we enter this inset and it was collapsed so we
5356 open it up. This is needed to reclose it after a search/replace
5357 or spellcheck function opened it and was negative.
5359 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5361 * insetfloat.C (latex): Return correct value.
5363 2002-05-04 Herbert Voss <voss@perce.de>
5365 * InsetgraphicsParams.C (read): fix bug with WH
5367 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5369 * insetfloat.C (latex): More sensible latex output
5370 (fix the problem with endfloat).
5372 2002-05-02 José Matos <jamatos@fep.up.pt>
5374 * insetgraphics.C (validate): acess params as everyone else.
5376 2002-05-03 Juergen Vigna <jug@sad.it>
5378 * insettabular.C (fitInsetCursor): recalculate the cursor position
5381 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5383 * InsetgraphicsParams.[Ch]: whitespace.
5385 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5387 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5388 float type do not exist.
5390 2002-04-28 Herbert Voss <voss@perce.de>
5392 * insetgraphics.C (latex): fix bug with missing file-extension.
5393 LaTeX still allows a missing "eps" or "ps".
5395 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5397 * insetfloat.C (c-tor, wide): translate the name of the float.
5399 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5401 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5402 when using natbib and make it work efficiently. Must emphasise that the
5403 real work is Herbert's.
5405 2002-04-23 Herbert Voss <voss@perce.de>
5407 * insetgraphic.C (prepareFile): fix bug with overwriting and
5408 deleting an existing *.eps-file in the doc-dir
5410 2002-04-23 Juergen Vigna <jug@sad.it>
5412 * insettabular.C (drawCellSelection): fix off by 1 error.
5414 2002-04-22 Juergen Vigna <jug@sad.it>
5416 * insettabular.C (setFont): rewoke full selection if it was asked,
5417 after we changed all we had to change.
5419 * insettext.C (insetUnlock): code was uninitialized in some situations.
5421 2002-04-19 Herbert Voss <voss@perce.de>
5423 * insetgraphic.C (prepareFile): return filename without
5424 extension if we only export without compiling
5426 2002-04-19 Juergen Vigna <jug@sad.it>
5428 * insettext.C (draw): call a fullRebreak on the row where we had a
5429 change and reset the cursor and selection-cursors.
5431 * insettabular.C (insetUnlock):
5432 (insetButtonPress): call an update before setting the_locking_inset = 0
5433 as otherwise we don't repaint!
5434 (update): reset the cursor position when we changed dimensions as
5435 otherwise our cursor may be on the wrong spot.
5437 2002-04-18 Juergen Vigna <jug@sad.it>
5439 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5440 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5441 redraw otherwise we won't redraw.
5443 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5444 not really right before, but I only discovered this with the last
5445 changes to Page up/down.
5447 2002-04-17 Juergen Vigna <jug@sad.it>
5449 * insettext.C (checkAndActivateInset): simplified as we now have the
5450 edit(bv, bool) call.
5452 * insettext.h: changed behind variables to front variables to be
5453 equal to the one in the edit call (as it is for that they are used).
5455 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5457 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5458 not output anything at all!
5460 2002-04-16 Juergen Vigna <jug@sad.it>
5462 * insettabular.C (insetButtonPress):
5463 (insetUnlock): call a redraw on unlocking the cell inset.
5465 * insettext.C (insetButtonPress): same as below.
5466 (lockInset): new function to set initial values when inset should
5468 (insetButtonPress): use above function.
5469 (insetUnlock): don't force a repaint only set the updateStatus. The
5470 outside world should repaint if it thinks it should be done!
5472 * insettabular.C (insetButtonPress): init values if not set as locked
5473 as we are locked if someone presses on us and don't call the edit()
5474 call of the InsetText to lock it do it as BufferView does it!
5476 * inset.h (insetInInsetY): make func const and return an int.
5479 * insetcollapsable.C: adapt the above changed function.
5481 2002-04-15 Juergen Vigna <jug@sad.it>
5483 * insettext.C (getCursorPos): return relative position as to be able
5484 to give them directly to the edit() call.
5485 (edit): we have to set also x_fix as it is not set inside the
5486 setCursorFromCoordinates call!
5487 (insetMotionNotify): ditto.
5489 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5491 * insetbib.C (getKeys): strip leading '\t's from the line too.
5492 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5494 2002-04-12 Juergen Vigna <jug@sad.it>
5496 * insettext.h: added cix() helper function and use it where appropriate
5498 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5500 * insetgraphics.C (prepareFile): fix bug when graphics is a
5503 2002-04-12 Juergen Vigna <jug@sad.it>
5505 * insettext.C (insertInset): remove unneeded code!
5506 (updateLocal): fitCursor() fixes.
5507 (collapseParagraphs): fix a possible problem when having a selection
5508 and collapsing the paragraphs.
5510 2002-04-08 Herbert Voss <voss@perce.de>
5512 * insetgraphic.C (write): write the rotating angle as
5513 a float as is. test only for != 0.0
5515 2002-04-11 Juergen Vigna <jug@sad.it>
5517 * insettext.C: new function ciy() and use it for setting inset_y.
5519 * insetert.C (draw): fix the x return for collapsed version.
5521 2002-04-07 Herbert Voss <voss@perce.de>
5523 * insetgraphic.C (readFigInset): fix bug with subcaption and
5526 2002-04-08 Herbert Voss <voss@lyx.org>
5528 * insetgraphicsparam.C: forgot special option and delete old
5531 2002-04-05 Juergen Vigna <jug@sad.it>
5533 * insettext.C (localDispatch): make a CURSOR update if we inserted
5536 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5538 * insetfloatlist.C (getScreenLabel):
5539 (latex): use Floating::listName
5540 (validate): new method
5542 2002-04-03 José Matos <jamatos@fep.up.pt>
5544 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5546 * insetfoot.[Ch] (docbook): added forgotten method.
5548 2002-04-03 Juergen Vigna <jug@sad.it>
5550 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5551 way as in Bufferview_pimpl.
5553 2002-04-03 Allan Rae <rae@lyx.org>
5555 * insetgraphics.C (latex): one % too many makes living on the bleeding
5556 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5558 2002-03-28 Herbert Voss <voss@lyx.org>
5560 * insetgraphic.C (latex): simplify the code for the latex
5561 output when the file doesn't exist
5563 2002-03-29 Juergen Vigna <jug@sad.it>
5565 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5568 * insettabular.C (edit): call fitCursor().
5570 * insettext.C (insetButtonPress): change behaviour of no_selection
5571 to the one in the BufferView selection_possible and fix the spurious
5572 selection bug with it.
5573 (localDispatch): revoke selection on BREAK... functions.
5575 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5577 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5579 2002-03-28 Juergen Vigna <jug@sad.it>
5581 * insettabular.C (insetAllowed): return true as default value otherwise
5582 we're not able to insert insets inside paragraphs of an not locked
5585 2002-03-27 Herbert Voss <voss@lyx.org>
5587 * insetgraphicsparam.C: change c%, p% to col%, page%
5589 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5591 * insetspecialchar.C (isLineSeparator): disable the nice code to
5592 allow linebreaks after hyphenation and menu separators.
5594 2002-03-26 Herbert Voss <voss@lyx.org>
5596 * insetgraphics.C (figinsetRead): set the right lyxview
5598 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5600 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5601 $\backslash$ and pass a "string const &" to the function.
5602 (prepareFile, latex): use Path rather than MakeAbsPath.
5604 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5606 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5607 proper fix to the graphics cache.
5608 (latex): "really" nice output if the file is not found ;-)
5610 2002-03-26 Juergen Vigna <jug@sad.it>
5612 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5613 (collapseParagraphs): fixed inserting of separator ' '
5615 * insettabular.C (insertAsciiString): only check for buffer lenght
5616 not if we have \t or \n inside the buffer as if we don't have we only
5617 have 1 cell and that's it!
5619 * insetert.C (close): don't collapse if inlined.
5621 2002-03-25 Herbert Voss <voss@lyx.org>
5623 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5624 graphics file does not exist.
5626 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5628 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5629 path when preparing export.
5631 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5632 no longer MakeRelPath.
5634 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5636 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5637 Used to determine the absolute path to the graphics file in the
5638 graphics cache and only in the graphics cache.
5639 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5640 make graphics file name absolute if it is stored as a relative path.
5642 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5643 make graphics file name absolute if it is stored as a relative path.
5645 * insettext.C (edit): emit an updateParagraph signal on entering a text
5646 inset. Needs to be emitted when leaving the inset also.
5648 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5650 * all files: ws cleanup
5652 * Makefile.am: remove ld -r stuff
5654 2002-03-21 Juergen Vigna <jug@sad.it>
5656 * insettext.C (appendParagraphs): new function added to append
5657 the paragraphs to this insets paragraphs.
5659 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5661 * Makefile.am: special rules if partial linking
5663 2002-03-19 Juergen Vigna <jug@sad.it>
5665 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5667 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5669 * insetgraphics.C: Clean up Baruch's comments a little.
5670 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5672 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5675 * insettheorem.C: wrap warnings
5677 * insetgraphics.C: improve messages, move cached_status_
5678 setting to safer place
5680 2002-03-18 Juergen Vigna <jug@sad.it>
5682 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5684 (localDispatch): ditto
5686 * insettext.C (edit): removed unneeded showCursor calls.
5687 (localDispatch): ditto.
5689 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5691 * insetgraphics.h: remove display() method.
5693 2002-03-11 Juergen Vigna <jug@sad.it>
5695 * insetgraphics.C (draw): hack to fix the redrawing bug.
5696 (draw): seems this fixes #268 (force redraw of row if we changed).
5698 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5699 this inset text (don't know why I missed this earlier).
5701 2002-03-08 Juergen Vigna <jug@sad.it>
5703 * insettabular.C (updateLocal): do a FULL update if we're not locked
5704 and only a CELL update is asked.
5706 * insettext.C (updateInsetInInset): update insets inside inset also
5707 if it isn't inside the_locking_inset.
5709 * insettabular.C (updateInsetInInset): ditto.
5711 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5713 * insetexternal.C (doSubstitution): check whether we are using a
5714 temp dir for defining $$FPath
5716 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5719 * insettext.C: remove #include "WorkArea.h".
5721 2002-03-06 Juergen Vigna <jug@sad.it>
5723 * insettext.C (draw): fixed frame redrawing.
5724 (clear): forgot to set the inset_owner of the paragraph.
5726 * insetert.C (status): pay attention the bv can be 0 here!
5727 (getMaxWidth): add the default leftMargin
5729 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5731 * insetert.C (getMaxWidth): make w unsigned int.
5733 2002-03-05 Juergen Vigna <jug@sad.it>
5735 * insetert.C (status): change behaviour of Inlined.
5736 (getMaxWidth): added for new inlined behaviour.
5738 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5740 * insetnote.h (linuxdoc, docbook): add empty methods.
5741 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5742 before being initialized.
5744 2002-03-05 Juergen Vigna <jug@sad.it>
5746 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5747 only that one in the inset. Should be enough.
5748 (updateLocal): set the selection cursor always if we don't have a
5749 selection to be sure it's set!
5751 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5753 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5755 * insettext.C (clear): a gross hack to set layout on a newly
5758 2002-03-04 Juergen Vigna <jug@sad.it>
5760 * insettabular.C (localDispatch): inserted handling of
5761 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5762 (insertAsciiString): new helper function.
5764 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5766 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5769 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5771 * insettext.C (InsetText): initalize newly created par with
5772 default layout. add bufferparams parameter
5775 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5776 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5777 * insetert.[Ch] (InsetERT): ditto
5778 * insetfloat.[Ch] (InsetFloat): ditto
5779 * insetfoot.[Ch] (InsetFoot): ditto
5780 * insetfootlike.[Ch] (InsetFootLike): ditto
5781 * insetmarginal.[Ch] (InsetMarginal): ditto
5782 * insetminipage.[Ch] (InsetMinipage): ditto
5783 * insetnote.[Ch] (InsetNote): ditto
5784 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5786 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * insettext.C: layout as string
5790 * insetinclude.C: layout as string
5792 * insetert.C: layout as string
5794 * insetbib.C: layout as string
5796 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5799 * insettabular.C: remove #include "lyx_gui_misc.h".
5801 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5806 * inset.h: remove figinset, yahoo !
5808 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5810 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5811 copy c-tor and initialise member variables in the correct order.
5813 2002-02-28 Juergen Vigna <jug@sad.it>
5815 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5817 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5819 * inset.h: ... and add a better one here.
5821 * insetcommand.C (insetButtonRelease): remove that one which was a
5824 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5826 * insetcommand.C (insetButtonRelease): ... and move it here.
5828 * inseturl.h: remove insetButtonRelease from there...
5830 2002-02-26 Juergen Vigna <jug@sad.it>
5832 * inseturl.h: Added a insetButtonRelease call returning true as
5835 * insetlabel.C (edit): Fixed wrong update handling after change I
5836 leave in the wrong code for the one who wrote it to remove and have
5837 a look what he did wrong.
5839 * insettabular.C (localDispatch): force a SELECTION update if we
5840 had a selection and we passed the event down to the inset (fix #213)
5841 (localDispatch): handle font changing stuff when we have a cell
5842 selection so that the selection is not rewoked. I don't really like
5843 this fix, but it's the only way I see to do it right now.
5845 2002-02-22 Juergen Vigna <jug@sad.it>
5847 * insettext.C (insetUnlock): set the cursor to the second paragraph
5848 if available and if the first one is empty (fix #191).
5850 2002-02-20 Juergen Vigna <jug@sad.it>
5852 * insettext.C (getDrawFont): implemented this function to call the
5853 one of the owner if present as the owner normally knows what to do
5856 * insetert.C: implement getDrawFont() function and comment out all
5857 the crap for setting a special latex font inside this inset.
5858 (InsetERT): added a Lanugage parameter to this constructor.
5860 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5861 change the font for being drawn on screen (used only in InsetERT for
5864 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5865 and also above (was missing).
5866 (updateLocal): don't remove the cell selection if we have one this
5867 should be done where we really want to remove it.
5869 2002-02-20 José Matos <jamatos@fep.up.pt>
5871 * insetinclude.h: include_label made string const.
5873 * insetinclude.C (InsetInclude): moved include_label initialization.
5876 (validate): fix support for temporary directory, for docbook and
5879 * insetgraphics.h : new private member, graphic_label, that holds
5880 the entity name that defines the graphics location (SGML).
5882 * insetgraphics.C (unique_id): new function to give a unique label
5885 (validate): the file locatation is given by an entity reference.
5887 2002-02-18 Herbert Voss <voss@lyx.org>
5889 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5891 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5893 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5894 as support/systemcall.[Ch] and of class Systemcalls as class
5897 2002-02-18 José Matos <jamatos@fep.up.pt>
5899 * insetinclude.C (validate): some code only applies to latex buffers,
5900 it was made conditional.
5902 2002-02-12 Herbert Voss <voss@lyx.org>
5904 * insetgraphics.C: (prepareFile) do not check at this time
5905 if the file is present.
5907 2002-02-12 Herbert Voss <voss@lyx.org>
5909 * insetgraphics.C: latex(), return the correct newlines
5911 2002-02-13 José Matos <jamatos@fep.up.pt>
5913 * inseturl.C (docbook): escape & in url.
5915 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5918 after HYPHENATION and MENU_SEPARATOR
5920 * inset.h (isLineSeparator): new method, returns false by default.
5922 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5924 * insetert.C (status): do not update the text inset, but the ERT
5927 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5929 * insetnote.C: use notebg for background
5931 2002-02-08 Herbert Voss <voss@lyx.org>
5934 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5935 prevent LyX from unzipping when this should be handled
5936 by latex vis the graphic.cfg.
5939 2002-02-08 Herbert Voss <voss@lyx.org>
5941 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5942 exists, than return filename with extension
5944 2002-02-06 Herbert Voss <voss@lyx.org>
5946 * insetgraphic.C: prepareFile(): don't convert the file, when
5947 it's not viewed in LyX. Saves a lot of time when opening a
5950 2002-02-05 Herbert Voss <voss@lyx.org>
5953 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5954 and adding a rotate bool similiar to subcaption
5956 2002-02-04 Herbert Voss <voss@lyx.org>
5959 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5960 similiar view to the LaTeX one. Get zipped files work.
5962 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5964 * insetgraphicsParams.C (init): set display to DEFAULT.
5965 No longer #include "lyxrc.h".
5967 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5969 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5970 for now (so that the code compiles).
5972 2002-02-02 Herbert Voss <voss@lyx.org>
5974 * insetgraphic.C: delete inVariant() and some minor changes
5975 * insetgraphicsParams.[C]:
5977 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5979 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5980 interogate lyxrc.display_graphics before diaplaying the graphic.
5982 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5983 InsetGraphicsParams::DisplayType.
5985 2002-01-31 Herbert Voss <voss@lyx.org>
5987 * insetgraphic.C: (readfigInset) set display to pref-default
5989 2002-01-30 Herbert Voss <voss@lyx.org>
5991 * insetgraphic.C: get the filetyp from it's contents
5992 * insetgraphicparams.C: add token scale and lyxrc.display when
5993 creating a new inset
5995 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5997 * figinset.C: added using std::ios directive.
5999 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6001 * figinset.C (runqueue): open translation file in binary mode (for
6004 2002-01-27 Herbert Voss <voss@lyx.org>
6006 * insetgraphic.[Ch]: mostly newritten to support graphicx with
6007 all options and to be sure that the old figinsets are correct
6009 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
6010 structure and to support all lengths as LyXLength. The Parameter
6011 structure changed again, but reading of "old" 1.2 graphic insets
6014 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6016 * insetert.h (forceDefaultParagraphs): Added
6018 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6020 * insettabular.C (getMaxWidth):
6021 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6023 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6025 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6026 of LyXLength::inPixels
6028 * inset.C (latexTextWidth):
6029 * insetminipage.C (latexTextWidth): new method, which implements
6030 the equivalent of the LaTeX macro \textwidth
6032 * insetminipage.C (getMaxWidth): use latexTextWidth
6034 2002-01-18 Juergen Vigna <jug@sad.it>
6036 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6038 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6040 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6042 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6045 2002-01-17 Juergen Vigna <jug@sad.it>
6047 * insettabular.C (lockInsetInInset): same change as in insettext.
6049 * insettext.C (draw): width() function was called without setting
6050 the right top_x which could lead to wrong insetWidth setting!
6051 (lockInsetInInset): call edit instead of calling lockInset if we
6052 have to lock an inset inside!
6053 (edit): we have to also tell the inset that we have to redraw the
6054 frame on an edit call if this inset draws a frame only if locked.
6056 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6058 * insetbib.C (getFiles): uncomment Path variable.
6060 2002-01-16 Juergen Vigna <jug@sad.it>
6062 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6065 2002-01-16 Allan Rae <rae@lyx.org>
6067 * insetinclude.C (docbook): someone forgot a ";"
6069 2002-01-16 José Matos <jamatos@fep.up.pt>
6071 * figinset.C (docbook): removed a old place holder "@".
6072 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6073 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6074 ascii text version, clearly guarded inside a CDATA section.
6075 (docbook): in docbook 4, inlinegraphics is empty.
6076 * insettabular.C (linuxdoc): export the ascii version of the table
6077 inside a CDATA section.
6079 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6081 * insetparent.C (InsetParent):
6082 * insetgraphicsParams.C (Write):
6084 * insetgraphics.C (prepareFile):
6087 * insetexternal.C (executeCommand):
6088 (doSubstitution): use Buffer::filePath
6090 * insetbib.C (getFiles): add a #warning for Angus
6092 * insetgraphics.C: Add a remark about how filenames should be
6093 considered to be relative to buffer (but absolute is still allowed)
6094 (draw): do not try to get status if lyxrc.use_gui is false
6096 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6099 * insetcollapsable.[Ch]:
6100 * insettabular.[Ch] (searchForward, searchBackward): change the
6101 bool const & params to bool.
6103 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6104 to avoid the name clash with InsetCollapsable's methods of the same
6105 names but different functionality.
6107 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6109 * insettext.C (ascii): use lyx::count rather than countChar.
6111 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6113 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6115 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * insetgraphics.C (updateInset): do not try to render image if
6118 lyxrc.use_gui is false (bug #104)
6120 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6121 if file does not exist
6123 * figinset.C (browseFile): add shortcuts to directory buttons
6125 * insettext.C (updateLocal): update menubar and toolbar here too.
6127 2002-01-13 Allan Rae <rae@lyx.org>
6129 * insettabular.C (InsetTabular): Both constructors now initialise
6130 all class variables.
6132 2002-01-11 Juergen Vigna <jug@sad.it>
6134 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6136 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6138 * insettabular.C (getStatus): add forgotten brace around multiline
6141 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * insetfloat.C (validate): require "float" instead of "floats".
6145 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6147 * insettabular.C (getStatus): use FuncStatus
6149 2002-01-08 Juergen Vigna <jug@sad.it>
6151 * insettabular.C (insetButtonRelease): now this should work too
6154 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6155 if the width is a percentage.
6157 * inset.h: added isChar() function and implemented this for
6158 insetspecialchar insetquotes and insetlatexaccent.
6159 added forceDefaultParagraphs() and implemented it for insettabular.
6161 2002-01-07 Juergen Vigna <jug@sad.it>
6163 * insettext.C (getLyXText): Fixed this function. An insert into the
6164 map is only done if we REALLY have a new BufferView.
6166 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6168 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6170 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6172 * insetinclude.C: fix use of FileInfo
6174 2002-01-07 Juergen Vigna <jug@sad.it>
6176 * insettabular.C (draw): fixed clearing of cell around inset.
6178 2002-01-05 Juergen Vigna <jug@sad.it>
6180 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6181 variables are updated.
6183 * insettabular.C (resetPos): set always the inset_y as it may be
6184 needed in another function.
6185 (searchBackward): don't draw while searching.
6187 2002-01-04 Juergen Vigna <jug@sad.it>
6189 * insettext.C (lockInsetInInset): forgot to set a cursor.
6191 2002-01-02 Juergen Vigna <jug@sad.it>
6193 * insettext.C (insertInset): make the correct undo informations on
6194 inserting new insets.
6196 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6198 * insettabular.C: correct single-cell select vertically
6200 2001-12-27 Juergen Vigna <jug@sad.it>
6202 * insettabular.C (ascii): export as tab-separated-values if the
6203 function was not called from export (f.ex.: clipboard).
6205 * insetcollapsable.h: added default support for ascii, linuxdoc and
6206 docbook export (the insettext is exported by default!)
6208 * insettabular.C (copySelection): suff the clipboard with the tabular
6209 data in a tab separated format, seems more naturals then with all the
6212 2001-12-24 Juergen Vigna <jug@sad.it>
6214 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6215 to check for REAL mouseMotion.
6217 2001-12-20 Juergen Vigna <jug@sad.it>
6219 * inset.C (cursor): return the owners cursor if available instead of
6220 always only the bv->text->cursor.
6222 * insettabular.C (checkLongtableSpecial): works now.
6224 2001-12-19 Juergen Vigna <jug@sad.it>
6226 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6227 this has to be always row + 1 as 0 means not selected!
6228 (checkLongtableSpecial): added
6229 (tabularFeatures): better longtable options support
6231 * insettext.C (resizeLyXText): reinit the text always also on a
6234 2001-12-18 Juergen Vigna <jug@sad.it>
6236 * insettext.C (updateInsetInInset): look if we have to autocollapse
6237 paragraps and return if the update is requested for ourself.
6239 * insetert.C (status): update the insettext not myself as that is what
6242 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6243 function only return if the update was requested with myself.
6245 * insettext.C (insetButtonPress): fixed stupid bug.
6246 (various functions): pay attention that lt is cleared BEFORE calling
6247 updateLocal() and try to use it in the right manner (don't use it
6248 if it's not really neccessary!)
6249 (collapseParagraphs): insert a blank between collapsing paragraphs
6250 if neccessary (not already there!).
6252 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * insettabular.C: move includes around a bit, add a couple of
6257 * insettext.[Ch]: move includes around a bit, other ws changes and
6260 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6262 * insettext.C (insetButtonRelease): fix compile problem
6264 2001-12-17 Juergen Vigna <jug@sad.it>
6266 * insettext.C (insetButtonPress): set the selection cursor!
6267 (insetButtonPress): clear the selection (and set with that the
6268 selection.cursor) if we only hit an inset!
6270 * insetert.C (read): removed piece of compatibility code only needed
6273 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6276 * insetcollapsable.C (insetButtonRelease): changed so that it can
6277 open eventual existing popup dialogs on mousebutton==3.
6279 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6281 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6283 * inset.C (insetButtonRelease): return a bool for telling the outer
6284 world that we opened a dialog.
6286 2001-12-07 Juergen Vigna <jug@sad.it>
6288 * insettext.C (paragraph): remove the deleteing of paragraphs as
6289 it was a WRONG move!
6291 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6294 * insettabular.C: use new setSelection(). Allow
6295 selection of single cells.
6297 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6299 * insetquotes.C (latex): fix to use the local language setting at
6300 the point where the inset is inserted (different macros for
6301 different french packages)
6303 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * inset.h: add par_owner_ member variable and parOwner
6308 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6310 * insettabular.C (everywhere): adapt because widths are now real
6311 widths and not strings
6313 * insettext.C (draw): re-introduce the calls to width(), ascent()
6314 and descent() to initialize the caching variables.
6316 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6318 * insettext.C (draw):
6319 (drawFrame): use insetWidth instead of last_width
6321 * insettext.h: remove variable last_width (insetWidth is exactly
6322 the same) and last_height (computed but never used!)
6324 2001-12-10 Allan Rae <rae@lyx.org>
6326 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6328 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6330 * insettext.C (insetAllowed): add comment
6332 2001-12-05 Juergen Vigna <jug@sad.it>
6334 * insettext.C (insetAllowed): fixed for the case that we directly
6335 ask the insettext from its LyXText.
6336 (paragraph): fixed the crash when assigning the par->next() from
6337 the EmptyParagraphMechanism!
6339 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6343 * insettext.C: change "while(" to "while ("
6345 2001-12-04 Juergen Vigna <jug@sad.it>
6347 * insetert.C (edit): handle Inlined status.
6349 * insettext.C (insertInset): trying John's fix for the trailing cursor
6351 * insetert.C (insetButtonPress): added to handle inlined status
6352 (insetMotionNotify): ditto.
6354 * insettext.C (clearInset): changed Painter & in BufferView * param,
6355 to be able to call ascent,descent methods.
6357 2001-12-03 Juergen Vigna <jug@sad.it>
6359 * insettext.C (updateInsetInInset): use lt variable to forbid
6360 changes of LyXText in an update call.
6361 (updateInsetInInset): fixed updating of non locked insets!
6363 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6365 * insettabular.C: capture some more functions to prevent
6366 selection drawing problems. Bug #451274
6368 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6371 * insetgraphicsParams.C: fix inverted sense of float_equal
6373 2001-11-30 Juergen Vigna <jug@sad.it>
6375 * insettabular.C (InsetTabular): use the save_id flag to create also
6376 the tabular with the same id's.
6378 * insettext.C (setParagraphData): added a same_id function for undo
6379 to set the same paragraph id's as of the paragraph we are setting.
6381 2001-11-30 José Matos <jamatos@fep.up.pt>
6384 * insettoc.[Ch]: DocBook -> docbook.
6386 2001-11-29 André Pönitz <poenitz@gmx.net>
6389 * insettext.C: further reduction of header dependencies by using
6390 lyx::layout_type and lyx::textclass_type from support/types.h
6392 2001-11-29 Juergen Vigna <jug@sad.it>
6394 * insettext.C: inserted a reinitLyXText function everywhere I delete
6395 the paragraphs! This should fixe the crashes we had.
6396 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6397 (paragraph): set the InsetOwner() of the new paragraphs!
6399 2001-11-28 André Pönitz <poenitz@gmx.net>
6401 * insetnote.C: add pos initialization that I removed without
6404 2001-11-28 Juergen Vigna <jug@sad.it>
6406 * insettabular.C (resetPos): hack to not crash with infinite paints.
6408 * insettabular.h: insert missing function allowSpellcheck()!
6410 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6412 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6415 * insetfloatlist.C: derive from InsetCommand so gui can use it
6418 2001-11-26 André Pönitz <poenitz@gmx.net>
6422 * insetnote.C: reduce header dependencies, introduce type for
6425 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6427 * various: update for Alert.h
6429 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6431 * inset.h: fix comment
6433 * insettext.C: use par->isInset()
6435 2001-11-22 Allan Rae <rae@lyx.org>
6437 * insetcollapsable.h:
6438 * inset.h: Changes to checkInsertChar() behaviour.
6439 Now return value indicates whether chars can be inserted.
6441 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6443 * various: updated to use the new LaTeXFeatures
6445 2001-11-14 José Matos <jamatos@fep.up.pt>
6447 * insetspecialchar.C (linuxdoc):
6448 (docbook): don't give a name to a unused variable.
6450 * insettext.C (docbook): removed unused variable.
6452 2001-11-13 Herbert Voss <voss@perce.de>
6454 * insetgraphic.C: fix scale bug
6456 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * inset.h (isSpace):
6459 (isLetter): new virtual methods.
6461 * insetspecialchar.C (isSpace):
6462 (isLetter): implement here.
6464 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6466 * inset.h: new inline helpers
6468 * insettext.C: use new helpers
6470 2001-11-07 José Matos <jamatos@fep.up.pt>
6472 * insettext.C (docbook): full support for paragraphs inside insettext.
6474 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6476 * insetindex.C: added header file for std::ostream.
6478 2001-11-03 José Matos <jamatos@fep.up.pt>
6480 * insetindex.C: added using std::ostream that I forgot yesterday.
6482 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6484 * insetindex.h (docbook):
6485 * insetindex.C (docbook): added support for docbook export.
6487 2001-11-02 José Matos <jamatos@fep.up.pt>
6489 * insetcaption.C(docbook): added support for docbook export.
6491 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6493 * insetexternal.C (updateExternal): Do not run update command if
6494 result file exists and is up to date.
6496 * ExternalTemplate.C (readFormat): Support the updateresult token.
6498 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6500 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6501 external_templates) to use the buffer->fileName() but only if
6502 previewing. Generating a TeX file should make FPath return
6505 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6508 * insetert.C: fix some problems
6510 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6512 * insetexternal.C (doSubstitution): Added $$FPath token
6513 to list of usable substitutions in external inset templates.
6515 2001-10-24 Juergen Vigna <jug@sad.it>
6517 * insettabular.C: use new ltType struct for setting longtable
6518 header and footers also new UNSET enums.
6520 2001-10-24 José Matos <jamatos@fep.up.pt>
6522 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6523 (docbook): If the table is not inside a float then wrap it inside
6524 <informaltable>...</informaltable>.
6526 2001-10-23 José Matos <jamatos@fep.up.pt>
6528 * insetref.C (docbook): removed / terminator to conform SGML.
6530 * insetspecialchar.C (linuxdoc):
6531 (docbook): Added support for special chars, more than ascii export.
6533 2001-10-22 Juergen Vigna <jug@sad.it>
6535 * insettext.C (checkInsertChar): added for REALLY checking the
6536 font of the inserted char in the right inset!
6538 2001-10-19 Juergen Vigna <jug@sad.it>
6540 * inset.h: added method allowSpellcheck() so that insets who do
6541 not have anything to spellcheck can tell and so they are over-jumped.
6542 Implemented for InsetText and co.
6544 2001-10-18 Juergen Vigna <jug@sad.it>
6546 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6548 2001-10-15 José Matos <jamatos@fep.up.pt>
6550 * insetert.C: allow export for docbook and linuxdoc
6552 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6554 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6556 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * insetquotes.C (dispString): fix handling of latin9 quotes
6560 2001-10-03 Juergen Vigna <jug@sad.it>
6564 * insetcollapsable.C: change updateInset calls to not tell BV that
6565 we have changed status.
6567 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6569 * insettabular.C (deletable): make const
6571 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6573 * insetert.C (latex): Fix the returned value
6575 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6577 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6578 Returns string(), so nothing in an ERT inset is spellchecked.
6580 * insetgraphics.C (draw): print the filename if not displaying the
6582 (width): make sure that the width and draw methods are consistent.
6583 (updateInset): don't even load the image into cache if not displaying
6586 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6588 * various files (selectNextWord): renamed as
6589 selectNextWordToSpellcheck.
6591 * insetgraphics.C (draw): remove the previous change. Right place
6592 is in imageLoaderXPM.C.
6593 (draw): don't display the image if params.display == NONE.
6595 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6597 * figinset.C (runqueue):
6598 * insetgraphics.C (draw): set background colour of inset from
6599 background to the user-configurable graphicsbg.
6601 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6603 * insetquotes.C (InsetQuotes): when trying to decide the side of
6604 the quote, choose `left' only after a space or '('
6606 2001-09-04 José Matos <jamatos@fep.up.pt>
6611 * insetcollapsable.h
6629 * insetlatexaccent.C
6630 * insetlatexaccent.h
6635 * insetspecialchar.C
6636 * insetspecialchar.h
6640 * insettext.C (docbook): rename docBook method to docbook.
6642 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6644 * inset.h (getFirstParagraph): New virtual method.
6646 2001-08-20 Herbert Voss <voss@perce.de>
6647 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6648 in the the bibtex-database-gui for inserting a line
6651 If no style is given than there is no tex-output.
6653 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6655 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6659 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6661 * insetert.C (latex): Fix output for multiple paragraphs.
6662 (write): New code for writing paragraph data.
6663 (read): Set font after reading the inset.
6664 (localDispatch): Call set_latex_font() for more cases.
6666 * insetnote.h: Add empty validate method.
6669 * insetnote.C (InsetNote): Set language to the language of the
6672 2001-08-16 Juergen Vigna <jug@sad.it>
6674 * insettext.C: implemented the new FINISHED states.
6676 * insettabular.C: ditto
6678 * inset.h: added more FINISHED states for cursor right,up,down
6680 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6682 * insetfloatlist.C: use "FloatName List"
6684 2001-08-14 Juergen Vigna <jug@sad.it>
6686 * insetert.C (edit): forgot to set status_ in edit calls!
6688 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6690 * insettext.C: Compilation fix
6692 2001-08-13 Juergen Vigna <jug@sad.it>
6694 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6696 * insetcollapsable.C (edit): don't recollapse an already open inset.
6698 * insettext.C: fixed problem when reinitializing LyXText by not doing
6699 it while lt is in use and post this to the next possible time in
6701 (searchForward): fixed not unlocking of inset if nothing found.
6702 (edit): set cursor behind right (was set -1 pos).
6704 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6706 * insettabular.C (tabularFeatures): fixed fix where deleting the
6707 last row didn't get the right actcell!
6709 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6711 * insettext.C (localDispatch): Change language only when the inset
6714 2001-08-10 Juergen Vigna <jug@sad.it>
6716 * insettabular.C (selectNextWordInt): use the front using edit call.
6718 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6719 the parameter overwrite class variable inset.
6721 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6723 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6724 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6726 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6727 update only for fixed with cells.
6728 (resetPos): try to fix the lockup on spellchecking or s&r.
6730 * insettext.C (update): comment this out as it seems first wrong
6731 and second not needed anymore!
6732 (some functions): call reinitLyXText() only in update() in all other
6733 positions set only need_update = INIT.
6735 2001-08-08 Juergen Vigna <jug@sad.it>
6737 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6739 * insettext.C (insetUnlock): remove double-space on inset unlock.
6741 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6743 * insettabular.C (update): fixed cursor positon after an insert.
6744 (insetAllowed): do not allow to insert insets when not inside the
6746 (draw): clear below an inset too as it could have changed height.
6748 * inset.C (getMaxWidth): fixed width for inset in inset.
6750 * insettext.C (update): small fix.
6752 * insettabular.C (tabularFeatures): added selection support to
6753 DELETE_ROW/DELETE_COLUMN.
6755 2001-08-07 Juergen Vigna <jug@sad.it>
6757 * inset.C (getMaxWidth): recoded and all it's implementations!
6759 * insettext.C (init,setParagraph+constructors): cleanups
6760 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6761 are new and I want do a save/restore of the cursor position which is
6762 not possible anymore.
6764 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6765 (searchBackward): ditto
6766 (selectNextWord): ditto
6768 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6770 * insetlatexaccent.C (checkContents): Add some debug messages
6772 2001-08-07 Juergen Vigna <jug@sad.it>
6774 * insetert.C (read): don't use InsetCollapsable::read as we don't
6775 write the collapsed status anymore only the status.
6778 2001-08-06 Juergen Vigna <jug@sad.it>
6780 * insetert.C (set_latex_font): use LyXText's setFont directly.
6782 * insettext.C (drawFrame): fixed one time more the right position
6783 and size of the frame!
6785 * insetert.C (~InsetERT): hide the dialog.
6786 (showInsetDialog): added implementation
6789 (status): new function for the status of the ERT inset (3-state).
6790 (write): output also the status of the inset for readback!
6791 (read): readback the status if available otherwise use collapsed_.
6793 * insettext.C (edit): small fix of setting the position, which could
6796 * insetert.C (width): implement this function for inlined viewing.
6797 Added minimum width of 10 pixels!
6799 * insetminipage.C (InsetMinipage): just change the colors a bit so
6800 that border/background is a bit more visible. We will remove this
6803 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6804 function for getting the important widths for drawing in various
6805 functions and in LyXText.
6806 (draw): fixed up a bit (frame drawing/clearing)
6808 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6810 * inset.C (convertFont): delete method. not used.
6812 2001-08-03 Juergen Vigna <jug@sad.it>
6814 * insettext.C (setFont): don't call for a draw update if we're just
6815 changing the cursor font!
6817 2001-08-02 Juergen Vigna <jug@sad.it>
6819 * insettext.C (draw): clear the background with the right color if
6820 needed. Update myself if x&max-width changed and return without doing
6821 anything. Let the update code handle the right stuff.
6823 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6824 inside another inset.
6826 2001-08-01 Juergen Vigna <jug@sad.it>
6828 * insetcollapsable.C (update): added an in_update bool so we avoid
6831 * insettabular.C (update): added an in_update bool so we avoid
6834 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6836 (update): added an in_update bool so we avoid reentering.
6838 * insettabular.C (localDispatch): clear col/row selection when doing
6839 something else inside an inset.
6841 * insettext.C (getLyXText): fixed bug when requesting a recursive
6844 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6846 * insetcite.C (latex): Paranoia check. Make sure that there is no
6847 whitespace between the citation keys.
6849 2001-07-31 Juergen Vigna <jug@sad.it>
6851 * inset.h (nodraw): make the set function also const so that this
6852 can be called from inside other const functions.
6854 * insetcollapsable.h: removed inline variable and moved it over
6855 to the only user InsetERT.
6857 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6858 inset opening immediately therein lying insets dialogs!
6860 * insetert.C (localDispatch): set the font also if we don't have any
6861 chars in this paragraph, otherwise if we delete all of em and start
6862 writing we have the wrong font.
6864 (draw): implemented for inline support
6865 (insetButtonRelease): ditto.
6867 2001-07-30 Juergen Vigna <jug@sad.it>
6869 * insettext.C (reinitLyXText): new function to reinit the insets
6870 text after lot's of paragraph changes. Use this instead of the
6871 cache.clear() which is VERY dangerous.
6873 * insetfloat.C (insetButtonRelease): we should only show the dialog
6874 if we press on the label otherwise we have problems to open mouse
6875 button 3 dialogs inside this float (f.ex. of a tabular!)
6877 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6879 * insetert.C: change back to "ERT"
6881 * insetfloat.C: handliign of RMB on label added.
6883 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6885 * insetgraphicsParams.C: #include LOstream.h here.
6887 * insetfoot.h: remove InsetFoot:: qualifier.
6889 2001-07-29 Baruch Even <baruch@lyx.org>
6891 * ChangeLog: Hiding time travel evidence.
6893 * insetgraphicsParams.h:
6894 * insetgraphicsParams.C:
6895 * insetgraphics.C: Added horizontal scale option, it actually
6896 scales both directions since it keeps image proportions.
6898 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6900 2001-07-29 Baruch Even <baruch@lyx.org>
6902 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6903 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6905 HACKY! Will need to add an EPS detection routine like old InsetFig
6908 2001-07-29 Baruch Even <baruch@lyx.org>
6910 * insetgraphics.C: Added EPSI to be an alias of EPS.
6912 2001-07-29 Baruch Even <baruch@lyx.org>
6914 * insetgraphics.C: Change GRAPHICS to Graphics.
6915 Changed image conversion rules (documented at the beginning of file).
6917 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6919 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6922 * insetgraphics.C: added a using std::endl directive.
6924 * insetcommand.h (getScreenLabel): removed pure virtual function,
6925 as it duplicates that in InsetButton.
6927 * insetbib.[Ch] (getScreenLabel):
6928 * insetbutton.[Ch] (getScreenLabel):
6929 * insetcite.[Ch] (getScreenLabel):
6930 * insetert.[Ch] (getScreenLabel):
6931 * insetexternal.[Ch] (getScreenLabel):
6932 * insetfloatlist.[Ch] (getScreenLabel):
6933 * insetinclude.[Ch] (getScreenLabel):
6934 * insetindex.[Ch] (getScreenLabel):
6935 * insetlabel.h (getScreenLabel):
6936 * insetparent.[Ch] (getScreenLabel):
6937 * insetref.[Ch] (getScreenLabel):
6938 * insettoc.[Ch] (getScreenLabel):
6939 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6941 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6943 (validate): remove check on "cite" when using natbib.
6945 2001-07-26 Baruch Even <baruch@lyx.org>
6947 * insetgraphics.C (draw): changed casting to be in one place
6948 rather than all over the function.
6951 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6953 * insetgraphicsParams.h:
6954 * insetgraphicsParams.C:
6955 * insetgraphics.C: Removed inline option and changed rotateAngle
6958 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6960 * insetfoot.C (validate): Added method to ensure that the
6961 right bit of LaTeX is emitted.
6963 * insetfoot.h: Added validate method to set the correct
6964 LaTeXFeatures bit for the special footnote code.
6966 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6968 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6971 2001-07-27 Juergen Vigna <jug@sad.it>
6973 * inset.h: remove unused font variable in parameter.
6974 removed checkInsertChar in UpdatableInset as it was equal to
6975 the one in Inset and so not needed.
6977 * insetert.C (checkInsertChar): implementation of function
6980 * inset.h: added new function checkInsertChar.
6982 * various files: added c-tor and clone() function.
6984 * insetcollapsable.h: removed clone function here as this should
6985 be only realized in REAL insets and added it to all collapsable
6986 insets! (with the copy-constructor).
6988 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6990 * insetminipage.C (read): handle missing parameters more gracefully
6992 * insetcollapsable.C (read): handel missing collapsed more gracefully
6994 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * insetfloat.C (read): handle missing parameters.
6998 * insettext.C (read): handle old latex end_inset
7000 * insetert.C (setButtonLabel): new method
7001 (init): use it, to set the dynamic label correctly
7004 * Makefile.am (EXTRA_DIST): add files that is not part or the
7007 * insetcollapsable.h: remove autocollapsable (no users), remove
7008 draw_label, change_label_with_text and companion code. Remove args
7010 * insetert.[Ch]: move here instead (only user)
7012 * inset.h: rename private variable name to name_, make
7013 selectNextWord return a const string. make getInsetName return a
7014 string const &. Remove bool from open, add close.
7016 * Makefile.am: don't compile insetlist, insetsection
7019 2001-07-24 Juergen Vigna <jug@sad.it>
7021 * insetert.C (InsetERT): put init after the paragraph initialization,
7022 as otherwise we don't set the draw_label right.
7024 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7025 insets with the mouse without having strange selections.
7026 (edit): if the inset was collapsed and we open it here then put the
7027 cursor always at the beginning of the inset.
7028 (get_new_label): 15 instead of 10 max chars in the label.
7030 * insetert.C (localDispatch): added and handle various stuff we
7031 need to handle here (font setting on paragraph break, not permitted
7032 layout setting, etc.).
7034 * inset.h: added default copy-consturctor and implemented this in
7035 various insets with the change to use this in the clone function!
7037 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7039 * insetminipage.C (InsetMinipage): set background color to red :)
7041 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7043 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7044 draw frame mode is LOCKED.
7046 * insetcollapsable.C (edit):
7047 (insetButtonRelease): set update status to full when
7050 * insettext.C (clearInset):
7051 * insettabular.C (draw):
7052 * insetlatexaccent.C (draw): honor background color.
7054 * inset.h: new member background_color_, initialized to
7057 * inset.C (backgroundColor): new method.
7058 (setBackgroundColor): new method.
7060 * insetert.C (init): new method, called by the ctors.
7061 (InsetERT): when inserting contents, make sure the font is
7064 * insetnote.C (InsetNote): when inserting content, remove trailing
7066 (init): set background color to LColor::note
7068 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7070 * insetcollapsable.C: adjust
7072 * insetbutton.C: adjust
7074 2001-07-23 Juergen Vigna <jug@sad.it>
7076 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7077 parameter on the _collapsed function (was not needed) and call
7078 always width_collapsed().
7080 * insetert.C (InsetERT): use setLabel with "true" flag.
7082 * insetcollapsable.C: modified various functions to set the draw_label
7083 string right in any condition.
7084 (setLabel): added a bool parameter to set change_label_with_text.
7086 * insetcollapsable.h: added draw_label string which is set to the
7087 actual drawn label-string, while label is the original static label
7088 of this collapsable inset. Added bool change_label_with_text to set
7089 if we want that the label changes to the start of the InsetText's
7090 text when collabpsed. You can set this flag with the setLabel funciton.
7091 Added bool inlined for inlined collapsable insets, but not handled
7094 * insetcollapsable.C (get_new_label): added should get a new label
7095 from the InsetText beginning (for now 10 chars).
7097 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7099 * insetquotes.C (latex): fix the handling of french double quotes
7100 when not using the french pachage.
7102 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7104 * insetcollapsable.h: make WidthCollapsed mutable.
7106 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7107 InsetPrintIndex returns INDEX_PRINT_CODE.
7109 * inset.h: add INDEX_PRINT_CODE
7111 * insetcollapsable.C (draw): init widthCollapsed if necessary
7114 * insetquotes.C (width): use the local language, not the document
7117 (dispString): add additional spacing for all french languages,
7119 (validate): make it work when there is no default language
7121 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7123 * insetnote.C (init): new method, called by the constructors
7124 (InsetNote): new constructor with contents passed as a string
7126 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7128 * insetfootlike.C (insetAllowed): disallow float in footlike.
7130 * insetert.C (InsetERT): add collapsed argument to the constrctor
7133 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7135 * insetindex.h: shut off warning
7137 2001-07-20 Juergen Vigna <jug@sad.it>
7139 * insetcollapsable.C (update): recoded hopefully works now!
7141 2001-07-19 Juergen Vigna <jug@sad.it>
7143 * most files: implemented the below new introduced function.
7145 * inset.h: added new edit(BufferView *, bool front) method to be able
7146 to enter an inset from the front/back without knowing x/y positions
7147 and baselines inside the inset. So I just can tell the inset activate
7148 me and set the cursor on the front/back of yourself.
7150 2001-07-18 Juergen Vigna <jug@sad.it>
7152 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7153 is given to the InsetText.
7154 (insetButtonPress): ditto
7155 (insetButtonRelease): ditto
7156 (insetMotionNotify): ditto
7158 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7161 LIGATURE_BREAK, since the name is so stupid.
7163 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7165 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7166 the default InsetCollapsable methods. I.e., it can insert anything.
7167 (write) output the name of the inset, not some silly hack for
7168 compatability with the old InsetInfo.
7170 * insetinfo.[Ch]: removed.
7171 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7172 now collapsable, but functionality is otherwise identical to InsetInfo.
7174 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7176 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7178 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7181 * insetquotes.C: general cleanup
7182 (dispString): add spaces inside french double quotes.
7183 (latex): ditto. Moreover, treat first the case where the frenchb
7184 or french options have been given.
7186 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7188 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7191 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7193 * figinset.C (RegisterFigure): Print debug message only when
7194 current_view is available.
7196 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7198 * many files: update to match the change below
7200 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7201 implement the version which takes an inset here.
7203 * insetcollapsable.[Ch]: implement open and isOpen
7205 * inset.h: remove insertInsetAllowed from Inset
7206 (open): new method, to open or close an inset
7207 (isOpen): returns the status of an inset
7208 (isCollapsable, colapse): removed
7210 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7212 * insetquotes.C (dispString): display french guillemets when using
7215 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * insetcollapsable.h: remove bogus return statements
7219 2001-07-18 Juergen Vigna <jug@sad.it>
7221 * insettabular.C (selectNextWord): fixed spellchecking for the
7222 first cell of a tabular (wasn't entered!)
7223 (getLyXText): changed to enter automatically insettext and return
7224 it's LyXText if we're locked.
7226 2001-07-17 Juergen Vigna <jug@sad.it>
7228 * various files: implemented the below functions.
7230 * inset.h: added functions
7231 - virtual string selectNextWord(BufferView *, float & value) const;
7232 - virtual void selectSelectedWord(BufferView *) { return; }
7233 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7234 needed for spellchecking correctly!
7236 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7238 * insetert.C (latex): write out all paragraphs.
7240 2001-07-17 Baruch Even <baruch@lyx.org>
7242 * insetgraphics.C (draw): Removed unneeded casts.
7244 2001-07-16 Juergen Vigna <jug@sad.it>
7246 * insettext.C (update): fixed small oversight (reset lt to 0).
7248 2001-07-14 Baruch Even <baruch@lyx.org>
7251 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7253 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7255 Consistent use of Lsstream.h:
7256 * figinset.C: removed using std::ostringstream directive.
7258 * insetgraphics.C (createLatexOptions):
7259 * insetinclude.C (unique_id):
7260 std::ostringstream -> ostringstream.
7261 * insettext.C (localDispatch): std::istringstream -> istringstream.
7263 2001-07-13 Juergen Vigna <jug@sad.it>
7265 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7267 * insetcollapsable.C (getLockingInset): ditto.
7269 2001-07-12 Juergen Vigna <jug@sad.it>
7271 * insetcollapsable.h: added implementation of new function for
7274 * various files: added implementation of new insertInsetAllowed-func
7275 and redone the function a bit more.
7277 * inset.h: added isCollapsable(), bool collapsed(),
7278 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7280 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7282 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7283 LyXText which is marked for removal while we're using it!
7285 * insettext.h: added private LyXText * lt to use it to assure we are
7286 not deleting our LyXText while we're using it!
7288 2001-07-11 Juergen Vigna <jug@sad.it>
7290 * insettext.C (insertInset): check if we are before the inset after
7291 inserting it! This check IS needed. Remove the Undo-Call as it is
7292 called in LyXText::insertInset!
7294 * insettext.h: added struct InnerCache.
7296 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7297 that we ONLY delete the LyXText in the getLyXText() routine. So we
7298 are sure we don't delete LyXText while someone is working with it!
7300 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7302 * insetexternal.C: (*it). -> it->
7303 * insettext.C: ditto
7305 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7307 * insetcollapsable.C (edit): always open collapsed insets (even if
7308 they are not autocollapsable)
7310 * insetcommand.C (operator=): simplify.
7312 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7314 * insetert.C (latex): handle META_NEWLINE
7316 2001-07-09 Juergen Vigna <jug@sad.it>
7318 * insetert.h: a normal InsetText can insert insets, but we won't.
7320 * inset.h: return default "false" on insertInsetAllowed and implement
7321 this function where a returnvalue != "false" is needed.
7323 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7325 * insetert.C (InsetERT): new contructor
7327 2001-07-06 Juergen Vigna <jug@sad.it>
7329 * a lot of files: added implementation of the below new functions
7330 and the change to clone(). Also the call of the new undo-functions
7333 * inset.h: added an inset_id, added functions getParFromID,
7334 getInsetFromID, firstParagraph, cursor and id functions, added
7335 bool same_ids to clone function.
7337 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7339 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7340 of BufferView * and shared_ptr<LyXText>
7342 2001-07-05 Juergen Vigna <jug@sad.it>
7344 * insettext.C (clear): deleted also the cache not only LyXText.
7345 (setParagraphData): ditto.
7347 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * insetfloat.C (latex): let the specific placement take presedence
7350 if set, otherwise choose document placement if set, otherwise just
7351 use float default placement.
7353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * insettext.C (localDispatch): call CutAndPaste::'s static method
7358 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7360 * insetbib.C: no meed to include forms.h here.
7362 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7364 * insettext.C: added using std::make_pair directive.
7366 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7368 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7370 (deleteLyXText): ditto
7371 (resizeLyXText): ditto
7373 2001-07-02 Juergen Vigna <jug@sad.it>
7375 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7376 following calls are only returned the right pointer without the over
7377 head to search in the map.
7378 (various funcs): reset the cached_bview variable as this signs that
7379 the cache is not valid anymore.
7381 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7383 * insettabular.C (clone): do not copy the LyXTabular twice
7385 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7387 * insettext.h (TEXT): delete method
7389 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7391 * insetmarginal.C (latex):
7392 * insetfoot.C (latex): fix spacing of notes in LaTeX
7394 * insettext.C (localDispatch): use .c_str() on istringstream
7395 constructor argument.
7397 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7402 * inseturl.C: fix method names in these to begin
7403 with small char too, so they inherit
7405 2001-06-28 Juergen Vigna <jug@sad.it>
7407 * insettext.C (setFont): fixed font settings using toggleFree()
7408 instead of setFont().
7410 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * Change a lot of method names to begin with a small char.
7413 Changes to a lot of files because of this.
7415 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7417 * insetfloatlist.C (Write): std:: qualify ostream
7420 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7424 * insetgraphics.C: send debug output to Debug::INFO instead of
7427 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7430 * insettabular.C (getStatus): update to use func_status
7432 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7434 * insetref.C (DocBook): added support for cross-references without
7437 2001-06-26 The LyX Project <jug@sad.it>
7442 * insetlabel.h: removed escape method and moved it to
7445 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7447 * insettabular.C (getMaxWidth): do the speedup in a different way,
7450 2001-06-24 The LyX Project <Asger>
7452 * insettabular.C (getMaxWidth): We cache a mapping from
7453 inset to cell in order to speed this method up.
7455 2001-06-24 The LyX Project <Asger>
7457 * insettext.C: Optimized InsetText::draw or something.
7459 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7461 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7463 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7465 * inset.h: name change from lyxinset.h
7467 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7469 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7471 2001-06-14 Juergen Vigna <jug@sad.it>
7473 * insettext.C (draw): removed warnings.
7475 2001-06-13 Juergen Vigna <jug@sad.it>
7477 * insettabular.C (nodraw): only go down the tree if we don't have
7478 that flag set otherwise it's obvious that we don't want to draw.
7479 (LocalDispatch): do also an update if we have an undispached result.
7481 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7484 * insetgraphicsParams.C:
7485 * insettext.C: removed // -*- C++ -*- as first line.
7487 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7489 * lyxinset.h (resizeLyXText): shut off warning about unused
7492 2001-06-07 Juergen Vigna <jug@sad.it>
7494 * insettext.C (resizeLyXText): honor the new force flag.
7496 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7498 * insettabular.C (deleteLyXText): new function
7500 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7508 * insetcollapsable.C:
7509 * insetcaption.C: LColor tidy
7511 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * figinset.C: fix typo
7515 2001-06-01 Juergen Vigna <jug@sad.it>
7517 * insettabular.C (resetPos): small hack so that scroll is not set to
7518 0 when we are in the last column of a tabular. This is a problem we
7519 have because of constats 20 offset on both directions, so this can
7520 cause on the limit an endless loop.
7522 * insettext.C (SetFont): forgot that we can have locking insets ;)
7524 2001-05-31 Juergen Vigna <jug@sad.it>
7526 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7528 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * figinset.C: add using std:: directive for the C functions which
7533 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7535 * insetfloat.C (Write): write out wide info
7536 (Read): read the wide info
7537 (Latex): use the wide info when creating latex.
7539 * insettext.C: adjust
7541 * insetgraphics.[Ch] (statusMessage): change to return string
7545 * figinset.C (runqueue): add std::
7548 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7550 * insetcite.C (Ascii): add std:: qualifier
7552 2001-05-28 Juergen Vigna <jug@sad.it>
7554 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7555 a endless-width inset (maxWidth < 0).
7556 (Edit): change language only if not equal.
7558 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7560 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7562 2001-05-16 Juergen Vigna <jug@sad.it>
7564 * insettext.C (selectAll): added
7565 (clearSelection): added
7567 * insettabular.C (SetFont): now we may set a font on a whole selection!
7568 (getSelection): added helper function.
7570 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7572 * insetcite.C (Ascii): Add method.
7574 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7577 * insetbib.C: fix path for OS/2 & Win32
7579 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7581 * insetfoot.C (Latex): don't use % after footnote.
7583 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * insettext.C (Read): use clear
7586 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7588 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7590 * insetfloatlist.h: add a bunch of std:: qualifiers.
7592 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7594 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7595 FLOAT_LIST_CODE, renumber code list.
7597 * insettoc.C (getScreenLabel): remove support for float lists
7601 * insetfloatlist.[Ch]: new files
7603 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7605 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7607 * insettabular.C (LocalDispatch):
7608 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7611 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7613 * insettext.C: remvoe !NEW_INSETS cruft
7615 * insettabular.C: remove !NEW_INSETS cruft
7617 * insetcollapsable.h: remove !NEW_INSETS cruft
7619 * insetbib.C: remove !NEW_INSETS cruft
7621 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7623 * insettoc.C: hack to make listof algorithm work
7625 2001-04-20 Juergen Vigna <jug@sad.it>
7627 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7629 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7631 * insetquotes.C (Latex): improve the guard against
7632 unwanted !` and ?` ligatures. This should really be done in
7633 another place (to catch all this ligatures at low-level).
7635 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7637 * insettext.C (init): remvoe leftovers from cursor_visible change
7638 (draw): use c++ cast
7639 (LocalDispatch): dispatch LFUN_MESSAGE
7641 * insettabular.C (InsetTabular): remove leftovers from
7642 cursor_visible, and scoped_ptr changes
7643 (draw): use c++ cast
7645 * insetcollapsable.C (draw): use c++ cast
7647 * ExternalTemplate.h: inherit privaely from noncopyable
7648 * insetcommand.h: ditto
7649 * insetinclude.h: ditto
7651 2001-04-16 Allan Rae <rae@lyx.org>
7653 * insettoc.C (Ascii):
7654 * insettext.C (draw):
7655 * insettabular.C (setPos):
7656 * insetminipage.C (Read):
7657 * insetfloat.C (placement):
7658 * insetcaption.C (Ascii, DocBook):
7659 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7660 an unrecognised preprocessor directive. So ensure they're wrapped.
7662 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7665 * insetexternal.C: set view on Clone. Add _ to private members.
7667 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * insettext.C (InsetText): fix new
7670 (InsetText): reindent some, simplify deletion of par list
7671 (clear): simplify deletion of par list, fix new
7672 (SetParagraphData): simplify deletion of par list
7674 * insettabular.[Ch] (getLabelList): implement new method
7676 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * lyxinset.h: do not include gettext.h...
7686 * insetlatexaccent.C:
7690 * inseturl.C: ... and do it here instead
7692 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7696 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7698 * insetcollapsable.[Ch] (getLabelList): implement
7700 * insettext.[Ch] (getLabelList): implement
7702 * insettext.h: reindent
7704 * insettabular.h: make tabular a scoped_ptr
7706 * insettext.C (init): adjust for cursor_visible
7707 (ToggleInsetCursor): constify asc and desc, font, adjust for
7709 (ShowInsetCursor): constify asc and desc, font, adjust for
7711 (HideInsetCursor): adjust for cursor_visible
7713 * insettabular.C: reindent some
7714 (InsetTabular): adjust for scoped_ptr and cursor_visible
7715 (InsetTabular): ditto
7716 (~InsetTabular): delete delete
7717 (Clone): adjust for scoped_ptr
7718 (Read): constify old_format, adjust for scoped_ptr, move init of
7720 (draw): constify tx, localize loop vars.
7721 some other localization of variables, remove double initilizatons.
7723 * insetfoot.C: remove using std::ostream, add ostream where needed
7725 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7727 * lyxinset.h: some reindentaion, use initializer list for
7729 UpdatableInset: make cursor_visible a private var add
7730 public isCursorVisible(), add protected toggleCursorVisible() and
7731 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7733 * insettoc.C: remvoe using decl
7734 (getScreenLabel): make cmdname donst
7737 (Ascii): don't use endl
7739 * insetfootlike.C: remove using decl at file scope and add std::
7741 * insetmarginal.C: ditto
7743 * insetfoot.C: some reformatting
7745 * insetfloat.C (InsetButtonRelease): adjust the hit area
7747 * insetert.C (SetFont): some reformatting
7749 * insetcollapsable.C: some reformatting and constification
7750 (Clone): comment out.
7751 * insetcollapsable.h: some reformatting
7752 (Clone): comment out.
7757 2001-03-30 Juergen Vigna <jug@sad.it>
7759 * insetcollapsable.h: changen *inset to be a InsetText inset.
7761 * some files: changed to reflect the above change.
7763 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7765 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7766 InsetExternal::Params.
7767 Added operator==() and operator!=() for the Params struct.
7769 2001-03-29 Juergen Vigna <jug@sad.it>
7771 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7774 * insetminipage.C: removed widthp_ and all it's functions and changed
7775 to use new %-lengths of LyXLength.
7777 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7779 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7781 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7783 * insetgraphicsParams.C (operator!=): new function, needed by the
7784 ControlGraphics class.
7786 2001-03-28 Juergen Vigna <jug@sad.it>
7788 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7789 (checkAndActivateInset): don't use the values returned from
7790 call to bv->checkInsetHit.
7792 * insetminipage.C (Clone): set special minipage values.
7794 * insetcollapsable.C (draw): changed to draw the button in the
7795 upper left corner outside the textinset.
7796 (ascent): changed because of different drawing
7800 (InsetButtonPress): ditto
7801 (InsetButtonRelease): ditto
7802 (InsetMotionNotify): ditto
7804 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7806 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7810 2001-03-26 Juergen Vigna <jug@sad.it>
7812 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7814 * insettext.C (ShowInsetDialog): implemented above function.
7816 * insettabular.C (ShowInsetDialog): ditto
7818 * insetminipage.C (ShowInsetDialog): ditto
7820 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7822 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7823 InsetInclude::Params. Don't store a buffer * in Params. Store the
7824 master file name instead.
7826 2001-03-23 Juergen Vigna <jug@sad.it>
7828 * insetcollapsable.C (InsetMotionNotify):
7829 (InsetButtonRelease):
7830 (InsetButtonPress): fixed y-offset (minipages).
7832 * insettext.C (draw): force a FULL update if cleared == true.
7834 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7835 routine to draw the minipages on its position-flag.
7836 (InsetInInsetY): give back the right y position, because of minipage
7839 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7842 * insetfloat.C (DocBook): docbook export code.
7844 2001-03-22 Juergen Vigna <jug@sad.it>
7846 * insetminipage.C (getMaxWidth): added function to set the drawing
7848 (Read): should work now!
7850 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7851 if we create a new inset.
7853 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7855 * figinset.C (fl_set_preemptive_callback): moved definition outside
7858 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7860 * insetminipage.C (Read): prepare for reading of minipage arguments.
7862 2001-03-18 Baruch Even <baruch@lyx.org>
7864 * insetgraphics.C: Minor cleanups of the comments and code.
7866 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7868 * insetminipage.C (InsetMinipage): default to not collapsed
7870 2001-03-16 Juergen Vigna <jug@sad.it>
7872 * insetminipage.C (width): modified with to be a string
7873 (widthp): added widthp (for % width) support functions.
7874 (InsetButtonRelease): added to open the options dialog on button==3.
7875 (~InsetMinipage): added to hide the dialog.
7877 * insetminipage.h: added hideDialog signal
7879 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7881 * insetminipage.h: change the order or Position to match
7882 LyXParagraph::MINIPAGE_ALIGNMENT
7884 * several files: remvoe CXX_WORKING_NAMESPACES
7886 * ExternalTemplate.h: noncopyable is in namespace boost
7887 * insetinclude.h: ditto
7888 * insetcommand.h: ditto
7890 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7892 * insettext.C (Edit): #else# -> #else.
7893 * insettoc.C: added using directive.
7895 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7897 * insetminipage.h: add pos, inner_pos, width and height. + getters
7898 and setters for all of them.
7900 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7902 * insetinclude.C (Latex): Do not exit when the textclass of the
7903 included file differ from the textclass of the parent file.
7905 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7907 * ExternalTemplate.C (read): the reading of external insets now checks
7908 for \end_inset and removes it form the input stream.
7910 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7912 * ExternalTemplate.h:
7913 * ExternalTemplate.C:
7915 * insetexternal.C: move form to GUII
7917 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7920 * insetinclude.C: add InsetIncludeParams, use
7921 composition rather than derivation of InsetCommand
7923 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7925 * insettoc.C (Ascii): use the Buffer typedefs
7927 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7929 * insettoc.C (Ascii): implement for dynamic number of lists
7931 * insetcaption.[Ch]: update from new_insets branch
7932 * insetfloat.[Ch]: ditto
7934 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7937 * figinset.C: use new File Dialog
7939 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7941 * insettext.C: changes becuase of ParagraphParameters.
7943 2001-02-28 Baruch Even <baruch@ev-en.org>
7945 * insetgraphics.C (updateInset): Changed due to the change in
7948 2001-02-26 Juergen Vigna <jug@sad.it>
7950 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7951 handled in LyXText).
7953 2001-02-23 Juergen Vigna <jug@sad.it>
7955 * insettext.C (draw): some small repainting fixes.
7956 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7958 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7959 should be) and not an int.
7961 * insettabular.C (LocalDispatch): ditto
7963 * insettext.C (LocalDispatch): ditto
7965 * insetcollapsable.C (LocalDispatch): ditto
7967 2001-02-22 Juergen Vigna <jug@sad.it>
7969 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7970 DISPATCH it and we don't have a locking_inset.
7972 2001-02-21 Baruch Even <baruch@ev-en.org>
7974 * insetgraphics.[Ch]: Changed to use
7975 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7977 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * insetcollapsable.C (getLyXText): add const qualifier to second
7982 2001-02-22 Juergen Vigna <jug@sad.it>
7984 * insettext.C (getLyXText): honor the recursive parameter.
7985 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7987 * inset.C (getLyXText): added bool recursive parameter.
7989 * insettext.C (SetUpdateStatus): or the update codes.
7990 (draw): check need_update with &.
7991 (InsetButtonPress): set no_selection to not put a selection when
7992 entering an inset and it is redraws in another spot.
7994 * insettext.h: made need_update an int.
7996 2001-02-20 Baruch Even <baruch@ev-en.org>
7999 * insetgraphisc.C: Changed to use better semantics when loading images
8000 for inline view. Now it doesn't keep the pixmap itself but it's holder.
8002 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8006 * insetgraphics.C: change name of "hide" signal to "hideDialog",
8007 consistent with InsetTabular.
8009 2001-02-19 Juergen Vigna <jug@sad.it>
8011 * insettabular.C (LocalDispatch): implement PAGE up/down.
8013 * insettext.C (draw): clear all of it on need_update==INIT too!
8015 * insettabular.C (InsetUnlock): always clear the selection.
8017 * inset.C (scroll): normally we only want to scroll the inset until
8018 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8020 2001-02-14 Juergen Vigna <jug@sad.it>
8022 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8023 (resetPos): fixed scroll behaviour.
8024 (LocalDispatch): do an update if moving cursor inside a table cell
8025 requests a scroll of the tabular.
8027 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8029 * insettext.C (textWidth): constify local var
8031 * insettabular.C: small cleanup.
8033 * insetfoot.C (Latex): constify local var
8035 * insetcollapsable.C: small cleanup.
8037 * figinset.C (runqueue): use compare instead of strcmp
8039 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8042 * insetinfo.C: remove cruft
8044 2001-02-14 Juergen Vigna <jug@sad.it>
8046 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8048 2001-02-13 Juergen Vigna <jug@sad.it>
8050 * insettext.C (InsertInset): don't move left (is this right?)
8052 * insettabular.C (LocalDispatch): use of the no_draw variable
8054 * insettabular.h: new no_draw variable to stop redraw
8056 * insettabular.C (TabularFeatures): fixed update for alignment change
8058 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8062 * insetbib.C: move dialogs to frontends/
8064 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8066 * insettext.C (LocalDispatch): Restore the language if the inset
8069 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8071 * insettext.C (moveRightIntern): Update the selection cursor.
8072 (moveLeftIntern): Ditto.
8074 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8076 * Makefile.am: remove BoundingBox.h
8078 * BoundingBox.h: removed
8080 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8082 * insettext.C (LocalDispatch): Update selection cursor when moving
8083 cursor to the right.
8084 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8085 (moveLeftIntern): Ditto.
8087 2001-02-05 Baruch Even <baruch.even@writeme.com>
8089 * insetgraphics.C: Updated automatic image conversion, it now goes into
8090 temporary directory instead of with the image itself.
8092 2001-01-21 Baruch Even <baruch@ev-en.org>
8094 * insetgraphics.C: Added Docbook support. Added Automatic image
8095 conversion to EPS or PNG when needed (support bitmap graphics).
8097 2000-11-02 Baruch Even <baruch@ev-en.org>
8100 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8101 to '\n' and removal of commented out code.
8103 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8105 * insetbib.C (callback): Update citations if the key has changed.
8107 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8109 * insetbib.C (InsetBibKey): Better computation of default key.
8110 (getScreenLabel) Show both the key and the label.
8111 (getBibLabel): New method.
8112 (callback): Force a redraw if the inset have been changed.
8114 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8116 * insetref.C (getType, getName): Move methods from
8117 src/frontends/xforms/FormRef.C.
8119 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8121 * insettabular.C: Various improvements (use only one dummy position).
8123 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8125 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8126 par->bibkey->width. This fixes the crashes when running without
8127 gui or when having included documents.
8129 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8131 * insetcommand.C (getAsString, setFromString): Cleanup.
8133 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8135 * insetref.C: Add the array InsetRef::types that contains
8136 information about all supported reference types.
8138 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * lyxinset.h: remove trailing comma in enum.
8142 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8144 * insettext.C: kill LyXBell.