1 2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
3 * insetbranch.C: partial fix bug 2092: branches not
4 propagated to child docs
5 * insetcharstyle.C: Also replace LColor::red by LColor::error
7 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * insetbranch.C (isBranchSelected): take a buffer as argument.
10 adapt to work with child documents (bug 2092).
12 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * insettabular.C (doDispatch): get rid of annoying debug message.
16 * insetbranch.C (doDispatch): LFUN_INSET_TOGGLE: do not replicate
17 code from InsetCollapsable.
19 * insetcollapsable.C (doDispatch): LFUN_INSET_TOGGLE: when the
20 inset is toggled to Closed, move cursor to the right (part of bug
23 2005-10-21 Martin Vermeer <martin.vermeer@hut.fi>
25 * insettext.C: remove obsolete old_pit
27 2005-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * insettabular.C (doDispatch): do not override the result of
30 LFUN_RIGHT/LEFT. (bug 2101)
32 2005-09-16 Michael Gerz <michael.gerz@teststep.org>
34 * insetvspace.C (metrics): compute ascent and descent in a way that
35 the cursor is placed on the same level as the label text
37 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * insetcollapsable.[Ch]: implement Alfredo Braunstein's approach
40 of autoopen, which means that collapsables automatically open
41 whenever the cursor enters (and close again on leave) (fixes bug 1921).
43 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * insetspace.C: rename '\,' to '\thinspace{}' (avoid parsing error)
46 and '\space' to '\space{}' (consistency).
48 2005-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
50 * insettabular.C (tabularFeatures): validate cursor after
51 setAutoBreakRow (SET_[M]PWIDTH) (fixes bug 1945).
53 2005-09-11 Martin Vermeer <martin.vermeer@hut.fi>
55 * insettabular.C: fixes bug 1765: multicol cell width on screen not
58 2005-09-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * insettabular.C: use recordUndoInset instead of recordUndo
61 (fixes bug 1937 and 1986).
63 2005-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * insetvspace.C (metrics): include label text
66 * insetvspace.[Ch] (label): new, needed for the above
68 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * insetbase.[Ch]: new bool neverIndent() which indicates if
71 an inset does not want paragraph indentation at all.
74 * insetoptarg.h: return true for neverIndent()
75 * insettext.[Ch]: return true for neverIndent() in case
76 of tabular cells (based on a crude guess).
78 2005-09-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * insetline.C: Add forgotten include
82 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * insetline.C (latex): write the size argument of \lyxline again
85 * insetquotes.C (latex): adapt to OutputParams changes
87 2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * insettabular.C (tabularFeatures): don't force alignment to BLOCK
90 when switching to pwidth cell (bugs 1296, 1840).
92 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * insettabular.C (draw): pass PainterInfro::erased_ to
96 (drawCellLines): add an erased bool and handle it.
98 2005-08-03 John Levon <levon@movementarian.org>
100 * insettext.C (clear): remove bool argument.
101 (read): adapt to clear() changes.
103 * insettabular.C (cutSelection): adapt to MarkErased changes.
105 * insettext.C (markErased):
106 * insettabular.C (markErased):
107 * insetbase.C (markErased): add bool argument.
109 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * insettabular.C: mark tabular_stack_ (of CutAndPaste) dirty
112 after copying several cells (works around bug 1919).
114 2005-09-05 Michael Gerz <michael.gerz@teststep.org>
116 * insetcharstyle.C (metrics,draw): consider inset label for
117 width computation; fix drawing of labels of undefined char styles
119 2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
121 * insettabular.C (getStatus): fix Helge's bug that a number of insets
122 including ERT could not be inserted in tabular.
124 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * insetinclude.C (string2params): fix typo in error message (bug 1963).
128 2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * insettabular.C (getStatus): disable line and paragraph breaks
131 in non-fixed-width cells (bug 1938).
133 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * insetwrap.C: Do not use translatable strings as internal identifier
139 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
141 * insetbase.C: include boost/current_function.hpp
143 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
145 * insetbase.C (edit,editXY,index): supress some lyxerr messages
147 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
151 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
153 * insetlabel.C (changeRefsIfUnique): remove unused code
155 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
158 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
159 reverse the logic. Make sure to set updateButtonLabel_ to true in all
160 places where params is set (directly or indirectly).
162 2005-07-15 André Pönitz <poenitz@gmx.net>
164 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
166 2005-07-15 André Pönitz <poenitz@gmx.net>
170 * insetcollapsable.[Ch]:
172 * updatableinset.[Ch]: remove UpdatableInset
174 2005-07-15 José Matos <jamatos@lyx.org>
176 * insettext.C (plaintext): fix call to asciiParagraph.
178 2005-07-15 André Pönitz <poenitz@gmx.net>
180 * insetcollapsable.[Ch]:
181 * updatableinset.[Ch] (scroll, setScroll): sanitize things
183 2005-07-14 Angus Leeming <leeming@lyx.org>
185 * insetbibtex.C (latex): when processing the LaTeX file in
186 a temp directory, copy the BibTeX databases there, mangling their
187 names in the process. Do this so that BibTeX can process the database
188 because it *really*, *really* can't handle "files with spaces".
190 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
192 * insettext.C (doDispatch): reduce some debug blabbering
194 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * ExternalSupport.C (subst_path): adjust to latex_path changes and
197 replace dots if appropriate
198 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
199 * insetexternal.C (validate): require lyxdot
201 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * ExternalSupport.C (subst_path): new argument exclude_extension
204 * ExternalSupport.C (doSubstitution): exclude the extension when
206 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
207 the extension when quoting the file name
209 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * insetquotes.C (latex): always use \og/\fg for the french
212 languages; test against the language code instead of the babel
215 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * insettabular.C (tabularFeatures): adjust cursor after adding a column
219 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
221 * insetbranch.C (setButtonLabel): Make label prefix translatable.
223 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * insettabular.[Ch] (dist): make it a real member of insettabular
226 and rewrite it to use the actuall cell dimensions for calculation,
227 not the insettext's deimensions (fixes bug 1801).
229 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * insetbibtex.C: (addDatabase): do not check for substrings but
232 but for whole tokens.
233 (delDatabase): make it actually work.
235 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
239 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * insetgraphics.C (prepareFile): don't strip the extension of quoted
243 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
245 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
248 when multiple cells are selected (bug 1837).
250 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * insetoptarg.C (InsetOptArg): make the inset open by default
255 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * insetvspace.C (draw): use VSpace::asGUIName.
259 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
262 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
263 cur.noUpdate() if nothing changed
264 * insetlatexaccent.[Ch]: spelling fixes
266 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
268 * insetcollapsable.C (doDispatch): fix
269 click-on-closed-collapsable-inset-crash bug.
271 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
273 * insettabular.C (pasteSelection):
274 * insettext.h (copy c'tor): fix paste inside tabulars.
276 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * insetoptarg.C (plaintext): add dummy method.
280 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
282 * insetbase.h (doDispatch): document a bit more
283 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
284 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
285 cur.bv().update(), because that leads to nested updates. Call
286 cur.noUpdate() instead where approriate.
288 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
290 * insetbibtex.C: change screen label
292 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
294 2005-05-06 José Matos <jamatos@lyx.org>
296 * insetcommandparams.C (scanCommand): fix out of range string access.
298 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
300 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
302 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
303 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
306 handle undefined character styles
307 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
308 handle undefined character styles
310 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
312 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
313 in getStatus and the tabularFeature string (bug 1860).
315 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * insetbranch.C (getStatus): make the code more compact
319 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * insetcollapsable.C (doDispatch): do not pass through double/triple
322 click events when they are not in the insetext (bug 1797).
324 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
326 * insetbase.h: document a bit more
327 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
328 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
329 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
330 (getStatus): implement
331 * insetcollapsable.[Ch] (hitButton): take a const argument
332 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
335 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * insetcollapsable.C (doDispatch): pass through double/triple
338 click events (bug 1811).
340 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
344 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
345 but the SENSITIVE label type.
347 2005-04-18 Angus Leeming <leeming@lyx.org>
349 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
350 'use_latex_path' argument. In turn, passed to the new subst_path
351 function when replacing placeholders with paths.
353 * insetexternal.C (getScreenLabel):
354 * ExternalSupport.C (lots of places): change invocation of
355 doSubstitution in lots of places, specifying the appropriate values
356 for this 'use_latex_path' boolean.
358 * insetbib.C (latex):
359 * insetgraphics.C (latex):
360 * insetinclude.C (latex): pass path to latex_path rather than to
363 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
365 * insetcharstyle.C (validate): allow nested charstyle insets
367 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
371 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * insetfloat.C (InsetFloat):
374 * insetwrap.C (InsetWrap): do not set layout here.
376 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
380 * insetbase.h (getStatus): add more documentation
381 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
384 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
386 * insetcharstyle.C (metrics, draw):
387 * insetert.C (metrics, draw):
388 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
391 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
393 * insetexternal.C (validate):
394 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
395 multiple Requirements in external material template
397 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
399 * insettext.C (drawFrame): cosmetic fix
401 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
403 * ExternalSupport.C (writeExternal):
404 * insetgraphics.C (latex):
405 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
406 mis-count in computing latex error location
408 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
410 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
411 make it *not* descend into insets (fix a crash). Move the part
412 needed from editXY to a new function getNearestCell
414 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * insetinclude.C (InsetInclude): when constructing from another
417 InsetInclude, set set_label_ to false, since the value is never
420 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
424 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
426 * insettabular.C (drawSelection): cosmetic bugfix
428 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * insettabular.C (doDispatch): get middle mouse button back again
431 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
432 when only a part of the cell is selected (fix bug 1799)
434 * insettabular.C: handle some more character attributes in
435 M. Vermeers method (when multiple cells in tables are selected);
436 disable some more senseless lfuns when multiple cells are selected
438 Move to end of cell instead of beginning when coming from the cell
441 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
443 * insettabular.C: make applying character attributes
444 possible for multiple cells in tables. Disable collapsable
445 insets for multiple-cell selection in table (Jürgen S.)
446 Bug reported by Helge Hafting.
448 2005-02-25 Andreas Vox <avox@arcor.de>
450 * insetmarginal.[hC] (docbook): new method, render as <note>
452 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
454 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
456 * insetcaption.[Ch] (doClone): implement
458 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * insetgraphics.C (prepareFile): handle non-existing files
461 * insetgraphics.C (latex): remove special handling of non-existing
464 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
466 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
467 * insettext.C: adjust metrics
469 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * insettext.C: include boost/current_function.hpp (needed when
472 assertions are disabled)
474 2005-02-20 André Pönitz <poenitz@gmx.net>
476 * insetcollapsable.C: Prevent problems on double-/
477 tripleclick on collapsable label (bug 1797).
479 2005-02-13 André Pönitz <poenitz@gmx.net>
481 * insettext.[Ch] (border_): new
482 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
485 2005-02-14 Angus Leeming <leeming@lyx.org>
487 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
488 about "truncation of constant value".
490 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
492 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
493 workaround for broken HTML converter)
495 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
497 * insetcollapsable.C (leaveInset): size() -> depth()
498 * insettabular.C (isRightToLeft): ditto
500 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
502 * insetert.C (latex, linuxdoc, docbook): remove newline handling
503 * insetert.C (doDispatch): clean pasted paragraphs
504 * insetert.C (getStatus): suppress more lfuns
505 * insetert.C (insetAllowed): return always false
507 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
512 * updatableinset.C: Use new cursor accessors.
514 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
518 2005-01-31 Angus Leeming <leeming@lyx.org>
520 * insetgraphicsParams.C: protect a #warning preprocessor call
521 with a #ifdef WITH_WARNINGS guard.
523 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
525 * Several files: use convert<> instead of atoi,strToXXX and friends
527 2005-01-23 Angus Leeming <leeming@lyx.org>
529 * insetbibitem.h (bibitemWidest): declare the function.
531 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
533 * insetgraphics.C (prepareFile): move the invocation of the default
534 converter to ../converter.C
535 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
536 call convert with try_default == true
538 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
541 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
542 determines what variables are substituted
543 * ExternalSupport.C (updateExternal): fix substitution of
546 2005-01-10 Angus Leeming <leeming@lyx.org>
548 * ExternalTemplate.C: use support/package.h to provide the paths to the
549 various directories used by LyX.
551 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
559 * ExternalTransforms.C (adjAngle): tostr -> convert
561 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
566 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
568 * ExternalTransforms.C: fix LaTeX output of \scalebox.
570 * ExternalTransforms.[Ch]:
571 * insetexternal.C: store all float/double values as strings.
574 * insetgraphicsParams.C: more precise checks for the value strings.
576 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * insettext.C (doDispatch): remove unused variable was_empty
580 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
583 * insetgraphicsParams.[Ch]: store all float/double values as strings.
585 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
587 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
589 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
592 UNSET_ALL_LINES (from Jürgen)
594 2004-12-14 Angus Leeming <leeming@lyx.org>
596 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
597 to overcome bug in the MinGW port of g++ 3.4.2.
599 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
601 * insettabular.C (getCellXPos): make it return a relative x
602 position wrt. the begin of the tabular
603 (resetPos): a couple of fixes
604 (doDispatch): add a couple of resetPos calls
605 (drawSelection): fix drawing of selection in single-cell mode
606 (draw): replace 'do not draw' optimization by 'draw with
609 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
611 * insetbase.[Ch] (idxUpDown2): remove function
613 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * insettabular.[Ch]: use size_t-like types for cell, row and column
618 2004-12-02 José Matos <jamatos@lyx.org>
620 * insetlatexaccent.C (checkContents): remove compatibility code,
623 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
625 * insetbase.h (getStatus): add better comment from src/cursor.C
627 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
629 * insettabular.[Ch]: adjust, introduce "do not draw
630 offscreen" optimization using NullPainter, (dist): introduce,
631 (getCursorPos): implement, (drawSelection): implement
633 * insetcollapsable.[Ch]: adjust
635 * insettext.C: adjust, (metrics): set the font before calling
638 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
640 * rename a lot of InsetOld to InsetBase
642 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
645 * insettext.C: par->pit renaming
647 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * Most insets: rename priv_dispatch to doDispatch
651 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * insettabular.C (tabularFeatures): fix multicolumn handling
655 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
657 * render_base.h (operator=): use common semantics
659 * insettext.C (operator=): delete this
660 (copy constructor): implement this properly
661 (init): use for_each and bind
663 (appendParagraphs): ditto
665 * insettabular.C: add more const. Adjust for changes in tabular.
667 * insetbase.h: Use NVI on clone. Add virtual doClone and update
668 all children, also make copy constructor protected. Added some
669 safe-guards to clone.
671 * insets: adjust to fit.
673 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * insetoptarg.C (latexOptional): return number of lines instead of
678 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * insettabular.[Ch] (string2params): Don't pretend to return the
681 active cell anymore and simplify keyword parsing.
683 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * insetlatexaccent.h (isLetter): implement, so that word selection
686 takes accents into account.
688 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
690 * insetcollapsable.C (priv_dispatch): do not push the inset to the
693 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
695 * ExternalSupport.C, insetgraphics.C:
696 s/getFormatFromContents/formats.getFormatFromFile/
698 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
700 * insetcharstyle.[Ch]:
701 * insetert.[Ch]: implement getStatus
703 * insetcharstyle.C (draw): visual clue when the cursor is inside
706 2004-11-02 José Matos <jamatos@lyx.org>
708 * insetcharstyle.C (docbook):
709 * insetlabel.C (linuxdoc, docbook):
710 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
713 * insettabular.C (docbook): mixed content no longer belongs to
716 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
718 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
720 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * ExternalSupport.C (updateExternal): convert files in the temp dir
724 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
726 * insetcharstyle.C: drawing cosmetics.
728 2004-10-30 José Matos <jamatos@lyx.org>
730 * insetcharstyle.C (docbook): a compromisse solution. Don't output
731 paragraph tags inside inline elements.
733 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
735 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
736 InsetText methods rather than outputVerbatim (escapes special
737 characters) [bug 1731]
738 * insetcharstyle.C (outputVerbatim): remove this function.
739 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
740 which caused an infinite loop.
742 2004-10-29 José Matos <jamatos@lyx.org>
744 * insetgraphics.C (uniqueID): transfered to sgml.C
746 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
748 * insetlabel.C (docbook, linuxdoc):
749 * insetref.C (docbook, linuxdoc): sanitize id.
751 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
754 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
755 * insetgraphics.C (findTargetFormat): reformat
757 2004-10-28 José Matos <jamatos@lyx.org>
759 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
761 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
763 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
765 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
767 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
768 "[,,,]" without warning message
770 2004-10-26 Angus Leeming <leeming@lyx.org>
772 * ExternalSupport.C (updateExternal):
773 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
774 external files to the temp directory.
776 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
779 layouts. This fixes problems with the memoir class (which does not
780 allow \footnote) [bug 1677]
782 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
784 * insetindex.C (docbook): escape the index, to generate correct sgml.
786 2004-10-23 José Matos <jamatos@lyx.org>
788 * insettext.C (docbook): rearrange arguments, due to change in the
791 2004-10-23 André Pönitz <poenitz@gmx.net>
793 * insettabular.C (cutSelection, tabularFereatures):
794 fix cursor position after cutting selection or table rows
796 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
798 * insetgraphics.C (docbook, writeImageObject): write more than one
799 format of imageobjects in <mediaobject>.
801 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
803 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
804 DocBook output for this inset ( <citation>content</citation> )
806 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
808 * insetgraphics.C (docbook) : using mediaobject for XML;
809 correcting bug with SGML output (now '>' instead of '/>')
811 2004-10-05 José Matos <jamatos@lyx.org>
813 * insetfloatlist.C (read):
814 * insetquotes.C (read):
815 * insetspace.C (read):
816 * insetspecialchar.C (read):
817 * insettabular.C (read): replace nextToken by more appropriate lex
820 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
822 * insetgraphics.C (createDocBookAttribute, docbook) :
823 convert scale, width, height and keepaspectratio to Docbook standards)
825 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
826 to Docbook units where possible.
828 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
830 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
832 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
833 as attributes with new method for docbook.
835 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * render_preview.h: Use preferred calling of Boost.Signal
839 * pch.h: use proper signal include
841 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * ExternalTransforms.h: User preferred calling of Boost.Function
845 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
847 * insetref.C (docbook): fixing problem where Docbook XML output
848 had unclosed <xref ... >
850 2004-08-16 José Matos <jamatos@lyx.org>
852 * insethfill.C (write):
853 * insetline.C (write):
854 * insetnewline.C (write):
855 * insetpagebreak.C (write): remove space at end of line.
857 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
859 * insettabular.C (plaintext): do not use ownerPar to get the
862 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
863 and it calls getParentLanguage (which calls ownerPar)
864 (edit): do not call sanitizeEmptyText
865 (priv_dispatch): remove code resetting font on empty inset, for
866 the same reasons as above.
868 * insettabular.C (isRightToLeft): instead of using
869 BufferView::getParentLanguage, use the data from the cursor
871 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
875 * Makefile.am: support pch
877 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * insettabular.C (draw): whitespace
881 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
883 2004-08-14 André Pönitz <poenitz@gmx.net>
885 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
887 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * insettabular.C (metrics): when the width of a cell is zero(),
890 let it use as much space as it can
892 * insettext.C (editXY): compilation fix
894 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
896 (metrics): the insets is not full width any more.
897 (draw): adjust; fix bad test for PREVIEW_OFF
898 (add_preview): fix bad test for PREVIEW_OFF
899 (display): do not return true when using \input
901 2004-08-14 José Matos <jamatos@lyx.org>
903 * insetbibitem.[Ch] (plaintext): added.
905 * insetcite.[Ch]: fix plaintext export.
907 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
909 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
912 * insetcaption.C (InsetCaption): modify call to setDrawFrame
913 * insetcollapsable.C (InsetCollapsable): ditto
914 * insetenv.C (InsetEnvironment): ditto
916 2004-08-14 André Pönitz <poenitz@gmx.net>
919 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
921 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * insetoptarg.C (latexOptional): if the optional argument contains
924 a ']' enclose it in {curly brackets}
926 * insettext.C (editXY):
927 * insettabular.C (editXY):
928 * insetcollapsable.C (editXY):
929 * insetbase.C (editXY): constify
931 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
932 not ask for an update if we did nothing; on a mouse release, make
933 sure that the cursor is moved to the right position; on a mouse
934 release, exit from the inset instead of invoking a
937 * insetbase.C (dispatch): before invoking dispatch, set cursor
938 result to dispatch=update=true.
940 2004-08-13 José Matos <jamatos@lyx.org>
942 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
944 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * insetfoot.C (latex): use OutputParams::intitle instead of
947 parOwner() (avoids time consuming lookup)
949 * insetquotes.C (latex): same as above with OutputParams::lang.
950 Moreover the code actually works now.
952 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
955 * insetinclude.C, insetgraphics.C, insetfloat.C:
956 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
957 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
958 "support/std_sstream.h" to <sstream>
960 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
962 * insetgraphics.C (prepareFile): remove conversion_needed flag.
963 It made the following fail for a .eps graphics file:
965 2) view->pdf (pdflatex)
966 because the .eps file was already in the temp dir when the pdflatex
967 export happened and therefore no .eps -> pdf conversion was done.
969 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
971 * insetgraphics.C, insettabular.C: s/wether/whether/g
973 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
975 * insetgraphics.C (stripExtension): new
976 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
978 * insetgraphics.C (prepareFile): Handle "nice" exports, too
979 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
981 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * insetfloatlist.C (latex,getScreenLabel): translate according to
984 the document language (bug #1312)
986 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
989 with external_in_tmpdir and compute filename ourself
990 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
991 use it to store referenced file(s)
992 * ExternalSupport.C (writeExternal): write relative filename if
994 * ExternalTemplate.[Ch]: add ReferencedFile command
995 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
997 * insetgraphics.C (prepareFile): write relative filename if
999 * insetinclude.C (latex, docbook, linuxdoc): add file to
1000 runparams.exportdata and write it to the temp dir instead of
1001 writing it to the final destination
1002 * insetinclude.C (docbook, linuxdoc): don't copy runparams
1004 2004-05-19 Angus Leeming <leeming@lyx.org>
1006 * insetcite.[Ch]: small change because namespace biblio is
1007 now namespace lyx::biblio.
1009 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1011 * insettabular.[Ch] (buffer): make Buffer * argument const
1013 2004-05-17 Angus Leeming <leeming@lyx.org>
1015 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
1016 to force the button label to be re-generated.
1018 2004-05-14 José Matos <jamatos@lyx.org>
1020 * insetlabel (docbook): do not ouput label, for the moment.
1022 2004-05-14 Angus Leeming <leeming@lyx.org>
1024 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
1025 new biblio::asValidLatexString function.
1027 2004-05-12 Angus Leeming <leeming@lyx.org>
1029 * insetcite.C: use BufferParams::cite_engine rather than the three
1030 bools, use_natbib, use_jurabib, use_numerical_citations.
1032 2004-05-10 Angus Leeming <leeming@lyx.org>
1034 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
1035 Ditto with getStyle, moved to biblio::getEngine.
1037 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * insetgraphics.C (validate): remove pre 233 file format stuff,
1040 handle zipped files for "nice" export
1042 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1044 * insetgraphics.C (prepareFile): copy zipped file and corresponding
1045 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
1046 * insetgraphics.C (prepareFile): unzip zipped file also if it has
1047 changed since the last run
1048 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
1049 and copyFileIfNeeded.
1051 2004-04-29 Angus Leeming <leeming@lyx.org>
1053 * ExternalTemplate.[Ch]: remove redundant #includes.
1055 2004-04-28 Angus Leeming <leeming@lyx.org>
1058 s/updateToolbar()/updateToolbars()/
1060 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1062 * insetgraphics.C: require file extension (file format change!)
1063 * insetgraphics.C (latex): handle zipped files for "nice" export
1065 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1067 * insetgraphics.C (latex): strip the extension and replace dots in
1068 the filename if doing a "nice" export. This is a partial fix for
1069 bug 1231 without reintroducing bug 655.
1071 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1073 * insetoptarg.h: remove the editable() method (InsetCollapsable
1074 does it better already)
1076 * insetbibtex.C (normalize_name): new helper function. Changes the
1077 name to be suitable to use in a latex file (relative to master
1078 buffer if necessary).
1079 (latex): use normalize_name.
1081 2004-04-20 Angus Leeming <leeming@lyx.org>
1083 * render_preview.C (startLoading): remove lyxerr statement.
1085 (getPreviewLoader): new helper function.
1087 2004-04-19 Angus Leeming <leeming@lyx.org>
1091 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
1093 2004-04-19 Angus Leeming <leeming@lyx.org>
1095 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
1097 (add_preview): renamed as add_preview_and_start_loading. Invoke
1098 RenderPreview::startLoading.
1100 * insetinclude.C (metrics, draw): changes due to the changed
1101 RenderPreview interface.
1103 * render_preview.C: remove cached pimage_.
1104 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
1105 (draw): don't call startLoading. That's up to the user of
1108 2004-04-16 Angus Leeming <leeming@lyx.org>
1110 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
1112 2004-04-13 Angus Leeming <leeming@lyx.org>
1114 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
1115 the renderer to inform LyX::updateInset that the inset's status
1116 has changed and it should be redrawn.
1118 * render_button.[Ch] (clone):
1119 * render_graphic.[Ch] (c-tors, clone):
1120 * render_preview.[Ch] (c-tors, clone): ditto.
1122 * render_graphic.[Ch] (connect):
1123 * render_preview.[Ch] (connect): removed, as connection is now
1124 made in the constructors.
1128 * insetinclude.C: ensuing simplification of the client code.
1129 (statusChanged): now superfluous. Removed.
1131 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1133 * ExternalTemplate.[Ch]: remove editCommand
1134 * ExternalSupport.C (editExternal): use formats.edit() instead of
1135 the removed editCommand template parameter
1136 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
1137 * insetgraphics.[Ch] (editGraphics): new method
1139 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * insetinclude.C (validate): set/reset features.buffer_ when
1142 validating the child
1144 2004-04-07 Angus Leeming <leeming@lyx.org>
1146 * insetexternal.C (priv_dispatch):
1147 * insetinclude.C (priv_dispatch): prevent crash by invoking
1148 InsetOld::priv_dispatch at the end of the switch, rather than
1149 InsetOld::dispatch...
1151 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1153 * insetcollapsable.C:
1154 * insetbranch.C: 'assign' to open/close branch inset according to
1155 selection; also print content on closed branch button
1157 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1159 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1160 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1161 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1163 * ExternalSupport.C (updateExternal): use absolute and output
1164 filename where appropriate
1166 2004-04-05 André Pönitz <poenitz@gmx.net>
1168 * insetbase.h: use LCursor & in notifyCursorLeave
1170 2004-04-05 Angus Leeming <leeming@lyx.org>
1172 * insetgraphics.C: remove unused header file "lyxrc.h".
1174 * render_graphic.C: squash bug 1372: Misleading graphics label when
1175 deactivating lyx view.
1177 2004-04-05 Angus Leeming <leeming@lyx.org>
1182 * insetlatexaccent.C:
1187 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1189 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1191 * insetfloat.C (read): fix yesterday's float fix.
1192 * insetwrap.C (read): apply the fixed float fix.
1194 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * insetfloat.C (read): fix reading of float params
1199 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1201 * insettext.C (edit): comment the call to updateLocal (dangling now)
1202 * insettext.h: add allowSpellCheck() returning true
1204 2004-03-31 Angus Leeming <leeming@lyx.org>
1206 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1208 2004-03-31 Angus Leeming <leeming@lyx.org>
1210 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1211 the cursor out of an inset.
1213 * insetbranch.C (priv_dispatch):
1214 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1215 use getOutOfInset to push the cursor out of the inset when
1218 2004-03-30 Angus Leeming <leeming@lyx.org>
1220 * insetbase.[Ch] (translate): new static member function, returns
1221 an InsetBase::Code corresponding to the input string.
1223 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1225 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1226 so that it opens the inset if it refers to the currently active
1229 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1231 * insetfloat.C (addToToc): use par_const_iterator_begin and
1232 par_const_iterator_end.
1234 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1236 * insetbibtex.[Ch]: bibtopic support.
1238 * insetfloat.[Ch]: add param \sideways {true|false}
1239 (support for sideways floats from rotating.sty).
1241 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1243 * insettext.[Ch]: add a default ctor. implement const version of
1249 * insetwrap.C: adjust
1251 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1253 * insettext.h: add insetAllowed returning true by default (fixing
1254 vanishing insets problem)
1256 * insettext.C (draw): handle the responsability of adding the
1257 ouside offset to collapsable. Clean code a bit.
1259 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1260 from insettext correctly, solve a couple of off-by-one drawing
1263 2004-03-25 Angus Leeming <leeming@lyx.org>
1265 * insetcaption.C (draw): squash warning about unused variable.
1267 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1269 * ExternalSupport.C: use the master buffer's temp dir
1270 * insetgraphics.C (latex): make relative filename relative to the
1272 * insetgraphics.C: use the master buffer's temp dir
1273 * insetinclude.C (masterFilename): new function
1274 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1275 is always true if loadIfNeeded() returns true)
1277 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1279 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1280 set its parent to the current buffer.
1281 (latex): use the tmppath of the master buffer, not just the parent
1282 buffer (makes a difference with more than one level of include
1283 insets). If the file name is relative write in the .tex file a
1284 name relative to the master buffer directory.
1286 * insetinclude.C: rename masterFilename to parentFilename (this
1287 points to the direct parent)
1289 2004-03-25 André Pönitz <poenitz@gmx.net>
1291 * inset.[Ch]: remover owner
1293 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1301 * insetcharstyle.[Ch]:
1309 * insetwrap.C: adjust
1311 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1313 * insetquote.C: use opening quote after '[' char.
1315 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1317 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1320 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * insetcite.[Ch]: support jurabib.
1324 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1326 * insetcite.C: Support second \cite option.
1328 * insetcommand.[Ch]:
1329 * insetcommandparams.[Ch]: add second optional argument.
1331 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1333 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1334 shows the inset dialog.
1336 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1338 * insetlabel.[Ch]: remove them
1339 * Makefile.am: adjust
1341 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1343 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1345 * insetinclude.C (latex): show a GUI warning if textclasses don't
1347 * insetinclude.C: use mangledFilename() for temp files
1348 * insetgraphics.C (readInsetGraphics): remove version check, since
1349 the graphics inset has no own fileformat number anymore
1351 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1353 * insetquotes.[Ch]: added new member that allows direct access
1354 to single/double quotation marks.
1355 * insetnewline.[Ch]:
1356 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1358 2004-02-16 André Pönitz <poenitz@gmx.net>
1361 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1362 implicitly assume 'DispatchResult(true, true) with exception of
1363 InsetBase::priv_dispatch which does the equivalent of
1364 'retrun DispatchResult(false)'
1366 * inset*.[Ch] (priv_dispatch): adjust
1368 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1369 simplify cursor moving function,
1370 re-enable horizontal scrolling for large tables
1372 2004-02-13 André Pönitz <poenitz@gmx.net>
1374 * insettabular.[Ch]: some work after IU
1376 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1378 * inset.C (setPosCache): switch to absolute coords in insets
1379 * insettext.[Ch] (draw, drawFrame): adjust
1380 * insetcollapsable.C (draw): adjust
1383 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1385 * insettext.C (edit):
1386 (updateLocal): use the cur argument instead of the global cursor
1387 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1389 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1393 * insetfloat.C (validate): "H" -> 'H' in call to contains
1395 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1397 2004-01-30 André Pönitz <poenitz@gmx.net>
1401 * insetcollapsable.[Ch]:
1404 * insetgraphics.[Ch]:
1406 * insettabular.[Ch]:
1409 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1412 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1414 * insettabular.C: add using statement for std::vector, remove
1415 std:: where using was already used.
1417 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1419 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1421 * insetinclude.C (validate): use feautures.nice() instead of
1424 2004-01-20 André Pönitz <poenitz@gmx.net>
1427 * insetbase.[Ch]: move stuff from mathcursor here.
1429 * insetbibitem.[Ch]:
1433 * insetcharstyle.[Ch]:
1434 * insetcollapsable.[Ch]:
1435 * insetcommand.[Ch]:
1437 * insetexternal.[Ch]:
1439 * insetgraphics.[Ch]:
1440 * insetinclude.[Ch]:
1444 * insettabular.[Ch]:
1448 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1451 2004-01-15 André Pönitz <poenitz@gmx.net>
1454 * insetbibitem.[Ch]:
1458 * insetcharstyle.[Ch]:
1459 * insetcollapsable.[Ch]:
1460 * insetcommand.[Ch]:
1462 * insetexternal.[Ch]:
1464 * insetgraphics.[Ch]:
1465 * insetinclude.[Ch]:
1469 * insettabular.[Ch]:
1473 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1475 2004-01-08 André Pönitz <poenitz@gmx.net>
1477 * insetcollapsable.[Ch]:
1478 * insettabular.[Ch]:
1480 * updatableinset.h: use cell index info from global cursor.
1482 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1484 * insetnote.C (InsetNoteParams::write): write label only once
1486 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1488 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1490 get rid of the SameName functor
1492 * insettabular.C: improve the functor.
1494 2003-12-29 Angus Leeming <leeming@lyx.org>
1496 * insetexternal.C (setParams): update defaultTemplateName.
1498 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1500 * insetbox.C: Use term "Box" in button label
1502 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1504 * insetcharstyle.C: get getDrawFont working again
1506 2003-12-15 André Pönitz <poenitz@gmx.net>
1508 * insettabular.[Ch]:
1509 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1511 2003-12-12 Angus Leeming <leeming@lyx.org>
1513 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1515 (InsetBranchParams): remove the branchlist hack.
1516 (isBranchSelected): new function, used to decide whether to
1517 print each output format. Also used by InsetList.
1518 (read, string2params): repair my own breakage ;-)
1520 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * insetminipage.[Ch]: remove from repository.
1524 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1527 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1528 insetert to insetcollapsable; introduce virtual function
1529 setButtonLabel and invoke it from collapsable
1531 2003-12-12 Angus Leeming <leeming@lyx.org>
1533 * insetinclude.C (draw): cache x,y and so enable the
1534 dialog to be opened.
1536 2003-12-12 Angus Leeming <leeming@lyx.org>
1538 * mailinset.C (print_mailer_error): tidy up the output.
1540 2003-12-11 Angus Leeming <leeming@lyx.org>
1542 * mailinset.[Ch] (print_mailer_error): new helper function.
1544 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1545 calling InsetCommandMailer.
1546 (InsetCommandMailer::string2params): pass the name of the dialog.
1548 * insetbibitem.[Ch] (d-tor):
1549 * insetbibtex.[Ch] (d-tor):
1550 * insetcite.[Ch] (d-tor):
1551 * insetfloatlist.[Ch] (d-tor):
1552 * insetindex.[Ch] (d-tor):
1553 * insetlabel.[Ch] (d-tor):
1554 * insetref.[Ch] (d-tor):
1555 * insettoc.[Ch] (d-tor):
1556 * inseturl.[Ch] (d-tor): removed.
1557 Hiding the dialog is handled by InsetCommand.
1559 * insetbibtex.[Ch] (draw, metrics):
1560 * insetfloatlist.[Ch] (draw, metrics):
1561 * insetindex.[Ch] (draw, metrics): removed.
1562 Drawing is handled by InsetCommand.
1564 * insetbibitem.[Ch] (priv_dispatch):
1565 * insetbibtex.[Ch] (priv_dispatch):
1566 * insetcite.[Ch] (priv_dispatch):
1567 * insetfloatlist.[Ch] (priv_dispatch):
1568 * insetindex.[Ch] (priv_dispatch):
1569 * insetlabel.[Ch] (priv_dispatch):
1570 * insettoc.[Ch] (priv_dispatch):
1571 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1572 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1573 LFUN_INSET_DIALOG_SHOW.
1575 * insetbox.C (string2params):
1576 * insetbranch.C (string2params):
1577 * insetert.C (string2params):
1578 * insetexternal.C (string2params):
1579 * insetfloat.C (string2params):
1580 * insetinclude.C (string2params):
1581 * insetminipage.C (string2params):
1582 * insetnote.C (string2params):
1583 * insetvspace.C (string2params):
1584 * insetwrap.C (string2params): over-hauled.
1586 2003-12-10 Angus Leeming <leeming@lyx.org>
1588 * insetexternal.[Ch]: add a draft option and respect it when
1591 2003-12-10 Angus Leeming <leeming@lyx.org>
1593 * insetbox.C: (read, write): now prepend the inset contents with
1594 'Box' to identify the inset as a box inset.
1596 * insetbox.h: move the translators out of sight.
1598 2003-12-10 Angus Leeming <leeming@lyx.org>
1600 * insetert.C (string2params): clean-up using the new lyxlex interface.
1602 * insetexternal.C: ensure that InsetExternalParams has a default
1603 template, 'RasterImage'.
1605 2003-12-10 Angus Leeming <leeming@lyx.org>
1607 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1608 to an enum. Ensuing clean-ups through out the class.
1609 (read, write): now prepend the inset contents with 'Note' to identify
1610 the inset as a note inset.
1612 2003-12-10 Angus Leeming <leeming@lyx.org>
1614 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1615 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1617 2003-12-10 André Pönitz <poenitz@gmx.net>
1621 * insettabular.[Ch]:
1622 * insettext.[Ch]: remove unused insetInset()
1624 * insetert.C: disable some LFUNs
1626 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1628 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1630 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1632 2003-12-04 Angus Leeming <leeming@lyx.org>
1634 * insetexternal.C (draw): update the xo_, yo_ cache.
1636 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1638 (RotationDataType): new helper struct wrapping the
1639 RotationData::OriginType enum.
1641 2003-12-03 André Pönitz <poenitz@gmx.net>
1643 * inset.h: remove getParagraphs()
1645 * insetcollapsable.[Ch]:
1648 * insettabular.[Ch]:
1649 * insettext.C: use getText() instead of getParagraphs()
1651 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1653 * insetert.C: fix label text updating bug
1655 2003-12-02 Angus Leeming <leeming@lyx.org>
1657 * insetvspace.[Ch] (space): new member function. Make space_ private.
1658 (read): use the new, simpler lyxlex syntax.
1660 2003-12-01 André Pönitz <poenitz@gmx.net>
1662 * insetcollapsable.[Ch]:
1663 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1665 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1667 * insetvspace.C (read): handle 'end_inset' token.
1669 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1671 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1673 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1675 * insetcollapsable.[Ch]:
1677 * insetcharstyle.C: place inset content on the button when
1680 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1682 * insetvspace.C: remove VSpace::NONE; increase inset width
1684 2003-12-01 André Pönitz <poenitz@gmx.net>
1686 * insetbase.h: whitespace
1688 * inset.[Ch]: remove latexTextWidth
1689 make setBackgroundColor virtual
1691 * insettext.[Ch]: move ParagraphList member to LyXText
1693 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1699 * insetminipage.[Ch]:
1701 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1703 2003-11-28 Angus Leeming <leeming@lyx.org>
1705 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1706 hiding and showing the dialog respectively.
1707 (priv_dispatch): also actually update the inset contents.
1709 2003-11-28 Angus Leeming <leeming@lyx.org>
1711 * insetbox.C (d-tor):
1712 * insetbranch.C (d-tor):
1713 * insetcite.C (d-tor):
1714 * insetfloat.C (d-tor):
1715 * insetfloatlist.C (d-tor):
1716 * insetinclude.C (d-tor):
1717 * insetindex.C (d-tor):
1718 simplify the invocation of the Mailer::hideDialog() function.
1720 * insetminipage.C (showInsetDialog):
1721 simplify the invocation of the Mailer::showialog() function.
1723 2003-11-28 André Pönitz <poenitz@gmx.net>
1726 * insetvspace.[Ch]: new insets
1728 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1730 * insetcharstyle.C: Syntax change for CharStyles
1732 2003-11-28 André Pönitz <poenitz@gmx.net>
1734 * updatableinset.h: remove insetInInsetY
1736 * insetcollapsable.[Ch]:
1738 * insettabular.[Ch]:
1739 * insettext.[Ch]: adjust
1741 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1745 * insetcollapsable.[Ch]:
1747 * insettabular.[Ch]: remove setFont
1749 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1751 * render_graphic.[Ch]: adjust comments
1753 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1755 * insetgraphics.C (draw): cache xo_ & yo_
1757 2003-11-24 André Pönitz <poenitz@gmx.net>
1759 * insettext.C (setViewCache): don't call LyXText::init() anymore
1761 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1764 * insetcollapsable.[Ch]:
1765 * insetert.[Ch]: remove bufferview parameter in methods
1766 open, close, status, and updateStatus.
1768 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1770 * insetcollapsable.[Ch]:
1771 * insettabular.[Ch]:
1772 * insettext.[Ch] (getCursorDim): squash unused variable
1774 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1776 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1778 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1780 * insettext.C (draw): sets LyXText absolute coordinates
1782 2003-11-20 Angus Leeming <leeming@lyx.org>
1784 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1785 warnings about unused parameters.
1787 * insetcollapsable.C (open):
1788 * insettabular.C (pasteSelection):
1789 * insettoc.C (draw): ditto.
1791 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1793 * insetcollapsable.C:
1795 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1796 remove mouse_x mouse_y etc.
1798 2003-11-17 André Pönitz <poenitz@gmx.net>
1800 * insettext.[Ch] (cx, cy): remove
1802 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1804 2003-11-13 André Pönitz <poenitz@gmx.net>
1807 * insetcollapsable.[Ch]:
1808 * insettabular.[Ch]:
1809 * insettext.[Ch] (deleteLyXText): remove
1811 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1813 * insetcollapsable.[Ch] (fitInsetCursor): remove
1814 * insettabular.[Ch] (fitInsetCursor): remove
1815 * insettext.[Ch] (fitInsetCursor): remove
1816 * updatableinset.[Ch] (fitInsetCursor): remove
1817 (getCursorDIm): add virtual
1819 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1821 * src/insets/Makefile.am:
1822 * src/insets/inset.h:
1823 * src/insets/insetcharstyle.C:
1824 * src/insets/insetcharstyle.h: The Character Style /XML short
1827 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1829 * insettext.C: remove all update calls
1830 * insetcollapsable.C: remove all update calls
1832 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1834 * insettext.C (updateLocal, insertInset, setFont): remove
1837 2003-11-10 André Pönitz <poenitz@gmx.net>
1839 * inset.h: remove Inset::id_
1841 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1846 2003-11-10 André Pönitz <poenitz@gmx.net>
1850 * insetcollapsable.[Ch]:
1854 * insettabular.[Ch]:
1857 * updatableinset.[Ch]: remove inset locking & adjust
1859 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1861 * inset.h (allowSpellCheck): add (return true)
1862 * insetert.h (allowSpellCheck): add (return false)
1864 2003-11-05 José Matos <jamatos@lyx.org>
1870 * insetcaption.[Ch]:
1872 * insetcollapsable.[Ch]:
1873 * insetcommand.[Ch]:
1876 * insetexternal.[Ch]:
1878 * insetfloatlist.[Ch]:
1880 * insetgraphics.[Ch]:
1882 * insetinclude.[Ch]:
1885 * insetlatexaccent.[Ch]:
1888 * insetmarginal.[Ch]:
1889 * insetminipage.[Ch]:
1890 * insetnewline.[Ch]:
1893 * insetpagebreak.[Ch]:
1897 * insetspecialchar.[Ch]:
1898 * insettabular.[Ch]:
1900 * insettheorem.[Ch]:
1903 * insetwrap.[Ch]: rename ascii to plaintext
1904 and LatexRunParams to OutputParams.
1906 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1908 * insetcollapsable.C (edit): add open() all
1909 * insettext.C (edit): add setViewCache call
1911 2003-11-04 André Pönitz <poenitz@gmx.net>
1913 * inset.h (edit): move locking code from dispatch() to edit()
1919 * insetcollapsable.[Ch]:
1922 * insetexternal.[Ch]:
1923 * insetgraphics.[Ch]:
1928 * insettabular.[Ch]:
1929 * insettext.[Ch]: adjust
1931 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1934 * insetcollapsable.[Ch]:
1936 * insettabular.[Ch]:
1938 * updatableinset.[Ch]: remove dead search code
1940 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1943 * insetcollapsable.[Ch]:
1945 * insettabular.[Ch]:
1947 * updatableinset.[Ch]: remove dead spellcheck code
1949 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1951 * insettabular.C (lockInsetInInset): small fix
1953 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1956 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1957 from here. Be stricter on DispatchResult returned.
1959 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * Inset::dispatch's: adjust for new DispatchResult semantics.
1963 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * render_base.h: make clone return an auto_ptr
1966 * render_button.C (clone): adjust
1967 * render_graphic.C (clone): adjust
1968 * render_preview.C (clone): adjust
1970 * insettheorem.C (clone): return an auto_ptr
1972 * insettext.C (priv_dispatch): exception safety
1974 * insettabular.C: store the file scope variable paste_tabular in a
1975 scoped_ptr, adjust usage.
1977 * insetexternal.C (setParams): exception safety
1979 * insetbibitem.C (clone): exception safety
1981 2003-11-03 André Pönitz <poenitz@gmx.net>
1984 * insetcollapsable.[Ch]:
1985 * insettabular.[Ch]:
1986 * insettext.[Ch]: remove Inset::id and related functions
1988 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * insets: adjust for DispatchResult changes.
1992 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1994 * insetpagebreak.C: fix screen representation & ascii output.
1996 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
2000 * insettabular.[Ch]:
2001 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
2003 2003-10-31 José Matos <jamatos@lyx.org>
2005 * inset.h (ascii, linuxdoc, docbook):
2006 * insetbox.[Ch] (ascii, linuxdoc, docbook):
2007 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
2008 * insetcaption.[Ch] (ascii, docbook):
2009 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
2010 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
2011 * insetert.[Ch] (ascii, linuxdoc, docbook):
2012 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
2013 * insetfloat.[Ch] (linuxdoc, docbook):
2014 * insetfloatlist.[Ch] (ascii):
2015 * insetfoot.[Ch] (docbook):
2016 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
2017 * insethfill.[Ch] (ascii, linuxdoc, docbook):
2018 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
2019 * insetindex.[Ch] (docbook):
2020 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
2021 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
2022 * insetline.[Ch] (ascii, linuxdoc, docbook):
2023 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
2024 * insetnote.[Ch] (ascii, linuxdoc, docbook):
2025 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
2026 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
2027 * insetref.[Ch] (ascii, linuxdoc, docbook):
2028 * insetspace.[Ch] (ascii, linuxdoc, docbook):
2029 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2030 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
2031 * insettext.[Ch] (ascii, linuxdoc, docbook):
2032 * insettoc.[Ch] (ascii, linuxdoc, docbook):
2033 * inseturl.[Ch] (ascii, linuxdoc, docbook):
2034 * insetwrap.[Ch] (docbook):
2035 add LatexRunParams argument.
2037 2003-10-30 José Matos <jamatos@lyx.org>
2039 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
2041 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * updatableinset.C (priv_dispatch):
2044 * insetwrap.C (priv_dispatch):
2045 * inseturl.C (priv_dispatch):
2046 * insettoc.C (priv_dispatch):
2047 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
2048 (moveLeftIntern, moveUp, moveDown):
2049 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
2050 (moveLeft, moveUp, moveDown):
2051 * insetref.C (priv_dispatch):
2052 * insetnote.C (priv_dispatch):
2053 * insetminipage.C (priv_dispatch):
2054 * insetlabel.C (priv_dispatch):
2055 * insetindex.C (priv_dispatch):
2056 * insetinclude.C (priv_dispatch):
2057 * insetgraphics.C (priv_dispatch):
2058 * insetfloatlist.C (priv_dispatch):
2059 * insetfloat.C (priv_dispatch):
2060 * insetexternal.C (priv_dispatch):
2061 * insetert.C (priv_dispatch):
2062 * insetcommand.C (priv_dispatch):
2063 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
2064 * insetcite.C (priv_dispatch):
2065 * insetbranch.C (priv_dispatch):
2066 * insetbox.C (priv_dispatch):
2067 * insetbibtex.C (priv_dispatch):
2068 * insetbibitem.C (priv_dispatch):
2069 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
2071 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2073 * insettext.C: small refactoring of docbook stuff
2075 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
2078 (priv_dispatch): adjust for operator dispatch_result_t removal
2080 * insettabular.C (lfunMouseRelease): put the result of a dispatch
2081 in a DispatchResult, adjust accordingly.
2082 (priv_dispatch): use strange >= construct... (will be removed later)
2084 * most insets: dispatch_result -> DispatchResult
2086 * insetbase.h: move DispatchResult out to dispatchresult.h
2088 2003-10-27 André Pönitz <poenitz@gmx.net>
2090 * insetpagebreak.[Ch]: new inset for page breaks
2092 * insetline.[Ch]: new inset for vertical lines
2097 2003-10-25 Angus Leeming <leeming@lyx.org>
2099 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
2100 new virtual member functions, specialised...
2101 * render_button.h (asButton):
2102 * render_graphic.h (asGraphic):
2103 * render_preview.h (asPreview, asMonitoredPreview): ... here.
2105 * insetexternal.C: use these new functions rather than dynamic_cast.
2106 Various other small simplifications.
2108 2003-10-22 Angus Leeming <leeming@lyx.org>
2110 * insetexternal.[Ch]: add the ability to 'preview' the external file
2113 * insetinclude.C: changes due to the changes in the RenderPreview
2116 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
2117 message if the preview image is not available. Only initiate the
2118 loading of the preview from draw(). Ditto, start the monitoring
2119 of an external file from RenderMonitoredPreview::draw.
2121 2003-10-22 Angus Leeming <leeming@lyx.org>
2123 * insetcite.[Ch] (setLoadingBuffer): removed.
2124 (getNatbibLabel): use the new Buffer::fully_loaded member function to
2125 ascertain whether to proceed with the (expensive) task of computing
2126 the natbib-style label. Remove the home-grown hack providing
2127 similar functionality.
2129 2003-10-22 Angus Leeming <leeming@lyx.org>
2131 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
2132 class and into an anonymous namespace.
2134 2003-10-22 Angus Leeming <leeming@lyx.org>
2136 * insetcommand.h: remove the display method.
2140 * insetindex.h (InsetPrintIndex):
2141 * insettoc.h: add a display method, returning true.
2143 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2145 * insetcollapsable.h:
2149 * insetinclude.h: (1) finish off the inset display() work;
2150 (2) fix the "is a bit silly" bug (accessing char
2153 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2157 * insetfootlike.h: re-introduce display() for insets,
2158 fixing the various bugs (stretch of line above, math inset
2161 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2163 * insetbase.C (dispatch): new func
2164 (priv_dispatch): new func replaces...
2165 (localDispatch): this, deleted.
2167 * all insets with dispatch modified for new code.
2169 2003-10-15 André Pönitz <poenitz@gmx.net>
2171 * insetcollapsable.[Ch]
2173 * inset.h: re-add some edit(bv, index) method called by undo
2175 2003-10-14 Angus Leeming <leeming@lyx.org>
2177 * insetexternal.[Ch] (view, cache, view_):
2178 * insetgraphics.[Ch] (view, cache, view_):
2179 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2180 (statusChanged): call LyX::cref().updateInset.
2182 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2183 the BufferView cache.
2185 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2188 2003-10-14 Angus Leeming <leeming@lyx.org>
2190 * insetinclude.C (metrics, draw): only draw the preview when previews
2193 2003-10-14 André Pönitz <poenitz@gmx.net>
2195 * insetcollapsable.[Ch]:
2196 * insettabular.[Ch]:
2198 * inset.h: getText() as alternative to getParagraphs()
2200 2003-10-13 Angus Leeming <leeming@lyx.org>
2203 * insetgraphicsParams.C: displayTranslator is now a function.
2205 2003-10-13 Angus Leeming <leeming@lyx.org>
2207 * insetinclude.C: remove #include "PreviewImage.h".
2209 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2211 * ExternalSupport.C:
2212 * ExternalTransforms.C:
2214 * insetbox.h: ws changes only
2216 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * insetinclude.C (localDispatch): do not call
2219 InsetOld::localDispatch, just return UNDISPATCHED
2220 * insetgraphics.C (localDispatch): ditto
2221 * insetcommand.C (localDispatch): ditto
2223 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * inset.h: get rid of RESULT typedef for dispatch_result
2227 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2228 * insetert.[Ch] (localDispatch): ditto
2229 * insettabular.[Ch] (localDispatch): ditto
2234 * insettext.[Ch] (localDispatch): ditto
2237 (moveRightIntern): ditto
2238 (moveLeftIntern): ditto
2241 * updatableinset.[Ch] (localDispatch): ditto
2243 2003-10-12 Angus Leeming <leeming@lyx.org>
2245 * renderbase.h (view, view_): removed.
2246 * renderbase.C: removed.
2247 * Makefile.am: remove render_base.C. The shortest lived file in
2250 * renderbutton.C (draw):
2251 * render_graphic.C (draw): don't cache the BufferView.
2253 * insetabase.h (cache, view): removed.
2255 * inset.h (generatePreview) removed.
2257 * insetcallapsable.[Ch] (cache, view, view_): removed.
2259 * insetcollapsable.C (draw): don't cache the BufferView.
2261 * insetcommand.[Ch] (view): removed.
2263 * insetexternal.[Ch] (cache, view, view_):
2264 * insetgraphics.[Ch] (cache, view, view_):
2265 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2267 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2268 when you have direct access to it. In fact, don't use the cache at all.
2270 2003-10-10 Angus Leeming <leeming@lyx.org>
2272 * insetinclude.C (metrics): use preview_->metrics.
2273 (draw): use preview_->draw.
2275 * render_preview.[Ch] (pimage): removed.
2277 2003-10-10 Angus Leeming <leeming@lyx.org>
2279 * renderers.[Ch]: removed.
2282 * render_button.[Ch]:
2283 * render_graphic.[Ch]:
2284 * render_preview.[Ch]: new files. The first three are split out of
2285 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2286 contains a re-worked InsetInclude::PreviewImpl also.
2288 * Makefile.am: reflect the changed files.
2291 * insetexternal.[Ch]:
2292 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2294 * insetinclude.[Ch]: changes reflecting the change from
2295 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2301 * inseturl.C: add #include "support/std_ostream.h"
2303 2003-10-09 Angus Leeming <leeming@lyx.org>
2305 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2306 to PreviewedInset::previewReady.
2308 2003-10-09 Angus Leeming <leeming@lyx.org>
2310 * insetexternal.[Ch] (statusChanged):
2311 * insetgraphics.[Ch] (statusChanged): make a const member function.
2313 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2316 2003-10-09 Angus Leeming <leeming@lyx.org>
2318 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2319 to PreviewedInset's previewReady and removePreview member functions.
2321 2003-10-08 André Pönitz <poenitz@gmx.net>
2323 * insetcollapsable.C:
2324 * insettext.[Ch]: saner 'init' structure
2326 * updatableinset.[Ch]: remove unneeded code
2328 2003-10-08 Angus Leeming <leeming@lyx.org>
2330 Fix doxygen warnings.
2332 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2333 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2335 2003-10-07 Angus Leeming <leeming@lyx.org>
2337 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2338 be applied to InsetExternal.
2340 * Makefile.am: add these new files.
2342 * ExternalTemplate.[Ch]: add a list of available transforms to
2343 class Template and a list of factory functions for transformer classes
2344 that can act on this data to class Format.
2346 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2348 * ExternalSupport.C: Add code to replace transform placeholders
2349 with appropriate output.
2351 2003-10-07 Angus Leeming <leeming@lyx.org>
2353 * ExternalSupport.[Ch]: new files, moving the private member functions
2354 and namespace anon functions out of insetexternal.C to here, so making
2355 it easier to understand what is going on in insetexternal itself.
2357 * Makefile.am: add new files.
2359 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2360 allowing the class to be forward declared. (Also consistent with
2361 all other Params classes.)
2362 (write): moved out of the class. Move this function and those in
2363 namespace anon to ExternalSupport.[Ch].
2365 2003-10-07 Angus Leeming <leeming@lyx.org>
2367 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2368 non-const member function.
2370 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2375 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2377 2003-10-02 André Pönitz <poenitz@gmx.net>
2379 * insettext.C (read): make sure there is at least one par
2380 in the text after reading.
2382 2003-10-01 José Matos <jamatos@lyx.org>
2384 * insetbranch.C (linuxdoc, docbook): minor fix.
2386 2003-10-01 Angus Leeming <leeming@lyx.org>
2388 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2390 * insetexternal.[Ch]: changes due to the introduction of
2391 namespace lyx::external.
2393 2003-09-30 Angus Leeming <leeming@lyx.org>
2395 * insetexternal.[Ch] (Params::read, write): new member functions.
2397 2003-09-25 Angus Leeming <leeming@lyx.org>
2399 * insetexternal.[Ch] (TempName): new (private) nested struct with
2400 fake copy semantics. Enables us to use the generated copy c-tor
2401 in the Params struct.
2402 (Params::templatename, Params::tempname): use accessor functions.
2404 2003-09-25 Angus Leeming <leeming@lyx.org>
2406 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2407 function, returning a const pointer.
2409 2003-09-23 Angus Leeming <leeming@lyx.org>
2411 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2412 store them in a vector, preambleNames.
2414 * insetexternal.C (validate): loop over all preambleNames and call
2415 LaTeXFeatures::addExternalPreamble with each.
2417 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2419 * insetbranch.C: bug fix in branches
2421 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2423 * insetnote.C: small clean-up.
2425 2003-09-19 Angus Leeming <leeming@lyx.org>
2427 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2429 * insetcommand.C (string2params): clear params using the default c-tor.
2431 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2432 InsetInclude::Params. No more data in this struct than in
2433 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2434 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2435 (clone): remove #warning as it's now redundant.
2436 (set): add a 'Buffer const &' arg. Make private.
2437 (loadIfNeeded) move out of the class definition and into namespace anon.
2438 (getMasterFilename, getFileName): ditto.
2440 2003-09-18 Angus Leeming <leeming@lyx.org>
2442 * insetcommand.C (setParams): use the params' copy constructor.
2444 2003-09-18 Angus Leeming <leeming@lyx.org>
2446 * insetinsetbase.h (getLabelList):
2447 * insetinsetcollapsable.[Ch] (getLabelList):
2448 * insetinsetinclude.[Ch] (getLabelList):
2449 * insetinsetlabel.[Ch] (getLabelList):
2450 * insetinsettabular.[Ch] (getLabelList):
2451 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2452 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2454 2003-09-18 Angus Leeming <leeming@lyx.org>
2456 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2457 redundant baggage from yesteryear.
2458 Remove Params::flag as it is redundant; the info is present in
2461 2003-09-18 Angus Leeming <leeming@lyx.org>
2463 * insetinclude.C (latexString): add a Buffer const & arg.
2465 2003-09-18 Angus Leeming <leeming@lyx.org>
2470 * insettext.h: rename EnumLColor as LColor_color.
2472 2003-09-18 Angus Leeming <leeming@lyx.org>
2474 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2475 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2477 2003-09-16 Angus Leeming <leeming@lyx.org>
2479 * insetinclude.C (localDispatch): ensure that
2480 params_.masterFilename_ is set before trying to generate a
2481 preview, else we trigger an assert.
2483 2003-09-16 Angus Leeming <leeming@lyx.org>
2485 * insetinclude.C (PreviewImpl::parent): return a const reference.
2487 2003-09-16 Angus Leeming <leeming@lyx.org>
2489 * insetcollapsable.[Ch]: make all member variables, except for
2492 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2493 than access labelfont directly.
2494 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2495 use InsetCollapsable::setCollapsed, isOpen rather than access
2496 collapsed_ directly.
2498 * insetminipage.C (metrics):
2499 * insetnote.C (metrics):
2500 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2501 access collapsed_ directly.
2503 2003-09-16 Angus Leeming <leeming@lyx.org>
2505 * insetbibitem.C: add #include "lyxfont.h".
2507 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * insetbibtex.C: use namespace alias for lyx::support::os
2512 2003-09-16 Angus Leeming <leeming@lyx.org>
2514 * insetcollapsable.h: remove unused framecolor variable.
2515 Remove #include "LColor.h".
2517 * insetcollapsable.C: remove unused framecolor variable.
2520 * insetcollapsable.C:
2528 Add #include "LColor.h".
2530 2003-09-16 Angus Leeming <leeming@lyx.org>
2532 * insettext.[Ch] (frameColor): new accessor function.
2533 (frame_color_): stored as an int, allows us to remove #include
2534 "LColor.h" from insettext.h
2539 add #include "LColor.h".
2541 * insetcollapsable.h: add #include "LColor.h"
2542 (for its framecolor member variable).
2544 2003-09-16 Angus Leeming <leeming@lyx.org>
2546 * insetenv.C (constructor): use accessor functions to access
2547 InsetText variables.
2549 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2550 rename frame_color as frame_color_. Make private.
2552 * insettext.C: associated changes.
2554 2003-09-16 Angus Leeming <leeming@lyx.org>
2556 * inset.h: store background_color_ as an int, not as an
2557 LColor::color to get LColor.h out of the header file.
2560 * insetlatexaccent.C:
2563 * insetspecialchar.C:
2565 add #include "LColor.h".
2567 2003-09-16 Angus Leeming <leeming@lyx.org>
2569 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2570 cannot string calls together.
2572 2003-09-15 Angus Leeming <leeming@lyx.org>
2574 * inset.[Ch] (setBackgroundColor, backgroundColor):
2575 * insettext.[Ch] (setFrameColor):
2576 pass EnumLColor args, rather than LColor::color ones.
2578 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * insetwrap.C: remove usage of STRCONV
2590 2003-09-15 Angus Leeming <leeming@lyx.org>
2592 * renderers.C (draw):
2593 * insetlatexaccent.C (draw): explicitly define the color passed to
2596 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2598 * insettext.C: remove block causing problems in lockInsetInInset
2599 (mentioned erroneously under Bug #1366)
2601 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2603 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2606 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2608 * several files: change Assert to BOOST_ASSERT
2610 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2612 * insettext.[Ch]: remove drawText[XY]Offset
2614 2003-09-08 Angus Leeming <leeming@lyx.org>
2616 * insetcollapsable.C:
2621 * insetspecialchar.C:
2624 * insettoc.C: remove redundant using directives.
2626 2003-09-07 Angus Leeming <leeming@lyx.org>
2629 * insetspecialchar.h: remove #include "support/std_string.h".
2631 2003-09-06 Angus Leeming <leeming@lyx.org>
2633 * renderers.C: add #include "insets/inset.h"
2635 2003-09-05 Angus Leeming <leeming@lyx.org>
2637 * *.C: strip out redundant #includes. (193 in total.)
2639 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2641 * insets/insetbibtex.[Ch]:
2642 * insets/insetcommand.h:
2643 * insets/insetfloatlist.[Ch]:
2644 * insets/insetinclude.[Ch]:
2645 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2646 of insets like bibtex, include, toc and floatlist to the visible
2647 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2648 up the dialogs. Cursor has to be in front of the inset (i.e.
2649 start of row) for this to function.
2651 2003-09-04 Angus Leeming <leeming@lyx.org>
2653 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2654 structure outside of the Format struct. Format::preambleName refers to
2655 an item in the map of all preamble snippets.
2656 Make use of the new Debug::EXTERNAL flag.
2658 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2659 (validate): Small change due to the changed storage of preamble
2662 2003-09-04 Angus Leeming <leeming@lyx.org>
2664 * insetgraphics.C: #include "support/os.h"
2666 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2667 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2668 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2670 * insetcollapsable.h:
2672 * insetnote.C: move #include "funcrequest.h" out of the header file.
2674 2003-09-03 Angus Leeming <leeming@lyx.org>
2676 * insetexternal.C (updateExternal):
2677 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2680 2003-09-03 Angus Leeming <leeming@lyx.org>
2682 * insetexternal.C: don't bring namespace lyx::support into the global
2685 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2687 * insetbranch.C: Add Branch: to label
2689 2003-09-02 John Levon <levon@movementarian.org>
2692 * insettext.C: remove cursor.i[xy]()
2694 2003-08-28 Angus Leeming <leeming@lyx.org>
2696 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2697 "sh ", enabling the conversion to be carried out even if the script
2700 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * most files: change to use const Buffer refs
2704 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2706 * insetfootlike.C: whitespace.
2708 2003-08-26 John Levon <levon@movementarian.org>
2712 * insetindex.h: remove remaining mentions of needFullRow()
2714 2003-08-26 André Pönitz <poenitz@gmx.net>
2720 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2722 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2724 * insetbranch.C: Small fix to prevent a crash on loading.
2726 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2731 * insetcollapsable.h:
2733 * insetfloatlist.[Ch]:
2734 * insetfootlike.[Ch]:
2735 * insetinclude.[Ch]:
2741 * insettheorem.[Ch]:
2742 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2743 altogether, putting the logic in metrics/draw in the insets.=20
2744 Draws short single row insets with more or less realistic metrics.
2746 2003-08-19 André Pönitz <poenitz@gmx.net>
2748 * insettext.C: use new RowPainter interface
2750 2003-08-18 John Levon <levon@movementarian.org>
2752 * insetref.C: require amsmath for eqref
2754 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2758 * insetbranch.[Ch]: implements the 'branch inset'
2759 idea. This allows the output of various versions of a document
2760 from a single source version, selectively outputing or suppressing
2761 output of parts of the text.
2762 This implementation contains a 'branch list editor' in a separate
2763 tab of the document settings dialog. Branches are user definable
2764 and have a "display colour" to distinguish them on-screen.
2766 ColorHandler was somewhat cleaned up.
2767 (1) make possible a dynamically growing LColor list by allowing
2768 the graphic context cache to grow along (vector);
2769 (2) eliminate an IMHO unnecessary step in colour allocation.
2771 2003-08-15 André Pönitz <poenitz@gmx.net>
2773 * insettext.[Ch]: adjust after rowlist split
2775 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2777 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2778 rename valign-center to valign-middle;
2779 rename VALIGN_CENTER to VALIGN_MIDDLE
2781 2003-08-11 André Pönitz <poenitz@gmx.net>
2783 * inset.h: remove resizeLyXText
2786 * insetcollapsable.[Ch]:
2788 * insettabular.[Ch]: adjust
2790 * insettext.[Ch]: remove saveLyXTextState,
2791 restoreLyXTextStat, sstate, reinitLyXText
2793 2003-08-07 André Pönitz <poenitz@gmx.net>
2795 * inset.[Ch]: move non-crucial functions out-of-line
2797 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2798 remove duplicated code.
2800 2003-08-05 André Pönitz <poenitz@gmx.net>
2803 * insetcollapsable.[Ch]:
2813 * insettabular.[Ch]:
2816 * updatableinset.[Ch]: rip out "deep update"
2818 * insettext.C (localDispatch): merge cases with default branch
2820 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2822 * insettabular.[Ch] (updateLocal): simplify logic
2824 2003-08-04 André Pönitz <poenitz@gmx.net>
2826 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2827 is 'FULL' all the time.
2829 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * insetert.C (get_new_label): only add ... to the (closed) label
2832 when the string has been shortened
2834 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2836 * Always use std::endl with lyxerr
2838 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2840 * insetnote.C: update \author list
2842 2003-07-31 André Pönitz <poenitz@gmx.net>
2844 * insetcollapsable.h:
2845 * insettabular.[Ch]:
2846 * insettext.[Ch]: remove toggleSelection
2848 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2850 (with help from Juergen Spitzmueller)
2851 * insetnote.C: add add i18n support. Use Prefs-definable
2852 colours for Comment and Greyedout.
2854 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2856 * insetcollapsable.[Ch]:
2858 * insetert.C: factor out the detection of clicking on the inset
2859 button as 'hitButton'. John Levon contributed.
2861 2003-07-30 André Pönitz <poenitz@gmx.net>
2863 * insetcollapsable.C:
2865 * insettabular.C: parantheses, localize vars etc.
2867 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2869 * insetnote.C: Implement a newenvironment in preamble for
2870 greyedout. Patch provided by Jürgen Spitzmüller.
2872 2003-07-29 Angus Leeming <leeming@lyx.org>
2874 * insetcommand.C (localDispatch): default to
2875 InsetOld::localDispatch.
2877 * insetbibitem.C (localDispatch):
2878 * insetbibtex.C (localDispatch): remove call to
2879 ChangeCitationsIfUnique.
2881 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2883 * insetexternal.C (read): use pushpophelper.
2885 2003-07-28 José Matos <jamatos@lyx.org>
2887 * insetext.C (read): \end_document replaces \the_end.
2889 2003-07-28 José Matos <jamatos@fep.up.pt>
2891 * insetert.C (write): \layout -> \begin_layout.
2892 Add missing \end_layout.
2894 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * insetquotes.C: document a bit the format
2898 * insettabular.C (write): remove extra space
2900 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2901 * insetnote.C: Umpf. Hope I *now* get it right :-(
2903 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2904 *insetnote.C: did the right fix to greyedout: \color
2905 instead of \textcolor.
2907 2003-07-28 Angus Leeming <leeming@lyx.org>
2909 * insetbibtex.h: remove extraneous forward declaration.
2912 * insetbibtex.h: Also remove long-dead Holder member class
2915 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2917 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2920 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * insetwrap.C (addToToc): adjust for lyx::toc
2924 * insetfloatlist.C (ascii): adjust for lyx::toc
2926 * insetfloat.C (addToToc): adjust for lyx::toc
2928 2003-07-27 José Matos <jamatos@fep.up.pt>
2930 * insetnote.h (linuxdoc,docbook): update support.
2932 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2934 * insetfloat.C (wide): add a space to label, for consistency
2936 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * insettext.C (nextChange): adjust for lyx::find
2939 (searchForward): ditto
2940 (searchBackward): ditto
2942 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2944 * insetgraphicsParams.C:
2945 * insetexternal.C: declare extern displayTranslator
2948 * renderers.C: add #include "support/LAssert.h"
2950 2003-07-27 José Matos <jamatos@fep.up.pt>
2952 * insetfloat.[Ch] (linuxdoc):
2953 * insetgraphics.C (linuxdoc):
2954 * insettabular.C (linuxdoc):
2955 * insettext.[Ch] (linuxdoc): add support for tables and figures
2958 2003-07-27 José Matos <jamatos@fep.up.pt>
2960 * insetinclude (latex): comply with makeLaTeXFile argument change.
2962 2003-07-26 Asger Alstrup <alstrup@local>
2964 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2965 the undo crashes. We'll see what problems other places this will
2968 2003-07-26 Angus Leeming <leeming@lyx.org>
2970 * insetgraphics.C: remove unused declaration of system_tempdir.
2972 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * rename Inset to InsetOld
2976 * all inset files (clone): return a auto_ptr<InsetBase>
2978 2003-07-23 Angus Leeming <leeming@lyx.org>
2980 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2982 2003-07-23 Angus Leeming <leeming@lyx.org>
2984 * mailinset.[Ch] (inset2string):
2985 * insetcommand.[Ch] (inset2string):
2986 * insetert.[Ch] (inset2string):
2987 * insetexternal.[Ch] (inset2string):
2988 * insetfloat.[Ch] (inset2string):
2989 * insetgraphics.[Ch] (inset2string):
2990 * insetinclude.[Ch] (inset2string):
2991 * insetminipage.[Ch] (inset2string):
2992 * insetnote.[Ch] (inset2string):
2993 * insettabular.[Ch] (inset2string):
2994 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2996 * insetexternal.[Ch]:
2997 * insetgraphics.[Ch]: get rid of the view() function. Associated
2998 changes to the mailers' string2params and params2string functions.
3000 2003-07-23 Angus Leeming <leeming@lyx.org>
3002 * insetexternal.[Ch]: store the external file name in a FileName
3003 member variable rather than a string + associated changes.
3005 2003-07-21 Angus Leeming <leeming@lyx.org>
3007 * insetgraphicsParams.[Ch]: store the graphics file name in
3008 a FileName member variable rather than a string.
3010 * insetgraphics.[Ch]:
3011 * insetgraphicsParams.[Ch]: Associated changes.
3013 2003-07-21 Angus Leeming <leeming@lyx.org>
3015 * insetgraphics.[Ch] (string2params, params2string): passed a
3016 buffer_path argument.
3019 2003-07-21 Angus Leeming <leeming@lyx.org>
3022 * insetgraphicsParams.[Ch]:
3024 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
3026 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
3028 * insetnote.C: fixed greyout and conditionals layout foul-ups.
3030 2003-07-18 André Pönitz <poenitz@gmx.net>
3033 * insetminipage.[Ch]:
3034 * insettabular.[Ch]:
3037 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
3039 2003-07-18 André Pönitz <poenitz@gmx.net>
3043 * insetcollapsable.C:
3047 * insetgraphics.[Ch]:
3048 * insetlatexaccent.[Ch]:
3053 * insetspecialchar.C:
3054 * insettabular.[Ch]:
3056 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
3058 2003-07-17 André Pönitz <poenitz@gmx.net>
3060 * insetcollapsable.C:
3062 * insettext.C: don't call Inset::update() anymore
3065 * insettabular.[Ch]: remove unneeded in_update_ members
3067 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
3069 2003-07-16 André Pönitz <poenitz@gmx.net>
3071 * insettext.C (selectAll): remove
3073 2003-07-16 John Levon <levon@movementarian.org>
3076 * insetnote.C: implement showInsetDialog()
3078 2003-07-15 André Pönitz <poenitz@gmx.net>
3081 * insettext.C: refresh_status tristate -> need_update bool
3083 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3085 * insettext.C: adjust call to LyXText::init
3087 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3089 * insettext.C: use bufferview_funcs->replaceSelection()
3090 to delete selections in some cases (bugs 441, 673, 702, 954).
3092 2003-07-14 André Pönitz <poenitz@gmx.net>
3094 * insettext.C (draw): use slimmed down rowpainter interface
3096 2003-07-14 André Pönitz <poenitz@gmx.net>
3098 * insetcollapsable.C:
3100 * insettext.[Ch] (cy, ciy, setUpdateStatus):
3101 remove unused BufferView * argument
3103 2003-07-14 André Pönitz <poenitz@gmx.net>
3105 * insettext.[Ch]: used cached metrics a bit more
3107 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
3109 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
3111 2003-07-10 André Pönitz <poenitz@gmx.net>
3114 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
3116 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * introduce namespace lyx::graphics
3120 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * introduce namespace lyx::support
3124 2003-06-30 André Pönitz <poenitz@gmx.net>
3126 * insetcite.C (localDispatch): fix case of missing return value
3128 * insetcite.C (ascii): remove unneeded temporary
3130 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * insetspace.h: fix \file
3134 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
3135 * insetinclude.C (fillWithBibKeys): ditto
3137 * insetbibitem.C: fix type const order
3139 * inset.C (getLyXText): add varname for arg
3141 * ExternalTemplate.h: fix type const order
3143 2003-06-27 André Pönitz <poenitz@gmx.net>
3145 * insettext.C: take care of removed LyXCursor::row_ member
3147 * insettext.[Ch]: use new TextCursor struct for sstate
3149 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3151 * inseterror.[Ch]: removed
3153 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3155 * insetinclude.C (docbook): use parseError instead of sgmlError
3157 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3159 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3160 of BufferList::loadLyXFile
3162 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * insettext.C (update): simplify
3165 (updateLocal): remove commented code
3166 (insetUnlock): simplify
3167 (lockInset): simplify
3168 (updateInsetInInset): simplify
3169 (localDispatch): simplify
3171 (resizeLyXText): simplify
3172 (collapseParagraphs): simplify
3174 * insetert.C (get_new_label): simplify
3176 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3178 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3179 pasteSelection with index
3181 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3183 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3185 2003-06-16 André Pönitz <poenitz@gmx.net>
3187 * insetbase.h: new virtual base function clone()
3189 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3190 Inset * clone() -> InsetBase * clone()
3192 2003-06-13 André Pönitz <poenitz@gmx.net>
3194 * insettabular.[Ch]: make tabular a proper member
3196 2003-06-12 André Pönitz <poenitz@gmx.net>
3198 * insettabular.[Ch]: some renaming plus whitespace
3200 2003-06-11 Angus Leeming <leeming@lyx.org>
3202 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3205 * insetbutton.[Ch]: removed.
3206 * graphicinset.[Ch]: renamed as renderers.[Ch].
3208 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3209 Create a new class ButtonRenderer using the InsetButton::metrics() and
3211 Derive both from a common RenderedInset base class.
3213 * insetcommand.[Ch]:
3214 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3215 Give it a ButtonRenderer member variable. Use it.
3216 Give the classes working copy c-tors.
3217 No longer derive from boost::noncopyable.
3219 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3220 display its contents as a button or as a graphic.
3222 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3225 2003-06-11 Angus Leeming <leeming@lyx.org>
3227 * insetcite.C (localDispatch): reformat.
3229 * insetref.C (localDispatch): enable dialog to be lauched.
3231 2003-06-11 John Levon <levon@movementarian.org>
3233 * insettabular.C: correctly mark all cells as erased
3235 2003-06-11 Angus Leeming <leeming@lyx.org>
3237 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3238 ExternalTemplate but its name, templatename. This means that a file
3239 containing a reference to an External Template not installed on the
3240 current machine will be saved retaining this info rather than inserting
3241 the first "valid" template from the list of templates.
3243 As a by product, the visual statement that the Template is missing is
3246 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3248 * insettext.C (appendParagraphs): remove some commented code.
3250 2003-06-10 Angus Leeming <leeming@lyx.org>
3252 * graphicinset.[Ch] (view): removed the publicly accessible
3253 function to set the cache.
3255 * insetexternal.[Ch]: move tempname_ into the Params struct.
3256 (Params d-tor): new function, to clean-up this temp file.
3257 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3259 (editExternal, doSubstitution): move out of class.
3261 2003-06-10 Angus Leeming <leeming@lyx.org>
3263 * graphicinset.[Ch] (params): removed.
3264 * graphicinset.h (operator=): declared private but not defined.
3265 (statusMessage): made private.
3267 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3269 2003-06-07 John Levon <levon@movementarian.org>
3271 * insetert.C (latex): make a newline mean just that not
3274 2003-06-07 José Matos <jamatos@fep.up.pt>
3276 * insethfill.[Ch] (linuxdoc, docbook): implement output
3277 * insetspace.C (linuxdoc, docbook): remove coments as the code
3280 2003-06-06 José Matos <jamatos@fep.up.pt>
3282 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3284 2003-06-06 André Pönitz <poenitz@gmx.net>
3286 * insetwrap.[Ch]: code compactification
3288 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3290 * mailinset.C (updateDialog): use Dialogs::visible
3292 2003-06-04 Angus Leeming <leeming@lyx.org>
3294 * graphicinset.C (draw): add a comment for the #if 0 block.
3296 * insetexternal.h: remove Params::parameters variable.
3298 * insetexternal.C (read, write): rewrite to output new ExternalInset
3299 format and read it back making full use of LyXLex.
3301 2003-06-04 André Pönitz <poenitz@gmx.net>
3303 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3305 2003-06-04 John Levon <levon@movementarian.org>
3307 * insettabular.C: back out tall table speed up. It was broken
3309 2003-06-03 Angus Leeming <leeming@lyx.org>
3311 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3312 Remove ViewCommand and UpdateCommand.
3314 * graphicinset.C (update): bug fix. Set the params before calling the
3317 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3318 the BufferView cache to enable the InsetExternal::editCommand to
3319 be invoked from the frontends. Would not be needed if this were
3320 dispatched properly.
3321 (old_ascent_): variable removed.
3323 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3324 do any necessary conversions of external material. Also use the
3325 new GraphicsInset to display the inset within LyX.
3327 2003-06-03 Angus Leeming <leeming@lyx.org>
3329 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3330 and move it somewhere where InsetExternal can use it too.
3332 * Makefile.am: add the new files.
3334 * insetgraphics.[Ch]: make use of the new GraphicInset.
3336 2003-06-03 John Levon <levon@movementarian.org>
3339 * insetbibitem.[Ch]:
3342 * insetcommand.[Ch]:
3346 * insetexternal.[Ch]:
3350 * insetgraphics.[Ch]:
3352 * insetinclude.[Ch]:
3355 * insetlatexaccent.[Ch]:
3356 * insetmarginal.[Ch]:
3357 * insetminipage.[Ch]:
3364 * insetspecialchar.[Ch]:
3365 * insettabular.[Ch]:
3367 * insetthereom.[Ch]:
3370 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3372 * insetgraphics.[Ch]:
3373 * insetgraphicsParams.[Ch]: always store an absolute
3376 2003-06-02 André Pönitz <poenitz@gmx.net>
3380 * insetlatexaccent.C: remove duplicated call to metrics()
3382 2003-06-02 John Levon <levon@movementarian.org>
3384 * insettabular.C: fix resize of column width
3386 2003-06-02 John Levon <levon@movementarian.org>
3391 * insetparent.C: remove insetparent
3393 2003-06-02 André Pönitz <poenitz@gmx.net>
3400 * insetcollapsable.[Ch]:
3404 * insetgraphics.[Ch]:
3405 * insetinclude.[Ch]:
3406 * insetlatexaccent.[Ch]:
3407 * insetminipage.[Ch]:
3408 * insetnewline.[Ch]:
3411 * insetspecialchar.[Ch]:
3412 * insettabular.[Ch]:
3413 * insettext.[Ch]: unify first drawing phase
3416 * insetbase.h: move validate() to the base
3418 2003-05-31 Angus Leeming <leeming@lyx.org>
3420 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3422 2003-05-30 André Pönitz <poenitz@gmx.net>
3427 * insetcaption.[Ch]:
3428 * insetcollapsable.[Ch]:
3431 * insetgraphics.[Ch]:
3432 * insetinclude.[Ch]:
3433 * insetlatexaccent.[Ch]:
3434 * insetnewline.[Ch]:
3437 * insetspecialchar.[Ch]:
3438 * insettabular.[Ch]:
3440 * updatableinset.[Ch]: unify second drawing phase
3442 2003-05-30 John Levon <levon@movementarian.org>
3444 * insetgraphics.C: fix a bformat
3446 2003-05-29 John Levon <levon@movementarian.org>
3448 * insettabular.C: remove unused bufferOwner()
3450 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * insettext.C (lockInsetInInset): adjust
3453 (getLabelList): use const_iterator, adjust
3454 (getInsetFromID): use const_iterator, adjust
3455 (addPreview): use const_iterator, adjust
3457 * insetwrap.C (clone): remove const_cast
3459 * insetnote.C (clone): remove const_cast
3461 * insetminipage.C (clone): remove const_cast
3463 * insetmarginal.C (clone): remove const_cast
3465 * insetfoot.C (clone): remove const_cast
3467 * insetfloat.C (clone): remove const_cast
3469 * insetert.C (clone): remove const_cast
3471 * delete commented same_id functions from a lot of files.
3473 2003-05-28 John Levon <levon@movementarian.org>
3479 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3481 * insetminipage.C: fix metrics (bug 1144)
3483 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * insettext.C (saveLyXTextState): adjust
3486 (restoreLyXTextState): adjust
3489 (unlockInsetInInset): adjust
3490 (localDispatch): adjust
3491 (getLyXText): adjust
3493 * insettabular.C (insertAsciiString): adjust
3495 2003-05-27 André Pönitz <poenitz@gmx.net>
3498 * insetcollapsable.C:
3501 * insetlatexaccent.C:
3506 * insetspecialchar.C:
3508 * insettext.C: dim.w -> dim.wid
3510 2003-05-26 John Levon <levon@movementarian.org>
3512 * insettabular.C: avoid drawing all of a long table
3513 if it's not needed. A big speedup
3515 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * remove same_id from function signatures, adjust
3519 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * insettext.C (InsetText): adjust
3523 (setParagraphData): separate same_id cases, adjust
3524 (appendParagraphs): adjust
3525 (appendParagraphs): adjust
3527 2003-05-23 André Pönitz <poenitz@gmx.net>
3529 * insetbutton.h: whitespace
3531 * insettabular.C: more compact code
3533 * updatableinset.C: remove const_cast
3536 2003-05-23 Angus Leeming <leeming@lyx.org>
3538 * insetexternal.C (write): check how many lines are output.
3539 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3540 if the template has defined it.
3542 2003-05-23 Angus Leeming <leeming@lyx.org>
3544 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3546 2003-05-23 Angus Leeming <leeming@lyx.org>
3548 * insetfoot.C (latex):
3549 * inseturl.C (latex): rename fragile as moving_arg.
3551 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3553 * inseterror.C (localDispatch): comment out unused var.
3555 2003-05-22 Angus Leeming <leeming@lyx.org>
3557 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3558 passed through the LatexRunParams arg.
3560 2003-05-22 Angus Leeming <leeming@lyx.org>
3562 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3563 through the LatexRunParams arg.
3565 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3566 arg rather than through a global var.
3568 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * insetspecialchar.C (dimension): use a string.
3572 2003-05-22 Angus Leeming <leeming@lyx.org>
3574 * insetbibtex.C (latex):
3575 * insetgraphics.C (latex):
3576 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3577 runparams rather than from the buffer itself.
3579 2003-05-22 Angus Leeming <leeming@lyx.org>
3581 * inset*.[Ch] (latex):
3582 passed a LatexRunParams parameter.
3584 * insetgraphics.C (latex): actually use it ;-)
3586 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3588 * insetfloat.C (addToToc): trivial compile fix
3590 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * insettext.[Ch] (paragraph): delete unused function
3594 * insetfloat.C (addToToc): parlist simplfication
3596 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3598 * insetspace.[Ch]: added (new space insets)
3600 * inset.h: handle new space insets
3602 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * insetfloat.C (addToToc): adjust
3606 2003-05-21 André Pönitz <poenitz@gmx.net>
3608 * insettext.[Ch]: fix drawing bug introduced earlier
3610 2003-05-19 André Pönitz <poenitz@gmx.net>
3612 * insetspecialchar.C: fix bug introduced yesterday
3614 2003-05-19 André Pönitz <poenitz@gmx.net>
3618 * insetcollapsable.[Ch]:
3622 * insetgraphics.[Ch]:
3623 * insetgraphicsParams.[Ch]:
3624 * insetlatexaccent.[Ch]:
3625 * insetminipage.[Ch]:
3626 * insetnewline.[Ch]:
3628 * insetspecialchar.[Ch]:
3629 * insettabular.[Ch]:
3630 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3632 2003-05-19 André Pönitz <poenitz@gmx.net>
3635 * insettext.C: more insetenv
3637 2003-05-16 André Pönitz <poenitz@gmx.net>
3640 * insetminimpage.[Ch]:
3641 * insetcollapsable.[Ch]: fix #832
3643 2003-05-16 André Pönitz <poenitz@gmx.net>
3646 * insetbibitem.[Ch]:
3650 * insetcollapsable.[Ch]:
3651 * insetcommand.[Ch]:
3654 * insetexternal.[Ch]:
3655 * insetfloatlist.[Ch]:
3656 * insetgraphics.[Ch]:
3657 * insetinclude.[Ch]:
3660 * insetlatexaccent.[Ch]:
3663 * insettabular.[Ch]:
3667 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3669 2003-05-13 André Pönitz <poenitz@gmx.net>
3672 * insetcollapsable.C:
3676 * insetwrap.C: tostr from own header
3688 * insetwrap.C: STRCONV
3691 2003-05-12 André Pönitz <poenitz@gmx.net>
3703 * insetwwrap.C: boost::format -> bformat all over the place
3705 2003-05-05 André Pönitz <poenitz@gmx.net>
3707 * insettext.h: add missing #include <map>
3709 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * insettext.C (InsetText): parlist cleanup
3714 (insetUnlock): ditto
3716 (lockInsetInInset): ditto
3720 (searchBackward): ditto
3721 (collapseParagraphs): ditto
3723 2003-05-06 John Levon <levon@movementarian.org>
3725 * insetcaption.C: don't cast wrap inset to InsetFloat
3728 * insetfloat.C: remove unneeded type() function
3730 2003-05-05 André Pönitz <poenitz@gmx.net>
3734 * insettabular.[Ch]:
3735 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3736 replace getFirstParagraph() by getParagraphs()
3738 2003-05-03 John Levon <levon@movementarian.org>
3740 * insetcollapsable.h:
3741 * insetcollapsable.C:
3747 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3748 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3749 getCursor(). Remove explicit cursor hides.
3751 2003-05-02 André Pönitz <poenitz@gmx.net>
3753 * insettext.C: remove unneeded &*
3755 2003-04-30 John Levon <levon@movementarian.org>
3757 * insettabular.C: fix edit message
3759 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * insettext.C (setFont): do not convert iterator -> pointer
3763 * insettabular.C (localDispatch): do not convert iterator -> pointer
3765 (tabularFeatures): ditto
3767 2003-04-29 André Pönitz <poenitz@gmx.net>
3769 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3771 2003-04-28 André Pönitz <poenitz@gmx.net>
3773 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3776 2003-04-25 André Pönitz <poenitz@gmx.net>
3778 * insetenv.C: derive from InsetText instead of InsetCollapsable
3780 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * insetexternal.C (string2params): dont do anything if the string
3784 * insetgraphics.C (string2params): ditto
3785 * insetcommand.C (string2params): ditto
3786 * insetert.C (string2params): ditto
3787 * insetfloat.C (string2params): ditto
3788 * insetinclude.C (string2params): ditto
3789 * insetminipage.C (string2params): ditto
3790 * insettabular.C (string2params): ditto
3791 * insetwrap.C (string2params): ditto
3793 2003-04-24 André Pönitz <poenitz@gmx.net>
3795 * insetref.C: support for eqref
3797 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * insetert.C (read): use ParagraphList::iterator.
3801 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * insetquotes.C (latex): comment some code and add warnings.
3805 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3807 * insetexternal.C (localDispatch): added a missing DISPATCHED
3809 2003-04-12 John Levon <levon@movementarian.org>
3811 * insetwrap.C (addToToc): fix a crash, conversion
3812 from while to for loop forgot to remove the explicit
3815 2003-04-10 John Levon <levon@movementarian.org>
3817 * insettabular.C (tabularFeature): make sure
3818 to update the dialog when we change something
3821 (getStatus): don't disable some lfuns (bug 939)
3823 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * insettext.C (saveLyXTextState): adjust
3826 (localDispatch): adjust
3832 * insettabular.C (localDispatch): adjust
3834 (tabularFeatures): adjust
3836 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3838 * insettabular.C (searchForward,searchBackward): fix bug 782
3840 2003-04-07 John Levon <levon@movementarian.org>
3843 * insettext.C: clear status message on inset exit
3845 2003-04-03 John Levon <levon@movementarian.org>
3847 * insetcommand.C: return dispatched on DIALOG_UPDATE
3849 2003-04-02 John Levon <levon@movementarian.org>
3851 * insettabular.C: tab lfuns renamed
3853 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * insettext.C (update): move towards ParagraphList
3856 (updateLocal): ditto
3858 (insetUnlock): ditto
3860 (lockInsetInInset): ditto
3861 (updateInsetInInset): ditto
3862 (localDispatch): ditto
3865 (resizeLyXText): ditto
3866 (searchBackward): ditto
3867 (collapseParagraphs): ditto
3870 * insetwrap.C (InsetWrap): adjust
3871 (addToToc): adjust and rewrite loop
3873 * insettext.[Ch] (paragraph): delete function
3875 * insettabular.C (moveNextCell): adjust
3876 (movePrevCell): adjust
3877 (insertAsciiString): adjust
3879 * insetfloat.C (InsetFloat): adjust
3882 * insetert.C (InsetERT): adjust
3883 (write): adjust, and rewrite loop
3884 (latex): adjust, and rewrite loop
3885 (linuxdoc): adjust, and rewrite loop
3886 (docbook): adjust, and rewrite loop
3887 (localDispatch): adjust
3888 (get_new_label): adjust
3890 2003-04-01 John Levon <levon@movementarian.org>
3892 From Alfredo Braunstein
3895 * insetbutton.C: add localDispatch()
3897 * insetcommand.C: return DISPATCHED when edit() called
3899 * insettext.C: fix bug 967
3901 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * insettext.C: adjust
3905 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * insettext.C (draw): adjust
3908 (crow): return a RowList::iterator not a Row*
3910 * insetminipage.C (localDispatch): adjust
3912 * insetert.C (localDispatch): adjust
3914 2003-03-31 John Levon <levon@movementarian.org>
3917 * insetgraphicsParams.C: use_gui moved to lyx_gui
3919 2003-03-31 John Levon <levon@movementarian.org>
3921 * insettext.C: Alert fix
3923 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * insettext.C (ascent): adjust for RowList
3928 (getLyXText): adjust
3929 (toggleSelection): adjust
3931 * insetminipage.C (localDispatch): adjust for RowList
3933 * insetert.C (localDispatch): adjust for RowList
3934 (getMaxWidth): adjust for RowList
3936 2003-03-29 John Levon <levon@movementarian.org>
3938 * insetert.C: Alert cleanup
3940 2003-03-29 John Levon <levon@movementarian.org>
3942 * insettabular.C: Alert fix
3944 2003-03-28 John Levon <levon@movementarian.org>
3946 * insetfloat.C: reset label on INSET_MODIFY
3948 2003-03-28 John Levon <levon@movementarian.org>
3950 * insetgraphicsParams.C: read subcaptionText as a whole line
3953 2003-03-28 John Levon <levon@movementarian.org>
3955 * insettext.C: remove unused prototypes
3957 2003-03-25 Angus Leeming <leeming@lyx.org>
3959 * insetbibitem.C (localDispatch): repaint the view after modifying
3960 a bibitem inset in case the maximum InsetBibitem width has changed.
3962 2003-03-25 John Levon <levon@movementarian.org>
3965 * insettabular.C: LyXText renamings
3967 2003-03-24 John Levon <levon@movementarian.org>
3969 * insettext.C: remove some dead code. Fix bug 972 and
3970 related by posting a repaint in updateLocal(), and making
3971 the SEL functions set SELECTION.
3973 2003-03-22 John Levon <levon@movementarian.org>
3976 * inset.C: remove no-longer-needed topx_set
3978 * insetcollapsable.h:
3979 * insetcollapsable.C: remove dead code
3982 * insetert.C: rebreak the rows when a possible
3983 change in size is made, and reset the cursor
3986 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3988 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3989 topx_set. Fix drawing errors for clearInset(). Remove
3990 some unnecessary uses of topx, which should die.
3992 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3993 is no longer needed. Replace it with an ugly hack.
3995 2003-03-20 John Levon <levon@movementarian.org>
3998 * insetcollapsable.h:
3999 * insetcollapsable.C:
4007 * insettext.C: remove spurious font parameter
4008 from update(). Fix drawing of ERT insets inside
4009 insets (bug 966). Remove unused mark_dirty from
4010 tabular's updateLocal()
4012 2003-03-19 John Levon <levon@movementarian.org>
4021 * insetwrap.C: remove unused getter/setters
4023 2003-03-19 John Levon <levon@movementarian.org>
4025 * several files: bv->updateInset() doesn't take
4026 a bool mark_dirty any more
4028 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * adjust for BufferView* arg removal from lyxtext.
4032 2003-03-17 John Levon <levon@movementarian.org>
4034 * most files: remove the "cleared" parameter
4035 to draw in favour of always clearing. Associated
4038 2003-03-16 John Levon <levon@movementarian.org>
4040 * insettext.C: remove unused s.refresh
4042 2003-03-13 Angus Leeming <leeming@lyx.org>
4044 * insettext.C (edit): replace Dialogs::updateParagraph with
4045 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
4047 2003-03-13 André Pönitz <poenitz@gmx.net>
4049 * Makefile.am: insert insetenv
4051 * insethenv.[Ch]: new files, currently inactive
4053 2003-03-12 John Levon <levon@movementarian.org>
4063 * insettext.C: use new insetnewline
4065 2003-03-12 John Levon <levon@movementarian.org>
4067 * insettext.C: readToken became readParagraph
4069 2003-03-12 John Levon <levon@movementarian.org>
4071 * insettext.C: use parlist iterator for reading contents
4073 2003-03-12 John Levon <levon@movementarian.org>
4075 * insettext.C: name change to readToken()
4077 2003-03-11 André Pönitz <poenitz@gmx.net>
4079 * Makefile.am: insert insethfill
4081 * insethfill.[Ch]: new files
4083 2003-03-10 Angus Leeming <leeming@lyx.org>
4085 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
4087 (hideDialog): calls the new static Dialogs::hide() method.
4089 * insetbibitem.C (edit):
4090 * insetbibtex.C (edit):
4091 * insetcite.C (edit):
4092 * insetcommand.C (localDispatch):
4093 * inseterror.C (d-tor):
4094 * insetert.C (showInsetDialog):
4095 * insetexternal.C (localDispatch, edit):
4096 * insetfloat.C (localDispatch, showInsetDialog):
4097 * insetfloatlist.C (edit):
4098 * insetgraphics.C (localDispatch, edit):
4099 * insetinclude.C (localDispatch, edit):
4100 * insetindex.C (edit):
4101 * insetlabel.C (edit):
4102 * insetminipage.C (localDispatch, showInsetDialog):
4103 * insetref.C (edit):
4104 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
4105 resetPos, showInsetDialog, openLayoutDialog):
4106 * insettoc.C (edit):
4107 * inseturl.C (edit):
4108 * insetwrap.C (localDispatch, showInsetDialog):
4109 changes due to the changed MailInset interface.
4111 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
4113 * insetfloat.h: Set default placement to an empty string.
4115 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4117 * insettext.C (latex): adjust call to latexParagraphs.
4119 2003-03-10 Angus Leeming <leeming@lyx.org>
4121 * mailinset.C: warn the user if the BufferView has not been cached.
4123 2003-03-10 Angus Leeming <leeming@lyx.org>
4125 * inset.h, insetbase.h: move cache() and view() into InsetBase.
4127 * insetcommand.h (inset):
4128 * insetert.h (inset):
4129 * insetexternal.h (inset):
4130 * insetfloat.h (inset):
4131 * insetgraphics.h (inset):
4132 * insetinclude.h (inset):
4133 * insetminipage.h (inset):
4134 * insettabular.h (inset):
4135 * insetwrap.h (inset):
4136 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4138 2003-03-10 Angus Leeming <leeming@lyx.org>
4140 * insetcommand.C (string2params):
4141 * insetexternal.C (string2params):
4142 * insetfloat.C (string2params):
4143 * insetgraphics.C (string2params):
4144 * insetinclude.C (string2params):
4145 * insetminipage.C (string2params):
4146 * insettabular.C (string2params):
4147 * insetwrap.C (string2params): cure warning message about missing
4150 2003-03-09 Angus Leeming <leeming@lyx.org>
4152 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4153 it to communicate with the frontend dialogs.
4155 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4156 contents of this inset!
4158 2003-03-07 Angus Leeming <leeming@lyx.org>
4160 * inseterror.C (localDispatch): new method; calls edit() on
4163 2003-03-07 Angus Leeming <leeming@lyx.org>
4165 * insetbibitem.C (localDispatch):
4166 * insetbibtex.C (localDispatch):
4167 * insetlabel.C (localDispatch):
4168 rewrite as a switch.
4170 2003-03-07 Angus Leeming <leeming@lyx.org>
4172 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4173 it to communicate with the frontend dialogs.
4175 2003-03-07 Angus Leeming <leeming@lyx.org>
4177 * insetexternal.C: remove operator== and operator!= for
4178 InsetExternal::Params. They were used only by the old controller
4181 2003-03-07 Angus Leeming <leeming@lyx.org>
4183 * insetcommand.C (localDispatch):
4184 * insetexternal.C (localDispatch):
4185 * insetfloat.C (localDispatch):
4186 * insetinclude.C (localDispatch):
4187 * insetminipage.C (localDispatch):
4188 * insetwrap.C (localDispatch):
4189 add LFUN_INSET_DIALOG_UPDATE to the switch.
4191 2003-03-07 Angus Leeming <leeming@lyx.org>
4193 * insetcommand.C (string2params):
4194 * insetexternal.C (string2params):
4195 * insetfloat.C (string2params):
4196 * insetinclude.C (string2params):
4197 * insetwrap.C (string2params): use LyXLeX more.
4200 * insetexternal.[Ch]:
4202 * insetinclude.[Ch]:
4203 * insetwrap.[Ch]: change Mailer::name_ to be static.
4205 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4206 it to communicate with the frontend dialogs.
4208 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4211 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4213 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * insettext.C (updateLocal): un-const function
4216 (updateLocal): adjust
4217 (collapseParagraphs): un-const function
4218 (collapseParagraphs): adjust
4220 2003-03-05 Angus Leeming <leeming@lyx.org>
4222 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4223 it to communicate with the frontend dialogs.
4225 2003-03-05 Angus Leeming <leeming@lyx.org>
4227 * insetcollapsable.C (draw): cache the BufferView.
4229 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4230 it to communicate with the frontend dialogs.
4232 2003-03-05 Angus Leeming <leeming@lyx.org>
4234 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4237 2003-03-05 Angus Leeming <leeming@lyx.org>
4239 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4241 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4242 it to communicate with the frontend dialogs.
4244 2003-03-05 Angus Leeming <leeming@lyx.org>
4246 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4247 it to communicate with the frontend dialogs.
4249 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * insettext.C (collapseParagraphs): adjust
4252 (appendParagraphs): make it take a Buffer* instead of a
4253 BufferParams& as arg.
4254 (appendParagraphs): adjust
4256 2003-03-04 Angus Leeming <leeming@lyx.org>
4258 * insetbibitem.C (localDispatch):
4259 * insetbibtex.C (localDispatch):
4260 * insetcommand.C (localDispatch):
4261 * insetert.C (localDispatch):
4262 * insetlabel.C (localDispatch):
4263 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4265 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * insettext.C (latex): adjust for ParagraphList::iterator
4269 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * insetbutton.C (view): adjust for boost 1.30.0
4272 * insetcollapsable.C (view): ditto
4273 * insetgraphics.C (statusChanged): ditto
4275 * insettext.h: move paragraphs to be public.
4277 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * insetnote.[Ch] (InsetNote): remove unused constructor
4281 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4283 * insetgraphics.C: added include "format.h"
4285 2003-02-27 Angus Leeming <leeming@lyx.org>
4287 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4290 2003-02-27 Angus Leeming <leeming@lyx.org>
4292 * insetbibitem.C (localDispatch):
4293 * insetbibtex.C (localDispatch):
4296 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4298 2003-02-26 Angus Leeming <leeming@lyx.org>
4300 * insetbibitem.[Ch] (localDispatch):
4301 * insetbibtex.[Ch] (localDispatch):
4302 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4304 * insetcommand.C (localDispatch):
4305 act only on receipt of LFUN_XYZ_APPLY.
4307 * insetert.C (localDispatch): reformat.
4308 add LFUN_XYZ_APPLY to the switch.
4310 2003-02-26 John Levon <levon@movementarian.org>
4312 * insettext.C: use RowPainter
4314 * inset.h: make helpers take const *
4316 2003-02-26 Angus Leeming <leeming@lyx.org>
4318 * insetcommand.[Ch] (localDispatch): new method.
4320 2003-02-26 Angus Leeming <leeming@lyx.org>
4322 * insetinclude.C (draw): cache the BufferView* using cache not
4323 PreviewImpl::setView
4325 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4327 * insetgraphics.C (draw)
4328 * insetinclude.C (draw): Eliminate also the other argument (owner
4329 inset inset) in the call to PreviewImage::image
4331 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4333 * insetgraphics.C (draw)
4334 * insetinclude.C (draw): Eliminate Buferview argument in call to
4337 2003-02-25 John Levon <levon@movementarian.org>
4339 * insetgraphicsParams.h:
4340 * insetgraphics.C: don't start a load process if
4341 the inset is set to NoDisplay (bug #920)
4343 2003-02-22 John Levon <levon@movementarian.org>
4346 * insetwrap.C: TocItem changed API (bug 913)
4348 2003-02-21 Angus Leeming <leeming@lyx.org>
4350 * insetcollapsable.[Ch] (cache, edit):
4351 * insetbutton.[Ch] (cache, edit): new methods to cache the
4352 BufferView in the draw method.
4354 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4355 simplify comunication between InsetCommand-derived classes and
4358 * insetbibitem.[Ch]:
4362 * insetfloatlist.[Ch]:
4366 * inseturl.[Ch]: small changes to reflect the new interface to the
4369 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4370 other, similar classes.
4372 * Makefile.am: add new files.
4374 2003-02-21 Angus Leeming <leeming@lyx.org>
4376 * updatableinset.h (setView, view): remove.
4377 * inset.h (view, cache): to be replaced by these.
4379 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4382 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4385 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4387 2003-02-21 Allan Rae <rae@lyx.org>
4389 * insetinclude.C (loadIfNeeded): ensure loading also works when
4390 child document is under version control.
4392 2003-02-17 André Pönitz <poenitz@gmx.net>
4394 * insetbib.[Ch]: Adjust access to bibkeys
4396 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * insetquotes.C (dispString): remove use of acute accent for "'"
4401 2003-02-14 John Levon <levon@movementarian.org>
4403 * insettabular.C: changed method names in tabular.C
4405 2003-02-14 John Levon <levon@movementarian.org>
4409 * insetcollapsable.h:
4410 * insetcollapsable.C:
4414 * insettext.C: remove unused getParFromID()
4416 2003-02-13 John Levon <levon@movementarian.org>
4419 * insettext.C: remove unused beginningofMainBody()
4421 2003-02-08 John Levon <levon@movementarian.org>
4425 * insetcollapsable.h:
4426 * insetcollapsable.C:
4431 add nextChange(). Make allowSpellcheck() const. Add markErased().
4433 * insetert.C: ignore deleted text
4435 * insettabular.C: make sure to keep change tracking working
4438 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4443 * insettext.C: Use error messages with identical spelling and
4446 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4448 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4450 2002-12-17 Juergen Vigna <jug@lyx.org>
4452 * insettext.C (localDispatch): hopefully fixed cursor up down
4453 movement on leaving other insets.
4455 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4457 * insettext.C: fix inconsistent usage of spaces, colons,
4458 capitalization, and the like.
4460 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4462 * insetgraphics.C (prepareFile): do not remove the extension of
4463 the file name if it is not the default extension for the given
4464 format (that is, in latex output, remove extension from foo.eps,
4465 but not from foo.epsi)
4467 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4469 * insettext.C (lfunMouseRelease): hackish solution to the "double
4472 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * insetfloat.C (addToToc): use the floats name not its type
4475 * insetwrap.C (addToToc): ditto
4477 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4479 * insetnote.C (init): make label font smaller
4481 2002-12-04 John Levon <levon@movementarian.org>
4483 * insetinclude.C: ressurect setting of command name
4485 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4487 * insetquotes.C (dispString): disambiguate insert call
4489 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * several files: ws changes
4493 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * insetquotes.C (dispString): use string::insert for prepending a
4498 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4500 * insetparent.C (getScreenLabel): use boost::format
4502 * insetgraphics.C (prepareFile): use boost::format
4505 * insetfloatlist.C (latex): use boost::format
4507 * insetcaption.C (draw): use boost::format
4509 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4511 * insettabular.C (tabularFeatures): Support for block alignment in
4512 fixed width columns.
4514 2002-11-20 Juergen Vigna <jug@sad.it>
4516 * insettabular.C (resetPos): temporary fix for endless loop in
4517 this function on a redraw.
4519 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * insettabular.C (copySelection): STRCONV
4523 * insetinclude.C (uniqueID): STRCONV
4524 (latexString): ditto
4526 * insetgraphics.C: put VersionNumber inside anon namespace
4527 (createLatexOptions): STRCONV
4529 * insetcommandparams.C: include config.h
4531 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4533 * insetgraphicsParams.C (Write): use lyx::float_equal.
4534 Write height data correctly.
4535 (Read): zero scale when reading height data.
4537 2002-10-30 John Levon <levon@movementarian.org>
4539 * insetfloat.C (addToTOC): recursively traverse all
4540 contents looking for captions (fix #568)
4542 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4544 * insetexternal.C (doSubstitution): do not try to replace
4545 environment variables, this is done when executing the command
4547 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4549 * insetexternal.C (doSubstitution): change order of substitution
4550 to work around ReplaceEnvironmentPath brokenness
4552 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4554 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4556 * insetgraphicsParams.C (init, Write): associated changes
4557 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4558 InsetGraphicsParams::scale.
4560 2002-10-21 John Levon <levon@movementarian.org>
4562 * inset.h: remove unused DISPATCH_RESULT
4564 * insettext.C: sgml open/close tag now in sgml namespace
4566 2002-10-21 Angus Leeming <leeming@lyx.org>
4568 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4569 file path subdir/fig.eps when pasting it into a buffer in a different
4572 2002-10-16 John Levon <levon@movementarian.org>
4574 * insetspecialchar.C: remove \\protected_separator parsing
4576 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4578 * insetquote.C: fix LaTeX output of quotation marks.
4580 2002-10-14 Juergen Vigna <jug@sad.it>
4582 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4583 Backspace functions which confused the Undo handling.
4585 2002-10-09 Angus Leeming <leeming@lyx.org>
4587 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4588 BufferView::dispatch that turns off this optimisation when a new inset
4591 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4592 reload the BibTeX keys.
4594 2002-10-11 André Pönitz <poenitz@gmx.net>
4596 * insettext.h: handle LFUN_PRIOR/NEXT
4598 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4600 * insetfloat.C: fix bug with float settings
4601 (document default != float default).
4603 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4605 * insetwrap.C (addToToc): New method.
4606 (InsetWrap): Set layout to caption.
4608 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4612 2002-09-16 John Levon <levon@movementarian.org>
4614 * insettabular.h: hasSelection() needs to be public
4616 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4618 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4620 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4622 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4624 2002-09-11 André Pönitz <poenitz@gmx.net>
4626 * insettabular.C: implement LFUN_WORDSEL
4628 2002-09-10 John Levon <levon@movementarian.org>
4630 * insetinclude.h: remove unused param
4632 2002-09-09 John Levon <levon@movementarian.org>
4635 * insetinclude.C: remove noload, default to input
4637 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4639 * insetgraphics.C: disfuscated use of ']' in built output string.
4641 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4645 2002-08-29 Juergen Vigna <jug@sad.it>
4647 * insettabular.C (lfunMousePress): Pay attention where you set
4648 the x/y values as they depend on which inset in the tabular is
4649 actually locked. So you surely have to reset them if you (un)lock
4652 2002-08-29 André Pönitz <poenitz@gmx.net>
4654 * insetfootlike.h: rename include guard to ALL CAPS
4656 * insettext.C: swap object and first parameter for checkInsetHit calls
4657 as this functions has moved from BufferView to LyXText
4660 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4662 * insetgraphicsParams.C: remove local displayTranslator and use
4663 the one from graphics/GraphicsTypes.h.
4665 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4667 * insetfloat.C (wide): add BufferParams parameter
4669 * insetfloatlist.C (read):
4672 * insetfloat.C (latex):
4674 * insetcaption.C (draw): use LyXTextClass::floats()
4676 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4678 * insetoptarg.h: add std:: qualifier.
4680 2002-08-26 Juergen Vigna <jug@sad.it>
4682 * insettext.C (localDispatch): ditto.
4684 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4686 2002-08-25 John Levon <levon@movementarian.org>
4688 * inseturl.C: elide long URLs (bug 404)
4690 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4692 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4693 remove "Format Version <version_no.>" string from inset header
4696 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4698 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4699 a member of "grfx::Params" anymore.
4701 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4703 2002-08-24 John Levon <levon@movementarian.org>
4706 * insetoptarg.C: ws, pedantry ...
4708 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * insettext.C (collapseParagraphs): pasteParagraph now in global
4712 (appendParagraphs): ditto
4714 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4716 * insetcite.C (latex): Remove spaces only after commmas.
4718 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * insettext.C: remove NO_COMPABILITY stuff
4722 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * insettext.C (edit): use ParagraphList iterators
4726 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4727 (bibitemWidest): ditto
4729 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * insettext.C: include <boost/bind.hpp>
4732 add using std::for_each
4733 (saveLyXTextState): use ParagraphsList::iterator
4734 (init): use for_each on paragraphlist iterators
4735 (InsetText): remove superflous setting cached_bview to 0
4736 (latex): reformat a bit
4737 (ascii): use paragraphlist iterators
4738 (validate): use for_each + boost bind
4739 (getLabelList): use paragraphlist iterators
4740 (deleteLyXText): use for_each + boost::bind
4741 (resizeLyXText): ditto
4742 (reinitLyXText): ditto
4743 (removeNewlines): use paragraphlist iterators
4744 (getParFromID): ditto
4745 (paragraph): use for_each + boost::bind
4746 (getInsetFromID): use paragraphlist iterators
4747 (getLabelList): typo fix
4749 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * insettext.C (read): assign tmp to paragraphs after return from
4752 call to parseSingleLyXformat2Token
4755 2002-08-13 Angus Leeming <leeming@lyx.org>
4773 * inseturl.C: changes due to the changed LyXView interface that
4774 now returns references to member variables not pointers.
4776 2002-08-13 Angus Leeming <leeming@lyx.org>
4779 * insetcollapsable.h:
4782 * insettext.h: forward-declare WordLangTuple
4783 (selectNextWordToSpellcheck) constify return type.
4786 * insetcollapsable.C:
4789 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4791 2002-08-12 Angus Leeming <leeming@lyx.org>
4793 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4796 2002-08-12 Juergen Vigna <jug@sad.it>
4798 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4801 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4804 (bibitemWidest): ditto
4805 * insettext.[Ch]: ditto
4807 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4811 2002-08-09 Angus Leeming <leeming@lyx.org>
4813 * insetinclude.C (latexString): remove fudge now that I've found out
4814 how to enable LaTeX to find the file using input@path.
4816 2002-08-09 John Levon <levon@movementarian.org>
4819 * insettext.C: remove unused xpos
4821 2002-08-07 Juergen Vigna <jug@lyx.org>
4823 * insettabular.C (localDispatch): make delete not put the stuff
4824 in the clipboard only do this on a cut operation.
4826 * insettext.C (localDispatch): make delete and backspace not put
4827 selected stuff to the clipboard.
4829 2002-08-07 André Pönitz <poenitz@gmx.net>
4832 * insetcollapsable.[Ch]:
4836 * insettabular.[Ch]:
4837 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4839 2002-08-06 John Levon <levon@movementarian.org>
4843 * insetcollapsable.h:
4844 * insetcollapsable.C:
4850 * insettext.C: use WordLangTuple for spellcheck
4852 2002-08-06 Angus Leeming <leeming@lyx.org>
4854 * insetinclude.C: add a monitor to the previewed image, so that the
4855 image is refreshed if the \input-ed file changes.
4857 2002-08-04 John Levon <levon@movementarian.org>
4860 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4862 2002-08-02 Angus Leeming <leeming@lyx.org>
4864 * insetcommandparams.[Ch] (preview): new methods returning and setting
4865 a new bool preview_ flag.
4866 (read): read this flag.
4867 (operator==): add flag to check.
4869 * insetinclude.C (write): output new preview() flag.
4870 (previewWanted): use this flag.
4872 2002-08-02 Angus Leeming <leeming@lyx.org>
4874 * insetcollapsable.[Ch] (addPreview):
4875 * insettabular.[Ch] (addPreview):
4876 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4877 for insets in insets.
4879 2002-08-02 Angus Leeming <leeming@lyx.org>
4881 * insetcite.C: fix typo.
4883 * insetgraphics.C: kill current_view and instead cache the BufferView
4886 * insetinclude.C: kill current_view and pass the BufferView to the
4887 PreviewedInset so that it can cache it.
4889 2002-08-01 Angus Leeming <leeming@lyx.org>
4891 * inset.h (generatePreview): renamed as addPreview.
4892 (generatePreview): new method. Allows code to be moved out of
4893 math_nestinset.C and into the new PreviewedInset class.
4895 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4896 add previews to the inset when \input-ing LaTeX.
4898 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * several files: strip,frontStrip -> trim,ltrim,rtrim
4902 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4904 * insetbib.C (latex): modify because of strip changes
4906 * insetnote.C (InsetNote): ditto
4908 2002-07-26 Juergen Vigna <jug@sad.it>
4910 * insettabular.C (searchForward): check for lastcell if we
4911 had a locking inset.
4913 2002-07-25 Juergen Vigna <jug@sad.it>
4915 * insettabular.C (insetMotionNotify): Don't update the screen
4916 if we didn't do nothing.
4917 (searchForward): last cell was not checked.
4919 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4921 * insetfloat.C (read, write): Allow default placement
4922 (floatPlacement_ is empty).
4924 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4926 * insetminipage.h (noFontChange):
4927 * insettabular.h (noFontChange):
4928 * insetfootlike.h (noFontChange):
4929 * insetfloat.h (noFontChange): return true
4931 * inset.h (noFontChange): new method, defaulting to false
4933 2002-07-22 Herbert Voss <voss@lyx.org>
4935 * insetgraphicsParams.[Ch]: support size_type for old docs
4937 2002-07-22 Herbert Voss <voss@lyx.org>
4940 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4943 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4945 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4947 * insetlatexaccent.h: do not include "lyxlex.h"
4949 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4952 * insetlatexaccent.C:
4956 * insetbib.C: #include "lyxlex.h"
4962 * insettext.C: use BufferParams::getLyXTextClass
4965 * insetfloat.C (addToToc): new method. Add to toclist the entries
4966 corresponding to Caption layouts
4967 (InsetFloat): when creating a new float, set the layout to "Caption"
4969 2002-07-21 Herbert Voss <voss@lyx.org>
4971 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4972 image relevant part into graphics/GraphicsImgae.C
4974 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * insettoc.C (ascii):
4977 * insetfloatlist.C (ascii): change to use the new Toc functions
4978 instead of stuff that was in Buffer
4980 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4982 * insettext.C (localDispatch): BufferView::Dispatch has been
4983 renamed to BufferView::dispatch
4985 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4987 * insetgraphicsParams.C (as_grfxParams): use the new
4988 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4989 1.2.0 patch, and I do not really know how to adapt it to the new
4990 grfx::Cache world. Angus, please could you have a look?
4992 2002-05-01 Herbert Voss <voss@lyx.org>
4994 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4996 2002-07-18 Angus Leeming <leeming@lyx.org>
4998 * insetgraphics.C: clean-up comments (from Herbert).
4999 add a new checksum variable to the cache. Use it in PrepareFile.
5000 (draw): start monitoring the file for a change.
5001 (prepareFile): re-arrange a little to avoid unnecessary steps.
5003 2002-07-17 Angus Leeming <leeming@lyx.org>
5005 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
5006 a method rather than to the signal directly.
5008 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5010 * insettext.C: use view_state_changed, switchKeyMap
5012 2002-07-17 Herbert Voss <voss@perce.de>
5014 * insetgraphics.C (prepareFile): keep the extension when
5015 exporting to nice file
5017 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5019 * insetcite.C (getNatbibLabel):
5020 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
5022 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5024 * insetgraphics.C: use ->isDrawable()
5026 2002-07-12 Angus Leeming <leeming@lyx.org>
5028 * insetgraphics.C: use the new smart loading capabilities of the image
5031 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5033 * insettabular.C (edit): Move into correct cell when entering a
5036 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
5039 2002-07-05 Angus Leeming <leeming@lyx.org>
5041 * inset.h (generatePreview): new virtual method.
5043 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5045 * insetcommandparams.[Ch] (operator=): move out of class
5046 (operator!): move out of class
5048 2002-07-04 André Pönitz <poenitz@gmx.net>
5050 * insetcommandparams.[Ch]: new files
5052 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
5054 2002-06-15 Herbert Voss <voss@perce.de>
5056 * insetgraphics.C (prepareFile): bugfix; return always
5057 files without extension
5059 2002-06-28 Angus Leeming <leeming@lyx.org>
5061 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
5062 rename asGParams -> as_grfxParams.
5064 * insetgraphics.C: reflect above change.
5066 2002-06-26 Angus Leeming <leeming@lyx.org>
5068 * insetgraphics.h: use boost::scoped_ptr in preference to
5071 2002-06-26 Angus Leeming <leeming@lyx.org>
5073 * insetgraphics.C: moved the image loading stuff into a new class
5074 grfx::Loader. Simplifies this file enormously.
5076 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
5078 * insetgraphicsParams.C: changes aassociated with moving
5079 grfx::DisplayType out of grfx::GParams.
5081 2002-06-26 André Pönitz <poenitz@gmx.net>
5083 * insetgraphics.C: use os::external_path where necesaary according to a
5084 patch from Claus Hentschel)
5086 2002-06-25 Angus Leeming <leeming@lyx.org>
5088 * insetgraphics.[Ch]: The inset now assumes the responsibility for
5089 generating a pixmap once the graphics file is loaded into memory.
5090 The current_view ugliness that was in grfx::ModifiedImage has been
5091 moved here now that grfx::ModifiedImage is no more.
5093 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5095 * insettext.C: layout as layout
5097 2002-05-28 André Pönitz <poenitz@gmx.net>
5099 * insetfloatlist.h: remove source of compiler warning
5101 * insetref.C: tiny whitespace
5103 2002-06-15 Herbert Voss <voss@perce.de>
5105 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
5106 and take always convert when no userdefined converter was
5108 (latex) small changes in the lyxerr output
5110 2002-06-15 LyX Development team <lyx@rilke>
5112 * inset*.[Ch] (docbook): Added new argument to take the pernicious
5113 mixed content. Small white spaces clean.
5115 2002-06-14 Angus Leeming <leeming@lyx.org>
5117 * inseetexternal.C: remove the using std::difftime declaration.
5119 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
5121 * insetquotes.C: change lyxfont::draw to font_metrics::draw
5123 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
5125 * insetquotes.C (draw): fix drawing of double quotes
5127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5129 * insettabular.C: s/scrollCB/scrollDocView/
5131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5133 * insettext.C: change of topCursorVisible()
5136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5139 * insettext.C: rename/change of LyXScreen
5141 2002-06-07 Angus Leeming <leeming@lyx.org>
5143 Fixes needed to compile with Compaq cxx 6.5.
5145 * insetexternal.C: all c-library variables have been moved into
5146 namespace std. Wrap using std::xyz declarations inside a #ifndef
5147 CXX_GLOBAL_CSTD block.
5149 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5151 * insetinclude.C (uniqueID):
5152 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5153 conflicted with some AIX headers.
5155 2002-05-31 Juergen Vigna <jug@sad.it>
5157 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5161 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5163 * insetexternal.C (clone): fix () bug when using new
5164 (updateExternal): don't only look for difftime in global scope
5166 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5168 * insettabular.C: add const
5170 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5172 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5173 file name, in case there are weird characters like ',' in there.
5176 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5178 * switch from SigC signals to boost::signals.
5180 2002-05-28 André Pönitz <poenitz@gmx.net>
5182 * insets/insetgraphicsParams.[Ch]:
5183 put in inset related stuff from src/graphic
5185 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5193 * insetcollapsable.C:
5194 * insetcollapsable.h:
5222 * inseturl.h: use mouse_state. Kill insetKeyPress
5224 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5229 * insetcollapsable.C:
5232 * insetlatexaccent.C:
5234 * insetspecialchar.C:
5236 * insettext.C: name change for font metrics
5238 2002-05-24 Juergen Vigna <jug@sad.it>
5240 * insetgraphics.h: include inset.h first (for LString.h)
5242 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5244 * insettext.C: screen moved
5246 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5264 * inseturl.C: LyXView moved into frontends/
5266 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5271 * insetcollapsable.C:
5275 * insetgraphicsParams.C:
5276 * insetlatexaccent.C:
5278 * insetspecialchar.C:
5280 * insettext.C: move Painter to frontends/
5282 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5284 * insettabular.h: use more specific smart_ptr header.
5285 * insettext.h: ditto
5287 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5290 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5292 * insettext.C: clear selection on paste (bug 393)
5294 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5296 * insettext.C (latex): Honor the moving_arg argument.
5298 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5300 * insetfoot.C (latex): if a footnote is in a title layout, then it
5301 is a \thanks. And then, its contents is a moving argument.
5303 2002-05-14 Juergen Vigna <jug@sad.it>
5305 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5308 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5310 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5311 when using options "Full author list" or "Upper case".
5313 2002-05-14 Herbert Voss <voss@perce.de>
5315 * insetgraphics.C (prepareFile): allow files with same name
5317 (readFigInset): set the flags from old figinset in the right
5319 (findTargetFormat): more comments
5321 2002-05-14 Juergen Vigna <jug@sad.it>
5323 * insettext.C (edit): tell checkAndActivateInset() that we don't
5324 have a button press.
5325 (checkAndActivateInset): if button < 0 we don't have a button press
5326 on the inset and os we won't call edit on it if it's not a Highly
5327 editable inset (then we have to enter it).
5329 2002-05-13 Juergen Vigna <jug@sad.it>
5331 * insetcollapsable.C (insetButtonRelease): returned wrong return
5334 2002-05-09 Juergen Vigna <jug@sad.it>
5336 * insetcollapsable.C (edit): first_after_edit should only be
5337 set to true if we enter this inset and it was collapsed so we
5338 open it up. This is needed to reclose it after a search/replace
5339 or spellcheck function opened it and was negative.
5341 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5343 * insetfloat.C (latex): Return correct value.
5345 2002-05-04 Herbert Voss <voss@perce.de>
5347 * InsetgraphicsParams.C (read): fix bug with WH
5349 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5351 * insetfloat.C (latex): More sensible latex output
5352 (fix the problem with endfloat).
5354 2002-05-02 José Matos <jamatos@fep.up.pt>
5356 * insetgraphics.C (validate): acess params as everyone else.
5358 2002-05-03 Juergen Vigna <jug@sad.it>
5360 * insettabular.C (fitInsetCursor): recalculate the cursor position
5363 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5365 * InsetgraphicsParams.[Ch]: whitespace.
5367 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5369 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5370 float type do not exist.
5372 2002-04-28 Herbert Voss <voss@perce.de>
5374 * insetgraphics.C (latex): fix bug with missing file-extension.
5375 LaTeX still allows a missing "eps" or "ps".
5377 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5379 * insetfloat.C (c-tor, wide): translate the name of the float.
5381 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5383 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5384 when using natbib and make it work efficiently. Must emphasise that the
5385 real work is Herbert's.
5387 2002-04-23 Herbert Voss <voss@perce.de>
5389 * insetgraphic.C (prepareFile): fix bug with overwriting and
5390 deleting an existing *.eps-file in the doc-dir
5392 2002-04-23 Juergen Vigna <jug@sad.it>
5394 * insettabular.C (drawCellSelection): fix off by 1 error.
5396 2002-04-22 Juergen Vigna <jug@sad.it>
5398 * insettabular.C (setFont): rewoke full selection if it was asked,
5399 after we changed all we had to change.
5401 * insettext.C (insetUnlock): code was uninitialized in some situations.
5403 2002-04-19 Herbert Voss <voss@perce.de>
5405 * insetgraphic.C (prepareFile): return filename without
5406 extension if we only export without compiling
5408 2002-04-19 Juergen Vigna <jug@sad.it>
5410 * insettext.C (draw): call a fullRebreak on the row where we had a
5411 change and reset the cursor and selection-cursors.
5413 * insettabular.C (insetUnlock):
5414 (insetButtonPress): call an update before setting the_locking_inset = 0
5415 as otherwise we don't repaint!
5416 (update): reset the cursor position when we changed dimensions as
5417 otherwise our cursor may be on the wrong spot.
5419 2002-04-18 Juergen Vigna <jug@sad.it>
5421 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5422 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5423 redraw otherwise we won't redraw.
5425 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5426 not really right before, but I only discovered this with the last
5427 changes to Page up/down.
5429 2002-04-17 Juergen Vigna <jug@sad.it>
5431 * insettext.C (checkAndActivateInset): simplified as we now have the
5432 edit(bv, bool) call.
5434 * insettext.h: changed behind variables to front variables to be
5435 equal to the one in the edit call (as it is for that they are used).
5437 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5439 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5440 not output anything at all!
5442 2002-04-16 Juergen Vigna <jug@sad.it>
5444 * insettabular.C (insetButtonPress):
5445 (insetUnlock): call a redraw on unlocking the cell inset.
5447 * insettext.C (insetButtonPress): same as below.
5448 (lockInset): new function to set initial values when inset should
5450 (insetButtonPress): use above function.
5451 (insetUnlock): don't force a repaint only set the updateStatus. The
5452 outside world should repaint if it thinks it should be done!
5454 * insettabular.C (insetButtonPress): init values if not set as locked
5455 as we are locked if someone presses on us and don't call the edit()
5456 call of the InsetText to lock it do it as BufferView does it!
5458 * inset.h (insetInInsetY): make func const and return an int.
5461 * insetcollapsable.C: adapt the above changed function.
5463 2002-04-15 Juergen Vigna <jug@sad.it>
5465 * insettext.C (getCursorPos): return relative position as to be able
5466 to give them directly to the edit() call.
5467 (edit): we have to set also x_fix as it is not set inside the
5468 setCursorFromCoordinates call!
5469 (insetMotionNotify): ditto.
5471 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5473 * insetbib.C (getKeys): strip leading '\t's from the line too.
5474 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5476 2002-04-12 Juergen Vigna <jug@sad.it>
5478 * insettext.h: added cix() helper function and use it where appropriate
5480 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5482 * insetgraphics.C (prepareFile): fix bug when graphics is a
5485 2002-04-12 Juergen Vigna <jug@sad.it>
5487 * insettext.C (insertInset): remove unneeded code!
5488 (updateLocal): fitCursor() fixes.
5489 (collapseParagraphs): fix a possible problem when having a selection
5490 and collapsing the paragraphs.
5492 2002-04-08 Herbert Voss <voss@perce.de>
5494 * insetgraphic.C (write): write the rotating angle as
5495 a float as is. test only for != 0.0
5497 2002-04-11 Juergen Vigna <jug@sad.it>
5499 * insettext.C: new function ciy() and use it for setting inset_y.
5501 * insetert.C (draw): fix the x return for collapsed version.
5503 2002-04-07 Herbert Voss <voss@perce.de>
5505 * insetgraphic.C (readFigInset): fix bug with subcaption and
5508 2002-04-08 Herbert Voss <voss@lyx.org>
5510 * insetgraphicsparam.C: forgot special option and delete old
5513 2002-04-05 Juergen Vigna <jug@sad.it>
5515 * insettext.C (localDispatch): make a CURSOR update if we inserted
5518 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5520 * insetfloatlist.C (getScreenLabel):
5521 (latex): use Floating::listName
5522 (validate): new method
5524 2002-04-03 José Matos <jamatos@fep.up.pt>
5526 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5528 * insetfoot.[Ch] (docbook): added forgotten method.
5530 2002-04-03 Juergen Vigna <jug@sad.it>
5532 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5533 way as in Bufferview_pimpl.
5535 2002-04-03 Allan Rae <rae@lyx.org>
5537 * insetgraphics.C (latex): one % too many makes living on the bleeding
5538 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5540 2002-03-28 Herbert Voss <voss@lyx.org>
5542 * insetgraphic.C (latex): simplify the code for the latex
5543 output when the file doesn't exist
5545 2002-03-29 Juergen Vigna <jug@sad.it>
5547 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5550 * insettabular.C (edit): call fitCursor().
5552 * insettext.C (insetButtonPress): change behaviour of no_selection
5553 to the one in the BufferView selection_possible and fix the spurious
5554 selection bug with it.
5555 (localDispatch): revoke selection on BREAK... functions.
5557 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5559 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5561 2002-03-28 Juergen Vigna <jug@sad.it>
5563 * insettabular.C (insetAllowed): return true as default value otherwise
5564 we're not able to insert insets inside paragraphs of an not locked
5567 2002-03-27 Herbert Voss <voss@lyx.org>
5569 * insetgraphicsparam.C: change c%, p% to col%, page%
5571 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5573 * insetspecialchar.C (isLineSeparator): disable the nice code to
5574 allow linebreaks after hyphenation and menu separators.
5576 2002-03-26 Herbert Voss <voss@lyx.org>
5578 * insetgraphics.C (figinsetRead): set the right lyxview
5580 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5582 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5583 $\backslash$ and pass a "string const &" to the function.
5584 (prepareFile, latex): use Path rather than MakeAbsPath.
5586 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5588 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5589 proper fix to the graphics cache.
5590 (latex): "really" nice output if the file is not found ;-)
5592 2002-03-26 Juergen Vigna <jug@sad.it>
5594 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5595 (collapseParagraphs): fixed inserting of separator ' '
5597 * insettabular.C (insertAsciiString): only check for buffer lenght
5598 not if we have \t or \n inside the buffer as if we don't have we only
5599 have 1 cell and that's it!
5601 * insetert.C (close): don't collapse if inlined.
5603 2002-03-25 Herbert Voss <voss@lyx.org>
5605 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5606 graphics file does not exist.
5608 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5610 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5611 path when preparing export.
5613 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5614 no longer MakeRelPath.
5616 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5618 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5619 Used to determine the absolute path to the graphics file in the
5620 graphics cache and only in the graphics cache.
5621 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5622 make graphics file name absolute if it is stored as a relative path.
5624 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5625 make graphics file name absolute if it is stored as a relative path.
5627 * insettext.C (edit): emit an updateParagraph signal on entering a text
5628 inset. Needs to be emitted when leaving the inset also.
5630 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5632 * all files: ws cleanup
5634 * Makefile.am: remove ld -r stuff
5636 2002-03-21 Juergen Vigna <jug@sad.it>
5638 * insettext.C (appendParagraphs): new function added to append
5639 the paragraphs to this insets paragraphs.
5641 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5643 * Makefile.am: special rules if partial linking
5645 2002-03-19 Juergen Vigna <jug@sad.it>
5647 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5649 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5651 * insetgraphics.C: Clean up Baruch's comments a little.
5652 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5654 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5657 * insettheorem.C: wrap warnings
5659 * insetgraphics.C: improve messages, move cached_status_
5660 setting to safer place
5662 2002-03-18 Juergen Vigna <jug@sad.it>
5664 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5666 (localDispatch): ditto
5668 * insettext.C (edit): removed unneeded showCursor calls.
5669 (localDispatch): ditto.
5671 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5673 * insetgraphics.h: remove display() method.
5675 2002-03-11 Juergen Vigna <jug@sad.it>
5677 * insetgraphics.C (draw): hack to fix the redrawing bug.
5678 (draw): seems this fixes #268 (force redraw of row if we changed).
5680 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5681 this inset text (don't know why I missed this earlier).
5683 2002-03-08 Juergen Vigna <jug@sad.it>
5685 * insettabular.C (updateLocal): do a FULL update if we're not locked
5686 and only a CELL update is asked.
5688 * insettext.C (updateInsetInInset): update insets inside inset also
5689 if it isn't inside the_locking_inset.
5691 * insettabular.C (updateInsetInInset): ditto.
5693 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5695 * insetexternal.C (doSubstitution): check whether we are using a
5696 temp dir for defining $$FPath
5698 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5701 * insettext.C: remove #include "WorkArea.h".
5703 2002-03-06 Juergen Vigna <jug@sad.it>
5705 * insettext.C (draw): fixed frame redrawing.
5706 (clear): forgot to set the inset_owner of the paragraph.
5708 * insetert.C (status): pay attention the bv can be 0 here!
5709 (getMaxWidth): add the default leftMargin
5711 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * insetert.C (getMaxWidth): make w unsigned int.
5715 2002-03-05 Juergen Vigna <jug@sad.it>
5717 * insetert.C (status): change behaviour of Inlined.
5718 (getMaxWidth): added for new inlined behaviour.
5720 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5722 * insetnote.h (linuxdoc, docbook): add empty methods.
5723 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5724 before being initialized.
5726 2002-03-05 Juergen Vigna <jug@sad.it>
5728 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5729 only that one in the inset. Should be enough.
5730 (updateLocal): set the selection cursor always if we don't have a
5731 selection to be sure it's set!
5733 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5735 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5737 * insettext.C (clear): a gross hack to set layout on a newly
5740 2002-03-04 Juergen Vigna <jug@sad.it>
5742 * insettabular.C (localDispatch): inserted handling of
5743 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5744 (insertAsciiString): new helper function.
5746 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5748 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5751 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5753 * insettext.C (InsetText): initalize newly created par with
5754 default layout. add bufferparams parameter
5757 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5758 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5759 * insetert.[Ch] (InsetERT): ditto
5760 * insetfloat.[Ch] (InsetFloat): ditto
5761 * insetfoot.[Ch] (InsetFoot): ditto
5762 * insetfootlike.[Ch] (InsetFootLike): ditto
5763 * insetmarginal.[Ch] (InsetMarginal): ditto
5764 * insetminipage.[Ch] (InsetMinipage): ditto
5765 * insetnote.[Ch] (InsetNote): ditto
5766 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5768 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * insettext.C: layout as string
5772 * insetinclude.C: layout as string
5774 * insetert.C: layout as string
5776 * insetbib.C: layout as string
5778 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5781 * insettabular.C: remove #include "lyx_gui_misc.h".
5783 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5788 * inset.h: remove figinset, yahoo !
5790 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5792 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5793 copy c-tor and initialise member variables in the correct order.
5795 2002-02-28 Juergen Vigna <jug@sad.it>
5797 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5799 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5801 * inset.h: ... and add a better one here.
5803 * insetcommand.C (insetButtonRelease): remove that one which was a
5806 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5808 * insetcommand.C (insetButtonRelease): ... and move it here.
5810 * inseturl.h: remove insetButtonRelease from there...
5812 2002-02-26 Juergen Vigna <jug@sad.it>
5814 * inseturl.h: Added a insetButtonRelease call returning true as
5817 * insetlabel.C (edit): Fixed wrong update handling after change I
5818 leave in the wrong code for the one who wrote it to remove and have
5819 a look what he did wrong.
5821 * insettabular.C (localDispatch): force a SELECTION update if we
5822 had a selection and we passed the event down to the inset (fix #213)
5823 (localDispatch): handle font changing stuff when we have a cell
5824 selection so that the selection is not rewoked. I don't really like
5825 this fix, but it's the only way I see to do it right now.
5827 2002-02-22 Juergen Vigna <jug@sad.it>
5829 * insettext.C (insetUnlock): set the cursor to the second paragraph
5830 if available and if the first one is empty (fix #191).
5832 2002-02-20 Juergen Vigna <jug@sad.it>
5834 * insettext.C (getDrawFont): implemented this function to call the
5835 one of the owner if present as the owner normally knows what to do
5838 * insetert.C: implement getDrawFont() function and comment out all
5839 the crap for setting a special latex font inside this inset.
5840 (InsetERT): added a Lanugage parameter to this constructor.
5842 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5843 change the font for being drawn on screen (used only in InsetERT for
5846 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5847 and also above (was missing).
5848 (updateLocal): don't remove the cell selection if we have one this
5849 should be done where we really want to remove it.
5851 2002-02-20 José Matos <jamatos@fep.up.pt>
5853 * insetinclude.h: include_label made string const.
5855 * insetinclude.C (InsetInclude): moved include_label initialization.
5858 (validate): fix support for temporary directory, for docbook and
5861 * insetgraphics.h : new private member, graphic_label, that holds
5862 the entity name that defines the graphics location (SGML).
5864 * insetgraphics.C (unique_id): new function to give a unique label
5867 (validate): the file locatation is given by an entity reference.
5869 2002-02-18 Herbert Voss <voss@lyx.org>
5871 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5873 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5875 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5876 as support/systemcall.[Ch] and of class Systemcalls as class
5879 2002-02-18 José Matos <jamatos@fep.up.pt>
5881 * insetinclude.C (validate): some code only applies to latex buffers,
5882 it was made conditional.
5884 2002-02-12 Herbert Voss <voss@lyx.org>
5886 * insetgraphics.C: (prepareFile) do not check at this time
5887 if the file is present.
5889 2002-02-12 Herbert Voss <voss@lyx.org>
5891 * insetgraphics.C: latex(), return the correct newlines
5893 2002-02-13 José Matos <jamatos@fep.up.pt>
5895 * inseturl.C (docbook): escape & in url.
5897 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5899 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5900 after HYPHENATION and MENU_SEPARATOR
5902 * inset.h (isLineSeparator): new method, returns false by default.
5904 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5906 * insetert.C (status): do not update the text inset, but the ERT
5909 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5911 * insetnote.C: use notebg for background
5913 2002-02-08 Herbert Voss <voss@lyx.org>
5916 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5917 prevent LyX from unzipping when this should be handled
5918 by latex vis the graphic.cfg.
5921 2002-02-08 Herbert Voss <voss@lyx.org>
5923 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5924 exists, than return filename with extension
5926 2002-02-06 Herbert Voss <voss@lyx.org>
5928 * insetgraphic.C: prepareFile(): don't convert the file, when
5929 it's not viewed in LyX. Saves a lot of time when opening a
5932 2002-02-05 Herbert Voss <voss@lyx.org>
5935 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5936 and adding a rotate bool similiar to subcaption
5938 2002-02-04 Herbert Voss <voss@lyx.org>
5941 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5942 similiar view to the LaTeX one. Get zipped files work.
5944 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5946 * insetgraphicsParams.C (init): set display to DEFAULT.
5947 No longer #include "lyxrc.h".
5949 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5951 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5952 for now (so that the code compiles).
5954 2002-02-02 Herbert Voss <voss@lyx.org>
5956 * insetgraphic.C: delete inVariant() and some minor changes
5957 * insetgraphicsParams.[C]:
5959 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5961 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5962 interogate lyxrc.display_graphics before diaplaying the graphic.
5964 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5965 InsetGraphicsParams::DisplayType.
5967 2002-01-31 Herbert Voss <voss@lyx.org>
5969 * insetgraphic.C: (readfigInset) set display to pref-default
5971 2002-01-30 Herbert Voss <voss@lyx.org>
5973 * insetgraphic.C: get the filetyp from it's contents
5974 * insetgraphicparams.C: add token scale and lyxrc.display when
5975 creating a new inset
5977 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5979 * figinset.C: added using std::ios directive.
5981 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5983 * figinset.C (runqueue): open translation file in binary mode (for
5986 2002-01-27 Herbert Voss <voss@lyx.org>
5988 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5989 all options and to be sure that the old figinsets are correct
5991 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5992 structure and to support all lengths as LyXLength. The Parameter
5993 structure changed again, but reading of "old" 1.2 graphic insets
5996 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5998 * insetert.h (forceDefaultParagraphs): Added
6000 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6002 * insettabular.C (getMaxWidth):
6003 (forceDefaultParagraphs): use Tabular::GetCellFromInset
6005 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6007 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
6008 of LyXLength::inPixels
6010 * inset.C (latexTextWidth):
6011 * insetminipage.C (latexTextWidth): new method, which implements
6012 the equivalent of the LaTeX macro \textwidth
6014 * insetminipage.C (getMaxWidth): use latexTextWidth
6016 2002-01-18 Juergen Vigna <jug@sad.it>
6018 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
6020 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
6024 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
6027 2002-01-17 Juergen Vigna <jug@sad.it>
6029 * insettabular.C (lockInsetInInset): same change as in insettext.
6031 * insettext.C (draw): width() function was called without setting
6032 the right top_x which could lead to wrong insetWidth setting!
6033 (lockInsetInInset): call edit instead of calling lockInset if we
6034 have to lock an inset inside!
6035 (edit): we have to also tell the inset that we have to redraw the
6036 frame on an edit call if this inset draws a frame only if locked.
6038 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6040 * insetbib.C (getFiles): uncomment Path variable.
6042 2002-01-16 Juergen Vigna <jug@sad.it>
6044 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
6047 2002-01-16 Allan Rae <rae@lyx.org>
6049 * insetinclude.C (docbook): someone forgot a ";"
6051 2002-01-16 José Matos <jamatos@fep.up.pt>
6053 * figinset.C (docbook): removed a old place holder "@".
6054 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
6055 * insetinclude.C (linuxdoc): if include is verbatim, then export the
6056 ascii text version, clearly guarded inside a CDATA section.
6057 (docbook): in docbook 4, inlinegraphics is empty.
6058 * insettabular.C (linuxdoc): export the ascii version of the table
6059 inside a CDATA section.
6061 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6063 * insetparent.C (InsetParent):
6064 * insetgraphicsParams.C (Write):
6066 * insetgraphics.C (prepareFile):
6069 * insetexternal.C (executeCommand):
6070 (doSubstitution): use Buffer::filePath
6072 * insetbib.C (getFiles): add a #warning for Angus
6074 * insetgraphics.C: Add a remark about how filenames should be
6075 considered to be relative to buffer (but absolute is still allowed)
6076 (draw): do not try to get status if lyxrc.use_gui is false
6078 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6081 * insetcollapsable.[Ch]:
6082 * insettabular.[Ch] (searchForward, searchBackward): change the
6083 bool const & params to bool.
6085 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
6086 to avoid the name clash with InsetCollapsable's methods of the same
6087 names but different functionality.
6089 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6091 * insettext.C (ascii): use lyx::count rather than countChar.
6093 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
6095 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
6097 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6099 * insetgraphics.C (updateInset): do not try to render image if
6100 lyxrc.use_gui is false (bug #104)
6102 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
6103 if file does not exist
6105 * figinset.C (browseFile): add shortcuts to directory buttons
6107 * insettext.C (updateLocal): update menubar and toolbar here too.
6109 2002-01-13 Allan Rae <rae@lyx.org>
6111 * insettabular.C (InsetTabular): Both constructors now initialise
6112 all class variables.
6114 2002-01-11 Juergen Vigna <jug@sad.it>
6116 * insettext.C (insetButtonPress): set the_locking_inset to 0.
6118 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6120 * insettabular.C (getStatus): add forgotten brace around multiline
6123 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6125 * insetfloat.C (validate): require "float" instead of "floats".
6127 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6129 * insettabular.C (getStatus): use FuncStatus
6131 2002-01-08 Juergen Vigna <jug@sad.it>
6133 * insettabular.C (insetButtonRelease): now this should work too
6136 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
6137 if the width is a percentage.
6139 * inset.h: added isChar() function and implemented this for
6140 insetspecialchar insetquotes and insetlatexaccent.
6141 added forceDefaultParagraphs() and implemented it for insettabular.
6143 2002-01-07 Juergen Vigna <jug@sad.it>
6145 * insettext.C (getLyXText): Fixed this function. An insert into the
6146 map is only done if we REALLY have a new BufferView.
6148 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6150 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6152 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6154 * insetinclude.C: fix use of FileInfo
6156 2002-01-07 Juergen Vigna <jug@sad.it>
6158 * insettabular.C (draw): fixed clearing of cell around inset.
6160 2002-01-05 Juergen Vigna <jug@sad.it>
6162 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6163 variables are updated.
6165 * insettabular.C (resetPos): set always the inset_y as it may be
6166 needed in another function.
6167 (searchBackward): don't draw while searching.
6169 2002-01-04 Juergen Vigna <jug@sad.it>
6171 * insettext.C (lockInsetInInset): forgot to set a cursor.
6173 2002-01-02 Juergen Vigna <jug@sad.it>
6175 * insettext.C (insertInset): make the correct undo informations on
6176 inserting new insets.
6178 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6180 * insettabular.C: correct single-cell select vertically
6182 2001-12-27 Juergen Vigna <jug@sad.it>
6184 * insettabular.C (ascii): export as tab-separated-values if the
6185 function was not called from export (f.ex.: clipboard).
6187 * insetcollapsable.h: added default support for ascii, linuxdoc and
6188 docbook export (the insettext is exported by default!)
6190 * insettabular.C (copySelection): suff the clipboard with the tabular
6191 data in a tab separated format, seems more naturals then with all the
6194 2001-12-24 Juergen Vigna <jug@sad.it>
6196 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6197 to check for REAL mouseMotion.
6199 2001-12-20 Juergen Vigna <jug@sad.it>
6201 * inset.C (cursor): return the owners cursor if available instead of
6202 always only the bv->text->cursor.
6204 * insettabular.C (checkLongtableSpecial): works now.
6206 2001-12-19 Juergen Vigna <jug@sad.it>
6208 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6209 this has to be always row + 1 as 0 means not selected!
6210 (checkLongtableSpecial): added
6211 (tabularFeatures): better longtable options support
6213 * insettext.C (resizeLyXText): reinit the text always also on a
6216 2001-12-18 Juergen Vigna <jug@sad.it>
6218 * insettext.C (updateInsetInInset): look if we have to autocollapse
6219 paragraps and return if the update is requested for ourself.
6221 * insetert.C (status): update the insettext not myself as that is what
6224 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6225 function only return if the update was requested with myself.
6227 * insettext.C (insetButtonPress): fixed stupid bug.
6228 (various functions): pay attention that lt is cleared BEFORE calling
6229 updateLocal() and try to use it in the right manner (don't use it
6230 if it's not really neccessary!)
6231 (collapseParagraphs): insert a blank between collapsing paragraphs
6232 if neccessary (not already there!).
6234 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6236 * insettabular.C: move includes around a bit, add a couple of
6239 * insettext.[Ch]: move includes around a bit, other ws changes and
6242 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6244 * insettext.C (insetButtonRelease): fix compile problem
6246 2001-12-17 Juergen Vigna <jug@sad.it>
6248 * insettext.C (insetButtonPress): set the selection cursor!
6249 (insetButtonPress): clear the selection (and set with that the
6250 selection.cursor) if we only hit an inset!
6252 * insetert.C (read): removed piece of compatibility code only needed
6255 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6258 * insetcollapsable.C (insetButtonRelease): changed so that it can
6259 open eventual existing popup dialogs on mousebutton==3.
6261 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6263 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6265 * inset.C (insetButtonRelease): return a bool for telling the outer
6266 world that we opened a dialog.
6268 2001-12-07 Juergen Vigna <jug@sad.it>
6270 * insettext.C (paragraph): remove the deleteing of paragraphs as
6271 it was a WRONG move!
6273 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6276 * insettabular.C: use new setSelection(). Allow
6277 selection of single cells.
6279 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6281 * insetquotes.C (latex): fix to use the local language setting at
6282 the point where the inset is inserted (different macros for
6283 different french packages)
6285 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6287 * inset.h: add par_owner_ member variable and parOwner
6290 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * insettabular.C (everywhere): adapt because widths are now real
6293 widths and not strings
6295 * insettext.C (draw): re-introduce the calls to width(), ascent()
6296 and descent() to initialize the caching variables.
6298 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * insettext.C (draw):
6301 (drawFrame): use insetWidth instead of last_width
6303 * insettext.h: remove variable last_width (insetWidth is exactly
6304 the same) and last_height (computed but never used!)
6306 2001-12-10 Allan Rae <rae@lyx.org>
6308 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6310 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6312 * insettext.C (insetAllowed): add comment
6314 2001-12-05 Juergen Vigna <jug@sad.it>
6316 * insettext.C (insetAllowed): fixed for the case that we directly
6317 ask the insettext from its LyXText.
6318 (paragraph): fixed the crash when assigning the par->next() from
6319 the EmptyParagraphMechanism!
6321 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * insettext.C: change "while(" to "while ("
6327 2001-12-04 Juergen Vigna <jug@sad.it>
6329 * insetert.C (edit): handle Inlined status.
6331 * insettext.C (insertInset): trying John's fix for the trailing cursor
6333 * insetert.C (insetButtonPress): added to handle inlined status
6334 (insetMotionNotify): ditto.
6336 * insettext.C (clearInset): changed Painter & in BufferView * param,
6337 to be able to call ascent,descent methods.
6339 2001-12-03 Juergen Vigna <jug@sad.it>
6341 * insettext.C (updateInsetInInset): use lt variable to forbid
6342 changes of LyXText in an update call.
6343 (updateInsetInInset): fixed updating of non locked insets!
6345 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6347 * insettabular.C: capture some more functions to prevent
6348 selection drawing problems. Bug #451274
6350 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6353 * insetgraphicsParams.C: fix inverted sense of float_equal
6355 2001-11-30 Juergen Vigna <jug@sad.it>
6357 * insettabular.C (InsetTabular): use the save_id flag to create also
6358 the tabular with the same id's.
6360 * insettext.C (setParagraphData): added a same_id function for undo
6361 to set the same paragraph id's as of the paragraph we are setting.
6363 2001-11-30 José Matos <jamatos@fep.up.pt>
6366 * insettoc.[Ch]: DocBook -> docbook.
6368 2001-11-29 André Pönitz <poenitz@gmx.net>
6371 * insettext.C: further reduction of header dependencies by using
6372 lyx::layout_type and lyx::textclass_type from support/types.h
6374 2001-11-29 Juergen Vigna <jug@sad.it>
6376 * insettext.C: inserted a reinitLyXText function everywhere I delete
6377 the paragraphs! This should fixe the crashes we had.
6378 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6379 (paragraph): set the InsetOwner() of the new paragraphs!
6381 2001-11-28 André Pönitz <poenitz@gmx.net>
6383 * insetnote.C: add pos initialization that I removed without
6386 2001-11-28 Juergen Vigna <jug@sad.it>
6388 * insettabular.C (resetPos): hack to not crash with infinite paints.
6390 * insettabular.h: insert missing function allowSpellcheck()!
6392 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6394 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6397 * insetfloatlist.C: derive from InsetCommand so gui can use it
6400 2001-11-26 André Pönitz <poenitz@gmx.net>
6404 * insetnote.C: reduce header dependencies, introduce type for
6407 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6409 * various: update for Alert.h
6411 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6413 * inset.h: fix comment
6415 * insettext.C: use par->isInset()
6417 2001-11-22 Allan Rae <rae@lyx.org>
6419 * insetcollapsable.h:
6420 * inset.h: Changes to checkInsertChar() behaviour.
6421 Now return value indicates whether chars can be inserted.
6423 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6425 * various: updated to use the new LaTeXFeatures
6427 2001-11-14 José Matos <jamatos@fep.up.pt>
6429 * insetspecialchar.C (linuxdoc):
6430 (docbook): don't give a name to a unused variable.
6432 * insettext.C (docbook): removed unused variable.
6434 2001-11-13 Herbert Voss <voss@perce.de>
6436 * insetgraphic.C: fix scale bug
6438 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6440 * inset.h (isSpace):
6441 (isLetter): new virtual methods.
6443 * insetspecialchar.C (isSpace):
6444 (isLetter): implement here.
6446 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6448 * inset.h: new inline helpers
6450 * insettext.C: use new helpers
6452 2001-11-07 José Matos <jamatos@fep.up.pt>
6454 * insettext.C (docbook): full support for paragraphs inside insettext.
6456 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6458 * insetindex.C: added header file for std::ostream.
6460 2001-11-03 José Matos <jamatos@fep.up.pt>
6462 * insetindex.C: added using std::ostream that I forgot yesterday.
6464 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6466 * insetindex.h (docbook):
6467 * insetindex.C (docbook): added support for docbook export.
6469 2001-11-02 José Matos <jamatos@fep.up.pt>
6471 * insetcaption.C(docbook): added support for docbook export.
6473 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6475 * insetexternal.C (updateExternal): Do not run update command if
6476 result file exists and is up to date.
6478 * ExternalTemplate.C (readFormat): Support the updateresult token.
6480 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6482 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6483 external_templates) to use the buffer->fileName() but only if
6484 previewing. Generating a TeX file should make FPath return
6487 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6490 * insetert.C: fix some problems
6492 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6494 * insetexternal.C (doSubstitution): Added $$FPath token
6495 to list of usable substitutions in external inset templates.
6497 2001-10-24 Juergen Vigna <jug@sad.it>
6499 * insettabular.C: use new ltType struct for setting longtable
6500 header and footers also new UNSET enums.
6502 2001-10-24 José Matos <jamatos@fep.up.pt>
6504 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6505 (docbook): If the table is not inside a float then wrap it inside
6506 <informaltable>...</informaltable>.
6508 2001-10-23 José Matos <jamatos@fep.up.pt>
6510 * insetref.C (docbook): removed / terminator to conform SGML.
6512 * insetspecialchar.C (linuxdoc):
6513 (docbook): Added support for special chars, more than ascii export.
6515 2001-10-22 Juergen Vigna <jug@sad.it>
6517 * insettext.C (checkInsertChar): added for REALLY checking the
6518 font of the inserted char in the right inset!
6520 2001-10-19 Juergen Vigna <jug@sad.it>
6522 * inset.h: added method allowSpellcheck() so that insets who do
6523 not have anything to spellcheck can tell and so they are over-jumped.
6524 Implemented for InsetText and co.
6526 2001-10-18 Juergen Vigna <jug@sad.it>
6528 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6530 2001-10-15 José Matos <jamatos@fep.up.pt>
6532 * insetert.C: allow export for docbook and linuxdoc
6534 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6536 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6538 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6540 * insetquotes.C (dispString): fix handling of latin9 quotes
6542 2001-10-03 Juergen Vigna <jug@sad.it>
6546 * insetcollapsable.C: change updateInset calls to not tell BV that
6547 we have changed status.
6549 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6551 * insettabular.C (deletable): make const
6553 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6555 * insetert.C (latex): Fix the returned value
6557 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6559 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6560 Returns string(), so nothing in an ERT inset is spellchecked.
6562 * insetgraphics.C (draw): print the filename if not displaying the
6564 (width): make sure that the width and draw methods are consistent.
6565 (updateInset): don't even load the image into cache if not displaying
6568 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6570 * various files (selectNextWord): renamed as
6571 selectNextWordToSpellcheck.
6573 * insetgraphics.C (draw): remove the previous change. Right place
6574 is in imageLoaderXPM.C.
6575 (draw): don't display the image if params.display == NONE.
6577 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6579 * figinset.C (runqueue):
6580 * insetgraphics.C (draw): set background colour of inset from
6581 background to the user-configurable graphicsbg.
6583 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6585 * insetquotes.C (InsetQuotes): when trying to decide the side of
6586 the quote, choose `left' only after a space or '('
6588 2001-09-04 José Matos <jamatos@fep.up.pt>
6593 * insetcollapsable.h
6611 * insetlatexaccent.C
6612 * insetlatexaccent.h
6617 * insetspecialchar.C
6618 * insetspecialchar.h
6622 * insettext.C (docbook): rename docBook method to docbook.
6624 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6626 * inset.h (getFirstParagraph): New virtual method.
6628 2001-08-20 Herbert Voss <voss@perce.de>
6629 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6630 in the the bibtex-database-gui for inserting a line
6633 If no style is given than there is no tex-output.
6635 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6637 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6641 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6643 * insetert.C (latex): Fix output for multiple paragraphs.
6644 (write): New code for writing paragraph data.
6645 (read): Set font after reading the inset.
6646 (localDispatch): Call set_latex_font() for more cases.
6648 * insetnote.h: Add empty validate method.
6651 * insetnote.C (InsetNote): Set language to the language of the
6654 2001-08-16 Juergen Vigna <jug@sad.it>
6656 * insettext.C: implemented the new FINISHED states.
6658 * insettabular.C: ditto
6660 * inset.h: added more FINISHED states for cursor right,up,down
6662 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6664 * insetfloatlist.C: use "FloatName List"
6666 2001-08-14 Juergen Vigna <jug@sad.it>
6668 * insetert.C (edit): forgot to set status_ in edit calls!
6670 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6672 * insettext.C: Compilation fix
6674 2001-08-13 Juergen Vigna <jug@sad.it>
6676 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6678 * insetcollapsable.C (edit): don't recollapse an already open inset.
6680 * insettext.C: fixed problem when reinitializing LyXText by not doing
6681 it while lt is in use and post this to the next possible time in
6683 (searchForward): fixed not unlocking of inset if nothing found.
6684 (edit): set cursor behind right (was set -1 pos).
6686 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6688 * insettabular.C (tabularFeatures): fixed fix where deleting the
6689 last row didn't get the right actcell!
6691 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6693 * insettext.C (localDispatch): Change language only when the inset
6696 2001-08-10 Juergen Vigna <jug@sad.it>
6698 * insettabular.C (selectNextWordInt): use the front using edit call.
6700 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6701 the parameter overwrite class variable inset.
6703 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6705 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6706 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6708 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6709 update only for fixed with cells.
6710 (resetPos): try to fix the lockup on spellchecking or s&r.
6712 * insettext.C (update): comment this out as it seems first wrong
6713 and second not needed anymore!
6714 (some functions): call reinitLyXText() only in update() in all other
6715 positions set only need_update = INIT.
6717 2001-08-08 Juergen Vigna <jug@sad.it>
6719 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6721 * insettext.C (insetUnlock): remove double-space on inset unlock.
6723 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6725 * insettabular.C (update): fixed cursor positon after an insert.
6726 (insetAllowed): do not allow to insert insets when not inside the
6728 (draw): clear below an inset too as it could have changed height.
6730 * inset.C (getMaxWidth): fixed width for inset in inset.
6732 * insettext.C (update): small fix.
6734 * insettabular.C (tabularFeatures): added selection support to
6735 DELETE_ROW/DELETE_COLUMN.
6737 2001-08-07 Juergen Vigna <jug@sad.it>
6739 * inset.C (getMaxWidth): recoded and all it's implementations!
6741 * insettext.C (init,setParagraph+constructors): cleanups
6742 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6743 are new and I want do a save/restore of the cursor position which is
6744 not possible anymore.
6746 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6747 (searchBackward): ditto
6748 (selectNextWord): ditto
6750 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6752 * insetlatexaccent.C (checkContents): Add some debug messages
6754 2001-08-07 Juergen Vigna <jug@sad.it>
6756 * insetert.C (read): don't use InsetCollapsable::read as we don't
6757 write the collapsed status anymore only the status.
6760 2001-08-06 Juergen Vigna <jug@sad.it>
6762 * insetert.C (set_latex_font): use LyXText's setFont directly.
6764 * insettext.C (drawFrame): fixed one time more the right position
6765 and size of the frame!
6767 * insetert.C (~InsetERT): hide the dialog.
6768 (showInsetDialog): added implementation
6771 (status): new function for the status of the ERT inset (3-state).
6772 (write): output also the status of the inset for readback!
6773 (read): readback the status if available otherwise use collapsed_.
6775 * insettext.C (edit): small fix of setting the position, which could
6778 * insetert.C (width): implement this function for inlined viewing.
6779 Added minimum width of 10 pixels!
6781 * insetminipage.C (InsetMinipage): just change the colors a bit so
6782 that border/background is a bit more visible. We will remove this
6785 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6786 function for getting the important widths for drawing in various
6787 functions and in LyXText.
6788 (draw): fixed up a bit (frame drawing/clearing)
6790 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6792 * inset.C (convertFont): delete method. not used.
6794 2001-08-03 Juergen Vigna <jug@sad.it>
6796 * insettext.C (setFont): don't call for a draw update if we're just
6797 changing the cursor font!
6799 2001-08-02 Juergen Vigna <jug@sad.it>
6801 * insettext.C (draw): clear the background with the right color if
6802 needed. Update myself if x&max-width changed and return without doing
6803 anything. Let the update code handle the right stuff.
6805 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6806 inside another inset.
6808 2001-08-01 Juergen Vigna <jug@sad.it>
6810 * insetcollapsable.C (update): added an in_update bool so we avoid
6813 * insettabular.C (update): added an in_update bool so we avoid
6816 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6818 (update): added an in_update bool so we avoid reentering.
6820 * insettabular.C (localDispatch): clear col/row selection when doing
6821 something else inside an inset.
6823 * insettext.C (getLyXText): fixed bug when requesting a recursive
6826 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6828 * insetcite.C (latex): Paranoia check. Make sure that there is no
6829 whitespace between the citation keys.
6831 2001-07-31 Juergen Vigna <jug@sad.it>
6833 * inset.h (nodraw): make the set function also const so that this
6834 can be called from inside other const functions.
6836 * insetcollapsable.h: removed inline variable and moved it over
6837 to the only user InsetERT.
6839 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6840 inset opening immediately therein lying insets dialogs!
6842 * insetert.C (localDispatch): set the font also if we don't have any
6843 chars in this paragraph, otherwise if we delete all of em and start
6844 writing we have the wrong font.
6846 (draw): implemented for inline support
6847 (insetButtonRelease): ditto.
6849 2001-07-30 Juergen Vigna <jug@sad.it>
6851 * insettext.C (reinitLyXText): new function to reinit the insets
6852 text after lot's of paragraph changes. Use this instead of the
6853 cache.clear() which is VERY dangerous.
6855 * insetfloat.C (insetButtonRelease): we should only show the dialog
6856 if we press on the label otherwise we have problems to open mouse
6857 button 3 dialogs inside this float (f.ex. of a tabular!)
6859 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6861 * insetert.C: change back to "ERT"
6863 * insetfloat.C: handliign of RMB on label added.
6865 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6867 * insetgraphicsParams.C: #include LOstream.h here.
6869 * insetfoot.h: remove InsetFoot:: qualifier.
6871 2001-07-29 Baruch Even <baruch@lyx.org>
6873 * ChangeLog: Hiding time travel evidence.
6875 * insetgraphicsParams.h:
6876 * insetgraphicsParams.C:
6877 * insetgraphics.C: Added horizontal scale option, it actually
6878 scales both directions since it keeps image proportions.
6880 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6882 2001-07-29 Baruch Even <baruch@lyx.org>
6884 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6885 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6887 HACKY! Will need to add an EPS detection routine like old InsetFig
6890 2001-07-29 Baruch Even <baruch@lyx.org>
6892 * insetgraphics.C: Added EPSI to be an alias of EPS.
6894 2001-07-29 Baruch Even <baruch@lyx.org>
6896 * insetgraphics.C: Change GRAPHICS to Graphics.
6897 Changed image conversion rules (documented at the beginning of file).
6899 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6901 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6904 * insetgraphics.C: added a using std::endl directive.
6906 * insetcommand.h (getScreenLabel): removed pure virtual function,
6907 as it duplicates that in InsetButton.
6909 * insetbib.[Ch] (getScreenLabel):
6910 * insetbutton.[Ch] (getScreenLabel):
6911 * insetcite.[Ch] (getScreenLabel):
6912 * insetert.[Ch] (getScreenLabel):
6913 * insetexternal.[Ch] (getScreenLabel):
6914 * insetfloatlist.[Ch] (getScreenLabel):
6915 * insetinclude.[Ch] (getScreenLabel):
6916 * insetindex.[Ch] (getScreenLabel):
6917 * insetlabel.h (getScreenLabel):
6918 * insetparent.[Ch] (getScreenLabel):
6919 * insetref.[Ch] (getScreenLabel):
6920 * insettoc.[Ch] (getScreenLabel):
6921 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6923 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6925 (validate): remove check on "cite" when using natbib.
6927 2001-07-26 Baruch Even <baruch@lyx.org>
6929 * insetgraphics.C (draw): changed casting to be in one place
6930 rather than all over the function.
6933 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6935 * insetgraphicsParams.h:
6936 * insetgraphicsParams.C:
6937 * insetgraphics.C: Removed inline option and changed rotateAngle
6940 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6942 * insetfoot.C (validate): Added method to ensure that the
6943 right bit of LaTeX is emitted.
6945 * insetfoot.h: Added validate method to set the correct
6946 LaTeXFeatures bit for the special footnote code.
6948 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6950 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6953 2001-07-27 Juergen Vigna <jug@sad.it>
6955 * inset.h: remove unused font variable in parameter.
6956 removed checkInsertChar in UpdatableInset as it was equal to
6957 the one in Inset and so not needed.
6959 * insetert.C (checkInsertChar): implementation of function
6962 * inset.h: added new function checkInsertChar.
6964 * various files: added c-tor and clone() function.
6966 * insetcollapsable.h: removed clone function here as this should
6967 be only realized in REAL insets and added it to all collapsable
6968 insets! (with the copy-constructor).
6970 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6972 * insetminipage.C (read): handle missing parameters more gracefully
6974 * insetcollapsable.C (read): handel missing collapsed more gracefully
6976 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6978 * insetfloat.C (read): handle missing parameters.
6980 * insettext.C (read): handle old latex end_inset
6982 * insetert.C (setButtonLabel): new method
6983 (init): use it, to set the dynamic label correctly
6986 * Makefile.am (EXTRA_DIST): add files that is not part or the
6989 * insetcollapsable.h: remove autocollapsable (no users), remove
6990 draw_label, change_label_with_text and companion code. Remove args
6992 * insetert.[Ch]: move here instead (only user)
6994 * inset.h: rename private variable name to name_, make
6995 selectNextWord return a const string. make getInsetName return a
6996 string const &. Remove bool from open, add close.
6998 * Makefile.am: don't compile insetlist, insetsection
7001 2001-07-24 Juergen Vigna <jug@sad.it>
7003 * insetert.C (InsetERT): put init after the paragraph initialization,
7004 as otherwise we don't set the draw_label right.
7006 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
7007 insets with the mouse without having strange selections.
7008 (edit): if the inset was collapsed and we open it here then put the
7009 cursor always at the beginning of the inset.
7010 (get_new_label): 15 instead of 10 max chars in the label.
7012 * insetert.C (localDispatch): added and handle various stuff we
7013 need to handle here (font setting on paragraph break, not permitted
7014 layout setting, etc.).
7016 * inset.h: added default copy-consturctor and implemented this in
7017 various insets with the change to use this in the clone function!
7019 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7021 * insetminipage.C (InsetMinipage): set background color to red :)
7023 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7025 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
7026 draw frame mode is LOCKED.
7028 * insetcollapsable.C (edit):
7029 (insetButtonRelease): set update status to full when
7032 * insettext.C (clearInset):
7033 * insettabular.C (draw):
7034 * insetlatexaccent.C (draw): honor background color.
7036 * inset.h: new member background_color_, initialized to
7039 * inset.C (backgroundColor): new method.
7040 (setBackgroundColor): new method.
7042 * insetert.C (init): new method, called by the ctors.
7043 (InsetERT): when inserting contents, make sure the font is
7046 * insetnote.C (InsetNote): when inserting content, remove trailing
7048 (init): set background color to LColor::note
7050 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * insetcollapsable.C: adjust
7054 * insetbutton.C: adjust
7056 2001-07-23 Juergen Vigna <jug@sad.it>
7058 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
7059 parameter on the _collapsed function (was not needed) and call
7060 always width_collapsed().
7062 * insetert.C (InsetERT): use setLabel with "true" flag.
7064 * insetcollapsable.C: modified various functions to set the draw_label
7065 string right in any condition.
7066 (setLabel): added a bool parameter to set change_label_with_text.
7068 * insetcollapsable.h: added draw_label string which is set to the
7069 actual drawn label-string, while label is the original static label
7070 of this collapsable inset. Added bool change_label_with_text to set
7071 if we want that the label changes to the start of the InsetText's
7072 text when collabpsed. You can set this flag with the setLabel funciton.
7073 Added bool inlined for inlined collapsable insets, but not handled
7076 * insetcollapsable.C (get_new_label): added should get a new label
7077 from the InsetText beginning (for now 10 chars).
7079 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7081 * insetquotes.C (latex): fix the handling of french double quotes
7082 when not using the french pachage.
7084 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7086 * insetcollapsable.h: make WidthCollapsed mutable.
7088 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
7089 InsetPrintIndex returns INDEX_PRINT_CODE.
7091 * inset.h: add INDEX_PRINT_CODE
7093 * insetcollapsable.C (draw): init widthCollapsed if necessary
7096 * insetquotes.C (width): use the local language, not the document
7099 (dispString): add additional spacing for all french languages,
7101 (validate): make it work when there is no default language
7103 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
7105 * insetnote.C (init): new method, called by the constructors
7106 (InsetNote): new constructor with contents passed as a string
7108 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7110 * insetfootlike.C (insetAllowed): disallow float in footlike.
7112 * insetert.C (InsetERT): add collapsed argument to the constrctor
7115 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7117 * insetindex.h: shut off warning
7119 2001-07-20 Juergen Vigna <jug@sad.it>
7121 * insetcollapsable.C (update): recoded hopefully works now!
7123 2001-07-19 Juergen Vigna <jug@sad.it>
7125 * most files: implemented the below new introduced function.
7127 * inset.h: added new edit(BufferView *, bool front) method to be able
7128 to enter an inset from the front/back without knowing x/y positions
7129 and baselines inside the inset. So I just can tell the inset activate
7130 me and set the cursor on the front/back of yourself.
7132 2001-07-18 Juergen Vigna <jug@sad.it>
7134 * insetcollapsable.C (edit): fixed hopefully the y parameter which
7135 is given to the InsetText.
7136 (insetButtonPress): ditto
7137 (insetButtonRelease): ditto
7138 (insetMotionNotify): ditto
7140 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7142 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7143 LIGATURE_BREAK, since the name is so stupid.
7145 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7147 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7148 the default InsetCollapsable methods. I.e., it can insert anything.
7149 (write) output the name of the inset, not some silly hack for
7150 compatability with the old InsetInfo.
7152 * insetinfo.[Ch]: removed.
7153 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7154 now collapsable, but functionality is otherwise identical to InsetInfo.
7156 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7158 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7160 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7163 * insetquotes.C: general cleanup
7164 (dispString): add spaces inside french double quotes.
7165 (latex): ditto. Moreover, treat first the case where the frenchb
7166 or french options have been given.
7168 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7170 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7173 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7175 * figinset.C (RegisterFigure): Print debug message only when
7176 current_view is available.
7178 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7180 * many files: update to match the change below
7182 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7183 implement the version which takes an inset here.
7185 * insetcollapsable.[Ch]: implement open and isOpen
7187 * inset.h: remove insertInsetAllowed from Inset
7188 (open): new method, to open or close an inset
7189 (isOpen): returns the status of an inset
7190 (isCollapsable, colapse): removed
7192 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7194 * insetquotes.C (dispString): display french guillemets when using
7197 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7199 * insetcollapsable.h: remove bogus return statements
7201 2001-07-18 Juergen Vigna <jug@sad.it>
7203 * insettabular.C (selectNextWord): fixed spellchecking for the
7204 first cell of a tabular (wasn't entered!)
7205 (getLyXText): changed to enter automatically insettext and return
7206 it's LyXText if we're locked.
7208 2001-07-17 Juergen Vigna <jug@sad.it>
7210 * various files: implemented the below functions.
7212 * inset.h: added functions
7213 - virtual string selectNextWord(BufferView *, float & value) const;
7214 - virtual void selectSelectedWord(BufferView *) { return; }
7215 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7216 needed for spellchecking correctly!
7218 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * insetert.C (latex): write out all paragraphs.
7222 2001-07-17 Baruch Even <baruch@lyx.org>
7224 * insetgraphics.C (draw): Removed unneeded casts.
7226 2001-07-16 Juergen Vigna <jug@sad.it>
7228 * insettext.C (update): fixed small oversight (reset lt to 0).
7230 2001-07-14 Baruch Even <baruch@lyx.org>
7233 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7235 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7237 Consistent use of Lsstream.h:
7238 * figinset.C: removed using std::ostringstream directive.
7240 * insetgraphics.C (createLatexOptions):
7241 * insetinclude.C (unique_id):
7242 std::ostringstream -> ostringstream.
7243 * insettext.C (localDispatch): std::istringstream -> istringstream.
7245 2001-07-13 Juergen Vigna <jug@sad.it>
7247 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7249 * insetcollapsable.C (getLockingInset): ditto.
7251 2001-07-12 Juergen Vigna <jug@sad.it>
7253 * insetcollapsable.h: added implementation of new function for
7256 * various files: added implementation of new insertInsetAllowed-func
7257 and redone the function a bit more.
7259 * inset.h: added isCollapsable(), bool collapsed(),
7260 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7262 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7264 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7265 LyXText which is marked for removal while we're using it!
7267 * insettext.h: added private LyXText * lt to use it to assure we are
7268 not deleting our LyXText while we're using it!
7270 2001-07-11 Juergen Vigna <jug@sad.it>
7272 * insettext.C (insertInset): check if we are before the inset after
7273 inserting it! This check IS needed. Remove the Undo-Call as it is
7274 called in LyXText::insertInset!
7276 * insettext.h: added struct InnerCache.
7278 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7279 that we ONLY delete the LyXText in the getLyXText() routine. So we
7280 are sure we don't delete LyXText while someone is working with it!
7282 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * insetexternal.C: (*it). -> it->
7285 * insettext.C: ditto
7287 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7289 * insetcollapsable.C (edit): always open collapsed insets (even if
7290 they are not autocollapsable)
7292 * insetcommand.C (operator=): simplify.
7294 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * insetert.C (latex): handle META_NEWLINE
7298 2001-07-09 Juergen Vigna <jug@sad.it>
7300 * insetert.h: a normal InsetText can insert insets, but we won't.
7302 * inset.h: return default "false" on insertInsetAllowed and implement
7303 this function where a returnvalue != "false" is needed.
7305 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7307 * insetert.C (InsetERT): new contructor
7309 2001-07-06 Juergen Vigna <jug@sad.it>
7311 * a lot of files: added implementation of the below new functions
7312 and the change to clone(). Also the call of the new undo-functions
7315 * inset.h: added an inset_id, added functions getParFromID,
7316 getInsetFromID, firstParagraph, cursor and id functions, added
7317 bool same_ids to clone function.
7319 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7321 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7322 of BufferView * and shared_ptr<LyXText>
7324 2001-07-05 Juergen Vigna <jug@sad.it>
7326 * insettext.C (clear): deleted also the cache not only LyXText.
7327 (setParagraphData): ditto.
7329 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * insetfloat.C (latex): let the specific placement take presedence
7332 if set, otherwise choose document placement if set, otherwise just
7333 use float default placement.
7335 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * insettext.C (localDispatch): call CutAndPaste::'s static method
7340 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7342 * insetbib.C: no meed to include forms.h here.
7344 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7346 * insettext.C: added using std::make_pair directive.
7348 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7350 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7352 (deleteLyXText): ditto
7353 (resizeLyXText): ditto
7355 2001-07-02 Juergen Vigna <jug@sad.it>
7357 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7358 following calls are only returned the right pointer without the over
7359 head to search in the map.
7360 (various funcs): reset the cached_bview variable as this signs that
7361 the cache is not valid anymore.
7363 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7365 * insettabular.C (clone): do not copy the LyXTabular twice
7367 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7369 * insettext.h (TEXT): delete method
7371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7373 * insetmarginal.C (latex):
7374 * insetfoot.C (latex): fix spacing of notes in LaTeX
7376 * insettext.C (localDispatch): use .c_str() on istringstream
7377 constructor argument.
7379 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7384 * inseturl.C: fix method names in these to begin
7385 with small char too, so they inherit
7387 2001-06-28 Juergen Vigna <jug@sad.it>
7389 * insettext.C (setFont): fixed font settings using toggleFree()
7390 instead of setFont().
7392 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7394 * Change a lot of method names to begin with a small char.
7395 Changes to a lot of files because of this.
7397 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7399 * insetfloatlist.C (Write): std:: qualify ostream
7402 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7406 * insetgraphics.C: send debug output to Debug::INFO instead of
7409 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7412 * insettabular.C (getStatus): update to use func_status
7414 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7416 * insetref.C (DocBook): added support for cross-references without
7419 2001-06-26 The LyX Project <jug@sad.it>
7424 * insetlabel.h: removed escape method and moved it to
7427 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7429 * insettabular.C (getMaxWidth): do the speedup in a different way,
7432 2001-06-24 The LyX Project <Asger>
7434 * insettabular.C (getMaxWidth): We cache a mapping from
7435 inset to cell in order to speed this method up.
7437 2001-06-24 The LyX Project <Asger>
7439 * insettext.C: Optimized InsetText::draw or something.
7441 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7443 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7445 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7447 * inset.h: name change from lyxinset.h
7449 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7451 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7453 2001-06-14 Juergen Vigna <jug@sad.it>
7455 * insettext.C (draw): removed warnings.
7457 2001-06-13 Juergen Vigna <jug@sad.it>
7459 * insettabular.C (nodraw): only go down the tree if we don't have
7460 that flag set otherwise it's obvious that we don't want to draw.
7461 (LocalDispatch): do also an update if we have an undispached result.
7463 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7466 * insetgraphicsParams.C:
7467 * insettext.C: removed // -*- C++ -*- as first line.
7469 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7471 * lyxinset.h (resizeLyXText): shut off warning about unused
7474 2001-06-07 Juergen Vigna <jug@sad.it>
7476 * insettext.C (resizeLyXText): honor the new force flag.
7478 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7480 * insettabular.C (deleteLyXText): new function
7482 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7490 * insetcollapsable.C:
7491 * insetcaption.C: LColor tidy
7493 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * figinset.C: fix typo
7497 2001-06-01 Juergen Vigna <jug@sad.it>
7499 * insettabular.C (resetPos): small hack so that scroll is not set to
7500 0 when we are in the last column of a tabular. This is a problem we
7501 have because of constats 20 offset on both directions, so this can
7502 cause on the limit an endless loop.
7504 * insettext.C (SetFont): forgot that we can have locking insets ;)
7506 2001-05-31 Juergen Vigna <jug@sad.it>
7508 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7510 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7512 * figinset.C: add using std:: directive for the C functions which
7515 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7517 * insetfloat.C (Write): write out wide info
7518 (Read): read the wide info
7519 (Latex): use the wide info when creating latex.
7521 * insettext.C: adjust
7523 * insetgraphics.[Ch] (statusMessage): change to return string
7527 * figinset.C (runqueue): add std::
7530 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7532 * insetcite.C (Ascii): add std:: qualifier
7534 2001-05-28 Juergen Vigna <jug@sad.it>
7536 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7537 a endless-width inset (maxWidth < 0).
7538 (Edit): change language only if not equal.
7540 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7542 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7544 2001-05-16 Juergen Vigna <jug@sad.it>
7546 * insettext.C (selectAll): added
7547 (clearSelection): added
7549 * insettabular.C (SetFont): now we may set a font on a whole selection!
7550 (getSelection): added helper function.
7552 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7554 * insetcite.C (Ascii): Add method.
7556 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7559 * insetbib.C: fix path for OS/2 & Win32
7561 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7563 * insetfoot.C (Latex): don't use % after footnote.
7565 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7567 * insettext.C (Read): use clear
7568 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7570 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7572 * insetfloatlist.h: add a bunch of std:: qualifiers.
7574 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7576 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7577 FLOAT_LIST_CODE, renumber code list.
7579 * insettoc.C (getScreenLabel): remove support for float lists
7583 * insetfloatlist.[Ch]: new files
7585 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7587 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7589 * insettabular.C (LocalDispatch):
7590 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7593 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7595 * insettext.C: remvoe !NEW_INSETS cruft
7597 * insettabular.C: remove !NEW_INSETS cruft
7599 * insetcollapsable.h: remove !NEW_INSETS cruft
7601 * insetbib.C: remove !NEW_INSETS cruft
7603 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7605 * insettoc.C: hack to make listof algorithm work
7607 2001-04-20 Juergen Vigna <jug@sad.it>
7609 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7611 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * insetquotes.C (Latex): improve the guard against
7614 unwanted !` and ?` ligatures. This should really be done in
7615 another place (to catch all this ligatures at low-level).
7617 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7619 * insettext.C (init): remvoe leftovers from cursor_visible change
7620 (draw): use c++ cast
7621 (LocalDispatch): dispatch LFUN_MESSAGE
7623 * insettabular.C (InsetTabular): remove leftovers from
7624 cursor_visible, and scoped_ptr changes
7625 (draw): use c++ cast
7627 * insetcollapsable.C (draw): use c++ cast
7629 * ExternalTemplate.h: inherit privaely from noncopyable
7630 * insetcommand.h: ditto
7631 * insetinclude.h: ditto
7633 2001-04-16 Allan Rae <rae@lyx.org>
7635 * insettoc.C (Ascii):
7636 * insettext.C (draw):
7637 * insettabular.C (setPos):
7638 * insetminipage.C (Read):
7639 * insetfloat.C (placement):
7640 * insetcaption.C (Ascii, DocBook):
7641 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7642 an unrecognised preprocessor directive. So ensure they're wrapped.
7644 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7647 * insetexternal.C: set view on Clone. Add _ to private members.
7649 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * insettext.C (InsetText): fix new
7652 (InsetText): reindent some, simplify deletion of par list
7653 (clear): simplify deletion of par list, fix new
7654 (SetParagraphData): simplify deletion of par list
7656 * insettabular.[Ch] (getLabelList): implement new method
7658 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * lyxinset.h: do not include gettext.h...
7668 * insetlatexaccent.C:
7672 * inseturl.C: ... and do it here instead
7674 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7676 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7678 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7680 * insetcollapsable.[Ch] (getLabelList): implement
7682 * insettext.[Ch] (getLabelList): implement
7684 * insettext.h: reindent
7686 * insettabular.h: make tabular a scoped_ptr
7688 * insettext.C (init): adjust for cursor_visible
7689 (ToggleInsetCursor): constify asc and desc, font, adjust for
7691 (ShowInsetCursor): constify asc and desc, font, adjust for
7693 (HideInsetCursor): adjust for cursor_visible
7695 * insettabular.C: reindent some
7696 (InsetTabular): adjust for scoped_ptr and cursor_visible
7697 (InsetTabular): ditto
7698 (~InsetTabular): delete delete
7699 (Clone): adjust for scoped_ptr
7700 (Read): constify old_format, adjust for scoped_ptr, move init of
7702 (draw): constify tx, localize loop vars.
7703 some other localization of variables, remove double initilizatons.
7705 * insetfoot.C: remove using std::ostream, add ostream where needed
7707 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * lyxinset.h: some reindentaion, use initializer list for
7711 UpdatableInset: make cursor_visible a private var add
7712 public isCursorVisible(), add protected toggleCursorVisible() and
7713 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7715 * insettoc.C: remvoe using decl
7716 (getScreenLabel): make cmdname donst
7719 (Ascii): don't use endl
7721 * insetfootlike.C: remove using decl at file scope and add std::
7723 * insetmarginal.C: ditto
7725 * insetfoot.C: some reformatting
7727 * insetfloat.C (InsetButtonRelease): adjust the hit area
7729 * insetert.C (SetFont): some reformatting
7731 * insetcollapsable.C: some reformatting and constification
7732 (Clone): comment out.
7733 * insetcollapsable.h: some reformatting
7734 (Clone): comment out.
7739 2001-03-30 Juergen Vigna <jug@sad.it>
7741 * insetcollapsable.h: changen *inset to be a InsetText inset.
7743 * some files: changed to reflect the above change.
7745 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7747 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7748 InsetExternal::Params.
7749 Added operator==() and operator!=() for the Params struct.
7751 2001-03-29 Juergen Vigna <jug@sad.it>
7753 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7756 * insetminipage.C: removed widthp_ and all it's functions and changed
7757 to use new %-lengths of LyXLength.
7759 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7761 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7763 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7765 * insetgraphicsParams.C (operator!=): new function, needed by the
7766 ControlGraphics class.
7768 2001-03-28 Juergen Vigna <jug@sad.it>
7770 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7771 (checkAndActivateInset): don't use the values returned from
7772 call to bv->checkInsetHit.
7774 * insetminipage.C (Clone): set special minipage values.
7776 * insetcollapsable.C (draw): changed to draw the button in the
7777 upper left corner outside the textinset.
7778 (ascent): changed because of different drawing
7782 (InsetButtonPress): ditto
7783 (InsetButtonRelease): ditto
7784 (InsetMotionNotify): ditto
7786 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7788 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7792 2001-03-26 Juergen Vigna <jug@sad.it>
7794 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7796 * insettext.C (ShowInsetDialog): implemented above function.
7798 * insettabular.C (ShowInsetDialog): ditto
7800 * insetminipage.C (ShowInsetDialog): ditto
7802 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7804 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7805 InsetInclude::Params. Don't store a buffer * in Params. Store the
7806 master file name instead.
7808 2001-03-23 Juergen Vigna <jug@sad.it>
7810 * insetcollapsable.C (InsetMotionNotify):
7811 (InsetButtonRelease):
7812 (InsetButtonPress): fixed y-offset (minipages).
7814 * insettext.C (draw): force a FULL update if cleared == true.
7816 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7817 routine to draw the minipages on its position-flag.
7818 (InsetInInsetY): give back the right y position, because of minipage
7821 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7824 * insetfloat.C (DocBook): docbook export code.
7826 2001-03-22 Juergen Vigna <jug@sad.it>
7828 * insetminipage.C (getMaxWidth): added function to set the drawing
7830 (Read): should work now!
7832 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7833 if we create a new inset.
7835 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7837 * figinset.C (fl_set_preemptive_callback): moved definition outside
7840 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7842 * insetminipage.C (Read): prepare for reading of minipage arguments.
7844 2001-03-18 Baruch Even <baruch@lyx.org>
7846 * insetgraphics.C: Minor cleanups of the comments and code.
7848 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7850 * insetminipage.C (InsetMinipage): default to not collapsed
7852 2001-03-16 Juergen Vigna <jug@sad.it>
7854 * insetminipage.C (width): modified with to be a string
7855 (widthp): added widthp (for % width) support functions.
7856 (InsetButtonRelease): added to open the options dialog on button==3.
7857 (~InsetMinipage): added to hide the dialog.
7859 * insetminipage.h: added hideDialog signal
7861 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7863 * insetminipage.h: change the order or Position to match
7864 LyXParagraph::MINIPAGE_ALIGNMENT
7866 * several files: remvoe CXX_WORKING_NAMESPACES
7868 * ExternalTemplate.h: noncopyable is in namespace boost
7869 * insetinclude.h: ditto
7870 * insetcommand.h: ditto
7872 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7874 * insettext.C (Edit): #else# -> #else.
7875 * insettoc.C: added using directive.
7877 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7879 * insetminipage.h: add pos, inner_pos, width and height. + getters
7880 and setters for all of them.
7882 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7884 * insetinclude.C (Latex): Do not exit when the textclass of the
7885 included file differ from the textclass of the parent file.
7887 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7889 * ExternalTemplate.C (read): the reading of external insets now checks
7890 for \end_inset and removes it form the input stream.
7892 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7894 * ExternalTemplate.h:
7895 * ExternalTemplate.C:
7897 * insetexternal.C: move form to GUII
7899 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7902 * insetinclude.C: add InsetIncludeParams, use
7903 composition rather than derivation of InsetCommand
7905 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7907 * insettoc.C (Ascii): use the Buffer typedefs
7909 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7911 * insettoc.C (Ascii): implement for dynamic number of lists
7913 * insetcaption.[Ch]: update from new_insets branch
7914 * insetfloat.[Ch]: ditto
7916 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7919 * figinset.C: use new File Dialog
7921 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7923 * insettext.C: changes becuase of ParagraphParameters.
7925 2001-02-28 Baruch Even <baruch@ev-en.org>
7927 * insetgraphics.C (updateInset): Changed due to the change in
7930 2001-02-26 Juergen Vigna <jug@sad.it>
7932 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7933 handled in LyXText).
7935 2001-02-23 Juergen Vigna <jug@sad.it>
7937 * insettext.C (draw): some small repainting fixes.
7938 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7940 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7941 should be) and not an int.
7943 * insettabular.C (LocalDispatch): ditto
7945 * insettext.C (LocalDispatch): ditto
7947 * insetcollapsable.C (LocalDispatch): ditto
7949 2001-02-22 Juergen Vigna <jug@sad.it>
7951 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7952 DISPATCH it and we don't have a locking_inset.
7954 2001-02-21 Baruch Even <baruch@ev-en.org>
7956 * insetgraphics.[Ch]: Changed to use
7957 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7959 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7961 * insetcollapsable.C (getLyXText): add const qualifier to second
7964 2001-02-22 Juergen Vigna <jug@sad.it>
7966 * insettext.C (getLyXText): honor the recursive parameter.
7967 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7969 * inset.C (getLyXText): added bool recursive parameter.
7971 * insettext.C (SetUpdateStatus): or the update codes.
7972 (draw): check need_update with &.
7973 (InsetButtonPress): set no_selection to not put a selection when
7974 entering an inset and it is redraws in another spot.
7976 * insettext.h: made need_update an int.
7978 2001-02-20 Baruch Even <baruch@ev-en.org>
7981 * insetgraphisc.C: Changed to use better semantics when loading images
7982 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7984 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7988 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7989 consistent with InsetTabular.
7991 2001-02-19 Juergen Vigna <jug@sad.it>
7993 * insettabular.C (LocalDispatch): implement PAGE up/down.
7995 * insettext.C (draw): clear all of it on need_update==INIT too!
7997 * insettabular.C (InsetUnlock): always clear the selection.
7999 * inset.C (scroll): normally we only want to scroll the inset until
8000 it is fully visible so if top_x + offset > 20 then just set scx to 0.
8002 2001-02-14 Juergen Vigna <jug@sad.it>
8004 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
8005 (resetPos): fixed scroll behaviour.
8006 (LocalDispatch): do an update if moving cursor inside a table cell
8007 requests a scroll of the tabular.
8009 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8011 * insettext.C (textWidth): constify local var
8013 * insettabular.C: small cleanup.
8015 * insetfoot.C (Latex): constify local var
8017 * insetcollapsable.C: small cleanup.
8019 * figinset.C (runqueue): use compare instead of strcmp
8021 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8024 * insetinfo.C: remove cruft
8026 2001-02-14 Juergen Vigna <jug@sad.it>
8028 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
8030 2001-02-13 Juergen Vigna <jug@sad.it>
8032 * insettext.C (InsertInset): don't move left (is this right?)
8034 * insettabular.C (LocalDispatch): use of the no_draw variable
8036 * insettabular.h: new no_draw variable to stop redraw
8038 * insettabular.C (TabularFeatures): fixed update for alignment change
8040 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8044 * insetbib.C: move dialogs to frontends/
8046 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8048 * insettext.C (LocalDispatch): Restore the language if the inset
8051 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8053 * insettext.C (moveRightIntern): Update the selection cursor.
8054 (moveLeftIntern): Ditto.
8056 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8058 * Makefile.am: remove BoundingBox.h
8060 * BoundingBox.h: removed
8062 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
8064 * insettext.C (LocalDispatch): Update selection cursor when moving
8065 cursor to the right.
8066 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
8067 (moveLeftIntern): Ditto.
8069 2001-02-05 Baruch Even <baruch.even@writeme.com>
8071 * insetgraphics.C: Updated automatic image conversion, it now goes into
8072 temporary directory instead of with the image itself.
8074 2001-01-21 Baruch Even <baruch@ev-en.org>
8076 * insetgraphics.C: Added Docbook support. Added Automatic image
8077 conversion to EPS or PNG when needed (support bitmap graphics).
8079 2000-11-02 Baruch Even <baruch@ev-en.org>
8082 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
8083 to '\n' and removal of commented out code.
8085 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8087 * insetbib.C (callback): Update citations if the key has changed.
8089 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8091 * insetbib.C (InsetBibKey): Better computation of default key.
8092 (getScreenLabel) Show both the key and the label.
8093 (getBibLabel): New method.
8094 (callback): Force a redraw if the inset have been changed.
8096 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8098 * insetref.C (getType, getName): Move methods from
8099 src/frontends/xforms/FormRef.C.
8101 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
8103 * insettabular.C: Various improvements (use only one dummy position).
8105 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
8107 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
8108 par->bibkey->width. This fixes the crashes when running without
8109 gui or when having included documents.
8111 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
8113 * insetcommand.C (getAsString, setFromString): Cleanup.
8115 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
8117 * insetref.C: Add the array InsetRef::types that contains
8118 information about all supported reference types.
8120 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * lyxinset.h: remove trailing comma in enum.
8124 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
8126 * insettext.C: kill LyXBell.