1 2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetert.C (setButtonLabel): use isOpen() to test whether the ert
6 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
8 * insetbranch.C: partial fix bug 2092: branches not
9 propagated to child docs
10 * insetcharstyle.C: Also replace LColor::red by LColor::error
12 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * insetbranch.C (isBranchSelected): take a buffer as argument.
15 adapt to work with child documents (bug 2092).
17 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * insettabular.C (doDispatch): get rid of annoying debug message.
21 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
22 code from InsetCollapsable.
24 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
25 inset is toggled to Closed, move cursor to the right (part of bug
28 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
30 * insettext.C: remove obsolete old_pit
32 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * insettabular.C (doDispatch): do not override the result of
35 LFUN_RIGHT/LEFT. (bug 2101)
37 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
39 * insetvspace.C (metrics): compute ascent and descent in a way that
40 the cursor is placed on the same level as the label text
42 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
45 of autoopen, which means that collapsables automatically open
46 whenever the cursor enters (and close again on leave) (fixes bug 1921).
48 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
50 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
51 and '\space' to '\space{}' (consistency).
53 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * insettabular.C (tabularFeatures): validate cursor after
56 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
58 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
60 * insettabular.C: fixes bug 1765: multicol cell width on screen not
63 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * insettabular.C: use recordUndoInset instead of recordUndo
66 (fixes bug 1937 and 1986).
68 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * insetvspace.C (metrics): include label text
71 * insetvspace.[Ch] (label): new, needed for the above
73 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * insetbase.[Ch]: new bool neverIndent() which indicates if
76 an inset does not want paragraph indentation at all.
79 * insetoptarg.h: return true for neverIndent()
80 * insettext.[Ch]: return true for neverIndent() in case
81 of tabular cells (based on a crude guess).
83 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
85 * insetline.C: Add forgotten include
87 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * insetline.C (latex): write the size argument of \lyxline again
90 * insetquotes.C (latex): adapt to OutputParams changes
92 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
95 when switching to pwidth cell (bugs 1296, 1840).
97 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * insettabular.C (draw): pass PainterInfro::erased_ to
101 (drawCellLines): add an erased bool and handle it.
103 2005-08-03 John Levon <levon@movementarian.org>
105 * insettext.C (clear): remove bool argument.
106 (read): adapt to clear() changes.
108 * insettabular.C (cutSelection): adapt to MarkErased changes.
110 * insettext.C (markErased):
111 * insettabular.C (markErased):
112 * insetbase.C (markErased): add bool argument.
114 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
116 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
117 after copying several cells (works around bug 1919).
119 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
121 * insetcharstyle.C (metrics,draw): consider inset label for
122 width computation; fix drawing of labels of undefined char styles
124 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
126 * insettabular.C (getStatus): fix Helge's bug that a number of insets
127 including ERT could not be inserted in tabular.
129 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * insetinclude.C (string2params): fix typo in error message (bug 1963).
133 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * insettabular.C (getStatus): disable line and paragraph breaks
136 in non-fixed-width cells (bug 1938).
138 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * insetwrap.C: Do not use translatable strings as internal identifier
144 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
146 * insetbase.C: include boost/current_function.hpp
148 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
150 * insetbase.C (edit,editXY,index): supress some lyxerr messages
152 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
156 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
158 * insetlabel.C (changeRefsIfUnique): remove unused code
160 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
163 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
164 reverse the logic. Make sure to set updateButtonLabel_ to true in all
165 places where params is set (directly or indirectly).
167 2005-07-15 André Pönitz <poenitz@gmx.net>
169 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
171 2005-07-15 André Pönitz <poenitz@gmx.net>
175 * insetcollapsable.[Ch]:
177 * updatableinset.[Ch]: remove UpdatableInset
179 2005-07-15 José Matos <jamatos@lyx.org>
181 * insettext.C (plaintext): fix call to asciiParagraph.
183 2005-07-15 André Pönitz <poenitz@gmx.net>
185 * insetcollapsable.[Ch]:
186 * updatableinset.[Ch] (scroll, setScroll): sanitize things
188 2005-07-14 Angus Leeming <leeming@lyx.org>
190 * insetbibtex.C (latex): when processing the LaTeX file in
191 a temp directory, copy the BibTeX databases there, mangling their
192 names in the process. Do this so that BibTeX can process the database
193 because it *really*, *really* can't handle "files with spaces".
195 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
197 * insettext.C (doDispatch): reduce some debug blabbering
199 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * ExternalSupport.C (subst_path): adjust to latex_path changes and
202 replace dots if appropriate
203 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
204 * insetexternal.C (validate): require lyxdot
206 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
208 * ExternalSupport.C (subst_path): new argument exclude_extension
209 * ExternalSupport.C (doSubstitution): exclude the extension when
211 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
212 the extension when quoting the file name
214 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * insetquotes.C (latex): always use \og/\fg for the french
217 languages; test against the language code instead of the babel
220 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
222 * insettabular.C (tabularFeatures): adjust cursor after adding a column
224 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * insetbranch.C (setButtonLabel): Make label prefix translatable.
228 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
230 * insettabular.[Ch] (dist): make it a real member of insettabular
231 and rewrite it to use the actuall cell dimensions for calculation,
232 not the insettext's deimensions (fixes bug 1801).
234 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * insetbibtex.C: (addDatabase): do not check for substrings but
237 but for whole tokens.
238 (delDatabase): make it actually work.
240 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
242 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
244 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
246 * insetgraphics.C (prepareFile): don't strip the extension of quoted
248 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
250 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
252 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
253 when multiple cells are selected (bug 1837).
255 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * insetoptarg.C (InsetOptArg): make the inset open by default
260 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * insetvspace.C (draw): use VSpace::asGUIName.
264 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
266 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
267 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
268 cur.noUpdate() if nothing changed
269 * insetlatexaccent.[Ch]: spelling fixes
271 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
273 * insetcollapsable.C (doDispatch): fix
274 click-on-closed-collapsable-inset-crash bug.
276 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
278 * insettabular.C (pasteSelection):
279 * insettext.h (copy c'tor): fix paste inside tabulars.
281 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * insetoptarg.C (plaintext): add dummy method.
285 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * insetbase.h (doDispatch): document a bit more
288 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
289 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
290 cur.bv().update(), because that leads to nested updates. Call
291 cur.noUpdate() instead where approriate.
293 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
295 * insetbibtex.C: change screen label
297 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
299 2005-05-06 José Matos <jamatos@lyx.org>
301 * insetcommandparams.C (scanCommand): fix out of range string access.
303 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
305 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
307 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
308 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
311 handle undefined character styles
312 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
313 handle undefined character styles
315 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
318 in getStatus and the tabularFeature string (bug 1860).
320 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * insetbranch.C (getStatus): make the code more compact
324 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * insetcollapsable.C (doDispatch): do not pass through double/triple
327 click events when they are not in the insetext (bug 1797).
329 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * insetbase.h: document a bit more
332 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
333 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
334 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
335 (getStatus): implement
336 * insetcollapsable.[Ch] (hitButton): take a const argument
337 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
340 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * insetcollapsable.C (doDispatch): pass through double/triple
343 click events (bug 1811).
345 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
349 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
350 but the SENSITIVE label type.
352 2005-04-18 Angus Leeming <leeming@lyx.org>
354 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
355 'use_latex_path' argument. In turn, passed to the new subst_path
356 function when replacing placeholders with paths.
358 * insetexternal.C (getScreenLabel):
359 * ExternalSupport.C (lots of places): change invocation of
360 doSubstitution in lots of places, specifying the appropriate values
361 for this 'use_latex_path' boolean.
363 * insetbib.C (latex):
364 * insetgraphics.C (latex):
365 * insetinclude.C (latex): pass path to latex_path rather than to
368 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
370 * insetcharstyle.C (validate): allow nested charstyle insets
372 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
376 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * insetfloat.C (InsetFloat):
379 * insetwrap.C (InsetWrap): do not set layout here.
381 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
385 * insetbase.h (getStatus): add more documentation
386 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
389 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
391 * insetcharstyle.C (metrics, draw):
392 * insetert.C (metrics, draw):
393 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
396 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
398 * insetexternal.C (validate):
399 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
400 multiple Requirements in external material template
402 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
404 * insettext.C (drawFrame): cosmetic fix
406 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
408 * ExternalSupport.C (writeExternal):
409 * insetgraphics.C (latex):
410 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
411 mis-count in computing latex error location
413 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
415 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
416 make it *not* descend into insets (fix a crash). Move the part
417 needed from editXY to a new function getNearestCell
419 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * insetinclude.C (InsetInclude): when constructing from another
422 InsetInclude, set set_label_ to false, since the value is never
425 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
427 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
429 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
431 * insettabular.C (drawSelection): cosmetic bugfix
433 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * insettabular.C (doDispatch): get middle mouse button back again
436 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
437 when only a part of the cell is selected (fix bug 1799)
439 * insettabular.C: handle some more character attributes in
440 M. Vermeers method (when multiple cells in tables are selected);
441 disable some more senseless lfuns when multiple cells are selected
443 Move to end of cell instead of beginning when coming from the cell
446 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
448 * insettabular.C: make applying character attributes
449 possible for multiple cells in tables. Disable collapsable
450 insets for multiple-cell selection in table (Jürgen S.)
451 Bug reported by Helge Hafting.
453 2005-02-25 Andreas Vox <avox@arcor.de>
455 * insetmarginal.[hC] (docbook): new method, render as <note>
457 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
459 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * insetcaption.[Ch] (doClone): implement
463 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
465 * insetgraphics.C (prepareFile): handle non-existing files
466 * insetgraphics.C (latex): remove special handling of non-existing
469 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
472 * insettext.C: adjust metrics
474 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * insettext.C: include boost/current_function.hpp (needed when
477 assertions are disabled)
479 2005-02-20 André Pönitz <poenitz@gmx.net>
481 * insetcollapsable.C: Prevent problems on double-/
482 tripleclick on collapsable label (bug 1797).
484 2005-02-13 André Pönitz <poenitz@gmx.net>
486 * insettext.[Ch] (border_): new
487 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
490 2005-02-14 Angus Leeming <leeming@lyx.org>
492 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
493 about "truncation of constant value".
495 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
497 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
498 workaround for broken HTML converter)
500 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * insetcollapsable.C (leaveInset): size() -> depth()
503 * insettabular.C (isRightToLeft): ditto
505 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * insetert.C (latex, linuxdoc, docbook): remove newline handling
508 * insetert.C (doDispatch): clean pasted paragraphs
509 * insetert.C (getStatus): suppress more lfuns
510 * insetert.C (insetAllowed): return always false
512 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
517 * updatableinset.C: Use new cursor accessors.
519 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
523 2005-01-31 Angus Leeming <leeming@lyx.org>
525 * insetgraphicsParams.C: protect a #warning preprocessor call
526 with a #ifdef WITH_WARNINGS guard.
528 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * Several files: use convert<> instead of atoi,strToXXX and friends
532 2005-01-23 Angus Leeming <leeming@lyx.org>
534 * insetbibitem.h (bibitemWidest): declare the function.
536 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
538 * insetgraphics.C (prepareFile): move the invocation of the default
539 converter to ../converter.C
540 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
541 call convert with try_default == true
543 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
545 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
546 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
547 determines what variables are substituted
548 * ExternalSupport.C (updateExternal): fix substitution of
551 2005-01-10 Angus Leeming <leeming@lyx.org>
553 * ExternalTemplate.C: use support/package.h to provide the paths to the
554 various directories used by LyX.
556 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * ExternalTransforms.C (adjAngle): tostr -> convert
566 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
571 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
573 * ExternalTransforms.C: fix LaTeX output of \scalebox.
575 * ExternalTransforms.[Ch]:
576 * insetexternal.C: store all float/double values as strings.
579 * insetgraphicsParams.C: more precise checks for the value strings.
581 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
583 * insettext.C (doDispatch): remove unused variable was_empty
585 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
588 * insetgraphicsParams.[Ch]: store all float/double values as strings.
590 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
592 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
594 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
597 UNSET_ALL_LINES (from Jürgen)
599 2004-12-14 Angus Leeming <leeming@lyx.org>
601 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
602 to overcome bug in the MinGW port of g++ 3.4.2.
604 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
606 * insettabular.C (getCellXPos): make it return a relative x
607 position wrt. the begin of the tabular
608 (resetPos): a couple of fixes
609 (doDispatch): add a couple of resetPos calls
610 (drawSelection): fix drawing of selection in single-cell mode
611 (draw): replace 'do not draw' optimization by 'draw with
614 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
616 * insetbase.[Ch] (idxUpDown2): remove function
618 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * insettabular.[Ch]: use size_t-like types for cell, row and column
623 2004-12-02 José Matos <jamatos@lyx.org>
625 * insetlatexaccent.C (checkContents): remove compatibility code,
628 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
630 * insetbase.h (getStatus): add better comment from src/cursor.C
632 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
634 * insettabular.[Ch]: adjust, introduce "do not draw
635 offscreen" optimization using NullPainter, (dist): introduce,
636 (getCursorPos): implement, (drawSelection): implement
638 * insetcollapsable.[Ch]: adjust
640 * insettext.C: adjust, (metrics): set the font before calling
643 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
645 * rename a lot of InsetOld to InsetBase
647 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
650 * insettext.C: par->pit renaming
652 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * Most insets: rename priv_dispatch to doDispatch
656 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * insettabular.C (tabularFeatures): fix multicolumn handling
660 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
662 * render_base.h (operator=): use common semantics
664 * insettext.C (operator=): delete this
665 (copy constructor): implement this properly
666 (init): use for_each and bind
668 (appendParagraphs): ditto
670 * insettabular.C: add more const. Adjust for changes in tabular.
672 * insetbase.h: Use NVI on clone. Add virtual doClone and update
673 all children, also make copy constructor protected. Added some
674 safe-guards to clone.
676 * insets: adjust to fit.
678 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * insetoptarg.C (latexOptional): return number of lines instead of
683 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
685 * insettabular.[Ch] (string2params): Don't pretend to return the
686 active cell anymore and simplify keyword parsing.
688 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * insetlatexaccent.h (isLetter): implement, so that word selection
691 takes accents into account.
693 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
695 * insetcollapsable.C (priv_dispatch): do not push the inset to the
698 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * ExternalSupport.C, insetgraphics.C:
701 s/getFormatFromContents/formats.getFormatFromFile/
703 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
705 * insetcharstyle.[Ch]:
706 * insetert.[Ch]: implement getStatus
708 * insetcharstyle.C (draw): visual clue when the cursor is inside
711 2004-11-02 José Matos <jamatos@lyx.org>
713 * insetcharstyle.C (docbook):
714 * insetlabel.C (linuxdoc, docbook):
715 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
718 * insettabular.C (docbook): mixed content no longer belongs to
721 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
723 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
725 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * ExternalSupport.C (updateExternal): convert files in the temp dir
729 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
731 * insetcharstyle.C: drawing cosmetics.
733 2004-10-30 José Matos <jamatos@lyx.org>
735 * insetcharstyle.C (docbook): a compromisse solution. Don't output
736 paragraph tags inside inline elements.
738 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
740 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
741 InsetText methods rather than outputVerbatim (escapes special
742 characters) [bug 1731]
743 * insetcharstyle.C (outputVerbatim): remove this function.
744 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
745 which caused an infinite loop.
747 2004-10-29 José Matos <jamatos@lyx.org>
749 * insetgraphics.C (uniqueID): transfered to sgml.C
751 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
753 * insetlabel.C (docbook, linuxdoc):
754 * insetref.C (docbook, linuxdoc): sanitize id.
756 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
758 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
759 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
760 * insetgraphics.C (findTargetFormat): reformat
762 2004-10-28 José Matos <jamatos@lyx.org>
764 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
766 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
768 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
770 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
772 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
773 "[,,,]" without warning message
775 2004-10-26 Angus Leeming <leeming@lyx.org>
777 * ExternalSupport.C (updateExternal):
778 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
779 external files to the temp directory.
781 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
783 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
784 layouts. This fixes problems with the memoir class (which does not
785 allow \footnote) [bug 1677]
787 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
789 * insetindex.C (docbook): escape the index, to generate correct sgml.
791 2004-10-23 José Matos <jamatos@lyx.org>
793 * insettext.C (docbook): rearrange arguments, due to change in the
796 2004-10-23 André Pönitz <poenitz@gmx.net>
798 * insettabular.C (cutSelection, tabularFereatures):
799 fix cursor position after cutting selection or table rows
801 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
803 * insetgraphics.C (docbook, writeImageObject): write more than one
804 format of imageobjects in <mediaobject>.
806 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
808 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
809 DocBook output for this inset ( <citation>content</citation> )
811 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
813 * insetgraphics.C (docbook) : using mediaobject for XML;
814 correcting bug with SGML output (now '>' instead of '/>')
816 2004-10-05 José Matos <jamatos@lyx.org>
818 * insetfloatlist.C (read):
819 * insetquotes.C (read):
820 * insetspace.C (read):
821 * insetspecialchar.C (read):
822 * insettabular.C (read): replace nextToken by more appropriate lex
825 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
827 * insetgraphics.C (createDocBookAttribute, docbook) :
828 convert scale, width, height and keepaspectratio to Docbook standards)
830 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
831 to Docbook units where possible.
833 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
835 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
837 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
838 as attributes with new method for docbook.
840 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
842 * render_preview.h: Use preferred calling of Boost.Signal
844 * pch.h: use proper signal include
846 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * ExternalTransforms.h: User preferred calling of Boost.Function
850 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
852 * insetref.C (docbook): fixing problem where Docbook XML output
853 had unclosed <xref ... >
855 2004-08-16 José Matos <jamatos@lyx.org>
857 * insethfill.C (write):
858 * insetline.C (write):
859 * insetnewline.C (write):
860 * insetpagebreak.C (write): remove space at end of line.
862 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * insettabular.C (plaintext): do not use ownerPar to get the
867 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
868 and it calls getParentLanguage (which calls ownerPar)
869 (edit): do not call sanitizeEmptyText
870 (priv_dispatch): remove code resetting font on empty inset, for
871 the same reasons as above.
873 * insettabular.C (isRightToLeft): instead of using
874 BufferView::getParentLanguage, use the data from the cursor
876 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * Makefile.am: support pch
882 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * insettabular.C (draw): whitespace
886 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
888 2004-08-14 André Pönitz <poenitz@gmx.net>
890 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
892 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
894 * insettabular.C (metrics): when the width of a cell is zero(),
895 let it use as much space as it can
897 * insettext.C (editXY): compilation fix
899 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
901 (metrics): the insets is not full width any more.
902 (draw): adjust; fix bad test for PREVIEW_OFF
903 (add_preview): fix bad test for PREVIEW_OFF
904 (display): do not return true when using \input
906 2004-08-14 José Matos <jamatos@lyx.org>
908 * insetbibitem.[Ch] (plaintext): added.
910 * insetcite.[Ch]: fix plaintext export.
912 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
914 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
917 * insetcaption.C (InsetCaption): modify call to setDrawFrame
918 * insetcollapsable.C (InsetCollapsable): ditto
919 * insetenv.C (InsetEnvironment): ditto
921 2004-08-14 André Pönitz <poenitz@gmx.net>
924 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
926 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * insetoptarg.C (latexOptional): if the optional argument contains
929 a ']' enclose it in {curly brackets}
931 * insettext.C (editXY):
932 * insettabular.C (editXY):
933 * insetcollapsable.C (editXY):
934 * insetbase.C (editXY): constify
936 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
937 not ask for an update if we did nothing; on a mouse release, make
938 sure that the cursor is moved to the right position; on a mouse
939 release, exit from the inset instead of invoking a
942 * insetbase.C (dispatch): before invoking dispatch, set cursor
943 result to dispatch=update=true.
945 2004-08-13 José Matos <jamatos@lyx.org>
947 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
949 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * insetfoot.C (latex): use OutputParams::intitle instead of
952 parOwner() (avoids time consuming lookup)
954 * insetquotes.C (latex): same as above with OutputParams::lang.
955 Moreover the code actually works now.
957 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
960 * insetinclude.C, insetgraphics.C, insetfloat.C:
961 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
962 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
963 "support/std_sstream.h" to <sstream>
965 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
967 * insetgraphics.C (prepareFile): remove conversion_needed flag.
968 It made the following fail for a .eps graphics file:
970 2) view->pdf (pdflatex)
971 because the .eps file was already in the temp dir when the pdflatex
972 export happened and therefore no .eps -> pdf conversion was done.
974 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
976 * insetgraphics.C, insettabular.C: s/wether/whether/g
978 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * insetgraphics.C (stripExtension): new
981 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
983 * insetgraphics.C (prepareFile): Handle "nice" exports, too
984 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
986 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * insetfloatlist.C (latex,getScreenLabel): translate according to
989 the document language (bug #1312)
991 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
994 with external_in_tmpdir and compute filename ourself
995 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
996 use it to store referenced file(s)
997 * ExternalSupport.C (writeExternal): write relative filename if
999 * ExternalTemplate.[Ch]: add ReferencedFile command
1000 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
1001 runparams.exportdata
1002 * insetgraphics.C (prepareFile): write relative filename if
1004 * insetinclude.C (latex, docbook, linuxdoc): add file to
1005 runparams.exportdata and write it to the temp dir instead of
1006 writing it to the final destination
1007 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1009 2004-05-19 Angus Leeming <leeming@lyx.org>
1011 * insetcite.[Ch]: small change because namespace biblio is
1012 now namespace lyx::biblio.
1014 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1016 * insettabular.[Ch] (buffer): make Buffer * argument const
1018 2004-05-17 Angus Leeming <leeming@lyx.org>
1020 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1021 to force the button label to be re-generated.
1023 2004-05-14 José Matos <jamatos@lyx.org>
1025 * insetlabel (docbook): do not ouput label, for the moment.
1027 2004-05-14 Angus Leeming <leeming@lyx.org>
1029 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1030 new biblio::asValidLatexString function.
1032 2004-05-12 Angus Leeming <leeming@lyx.org>
1034 * insetcite.C: use BufferParams::cite_engine rather than the three
1035 bools, use_natbib, use_jurabib, use_numerical_citations.
1037 2004-05-10 Angus Leeming <leeming@lyx.org>
1039 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1040 Ditto with getStyle, moved to biblio::getEngine.
1042 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1044 * insetgraphics.C (validate): remove pre 233 file format stuff,
1045 handle zipped files for "nice" export
1047 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1050 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1051 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1052 changed since the last run
1053 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1054 and copyFileIfNeeded.
1056 2004-04-29 Angus Leeming <leeming@lyx.org>
1058 * ExternalTemplate.[Ch]: remove redundant #includes.
1060 2004-04-28 Angus Leeming <leeming@lyx.org>
1063 s/updateToolbar()/updateToolbars()/
1065 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1067 * insetgraphics.C: require file extension (file format change!)
1068 * insetgraphics.C (latex): handle zipped files for "nice" export
1070 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1072 * insetgraphics.C (latex): strip the extension and replace dots in
1073 the filename if doing a "nice" export. This is a partial fix for
1074 bug 1231 without reintroducing bug 655.
1076 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * insetoptarg.h: remove the editable() method (InsetCollapsable
1079 does it better already)
1081 * insetbibtex.C (normalize_name): new helper function. Changes the
1082 name to be suitable to use in a latex file (relative to master
1083 buffer if necessary).
1084 (latex): use normalize_name.
1086 2004-04-20 Angus Leeming <leeming@lyx.org>
1088 * render_preview.C (startLoading): remove lyxerr statement.
1090 (getPreviewLoader): new helper function.
1092 2004-04-19 Angus Leeming <leeming@lyx.org>
1096 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1098 2004-04-19 Angus Leeming <leeming@lyx.org>
1100 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1102 (add_preview): renamed as add_preview_and_start_loading. Invoke
1103 RenderPreview::startLoading.
1105 * insetinclude.C (metrics, draw): changes due to the changed
1106 RenderPreview interface.
1108 * render_preview.C: remove cached pimage_.
1109 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1110 (draw): don't call startLoading. That's up to the user of
1113 2004-04-16 Angus Leeming <leeming@lyx.org>
1115 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1117 2004-04-13 Angus Leeming <leeming@lyx.org>
1119 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1120 the renderer to inform LyX::updateInset that the inset's status
1121 has changed and it should be redrawn.
1123 * render_button.[Ch] (clone):
1124 * render_graphic.[Ch] (c-tors, clone):
1125 * render_preview.[Ch] (c-tors, clone): ditto.
1127 * render_graphic.[Ch] (connect):
1128 * render_preview.[Ch] (connect): removed, as connection is now
1129 made in the constructors.
1133 * insetinclude.C: ensuing simplification of the client code.
1134 (statusChanged): now superfluous. Removed.
1136 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1138 * ExternalTemplate.[Ch]: remove editCommand
1139 * ExternalSupport.C (editExternal): use formats.edit() instead of
1140 the removed editCommand template parameter
1141 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1142 * insetgraphics.[Ch] (editGraphics): new method
1144 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * insetinclude.C (validate): set/reset features.buffer_ when
1147 validating the child
1149 2004-04-07 Angus Leeming <leeming@lyx.org>
1151 * insetexternal.C (priv_dispatch):
1152 * insetinclude.C (priv_dispatch): prevent crash by invoking
1153 InsetOld::priv_dispatch at the end of the switch, rather than
1154 InsetOld::dispatch...
1156 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1158 * insetcollapsable.C:
1159 * insetbranch.C: 'assign' to open/close branch inset according to
1160 selection; also print content on closed branch button
1162 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1164 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1165 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1166 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1168 * ExternalSupport.C (updateExternal): use absolute and output
1169 filename where appropriate
1171 2004-04-05 André Pönitz <poenitz@gmx.net>
1173 * insetbase.h: use LCursor & in notifyCursorLeave
1175 2004-04-05 Angus Leeming <leeming@lyx.org>
1177 * insetgraphics.C: remove unused header file "lyxrc.h".
1179 * render_graphic.C: squash bug 1372: Misleading graphics label when
1180 deactivating lyx view.
1182 2004-04-05 Angus Leeming <leeming@lyx.org>
1187 * insetlatexaccent.C:
1192 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1194 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * insetfloat.C (read): fix yesterday's float fix.
1197 * insetwrap.C (read): apply the fixed float fix.
1199 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1201 * insetfloat.C (read): fix reading of float params
1204 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1206 * insettext.C (edit): comment the call to updateLocal (dangling now)
1207 * insettext.h: add allowSpellCheck() returning true
1209 2004-03-31 Angus Leeming <leeming@lyx.org>
1211 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1213 2004-03-31 Angus Leeming <leeming@lyx.org>
1215 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1216 the cursor out of an inset.
1218 * insetbranch.C (priv_dispatch):
1219 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1220 use getOutOfInset to push the cursor out of the inset when
1223 2004-03-30 Angus Leeming <leeming@lyx.org>
1225 * insetbase.[Ch] (translate): new static member function, returns
1226 an InsetBase::Code corresponding to the input string.
1228 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1230 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1231 so that it opens the inset if it refers to the currently active
1234 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1236 * insetfloat.C (addToToc): use par_const_iterator_begin and
1237 par_const_iterator_end.
1239 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1241 * insetbibtex.[Ch]: bibtopic support.
1243 * insetfloat.[Ch]: add param \sideways {true|false}
1244 (support for sideways floats from rotating.sty).
1246 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1248 * insettext.[Ch]: add a default ctor. implement const version of
1254 * insetwrap.C: adjust
1256 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1258 * insettext.h: add insetAllowed returning true by default (fixing
1259 vanishing insets problem)
1261 * insettext.C (draw): handle the responsability of adding the
1262 ouside offset to collapsable. Clean code a bit.
1264 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1265 from insettext correctly, solve a couple of off-by-one drawing
1268 2004-03-25 Angus Leeming <leeming@lyx.org>
1270 * insetcaption.C (draw): squash warning about unused variable.
1272 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1274 * ExternalSupport.C: use the master buffer's temp dir
1275 * insetgraphics.C (latex): make relative filename relative to the
1277 * insetgraphics.C: use the master buffer's temp dir
1278 * insetinclude.C (masterFilename): new function
1279 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1280 is always true if loadIfNeeded() returns true)
1282 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1284 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1285 set its parent to the current buffer.
1286 (latex): use the tmppath of the master buffer, not just the parent
1287 buffer (makes a difference with more than one level of include
1288 insets). If the file name is relative write in the .tex file a
1289 name relative to the master buffer directory.
1291 * insetinclude.C: rename masterFilename to parentFilename (this
1292 points to the direct parent)
1294 2004-03-25 André Pönitz <poenitz@gmx.net>
1296 * inset.[Ch]: remover owner
1298 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1306 * insetcharstyle.[Ch]:
1314 * insetwrap.C: adjust
1316 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1318 * insetquote.C: use opening quote after '[' char.
1320 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1322 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1325 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1327 * insetcite.[Ch]: support jurabib.
1329 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * insetcite.C: Support second \cite option.
1333 * insetcommand.[Ch]:
1334 * insetcommandparams.[Ch]: add second optional argument.
1336 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1338 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1339 shows the inset dialog.
1341 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1343 * insetlabel.[Ch]: remove them
1344 * Makefile.am: adjust
1346 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1348 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1350 * insetinclude.C (latex): show a GUI warning if textclasses don't
1352 * insetinclude.C: use mangledFilename() for temp files
1353 * insetgraphics.C (readInsetGraphics): remove version check, since
1354 the graphics inset has no own fileformat number anymore
1356 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1358 * insetquotes.[Ch]: added new member that allows direct access
1359 to single/double quotation marks.
1360 * insetnewline.[Ch]:
1361 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1363 2004-02-16 André Pönitz <poenitz@gmx.net>
1366 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1367 implicitly assume 'DispatchResult(true, true) with exception of
1368 InsetBase::priv_dispatch which does the equivalent of
1369 'retrun DispatchResult(false)'
1371 * inset*.[Ch] (priv_dispatch): adjust
1373 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1374 simplify cursor moving function,
1375 re-enable horizontal scrolling for large tables
1377 2004-02-13 André Pönitz <poenitz@gmx.net>
1379 * insettabular.[Ch]: some work after IU
1381 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1383 * inset.C (setPosCache): switch to absolute coords in insets
1384 * insettext.[Ch] (draw, drawFrame): adjust
1385 * insetcollapsable.C (draw): adjust
1388 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1390 * insettext.C (edit):
1391 (updateLocal): use the cur argument instead of the global cursor
1392 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1394 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1396 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1398 * insetfloat.C (validate): "H" -> 'H' in call to contains
1400 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1402 2004-01-30 André Pönitz <poenitz@gmx.net>
1406 * insetcollapsable.[Ch]:
1409 * insetgraphics.[Ch]:
1411 * insettabular.[Ch]:
1414 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1417 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * insettabular.C: add using statement for std::vector, remove
1420 std:: where using was already used.
1422 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1424 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1426 * insetinclude.C (validate): use feautures.nice() instead of
1429 2004-01-20 André Pönitz <poenitz@gmx.net>
1432 * insetbase.[Ch]: move stuff from mathcursor here.
1434 * insetbibitem.[Ch]:
1438 * insetcharstyle.[Ch]:
1439 * insetcollapsable.[Ch]:
1440 * insetcommand.[Ch]:
1442 * insetexternal.[Ch]:
1444 * insetgraphics.[Ch]:
1445 * insetinclude.[Ch]:
1449 * insettabular.[Ch]:
1453 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1456 2004-01-15 André Pönitz <poenitz@gmx.net>
1459 * insetbibitem.[Ch]:
1463 * insetcharstyle.[Ch]:
1464 * insetcollapsable.[Ch]:
1465 * insetcommand.[Ch]:
1467 * insetexternal.[Ch]:
1469 * insetgraphics.[Ch]:
1470 * insetinclude.[Ch]:
1474 * insettabular.[Ch]:
1478 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1480 2004-01-08 André Pönitz <poenitz@gmx.net>
1482 * insetcollapsable.[Ch]:
1483 * insettabular.[Ch]:
1485 * updatableinset.h: use cell index info from global cursor.
1487 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489 * insetnote.C (InsetNoteParams::write): write label only once
1491 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1493 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1495 get rid of the SameName functor
1497 * insettabular.C: improve the functor.
1499 2003-12-29 Angus Leeming <leeming@lyx.org>
1501 * insetexternal.C (setParams): update defaultTemplateName.
1503 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1505 * insetbox.C: Use term "Box" in button label
1507 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1509 * insetcharstyle.C: get getDrawFont working again
1511 2003-12-15 André Pönitz <poenitz@gmx.net>
1513 * insettabular.[Ch]:
1514 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1516 2003-12-12 Angus Leeming <leeming@lyx.org>
1518 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1520 (InsetBranchParams): remove the branchlist hack.
1521 (isBranchSelected): new function, used to decide whether to
1522 print each output format. Also used by InsetList.
1523 (read, string2params): repair my own breakage ;-)
1525 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1527 * insetminipage.[Ch]: remove from repository.
1529 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1532 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1533 insetert to insetcollapsable; introduce virtual function
1534 setButtonLabel and invoke it from collapsable
1536 2003-12-12 Angus Leeming <leeming@lyx.org>
1538 * insetinclude.C (draw): cache x,y and so enable the
1539 dialog to be opened.
1541 2003-12-12 Angus Leeming <leeming@lyx.org>
1543 * mailinset.C (print_mailer_error): tidy up the output.
1545 2003-12-11 Angus Leeming <leeming@lyx.org>
1547 * mailinset.[Ch] (print_mailer_error): new helper function.
1549 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1550 calling InsetCommandMailer.
1551 (InsetCommandMailer::string2params): pass the name of the dialog.
1553 * insetbibitem.[Ch] (d-tor):
1554 * insetbibtex.[Ch] (d-tor):
1555 * insetcite.[Ch] (d-tor):
1556 * insetfloatlist.[Ch] (d-tor):
1557 * insetindex.[Ch] (d-tor):
1558 * insetlabel.[Ch] (d-tor):
1559 * insetref.[Ch] (d-tor):
1560 * insettoc.[Ch] (d-tor):
1561 * inseturl.[Ch] (d-tor): removed.
1562 Hiding the dialog is handled by InsetCommand.
1564 * insetbibtex.[Ch] (draw, metrics):
1565 * insetfloatlist.[Ch] (draw, metrics):
1566 * insetindex.[Ch] (draw, metrics): removed.
1567 Drawing is handled by InsetCommand.
1569 * insetbibitem.[Ch] (priv_dispatch):
1570 * insetbibtex.[Ch] (priv_dispatch):
1571 * insetcite.[Ch] (priv_dispatch):
1572 * insetfloatlist.[Ch] (priv_dispatch):
1573 * insetindex.[Ch] (priv_dispatch):
1574 * insetlabel.[Ch] (priv_dispatch):
1575 * insettoc.[Ch] (priv_dispatch):
1576 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1577 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1578 LFUN_INSET_DIALOG_SHOW.
1580 * insetbox.C (string2params):
1581 * insetbranch.C (string2params):
1582 * insetert.C (string2params):
1583 * insetexternal.C (string2params):
1584 * insetfloat.C (string2params):
1585 * insetinclude.C (string2params):
1586 * insetminipage.C (string2params):
1587 * insetnote.C (string2params):
1588 * insetvspace.C (string2params):
1589 * insetwrap.C (string2params): over-hauled.
1591 2003-12-10 Angus Leeming <leeming@lyx.org>
1593 * insetexternal.[Ch]: add a draft option and respect it when
1596 2003-12-10 Angus Leeming <leeming@lyx.org>
1598 * insetbox.C: (read, write): now prepend the inset contents with
1599 'Box' to identify the inset as a box inset.
1601 * insetbox.h: move the translators out of sight.
1603 2003-12-10 Angus Leeming <leeming@lyx.org>
1605 * insetert.C (string2params): clean-up using the new lyxlex interface.
1607 * insetexternal.C: ensure that InsetExternalParams has a default
1608 template, 'RasterImage'.
1610 2003-12-10 Angus Leeming <leeming@lyx.org>
1612 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1613 to an enum. Ensuing clean-ups through out the class.
1614 (read, write): now prepend the inset contents with 'Note' to identify
1615 the inset as a note inset.
1617 2003-12-10 Angus Leeming <leeming@lyx.org>
1619 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1620 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1622 2003-12-10 André Pönitz <poenitz@gmx.net>
1626 * insettabular.[Ch]:
1627 * insettext.[Ch]: remove unused insetInset()
1629 * insetert.C: disable some LFUNs
1631 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1633 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1635 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1637 2003-12-04 Angus Leeming <leeming@lyx.org>
1639 * insetexternal.C (draw): update the xo_, yo_ cache.
1641 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1643 (RotationDataType): new helper struct wrapping the
1644 RotationData::OriginType enum.
1646 2003-12-03 André Pönitz <poenitz@gmx.net>
1648 * inset.h: remove getParagraphs()
1650 * insetcollapsable.[Ch]:
1653 * insettabular.[Ch]:
1654 * insettext.C: use getText() instead of getParagraphs()
1656 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1658 * insetert.C: fix label text updating bug
1660 2003-12-02 Angus Leeming <leeming@lyx.org>
1662 * insetvspace.[Ch] (space): new member function. Make space_ private.
1663 (read): use the new, simpler lyxlex syntax.
1665 2003-12-01 André Pönitz <poenitz@gmx.net>
1667 * insetcollapsable.[Ch]:
1668 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1670 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1672 * insetvspace.C (read): handle 'end_inset' token.
1674 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1676 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1678 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1680 * insetcollapsable.[Ch]:
1682 * insetcharstyle.C: place inset content on the button when
1685 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1687 * insetvspace.C: remove VSpace::NONE; increase inset width
1689 2003-12-01 André Pönitz <poenitz@gmx.net>
1691 * insetbase.h: whitespace
1693 * inset.[Ch]: remove latexTextWidth
1694 make setBackgroundColor virtual
1696 * insettext.[Ch]: move ParagraphList member to LyXText
1698 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1704 * insetminipage.[Ch]:
1706 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1708 2003-11-28 Angus Leeming <leeming@lyx.org>
1710 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1711 hiding and showing the dialog respectively.
1712 (priv_dispatch): also actually update the inset contents.
1714 2003-11-28 Angus Leeming <leeming@lyx.org>
1716 * insetbox.C (d-tor):
1717 * insetbranch.C (d-tor):
1718 * insetcite.C (d-tor):
1719 * insetfloat.C (d-tor):
1720 * insetfloatlist.C (d-tor):
1721 * insetinclude.C (d-tor):
1722 * insetindex.C (d-tor):
1723 simplify the invocation of the Mailer::hideDialog() function.
1725 * insetminipage.C (showInsetDialog):
1726 simplify the invocation of the Mailer::showialog() function.
1728 2003-11-28 André Pönitz <poenitz@gmx.net>
1731 * insetvspace.[Ch]: new insets
1733 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1735 * insetcharstyle.C: Syntax change for CharStyles
1737 2003-11-28 André Pönitz <poenitz@gmx.net>
1739 * updatableinset.h: remove insetInInsetY
1741 * insetcollapsable.[Ch]:
1743 * insettabular.[Ch]:
1744 * insettext.[Ch]: adjust
1746 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1750 * insetcollapsable.[Ch]:
1752 * insettabular.[Ch]: remove setFont
1754 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1756 * render_graphic.[Ch]: adjust comments
1758 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1760 * insetgraphics.C (draw): cache xo_ & yo_
1762 2003-11-24 André Pönitz <poenitz@gmx.net>
1764 * insettext.C (setViewCache): don't call LyXText::init() anymore
1766 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1769 * insetcollapsable.[Ch]:
1770 * insetert.[Ch]: remove bufferview parameter in methods
1771 open, close, status, and updateStatus.
1773 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1775 * insetcollapsable.[Ch]:
1776 * insettabular.[Ch]:
1777 * insettext.[Ch] (getCursorDim): squash unused variable
1779 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1781 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1783 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1785 * insettext.C (draw): sets LyXText absolute coordinates
1787 2003-11-20 Angus Leeming <leeming@lyx.org>
1789 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1790 warnings about unused parameters.
1792 * insetcollapsable.C (open):
1793 * insettabular.C (pasteSelection):
1794 * insettoc.C (draw): ditto.
1796 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1798 * insetcollapsable.C:
1800 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1801 remove mouse_x mouse_y etc.
1803 2003-11-17 André Pönitz <poenitz@gmx.net>
1805 * insettext.[Ch] (cx, cy): remove
1807 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1809 2003-11-13 André Pönitz <poenitz@gmx.net>
1812 * insetcollapsable.[Ch]:
1813 * insettabular.[Ch]:
1814 * insettext.[Ch] (deleteLyXText): remove
1816 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1818 * insetcollapsable.[Ch] (fitInsetCursor): remove
1819 * insettabular.[Ch] (fitInsetCursor): remove
1820 * insettext.[Ch] (fitInsetCursor): remove
1821 * updatableinset.[Ch] (fitInsetCursor): remove
1822 (getCursorDIm): add virtual
1824 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1826 * src/insets/Makefile.am:
1827 * src/insets/inset.h:
1828 * src/insets/insetcharstyle.C:
1829 * src/insets/insetcharstyle.h: The Character Style /XML short
1832 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1834 * insettext.C: remove all update calls
1835 * insetcollapsable.C: remove all update calls
1837 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1839 * insettext.C (updateLocal, insertInset, setFont): remove
1842 2003-11-10 André Pönitz <poenitz@gmx.net>
1844 * inset.h: remove Inset::id_
1846 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1851 2003-11-10 André Pönitz <poenitz@gmx.net>
1855 * insetcollapsable.[Ch]:
1859 * insettabular.[Ch]:
1862 * updatableinset.[Ch]: remove inset locking & adjust
1864 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1866 * inset.h (allowSpellCheck): add (return true)
1867 * insetert.h (allowSpellCheck): add (return false)
1869 2003-11-05 José Matos <jamatos@lyx.org>
1875 * insetcaption.[Ch]:
1877 * insetcollapsable.[Ch]:
1878 * insetcommand.[Ch]:
1881 * insetexternal.[Ch]:
1883 * insetfloatlist.[Ch]:
1885 * insetgraphics.[Ch]:
1887 * insetinclude.[Ch]:
1890 * insetlatexaccent.[Ch]:
1893 * insetmarginal.[Ch]:
1894 * insetminipage.[Ch]:
1895 * insetnewline.[Ch]:
1898 * insetpagebreak.[Ch]:
1902 * insetspecialchar.[Ch]:
1903 * insettabular.[Ch]:
1905 * insettheorem.[Ch]:
1908 * insetwrap.[Ch]: rename ascii to plaintext
1909 and LatexRunParams to OutputParams.
1911 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1913 * insetcollapsable.C (edit): add open() all
1914 * insettext.C (edit): add setViewCache call
1916 2003-11-04 André Pönitz <poenitz@gmx.net>
1918 * inset.h (edit): move locking code from dispatch() to edit()
1924 * insetcollapsable.[Ch]:
1927 * insetexternal.[Ch]:
1928 * insetgraphics.[Ch]:
1933 * insettabular.[Ch]:
1934 * insettext.[Ch]: adjust
1936 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1939 * insetcollapsable.[Ch]:
1941 * insettabular.[Ch]:
1943 * updatableinset.[Ch]: remove dead search code
1945 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1948 * insetcollapsable.[Ch]:
1950 * insettabular.[Ch]:
1952 * updatableinset.[Ch]: remove dead spellcheck code
1954 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1956 * insettabular.C (lockInsetInInset): small fix
1958 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1961 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1962 from here. Be stricter on DispatchResult returned.
1964 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * Inset::dispatch's: adjust for new DispatchResult semantics.
1968 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * render_base.h: make clone return an auto_ptr
1971 * render_button.C (clone): adjust
1972 * render_graphic.C (clone): adjust
1973 * render_preview.C (clone): adjust
1975 * insettheorem.C (clone): return an auto_ptr
1977 * insettext.C (priv_dispatch): exception safety
1979 * insettabular.C: store the file scope variable paste_tabular in a
1980 scoped_ptr, adjust usage.
1982 * insetexternal.C (setParams): exception safety
1984 * insetbibitem.C (clone): exception safety
1986 2003-11-03 André Pönitz <poenitz@gmx.net>
1989 * insetcollapsable.[Ch]:
1990 * insettabular.[Ch]:
1991 * insettext.[Ch]: remove Inset::id and related functions
1993 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * insets: adjust for DispatchResult changes.
1997 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1999 * insetpagebreak.C: fix screen representation & ascii output.
2001 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2005 * insettabular.[Ch]:
2006 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2008 2003-10-31 José Matos <jamatos@lyx.org>
2010 * inset.h (ascii, linuxdoc, docbook):
2011 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2012 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2013 * insetcaption.[Ch] (ascii, docbook):
2014 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2015 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2016 * insetert.[Ch] (ascii, linuxdoc, docbook):
2017 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2018 * insetfloat.[Ch] (linuxdoc, docbook):
2019 * insetfloatlist.[Ch] (ascii):
2020 * insetfoot.[Ch] (docbook):
2021 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2022 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2023 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2024 * insetindex.[Ch] (docbook):
2025 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2026 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2027 * insetline.[Ch] (ascii, linuxdoc, docbook):
2028 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2029 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2030 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2031 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2032 * insetref.[Ch] (ascii, linuxdoc, docbook):
2033 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2034 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2035 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2036 * insettext.[Ch] (ascii, linuxdoc, docbook):
2037 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2038 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2039 * insetwrap.[Ch] (docbook):
2040 add LatexRunParams argument.
2042 2003-10-30 José Matos <jamatos@lyx.org>
2044 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2046 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * updatableinset.C (priv_dispatch):
2049 * insetwrap.C (priv_dispatch):
2050 * inseturl.C (priv_dispatch):
2051 * insettoc.C (priv_dispatch):
2052 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2053 (moveLeftIntern, moveUp, moveDown):
2054 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2055 (moveLeft, moveUp, moveDown):
2056 * insetref.C (priv_dispatch):
2057 * insetnote.C (priv_dispatch):
2058 * insetminipage.C (priv_dispatch):
2059 * insetlabel.C (priv_dispatch):
2060 * insetindex.C (priv_dispatch):
2061 * insetinclude.C (priv_dispatch):
2062 * insetgraphics.C (priv_dispatch):
2063 * insetfloatlist.C (priv_dispatch):
2064 * insetfloat.C (priv_dispatch):
2065 * insetexternal.C (priv_dispatch):
2066 * insetert.C (priv_dispatch):
2067 * insetcommand.C (priv_dispatch):
2068 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2069 * insetcite.C (priv_dispatch):
2070 * insetbranch.C (priv_dispatch):
2071 * insetbox.C (priv_dispatch):
2072 * insetbibtex.C (priv_dispatch):
2073 * insetbibitem.C (priv_dispatch):
2074 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2076 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2078 * insettext.C: small refactoring of docbook stuff
2080 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2083 (priv_dispatch): adjust for operator dispatch_result_t removal
2085 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2086 in a DispatchResult, adjust accordingly.
2087 (priv_dispatch): use strange >= construct... (will be removed later)
2089 * most insets: dispatch_result -> DispatchResult
2091 * insetbase.h: move DispatchResult out to dispatchresult.h
2093 2003-10-27 André Pönitz <poenitz@gmx.net>
2095 * insetpagebreak.[Ch]: new inset for page breaks
2097 * insetline.[Ch]: new inset for vertical lines
2102 2003-10-25 Angus Leeming <leeming@lyx.org>
2104 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2105 new virtual member functions, specialised...
2106 * render_button.h (asButton):
2107 * render_graphic.h (asGraphic):
2108 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2110 * insetexternal.C: use these new functions rather than dynamic_cast.
2111 Various other small simplifications.
2113 2003-10-22 Angus Leeming <leeming@lyx.org>
2115 * insetexternal.[Ch]: add the ability to 'preview' the external file
2118 * insetinclude.C: changes due to the changes in the RenderPreview
2121 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2122 message if the preview image is not available. Only initiate the
2123 loading of the preview from draw(). Ditto, start the monitoring
2124 of an external file from RenderMonitoredPreview::draw.
2126 2003-10-22 Angus Leeming <leeming@lyx.org>
2128 * insetcite.[Ch] (setLoadingBuffer): removed.
2129 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2130 ascertain whether to proceed with the (expensive) task of computing
2131 the natbib-style label. Remove the home-grown hack providing
2132 similar functionality.
2134 2003-10-22 Angus Leeming <leeming@lyx.org>
2136 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2137 class and into an anonymous namespace.
2139 2003-10-22 Angus Leeming <leeming@lyx.org>
2141 * insetcommand.h: remove the display method.
2145 * insetindex.h (InsetPrintIndex):
2146 * insettoc.h: add a display method, returning true.
2148 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2150 * insetcollapsable.h:
2154 * insetinclude.h: (1) finish off the inset display() work;
2155 (2) fix the "is a bit silly" bug (accessing char
2158 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2162 * insetfootlike.h: re-introduce display() for insets,
2163 fixing the various bugs (stretch of line above, math inset
2166 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * insetbase.C (dispatch): new func
2169 (priv_dispatch): new func replaces...
2170 (localDispatch): this, deleted.
2172 * all insets with dispatch modified for new code.
2174 2003-10-15 André Pönitz <poenitz@gmx.net>
2176 * insetcollapsable.[Ch]
2178 * inset.h: re-add some edit(bv, index) method called by undo
2180 2003-10-14 Angus Leeming <leeming@lyx.org>
2182 * insetexternal.[Ch] (view, cache, view_):
2183 * insetgraphics.[Ch] (view, cache, view_):
2184 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2185 (statusChanged): call LyX::cref().updateInset.
2187 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2188 the BufferView cache.
2190 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2193 2003-10-14 Angus Leeming <leeming@lyx.org>
2195 * insetinclude.C (metrics, draw): only draw the preview when previews
2198 2003-10-14 André Pönitz <poenitz@gmx.net>
2200 * insetcollapsable.[Ch]:
2201 * insettabular.[Ch]:
2203 * inset.h: getText() as alternative to getParagraphs()
2205 2003-10-13 Angus Leeming <leeming@lyx.org>
2208 * insetgraphicsParams.C: displayTranslator is now a function.
2210 2003-10-13 Angus Leeming <leeming@lyx.org>
2212 * insetinclude.C: remove #include "PreviewImage.h".
2214 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * ExternalSupport.C:
2217 * ExternalTransforms.C:
2219 * insetbox.h: ws changes only
2221 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * insetinclude.C (localDispatch): do not call
2224 InsetOld::localDispatch, just return UNDISPATCHED
2225 * insetgraphics.C (localDispatch): ditto
2226 * insetcommand.C (localDispatch): ditto
2228 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * inset.h: get rid of RESULT typedef for dispatch_result
2232 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2233 * insetert.[Ch] (localDispatch): ditto
2234 * insettabular.[Ch] (localDispatch): ditto
2239 * insettext.[Ch] (localDispatch): ditto
2242 (moveRightIntern): ditto
2243 (moveLeftIntern): ditto
2246 * updatableinset.[Ch] (localDispatch): ditto
2248 2003-10-12 Angus Leeming <leeming@lyx.org>
2250 * renderbase.h (view, view_): removed.
2251 * renderbase.C: removed.
2252 * Makefile.am: remove render_base.C. The shortest lived file in
2255 * renderbutton.C (draw):
2256 * render_graphic.C (draw): don't cache the BufferView.
2258 * insetabase.h (cache, view): removed.
2260 * inset.h (generatePreview) removed.
2262 * insetcallapsable.[Ch] (cache, view, view_): removed.
2264 * insetcollapsable.C (draw): don't cache the BufferView.
2266 * insetcommand.[Ch] (view): removed.
2268 * insetexternal.[Ch] (cache, view, view_):
2269 * insetgraphics.[Ch] (cache, view, view_):
2270 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2272 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2273 when you have direct access to it. In fact, don't use the cache at all.
2275 2003-10-10 Angus Leeming <leeming@lyx.org>
2277 * insetinclude.C (metrics): use preview_->metrics.
2278 (draw): use preview_->draw.
2280 * render_preview.[Ch] (pimage): removed.
2282 2003-10-10 Angus Leeming <leeming@lyx.org>
2284 * renderers.[Ch]: removed.
2287 * render_button.[Ch]:
2288 * render_graphic.[Ch]:
2289 * render_preview.[Ch]: new files. The first three are split out of
2290 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2291 contains a re-worked InsetInclude::PreviewImpl also.
2293 * Makefile.am: reflect the changed files.
2296 * insetexternal.[Ch]:
2297 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2299 * insetinclude.[Ch]: changes reflecting the change from
2300 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2306 * inseturl.C: add #include "support/std_ostream.h"
2308 2003-10-09 Angus Leeming <leeming@lyx.org>
2310 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2311 to PreviewedInset::previewReady.
2313 2003-10-09 Angus Leeming <leeming@lyx.org>
2315 * insetexternal.[Ch] (statusChanged):
2316 * insetgraphics.[Ch] (statusChanged): make a const member function.
2318 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2321 2003-10-09 Angus Leeming <leeming@lyx.org>
2323 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2324 to PreviewedInset's previewReady and removePreview member functions.
2326 2003-10-08 André Pönitz <poenitz@gmx.net>
2328 * insetcollapsable.C:
2329 * insettext.[Ch]: saner 'init' structure
2331 * updatableinset.[Ch]: remove unneeded code
2333 2003-10-08 Angus Leeming <leeming@lyx.org>
2335 Fix doxygen warnings.
2337 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2338 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2340 2003-10-07 Angus Leeming <leeming@lyx.org>
2342 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2343 be applied to InsetExternal.
2345 * Makefile.am: add these new files.
2347 * ExternalTemplate.[Ch]: add a list of available transforms to
2348 class Template and a list of factory functions for transformer classes
2349 that can act on this data to class Format.
2351 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2353 * ExternalSupport.C: Add code to replace transform placeholders
2354 with appropriate output.
2356 2003-10-07 Angus Leeming <leeming@lyx.org>
2358 * ExternalSupport.[Ch]: new files, moving the private member functions
2359 and namespace anon functions out of insetexternal.C to here, so making
2360 it easier to understand what is going on in insetexternal itself.
2362 * Makefile.am: add new files.
2364 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2365 allowing the class to be forward declared. (Also consistent with
2366 all other Params classes.)
2367 (write): moved out of the class. Move this function and those in
2368 namespace anon to ExternalSupport.[Ch].
2370 2003-10-07 Angus Leeming <leeming@lyx.org>
2372 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2373 non-const member function.
2375 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2380 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2382 2003-10-02 André Pönitz <poenitz@gmx.net>
2384 * insettext.C (read): make sure there is at least one par
2385 in the text after reading.
2387 2003-10-01 José Matos <jamatos@lyx.org>
2389 * insetbranch.C (linuxdoc, docbook): minor fix.
2391 2003-10-01 Angus Leeming <leeming@lyx.org>
2393 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2395 * insetexternal.[Ch]: changes due to the introduction of
2396 namespace lyx::external.
2398 2003-09-30 Angus Leeming <leeming@lyx.org>
2400 * insetexternal.[Ch] (Params::read, write): new member functions.
2402 2003-09-25 Angus Leeming <leeming@lyx.org>
2404 * insetexternal.[Ch] (TempName): new (private) nested struct with
2405 fake copy semantics. Enables us to use the generated copy c-tor
2406 in the Params struct.
2407 (Params::templatename, Params::tempname): use accessor functions.
2409 2003-09-25 Angus Leeming <leeming@lyx.org>
2411 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2412 function, returning a const pointer.
2414 2003-09-23 Angus Leeming <leeming@lyx.org>
2416 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2417 store them in a vector, preambleNames.
2419 * insetexternal.C (validate): loop over all preambleNames and call
2420 LaTeXFeatures::addExternalPreamble with each.
2422 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2424 * insetbranch.C: bug fix in branches
2426 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2428 * insetnote.C: small clean-up.
2430 2003-09-19 Angus Leeming <leeming@lyx.org>
2432 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2434 * insetcommand.C (string2params): clear params using the default c-tor.
2436 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2437 InsetInclude::Params. No more data in this struct than in
2438 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2439 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2440 (clone): remove #warning as it's now redundant.
2441 (set): add a 'Buffer const &' arg. Make private.
2442 (loadIfNeeded) move out of the class definition and into namespace anon.
2443 (getMasterFilename, getFileName): ditto.
2445 2003-09-18 Angus Leeming <leeming@lyx.org>
2447 * insetcommand.C (setParams): use the params' copy constructor.
2449 2003-09-18 Angus Leeming <leeming@lyx.org>
2451 * insetinsetbase.h (getLabelList):
2452 * insetinsetcollapsable.[Ch] (getLabelList):
2453 * insetinsetinclude.[Ch] (getLabelList):
2454 * insetinsetlabel.[Ch] (getLabelList):
2455 * insetinsettabular.[Ch] (getLabelList):
2456 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2457 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2459 2003-09-18 Angus Leeming <leeming@lyx.org>
2461 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2462 redundant baggage from yesteryear.
2463 Remove Params::flag as it is redundant; the info is present in
2466 2003-09-18 Angus Leeming <leeming@lyx.org>
2468 * insetinclude.C (latexString): add a Buffer const & arg.
2470 2003-09-18 Angus Leeming <leeming@lyx.org>
2475 * insettext.h: rename EnumLColor as LColor_color.
2477 2003-09-18 Angus Leeming <leeming@lyx.org>
2479 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2480 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2482 2003-09-16 Angus Leeming <leeming@lyx.org>
2484 * insetinclude.C (localDispatch): ensure that
2485 params_.masterFilename_ is set before trying to generate a
2486 preview, else we trigger an assert.
2488 2003-09-16 Angus Leeming <leeming@lyx.org>
2490 * insetinclude.C (PreviewImpl::parent): return a const reference.
2492 2003-09-16 Angus Leeming <leeming@lyx.org>
2494 * insetcollapsable.[Ch]: make all member variables, except for
2497 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2498 than access labelfont directly.
2499 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2500 use InsetCollapsable::setCollapsed, isOpen rather than access
2501 collapsed_ directly.
2503 * insetminipage.C (metrics):
2504 * insetnote.C (metrics):
2505 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2506 access collapsed_ directly.
2508 2003-09-16 Angus Leeming <leeming@lyx.org>
2510 * insetbibitem.C: add #include "lyxfont.h".
2512 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * insetbibtex.C: use namespace alias for lyx::support::os
2517 2003-09-16 Angus Leeming <leeming@lyx.org>
2519 * insetcollapsable.h: remove unused framecolor variable.
2520 Remove #include "LColor.h".
2522 * insetcollapsable.C: remove unused framecolor variable.
2525 * insetcollapsable.C:
2533 Add #include "LColor.h".
2535 2003-09-16 Angus Leeming <leeming@lyx.org>
2537 * insettext.[Ch] (frameColor): new accessor function.
2538 (frame_color_): stored as an int, allows us to remove #include
2539 "LColor.h" from insettext.h
2544 add #include "LColor.h".
2546 * insetcollapsable.h: add #include "LColor.h"
2547 (for its framecolor member variable).
2549 2003-09-16 Angus Leeming <leeming@lyx.org>
2551 * insetenv.C (constructor): use accessor functions to access
2552 InsetText variables.
2554 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2555 rename frame_color as frame_color_. Make private.
2557 * insettext.C: associated changes.
2559 2003-09-16 Angus Leeming <leeming@lyx.org>
2561 * inset.h: store background_color_ as an int, not as an
2562 LColor::color to get LColor.h out of the header file.
2565 * insetlatexaccent.C:
2568 * insetspecialchar.C:
2570 add #include "LColor.h".
2572 2003-09-16 Angus Leeming <leeming@lyx.org>
2574 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2575 cannot string calls together.
2577 2003-09-15 Angus Leeming <leeming@lyx.org>
2579 * inset.[Ch] (setBackgroundColor, backgroundColor):
2580 * insettext.[Ch] (setFrameColor):
2581 pass EnumLColor args, rather than LColor::color ones.
2583 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * insetwrap.C: remove usage of STRCONV
2595 2003-09-15 Angus Leeming <leeming@lyx.org>
2597 * renderers.C (draw):
2598 * insetlatexaccent.C (draw): explicitly define the color passed to
2601 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2603 * insettext.C: remove block causing problems in lockInsetInInset
2604 (mentioned erroneously under Bug #1366)
2606 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2608 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2611 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2613 * several files: change Assert to BOOST_ASSERT
2615 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2617 * insettext.[Ch]: remove drawText[XY]Offset
2619 2003-09-08 Angus Leeming <leeming@lyx.org>
2621 * insetcollapsable.C:
2626 * insetspecialchar.C:
2629 * insettoc.C: remove redundant using directives.
2631 2003-09-07 Angus Leeming <leeming@lyx.org>
2634 * insetspecialchar.h: remove #include "support/std_string.h".
2636 2003-09-06 Angus Leeming <leeming@lyx.org>
2638 * renderers.C: add #include "insets/inset.h"
2640 2003-09-05 Angus Leeming <leeming@lyx.org>
2642 * *.C: strip out redundant #includes. (193 in total.)
2644 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2646 * insets/insetbibtex.[Ch]:
2647 * insets/insetcommand.h:
2648 * insets/insetfloatlist.[Ch]:
2649 * insets/insetinclude.[Ch]:
2650 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2651 of insets like bibtex, include, toc and floatlist to the visible
2652 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2653 up the dialogs. Cursor has to be in front of the inset (i.e.
2654 start of row) for this to function.
2656 2003-09-04 Angus Leeming <leeming@lyx.org>
2658 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2659 structure outside of the Format struct. Format::preambleName refers to
2660 an item in the map of all preamble snippets.
2661 Make use of the new Debug::EXTERNAL flag.
2663 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2664 (validate): Small change due to the changed storage of preamble
2667 2003-09-04 Angus Leeming <leeming@lyx.org>
2669 * insetgraphics.C: #include "support/os.h"
2671 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2672 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2673 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2675 * insetcollapsable.h:
2677 * insetnote.C: move #include "funcrequest.h" out of the header file.
2679 2003-09-03 Angus Leeming <leeming@lyx.org>
2681 * insetexternal.C (updateExternal):
2682 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2685 2003-09-03 Angus Leeming <leeming@lyx.org>
2687 * insetexternal.C: don't bring namespace lyx::support into the global
2690 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2692 * insetbranch.C: Add Branch: to label
2694 2003-09-02 John Levon <levon@movementarian.org>
2697 * insettext.C: remove cursor.i[xy]()
2699 2003-08-28 Angus Leeming <leeming@lyx.org>
2701 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2702 "sh ", enabling the conversion to be carried out even if the script
2705 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * most files: change to use const Buffer refs
2709 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2711 * insetfootlike.C: whitespace.
2713 2003-08-26 John Levon <levon@movementarian.org>
2717 * insetindex.h: remove remaining mentions of needFullRow()
2719 2003-08-26 André Pönitz <poenitz@gmx.net>
2725 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2727 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2729 * insetbranch.C: Small fix to prevent a crash on loading.
2731 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2736 * insetcollapsable.h:
2738 * insetfloatlist.[Ch]:
2739 * insetfootlike.[Ch]:
2740 * insetinclude.[Ch]:
2746 * insettheorem.[Ch]:
2747 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2748 altogether, putting the logic in metrics/draw in the insets.=20
2749 Draws short single row insets with more or less realistic metrics.
2751 2003-08-19 André Pönitz <poenitz@gmx.net>
2753 * insettext.C: use new RowPainter interface
2755 2003-08-18 John Levon <levon@movementarian.org>
2757 * insetref.C: require amsmath for eqref
2759 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2763 * insetbranch.[Ch]: implements the 'branch inset'
2764 idea. This allows the output of various versions of a document
2765 from a single source version, selectively outputing or suppressing
2766 output of parts of the text.
2767 This implementation contains a 'branch list editor' in a separate
2768 tab of the document settings dialog. Branches are user definable
2769 and have a "display colour" to distinguish them on-screen.
2771 ColorHandler was somewhat cleaned up.
2772 (1) make possible a dynamically growing LColor list by allowing
2773 the graphic context cache to grow along (vector);
2774 (2) eliminate an IMHO unnecessary step in colour allocation.
2776 2003-08-15 André Pönitz <poenitz@gmx.net>
2778 * insettext.[Ch]: adjust after rowlist split
2780 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2782 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2783 rename valign-center to valign-middle;
2784 rename VALIGN_CENTER to VALIGN_MIDDLE
2786 2003-08-11 André Pönitz <poenitz@gmx.net>
2788 * inset.h: remove resizeLyXText
2791 * insetcollapsable.[Ch]:
2793 * insettabular.[Ch]: adjust
2795 * insettext.[Ch]: remove saveLyXTextState,
2796 restoreLyXTextStat, sstate, reinitLyXText
2798 2003-08-07 André Pönitz <poenitz@gmx.net>
2800 * inset.[Ch]: move non-crucial functions out-of-line
2802 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2803 remove duplicated code.
2805 2003-08-05 André Pönitz <poenitz@gmx.net>
2808 * insetcollapsable.[Ch]:
2818 * insettabular.[Ch]:
2821 * updatableinset.[Ch]: rip out "deep update"
2823 * insettext.C (localDispatch): merge cases with default branch
2825 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2827 * insettabular.[Ch] (updateLocal): simplify logic
2829 2003-08-04 André Pönitz <poenitz@gmx.net>
2831 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2832 is 'FULL' all the time.
2834 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2836 * insetert.C (get_new_label): only add ... to the (closed) label
2837 when the string has been shortened
2839 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2841 * Always use std::endl with lyxerr
2843 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2845 * insetnote.C: update \author list
2847 2003-07-31 André Pönitz <poenitz@gmx.net>
2849 * insetcollapsable.h:
2850 * insettabular.[Ch]:
2851 * insettext.[Ch]: remove toggleSelection
2853 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2855 (with help from Juergen Spitzmueller)
2856 * insetnote.C: add add i18n support. Use Prefs-definable
2857 colours for Comment and Greyedout.
2859 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2861 * insetcollapsable.[Ch]:
2863 * insetert.C: factor out the detection of clicking on the inset
2864 button as 'hitButton'. John Levon contributed.
2866 2003-07-30 André Pönitz <poenitz@gmx.net>
2868 * insetcollapsable.C:
2870 * insettabular.C: parantheses, localize vars etc.
2872 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2874 * insetnote.C: Implement a newenvironment in preamble for
2875 greyedout. Patch provided by Jürgen Spitzmüller.
2877 2003-07-29 Angus Leeming <leeming@lyx.org>
2879 * insetcommand.C (localDispatch): default to
2880 InsetOld::localDispatch.
2882 * insetbibitem.C (localDispatch):
2883 * insetbibtex.C (localDispatch): remove call to
2884 ChangeCitationsIfUnique.
2886 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2888 * insetexternal.C (read): use pushpophelper.
2890 2003-07-28 José Matos <jamatos@lyx.org>
2892 * insetext.C (read): \end_document replaces \the_end.
2894 2003-07-28 José Matos <jamatos@fep.up.pt>
2896 * insetert.C (write): \layout -> \begin_layout.
2897 Add missing \end_layout.
2899 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 * insetquotes.C: document a bit the format
2903 * insettabular.C (write): remove extra space
2905 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2906 * insetnote.C: Umpf. Hope I *now* get it right :-(
2908 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2909 *insetnote.C: did the right fix to greyedout: \color
2910 instead of \textcolor.
2912 2003-07-28 Angus Leeming <leeming@lyx.org>
2914 * insetbibtex.h: remove extraneous forward declaration.
2917 * insetbibtex.h: Also remove long-dead Holder member class
2920 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2922 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2925 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * insetwrap.C (addToToc): adjust for lyx::toc
2929 * insetfloatlist.C (ascii): adjust for lyx::toc
2931 * insetfloat.C (addToToc): adjust for lyx::toc
2933 2003-07-27 José Matos <jamatos@fep.up.pt>
2935 * insetnote.h (linuxdoc,docbook): update support.
2937 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * insetfloat.C (wide): add a space to label, for consistency
2941 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * insettext.C (nextChange): adjust for lyx::find
2944 (searchForward): ditto
2945 (searchBackward): ditto
2947 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2949 * insetgraphicsParams.C:
2950 * insetexternal.C: declare extern displayTranslator
2953 * renderers.C: add #include "support/LAssert.h"
2955 2003-07-27 José Matos <jamatos@fep.up.pt>
2957 * insetfloat.[Ch] (linuxdoc):
2958 * insetgraphics.C (linuxdoc):
2959 * insettabular.C (linuxdoc):
2960 * insettext.[Ch] (linuxdoc): add support for tables and figures
2963 2003-07-27 José Matos <jamatos@fep.up.pt>
2965 * insetinclude (latex): comply with makeLaTeXFile argument change.
2967 2003-07-26 Asger Alstrup <alstrup@local>
2969 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2970 the undo crashes. We'll see what problems other places this will
2973 2003-07-26 Angus Leeming <leeming@lyx.org>
2975 * insetgraphics.C: remove unused declaration of system_tempdir.
2977 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * rename Inset to InsetOld
2981 * all inset files (clone): return a auto_ptr<InsetBase>
2983 2003-07-23 Angus Leeming <leeming@lyx.org>
2985 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2987 2003-07-23 Angus Leeming <leeming@lyx.org>
2989 * mailinset.[Ch] (inset2string):
2990 * insetcommand.[Ch] (inset2string):
2991 * insetert.[Ch] (inset2string):
2992 * insetexternal.[Ch] (inset2string):
2993 * insetfloat.[Ch] (inset2string):
2994 * insetgraphics.[Ch] (inset2string):
2995 * insetinclude.[Ch] (inset2string):
2996 * insetminipage.[Ch] (inset2string):
2997 * insetnote.[Ch] (inset2string):
2998 * insettabular.[Ch] (inset2string):
2999 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
3001 * insetexternal.[Ch]:
3002 * insetgraphics.[Ch]: get rid of the view() function. Associated
3003 changes to the mailers' string2params and params2string functions.
3005 2003-07-23 Angus Leeming <leeming@lyx.org>
3007 * insetexternal.[Ch]: store the external file name in a FileName
3008 member variable rather than a string + associated changes.
3010 2003-07-21 Angus Leeming <leeming@lyx.org>
3012 * insetgraphicsParams.[Ch]: store the graphics file name in
3013 a FileName member variable rather than a string.
3015 * insetgraphics.[Ch]:
3016 * insetgraphicsParams.[Ch]: Associated changes.
3018 2003-07-21 Angus Leeming <leeming@lyx.org>
3020 * insetgraphics.[Ch] (string2params, params2string): passed a
3021 buffer_path argument.
3024 2003-07-21 Angus Leeming <leeming@lyx.org>
3027 * insetgraphicsParams.[Ch]:
3029 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3031 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3033 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3035 2003-07-18 André Pönitz <poenitz@gmx.net>
3038 * insetminipage.[Ch]:
3039 * insettabular.[Ch]:
3042 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3044 2003-07-18 André Pönitz <poenitz@gmx.net>
3048 * insetcollapsable.C:
3052 * insetgraphics.[Ch]:
3053 * insetlatexaccent.[Ch]:
3058 * insetspecialchar.C:
3059 * insettabular.[Ch]:
3061 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3063 2003-07-17 André Pönitz <poenitz@gmx.net>
3065 * insetcollapsable.C:
3067 * insettext.C: don't call Inset::update() anymore
3070 * insettabular.[Ch]: remove unneeded in_update_ members
3072 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3074 2003-07-16 André Pönitz <poenitz@gmx.net>
3076 * insettext.C (selectAll): remove
3078 2003-07-16 John Levon <levon@movementarian.org>
3081 * insetnote.C: implement showInsetDialog()
3083 2003-07-15 André Pönitz <poenitz@gmx.net>
3086 * insettext.C: refresh_status tristate -> need_update bool
3088 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3090 * insettext.C: adjust call to LyXText::init
3092 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3094 * insettext.C: use bufferview_funcs->replaceSelection()
3095 to delete selections in some cases (bugs 441, 673, 702, 954).
3097 2003-07-14 André Pönitz <poenitz@gmx.net>
3099 * insettext.C (draw): use slimmed down rowpainter interface
3101 2003-07-14 André Pönitz <poenitz@gmx.net>
3103 * insetcollapsable.C:
3105 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3106 remove unused BufferView * argument
3108 2003-07-14 André Pönitz <poenitz@gmx.net>
3110 * insettext.[Ch]: used cached metrics a bit more
3112 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3114 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3116 2003-07-10 André Pönitz <poenitz@gmx.net>
3119 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3121 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * introduce namespace lyx::graphics
3125 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * introduce namespace lyx::support
3129 2003-06-30 André Pönitz <poenitz@gmx.net>
3131 * insetcite.C (localDispatch): fix case of missing return value
3133 * insetcite.C (ascii): remove unneeded temporary
3135 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * insetspace.h: fix \file
3139 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3140 * insetinclude.C (fillWithBibKeys): ditto
3142 * insetbibitem.C: fix type const order
3144 * inset.C (getLyXText): add varname for arg
3146 * ExternalTemplate.h: fix type const order
3148 2003-06-27 André Pönitz <poenitz@gmx.net>
3150 * insettext.C: take care of removed LyXCursor::row_ member
3152 * insettext.[Ch]: use new TextCursor struct for sstate
3154 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3156 * inseterror.[Ch]: removed
3158 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3160 * insetinclude.C (docbook): use parseError instead of sgmlError
3162 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3164 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3165 of BufferList::loadLyXFile
3167 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * insettext.C (update): simplify
3170 (updateLocal): remove commented code
3171 (insetUnlock): simplify
3172 (lockInset): simplify
3173 (updateInsetInInset): simplify
3174 (localDispatch): simplify
3176 (resizeLyXText): simplify
3177 (collapseParagraphs): simplify
3179 * insetert.C (get_new_label): simplify
3181 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3183 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3184 pasteSelection with index
3186 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3190 2003-06-16 André Pönitz <poenitz@gmx.net>
3192 * insetbase.h: new virtual base function clone()
3194 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3195 Inset * clone() -> InsetBase * clone()
3197 2003-06-13 André Pönitz <poenitz@gmx.net>
3199 * insettabular.[Ch]: make tabular a proper member
3201 2003-06-12 André Pönitz <poenitz@gmx.net>
3203 * insettabular.[Ch]: some renaming plus whitespace
3205 2003-06-11 Angus Leeming <leeming@lyx.org>
3207 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3210 * insetbutton.[Ch]: removed.
3211 * graphicinset.[Ch]: renamed as renderers.[Ch].
3213 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3214 Create a new class ButtonRenderer using the InsetButton::metrics() and
3216 Derive both from a common RenderedInset base class.
3218 * insetcommand.[Ch]:
3219 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3220 Give it a ButtonRenderer member variable. Use it.
3221 Give the classes working copy c-tors.
3222 No longer derive from boost::noncopyable.
3224 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3225 display its contents as a button or as a graphic.
3227 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3230 2003-06-11 Angus Leeming <leeming@lyx.org>
3232 * insetcite.C (localDispatch): reformat.
3234 * insetref.C (localDispatch): enable dialog to be lauched.
3236 2003-06-11 John Levon <levon@movementarian.org>
3238 * insettabular.C: correctly mark all cells as erased
3240 2003-06-11 Angus Leeming <leeming@lyx.org>
3242 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3243 ExternalTemplate but its name, templatename. This means that a file
3244 containing a reference to an External Template not installed on the
3245 current machine will be saved retaining this info rather than inserting
3246 the first "valid" template from the list of templates.
3248 As a by product, the visual statement that the Template is missing is
3251 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3253 * insettext.C (appendParagraphs): remove some commented code.
3255 2003-06-10 Angus Leeming <leeming@lyx.org>
3257 * graphicinset.[Ch] (view): removed the publicly accessible
3258 function to set the cache.
3260 * insetexternal.[Ch]: move tempname_ into the Params struct.
3261 (Params d-tor): new function, to clean-up this temp file.
3262 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3264 (editExternal, doSubstitution): move out of class.
3266 2003-06-10 Angus Leeming <leeming@lyx.org>
3268 * graphicinset.[Ch] (params): removed.
3269 * graphicinset.h (operator=): declared private but not defined.
3270 (statusMessage): made private.
3272 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3274 2003-06-07 John Levon <levon@movementarian.org>
3276 * insetert.C (latex): make a newline mean just that not
3279 2003-06-07 José Matos <jamatos@fep.up.pt>
3281 * insethfill.[Ch] (linuxdoc, docbook): implement output
3282 * insetspace.C (linuxdoc, docbook): remove coments as the code
3285 2003-06-06 José Matos <jamatos@fep.up.pt>
3287 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3289 2003-06-06 André Pönitz <poenitz@gmx.net>
3291 * insetwrap.[Ch]: code compactification
3293 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3295 * mailinset.C (updateDialog): use Dialogs::visible
3297 2003-06-04 Angus Leeming <leeming@lyx.org>
3299 * graphicinset.C (draw): add a comment for the #if 0 block.
3301 * insetexternal.h: remove Params::parameters variable.
3303 * insetexternal.C (read, write): rewrite to output new ExternalInset
3304 format and read it back making full use of LyXLex.
3306 2003-06-04 André Pönitz <poenitz@gmx.net>
3308 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3310 2003-06-04 John Levon <levon@movementarian.org>
3312 * insettabular.C: back out tall table speed up. It was broken
3314 2003-06-03 Angus Leeming <leeming@lyx.org>
3316 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3317 Remove ViewCommand and UpdateCommand.
3319 * graphicinset.C (update): bug fix. Set the params before calling the
3322 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3323 the BufferView cache to enable the InsetExternal::editCommand to
3324 be invoked from the frontends. Would not be needed if this were
3325 dispatched properly.
3326 (old_ascent_): variable removed.
3328 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3329 do any necessary conversions of external material. Also use the
3330 new GraphicsInset to display the inset within LyX.
3332 2003-06-03 Angus Leeming <leeming@lyx.org>
3334 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3335 and move it somewhere where InsetExternal can use it too.
3337 * Makefile.am: add the new files.
3339 * insetgraphics.[Ch]: make use of the new GraphicInset.
3341 2003-06-03 John Levon <levon@movementarian.org>
3344 * insetbibitem.[Ch]:
3347 * insetcommand.[Ch]:
3351 * insetexternal.[Ch]:
3355 * insetgraphics.[Ch]:
3357 * insetinclude.[Ch]:
3360 * insetlatexaccent.[Ch]:
3361 * insetmarginal.[Ch]:
3362 * insetminipage.[Ch]:
3369 * insetspecialchar.[Ch]:
3370 * insettabular.[Ch]:
3372 * insetthereom.[Ch]:
3375 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3377 * insetgraphics.[Ch]:
3378 * insetgraphicsParams.[Ch]: always store an absolute
3381 2003-06-02 André Pönitz <poenitz@gmx.net>
3385 * insetlatexaccent.C: remove duplicated call to metrics()
3387 2003-06-02 John Levon <levon@movementarian.org>
3389 * insettabular.C: fix resize of column width
3391 2003-06-02 John Levon <levon@movementarian.org>
3396 * insetparent.C: remove insetparent
3398 2003-06-02 André Pönitz <poenitz@gmx.net>
3405 * insetcollapsable.[Ch]:
3409 * insetgraphics.[Ch]:
3410 * insetinclude.[Ch]:
3411 * insetlatexaccent.[Ch]:
3412 * insetminipage.[Ch]:
3413 * insetnewline.[Ch]:
3416 * insetspecialchar.[Ch]:
3417 * insettabular.[Ch]:
3418 * insettext.[Ch]: unify first drawing phase
3421 * insetbase.h: move validate() to the base
3423 2003-05-31 Angus Leeming <leeming@lyx.org>
3425 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3427 2003-05-30 André Pönitz <poenitz@gmx.net>
3432 * insetcaption.[Ch]:
3433 * insetcollapsable.[Ch]:
3436 * insetgraphics.[Ch]:
3437 * insetinclude.[Ch]:
3438 * insetlatexaccent.[Ch]:
3439 * insetnewline.[Ch]:
3442 * insetspecialchar.[Ch]:
3443 * insettabular.[Ch]:
3445 * updatableinset.[Ch]: unify second drawing phase
3447 2003-05-30 John Levon <levon@movementarian.org>
3449 * insetgraphics.C: fix a bformat
3451 2003-05-29 John Levon <levon@movementarian.org>
3453 * insettabular.C: remove unused bufferOwner()
3455 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * insettext.C (lockInsetInInset): adjust
3458 (getLabelList): use const_iterator, adjust
3459 (getInsetFromID): use const_iterator, adjust
3460 (addPreview): use const_iterator, adjust
3462 * insetwrap.C (clone): remove const_cast
3464 * insetnote.C (clone): remove const_cast
3466 * insetminipage.C (clone): remove const_cast
3468 * insetmarginal.C (clone): remove const_cast
3470 * insetfoot.C (clone): remove const_cast
3472 * insetfloat.C (clone): remove const_cast
3474 * insetert.C (clone): remove const_cast
3476 * delete commented same_id functions from a lot of files.
3478 2003-05-28 John Levon <levon@movementarian.org>
3484 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3486 * insetminipage.C: fix metrics (bug 1144)
3488 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * insettext.C (saveLyXTextState): adjust
3491 (restoreLyXTextState): adjust
3494 (unlockInsetInInset): adjust
3495 (localDispatch): adjust
3496 (getLyXText): adjust
3498 * insettabular.C (insertAsciiString): adjust
3500 2003-05-27 André Pönitz <poenitz@gmx.net>
3503 * insetcollapsable.C:
3506 * insetlatexaccent.C:
3511 * insetspecialchar.C:
3513 * insettext.C: dim.w -> dim.wid
3515 2003-05-26 John Levon <levon@movementarian.org>
3517 * insettabular.C: avoid drawing all of a long table
3518 if it's not needed. A big speedup
3520 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * remove same_id from function signatures, adjust
3524 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3526 * insettext.C (InsetText): adjust
3528 (setParagraphData): separate same_id cases, adjust
3529 (appendParagraphs): adjust
3530 (appendParagraphs): adjust
3532 2003-05-23 André Pönitz <poenitz@gmx.net>
3534 * insetbutton.h: whitespace
3536 * insettabular.C: more compact code
3538 * updatableinset.C: remove const_cast
3541 2003-05-23 Angus Leeming <leeming@lyx.org>
3543 * insetexternal.C (write): check how many lines are output.
3544 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3545 if the template has defined it.
3547 2003-05-23 Angus Leeming <leeming@lyx.org>
3549 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3551 2003-05-23 Angus Leeming <leeming@lyx.org>
3553 * insetfoot.C (latex):
3554 * inseturl.C (latex): rename fragile as moving_arg.
3556 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * inseterror.C (localDispatch): comment out unused var.
3560 2003-05-22 Angus Leeming <leeming@lyx.org>
3562 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3563 passed through the LatexRunParams arg.
3565 2003-05-22 Angus Leeming <leeming@lyx.org>
3567 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3568 through the LatexRunParams arg.
3570 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3571 arg rather than through a global var.
3573 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3575 * insetspecialchar.C (dimension): use a string.
3577 2003-05-22 Angus Leeming <leeming@lyx.org>
3579 * insetbibtex.C (latex):
3580 * insetgraphics.C (latex):
3581 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3582 runparams rather than from the buffer itself.
3584 2003-05-22 Angus Leeming <leeming@lyx.org>
3586 * inset*.[Ch] (latex):
3587 passed a LatexRunParams parameter.
3589 * insetgraphics.C (latex): actually use it ;-)
3591 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3593 * insetfloat.C (addToToc): trivial compile fix
3595 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * insettext.[Ch] (paragraph): delete unused function
3599 * insetfloat.C (addToToc): parlist simplfication
3601 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3603 * insetspace.[Ch]: added (new space insets)
3605 * inset.h: handle new space insets
3607 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * insetfloat.C (addToToc): adjust
3611 2003-05-21 André Pönitz <poenitz@gmx.net>
3613 * insettext.[Ch]: fix drawing bug introduced earlier
3615 2003-05-19 André Pönitz <poenitz@gmx.net>
3617 * insetspecialchar.C: fix bug introduced yesterday
3619 2003-05-19 André Pönitz <poenitz@gmx.net>
3623 * insetcollapsable.[Ch]:
3627 * insetgraphics.[Ch]:
3628 * insetgraphicsParams.[Ch]:
3629 * insetlatexaccent.[Ch]:
3630 * insetminipage.[Ch]:
3631 * insetnewline.[Ch]:
3633 * insetspecialchar.[Ch]:
3634 * insettabular.[Ch]:
3635 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3637 2003-05-19 André Pönitz <poenitz@gmx.net>
3640 * insettext.C: more insetenv
3642 2003-05-16 André Pönitz <poenitz@gmx.net>
3645 * insetminimpage.[Ch]:
3646 * insetcollapsable.[Ch]: fix #832
3648 2003-05-16 André Pönitz <poenitz@gmx.net>
3651 * insetbibitem.[Ch]:
3655 * insetcollapsable.[Ch]:
3656 * insetcommand.[Ch]:
3659 * insetexternal.[Ch]:
3660 * insetfloatlist.[Ch]:
3661 * insetgraphics.[Ch]:
3662 * insetinclude.[Ch]:
3665 * insetlatexaccent.[Ch]:
3668 * insettabular.[Ch]:
3672 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3674 2003-05-13 André Pönitz <poenitz@gmx.net>
3677 * insetcollapsable.C:
3681 * insetwrap.C: tostr from own header
3693 * insetwrap.C: STRCONV
3696 2003-05-12 André Pönitz <poenitz@gmx.net>
3708 * insetwwrap.C: boost::format -> bformat all over the place
3710 2003-05-05 André Pönitz <poenitz@gmx.net>
3712 * insettext.h: add missing #include <map>
3714 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * insettext.C (InsetText): parlist cleanup
3719 (insetUnlock): ditto
3721 (lockInsetInInset): ditto
3725 (searchBackward): ditto
3726 (collapseParagraphs): ditto
3728 2003-05-06 John Levon <levon@movementarian.org>
3730 * insetcaption.C: don't cast wrap inset to InsetFloat
3733 * insetfloat.C: remove unneeded type() function
3735 2003-05-05 André Pönitz <poenitz@gmx.net>
3739 * insettabular.[Ch]:
3740 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3741 replace getFirstParagraph() by getParagraphs()
3743 2003-05-03 John Levon <levon@movementarian.org>
3745 * insetcollapsable.h:
3746 * insetcollapsable.C:
3752 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3753 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3754 getCursor(). Remove explicit cursor hides.
3756 2003-05-02 André Pönitz <poenitz@gmx.net>
3758 * insettext.C: remove unneeded &*
3760 2003-04-30 John Levon <levon@movementarian.org>
3762 * insettabular.C: fix edit message
3764 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * insettext.C (setFont): do not convert iterator -> pointer
3768 * insettabular.C (localDispatch): do not convert iterator -> pointer
3770 (tabularFeatures): ditto
3772 2003-04-29 André Pönitz <poenitz@gmx.net>
3774 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3776 2003-04-28 André Pönitz <poenitz@gmx.net>
3778 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3781 2003-04-25 André Pönitz <poenitz@gmx.net>
3783 * insetenv.C: derive from InsetText instead of InsetCollapsable
3785 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * insetexternal.C (string2params): dont do anything if the string
3789 * insetgraphics.C (string2params): ditto
3790 * insetcommand.C (string2params): ditto
3791 * insetert.C (string2params): ditto
3792 * insetfloat.C (string2params): ditto
3793 * insetinclude.C (string2params): ditto
3794 * insetminipage.C (string2params): ditto
3795 * insettabular.C (string2params): ditto
3796 * insetwrap.C (string2params): ditto
3798 2003-04-24 André Pönitz <poenitz@gmx.net>
3800 * insetref.C: support for eqref
3802 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * insetert.C (read): use ParagraphList::iterator.
3806 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * insetquotes.C (latex): comment some code and add warnings.
3810 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3812 * insetexternal.C (localDispatch): added a missing DISPATCHED
3814 2003-04-12 John Levon <levon@movementarian.org>
3816 * insetwrap.C (addToToc): fix a crash, conversion
3817 from while to for loop forgot to remove the explicit
3820 2003-04-10 John Levon <levon@movementarian.org>
3822 * insettabular.C (tabularFeature): make sure
3823 to update the dialog when we change something
3826 (getStatus): don't disable some lfuns (bug 939)
3828 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * insettext.C (saveLyXTextState): adjust
3831 (localDispatch): adjust
3837 * insettabular.C (localDispatch): adjust
3839 (tabularFeatures): adjust
3841 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3843 * insettabular.C (searchForward,searchBackward): fix bug 782
3845 2003-04-07 John Levon <levon@movementarian.org>
3848 * insettext.C: clear status message on inset exit
3850 2003-04-03 John Levon <levon@movementarian.org>
3852 * insetcommand.C: return dispatched on DIALOG_UPDATE
3854 2003-04-02 John Levon <levon@movementarian.org>
3856 * insettabular.C: tab lfuns renamed
3858 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * insettext.C (update): move towards ParagraphList
3861 (updateLocal): ditto
3863 (insetUnlock): ditto
3865 (lockInsetInInset): ditto
3866 (updateInsetInInset): ditto
3867 (localDispatch): ditto
3870 (resizeLyXText): ditto
3871 (searchBackward): ditto
3872 (collapseParagraphs): ditto
3875 * insetwrap.C (InsetWrap): adjust
3876 (addToToc): adjust and rewrite loop
3878 * insettext.[Ch] (paragraph): delete function
3880 * insettabular.C (moveNextCell): adjust
3881 (movePrevCell): adjust
3882 (insertAsciiString): adjust
3884 * insetfloat.C (InsetFloat): adjust
3887 * insetert.C (InsetERT): adjust
3888 (write): adjust, and rewrite loop
3889 (latex): adjust, and rewrite loop
3890 (linuxdoc): adjust, and rewrite loop
3891 (docbook): adjust, and rewrite loop
3892 (localDispatch): adjust
3893 (get_new_label): adjust
3895 2003-04-01 John Levon <levon@movementarian.org>
3897 From Alfredo Braunstein
3900 * insetbutton.C: add localDispatch()
3902 * insetcommand.C: return DISPATCHED when edit() called
3904 * insettext.C: fix bug 967
3906 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * insettext.C: adjust
3910 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * insettext.C (draw): adjust
3913 (crow): return a RowList::iterator not a Row*
3915 * insetminipage.C (localDispatch): adjust
3917 * insetert.C (localDispatch): adjust
3919 2003-03-31 John Levon <levon@movementarian.org>
3922 * insetgraphicsParams.C: use_gui moved to lyx_gui
3924 2003-03-31 John Levon <levon@movementarian.org>
3926 * insettext.C: Alert fix
3928 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * insettext.C (ascent): adjust for RowList
3933 (getLyXText): adjust
3934 (toggleSelection): adjust
3936 * insetminipage.C (localDispatch): adjust for RowList
3938 * insetert.C (localDispatch): adjust for RowList
3939 (getMaxWidth): adjust for RowList
3941 2003-03-29 John Levon <levon@movementarian.org>
3943 * insetert.C: Alert cleanup
3945 2003-03-29 John Levon <levon@movementarian.org>
3947 * insettabular.C: Alert fix
3949 2003-03-28 John Levon <levon@movementarian.org>
3951 * insetfloat.C: reset label on INSET_MODIFY
3953 2003-03-28 John Levon <levon@movementarian.org>
3955 * insetgraphicsParams.C: read subcaptionText as a whole line
3958 2003-03-28 John Levon <levon@movementarian.org>
3960 * insettext.C: remove unused prototypes
3962 2003-03-25 Angus Leeming <leeming@lyx.org>
3964 * insetbibitem.C (localDispatch): repaint the view after modifying
3965 a bibitem inset in case the maximum InsetBibitem width has changed.
3967 2003-03-25 John Levon <levon@movementarian.org>
3970 * insettabular.C: LyXText renamings
3972 2003-03-24 John Levon <levon@movementarian.org>
3974 * insettext.C: remove some dead code. Fix bug 972 and
3975 related by posting a repaint in updateLocal(), and making
3976 the SEL functions set SELECTION.
3978 2003-03-22 John Levon <levon@movementarian.org>
3981 * inset.C: remove no-longer-needed topx_set
3983 * insetcollapsable.h:
3984 * insetcollapsable.C: remove dead code
3987 * insetert.C: rebreak the rows when a possible
3988 change in size is made, and reset the cursor
3991 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3993 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3994 topx_set. Fix drawing errors for clearInset(). Remove
3995 some unnecessary uses of topx, which should die.
3997 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3998 is no longer needed. Replace it with an ugly hack.
4000 2003-03-20 John Levon <levon@movementarian.org>
4003 * insetcollapsable.h:
4004 * insetcollapsable.C:
4012 * insettext.C: remove spurious font parameter
4013 from update(). Fix drawing of ERT insets inside
4014 insets (bug 966). Remove unused mark_dirty from
4015 tabular's updateLocal()
4017 2003-03-19 John Levon <levon@movementarian.org>
4026 * insetwrap.C: remove unused getter/setters
4028 2003-03-19 John Levon <levon@movementarian.org>
4030 * several files: bv->updateInset() doesn't take
4031 a bool mark_dirty any more
4033 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * adjust for BufferView* arg removal from lyxtext.
4037 2003-03-17 John Levon <levon@movementarian.org>
4039 * most files: remove the "cleared" parameter
4040 to draw in favour of always clearing. Associated
4043 2003-03-16 John Levon <levon@movementarian.org>
4045 * insettext.C: remove unused s.refresh
4047 2003-03-13 Angus Leeming <leeming@lyx.org>
4049 * insettext.C (edit): replace Dialogs::updateParagraph with
4050 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4052 2003-03-13 André Pönitz <poenitz@gmx.net>
4054 * Makefile.am: insert insetenv
4056 * insethenv.[Ch]: new files, currently inactive
4058 2003-03-12 John Levon <levon@movementarian.org>
4068 * insettext.C: use new insetnewline
4070 2003-03-12 John Levon <levon@movementarian.org>
4072 * insettext.C: readToken became readParagraph
4074 2003-03-12 John Levon <levon@movementarian.org>
4076 * insettext.C: use parlist iterator for reading contents
4078 2003-03-12 John Levon <levon@movementarian.org>
4080 * insettext.C: name change to readToken()
4082 2003-03-11 André Pönitz <poenitz@gmx.net>
4084 * Makefile.am: insert insethfill
4086 * insethfill.[Ch]: new files
4088 2003-03-10 Angus Leeming <leeming@lyx.org>
4090 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4092 (hideDialog): calls the new static Dialogs::hide() method.
4094 * insetbibitem.C (edit):
4095 * insetbibtex.C (edit):
4096 * insetcite.C (edit):
4097 * insetcommand.C (localDispatch):
4098 * inseterror.C (d-tor):
4099 * insetert.C (showInsetDialog):
4100 * insetexternal.C (localDispatch, edit):
4101 * insetfloat.C (localDispatch, showInsetDialog):
4102 * insetfloatlist.C (edit):
4103 * insetgraphics.C (localDispatch, edit):
4104 * insetinclude.C (localDispatch, edit):
4105 * insetindex.C (edit):
4106 * insetlabel.C (edit):
4107 * insetminipage.C (localDispatch, showInsetDialog):
4108 * insetref.C (edit):
4109 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4110 resetPos, showInsetDialog, openLayoutDialog):
4111 * insettoc.C (edit):
4112 * inseturl.C (edit):
4113 * insetwrap.C (localDispatch, showInsetDialog):
4114 changes due to the changed MailInset interface.
4116 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4118 * insetfloat.h: Set default placement to an empty string.
4120 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4122 * insettext.C (latex): adjust call to latexParagraphs.
4124 2003-03-10 Angus Leeming <leeming@lyx.org>
4126 * mailinset.C: warn the user if the BufferView has not been cached.
4128 2003-03-10 Angus Leeming <leeming@lyx.org>
4130 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4132 * insetcommand.h (inset):
4133 * insetert.h (inset):
4134 * insetexternal.h (inset):
4135 * insetfloat.h (inset):
4136 * insetgraphics.h (inset):
4137 * insetinclude.h (inset):
4138 * insetminipage.h (inset):
4139 * insettabular.h (inset):
4140 * insetwrap.h (inset):
4141 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4143 2003-03-10 Angus Leeming <leeming@lyx.org>
4145 * insetcommand.C (string2params):
4146 * insetexternal.C (string2params):
4147 * insetfloat.C (string2params):
4148 * insetgraphics.C (string2params):
4149 * insetinclude.C (string2params):
4150 * insetminipage.C (string2params):
4151 * insettabular.C (string2params):
4152 * insetwrap.C (string2params): cure warning message about missing
4155 2003-03-09 Angus Leeming <leeming@lyx.org>
4157 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4158 it to communicate with the frontend dialogs.
4160 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4161 contents of this inset!
4163 2003-03-07 Angus Leeming <leeming@lyx.org>
4165 * inseterror.C (localDispatch): new method; calls edit() on
4168 2003-03-07 Angus Leeming <leeming@lyx.org>
4170 * insetbibitem.C (localDispatch):
4171 * insetbibtex.C (localDispatch):
4172 * insetlabel.C (localDispatch):
4173 rewrite as a switch.
4175 2003-03-07 Angus Leeming <leeming@lyx.org>
4177 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4178 it to communicate with the frontend dialogs.
4180 2003-03-07 Angus Leeming <leeming@lyx.org>
4182 * insetexternal.C: remove operator== and operator!= for
4183 InsetExternal::Params. They were used only by the old controller
4186 2003-03-07 Angus Leeming <leeming@lyx.org>
4188 * insetcommand.C (localDispatch):
4189 * insetexternal.C (localDispatch):
4190 * insetfloat.C (localDispatch):
4191 * insetinclude.C (localDispatch):
4192 * insetminipage.C (localDispatch):
4193 * insetwrap.C (localDispatch):
4194 add LFUN_INSET_DIALOG_UPDATE to the switch.
4196 2003-03-07 Angus Leeming <leeming@lyx.org>
4198 * insetcommand.C (string2params):
4199 * insetexternal.C (string2params):
4200 * insetfloat.C (string2params):
4201 * insetinclude.C (string2params):
4202 * insetwrap.C (string2params): use LyXLeX more.
4205 * insetexternal.[Ch]:
4207 * insetinclude.[Ch]:
4208 * insetwrap.[Ch]: change Mailer::name_ to be static.
4210 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4211 it to communicate with the frontend dialogs.
4213 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4216 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4218 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * insettext.C (updateLocal): un-const function
4221 (updateLocal): adjust
4222 (collapseParagraphs): un-const function
4223 (collapseParagraphs): adjust
4225 2003-03-05 Angus Leeming <leeming@lyx.org>
4227 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4228 it to communicate with the frontend dialogs.
4230 2003-03-05 Angus Leeming <leeming@lyx.org>
4232 * insetcollapsable.C (draw): cache the BufferView.
4234 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4235 it to communicate with the frontend dialogs.
4237 2003-03-05 Angus Leeming <leeming@lyx.org>
4239 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4242 2003-03-05 Angus Leeming <leeming@lyx.org>
4244 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4246 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4247 it to communicate with the frontend dialogs.
4249 2003-03-05 Angus Leeming <leeming@lyx.org>
4251 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4252 it to communicate with the frontend dialogs.
4254 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4256 * insettext.C (collapseParagraphs): adjust
4257 (appendParagraphs): make it take a Buffer* instead of a
4258 BufferParams& as arg.
4259 (appendParagraphs): adjust
4261 2003-03-04 Angus Leeming <leeming@lyx.org>
4263 * insetbibitem.C (localDispatch):
4264 * insetbibtex.C (localDispatch):
4265 * insetcommand.C (localDispatch):
4266 * insetert.C (localDispatch):
4267 * insetlabel.C (localDispatch):
4268 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4270 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * insettext.C (latex): adjust for ParagraphList::iterator
4274 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * insetbutton.C (view): adjust for boost 1.30.0
4277 * insetcollapsable.C (view): ditto
4278 * insetgraphics.C (statusChanged): ditto
4280 * insettext.h: move paragraphs to be public.
4282 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * insetnote.[Ch] (InsetNote): remove unused constructor
4286 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4288 * insetgraphics.C: added include "format.h"
4290 2003-02-27 Angus Leeming <leeming@lyx.org>
4292 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4295 2003-02-27 Angus Leeming <leeming@lyx.org>
4297 * insetbibitem.C (localDispatch):
4298 * insetbibtex.C (localDispatch):
4301 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4303 2003-02-26 Angus Leeming <leeming@lyx.org>
4305 * insetbibitem.[Ch] (localDispatch):
4306 * insetbibtex.[Ch] (localDispatch):
4307 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4309 * insetcommand.C (localDispatch):
4310 act only on receipt of LFUN_XYZ_APPLY.
4312 * insetert.C (localDispatch): reformat.
4313 add LFUN_XYZ_APPLY to the switch.
4315 2003-02-26 John Levon <levon@movementarian.org>
4317 * insettext.C: use RowPainter
4319 * inset.h: make helpers take const *
4321 2003-02-26 Angus Leeming <leeming@lyx.org>
4323 * insetcommand.[Ch] (localDispatch): new method.
4325 2003-02-26 Angus Leeming <leeming@lyx.org>
4327 * insetinclude.C (draw): cache the BufferView* using cache not
4328 PreviewImpl::setView
4330 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4332 * insetgraphics.C (draw)
4333 * insetinclude.C (draw): Eliminate also the other argument (owner
4334 inset inset) in the call to PreviewImage::image
4336 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4338 * insetgraphics.C (draw)
4339 * insetinclude.C (draw): Eliminate Buferview argument in call to
4342 2003-02-25 John Levon <levon@movementarian.org>
4344 * insetgraphicsParams.h:
4345 * insetgraphics.C: don't start a load process if
4346 the inset is set to NoDisplay (bug #920)
4348 2003-02-22 John Levon <levon@movementarian.org>
4351 * insetwrap.C: TocItem changed API (bug 913)
4353 2003-02-21 Angus Leeming <leeming@lyx.org>
4355 * insetcollapsable.[Ch] (cache, edit):
4356 * insetbutton.[Ch] (cache, edit): new methods to cache the
4357 BufferView in the draw method.
4359 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4360 simplify comunication between InsetCommand-derived classes and
4363 * insetbibitem.[Ch]:
4367 * insetfloatlist.[Ch]:
4371 * inseturl.[Ch]: small changes to reflect the new interface to the
4374 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4375 other, similar classes.
4377 * Makefile.am: add new files.
4379 2003-02-21 Angus Leeming <leeming@lyx.org>
4381 * updatableinset.h (setView, view): remove.
4382 * inset.h (view, cache): to be replaced by these.
4384 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4387 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4390 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4392 2003-02-21 Allan Rae <rae@lyx.org>
4394 * insetinclude.C (loadIfNeeded): ensure loading also works when
4395 child document is under version control.
4397 2003-02-17 André Pönitz <poenitz@gmx.net>
4399 * insetbib.[Ch]: Adjust access to bibkeys
4401 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4403 * insetquotes.C (dispString): remove use of acute accent for "'"
4406 2003-02-14 John Levon <levon@movementarian.org>
4408 * insettabular.C: changed method names in tabular.C
4410 2003-02-14 John Levon <levon@movementarian.org>
4414 * insetcollapsable.h:
4415 * insetcollapsable.C:
4419 * insettext.C: remove unused getParFromID()
4421 2003-02-13 John Levon <levon@movementarian.org>
4424 * insettext.C: remove unused beginningofMainBody()
4426 2003-02-08 John Levon <levon@movementarian.org>
4430 * insetcollapsable.h:
4431 * insetcollapsable.C:
4436 add nextChange(). Make allowSpellcheck() const. Add markErased().
4438 * insetert.C: ignore deleted text
4440 * insettabular.C: make sure to keep change tracking working
4443 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4448 * insettext.C: Use error messages with identical spelling and
4451 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4453 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4455 2002-12-17 Juergen Vigna <jug@lyx.org>
4457 * insettext.C (localDispatch): hopefully fixed cursor up down
4458 movement on leaving other insets.
4460 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4462 * insettext.C: fix inconsistent usage of spaces, colons,
4463 capitalization, and the like.
4465 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4467 * insetgraphics.C (prepareFile): do not remove the extension of
4468 the file name if it is not the default extension for the given
4469 format (that is, in latex output, remove extension from foo.eps,
4470 but not from foo.epsi)
4472 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4474 * insettext.C (lfunMouseRelease): hackish solution to the "double
4477 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * insetfloat.C (addToToc): use the floats name not its type
4480 * insetwrap.C (addToToc): ditto
4482 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4484 * insetnote.C (init): make label font smaller
4486 2002-12-04 John Levon <levon@movementarian.org>
4488 * insetinclude.C: ressurect setting of command name
4490 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * insetquotes.C (dispString): disambiguate insert call
4494 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * several files: ws changes
4498 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * insetquotes.C (dispString): use string::insert for prepending a
4503 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4505 * insetparent.C (getScreenLabel): use boost::format
4507 * insetgraphics.C (prepareFile): use boost::format
4510 * insetfloatlist.C (latex): use boost::format
4512 * insetcaption.C (draw): use boost::format
4514 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4516 * insettabular.C (tabularFeatures): Support for block alignment in
4517 fixed width columns.
4519 2002-11-20 Juergen Vigna <jug@sad.it>
4521 * insettabular.C (resetPos): temporary fix for endless loop in
4522 this function on a redraw.
4524 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * insettabular.C (copySelection): STRCONV
4528 * insetinclude.C (uniqueID): STRCONV
4529 (latexString): ditto
4531 * insetgraphics.C: put VersionNumber inside anon namespace
4532 (createLatexOptions): STRCONV
4534 * insetcommandparams.C: include config.h
4536 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4538 * insetgraphicsParams.C (Write): use lyx::float_equal.
4539 Write height data correctly.
4540 (Read): zero scale when reading height data.
4542 2002-10-30 John Levon <levon@movementarian.org>
4544 * insetfloat.C (addToTOC): recursively traverse all
4545 contents looking for captions (fix #568)
4547 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4549 * insetexternal.C (doSubstitution): do not try to replace
4550 environment variables, this is done when executing the command
4552 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4554 * insetexternal.C (doSubstitution): change order of substitution
4555 to work around ReplaceEnvironmentPath brokenness
4557 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4559 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4561 * insetgraphicsParams.C (init, Write): associated changes
4562 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4563 InsetGraphicsParams::scale.
4565 2002-10-21 John Levon <levon@movementarian.org>
4567 * inset.h: remove unused DISPATCH_RESULT
4569 * insettext.C: sgml open/close tag now in sgml namespace
4571 2002-10-21 Angus Leeming <leeming@lyx.org>
4573 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4574 file path subdir/fig.eps when pasting it into a buffer in a different
4577 2002-10-16 John Levon <levon@movementarian.org>
4579 * insetspecialchar.C: remove \\protected_separator parsing
4581 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4583 * insetquote.C: fix LaTeX output of quotation marks.
4585 2002-10-14 Juergen Vigna <jug@sad.it>
4587 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4588 Backspace functions which confused the Undo handling.
4590 2002-10-09 Angus Leeming <leeming@lyx.org>
4592 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4593 BufferView::dispatch that turns off this optimisation when a new inset
4596 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4597 reload the BibTeX keys.
4599 2002-10-11 André Pönitz <poenitz@gmx.net>
4601 * insettext.h: handle LFUN_PRIOR/NEXT
4603 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4605 * insetfloat.C: fix bug with float settings
4606 (document default != float default).
4608 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4610 * insetwrap.C (addToToc): New method.
4611 (InsetWrap): Set layout to caption.
4613 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4617 2002-09-16 John Levon <levon@movementarian.org>
4619 * insettabular.h: hasSelection() needs to be public
4621 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4623 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4625 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4627 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4629 2002-09-11 André Pönitz <poenitz@gmx.net>
4631 * insettabular.C: implement LFUN_WORDSEL
4633 2002-09-10 John Levon <levon@movementarian.org>
4635 * insetinclude.h: remove unused param
4637 2002-09-09 John Levon <levon@movementarian.org>
4640 * insetinclude.C: remove noload, default to input
4642 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4644 * insetgraphics.C: disfuscated use of ']' in built output string.
4646 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4650 2002-08-29 Juergen Vigna <jug@sad.it>
4652 * insettabular.C (lfunMousePress): Pay attention where you set
4653 the x/y values as they depend on which inset in the tabular is
4654 actually locked. So you surely have to reset them if you (un)lock
4657 2002-08-29 André Pönitz <poenitz@gmx.net>
4659 * insetfootlike.h: rename include guard to ALL CAPS
4661 * insettext.C: swap object and first parameter for checkInsetHit calls
4662 as this functions has moved from BufferView to LyXText
4665 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4667 * insetgraphicsParams.C: remove local displayTranslator and use
4668 the one from graphics/GraphicsTypes.h.
4670 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4672 * insetfloat.C (wide): add BufferParams parameter
4674 * insetfloatlist.C (read):
4677 * insetfloat.C (latex):
4679 * insetcaption.C (draw): use LyXTextClass::floats()
4681 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4683 * insetoptarg.h: add std:: qualifier.
4685 2002-08-26 Juergen Vigna <jug@sad.it>
4687 * insettext.C (localDispatch): ditto.
4689 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4691 2002-08-25 John Levon <levon@movementarian.org>
4693 * inseturl.C: elide long URLs (bug 404)
4695 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4697 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4698 remove "Format Version <version_no.>" string from inset header
4701 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4703 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4704 a member of "grfx::Params" anymore.
4706 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4708 2002-08-24 John Levon <levon@movementarian.org>
4711 * insetoptarg.C: ws, pedantry ...
4713 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4715 * insettext.C (collapseParagraphs): pasteParagraph now in global
4717 (appendParagraphs): ditto
4719 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4721 * insetcite.C (latex): Remove spaces only after commmas.
4723 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * insettext.C: remove NO_COMPABILITY stuff
4727 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * insettext.C (edit): use ParagraphList iterators
4731 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4732 (bibitemWidest): ditto
4734 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * insettext.C: include <boost/bind.hpp>
4737 add using std::for_each
4738 (saveLyXTextState): use ParagraphsList::iterator
4739 (init): use for_each on paragraphlist iterators
4740 (InsetText): remove superflous setting cached_bview to 0
4741 (latex): reformat a bit
4742 (ascii): use paragraphlist iterators
4743 (validate): use for_each + boost bind
4744 (getLabelList): use paragraphlist iterators
4745 (deleteLyXText): use for_each + boost::bind
4746 (resizeLyXText): ditto
4747 (reinitLyXText): ditto
4748 (removeNewlines): use paragraphlist iterators
4749 (getParFromID): ditto
4750 (paragraph): use for_each + boost::bind
4751 (getInsetFromID): use paragraphlist iterators
4752 (getLabelList): typo fix
4754 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * insettext.C (read): assign tmp to paragraphs after return from
4757 call to parseSingleLyXformat2Token
4760 2002-08-13 Angus Leeming <leeming@lyx.org>
4778 * inseturl.C: changes due to the changed LyXView interface that
4779 now returns references to member variables not pointers.
4781 2002-08-13 Angus Leeming <leeming@lyx.org>
4784 * insetcollapsable.h:
4787 * insettext.h: forward-declare WordLangTuple
4788 (selectNextWordToSpellcheck) constify return type.
4791 * insetcollapsable.C:
4794 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4796 2002-08-12 Angus Leeming <leeming@lyx.org>
4798 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4801 2002-08-12 Juergen Vigna <jug@sad.it>
4803 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4806 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4809 (bibitemWidest): ditto
4810 * insettext.[Ch]: ditto
4812 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4816 2002-08-09 Angus Leeming <leeming@lyx.org>
4818 * insetinclude.C (latexString): remove fudge now that I've found out
4819 how to enable LaTeX to find the file using input@path.
4821 2002-08-09 John Levon <levon@movementarian.org>
4824 * insettext.C: remove unused xpos
4826 2002-08-07 Juergen Vigna <jug@lyx.org>
4828 * insettabular.C (localDispatch): make delete not put the stuff
4829 in the clipboard only do this on a cut operation.
4831 * insettext.C (localDispatch): make delete and backspace not put
4832 selected stuff to the clipboard.
4834 2002-08-07 André Pönitz <poenitz@gmx.net>
4837 * insetcollapsable.[Ch]:
4841 * insettabular.[Ch]:
4842 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4844 2002-08-06 John Levon <levon@movementarian.org>
4848 * insetcollapsable.h:
4849 * insetcollapsable.C:
4855 * insettext.C: use WordLangTuple for spellcheck
4857 2002-08-06 Angus Leeming <leeming@lyx.org>
4859 * insetinclude.C: add a monitor to the previewed image, so that the
4860 image is refreshed if the \input-ed file changes.
4862 2002-08-04 John Levon <levon@movementarian.org>
4865 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4867 2002-08-02 Angus Leeming <leeming@lyx.org>
4869 * insetcommandparams.[Ch] (preview): new methods returning and setting
4870 a new bool preview_ flag.
4871 (read): read this flag.
4872 (operator==): add flag to check.
4874 * insetinclude.C (write): output new preview() flag.
4875 (previewWanted): use this flag.
4877 2002-08-02 Angus Leeming <leeming@lyx.org>
4879 * insetcollapsable.[Ch] (addPreview):
4880 * insettabular.[Ch] (addPreview):
4881 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4882 for insets in insets.
4884 2002-08-02 Angus Leeming <leeming@lyx.org>
4886 * insetcite.C: fix typo.
4888 * insetgraphics.C: kill current_view and instead cache the BufferView
4891 * insetinclude.C: kill current_view and pass the BufferView to the
4892 PreviewedInset so that it can cache it.
4894 2002-08-01 Angus Leeming <leeming@lyx.org>
4896 * inset.h (generatePreview): renamed as addPreview.
4897 (generatePreview): new method. Allows code to be moved out of
4898 math_nestinset.C and into the new PreviewedInset class.
4900 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4901 add previews to the inset when \input-ing LaTeX.
4903 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * several files: strip,frontStrip -> trim,ltrim,rtrim
4907 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * insetbib.C (latex): modify because of strip changes
4911 * insetnote.C (InsetNote): ditto
4913 2002-07-26 Juergen Vigna <jug@sad.it>
4915 * insettabular.C (searchForward): check for lastcell if we
4916 had a locking inset.
4918 2002-07-25 Juergen Vigna <jug@sad.it>
4920 * insettabular.C (insetMotionNotify): Don't update the screen
4921 if we didn't do nothing.
4922 (searchForward): last cell was not checked.
4924 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4926 * insetfloat.C (read, write): Allow default placement
4927 (floatPlacement_ is empty).
4929 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4931 * insetminipage.h (noFontChange):
4932 * insettabular.h (noFontChange):
4933 * insetfootlike.h (noFontChange):
4934 * insetfloat.h (noFontChange): return true
4936 * inset.h (noFontChange): new method, defaulting to false
4938 2002-07-22 Herbert Voss <voss@lyx.org>
4940 * insetgraphicsParams.[Ch]: support size_type for old docs
4942 2002-07-22 Herbert Voss <voss@lyx.org>
4945 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4948 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4950 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4952 * insetlatexaccent.h: do not include "lyxlex.h"
4954 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4957 * insetlatexaccent.C:
4961 * insetbib.C: #include "lyxlex.h"
4967 * insettext.C: use BufferParams::getLyXTextClass
4970 * insetfloat.C (addToToc): new method. Add to toclist the entries
4971 corresponding to Caption layouts
4972 (InsetFloat): when creating a new float, set the layout to "Caption"
4974 2002-07-21 Herbert Voss <voss@lyx.org>
4976 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4977 image relevant part into graphics/GraphicsImgae.C
4979 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4981 * insettoc.C (ascii):
4982 * insetfloatlist.C (ascii): change to use the new Toc functions
4983 instead of stuff that was in Buffer
4985 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4987 * insettext.C (localDispatch): BufferView::Dispatch has been
4988 renamed to BufferView::dispatch
4990 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4992 * insetgraphicsParams.C (as_grfxParams): use the new
4993 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4994 1.2.0 patch, and I do not really know how to adapt it to the new
4995 grfx::Cache world. Angus, please could you have a look?
4997 2002-05-01 Herbert Voss <voss@lyx.org>
4999 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
5001 2002-07-18 Angus Leeming <leeming@lyx.org>
5003 * insetgraphics.C: clean-up comments (from Herbert).
5004 add a new checksum variable to the cache. Use it in PrepareFile.
5005 (draw): start monitoring the file for a change.
5006 (prepareFile): re-arrange a little to avoid unnecessary steps.
5008 2002-07-17 Angus Leeming <leeming@lyx.org>
5010 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5011 a method rather than to the signal directly.
5013 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5015 * insettext.C: use view_state_changed, switchKeyMap
5017 2002-07-17 Herbert Voss <voss@perce.de>
5019 * insetgraphics.C (prepareFile): keep the extension when
5020 exporting to nice file
5022 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5024 * insetcite.C (getNatbibLabel):
5025 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5027 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5029 * insetgraphics.C: use ->isDrawable()
5031 2002-07-12 Angus Leeming <leeming@lyx.org>
5033 * insetgraphics.C: use the new smart loading capabilities of the image
5036 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5038 * insettabular.C (edit): Move into correct cell when entering a
5041 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5044 2002-07-05 Angus Leeming <leeming@lyx.org>
5046 * inset.h (generatePreview): new virtual method.
5048 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5050 * insetcommandparams.[Ch] (operator=): move out of class
5051 (operator!): move out of class
5053 2002-07-04 André Pönitz <poenitz@gmx.net>
5055 * insetcommandparams.[Ch]: new files
5057 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5059 2002-06-15 Herbert Voss <voss@perce.de>
5061 * insetgraphics.C (prepareFile): bugfix; return always
5062 files without extension
5064 2002-06-28 Angus Leeming <leeming@lyx.org>
5066 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5067 rename asGParams -> as_grfxParams.
5069 * insetgraphics.C: reflect above change.
5071 2002-06-26 Angus Leeming <leeming@lyx.org>
5073 * insetgraphics.h: use boost::scoped_ptr in preference to
5076 2002-06-26 Angus Leeming <leeming@lyx.org>
5078 * insetgraphics.C: moved the image loading stuff into a new class
5079 grfx::Loader. Simplifies this file enormously.
5081 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5083 * insetgraphicsParams.C: changes aassociated with moving
5084 grfx::DisplayType out of grfx::GParams.
5086 2002-06-26 André Pönitz <poenitz@gmx.net>
5088 * insetgraphics.C: use os::external_path where necesaary according to a
5089 patch from Claus Hentschel)
5091 2002-06-25 Angus Leeming <leeming@lyx.org>
5093 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5094 generating a pixmap once the graphics file is loaded into memory.
5095 The current_view ugliness that was in grfx::ModifiedImage has been
5096 moved here now that grfx::ModifiedImage is no more.
5098 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * insettext.C: layout as layout
5102 2002-05-28 André Pönitz <poenitz@gmx.net>
5104 * insetfloatlist.h: remove source of compiler warning
5106 * insetref.C: tiny whitespace
5108 2002-06-15 Herbert Voss <voss@perce.de>
5110 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5111 and take always convert when no userdefined converter was
5113 (latex) small changes in the lyxerr output
5115 2002-06-15 LyX Development team <lyx@rilke>
5117 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5118 mixed content. Small white spaces clean.
5120 2002-06-14 Angus Leeming <leeming@lyx.org>
5122 * inseetexternal.C: remove the using std::difftime declaration.
5124 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5126 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5128 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5130 * insetquotes.C (draw): fix drawing of double quotes
5132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5134 * insettabular.C: s/scrollCB/scrollDocView/
5136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5138 * insettext.C: change of topCursorVisible()
5141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5144 * insettext.C: rename/change of LyXScreen
5146 2002-06-07 Angus Leeming <leeming@lyx.org>
5148 Fixes needed to compile with Compaq cxx 6.5.
5150 * insetexternal.C: all c-library variables have been moved into
5151 namespace std. Wrap using std::xyz declarations inside a #ifndef
5152 CXX_GLOBAL_CSTD block.
5154 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5156 * insetinclude.C (uniqueID):
5157 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5158 conflicted with some AIX headers.
5160 2002-05-31 Juergen Vigna <jug@sad.it>
5162 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5166 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5168 * insetexternal.C (clone): fix () bug when using new
5169 (updateExternal): don't only look for difftime in global scope
5171 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5173 * insettabular.C: add const
5175 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5177 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5178 file name, in case there are weird characters like ',' in there.
5181 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5183 * switch from SigC signals to boost::signals.
5185 2002-05-28 André Pönitz <poenitz@gmx.net>
5187 * insets/insetgraphicsParams.[Ch]:
5188 put in inset related stuff from src/graphic
5190 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5198 * insetcollapsable.C:
5199 * insetcollapsable.h:
5227 * inseturl.h: use mouse_state. Kill insetKeyPress
5229 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5234 * insetcollapsable.C:
5237 * insetlatexaccent.C:
5239 * insetspecialchar.C:
5241 * insettext.C: name change for font metrics
5243 2002-05-24 Juergen Vigna <jug@sad.it>
5245 * insetgraphics.h: include inset.h first (for LString.h)
5247 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5249 * insettext.C: screen moved
5251 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5269 * inseturl.C: LyXView moved into frontends/
5271 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5276 * insetcollapsable.C:
5280 * insetgraphicsParams.C:
5281 * insetlatexaccent.C:
5283 * insetspecialchar.C:
5285 * insettext.C: move Painter to frontends/
5287 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5289 * insettabular.h: use more specific smart_ptr header.
5290 * insettext.h: ditto
5292 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5295 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5297 * insettext.C: clear selection on paste (bug 393)
5299 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5301 * insettext.C (latex): Honor the moving_arg argument.
5303 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5305 * insetfoot.C (latex): if a footnote is in a title layout, then it
5306 is a \thanks. And then, its contents is a moving argument.
5308 2002-05-14 Juergen Vigna <jug@sad.it>
5310 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5313 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5315 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5316 when using options "Full author list" or "Upper case".
5318 2002-05-14 Herbert Voss <voss@perce.de>
5320 * insetgraphics.C (prepareFile): allow files with same name
5322 (readFigInset): set the flags from old figinset in the right
5324 (findTargetFormat): more comments
5326 2002-05-14 Juergen Vigna <jug@sad.it>
5328 * insettext.C (edit): tell checkAndActivateInset() that we don't
5329 have a button press.
5330 (checkAndActivateInset): if button < 0 we don't have a button press
5331 on the inset and os we won't call edit on it if it's not a Highly
5332 editable inset (then we have to enter it).
5334 2002-05-13 Juergen Vigna <jug@sad.it>
5336 * insetcollapsable.C (insetButtonRelease): returned wrong return
5339 2002-05-09 Juergen Vigna <jug@sad.it>
5341 * insetcollapsable.C (edit): first_after_edit should only be
5342 set to true if we enter this inset and it was collapsed so we
5343 open it up. This is needed to reclose it after a search/replace
5344 or spellcheck function opened it and was negative.
5346 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5348 * insetfloat.C (latex): Return correct value.
5350 2002-05-04 Herbert Voss <voss@perce.de>
5352 * InsetgraphicsParams.C (read): fix bug with WH
5354 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5356 * insetfloat.C (latex): More sensible latex output
5357 (fix the problem with endfloat).
5359 2002-05-02 José Matos <jamatos@fep.up.pt>
5361 * insetgraphics.C (validate): acess params as everyone else.
5363 2002-05-03 Juergen Vigna <jug@sad.it>
5365 * insettabular.C (fitInsetCursor): recalculate the cursor position
5368 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5370 * InsetgraphicsParams.[Ch]: whitespace.
5372 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5374 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5375 float type do not exist.
5377 2002-04-28 Herbert Voss <voss@perce.de>
5379 * insetgraphics.C (latex): fix bug with missing file-extension.
5380 LaTeX still allows a missing "eps" or "ps".
5382 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5384 * insetfloat.C (c-tor, wide): translate the name of the float.
5386 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5388 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5389 when using natbib and make it work efficiently. Must emphasise that the
5390 real work is Herbert's.
5392 2002-04-23 Herbert Voss <voss@perce.de>
5394 * insetgraphic.C (prepareFile): fix bug with overwriting and
5395 deleting an existing *.eps-file in the doc-dir
5397 2002-04-23 Juergen Vigna <jug@sad.it>
5399 * insettabular.C (drawCellSelection): fix off by 1 error.
5401 2002-04-22 Juergen Vigna <jug@sad.it>
5403 * insettabular.C (setFont): rewoke full selection if it was asked,
5404 after we changed all we had to change.
5406 * insettext.C (insetUnlock): code was uninitialized in some situations.
5408 2002-04-19 Herbert Voss <voss@perce.de>
5410 * insetgraphic.C (prepareFile): return filename without
5411 extension if we only export without compiling
5413 2002-04-19 Juergen Vigna <jug@sad.it>
5415 * insettext.C (draw): call a fullRebreak on the row where we had a
5416 change and reset the cursor and selection-cursors.
5418 * insettabular.C (insetUnlock):
5419 (insetButtonPress): call an update before setting the_locking_inset = 0
5420 as otherwise we don't repaint!
5421 (update): reset the cursor position when we changed dimensions as
5422 otherwise our cursor may be on the wrong spot.
5424 2002-04-18 Juergen Vigna <jug@sad.it>
5426 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5427 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5428 redraw otherwise we won't redraw.
5430 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5431 not really right before, but I only discovered this with the last
5432 changes to Page up/down.
5434 2002-04-17 Juergen Vigna <jug@sad.it>
5436 * insettext.C (checkAndActivateInset): simplified as we now have the
5437 edit(bv, bool) call.
5439 * insettext.h: changed behind variables to front variables to be
5440 equal to the one in the edit call (as it is for that they are used).
5442 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5444 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5445 not output anything at all!
5447 2002-04-16 Juergen Vigna <jug@sad.it>
5449 * insettabular.C (insetButtonPress):
5450 (insetUnlock): call a redraw on unlocking the cell inset.
5452 * insettext.C (insetButtonPress): same as below.
5453 (lockInset): new function to set initial values when inset should
5455 (insetButtonPress): use above function.
5456 (insetUnlock): don't force a repaint only set the updateStatus. The
5457 outside world should repaint if it thinks it should be done!
5459 * insettabular.C (insetButtonPress): init values if not set as locked
5460 as we are locked if someone presses on us and don't call the edit()
5461 call of the InsetText to lock it do it as BufferView does it!
5463 * inset.h (insetInInsetY): make func const and return an int.
5466 * insetcollapsable.C: adapt the above changed function.
5468 2002-04-15 Juergen Vigna <jug@sad.it>
5470 * insettext.C (getCursorPos): return relative position as to be able
5471 to give them directly to the edit() call.
5472 (edit): we have to set also x_fix as it is not set inside the
5473 setCursorFromCoordinates call!
5474 (insetMotionNotify): ditto.
5476 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5478 * insetbib.C (getKeys): strip leading '\t's from the line too.
5479 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5481 2002-04-12 Juergen Vigna <jug@sad.it>
5483 * insettext.h: added cix() helper function and use it where appropriate
5485 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5487 * insetgraphics.C (prepareFile): fix bug when graphics is a
5490 2002-04-12 Juergen Vigna <jug@sad.it>
5492 * insettext.C (insertInset): remove unneeded code!
5493 (updateLocal): fitCursor() fixes.
5494 (collapseParagraphs): fix a possible problem when having a selection
5495 and collapsing the paragraphs.
5497 2002-04-08 Herbert Voss <voss@perce.de>
5499 * insetgraphic.C (write): write the rotating angle as
5500 a float as is. test only for != 0.0
5502 2002-04-11 Juergen Vigna <jug@sad.it>
5504 * insettext.C: new function ciy() and use it for setting inset_y.
5506 * insetert.C (draw): fix the x return for collapsed version.
5508 2002-04-07 Herbert Voss <voss@perce.de>
5510 * insetgraphic.C (readFigInset): fix bug with subcaption and
5513 2002-04-08 Herbert Voss <voss@lyx.org>
5515 * insetgraphicsparam.C: forgot special option and delete old
5518 2002-04-05 Juergen Vigna <jug@sad.it>
5520 * insettext.C (localDispatch): make a CURSOR update if we inserted
5523 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * insetfloatlist.C (getScreenLabel):
5526 (latex): use Floating::listName
5527 (validate): new method
5529 2002-04-03 José Matos <jamatos@fep.up.pt>
5531 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5533 * insetfoot.[Ch] (docbook): added forgotten method.
5535 2002-04-03 Juergen Vigna <jug@sad.it>
5537 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5538 way as in Bufferview_pimpl.
5540 2002-04-03 Allan Rae <rae@lyx.org>
5542 * insetgraphics.C (latex): one % too many makes living on the bleeding
5543 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5545 2002-03-28 Herbert Voss <voss@lyx.org>
5547 * insetgraphic.C (latex): simplify the code for the latex
5548 output when the file doesn't exist
5550 2002-03-29 Juergen Vigna <jug@sad.it>
5552 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5555 * insettabular.C (edit): call fitCursor().
5557 * insettext.C (insetButtonPress): change behaviour of no_selection
5558 to the one in the BufferView selection_possible and fix the spurious
5559 selection bug with it.
5560 (localDispatch): revoke selection on BREAK... functions.
5562 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5564 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5566 2002-03-28 Juergen Vigna <jug@sad.it>
5568 * insettabular.C (insetAllowed): return true as default value otherwise
5569 we're not able to insert insets inside paragraphs of an not locked
5572 2002-03-27 Herbert Voss <voss@lyx.org>
5574 * insetgraphicsparam.C: change c%, p% to col%, page%
5576 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5578 * insetspecialchar.C (isLineSeparator): disable the nice code to
5579 allow linebreaks after hyphenation and menu separators.
5581 2002-03-26 Herbert Voss <voss@lyx.org>
5583 * insetgraphics.C (figinsetRead): set the right lyxview
5585 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5587 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5588 $\backslash$ and pass a "string const &" to the function.
5589 (prepareFile, latex): use Path rather than MakeAbsPath.
5591 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5593 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5594 proper fix to the graphics cache.
5595 (latex): "really" nice output if the file is not found ;-)
5597 2002-03-26 Juergen Vigna <jug@sad.it>
5599 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5600 (collapseParagraphs): fixed inserting of separator ' '
5602 * insettabular.C (insertAsciiString): only check for buffer lenght
5603 not if we have \t or \n inside the buffer as if we don't have we only
5604 have 1 cell and that's it!
5606 * insetert.C (close): don't collapse if inlined.
5608 2002-03-25 Herbert Voss <voss@lyx.org>
5610 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5611 graphics file does not exist.
5613 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5615 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5616 path when preparing export.
5618 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5619 no longer MakeRelPath.
5621 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5623 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5624 Used to determine the absolute path to the graphics file in the
5625 graphics cache and only in the graphics cache.
5626 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5627 make graphics file name absolute if it is stored as a relative path.
5629 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5630 make graphics file name absolute if it is stored as a relative path.
5632 * insettext.C (edit): emit an updateParagraph signal on entering a text
5633 inset. Needs to be emitted when leaving the inset also.
5635 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5637 * all files: ws cleanup
5639 * Makefile.am: remove ld -r stuff
5641 2002-03-21 Juergen Vigna <jug@sad.it>
5643 * insettext.C (appendParagraphs): new function added to append
5644 the paragraphs to this insets paragraphs.
5646 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5648 * Makefile.am: special rules if partial linking
5650 2002-03-19 Juergen Vigna <jug@sad.it>
5652 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5654 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5656 * insetgraphics.C: Clean up Baruch's comments a little.
5657 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5659 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5662 * insettheorem.C: wrap warnings
5664 * insetgraphics.C: improve messages, move cached_status_
5665 setting to safer place
5667 2002-03-18 Juergen Vigna <jug@sad.it>
5669 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5671 (localDispatch): ditto
5673 * insettext.C (edit): removed unneeded showCursor calls.
5674 (localDispatch): ditto.
5676 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5678 * insetgraphics.h: remove display() method.
5680 2002-03-11 Juergen Vigna <jug@sad.it>
5682 * insetgraphics.C (draw): hack to fix the redrawing bug.
5683 (draw): seems this fixes #268 (force redraw of row if we changed).
5685 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5686 this inset text (don't know why I missed this earlier).
5688 2002-03-08 Juergen Vigna <jug@sad.it>
5690 * insettabular.C (updateLocal): do a FULL update if we're not locked
5691 and only a CELL update is asked.
5693 * insettext.C (updateInsetInInset): update insets inside inset also
5694 if it isn't inside the_locking_inset.
5696 * insettabular.C (updateInsetInInset): ditto.
5698 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5700 * insetexternal.C (doSubstitution): check whether we are using a
5701 temp dir for defining $$FPath
5703 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5706 * insettext.C: remove #include "WorkArea.h".
5708 2002-03-06 Juergen Vigna <jug@sad.it>
5710 * insettext.C (draw): fixed frame redrawing.
5711 (clear): forgot to set the inset_owner of the paragraph.
5713 * insetert.C (status): pay attention the bv can be 0 here!
5714 (getMaxWidth): add the default leftMargin
5716 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5718 * insetert.C (getMaxWidth): make w unsigned int.
5720 2002-03-05 Juergen Vigna <jug@sad.it>
5722 * insetert.C (status): change behaviour of Inlined.
5723 (getMaxWidth): added for new inlined behaviour.
5725 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5727 * insetnote.h (linuxdoc, docbook): add empty methods.
5728 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5729 before being initialized.
5731 2002-03-05 Juergen Vigna <jug@sad.it>
5733 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5734 only that one in the inset. Should be enough.
5735 (updateLocal): set the selection cursor always if we don't have a
5736 selection to be sure it's set!
5738 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5740 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5742 * insettext.C (clear): a gross hack to set layout on a newly
5745 2002-03-04 Juergen Vigna <jug@sad.it>
5747 * insettabular.C (localDispatch): inserted handling of
5748 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5749 (insertAsciiString): new helper function.
5751 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5753 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5756 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5758 * insettext.C (InsetText): initalize newly created par with
5759 default layout. add bufferparams parameter
5762 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5763 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5764 * insetert.[Ch] (InsetERT): ditto
5765 * insetfloat.[Ch] (InsetFloat): ditto
5766 * insetfoot.[Ch] (InsetFoot): ditto
5767 * insetfootlike.[Ch] (InsetFootLike): ditto
5768 * insetmarginal.[Ch] (InsetMarginal): ditto
5769 * insetminipage.[Ch] (InsetMinipage): ditto
5770 * insetnote.[Ch] (InsetNote): ditto
5771 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5773 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5775 * insettext.C: layout as string
5777 * insetinclude.C: layout as string
5779 * insetert.C: layout as string
5781 * insetbib.C: layout as string
5783 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5786 * insettabular.C: remove #include "lyx_gui_misc.h".
5788 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5793 * inset.h: remove figinset, yahoo !
5795 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5797 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5798 copy c-tor and initialise member variables in the correct order.
5800 2002-02-28 Juergen Vigna <jug@sad.it>
5802 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5804 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5806 * inset.h: ... and add a better one here.
5808 * insetcommand.C (insetButtonRelease): remove that one which was a
5811 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5813 * insetcommand.C (insetButtonRelease): ... and move it here.
5815 * inseturl.h: remove insetButtonRelease from there...
5817 2002-02-26 Juergen Vigna <jug@sad.it>
5819 * inseturl.h: Added a insetButtonRelease call returning true as
5822 * insetlabel.C (edit): Fixed wrong update handling after change I
5823 leave in the wrong code for the one who wrote it to remove and have
5824 a look what he did wrong.
5826 * insettabular.C (localDispatch): force a SELECTION update if we
5827 had a selection and we passed the event down to the inset (fix #213)
5828 (localDispatch): handle font changing stuff when we have a cell
5829 selection so that the selection is not rewoked. I don't really like
5830 this fix, but it's the only way I see to do it right now.
5832 2002-02-22 Juergen Vigna <jug@sad.it>
5834 * insettext.C (insetUnlock): set the cursor to the second paragraph
5835 if available and if the first one is empty (fix #191).
5837 2002-02-20 Juergen Vigna <jug@sad.it>
5839 * insettext.C (getDrawFont): implemented this function to call the
5840 one of the owner if present as the owner normally knows what to do
5843 * insetert.C: implement getDrawFont() function and comment out all
5844 the crap for setting a special latex font inside this inset.
5845 (InsetERT): added a Lanugage parameter to this constructor.
5847 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5848 change the font for being drawn on screen (used only in InsetERT for
5851 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5852 and also above (was missing).
5853 (updateLocal): don't remove the cell selection if we have one this
5854 should be done where we really want to remove it.
5856 2002-02-20 José Matos <jamatos@fep.up.pt>
5858 * insetinclude.h: include_label made string const.
5860 * insetinclude.C (InsetInclude): moved include_label initialization.
5863 (validate): fix support for temporary directory, for docbook and
5866 * insetgraphics.h : new private member, graphic_label, that holds
5867 the entity name that defines the graphics location (SGML).
5869 * insetgraphics.C (unique_id): new function to give a unique label
5872 (validate): the file locatation is given by an entity reference.
5874 2002-02-18 Herbert Voss <voss@lyx.org>
5876 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5878 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5880 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5881 as support/systemcall.[Ch] and of class Systemcalls as class
5884 2002-02-18 José Matos <jamatos@fep.up.pt>
5886 * insetinclude.C (validate): some code only applies to latex buffers,
5887 it was made conditional.
5889 2002-02-12 Herbert Voss <voss@lyx.org>
5891 * insetgraphics.C: (prepareFile) do not check at this time
5892 if the file is present.
5894 2002-02-12 Herbert Voss <voss@lyx.org>
5896 * insetgraphics.C: latex(), return the correct newlines
5898 2002-02-13 José Matos <jamatos@fep.up.pt>
5900 * inseturl.C (docbook): escape & in url.
5902 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5904 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5905 after HYPHENATION and MENU_SEPARATOR
5907 * inset.h (isLineSeparator): new method, returns false by default.
5909 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5911 * insetert.C (status): do not update the text inset, but the ERT
5914 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5916 * insetnote.C: use notebg for background
5918 2002-02-08 Herbert Voss <voss@lyx.org>
5921 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5922 prevent LyX from unzipping when this should be handled
5923 by latex vis the graphic.cfg.
5926 2002-02-08 Herbert Voss <voss@lyx.org>
5928 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5929 exists, than return filename with extension
5931 2002-02-06 Herbert Voss <voss@lyx.org>
5933 * insetgraphic.C: prepareFile(): don't convert the file, when
5934 it's not viewed in LyX. Saves a lot of time when opening a
5937 2002-02-05 Herbert Voss <voss@lyx.org>
5940 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5941 and adding a rotate bool similiar to subcaption
5943 2002-02-04 Herbert Voss <voss@lyx.org>
5946 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5947 similiar view to the LaTeX one. Get zipped files work.
5949 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5951 * insetgraphicsParams.C (init): set display to DEFAULT.
5952 No longer #include "lyxrc.h".
5954 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5956 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5957 for now (so that the code compiles).
5959 2002-02-02 Herbert Voss <voss@lyx.org>
5961 * insetgraphic.C: delete inVariant() and some minor changes
5962 * insetgraphicsParams.[C]:
5964 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5966 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5967 interogate lyxrc.display_graphics before diaplaying the graphic.
5969 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5970 InsetGraphicsParams::DisplayType.
5972 2002-01-31 Herbert Voss <voss@lyx.org>
5974 * insetgraphic.C: (readfigInset) set display to pref-default
5976 2002-01-30 Herbert Voss <voss@lyx.org>
5978 * insetgraphic.C: get the filetyp from it's contents
5979 * insetgraphicparams.C: add token scale and lyxrc.display when
5980 creating a new inset
5982 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5984 * figinset.C: added using std::ios directive.
5986 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5988 * figinset.C (runqueue): open translation file in binary mode (for
5991 2002-01-27 Herbert Voss <voss@lyx.org>
5993 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5994 all options and to be sure that the old figinsets are correct
5996 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5997 structure and to support all lengths as LyXLength. The Parameter
5998 structure changed again, but reading of "old" 1.2 graphic insets
6001 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
6003 * insetert.h (forceDefaultParagraphs): Added
6005 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6007 * insettabular.C (getMaxWidth):
6008 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6010 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6012 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6013 of LyXLength::inPixels
6015 * inset.C (latexTextWidth):
6016 * insetminipage.C (latexTextWidth): new method, which implements
6017 the equivalent of the LaTeX macro \textwidth
6019 * insetminipage.C (getMaxWidth): use latexTextWidth
6021 2002-01-18 Juergen Vigna <jug@sad.it>
6023 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6025 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6027 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6029 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6032 2002-01-17 Juergen Vigna <jug@sad.it>
6034 * insettabular.C (lockInsetInInset): same change as in insettext.
6036 * insettext.C (draw): width() function was called without setting
6037 the right top_x which could lead to wrong insetWidth setting!
6038 (lockInsetInInset): call edit instead of calling lockInset if we
6039 have to lock an inset inside!
6040 (edit): we have to also tell the inset that we have to redraw the
6041 frame on an edit call if this inset draws a frame only if locked.
6043 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6045 * insetbib.C (getFiles): uncomment Path variable.
6047 2002-01-16 Juergen Vigna <jug@sad.it>
6049 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6052 2002-01-16 Allan Rae <rae@lyx.org>
6054 * insetinclude.C (docbook): someone forgot a ";"
6056 2002-01-16 José Matos <jamatos@fep.up.pt>
6058 * figinset.C (docbook): removed a old place holder "@".
6059 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6060 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6061 ascii text version, clearly guarded inside a CDATA section.
6062 (docbook): in docbook 4, inlinegraphics is empty.
6063 * insettabular.C (linuxdoc): export the ascii version of the table
6064 inside a CDATA section.
6066 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * insetparent.C (InsetParent):
6069 * insetgraphicsParams.C (Write):
6071 * insetgraphics.C (prepareFile):
6074 * insetexternal.C (executeCommand):
6075 (doSubstitution): use Buffer::filePath
6077 * insetbib.C (getFiles): add a #warning for Angus
6079 * insetgraphics.C: Add a remark about how filenames should be
6080 considered to be relative to buffer (but absolute is still allowed)
6081 (draw): do not try to get status if lyxrc.use_gui is false
6083 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6086 * insetcollapsable.[Ch]:
6087 * insettabular.[Ch] (searchForward, searchBackward): change the
6088 bool const & params to bool.
6090 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6091 to avoid the name clash with InsetCollapsable's methods of the same
6092 names but different functionality.
6094 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6096 * insettext.C (ascii): use lyx::count rather than countChar.
6098 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6100 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6102 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6104 * insetgraphics.C (updateInset): do not try to render image if
6105 lyxrc.use_gui is false (bug #104)
6107 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6108 if file does not exist
6110 * figinset.C (browseFile): add shortcuts to directory buttons
6112 * insettext.C (updateLocal): update menubar and toolbar here too.
6114 2002-01-13 Allan Rae <rae@lyx.org>
6116 * insettabular.C (InsetTabular): Both constructors now initialise
6117 all class variables.
6119 2002-01-11 Juergen Vigna <jug@sad.it>
6121 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6123 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6125 * insettabular.C (getStatus): add forgotten brace around multiline
6128 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6130 * insetfloat.C (validate): require "float" instead of "floats".
6132 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6134 * insettabular.C (getStatus): use FuncStatus
6136 2002-01-08 Juergen Vigna <jug@sad.it>
6138 * insettabular.C (insetButtonRelease): now this should work too
6141 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6142 if the width is a percentage.
6144 * inset.h: added isChar() function and implemented this for
6145 insetspecialchar insetquotes and insetlatexaccent.
6146 added forceDefaultParagraphs() and implemented it for insettabular.
6148 2002-01-07 Juergen Vigna <jug@sad.it>
6150 * insettext.C (getLyXText): Fixed this function. An insert into the
6151 map is only done if we REALLY have a new BufferView.
6153 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6155 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6157 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6159 * insetinclude.C: fix use of FileInfo
6161 2002-01-07 Juergen Vigna <jug@sad.it>
6163 * insettabular.C (draw): fixed clearing of cell around inset.
6165 2002-01-05 Juergen Vigna <jug@sad.it>
6167 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6168 variables are updated.
6170 * insettabular.C (resetPos): set always the inset_y as it may be
6171 needed in another function.
6172 (searchBackward): don't draw while searching.
6174 2002-01-04 Juergen Vigna <jug@sad.it>
6176 * insettext.C (lockInsetInInset): forgot to set a cursor.
6178 2002-01-02 Juergen Vigna <jug@sad.it>
6180 * insettext.C (insertInset): make the correct undo informations on
6181 inserting new insets.
6183 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6185 * insettabular.C: correct single-cell select vertically
6187 2001-12-27 Juergen Vigna <jug@sad.it>
6189 * insettabular.C (ascii): export as tab-separated-values if the
6190 function was not called from export (f.ex.: clipboard).
6192 * insetcollapsable.h: added default support for ascii, linuxdoc and
6193 docbook export (the insettext is exported by default!)
6195 * insettabular.C (copySelection): suff the clipboard with the tabular
6196 data in a tab separated format, seems more naturals then with all the
6199 2001-12-24 Juergen Vigna <jug@sad.it>
6201 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6202 to check for REAL mouseMotion.
6204 2001-12-20 Juergen Vigna <jug@sad.it>
6206 * inset.C (cursor): return the owners cursor if available instead of
6207 always only the bv->text->cursor.
6209 * insettabular.C (checkLongtableSpecial): works now.
6211 2001-12-19 Juergen Vigna <jug@sad.it>
6213 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6214 this has to be always row + 1 as 0 means not selected!
6215 (checkLongtableSpecial): added
6216 (tabularFeatures): better longtable options support
6218 * insettext.C (resizeLyXText): reinit the text always also on a
6221 2001-12-18 Juergen Vigna <jug@sad.it>
6223 * insettext.C (updateInsetInInset): look if we have to autocollapse
6224 paragraps and return if the update is requested for ourself.
6226 * insetert.C (status): update the insettext not myself as that is what
6229 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6230 function only return if the update was requested with myself.
6232 * insettext.C (insetButtonPress): fixed stupid bug.
6233 (various functions): pay attention that lt is cleared BEFORE calling
6234 updateLocal() and try to use it in the right manner (don't use it
6235 if it's not really neccessary!)
6236 (collapseParagraphs): insert a blank between collapsing paragraphs
6237 if neccessary (not already there!).
6239 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6241 * insettabular.C: move includes around a bit, add a couple of
6244 * insettext.[Ch]: move includes around a bit, other ws changes and
6247 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6249 * insettext.C (insetButtonRelease): fix compile problem
6251 2001-12-17 Juergen Vigna <jug@sad.it>
6253 * insettext.C (insetButtonPress): set the selection cursor!
6254 (insetButtonPress): clear the selection (and set with that the
6255 selection.cursor) if we only hit an inset!
6257 * insetert.C (read): removed piece of compatibility code only needed
6260 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6263 * insetcollapsable.C (insetButtonRelease): changed so that it can
6264 open eventual existing popup dialogs on mousebutton==3.
6266 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6268 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6270 * inset.C (insetButtonRelease): return a bool for telling the outer
6271 world that we opened a dialog.
6273 2001-12-07 Juergen Vigna <jug@sad.it>
6275 * insettext.C (paragraph): remove the deleteing of paragraphs as
6276 it was a WRONG move!
6278 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6281 * insettabular.C: use new setSelection(). Allow
6282 selection of single cells.
6284 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6286 * insetquotes.C (latex): fix to use the local language setting at
6287 the point where the inset is inserted (different macros for
6288 different french packages)
6290 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * inset.h: add par_owner_ member variable and parOwner
6295 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6297 * insettabular.C (everywhere): adapt because widths are now real
6298 widths and not strings
6300 * insettext.C (draw): re-introduce the calls to width(), ascent()
6301 and descent() to initialize the caching variables.
6303 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * insettext.C (draw):
6306 (drawFrame): use insetWidth instead of last_width
6308 * insettext.h: remove variable last_width (insetWidth is exactly
6309 the same) and last_height (computed but never used!)
6311 2001-12-10 Allan Rae <rae@lyx.org>
6313 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6315 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6317 * insettext.C (insetAllowed): add comment
6319 2001-12-05 Juergen Vigna <jug@sad.it>
6321 * insettext.C (insetAllowed): fixed for the case that we directly
6322 ask the insettext from its LyXText.
6323 (paragraph): fixed the crash when assigning the par->next() from
6324 the EmptyParagraphMechanism!
6326 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6330 * insettext.C: change "while(" to "while ("
6332 2001-12-04 Juergen Vigna <jug@sad.it>
6334 * insetert.C (edit): handle Inlined status.
6336 * insettext.C (insertInset): trying John's fix for the trailing cursor
6338 * insetert.C (insetButtonPress): added to handle inlined status
6339 (insetMotionNotify): ditto.
6341 * insettext.C (clearInset): changed Painter & in BufferView * param,
6342 to be able to call ascent,descent methods.
6344 2001-12-03 Juergen Vigna <jug@sad.it>
6346 * insettext.C (updateInsetInInset): use lt variable to forbid
6347 changes of LyXText in an update call.
6348 (updateInsetInInset): fixed updating of non locked insets!
6350 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6352 * insettabular.C: capture some more functions to prevent
6353 selection drawing problems. Bug #451274
6355 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6358 * insetgraphicsParams.C: fix inverted sense of float_equal
6360 2001-11-30 Juergen Vigna <jug@sad.it>
6362 * insettabular.C (InsetTabular): use the save_id flag to create also
6363 the tabular with the same id's.
6365 * insettext.C (setParagraphData): added a same_id function for undo
6366 to set the same paragraph id's as of the paragraph we are setting.
6368 2001-11-30 José Matos <jamatos@fep.up.pt>
6371 * insettoc.[Ch]: DocBook -> docbook.
6373 2001-11-29 André Pönitz <poenitz@gmx.net>
6376 * insettext.C: further reduction of header dependencies by using
6377 lyx::layout_type and lyx::textclass_type from support/types.h
6379 2001-11-29 Juergen Vigna <jug@sad.it>
6381 * insettext.C: inserted a reinitLyXText function everywhere I delete
6382 the paragraphs! This should fixe the crashes we had.
6383 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6384 (paragraph): set the InsetOwner() of the new paragraphs!
6386 2001-11-28 André Pönitz <poenitz@gmx.net>
6388 * insetnote.C: add pos initialization that I removed without
6391 2001-11-28 Juergen Vigna <jug@sad.it>
6393 * insettabular.C (resetPos): hack to not crash with infinite paints.
6395 * insettabular.h: insert missing function allowSpellcheck()!
6397 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6399 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6402 * insetfloatlist.C: derive from InsetCommand so gui can use it
6405 2001-11-26 André Pönitz <poenitz@gmx.net>
6409 * insetnote.C: reduce header dependencies, introduce type for
6412 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6414 * various: update for Alert.h
6416 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6418 * inset.h: fix comment
6420 * insettext.C: use par->isInset()
6422 2001-11-22 Allan Rae <rae@lyx.org>
6424 * insetcollapsable.h:
6425 * inset.h: Changes to checkInsertChar() behaviour.
6426 Now return value indicates whether chars can be inserted.
6428 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6430 * various: updated to use the new LaTeXFeatures
6432 2001-11-14 José Matos <jamatos@fep.up.pt>
6434 * insetspecialchar.C (linuxdoc):
6435 (docbook): don't give a name to a unused variable.
6437 * insettext.C (docbook): removed unused variable.
6439 2001-11-13 Herbert Voss <voss@perce.de>
6441 * insetgraphic.C: fix scale bug
6443 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6445 * inset.h (isSpace):
6446 (isLetter): new virtual methods.
6448 * insetspecialchar.C (isSpace):
6449 (isLetter): implement here.
6451 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6453 * inset.h: new inline helpers
6455 * insettext.C: use new helpers
6457 2001-11-07 José Matos <jamatos@fep.up.pt>
6459 * insettext.C (docbook): full support for paragraphs inside insettext.
6461 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6463 * insetindex.C: added header file for std::ostream.
6465 2001-11-03 José Matos <jamatos@fep.up.pt>
6467 * insetindex.C: added using std::ostream that I forgot yesterday.
6469 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6471 * insetindex.h (docbook):
6472 * insetindex.C (docbook): added support for docbook export.
6474 2001-11-02 José Matos <jamatos@fep.up.pt>
6476 * insetcaption.C(docbook): added support for docbook export.
6478 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6480 * insetexternal.C (updateExternal): Do not run update command if
6481 result file exists and is up to date.
6483 * ExternalTemplate.C (readFormat): Support the updateresult token.
6485 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6487 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6488 external_templates) to use the buffer->fileName() but only if
6489 previewing. Generating a TeX file should make FPath return
6492 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6495 * insetert.C: fix some problems
6497 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6499 * insetexternal.C (doSubstitution): Added $$FPath token
6500 to list of usable substitutions in external inset templates.
6502 2001-10-24 Juergen Vigna <jug@sad.it>
6504 * insettabular.C: use new ltType struct for setting longtable
6505 header and footers also new UNSET enums.
6507 2001-10-24 José Matos <jamatos@fep.up.pt>
6509 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6510 (docbook): If the table is not inside a float then wrap it inside
6511 <informaltable>...</informaltable>.
6513 2001-10-23 José Matos <jamatos@fep.up.pt>
6515 * insetref.C (docbook): removed / terminator to conform SGML.
6517 * insetspecialchar.C (linuxdoc):
6518 (docbook): Added support for special chars, more than ascii export.
6520 2001-10-22 Juergen Vigna <jug@sad.it>
6522 * insettext.C (checkInsertChar): added for REALLY checking the
6523 font of the inserted char in the right inset!
6525 2001-10-19 Juergen Vigna <jug@sad.it>
6527 * inset.h: added method allowSpellcheck() so that insets who do
6528 not have anything to spellcheck can tell and so they are over-jumped.
6529 Implemented for InsetText and co.
6531 2001-10-18 Juergen Vigna <jug@sad.it>
6533 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6535 2001-10-15 José Matos <jamatos@fep.up.pt>
6537 * insetert.C: allow export for docbook and linuxdoc
6539 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6541 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6543 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6545 * insetquotes.C (dispString): fix handling of latin9 quotes
6547 2001-10-03 Juergen Vigna <jug@sad.it>
6551 * insetcollapsable.C: change updateInset calls to not tell BV that
6552 we have changed status.
6554 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6556 * insettabular.C (deletable): make const
6558 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6560 * insetert.C (latex): Fix the returned value
6562 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6564 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6565 Returns string(), so nothing in an ERT inset is spellchecked.
6567 * insetgraphics.C (draw): print the filename if not displaying the
6569 (width): make sure that the width and draw methods are consistent.
6570 (updateInset): don't even load the image into cache if not displaying
6573 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6575 * various files (selectNextWord): renamed as
6576 selectNextWordToSpellcheck.
6578 * insetgraphics.C (draw): remove the previous change. Right place
6579 is in imageLoaderXPM.C.
6580 (draw): don't display the image if params.display == NONE.
6582 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6584 * figinset.C (runqueue):
6585 * insetgraphics.C (draw): set background colour of inset from
6586 background to the user-configurable graphicsbg.
6588 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6590 * insetquotes.C (InsetQuotes): when trying to decide the side of
6591 the quote, choose `left' only after a space or '('
6593 2001-09-04 José Matos <jamatos@fep.up.pt>
6598 * insetcollapsable.h
6616 * insetlatexaccent.C
6617 * insetlatexaccent.h
6622 * insetspecialchar.C
6623 * insetspecialchar.h
6627 * insettext.C (docbook): rename docBook method to docbook.
6629 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6631 * inset.h (getFirstParagraph): New virtual method.
6633 2001-08-20 Herbert Voss <voss@perce.de>
6634 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6635 in the the bibtex-database-gui for inserting a line
6638 If no style is given than there is no tex-output.
6640 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6642 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6646 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6648 * insetert.C (latex): Fix output for multiple paragraphs.
6649 (write): New code for writing paragraph data.
6650 (read): Set font after reading the inset.
6651 (localDispatch): Call set_latex_font() for more cases.
6653 * insetnote.h: Add empty validate method.
6656 * insetnote.C (InsetNote): Set language to the language of the
6659 2001-08-16 Juergen Vigna <jug@sad.it>
6661 * insettext.C: implemented the new FINISHED states.
6663 * insettabular.C: ditto
6665 * inset.h: added more FINISHED states for cursor right,up,down
6667 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6669 * insetfloatlist.C: use "FloatName List"
6671 2001-08-14 Juergen Vigna <jug@sad.it>
6673 * insetert.C (edit): forgot to set status_ in edit calls!
6675 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6677 * insettext.C: Compilation fix
6679 2001-08-13 Juergen Vigna <jug@sad.it>
6681 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6683 * insetcollapsable.C (edit): don't recollapse an already open inset.
6685 * insettext.C: fixed problem when reinitializing LyXText by not doing
6686 it while lt is in use and post this to the next possible time in
6688 (searchForward): fixed not unlocking of inset if nothing found.
6689 (edit): set cursor behind right (was set -1 pos).
6691 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6693 * insettabular.C (tabularFeatures): fixed fix where deleting the
6694 last row didn't get the right actcell!
6696 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6698 * insettext.C (localDispatch): Change language only when the inset
6701 2001-08-10 Juergen Vigna <jug@sad.it>
6703 * insettabular.C (selectNextWordInt): use the front using edit call.
6705 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6706 the parameter overwrite class variable inset.
6708 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6710 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6711 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6713 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6714 update only for fixed with cells.
6715 (resetPos): try to fix the lockup on spellchecking or s&r.
6717 * insettext.C (update): comment this out as it seems first wrong
6718 and second not needed anymore!
6719 (some functions): call reinitLyXText() only in update() in all other
6720 positions set only need_update = INIT.
6722 2001-08-08 Juergen Vigna <jug@sad.it>
6724 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6726 * insettext.C (insetUnlock): remove double-space on inset unlock.
6728 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6730 * insettabular.C (update): fixed cursor positon after an insert.
6731 (insetAllowed): do not allow to insert insets when not inside the
6733 (draw): clear below an inset too as it could have changed height.
6735 * inset.C (getMaxWidth): fixed width for inset in inset.
6737 * insettext.C (update): small fix.
6739 * insettabular.C (tabularFeatures): added selection support to
6740 DELETE_ROW/DELETE_COLUMN.
6742 2001-08-07 Juergen Vigna <jug@sad.it>
6744 * inset.C (getMaxWidth): recoded and all it's implementations!
6746 * insettext.C (init,setParagraph+constructors): cleanups
6747 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6748 are new and I want do a save/restore of the cursor position which is
6749 not possible anymore.
6751 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6752 (searchBackward): ditto
6753 (selectNextWord): ditto
6755 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6757 * insetlatexaccent.C (checkContents): Add some debug messages
6759 2001-08-07 Juergen Vigna <jug@sad.it>
6761 * insetert.C (read): don't use InsetCollapsable::read as we don't
6762 write the collapsed status anymore only the status.
6765 2001-08-06 Juergen Vigna <jug@sad.it>
6767 * insetert.C (set_latex_font): use LyXText's setFont directly.
6769 * insettext.C (drawFrame): fixed one time more the right position
6770 and size of the frame!
6772 * insetert.C (~InsetERT): hide the dialog.
6773 (showInsetDialog): added implementation
6776 (status): new function for the status of the ERT inset (3-state).
6777 (write): output also the status of the inset for readback!
6778 (read): readback the status if available otherwise use collapsed_.
6780 * insettext.C (edit): small fix of setting the position, which could
6783 * insetert.C (width): implement this function for inlined viewing.
6784 Added minimum width of 10 pixels!
6786 * insetminipage.C (InsetMinipage): just change the colors a bit so
6787 that border/background is a bit more visible. We will remove this
6790 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6791 function for getting the important widths for drawing in various
6792 functions and in LyXText.
6793 (draw): fixed up a bit (frame drawing/clearing)
6795 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6797 * inset.C (convertFont): delete method. not used.
6799 2001-08-03 Juergen Vigna <jug@sad.it>
6801 * insettext.C (setFont): don't call for a draw update if we're just
6802 changing the cursor font!
6804 2001-08-02 Juergen Vigna <jug@sad.it>
6806 * insettext.C (draw): clear the background with the right color if
6807 needed. Update myself if x&max-width changed and return without doing
6808 anything. Let the update code handle the right stuff.
6810 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6811 inside another inset.
6813 2001-08-01 Juergen Vigna <jug@sad.it>
6815 * insetcollapsable.C (update): added an in_update bool so we avoid
6818 * insettabular.C (update): added an in_update bool so we avoid
6821 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6823 (update): added an in_update bool so we avoid reentering.
6825 * insettabular.C (localDispatch): clear col/row selection when doing
6826 something else inside an inset.
6828 * insettext.C (getLyXText): fixed bug when requesting a recursive
6831 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6833 * insetcite.C (latex): Paranoia check. Make sure that there is no
6834 whitespace between the citation keys.
6836 2001-07-31 Juergen Vigna <jug@sad.it>
6838 * inset.h (nodraw): make the set function also const so that this
6839 can be called from inside other const functions.
6841 * insetcollapsable.h: removed inline variable and moved it over
6842 to the only user InsetERT.
6844 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6845 inset opening immediately therein lying insets dialogs!
6847 * insetert.C (localDispatch): set the font also if we don't have any
6848 chars in this paragraph, otherwise if we delete all of em and start
6849 writing we have the wrong font.
6851 (draw): implemented for inline support
6852 (insetButtonRelease): ditto.
6854 2001-07-30 Juergen Vigna <jug@sad.it>
6856 * insettext.C (reinitLyXText): new function to reinit the insets
6857 text after lot's of paragraph changes. Use this instead of the
6858 cache.clear() which is VERY dangerous.
6860 * insetfloat.C (insetButtonRelease): we should only show the dialog
6861 if we press on the label otherwise we have problems to open mouse
6862 button 3 dialogs inside this float (f.ex. of a tabular!)
6864 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6866 * insetert.C: change back to "ERT"
6868 * insetfloat.C: handliign of RMB on label added.
6870 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6872 * insetgraphicsParams.C: #include LOstream.h here.
6874 * insetfoot.h: remove InsetFoot:: qualifier.
6876 2001-07-29 Baruch Even <baruch@lyx.org>
6878 * ChangeLog: Hiding time travel evidence.
6880 * insetgraphicsParams.h:
6881 * insetgraphicsParams.C:
6882 * insetgraphics.C: Added horizontal scale option, it actually
6883 scales both directions since it keeps image proportions.
6885 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6887 2001-07-29 Baruch Even <baruch@lyx.org>
6889 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6890 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6892 HACKY! Will need to add an EPS detection routine like old InsetFig
6895 2001-07-29 Baruch Even <baruch@lyx.org>
6897 * insetgraphics.C: Added EPSI to be an alias of EPS.
6899 2001-07-29 Baruch Even <baruch@lyx.org>
6901 * insetgraphics.C: Change GRAPHICS to Graphics.
6902 Changed image conversion rules (documented at the beginning of file).
6904 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6906 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6909 * insetgraphics.C: added a using std::endl directive.
6911 * insetcommand.h (getScreenLabel): removed pure virtual function,
6912 as it duplicates that in InsetButton.
6914 * insetbib.[Ch] (getScreenLabel):
6915 * insetbutton.[Ch] (getScreenLabel):
6916 * insetcite.[Ch] (getScreenLabel):
6917 * insetert.[Ch] (getScreenLabel):
6918 * insetexternal.[Ch] (getScreenLabel):
6919 * insetfloatlist.[Ch] (getScreenLabel):
6920 * insetinclude.[Ch] (getScreenLabel):
6921 * insetindex.[Ch] (getScreenLabel):
6922 * insetlabel.h (getScreenLabel):
6923 * insetparent.[Ch] (getScreenLabel):
6924 * insetref.[Ch] (getScreenLabel):
6925 * insettoc.[Ch] (getScreenLabel):
6926 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6928 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6930 (validate): remove check on "cite" when using natbib.
6932 2001-07-26 Baruch Even <baruch@lyx.org>
6934 * insetgraphics.C (draw): changed casting to be in one place
6935 rather than all over the function.
6938 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6940 * insetgraphicsParams.h:
6941 * insetgraphicsParams.C:
6942 * insetgraphics.C: Removed inline option and changed rotateAngle
6945 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6947 * insetfoot.C (validate): Added method to ensure that the
6948 right bit of LaTeX is emitted.
6950 * insetfoot.h: Added validate method to set the correct
6951 LaTeXFeatures bit for the special footnote code.
6953 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6955 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6958 2001-07-27 Juergen Vigna <jug@sad.it>
6960 * inset.h: remove unused font variable in parameter.
6961 removed checkInsertChar in UpdatableInset as it was equal to
6962 the one in Inset and so not needed.
6964 * insetert.C (checkInsertChar): implementation of function
6967 * inset.h: added new function checkInsertChar.
6969 * various files: added c-tor and clone() function.
6971 * insetcollapsable.h: removed clone function here as this should
6972 be only realized in REAL insets and added it to all collapsable
6973 insets! (with the copy-constructor).
6975 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * insetminipage.C (read): handle missing parameters more gracefully
6979 * insetcollapsable.C (read): handel missing collapsed more gracefully
6981 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6983 * insetfloat.C (read): handle missing parameters.
6985 * insettext.C (read): handle old latex end_inset
6987 * insetert.C (setButtonLabel): new method
6988 (init): use it, to set the dynamic label correctly
6991 * Makefile.am (EXTRA_DIST): add files that is not part or the
6994 * insetcollapsable.h: remove autocollapsable (no users), remove
6995 draw_label, change_label_with_text and companion code. Remove args
6997 * insetert.[Ch]: move here instead (only user)
6999 * inset.h: rename private variable name to name_, make
7000 selectNextWord return a const string. make getInsetName return a
7001 string const &. Remove bool from open, add close.
7003 * Makefile.am: don't compile insetlist, insetsection
7006 2001-07-24 Juergen Vigna <jug@sad.it>
7008 * insetert.C (InsetERT): put init after the paragraph initialization,
7009 as otherwise we don't set the draw_label right.
7011 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7012 insets with the mouse without having strange selections.
7013 (edit): if the inset was collapsed and we open it here then put the
7014 cursor always at the beginning of the inset.
7015 (get_new_label): 15 instead of 10 max chars in the label.
7017 * insetert.C (localDispatch): added and handle various stuff we
7018 need to handle here (font setting on paragraph break, not permitted
7019 layout setting, etc.).
7021 * inset.h: added default copy-consturctor and implemented this in
7022 various insets with the change to use this in the clone function!
7024 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7026 * insetminipage.C (InsetMinipage): set background color to red :)
7028 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7030 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7031 draw frame mode is LOCKED.
7033 * insetcollapsable.C (edit):
7034 (insetButtonRelease): set update status to full when
7037 * insettext.C (clearInset):
7038 * insettabular.C (draw):
7039 * insetlatexaccent.C (draw): honor background color.
7041 * inset.h: new member background_color_, initialized to
7044 * inset.C (backgroundColor): new method.
7045 (setBackgroundColor): new method.
7047 * insetert.C (init): new method, called by the ctors.
7048 (InsetERT): when inserting contents, make sure the font is
7051 * insetnote.C (InsetNote): when inserting content, remove trailing
7053 (init): set background color to LColor::note
7055 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7057 * insetcollapsable.C: adjust
7059 * insetbutton.C: adjust
7061 2001-07-23 Juergen Vigna <jug@sad.it>
7063 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7064 parameter on the _collapsed function (was not needed) and call
7065 always width_collapsed().
7067 * insetert.C (InsetERT): use setLabel with "true" flag.
7069 * insetcollapsable.C: modified various functions to set the draw_label
7070 string right in any condition.
7071 (setLabel): added a bool parameter to set change_label_with_text.
7073 * insetcollapsable.h: added draw_label string which is set to the
7074 actual drawn label-string, while label is the original static label
7075 of this collapsable inset. Added bool change_label_with_text to set
7076 if we want that the label changes to the start of the InsetText's
7077 text when collabpsed. You can set this flag with the setLabel funciton.
7078 Added bool inlined for inlined collapsable insets, but not handled
7081 * insetcollapsable.C (get_new_label): added should get a new label
7082 from the InsetText beginning (for now 10 chars).
7084 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7086 * insetquotes.C (latex): fix the handling of french double quotes
7087 when not using the french pachage.
7089 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7091 * insetcollapsable.h: make WidthCollapsed mutable.
7093 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7094 InsetPrintIndex returns INDEX_PRINT_CODE.
7096 * inset.h: add INDEX_PRINT_CODE
7098 * insetcollapsable.C (draw): init widthCollapsed if necessary
7101 * insetquotes.C (width): use the local language, not the document
7104 (dispString): add additional spacing for all french languages,
7106 (validate): make it work when there is no default language
7108 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7110 * insetnote.C (init): new method, called by the constructors
7111 (InsetNote): new constructor with contents passed as a string
7113 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7115 * insetfootlike.C (insetAllowed): disallow float in footlike.
7117 * insetert.C (InsetERT): add collapsed argument to the constrctor
7120 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7122 * insetindex.h: shut off warning
7124 2001-07-20 Juergen Vigna <jug@sad.it>
7126 * insetcollapsable.C (update): recoded hopefully works now!
7128 2001-07-19 Juergen Vigna <jug@sad.it>
7130 * most files: implemented the below new introduced function.
7132 * inset.h: added new edit(BufferView *, bool front) method to be able
7133 to enter an inset from the front/back without knowing x/y positions
7134 and baselines inside the inset. So I just can tell the inset activate
7135 me and set the cursor on the front/back of yourself.
7137 2001-07-18 Juergen Vigna <jug@sad.it>
7139 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7140 is given to the InsetText.
7141 (insetButtonPress): ditto
7142 (insetButtonRelease): ditto
7143 (insetMotionNotify): ditto
7145 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7148 LIGATURE_BREAK, since the name is so stupid.
7150 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7152 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7153 the default InsetCollapsable methods. I.e., it can insert anything.
7154 (write) output the name of the inset, not some silly hack for
7155 compatability with the old InsetInfo.
7157 * insetinfo.[Ch]: removed.
7158 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7159 now collapsable, but functionality is otherwise identical to InsetInfo.
7161 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7163 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7165 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7168 * insetquotes.C: general cleanup
7169 (dispString): add spaces inside french double quotes.
7170 (latex): ditto. Moreover, treat first the case where the frenchb
7171 or french options have been given.
7173 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7175 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7178 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7180 * figinset.C (RegisterFigure): Print debug message only when
7181 current_view is available.
7183 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7185 * many files: update to match the change below
7187 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7188 implement the version which takes an inset here.
7190 * insetcollapsable.[Ch]: implement open and isOpen
7192 * inset.h: remove insertInsetAllowed from Inset
7193 (open): new method, to open or close an inset
7194 (isOpen): returns the status of an inset
7195 (isCollapsable, colapse): removed
7197 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7199 * insetquotes.C (dispString): display french guillemets when using
7202 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7204 * insetcollapsable.h: remove bogus return statements
7206 2001-07-18 Juergen Vigna <jug@sad.it>
7208 * insettabular.C (selectNextWord): fixed spellchecking for the
7209 first cell of a tabular (wasn't entered!)
7210 (getLyXText): changed to enter automatically insettext and return
7211 it's LyXText if we're locked.
7213 2001-07-17 Juergen Vigna <jug@sad.it>
7215 * various files: implemented the below functions.
7217 * inset.h: added functions
7218 - virtual string selectNextWord(BufferView *, float & value) const;
7219 - virtual void selectSelectedWord(BufferView *) { return; }
7220 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7221 needed for spellchecking correctly!
7223 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7225 * insetert.C (latex): write out all paragraphs.
7227 2001-07-17 Baruch Even <baruch@lyx.org>
7229 * insetgraphics.C (draw): Removed unneeded casts.
7231 2001-07-16 Juergen Vigna <jug@sad.it>
7233 * insettext.C (update): fixed small oversight (reset lt to 0).
7235 2001-07-14 Baruch Even <baruch@lyx.org>
7238 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7240 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7242 Consistent use of Lsstream.h:
7243 * figinset.C: removed using std::ostringstream directive.
7245 * insetgraphics.C (createLatexOptions):
7246 * insetinclude.C (unique_id):
7247 std::ostringstream -> ostringstream.
7248 * insettext.C (localDispatch): std::istringstream -> istringstream.
7250 2001-07-13 Juergen Vigna <jug@sad.it>
7252 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7254 * insetcollapsable.C (getLockingInset): ditto.
7256 2001-07-12 Juergen Vigna <jug@sad.it>
7258 * insetcollapsable.h: added implementation of new function for
7261 * various files: added implementation of new insertInsetAllowed-func
7262 and redone the function a bit more.
7264 * inset.h: added isCollapsable(), bool collapsed(),
7265 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7267 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7269 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7270 LyXText which is marked for removal while we're using it!
7272 * insettext.h: added private LyXText * lt to use it to assure we are
7273 not deleting our LyXText while we're using it!
7275 2001-07-11 Juergen Vigna <jug@sad.it>
7277 * insettext.C (insertInset): check if we are before the inset after
7278 inserting it! This check IS needed. Remove the Undo-Call as it is
7279 called in LyXText::insertInset!
7281 * insettext.h: added struct InnerCache.
7283 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7284 that we ONLY delete the LyXText in the getLyXText() routine. So we
7285 are sure we don't delete LyXText while someone is working with it!
7287 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7289 * insetexternal.C: (*it). -> it->
7290 * insettext.C: ditto
7292 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * insetcollapsable.C (edit): always open collapsed insets (even if
7295 they are not autocollapsable)
7297 * insetcommand.C (operator=): simplify.
7299 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * insetert.C (latex): handle META_NEWLINE
7303 2001-07-09 Juergen Vigna <jug@sad.it>
7305 * insetert.h: a normal InsetText can insert insets, but we won't.
7307 * inset.h: return default "false" on insertInsetAllowed and implement
7308 this function where a returnvalue != "false" is needed.
7310 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7312 * insetert.C (InsetERT): new contructor
7314 2001-07-06 Juergen Vigna <jug@sad.it>
7316 * a lot of files: added implementation of the below new functions
7317 and the change to clone(). Also the call of the new undo-functions
7320 * inset.h: added an inset_id, added functions getParFromID,
7321 getInsetFromID, firstParagraph, cursor and id functions, added
7322 bool same_ids to clone function.
7324 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7326 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7327 of BufferView * and shared_ptr<LyXText>
7329 2001-07-05 Juergen Vigna <jug@sad.it>
7331 * insettext.C (clear): deleted also the cache not only LyXText.
7332 (setParagraphData): ditto.
7334 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7336 * insetfloat.C (latex): let the specific placement take presedence
7337 if set, otherwise choose document placement if set, otherwise just
7338 use float default placement.
7340 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * insettext.C (localDispatch): call CutAndPaste::'s static method
7345 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7347 * insetbib.C: no meed to include forms.h here.
7349 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7351 * insettext.C: added using std::make_pair directive.
7353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7357 (deleteLyXText): ditto
7358 (resizeLyXText): ditto
7360 2001-07-02 Juergen Vigna <jug@sad.it>
7362 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7363 following calls are only returned the right pointer without the over
7364 head to search in the map.
7365 (various funcs): reset the cached_bview variable as this signs that
7366 the cache is not valid anymore.
7368 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7370 * insettabular.C (clone): do not copy the LyXTabular twice
7372 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7374 * insettext.h (TEXT): delete method
7376 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7378 * insetmarginal.C (latex):
7379 * insetfoot.C (latex): fix spacing of notes in LaTeX
7381 * insettext.C (localDispatch): use .c_str() on istringstream
7382 constructor argument.
7384 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7389 * inseturl.C: fix method names in these to begin
7390 with small char too, so they inherit
7392 2001-06-28 Juergen Vigna <jug@sad.it>
7394 * insettext.C (setFont): fixed font settings using toggleFree()
7395 instead of setFont().
7397 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7399 * Change a lot of method names to begin with a small char.
7400 Changes to a lot of files because of this.
7402 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * insetfloatlist.C (Write): std:: qualify ostream
7407 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7411 * insetgraphics.C: send debug output to Debug::INFO instead of
7414 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7417 * insettabular.C (getStatus): update to use func_status
7419 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7421 * insetref.C (DocBook): added support for cross-references without
7424 2001-06-26 The LyX Project <jug@sad.it>
7429 * insetlabel.h: removed escape method and moved it to
7432 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * insettabular.C (getMaxWidth): do the speedup in a different way,
7437 2001-06-24 The LyX Project <Asger>
7439 * insettabular.C (getMaxWidth): We cache a mapping from
7440 inset to cell in order to speed this method up.
7442 2001-06-24 The LyX Project <Asger>
7444 * insettext.C: Optimized InsetText::draw or something.
7446 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7448 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7450 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * inset.h: name change from lyxinset.h
7454 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7456 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7458 2001-06-14 Juergen Vigna <jug@sad.it>
7460 * insettext.C (draw): removed warnings.
7462 2001-06-13 Juergen Vigna <jug@sad.it>
7464 * insettabular.C (nodraw): only go down the tree if we don't have
7465 that flag set otherwise it's obvious that we don't want to draw.
7466 (LocalDispatch): do also an update if we have an undispached result.
7468 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7471 * insetgraphicsParams.C:
7472 * insettext.C: removed // -*- C++ -*- as first line.
7474 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7476 * lyxinset.h (resizeLyXText): shut off warning about unused
7479 2001-06-07 Juergen Vigna <jug@sad.it>
7481 * insettext.C (resizeLyXText): honor the new force flag.
7483 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7485 * insettabular.C (deleteLyXText): new function
7487 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7495 * insetcollapsable.C:
7496 * insetcaption.C: LColor tidy
7498 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7500 * figinset.C: fix typo
7502 2001-06-01 Juergen Vigna <jug@sad.it>
7504 * insettabular.C (resetPos): small hack so that scroll is not set to
7505 0 when we are in the last column of a tabular. This is a problem we
7506 have because of constats 20 offset on both directions, so this can
7507 cause on the limit an endless loop.
7509 * insettext.C (SetFont): forgot that we can have locking insets ;)
7511 2001-05-31 Juergen Vigna <jug@sad.it>
7513 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7515 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7517 * figinset.C: add using std:: directive for the C functions which
7520 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7522 * insetfloat.C (Write): write out wide info
7523 (Read): read the wide info
7524 (Latex): use the wide info when creating latex.
7526 * insettext.C: adjust
7528 * insetgraphics.[Ch] (statusMessage): change to return string
7532 * figinset.C (runqueue): add std::
7535 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7537 * insetcite.C (Ascii): add std:: qualifier
7539 2001-05-28 Juergen Vigna <jug@sad.it>
7541 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7542 a endless-width inset (maxWidth < 0).
7543 (Edit): change language only if not equal.
7545 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7547 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7549 2001-05-16 Juergen Vigna <jug@sad.it>
7551 * insettext.C (selectAll): added
7552 (clearSelection): added
7554 * insettabular.C (SetFont): now we may set a font on a whole selection!
7555 (getSelection): added helper function.
7557 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7559 * insetcite.C (Ascii): Add method.
7561 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7564 * insetbib.C: fix path for OS/2 & Win32
7566 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7568 * insetfoot.C (Latex): don't use % after footnote.
7570 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7572 * insettext.C (Read): use clear
7573 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7575 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7577 * insetfloatlist.h: add a bunch of std:: qualifiers.
7579 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7581 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7582 FLOAT_LIST_CODE, renumber code list.
7584 * insettoc.C (getScreenLabel): remove support for float lists
7588 * insetfloatlist.[Ch]: new files
7590 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7592 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7594 * insettabular.C (LocalDispatch):
7595 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7598 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * insettext.C: remvoe !NEW_INSETS cruft
7602 * insettabular.C: remove !NEW_INSETS cruft
7604 * insetcollapsable.h: remove !NEW_INSETS cruft
7606 * insetbib.C: remove !NEW_INSETS cruft
7608 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7610 * insettoc.C: hack to make listof algorithm work
7612 2001-04-20 Juergen Vigna <jug@sad.it>
7614 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7616 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7618 * insetquotes.C (Latex): improve the guard against
7619 unwanted !` and ?` ligatures. This should really be done in
7620 another place (to catch all this ligatures at low-level).
7622 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * insettext.C (init): remvoe leftovers from cursor_visible change
7625 (draw): use c++ cast
7626 (LocalDispatch): dispatch LFUN_MESSAGE
7628 * insettabular.C (InsetTabular): remove leftovers from
7629 cursor_visible, and scoped_ptr changes
7630 (draw): use c++ cast
7632 * insetcollapsable.C (draw): use c++ cast
7634 * ExternalTemplate.h: inherit privaely from noncopyable
7635 * insetcommand.h: ditto
7636 * insetinclude.h: ditto
7638 2001-04-16 Allan Rae <rae@lyx.org>
7640 * insettoc.C (Ascii):
7641 * insettext.C (draw):
7642 * insettabular.C (setPos):
7643 * insetminipage.C (Read):
7644 * insetfloat.C (placement):
7645 * insetcaption.C (Ascii, DocBook):
7646 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7647 an unrecognised preprocessor directive. So ensure they're wrapped.
7649 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7652 * insetexternal.C: set view on Clone. Add _ to private members.
7654 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * insettext.C (InsetText): fix new
7657 (InsetText): reindent some, simplify deletion of par list
7658 (clear): simplify deletion of par list, fix new
7659 (SetParagraphData): simplify deletion of par list
7661 * insettabular.[Ch] (getLabelList): implement new method
7663 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7665 * lyxinset.h: do not include gettext.h...
7673 * insetlatexaccent.C:
7677 * inseturl.C: ... and do it here instead
7679 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7681 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7683 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7685 * insetcollapsable.[Ch] (getLabelList): implement
7687 * insettext.[Ch] (getLabelList): implement
7689 * insettext.h: reindent
7691 * insettabular.h: make tabular a scoped_ptr
7693 * insettext.C (init): adjust for cursor_visible
7694 (ToggleInsetCursor): constify asc and desc, font, adjust for
7696 (ShowInsetCursor): constify asc and desc, font, adjust for
7698 (HideInsetCursor): adjust for cursor_visible
7700 * insettabular.C: reindent some
7701 (InsetTabular): adjust for scoped_ptr and cursor_visible
7702 (InsetTabular): ditto
7703 (~InsetTabular): delete delete
7704 (Clone): adjust for scoped_ptr
7705 (Read): constify old_format, adjust for scoped_ptr, move init of
7707 (draw): constify tx, localize loop vars.
7708 some other localization of variables, remove double initilizatons.
7710 * insetfoot.C: remove using std::ostream, add ostream where needed
7712 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7714 * lyxinset.h: some reindentaion, use initializer list for
7716 UpdatableInset: make cursor_visible a private var add
7717 public isCursorVisible(), add protected toggleCursorVisible() and
7718 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7720 * insettoc.C: remvoe using decl
7721 (getScreenLabel): make cmdname donst
7724 (Ascii): don't use endl
7726 * insetfootlike.C: remove using decl at file scope and add std::
7728 * insetmarginal.C: ditto
7730 * insetfoot.C: some reformatting
7732 * insetfloat.C (InsetButtonRelease): adjust the hit area
7734 * insetert.C (SetFont): some reformatting
7736 * insetcollapsable.C: some reformatting and constification
7737 (Clone): comment out.
7738 * insetcollapsable.h: some reformatting
7739 (Clone): comment out.
7744 2001-03-30 Juergen Vigna <jug@sad.it>
7746 * insetcollapsable.h: changen *inset to be a InsetText inset.
7748 * some files: changed to reflect the above change.
7750 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7752 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7753 InsetExternal::Params.
7754 Added operator==() and operator!=() for the Params struct.
7756 2001-03-29 Juergen Vigna <jug@sad.it>
7758 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7761 * insetminipage.C: removed widthp_ and all it's functions and changed
7762 to use new %-lengths of LyXLength.
7764 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7766 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7768 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7770 * insetgraphicsParams.C (operator!=): new function, needed by the
7771 ControlGraphics class.
7773 2001-03-28 Juergen Vigna <jug@sad.it>
7775 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7776 (checkAndActivateInset): don't use the values returned from
7777 call to bv->checkInsetHit.
7779 * insetminipage.C (Clone): set special minipage values.
7781 * insetcollapsable.C (draw): changed to draw the button in the
7782 upper left corner outside the textinset.
7783 (ascent): changed because of different drawing
7787 (InsetButtonPress): ditto
7788 (InsetButtonRelease): ditto
7789 (InsetMotionNotify): ditto
7791 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7793 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7797 2001-03-26 Juergen Vigna <jug@sad.it>
7799 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7801 * insettext.C (ShowInsetDialog): implemented above function.
7803 * insettabular.C (ShowInsetDialog): ditto
7805 * insetminipage.C (ShowInsetDialog): ditto
7807 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7809 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7810 InsetInclude::Params. Don't store a buffer * in Params. Store the
7811 master file name instead.
7813 2001-03-23 Juergen Vigna <jug@sad.it>
7815 * insetcollapsable.C (InsetMotionNotify):
7816 (InsetButtonRelease):
7817 (InsetButtonPress): fixed y-offset (minipages).
7819 * insettext.C (draw): force a FULL update if cleared == true.
7821 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7822 routine to draw the minipages on its position-flag.
7823 (InsetInInsetY): give back the right y position, because of minipage
7826 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7829 * insetfloat.C (DocBook): docbook export code.
7831 2001-03-22 Juergen Vigna <jug@sad.it>
7833 * insetminipage.C (getMaxWidth): added function to set the drawing
7835 (Read): should work now!
7837 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7838 if we create a new inset.
7840 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7842 * figinset.C (fl_set_preemptive_callback): moved definition outside
7845 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7847 * insetminipage.C (Read): prepare for reading of minipage arguments.
7849 2001-03-18 Baruch Even <baruch@lyx.org>
7851 * insetgraphics.C: Minor cleanups of the comments and code.
7853 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7855 * insetminipage.C (InsetMinipage): default to not collapsed
7857 2001-03-16 Juergen Vigna <jug@sad.it>
7859 * insetminipage.C (width): modified with to be a string
7860 (widthp): added widthp (for % width) support functions.
7861 (InsetButtonRelease): added to open the options dialog on button==3.
7862 (~InsetMinipage): added to hide the dialog.
7864 * insetminipage.h: added hideDialog signal
7866 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7868 * insetminipage.h: change the order or Position to match
7869 LyXParagraph::MINIPAGE_ALIGNMENT
7871 * several files: remvoe CXX_WORKING_NAMESPACES
7873 * ExternalTemplate.h: noncopyable is in namespace boost
7874 * insetinclude.h: ditto
7875 * insetcommand.h: ditto
7877 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7879 * insettext.C (Edit): #else# -> #else.
7880 * insettoc.C: added using directive.
7882 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7884 * insetminipage.h: add pos, inner_pos, width and height. + getters
7885 and setters for all of them.
7887 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7889 * insetinclude.C (Latex): Do not exit when the textclass of the
7890 included file differ from the textclass of the parent file.
7892 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7894 * ExternalTemplate.C (read): the reading of external insets now checks
7895 for \end_inset and removes it form the input stream.
7897 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7899 * ExternalTemplate.h:
7900 * ExternalTemplate.C:
7902 * insetexternal.C: move form to GUII
7904 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7907 * insetinclude.C: add InsetIncludeParams, use
7908 composition rather than derivation of InsetCommand
7910 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7912 * insettoc.C (Ascii): use the Buffer typedefs
7914 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7916 * insettoc.C (Ascii): implement for dynamic number of lists
7918 * insetcaption.[Ch]: update from new_insets branch
7919 * insetfloat.[Ch]: ditto
7921 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7924 * figinset.C: use new File Dialog
7926 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7928 * insettext.C: changes becuase of ParagraphParameters.
7930 2001-02-28 Baruch Even <baruch@ev-en.org>
7932 * insetgraphics.C (updateInset): Changed due to the change in
7935 2001-02-26 Juergen Vigna <jug@sad.it>
7937 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7938 handled in LyXText).
7940 2001-02-23 Juergen Vigna <jug@sad.it>
7942 * insettext.C (draw): some small repainting fixes.
7943 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7945 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7946 should be) and not an int.
7948 * insettabular.C (LocalDispatch): ditto
7950 * insettext.C (LocalDispatch): ditto
7952 * insetcollapsable.C (LocalDispatch): ditto
7954 2001-02-22 Juergen Vigna <jug@sad.it>
7956 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7957 DISPATCH it and we don't have a locking_inset.
7959 2001-02-21 Baruch Even <baruch@ev-en.org>
7961 * insetgraphics.[Ch]: Changed to use
7962 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7964 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7966 * insetcollapsable.C (getLyXText): add const qualifier to second
7969 2001-02-22 Juergen Vigna <jug@sad.it>
7971 * insettext.C (getLyXText): honor the recursive parameter.
7972 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7974 * inset.C (getLyXText): added bool recursive parameter.
7976 * insettext.C (SetUpdateStatus): or the update codes.
7977 (draw): check need_update with &.
7978 (InsetButtonPress): set no_selection to not put a selection when
7979 entering an inset and it is redraws in another spot.
7981 * insettext.h: made need_update an int.
7983 2001-02-20 Baruch Even <baruch@ev-en.org>
7986 * insetgraphisc.C: Changed to use better semantics when loading images
7987 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7989 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7993 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7994 consistent with InsetTabular.
7996 2001-02-19 Juergen Vigna <jug@sad.it>
7998 * insettabular.C (LocalDispatch): implement PAGE up/down.
8000 * insettext.C (draw): clear all of it on need_update==INIT too!
8002 * insettabular.C (InsetUnlock): always clear the selection.
8004 * inset.C (scroll): normally we only want to scroll the inset until
8005 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8007 2001-02-14 Juergen Vigna <jug@sad.it>
8009 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8010 (resetPos): fixed scroll behaviour.
8011 (LocalDispatch): do an update if moving cursor inside a table cell
8012 requests a scroll of the tabular.
8014 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8016 * insettext.C (textWidth): constify local var
8018 * insettabular.C: small cleanup.
8020 * insetfoot.C (Latex): constify local var
8022 * insetcollapsable.C: small cleanup.
8024 * figinset.C (runqueue): use compare instead of strcmp
8026 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8029 * insetinfo.C: remove cruft
8031 2001-02-14 Juergen Vigna <jug@sad.it>
8033 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8035 2001-02-13 Juergen Vigna <jug@sad.it>
8037 * insettext.C (InsertInset): don't move left (is this right?)
8039 * insettabular.C (LocalDispatch): use of the no_draw variable
8041 * insettabular.h: new no_draw variable to stop redraw
8043 * insettabular.C (TabularFeatures): fixed update for alignment change
8045 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8049 * insetbib.C: move dialogs to frontends/
8051 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8053 * insettext.C (LocalDispatch): Restore the language if the inset
8056 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8058 * insettext.C (moveRightIntern): Update the selection cursor.
8059 (moveLeftIntern): Ditto.
8061 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8063 * Makefile.am: remove BoundingBox.h
8065 * BoundingBox.h: removed
8067 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8069 * insettext.C (LocalDispatch): Update selection cursor when moving
8070 cursor to the right.
8071 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8072 (moveLeftIntern): Ditto.
8074 2001-02-05 Baruch Even <baruch.even@writeme.com>
8076 * insetgraphics.C: Updated automatic image conversion, it now goes into
8077 temporary directory instead of with the image itself.
8079 2001-01-21 Baruch Even <baruch@ev-en.org>
8081 * insetgraphics.C: Added Docbook support. Added Automatic image
8082 conversion to EPS or PNG when needed (support bitmap graphics).
8084 2000-11-02 Baruch Even <baruch@ev-en.org>
8087 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8088 to '\n' and removal of commented out code.
8090 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8092 * insetbib.C (callback): Update citations if the key has changed.
8094 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8096 * insetbib.C (InsetBibKey): Better computation of default key.
8097 (getScreenLabel) Show both the key and the label.
8098 (getBibLabel): New method.
8099 (callback): Force a redraw if the inset have been changed.
8101 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8103 * insetref.C (getType, getName): Move methods from
8104 src/frontends/xforms/FormRef.C.
8106 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8108 * insettabular.C: Various improvements (use only one dummy position).
8110 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8112 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8113 par->bibkey->width. This fixes the crashes when running without
8114 gui or when having included documents.
8116 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8118 * insetcommand.C (getAsString, setFromString): Cleanup.
8120 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8122 * insetref.C: Add the array InsetRef::types that contains
8123 information about all supported reference types.
8125 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8127 * lyxinset.h: remove trailing comma in enum.
8129 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8131 * insettext.C: kill LyXBell.