1 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * insetbase.C: include boost/current_function.hpp
5 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
7 * insetbase.C (edit,editXY,index): supress some lyxerr messages
9 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
13 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
15 * insetlabel.C (changeRefsIfUnique): remove unused code
17 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
20 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
21 reverse the logic. Make sure to set updateButtonLabel_ to true in all
22 places where params is set (directly or indirectly).
24 2005-07-15 André Pönitz <poenitz@gmx.net>
26 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
28 2005-07-15 André Pönitz <poenitz@gmx.net>
32 * insetcollapsable.[Ch]:
34 * updatableinset.[Ch]: remove UpdatableInset
36 2005-07-15 José Matos <jamatos@lyx.org>
38 * insettext.C (plaintext): fix call to asciiParagraph.
40 2005-07-15 André Pönitz <poenitz@gmx.net>
42 * insetcollapsable.[Ch]:
43 * updatableinset.[Ch] (scroll, setScroll): sanitize things
45 2005-07-14 Angus Leeming <leeming@lyx.org>
47 * insetbibtex.C (latex): when processing the LaTeX file in
48 a temp directory, copy the BibTeX databases there, mangling their
49 names in the process. Do this so that BibTeX can process the database
50 because it *really*, *really* can't handle "files with spaces".
52 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
54 * insettext.C (doDispatch): reduce some debug blabbering
56 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * ExternalSupport.C (subst_path): adjust to latex_path changes and
59 replace dots if appropriate
60 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
61 * insetexternal.C (validate): require lyxdot
63 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * ExternalSupport.C (subst_path): new argument exclude_extension
66 * ExternalSupport.C (doSubstitution): exclude the extension when
68 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
69 the extension when quoting the file name
71 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * insetquotes.C (latex): always use \og/\fg for the french
74 languages; test against the language code instead of the babel
77 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * insettabular.C (tabularFeatures): adjust cursor after adding a column
81 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
83 * insetbranch.C (setButtonLabel): Make label prefix translatable.
85 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
87 * insettabular.[Ch] (dist): make it a real member of insettabular
88 and rewrite it to use the actuall cell dimensions for calculation,
89 not the insettext's deimensions (fixes bug 1801).
91 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * insetbibtex.C: (addDatabase): do not check for substrings but
95 (delDatabase): make it actually work.
97 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
101 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * insetgraphics.C (prepareFile): don't strip the extension of quoted
105 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
107 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
110 when multiple cells are selected (bug 1837).
112 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * insetoptarg.C (InsetOptArg): make the inset open by default
117 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * insetvspace.C (draw): use VSpace::asGUIName.
121 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
124 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
125 cur.noUpdate() if nothing changed
126 * insetlatexaccent.[Ch]: spelling fixes
128 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
130 * insetcollapsable.C (doDispatch): fix
131 click-on-closed-collapsable-inset-crash bug.
133 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
135 * insettabular.C (pasteSelection):
136 * insettext.h (copy c'tor): fix paste inside tabulars.
138 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * insetoptarg.C (plaintext): add dummy method.
142 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * insetbase.h (doDispatch): document a bit more
145 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
146 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
147 cur.bv().update(), because that leads to nested updates. Call
148 cur.noUpdate() instead where approriate.
150 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
152 * insetbibtex.C: change screen label
154 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
156 2005-05-06 José Matos <jamatos@lyx.org>
158 * insetcommandparams.C (scanCommand): fix out of range string access.
160 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
162 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
164 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
165 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
167 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
168 handle undefined character styles
169 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
170 handle undefined character styles
172 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
174 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
175 in getStatus and the tabularFeature string (bug 1860).
177 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * insetbranch.C (getStatus): make the code more compact
181 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * insetcollapsable.C (doDispatch): do not pass through double/triple
184 click events when they are not in the insetext (bug 1797).
186 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
188 * insetbase.h: document a bit more
189 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
190 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
191 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
192 (getStatus): implement
193 * insetcollapsable.[Ch] (hitButton): take a const argument
194 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
197 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * insetcollapsable.C (doDispatch): pass through double/triple
200 click events (bug 1811).
202 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
206 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
207 but the SENSITIVE label type.
209 2005-04-18 Angus Leeming <leeming@lyx.org>
211 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
212 'use_latex_path' argument. In turn, passed to the new subst_path
213 function when replacing placeholders with paths.
215 * insetexternal.C (getScreenLabel):
216 * ExternalSupport.C (lots of places): change invocation of
217 doSubstitution in lots of places, specifying the appropriate values
218 for this 'use_latex_path' boolean.
220 * insetbib.C (latex):
221 * insetgraphics.C (latex):
222 * insetinclude.C (latex): pass path to latex_path rather than to
225 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
227 * insetcharstyle.C (validate): allow nested charstyle insets
229 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
233 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * insetfloat.C (InsetFloat):
236 * insetwrap.C (InsetWrap): do not set layout here.
238 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
242 * insetbase.h (getStatus): add more documentation
243 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
246 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
248 * insetcharstyle.C (metrics, draw):
249 * insetert.C (metrics, draw):
250 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
253 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
255 * insetexternal.C (validate):
256 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
257 multiple Requirements in external material template
259 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
261 * insettext.C (drawFrame): cosmetic fix
263 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
265 * ExternalSupport.C (writeExternal):
266 * insetgraphics.C (latex):
267 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
268 mis-count in computing latex error location
270 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
272 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
273 make it *not* descend into insets (fix a crash). Move the part
274 needed from editXY to a new function getNearestCell
276 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * insetinclude.C (InsetInclude): when constructing from another
279 InsetInclude, set set_label_ to false, since the value is never
282 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
284 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
286 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
288 * insettabular.C (drawSelection): cosmetic bugfix
290 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
292 * insettabular.C (doDispatch): get middle mouse button back again
293 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
294 when only a part of the cell is selected (fix bug 1799)
296 * insettabular.C: handle some more character attributes in
297 M. Vermeers method (when multiple cells in tables are selected);
298 disable some more senseless lfuns when multiple cells are selected
300 Move to end of cell instead of beginning when coming from the cell
303 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
305 * insettabular.C: make applying character attributes
306 possible for multiple cells in tables. Disable collapsable
307 insets for multiple-cell selection in table (Jürgen S.)
308 Bug reported by Helge Hafting.
310 2005-02-25 Andreas Vox <avox@arcor.de>
312 * insetmarginal.[hC] (docbook): new method, render as <note>
314 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
316 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * insetcaption.[Ch] (doClone): implement
320 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * insetgraphics.C (prepareFile): handle non-existing files
323 * insetgraphics.C (latex): remove special handling of non-existing
326 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
329 * insettext.C: adjust metrics
331 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * insettext.C: include boost/current_function.hpp (needed when
334 assertions are disabled)
336 2005-02-20 André Pönitz <poenitz@gmx.net>
338 * insetcollapsable.C: Prevent problems on double-/
339 tripleclick on collapsable label (bug 1797).
341 2005-02-13 André Pönitz <poenitz@gmx.net>
343 * insettext.[Ch] (border_): new
344 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
347 2005-02-14 Angus Leeming <leeming@lyx.org>
349 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
350 about "truncation of constant value".
352 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
355 workaround for broken HTML converter)
357 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * insetcollapsable.C (leaveInset): size() -> depth()
360 * insettabular.C (isRightToLeft): ditto
362 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
364 * insetert.C (latex, linuxdoc, docbook): remove newline handling
365 * insetert.C (doDispatch): clean pasted paragraphs
366 * insetert.C (getStatus): suppress more lfuns
367 * insetert.C (insetAllowed): return always false
369 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
374 * updatableinset.C: Use new cursor accessors.
376 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
378 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
380 2005-01-31 Angus Leeming <leeming@lyx.org>
382 * insetgraphicsParams.C: protect a #warning preprocessor call
383 with a #ifdef WITH_WARNINGS guard.
385 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * Several files: use convert<> instead of atoi,strToXXX and friends
389 2005-01-23 Angus Leeming <leeming@lyx.org>
391 * insetbibitem.h (bibitemWidest): declare the function.
393 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
395 * insetgraphics.C (prepareFile): move the invocation of the default
396 converter to ../converter.C
397 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
398 call convert with try_default == true
400 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
403 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
404 determines what variables are substituted
405 * ExternalSupport.C (updateExternal): fix substitution of
408 2005-01-10 Angus Leeming <leeming@lyx.org>
410 * ExternalTemplate.C: use support/package.h to provide the paths to the
411 various directories used by LyX.
413 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * ExternalTransforms.C (adjAngle): tostr -> convert
423 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
425 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
428 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * ExternalTransforms.C: fix LaTeX output of \scalebox.
432 * ExternalTransforms.[Ch]:
433 * insetexternal.C: store all float/double values as strings.
436 * insetgraphicsParams.C: more precise checks for the value strings.
438 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * insettext.C (doDispatch): remove unused variable was_empty
442 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
445 * insetgraphicsParams.[Ch]: store all float/double values as strings.
447 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
449 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
451 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
453 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
454 UNSET_ALL_LINES (from Jürgen)
456 2004-12-14 Angus Leeming <leeming@lyx.org>
458 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
459 to overcome bug in the MinGW port of g++ 3.4.2.
461 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
463 * insettabular.C (getCellXPos): make it return a relative x
464 position wrt. the begin of the tabular
465 (resetPos): a couple of fixes
466 (doDispatch): add a couple of resetPos calls
467 (drawSelection): fix drawing of selection in single-cell mode
468 (draw): replace 'do not draw' optimization by 'draw with
471 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * insetbase.[Ch] (idxUpDown2): remove function
475 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
477 * insettabular.[Ch]: use size_t-like types for cell, row and column
480 2004-12-02 José Matos <jamatos@lyx.org>
482 * insetlatexaccent.C (checkContents): remove compatibility code,
485 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * insetbase.h (getStatus): add better comment from src/cursor.C
489 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
491 * insettabular.[Ch]: adjust, introduce "do not draw
492 offscreen" optimization using NullPainter, (dist): introduce,
493 (getCursorPos): implement, (drawSelection): implement
495 * insetcollapsable.[Ch]: adjust
497 * insettext.C: adjust, (metrics): set the font before calling
500 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * rename a lot of InsetOld to InsetBase
504 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
507 * insettext.C: par->pit renaming
509 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * Most insets: rename priv_dispatch to doDispatch
513 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * insettabular.C (tabularFeatures): fix multicolumn handling
517 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * render_base.h (operator=): use common semantics
521 * insettext.C (operator=): delete this
522 (copy constructor): implement this properly
523 (init): use for_each and bind
525 (appendParagraphs): ditto
527 * insettabular.C: add more const. Adjust for changes in tabular.
529 * insetbase.h: Use NVI on clone. Add virtual doClone and update
530 all children, also make copy constructor protected. Added some
531 safe-guards to clone.
533 * insets: adjust to fit.
535 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * insetoptarg.C (latexOptional): return number of lines instead of
540 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * insettabular.[Ch] (string2params): Don't pretend to return the
543 active cell anymore and simplify keyword parsing.
545 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * insetlatexaccent.h (isLetter): implement, so that word selection
548 takes accents into account.
550 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
552 * insetcollapsable.C (priv_dispatch): do not push the inset to the
555 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * ExternalSupport.C, insetgraphics.C:
558 s/getFormatFromContents/formats.getFormatFromFile/
560 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
562 * insetcharstyle.[Ch]:
563 * insetert.[Ch]: implement getStatus
565 * insetcharstyle.C (draw): visual clue when the cursor is inside
568 2004-11-02 José Matos <jamatos@lyx.org>
570 * insetcharstyle.C (docbook):
571 * insetlabel.C (linuxdoc, docbook):
572 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
575 * insettabular.C (docbook): mixed content no longer belongs to
578 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
582 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
584 * ExternalSupport.C (updateExternal): convert files in the temp dir
586 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
588 * insetcharstyle.C: drawing cosmetics.
590 2004-10-30 José Matos <jamatos@lyx.org>
592 * insetcharstyle.C (docbook): a compromisse solution. Don't output
593 paragraph tags inside inline elements.
595 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
598 InsetText methods rather than outputVerbatim (escapes special
599 characters) [bug 1731]
600 * insetcharstyle.C (outputVerbatim): remove this function.
601 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
602 which caused an infinite loop.
604 2004-10-29 José Matos <jamatos@lyx.org>
606 * insetgraphics.C (uniqueID): transfered to sgml.C
608 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
610 * insetlabel.C (docbook, linuxdoc):
611 * insetref.C (docbook, linuxdoc): sanitize id.
613 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
616 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
617 * insetgraphics.C (findTargetFormat): reformat
619 2004-10-28 José Matos <jamatos@lyx.org>
621 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
623 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
625 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
627 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
629 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
630 "[,,,]" without warning message
632 2004-10-26 Angus Leeming <leeming@lyx.org>
634 * ExternalSupport.C (updateExternal):
635 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
636 external files to the temp directory.
638 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
641 layouts. This fixes problems with the memoir class (which does not
642 allow \footnote) [bug 1677]
644 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
646 * insetindex.C (docbook): escape the index, to generate correct sgml.
648 2004-10-23 José Matos <jamatos@lyx.org>
650 * insettext.C (docbook): rearrange arguments, due to change in the
653 2004-10-23 André Pönitz <poenitz@gmx.net>
655 * insettabular.C (cutSelection, tabularFereatures):
656 fix cursor position after cutting selection or table rows
658 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
660 * insetgraphics.C (docbook, writeImageObject): write more than one
661 format of imageobjects in <mediaobject>.
663 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
665 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
666 DocBook output for this inset ( <citation>content</citation> )
668 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
670 * insetgraphics.C (docbook) : using mediaobject for XML;
671 correcting bug with SGML output (now '>' instead of '/>')
673 2004-10-05 José Matos <jamatos@lyx.org>
675 * insetfloatlist.C (read):
676 * insetquotes.C (read):
677 * insetspace.C (read):
678 * insetspecialchar.C (read):
679 * insettabular.C (read): replace nextToken by more appropriate lex
682 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
684 * insetgraphics.C (createDocBookAttribute, docbook) :
685 convert scale, width, height and keepaspectratio to Docbook standards)
687 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
688 to Docbook units where possible.
690 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
692 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
694 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
695 as attributes with new method for docbook.
697 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * render_preview.h: Use preferred calling of Boost.Signal
701 * pch.h: use proper signal include
703 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
705 * ExternalTransforms.h: User preferred calling of Boost.Function
707 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
709 * insetref.C (docbook): fixing problem where Docbook XML output
710 had unclosed <xref ... >
712 2004-08-16 José Matos <jamatos@lyx.org>
714 * insethfill.C (write):
715 * insetline.C (write):
716 * insetnewline.C (write):
717 * insetpagebreak.C (write): remove space at end of line.
719 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * insettabular.C (plaintext): do not use ownerPar to get the
724 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
725 and it calls getParentLanguage (which calls ownerPar)
726 (edit): do not call sanitizeEmptyText
727 (priv_dispatch): remove code resetting font on empty inset, for
728 the same reasons as above.
730 * insettabular.C (isRightToLeft): instead of using
731 BufferView::getParentLanguage, use the data from the cursor
733 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
737 * Makefile.am: support pch
739 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * insettabular.C (draw): whitespace
743 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
745 2004-08-14 André Pönitz <poenitz@gmx.net>
747 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
749 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * insettabular.C (metrics): when the width of a cell is zero(),
752 let it use as much space as it can
754 * insettext.C (editXY): compilation fix
756 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
758 (metrics): the insets is not full width any more.
759 (draw): adjust; fix bad test for PREVIEW_OFF
760 (add_preview): fix bad test for PREVIEW_OFF
761 (display): do not return true when using \input
763 2004-08-14 José Matos <jamatos@lyx.org>
765 * insetbibitem.[Ch] (plaintext): added.
767 * insetcite.[Ch]: fix plaintext export.
769 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
771 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
774 * insetcaption.C (InsetCaption): modify call to setDrawFrame
775 * insetcollapsable.C (InsetCollapsable): ditto
776 * insetenv.C (InsetEnvironment): ditto
778 2004-08-14 André Pönitz <poenitz@gmx.net>
781 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
783 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * insetoptarg.C (latexOptional): if the optional argument contains
786 a ']' enclose it in {curly brackets}
788 * insettext.C (editXY):
789 * insettabular.C (editXY):
790 * insetcollapsable.C (editXY):
791 * insetbase.C (editXY): constify
793 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
794 not ask for an update if we did nothing; on a mouse release, make
795 sure that the cursor is moved to the right position; on a mouse
796 release, exit from the inset instead of invoking a
799 * insetbase.C (dispatch): before invoking dispatch, set cursor
800 result to dispatch=update=true.
802 2004-08-13 José Matos <jamatos@lyx.org>
804 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
806 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
808 * insetfoot.C (latex): use OutputParams::intitle instead of
809 parOwner() (avoids time consuming lookup)
811 * insetquotes.C (latex): same as above with OutputParams::lang.
812 Moreover the code actually works now.
814 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
816 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
817 * insetinclude.C, insetgraphics.C, insetfloat.C:
818 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
819 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
820 "support/std_sstream.h" to <sstream>
822 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
824 * insetgraphics.C (prepareFile): remove conversion_needed flag.
825 It made the following fail for a .eps graphics file:
827 2) view->pdf (pdflatex)
828 because the .eps file was already in the temp dir when the pdflatex
829 export happened and therefore no .eps -> pdf conversion was done.
831 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
833 * insetgraphics.C, insettabular.C: s/wether/whether/g
835 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
837 * insetgraphics.C (stripExtension): new
838 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
840 * insetgraphics.C (prepareFile): Handle "nice" exports, too
841 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
843 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
845 * insetfloatlist.C (latex,getScreenLabel): translate according to
846 the document language (bug #1312)
848 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
850 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
851 with external_in_tmpdir and compute filename ourself
852 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
853 use it to store referenced file(s)
854 * ExternalSupport.C (writeExternal): write relative filename if
856 * ExternalTemplate.[Ch]: add ReferencedFile command
857 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
859 * insetgraphics.C (prepareFile): write relative filename if
861 * insetinclude.C (latex, docbook, linuxdoc): add file to
862 runparams.exportdata and write it to the temp dir instead of
863 writing it to the final destination
864 * insetinclude.C (docbook, linuxdoc): don't copy runparams
866 2004-05-19 Angus Leeming <leeming@lyx.org>
868 * insetcite.[Ch]: small change because namespace biblio is
869 now namespace lyx::biblio.
871 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
873 * insettabular.[Ch] (buffer): make Buffer * argument const
875 2004-05-17 Angus Leeming <leeming@lyx.org>
877 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
878 to force the button label to be re-generated.
880 2004-05-14 José Matos <jamatos@lyx.org>
882 * insetlabel (docbook): do not ouput label, for the moment.
884 2004-05-14 Angus Leeming <leeming@lyx.org>
886 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
887 new biblio::asValidLatexString function.
889 2004-05-12 Angus Leeming <leeming@lyx.org>
891 * insetcite.C: use BufferParams::cite_engine rather than the three
892 bools, use_natbib, use_jurabib, use_numerical_citations.
894 2004-05-10 Angus Leeming <leeming@lyx.org>
896 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
897 Ditto with getStyle, moved to biblio::getEngine.
899 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * insetgraphics.C (validate): remove pre 233 file format stuff,
902 handle zipped files for "nice" export
904 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * insetgraphics.C (prepareFile): copy zipped file and corresponding
907 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
908 * insetgraphics.C (prepareFile): unzip zipped file also if it has
909 changed since the last run
910 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
911 and copyFileIfNeeded.
913 2004-04-29 Angus Leeming <leeming@lyx.org>
915 * ExternalTemplate.[Ch]: remove redundant #includes.
917 2004-04-28 Angus Leeming <leeming@lyx.org>
920 s/updateToolbar()/updateToolbars()/
922 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * insetgraphics.C: require file extension (file format change!)
925 * insetgraphics.C (latex): handle zipped files for "nice" export
927 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
929 * insetgraphics.C (latex): strip the extension and replace dots in
930 the filename if doing a "nice" export. This is a partial fix for
931 bug 1231 without reintroducing bug 655.
933 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * insetoptarg.h: remove the editable() method (InsetCollapsable
936 does it better already)
938 * insetbibtex.C (normalize_name): new helper function. Changes the
939 name to be suitable to use in a latex file (relative to master
940 buffer if necessary).
941 (latex): use normalize_name.
943 2004-04-20 Angus Leeming <leeming@lyx.org>
945 * render_preview.C (startLoading): remove lyxerr statement.
947 (getPreviewLoader): new helper function.
949 2004-04-19 Angus Leeming <leeming@lyx.org>
953 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
955 2004-04-19 Angus Leeming <leeming@lyx.org>
957 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
959 (add_preview): renamed as add_preview_and_start_loading. Invoke
960 RenderPreview::startLoading.
962 * insetinclude.C (metrics, draw): changes due to the changed
963 RenderPreview interface.
965 * render_preview.C: remove cached pimage_.
966 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
967 (draw): don't call startLoading. That's up to the user of
970 2004-04-16 Angus Leeming <leeming@lyx.org>
972 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
974 2004-04-13 Angus Leeming <leeming@lyx.org>
976 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
977 the renderer to inform LyX::updateInset that the inset's status
978 has changed and it should be redrawn.
980 * render_button.[Ch] (clone):
981 * render_graphic.[Ch] (c-tors, clone):
982 * render_preview.[Ch] (c-tors, clone): ditto.
984 * render_graphic.[Ch] (connect):
985 * render_preview.[Ch] (connect): removed, as connection is now
986 made in the constructors.
990 * insetinclude.C: ensuing simplification of the client code.
991 (statusChanged): now superfluous. Removed.
993 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * ExternalTemplate.[Ch]: remove editCommand
996 * ExternalSupport.C (editExternal): use formats.edit() instead of
997 the removed editCommand template parameter
998 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
999 * insetgraphics.[Ch] (editGraphics): new method
1001 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1003 * insetinclude.C (validate): set/reset features.buffer_ when
1004 validating the child
1006 2004-04-07 Angus Leeming <leeming@lyx.org>
1008 * insetexternal.C (priv_dispatch):
1009 * insetinclude.C (priv_dispatch): prevent crash by invoking
1010 InsetOld::priv_dispatch at the end of the switch, rather than
1011 InsetOld::dispatch...
1013 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1015 * insetcollapsable.C:
1016 * insetbranch.C: 'assign' to open/close branch inset according to
1017 selection; also print content on closed branch button
1019 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1022 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1023 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1025 * ExternalSupport.C (updateExternal): use absolute and output
1026 filename where appropriate
1028 2004-04-05 André Pönitz <poenitz@gmx.net>
1030 * insetbase.h: use LCursor & in notifyCursorLeave
1032 2004-04-05 Angus Leeming <leeming@lyx.org>
1034 * insetgraphics.C: remove unused header file "lyxrc.h".
1036 * render_graphic.C: squash bug 1372: Misleading graphics label when
1037 deactivating lyx view.
1039 2004-04-05 Angus Leeming <leeming@lyx.org>
1044 * insetlatexaccent.C:
1049 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1051 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1053 * insetfloat.C (read): fix yesterday's float fix.
1054 * insetwrap.C (read): apply the fixed float fix.
1056 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1058 * insetfloat.C (read): fix reading of float params
1061 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1063 * insettext.C (edit): comment the call to updateLocal (dangling now)
1064 * insettext.h: add allowSpellCheck() returning true
1066 2004-03-31 Angus Leeming <leeming@lyx.org>
1068 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1070 2004-03-31 Angus Leeming <leeming@lyx.org>
1072 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1073 the cursor out of an inset.
1075 * insetbranch.C (priv_dispatch):
1076 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1077 use getOutOfInset to push the cursor out of the inset when
1080 2004-03-30 Angus Leeming <leeming@lyx.org>
1082 * insetbase.[Ch] (translate): new static member function, returns
1083 an InsetBase::Code corresponding to the input string.
1085 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1087 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1088 so that it opens the inset if it refers to the currently active
1091 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1093 * insetfloat.C (addToToc): use par_const_iterator_begin and
1094 par_const_iterator_end.
1096 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1098 * insetbibtex.[Ch]: bibtopic support.
1100 * insetfloat.[Ch]: add param \sideways {true|false}
1101 (support for sideways floats from rotating.sty).
1103 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1105 * insettext.[Ch]: add a default ctor. implement const version of
1111 * insetwrap.C: adjust
1113 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1115 * insettext.h: add insetAllowed returning true by default (fixing
1116 vanishing insets problem)
1118 * insettext.C (draw): handle the responsability of adding the
1119 ouside offset to collapsable. Clean code a bit.
1121 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1122 from insettext correctly, solve a couple of off-by-one drawing
1125 2004-03-25 Angus Leeming <leeming@lyx.org>
1127 * insetcaption.C (draw): squash warning about unused variable.
1129 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1131 * ExternalSupport.C: use the master buffer's temp dir
1132 * insetgraphics.C (latex): make relative filename relative to the
1134 * insetgraphics.C: use the master buffer's temp dir
1135 * insetinclude.C (masterFilename): new function
1136 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1137 is always true if loadIfNeeded() returns true)
1139 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1141 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1142 set its parent to the current buffer.
1143 (latex): use the tmppath of the master buffer, not just the parent
1144 buffer (makes a difference with more than one level of include
1145 insets). If the file name is relative write in the .tex file a
1146 name relative to the master buffer directory.
1148 * insetinclude.C: rename masterFilename to parentFilename (this
1149 points to the direct parent)
1151 2004-03-25 André Pönitz <poenitz@gmx.net>
1153 * inset.[Ch]: remover owner
1155 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1163 * insetcharstyle.[Ch]:
1171 * insetwrap.C: adjust
1173 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * insetquote.C: use opening quote after '[' char.
1177 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1179 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1182 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1184 * insetcite.[Ch]: support jurabib.
1186 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1188 * insetcite.C: Support second \cite option.
1190 * insetcommand.[Ch]:
1191 * insetcommandparams.[Ch]: add second optional argument.
1193 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1195 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1196 shows the inset dialog.
1198 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1200 * insetlabel.[Ch]: remove them
1201 * Makefile.am: adjust
1203 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1207 * insetinclude.C (latex): show a GUI warning if textclasses don't
1209 * insetinclude.C: use mangledFilename() for temp files
1210 * insetgraphics.C (readInsetGraphics): remove version check, since
1211 the graphics inset has no own fileformat number anymore
1213 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * insetquotes.[Ch]: added new member that allows direct access
1216 to single/double quotation marks.
1217 * insetnewline.[Ch]:
1218 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1220 2004-02-16 André Pönitz <poenitz@gmx.net>
1223 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1224 implicitly assume 'DispatchResult(true, true) with exception of
1225 InsetBase::priv_dispatch which does the equivalent of
1226 'retrun DispatchResult(false)'
1228 * inset*.[Ch] (priv_dispatch): adjust
1230 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1231 simplify cursor moving function,
1232 re-enable horizontal scrolling for large tables
1234 2004-02-13 André Pönitz <poenitz@gmx.net>
1236 * insettabular.[Ch]: some work after IU
1238 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1240 * inset.C (setPosCache): switch to absolute coords in insets
1241 * insettext.[Ch] (draw, drawFrame): adjust
1242 * insetcollapsable.C (draw): adjust
1245 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1247 * insettext.C (edit):
1248 (updateLocal): use the cur argument instead of the global cursor
1249 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1251 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1255 * insetfloat.C (validate): "H" -> 'H' in call to contains
1257 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1259 2004-01-30 André Pönitz <poenitz@gmx.net>
1263 * insetcollapsable.[Ch]:
1266 * insetgraphics.[Ch]:
1268 * insettabular.[Ch]:
1271 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1274 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * insettabular.C: add using statement for std::vector, remove
1277 std:: where using was already used.
1279 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1281 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1283 * insetinclude.C (validate): use feautures.nice() instead of
1286 2004-01-20 André Pönitz <poenitz@gmx.net>
1289 * insetbase.[Ch]: move stuff from mathcursor here.
1291 * insetbibitem.[Ch]:
1295 * insetcharstyle.[Ch]:
1296 * insetcollapsable.[Ch]:
1297 * insetcommand.[Ch]:
1299 * insetexternal.[Ch]:
1301 * insetgraphics.[Ch]:
1302 * insetinclude.[Ch]:
1306 * insettabular.[Ch]:
1310 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1313 2004-01-15 André Pönitz <poenitz@gmx.net>
1316 * insetbibitem.[Ch]:
1320 * insetcharstyle.[Ch]:
1321 * insetcollapsable.[Ch]:
1322 * insetcommand.[Ch]:
1324 * insetexternal.[Ch]:
1326 * insetgraphics.[Ch]:
1327 * insetinclude.[Ch]:
1331 * insettabular.[Ch]:
1335 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1337 2004-01-08 André Pönitz <poenitz@gmx.net>
1339 * insetcollapsable.[Ch]:
1340 * insettabular.[Ch]:
1342 * updatableinset.h: use cell index info from global cursor.
1344 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1346 * insetnote.C (InsetNoteParams::write): write label only once
1348 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1352 get rid of the SameName functor
1354 * insettabular.C: improve the functor.
1356 2003-12-29 Angus Leeming <leeming@lyx.org>
1358 * insetexternal.C (setParams): update defaultTemplateName.
1360 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1362 * insetbox.C: Use term "Box" in button label
1364 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1366 * insetcharstyle.C: get getDrawFont working again
1368 2003-12-15 André Pönitz <poenitz@gmx.net>
1370 * insettabular.[Ch]:
1371 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1373 2003-12-12 Angus Leeming <leeming@lyx.org>
1375 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1377 (InsetBranchParams): remove the branchlist hack.
1378 (isBranchSelected): new function, used to decide whether to
1379 print each output format. Also used by InsetList.
1380 (read, string2params): repair my own breakage ;-)
1382 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1384 * insetminipage.[Ch]: remove from repository.
1386 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1389 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1390 insetert to insetcollapsable; introduce virtual function
1391 setButtonLabel and invoke it from collapsable
1393 2003-12-12 Angus Leeming <leeming@lyx.org>
1395 * insetinclude.C (draw): cache x,y and so enable the
1396 dialog to be opened.
1398 2003-12-12 Angus Leeming <leeming@lyx.org>
1400 * mailinset.C (print_mailer_error): tidy up the output.
1402 2003-12-11 Angus Leeming <leeming@lyx.org>
1404 * mailinset.[Ch] (print_mailer_error): new helper function.
1406 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1407 calling InsetCommandMailer.
1408 (InsetCommandMailer::string2params): pass the name of the dialog.
1410 * insetbibitem.[Ch] (d-tor):
1411 * insetbibtex.[Ch] (d-tor):
1412 * insetcite.[Ch] (d-tor):
1413 * insetfloatlist.[Ch] (d-tor):
1414 * insetindex.[Ch] (d-tor):
1415 * insetlabel.[Ch] (d-tor):
1416 * insetref.[Ch] (d-tor):
1417 * insettoc.[Ch] (d-tor):
1418 * inseturl.[Ch] (d-tor): removed.
1419 Hiding the dialog is handled by InsetCommand.
1421 * insetbibtex.[Ch] (draw, metrics):
1422 * insetfloatlist.[Ch] (draw, metrics):
1423 * insetindex.[Ch] (draw, metrics): removed.
1424 Drawing is handled by InsetCommand.
1426 * insetbibitem.[Ch] (priv_dispatch):
1427 * insetbibtex.[Ch] (priv_dispatch):
1428 * insetcite.[Ch] (priv_dispatch):
1429 * insetfloatlist.[Ch] (priv_dispatch):
1430 * insetindex.[Ch] (priv_dispatch):
1431 * insetlabel.[Ch] (priv_dispatch):
1432 * insettoc.[Ch] (priv_dispatch):
1433 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1434 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1435 LFUN_INSET_DIALOG_SHOW.
1437 * insetbox.C (string2params):
1438 * insetbranch.C (string2params):
1439 * insetert.C (string2params):
1440 * insetexternal.C (string2params):
1441 * insetfloat.C (string2params):
1442 * insetinclude.C (string2params):
1443 * insetminipage.C (string2params):
1444 * insetnote.C (string2params):
1445 * insetvspace.C (string2params):
1446 * insetwrap.C (string2params): over-hauled.
1448 2003-12-10 Angus Leeming <leeming@lyx.org>
1450 * insetexternal.[Ch]: add a draft option and respect it when
1453 2003-12-10 Angus Leeming <leeming@lyx.org>
1455 * insetbox.C: (read, write): now prepend the inset contents with
1456 'Box' to identify the inset as a box inset.
1458 * insetbox.h: move the translators out of sight.
1460 2003-12-10 Angus Leeming <leeming@lyx.org>
1462 * insetert.C (string2params): clean-up using the new lyxlex interface.
1464 * insetexternal.C: ensure that InsetExternalParams has a default
1465 template, 'RasterImage'.
1467 2003-12-10 Angus Leeming <leeming@lyx.org>
1469 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1470 to an enum. Ensuing clean-ups through out the class.
1471 (read, write): now prepend the inset contents with 'Note' to identify
1472 the inset as a note inset.
1474 2003-12-10 Angus Leeming <leeming@lyx.org>
1476 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1477 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1479 2003-12-10 André Pönitz <poenitz@gmx.net>
1483 * insettabular.[Ch]:
1484 * insettext.[Ch]: remove unused insetInset()
1486 * insetert.C: disable some LFUNs
1488 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1490 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1492 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1494 2003-12-04 Angus Leeming <leeming@lyx.org>
1496 * insetexternal.C (draw): update the xo_, yo_ cache.
1498 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1500 (RotationDataType): new helper struct wrapping the
1501 RotationData::OriginType enum.
1503 2003-12-03 André Pönitz <poenitz@gmx.net>
1505 * inset.h: remove getParagraphs()
1507 * insetcollapsable.[Ch]:
1510 * insettabular.[Ch]:
1511 * insettext.C: use getText() instead of getParagraphs()
1513 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1515 * insetert.C: fix label text updating bug
1517 2003-12-02 Angus Leeming <leeming@lyx.org>
1519 * insetvspace.[Ch] (space): new member function. Make space_ private.
1520 (read): use the new, simpler lyxlex syntax.
1522 2003-12-01 André Pönitz <poenitz@gmx.net>
1524 * insetcollapsable.[Ch]:
1525 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1527 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1529 * insetvspace.C (read): handle 'end_inset' token.
1531 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1533 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1535 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1537 * insetcollapsable.[Ch]:
1539 * insetcharstyle.C: place inset content on the button when
1542 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1544 * insetvspace.C: remove VSpace::NONE; increase inset width
1546 2003-12-01 André Pönitz <poenitz@gmx.net>
1548 * insetbase.h: whitespace
1550 * inset.[Ch]: remove latexTextWidth
1551 make setBackgroundColor virtual
1553 * insettext.[Ch]: move ParagraphList member to LyXText
1555 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1561 * insetminipage.[Ch]:
1563 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1565 2003-11-28 Angus Leeming <leeming@lyx.org>
1567 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1568 hiding and showing the dialog respectively.
1569 (priv_dispatch): also actually update the inset contents.
1571 2003-11-28 Angus Leeming <leeming@lyx.org>
1573 * insetbox.C (d-tor):
1574 * insetbranch.C (d-tor):
1575 * insetcite.C (d-tor):
1576 * insetfloat.C (d-tor):
1577 * insetfloatlist.C (d-tor):
1578 * insetinclude.C (d-tor):
1579 * insetindex.C (d-tor):
1580 simplify the invocation of the Mailer::hideDialog() function.
1582 * insetminipage.C (showInsetDialog):
1583 simplify the invocation of the Mailer::showialog() function.
1585 2003-11-28 André Pönitz <poenitz@gmx.net>
1588 * insetvspace.[Ch]: new insets
1590 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1592 * insetcharstyle.C: Syntax change for CharStyles
1594 2003-11-28 André Pönitz <poenitz@gmx.net>
1596 * updatableinset.h: remove insetInInsetY
1598 * insetcollapsable.[Ch]:
1600 * insettabular.[Ch]:
1601 * insettext.[Ch]: adjust
1603 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1607 * insetcollapsable.[Ch]:
1609 * insettabular.[Ch]: remove setFont
1611 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1613 * render_graphic.[Ch]: adjust comments
1615 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1617 * insetgraphics.C (draw): cache xo_ & yo_
1619 2003-11-24 André Pönitz <poenitz@gmx.net>
1621 * insettext.C (setViewCache): don't call LyXText::init() anymore
1623 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1626 * insetcollapsable.[Ch]:
1627 * insetert.[Ch]: remove bufferview parameter in methods
1628 open, close, status, and updateStatus.
1630 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1632 * insetcollapsable.[Ch]:
1633 * insettabular.[Ch]:
1634 * insettext.[Ch] (getCursorDim): squash unused variable
1636 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1638 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1640 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1642 * insettext.C (draw): sets LyXText absolute coordinates
1644 2003-11-20 Angus Leeming <leeming@lyx.org>
1646 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1647 warnings about unused parameters.
1649 * insetcollapsable.C (open):
1650 * insettabular.C (pasteSelection):
1651 * insettoc.C (draw): ditto.
1653 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1655 * insetcollapsable.C:
1657 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1658 remove mouse_x mouse_y etc.
1660 2003-11-17 André Pönitz <poenitz@gmx.net>
1662 * insettext.[Ch] (cx, cy): remove
1664 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1666 2003-11-13 André Pönitz <poenitz@gmx.net>
1669 * insetcollapsable.[Ch]:
1670 * insettabular.[Ch]:
1671 * insettext.[Ch] (deleteLyXText): remove
1673 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1675 * insetcollapsable.[Ch] (fitInsetCursor): remove
1676 * insettabular.[Ch] (fitInsetCursor): remove
1677 * insettext.[Ch] (fitInsetCursor): remove
1678 * updatableinset.[Ch] (fitInsetCursor): remove
1679 (getCursorDIm): add virtual
1681 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1683 * src/insets/Makefile.am:
1684 * src/insets/inset.h:
1685 * src/insets/insetcharstyle.C:
1686 * src/insets/insetcharstyle.h: The Character Style /XML short
1689 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1691 * insettext.C: remove all update calls
1692 * insetcollapsable.C: remove all update calls
1694 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1696 * insettext.C (updateLocal, insertInset, setFont): remove
1699 2003-11-10 André Pönitz <poenitz@gmx.net>
1701 * inset.h: remove Inset::id_
1703 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1708 2003-11-10 André Pönitz <poenitz@gmx.net>
1712 * insetcollapsable.[Ch]:
1716 * insettabular.[Ch]:
1719 * updatableinset.[Ch]: remove inset locking & adjust
1721 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1723 * inset.h (allowSpellCheck): add (return true)
1724 * insetert.h (allowSpellCheck): add (return false)
1726 2003-11-05 José Matos <jamatos@lyx.org>
1732 * insetcaption.[Ch]:
1734 * insetcollapsable.[Ch]:
1735 * insetcommand.[Ch]:
1738 * insetexternal.[Ch]:
1740 * insetfloatlist.[Ch]:
1742 * insetgraphics.[Ch]:
1744 * insetinclude.[Ch]:
1747 * insetlatexaccent.[Ch]:
1750 * insetmarginal.[Ch]:
1751 * insetminipage.[Ch]:
1752 * insetnewline.[Ch]:
1755 * insetpagebreak.[Ch]:
1759 * insetspecialchar.[Ch]:
1760 * insettabular.[Ch]:
1762 * insettheorem.[Ch]:
1765 * insetwrap.[Ch]: rename ascii to plaintext
1766 and LatexRunParams to OutputParams.
1768 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1770 * insetcollapsable.C (edit): add open() all
1771 * insettext.C (edit): add setViewCache call
1773 2003-11-04 André Pönitz <poenitz@gmx.net>
1775 * inset.h (edit): move locking code from dispatch() to edit()
1781 * insetcollapsable.[Ch]:
1784 * insetexternal.[Ch]:
1785 * insetgraphics.[Ch]:
1790 * insettabular.[Ch]:
1791 * insettext.[Ch]: adjust
1793 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1796 * insetcollapsable.[Ch]:
1798 * insettabular.[Ch]:
1800 * updatableinset.[Ch]: remove dead search code
1802 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1805 * insetcollapsable.[Ch]:
1807 * insettabular.[Ch]:
1809 * updatableinset.[Ch]: remove dead spellcheck code
1811 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1813 * insettabular.C (lockInsetInInset): small fix
1815 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1818 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1819 from here. Be stricter on DispatchResult returned.
1821 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * Inset::dispatch's: adjust for new DispatchResult semantics.
1825 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * render_base.h: make clone return an auto_ptr
1828 * render_button.C (clone): adjust
1829 * render_graphic.C (clone): adjust
1830 * render_preview.C (clone): adjust
1832 * insettheorem.C (clone): return an auto_ptr
1834 * insettext.C (priv_dispatch): exception safety
1836 * insettabular.C: store the file scope variable paste_tabular in a
1837 scoped_ptr, adjust usage.
1839 * insetexternal.C (setParams): exception safety
1841 * insetbibitem.C (clone): exception safety
1843 2003-11-03 André Pönitz <poenitz@gmx.net>
1846 * insetcollapsable.[Ch]:
1847 * insettabular.[Ch]:
1848 * insettext.[Ch]: remove Inset::id and related functions
1850 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * insets: adjust for DispatchResult changes.
1854 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1856 * insetpagebreak.C: fix screen representation & ascii output.
1858 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1862 * insettabular.[Ch]:
1863 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1865 2003-10-31 José Matos <jamatos@lyx.org>
1867 * inset.h (ascii, linuxdoc, docbook):
1868 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1869 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1870 * insetcaption.[Ch] (ascii, docbook):
1871 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1872 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1873 * insetert.[Ch] (ascii, linuxdoc, docbook):
1874 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1875 * insetfloat.[Ch] (linuxdoc, docbook):
1876 * insetfloatlist.[Ch] (ascii):
1877 * insetfoot.[Ch] (docbook):
1878 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1879 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1880 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1881 * insetindex.[Ch] (docbook):
1882 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1883 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1884 * insetline.[Ch] (ascii, linuxdoc, docbook):
1885 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1886 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1887 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1888 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1889 * insetref.[Ch] (ascii, linuxdoc, docbook):
1890 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1891 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1892 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1893 * insettext.[Ch] (ascii, linuxdoc, docbook):
1894 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1895 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1896 * insetwrap.[Ch] (docbook):
1897 add LatexRunParams argument.
1899 2003-10-30 José Matos <jamatos@lyx.org>
1901 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1903 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * updatableinset.C (priv_dispatch):
1906 * insetwrap.C (priv_dispatch):
1907 * inseturl.C (priv_dispatch):
1908 * insettoc.C (priv_dispatch):
1909 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1910 (moveLeftIntern, moveUp, moveDown):
1911 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1912 (moveLeft, moveUp, moveDown):
1913 * insetref.C (priv_dispatch):
1914 * insetnote.C (priv_dispatch):
1915 * insetminipage.C (priv_dispatch):
1916 * insetlabel.C (priv_dispatch):
1917 * insetindex.C (priv_dispatch):
1918 * insetinclude.C (priv_dispatch):
1919 * insetgraphics.C (priv_dispatch):
1920 * insetfloatlist.C (priv_dispatch):
1921 * insetfloat.C (priv_dispatch):
1922 * insetexternal.C (priv_dispatch):
1923 * insetert.C (priv_dispatch):
1924 * insetcommand.C (priv_dispatch):
1925 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1926 * insetcite.C (priv_dispatch):
1927 * insetbranch.C (priv_dispatch):
1928 * insetbox.C (priv_dispatch):
1929 * insetbibtex.C (priv_dispatch):
1930 * insetbibitem.C (priv_dispatch):
1931 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1933 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1935 * insettext.C: small refactoring of docbook stuff
1937 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1940 (priv_dispatch): adjust for operator dispatch_result_t removal
1942 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1943 in a DispatchResult, adjust accordingly.
1944 (priv_dispatch): use strange >= construct... (will be removed later)
1946 * most insets: dispatch_result -> DispatchResult
1948 * insetbase.h: move DispatchResult out to dispatchresult.h
1950 2003-10-27 André Pönitz <poenitz@gmx.net>
1952 * insetpagebreak.[Ch]: new inset for page breaks
1954 * insetline.[Ch]: new inset for vertical lines
1959 2003-10-25 Angus Leeming <leeming@lyx.org>
1961 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1962 new virtual member functions, specialised...
1963 * render_button.h (asButton):
1964 * render_graphic.h (asGraphic):
1965 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1967 * insetexternal.C: use these new functions rather than dynamic_cast.
1968 Various other small simplifications.
1970 2003-10-22 Angus Leeming <leeming@lyx.org>
1972 * insetexternal.[Ch]: add the ability to 'preview' the external file
1975 * insetinclude.C: changes due to the changes in the RenderPreview
1978 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1979 message if the preview image is not available. Only initiate the
1980 loading of the preview from draw(). Ditto, start the monitoring
1981 of an external file from RenderMonitoredPreview::draw.
1983 2003-10-22 Angus Leeming <leeming@lyx.org>
1985 * insetcite.[Ch] (setLoadingBuffer): removed.
1986 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1987 ascertain whether to proceed with the (expensive) task of computing
1988 the natbib-style label. Remove the home-grown hack providing
1989 similar functionality.
1991 2003-10-22 Angus Leeming <leeming@lyx.org>
1993 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1994 class and into an anonymous namespace.
1996 2003-10-22 Angus Leeming <leeming@lyx.org>
1998 * insetcommand.h: remove the display method.
2002 * insetindex.h (InsetPrintIndex):
2003 * insettoc.h: add a display method, returning true.
2005 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2007 * insetcollapsable.h:
2011 * insetinclude.h: (1) finish off the inset display() work;
2012 (2) fix the "is a bit silly" bug (accessing char
2015 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2019 * insetfootlike.h: re-introduce display() for insets,
2020 fixing the various bugs (stretch of line above, math inset
2023 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * insetbase.C (dispatch): new func
2026 (priv_dispatch): new func replaces...
2027 (localDispatch): this, deleted.
2029 * all insets with dispatch modified for new code.
2031 2003-10-15 André Pönitz <poenitz@gmx.net>
2033 * insetcollapsable.[Ch]
2035 * inset.h: re-add some edit(bv, index) method called by undo
2037 2003-10-14 Angus Leeming <leeming@lyx.org>
2039 * insetexternal.[Ch] (view, cache, view_):
2040 * insetgraphics.[Ch] (view, cache, view_):
2041 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2042 (statusChanged): call LyX::cref().updateInset.
2044 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2045 the BufferView cache.
2047 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2050 2003-10-14 Angus Leeming <leeming@lyx.org>
2052 * insetinclude.C (metrics, draw): only draw the preview when previews
2055 2003-10-14 André Pönitz <poenitz@gmx.net>
2057 * insetcollapsable.[Ch]:
2058 * insettabular.[Ch]:
2060 * inset.h: getText() as alternative to getParagraphs()
2062 2003-10-13 Angus Leeming <leeming@lyx.org>
2065 * insetgraphicsParams.C: displayTranslator is now a function.
2067 2003-10-13 Angus Leeming <leeming@lyx.org>
2069 * insetinclude.C: remove #include "PreviewImage.h".
2071 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * ExternalSupport.C:
2074 * ExternalTransforms.C:
2076 * insetbox.h: ws changes only
2078 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2080 * insetinclude.C (localDispatch): do not call
2081 InsetOld::localDispatch, just return UNDISPATCHED
2082 * insetgraphics.C (localDispatch): ditto
2083 * insetcommand.C (localDispatch): ditto
2085 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * inset.h: get rid of RESULT typedef for dispatch_result
2089 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2090 * insetert.[Ch] (localDispatch): ditto
2091 * insettabular.[Ch] (localDispatch): ditto
2096 * insettext.[Ch] (localDispatch): ditto
2099 (moveRightIntern): ditto
2100 (moveLeftIntern): ditto
2103 * updatableinset.[Ch] (localDispatch): ditto
2105 2003-10-12 Angus Leeming <leeming@lyx.org>
2107 * renderbase.h (view, view_): removed.
2108 * renderbase.C: removed.
2109 * Makefile.am: remove render_base.C. The shortest lived file in
2112 * renderbutton.C (draw):
2113 * render_graphic.C (draw): don't cache the BufferView.
2115 * insetabase.h (cache, view): removed.
2117 * inset.h (generatePreview) removed.
2119 * insetcallapsable.[Ch] (cache, view, view_): removed.
2121 * insetcollapsable.C (draw): don't cache the BufferView.
2123 * insetcommand.[Ch] (view): removed.
2125 * insetexternal.[Ch] (cache, view, view_):
2126 * insetgraphics.[Ch] (cache, view, view_):
2127 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2129 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2130 when you have direct access to it. In fact, don't use the cache at all.
2132 2003-10-10 Angus Leeming <leeming@lyx.org>
2134 * insetinclude.C (metrics): use preview_->metrics.
2135 (draw): use preview_->draw.
2137 * render_preview.[Ch] (pimage): removed.
2139 2003-10-10 Angus Leeming <leeming@lyx.org>
2141 * renderers.[Ch]: removed.
2144 * render_button.[Ch]:
2145 * render_graphic.[Ch]:
2146 * render_preview.[Ch]: new files. The first three are split out of
2147 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2148 contains a re-worked InsetInclude::PreviewImpl also.
2150 * Makefile.am: reflect the changed files.
2153 * insetexternal.[Ch]:
2154 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2156 * insetinclude.[Ch]: changes reflecting the change from
2157 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2163 * inseturl.C: add #include "support/std_ostream.h"
2165 2003-10-09 Angus Leeming <leeming@lyx.org>
2167 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2168 to PreviewedInset::previewReady.
2170 2003-10-09 Angus Leeming <leeming@lyx.org>
2172 * insetexternal.[Ch] (statusChanged):
2173 * insetgraphics.[Ch] (statusChanged): make a const member function.
2175 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2178 2003-10-09 Angus Leeming <leeming@lyx.org>
2180 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2181 to PreviewedInset's previewReady and removePreview member functions.
2183 2003-10-08 André Pönitz <poenitz@gmx.net>
2185 * insetcollapsable.C:
2186 * insettext.[Ch]: saner 'init' structure
2188 * updatableinset.[Ch]: remove unneeded code
2190 2003-10-08 Angus Leeming <leeming@lyx.org>
2192 Fix doxygen warnings.
2194 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2195 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2197 2003-10-07 Angus Leeming <leeming@lyx.org>
2199 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2200 be applied to InsetExternal.
2202 * Makefile.am: add these new files.
2204 * ExternalTemplate.[Ch]: add a list of available transforms to
2205 class Template and a list of factory functions for transformer classes
2206 that can act on this data to class Format.
2208 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2210 * ExternalSupport.C: Add code to replace transform placeholders
2211 with appropriate output.
2213 2003-10-07 Angus Leeming <leeming@lyx.org>
2215 * ExternalSupport.[Ch]: new files, moving the private member functions
2216 and namespace anon functions out of insetexternal.C to here, so making
2217 it easier to understand what is going on in insetexternal itself.
2219 * Makefile.am: add new files.
2221 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2222 allowing the class to be forward declared. (Also consistent with
2223 all other Params classes.)
2224 (write): moved out of the class. Move this function and those in
2225 namespace anon to ExternalSupport.[Ch].
2227 2003-10-07 Angus Leeming <leeming@lyx.org>
2229 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2230 non-const member function.
2232 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2237 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2239 2003-10-02 André Pönitz <poenitz@gmx.net>
2241 * insettext.C (read): make sure there is at least one par
2242 in the text after reading.
2244 2003-10-01 José Matos <jamatos@lyx.org>
2246 * insetbranch.C (linuxdoc, docbook): minor fix.
2248 2003-10-01 Angus Leeming <leeming@lyx.org>
2250 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2252 * insetexternal.[Ch]: changes due to the introduction of
2253 namespace lyx::external.
2255 2003-09-30 Angus Leeming <leeming@lyx.org>
2257 * insetexternal.[Ch] (Params::read, write): new member functions.
2259 2003-09-25 Angus Leeming <leeming@lyx.org>
2261 * insetexternal.[Ch] (TempName): new (private) nested struct with
2262 fake copy semantics. Enables us to use the generated copy c-tor
2263 in the Params struct.
2264 (Params::templatename, Params::tempname): use accessor functions.
2266 2003-09-25 Angus Leeming <leeming@lyx.org>
2268 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2269 function, returning a const pointer.
2271 2003-09-23 Angus Leeming <leeming@lyx.org>
2273 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2274 store them in a vector, preambleNames.
2276 * insetexternal.C (validate): loop over all preambleNames and call
2277 LaTeXFeatures::addExternalPreamble with each.
2279 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2281 * insetbranch.C: bug fix in branches
2283 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2285 * insetnote.C: small clean-up.
2287 2003-09-19 Angus Leeming <leeming@lyx.org>
2289 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2291 * insetcommand.C (string2params): clear params using the default c-tor.
2293 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2294 InsetInclude::Params. No more data in this struct than in
2295 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2296 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2297 (clone): remove #warning as it's now redundant.
2298 (set): add a 'Buffer const &' arg. Make private.
2299 (loadIfNeeded) move out of the class definition and into namespace anon.
2300 (getMasterFilename, getFileName): ditto.
2302 2003-09-18 Angus Leeming <leeming@lyx.org>
2304 * insetcommand.C (setParams): use the params' copy constructor.
2306 2003-09-18 Angus Leeming <leeming@lyx.org>
2308 * insetinsetbase.h (getLabelList):
2309 * insetinsetcollapsable.[Ch] (getLabelList):
2310 * insetinsetinclude.[Ch] (getLabelList):
2311 * insetinsetlabel.[Ch] (getLabelList):
2312 * insetinsettabular.[Ch] (getLabelList):
2313 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2314 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2316 2003-09-18 Angus Leeming <leeming@lyx.org>
2318 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2319 redundant baggage from yesteryear.
2320 Remove Params::flag as it is redundant; the info is present in
2323 2003-09-18 Angus Leeming <leeming@lyx.org>
2325 * insetinclude.C (latexString): add a Buffer const & arg.
2327 2003-09-18 Angus Leeming <leeming@lyx.org>
2332 * insettext.h: rename EnumLColor as LColor_color.
2334 2003-09-18 Angus Leeming <leeming@lyx.org>
2336 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2337 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2339 2003-09-16 Angus Leeming <leeming@lyx.org>
2341 * insetinclude.C (localDispatch): ensure that
2342 params_.masterFilename_ is set before trying to generate a
2343 preview, else we trigger an assert.
2345 2003-09-16 Angus Leeming <leeming@lyx.org>
2347 * insetinclude.C (PreviewImpl::parent): return a const reference.
2349 2003-09-16 Angus Leeming <leeming@lyx.org>
2351 * insetcollapsable.[Ch]: make all member variables, except for
2354 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2355 than access labelfont directly.
2356 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2357 use InsetCollapsable::setCollapsed, isOpen rather than access
2358 collapsed_ directly.
2360 * insetminipage.C (metrics):
2361 * insetnote.C (metrics):
2362 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2363 access collapsed_ directly.
2365 2003-09-16 Angus Leeming <leeming@lyx.org>
2367 * insetbibitem.C: add #include "lyxfont.h".
2369 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * insetbibtex.C: use namespace alias for lyx::support::os
2374 2003-09-16 Angus Leeming <leeming@lyx.org>
2376 * insetcollapsable.h: remove unused framecolor variable.
2377 Remove #include "LColor.h".
2379 * insetcollapsable.C: remove unused framecolor variable.
2382 * insetcollapsable.C:
2390 Add #include "LColor.h".
2392 2003-09-16 Angus Leeming <leeming@lyx.org>
2394 * insettext.[Ch] (frameColor): new accessor function.
2395 (frame_color_): stored as an int, allows us to remove #include
2396 "LColor.h" from insettext.h
2401 add #include "LColor.h".
2403 * insetcollapsable.h: add #include "LColor.h"
2404 (for its framecolor member variable).
2406 2003-09-16 Angus Leeming <leeming@lyx.org>
2408 * insetenv.C (constructor): use accessor functions to access
2409 InsetText variables.
2411 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2412 rename frame_color as frame_color_. Make private.
2414 * insettext.C: associated changes.
2416 2003-09-16 Angus Leeming <leeming@lyx.org>
2418 * inset.h: store background_color_ as an int, not as an
2419 LColor::color to get LColor.h out of the header file.
2422 * insetlatexaccent.C:
2425 * insetspecialchar.C:
2427 add #include "LColor.h".
2429 2003-09-16 Angus Leeming <leeming@lyx.org>
2431 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2432 cannot string calls together.
2434 2003-09-15 Angus Leeming <leeming@lyx.org>
2436 * inset.[Ch] (setBackgroundColor, backgroundColor):
2437 * insettext.[Ch] (setFrameColor):
2438 pass EnumLColor args, rather than LColor::color ones.
2440 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * insetwrap.C: remove usage of STRCONV
2452 2003-09-15 Angus Leeming <leeming@lyx.org>
2454 * renderers.C (draw):
2455 * insetlatexaccent.C (draw): explicitly define the color passed to
2458 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2460 * insettext.C: remove block causing problems in lockInsetInInset
2461 (mentioned erroneously under Bug #1366)
2463 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2465 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2468 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2470 * several files: change Assert to BOOST_ASSERT
2472 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2474 * insettext.[Ch]: remove drawText[XY]Offset
2476 2003-09-08 Angus Leeming <leeming@lyx.org>
2478 * insetcollapsable.C:
2483 * insetspecialchar.C:
2486 * insettoc.C: remove redundant using directives.
2488 2003-09-07 Angus Leeming <leeming@lyx.org>
2491 * insetspecialchar.h: remove #include "support/std_string.h".
2493 2003-09-06 Angus Leeming <leeming@lyx.org>
2495 * renderers.C: add #include "insets/inset.h"
2497 2003-09-05 Angus Leeming <leeming@lyx.org>
2499 * *.C: strip out redundant #includes. (193 in total.)
2501 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2503 * insets/insetbibtex.[Ch]:
2504 * insets/insetcommand.h:
2505 * insets/insetfloatlist.[Ch]:
2506 * insets/insetinclude.[Ch]:
2507 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2508 of insets like bibtex, include, toc and floatlist to the visible
2509 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2510 up the dialogs. Cursor has to be in front of the inset (i.e.
2511 start of row) for this to function.
2513 2003-09-04 Angus Leeming <leeming@lyx.org>
2515 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2516 structure outside of the Format struct. Format::preambleName refers to
2517 an item in the map of all preamble snippets.
2518 Make use of the new Debug::EXTERNAL flag.
2520 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2521 (validate): Small change due to the changed storage of preamble
2524 2003-09-04 Angus Leeming <leeming@lyx.org>
2526 * insetgraphics.C: #include "support/os.h"
2528 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2529 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2530 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2532 * insetcollapsable.h:
2534 * insetnote.C: move #include "funcrequest.h" out of the header file.
2536 2003-09-03 Angus Leeming <leeming@lyx.org>
2538 * insetexternal.C (updateExternal):
2539 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2542 2003-09-03 Angus Leeming <leeming@lyx.org>
2544 * insetexternal.C: don't bring namespace lyx::support into the global
2547 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2549 * insetbranch.C: Add Branch: to label
2551 2003-09-02 John Levon <levon@movementarian.org>
2554 * insettext.C: remove cursor.i[xy]()
2556 2003-08-28 Angus Leeming <leeming@lyx.org>
2558 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2559 "sh ", enabling the conversion to be carried out even if the script
2562 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * most files: change to use const Buffer refs
2566 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2568 * insetfootlike.C: whitespace.
2570 2003-08-26 John Levon <levon@movementarian.org>
2574 * insetindex.h: remove remaining mentions of needFullRow()
2576 2003-08-26 André Pönitz <poenitz@gmx.net>
2582 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2584 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2586 * insetbranch.C: Small fix to prevent a crash on loading.
2588 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2593 * insetcollapsable.h:
2595 * insetfloatlist.[Ch]:
2596 * insetfootlike.[Ch]:
2597 * insetinclude.[Ch]:
2603 * insettheorem.[Ch]:
2604 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2605 altogether, putting the logic in metrics/draw in the insets.=20
2606 Draws short single row insets with more or less realistic metrics.
2608 2003-08-19 André Pönitz <poenitz@gmx.net>
2610 * insettext.C: use new RowPainter interface
2612 2003-08-18 John Levon <levon@movementarian.org>
2614 * insetref.C: require amsmath for eqref
2616 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2620 * insetbranch.[Ch]: implements the 'branch inset'
2621 idea. This allows the output of various versions of a document
2622 from a single source version, selectively outputing or suppressing
2623 output of parts of the text.
2624 This implementation contains a 'branch list editor' in a separate
2625 tab of the document settings dialog. Branches are user definable
2626 and have a "display colour" to distinguish them on-screen.
2628 ColorHandler was somewhat cleaned up.
2629 (1) make possible a dynamically growing LColor list by allowing
2630 the graphic context cache to grow along (vector);
2631 (2) eliminate an IMHO unnecessary step in colour allocation.
2633 2003-08-15 André Pönitz <poenitz@gmx.net>
2635 * insettext.[Ch]: adjust after rowlist split
2637 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2639 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2640 rename valign-center to valign-middle;
2641 rename VALIGN_CENTER to VALIGN_MIDDLE
2643 2003-08-11 André Pönitz <poenitz@gmx.net>
2645 * inset.h: remove resizeLyXText
2648 * insetcollapsable.[Ch]:
2650 * insettabular.[Ch]: adjust
2652 * insettext.[Ch]: remove saveLyXTextState,
2653 restoreLyXTextStat, sstate, reinitLyXText
2655 2003-08-07 André Pönitz <poenitz@gmx.net>
2657 * inset.[Ch]: move non-crucial functions out-of-line
2659 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2660 remove duplicated code.
2662 2003-08-05 André Pönitz <poenitz@gmx.net>
2665 * insetcollapsable.[Ch]:
2675 * insettabular.[Ch]:
2678 * updatableinset.[Ch]: rip out "deep update"
2680 * insettext.C (localDispatch): merge cases with default branch
2682 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2684 * insettabular.[Ch] (updateLocal): simplify logic
2686 2003-08-04 André Pönitz <poenitz@gmx.net>
2688 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2689 is 'FULL' all the time.
2691 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2693 * insetert.C (get_new_label): only add ... to the (closed) label
2694 when the string has been shortened
2696 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2698 * Always use std::endl with lyxerr
2700 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2702 * insetnote.C: update \author list
2704 2003-07-31 André Pönitz <poenitz@gmx.net>
2706 * insetcollapsable.h:
2707 * insettabular.[Ch]:
2708 * insettext.[Ch]: remove toggleSelection
2710 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2712 (with help from Juergen Spitzmueller)
2713 * insetnote.C: add add i18n support. Use Prefs-definable
2714 colours for Comment and Greyedout.
2716 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2718 * insetcollapsable.[Ch]:
2720 * insetert.C: factor out the detection of clicking on the inset
2721 button as 'hitButton'. John Levon contributed.
2723 2003-07-30 André Pönitz <poenitz@gmx.net>
2725 * insetcollapsable.C:
2727 * insettabular.C: parantheses, localize vars etc.
2729 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2731 * insetnote.C: Implement a newenvironment in preamble for
2732 greyedout. Patch provided by Jürgen Spitzmüller.
2734 2003-07-29 Angus Leeming <leeming@lyx.org>
2736 * insetcommand.C (localDispatch): default to
2737 InsetOld::localDispatch.
2739 * insetbibitem.C (localDispatch):
2740 * insetbibtex.C (localDispatch): remove call to
2741 ChangeCitationsIfUnique.
2743 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2745 * insetexternal.C (read): use pushpophelper.
2747 2003-07-28 José Matos <jamatos@lyx.org>
2749 * insetext.C (read): \end_document replaces \the_end.
2751 2003-07-28 José Matos <jamatos@fep.up.pt>
2753 * insetert.C (write): \layout -> \begin_layout.
2754 Add missing \end_layout.
2756 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * insetquotes.C: document a bit the format
2760 * insettabular.C (write): remove extra space
2762 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2763 * insetnote.C: Umpf. Hope I *now* get it right :-(
2765 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2766 *insetnote.C: did the right fix to greyedout: \color
2767 instead of \textcolor.
2769 2003-07-28 Angus Leeming <leeming@lyx.org>
2771 * insetbibtex.h: remove extraneous forward declaration.
2774 * insetbibtex.h: Also remove long-dead Holder member class
2777 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2779 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2782 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * insetwrap.C (addToToc): adjust for lyx::toc
2786 * insetfloatlist.C (ascii): adjust for lyx::toc
2788 * insetfloat.C (addToToc): adjust for lyx::toc
2790 2003-07-27 José Matos <jamatos@fep.up.pt>
2792 * insetnote.h (linuxdoc,docbook): update support.
2794 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2796 * insetfloat.C (wide): add a space to label, for consistency
2798 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * insettext.C (nextChange): adjust for lyx::find
2801 (searchForward): ditto
2802 (searchBackward): ditto
2804 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * insetgraphicsParams.C:
2807 * insetexternal.C: declare extern displayTranslator
2810 * renderers.C: add #include "support/LAssert.h"
2812 2003-07-27 José Matos <jamatos@fep.up.pt>
2814 * insetfloat.[Ch] (linuxdoc):
2815 * insetgraphics.C (linuxdoc):
2816 * insettabular.C (linuxdoc):
2817 * insettext.[Ch] (linuxdoc): add support for tables and figures
2820 2003-07-27 José Matos <jamatos@fep.up.pt>
2822 * insetinclude (latex): comply with makeLaTeXFile argument change.
2824 2003-07-26 Asger Alstrup <alstrup@local>
2826 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2827 the undo crashes. We'll see what problems other places this will
2830 2003-07-26 Angus Leeming <leeming@lyx.org>
2832 * insetgraphics.C: remove unused declaration of system_tempdir.
2834 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * rename Inset to InsetOld
2838 * all inset files (clone): return a auto_ptr<InsetBase>
2840 2003-07-23 Angus Leeming <leeming@lyx.org>
2842 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2844 2003-07-23 Angus Leeming <leeming@lyx.org>
2846 * mailinset.[Ch] (inset2string):
2847 * insetcommand.[Ch] (inset2string):
2848 * insetert.[Ch] (inset2string):
2849 * insetexternal.[Ch] (inset2string):
2850 * insetfloat.[Ch] (inset2string):
2851 * insetgraphics.[Ch] (inset2string):
2852 * insetinclude.[Ch] (inset2string):
2853 * insetminipage.[Ch] (inset2string):
2854 * insetnote.[Ch] (inset2string):
2855 * insettabular.[Ch] (inset2string):
2856 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2858 * insetexternal.[Ch]:
2859 * insetgraphics.[Ch]: get rid of the view() function. Associated
2860 changes to the mailers' string2params and params2string functions.
2862 2003-07-23 Angus Leeming <leeming@lyx.org>
2864 * insetexternal.[Ch]: store the external file name in a FileName
2865 member variable rather than a string + associated changes.
2867 2003-07-21 Angus Leeming <leeming@lyx.org>
2869 * insetgraphicsParams.[Ch]: store the graphics file name in
2870 a FileName member variable rather than a string.
2872 * insetgraphics.[Ch]:
2873 * insetgraphicsParams.[Ch]: Associated changes.
2875 2003-07-21 Angus Leeming <leeming@lyx.org>
2877 * insetgraphics.[Ch] (string2params, params2string): passed a
2878 buffer_path argument.
2881 2003-07-21 Angus Leeming <leeming@lyx.org>
2884 * insetgraphicsParams.[Ch]:
2886 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2888 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2890 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2892 2003-07-18 André Pönitz <poenitz@gmx.net>
2895 * insetminipage.[Ch]:
2896 * insettabular.[Ch]:
2899 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2901 2003-07-18 André Pönitz <poenitz@gmx.net>
2905 * insetcollapsable.C:
2909 * insetgraphics.[Ch]:
2910 * insetlatexaccent.[Ch]:
2915 * insetspecialchar.C:
2916 * insettabular.[Ch]:
2918 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2920 2003-07-17 André Pönitz <poenitz@gmx.net>
2922 * insetcollapsable.C:
2924 * insettext.C: don't call Inset::update() anymore
2927 * insettabular.[Ch]: remove unneeded in_update_ members
2929 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2931 2003-07-16 André Pönitz <poenitz@gmx.net>
2933 * insettext.C (selectAll): remove
2935 2003-07-16 John Levon <levon@movementarian.org>
2938 * insetnote.C: implement showInsetDialog()
2940 2003-07-15 André Pönitz <poenitz@gmx.net>
2943 * insettext.C: refresh_status tristate -> need_update bool
2945 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2947 * insettext.C: adjust call to LyXText::init
2949 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2951 * insettext.C: use bufferview_funcs->replaceSelection()
2952 to delete selections in some cases (bugs 441, 673, 702, 954).
2954 2003-07-14 André Pönitz <poenitz@gmx.net>
2956 * insettext.C (draw): use slimmed down rowpainter interface
2958 2003-07-14 André Pönitz <poenitz@gmx.net>
2960 * insetcollapsable.C:
2962 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2963 remove unused BufferView * argument
2965 2003-07-14 André Pönitz <poenitz@gmx.net>
2967 * insettext.[Ch]: used cached metrics a bit more
2969 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2971 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2973 2003-07-10 André Pönitz <poenitz@gmx.net>
2976 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2978 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * introduce namespace lyx::graphics
2982 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * introduce namespace lyx::support
2986 2003-06-30 André Pönitz <poenitz@gmx.net>
2988 * insetcite.C (localDispatch): fix case of missing return value
2990 * insetcite.C (ascii): remove unneeded temporary
2992 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * insetspace.h: fix \file
2996 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2997 * insetinclude.C (fillWithBibKeys): ditto
2999 * insetbibitem.C: fix type const order
3001 * inset.C (getLyXText): add varname for arg
3003 * ExternalTemplate.h: fix type const order
3005 2003-06-27 André Pönitz <poenitz@gmx.net>
3007 * insettext.C: take care of removed LyXCursor::row_ member
3009 * insettext.[Ch]: use new TextCursor struct for sstate
3011 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3013 * inseterror.[Ch]: removed
3015 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3017 * insetinclude.C (docbook): use parseError instead of sgmlError
3019 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3021 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3022 of BufferList::loadLyXFile
3024 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * insettext.C (update): simplify
3027 (updateLocal): remove commented code
3028 (insetUnlock): simplify
3029 (lockInset): simplify
3030 (updateInsetInInset): simplify
3031 (localDispatch): simplify
3033 (resizeLyXText): simplify
3034 (collapseParagraphs): simplify
3036 * insetert.C (get_new_label): simplify
3038 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3040 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3041 pasteSelection with index
3043 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3045 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3047 2003-06-16 André Pönitz <poenitz@gmx.net>
3049 * insetbase.h: new virtual base function clone()
3051 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3052 Inset * clone() -> InsetBase * clone()
3054 2003-06-13 André Pönitz <poenitz@gmx.net>
3056 * insettabular.[Ch]: make tabular a proper member
3058 2003-06-12 André Pönitz <poenitz@gmx.net>
3060 * insettabular.[Ch]: some renaming plus whitespace
3062 2003-06-11 Angus Leeming <leeming@lyx.org>
3064 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3067 * insetbutton.[Ch]: removed.
3068 * graphicinset.[Ch]: renamed as renderers.[Ch].
3070 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3071 Create a new class ButtonRenderer using the InsetButton::metrics() and
3073 Derive both from a common RenderedInset base class.
3075 * insetcommand.[Ch]:
3076 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3077 Give it a ButtonRenderer member variable. Use it.
3078 Give the classes working copy c-tors.
3079 No longer derive from boost::noncopyable.
3081 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3082 display its contents as a button or as a graphic.
3084 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3087 2003-06-11 Angus Leeming <leeming@lyx.org>
3089 * insetcite.C (localDispatch): reformat.
3091 * insetref.C (localDispatch): enable dialog to be lauched.
3093 2003-06-11 John Levon <levon@movementarian.org>
3095 * insettabular.C: correctly mark all cells as erased
3097 2003-06-11 Angus Leeming <leeming@lyx.org>
3099 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3100 ExternalTemplate but its name, templatename. This means that a file
3101 containing a reference to an External Template not installed on the
3102 current machine will be saved retaining this info rather than inserting
3103 the first "valid" template from the list of templates.
3105 As a by product, the visual statement that the Template is missing is
3108 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3110 * insettext.C (appendParagraphs): remove some commented code.
3112 2003-06-10 Angus Leeming <leeming@lyx.org>
3114 * graphicinset.[Ch] (view): removed the publicly accessible
3115 function to set the cache.
3117 * insetexternal.[Ch]: move tempname_ into the Params struct.
3118 (Params d-tor): new function, to clean-up this temp file.
3119 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3121 (editExternal, doSubstitution): move out of class.
3123 2003-06-10 Angus Leeming <leeming@lyx.org>
3125 * graphicinset.[Ch] (params): removed.
3126 * graphicinset.h (operator=): declared private but not defined.
3127 (statusMessage): made private.
3129 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3131 2003-06-07 John Levon <levon@movementarian.org>
3133 * insetert.C (latex): make a newline mean just that not
3136 2003-06-07 José Matos <jamatos@fep.up.pt>
3138 * insethfill.[Ch] (linuxdoc, docbook): implement output
3139 * insetspace.C (linuxdoc, docbook): remove coments as the code
3142 2003-06-06 José Matos <jamatos@fep.up.pt>
3144 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3146 2003-06-06 André Pönitz <poenitz@gmx.net>
3148 * insetwrap.[Ch]: code compactification
3150 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3152 * mailinset.C (updateDialog): use Dialogs::visible
3154 2003-06-04 Angus Leeming <leeming@lyx.org>
3156 * graphicinset.C (draw): add a comment for the #if 0 block.
3158 * insetexternal.h: remove Params::parameters variable.
3160 * insetexternal.C (read, write): rewrite to output new ExternalInset
3161 format and read it back making full use of LyXLex.
3163 2003-06-04 André Pönitz <poenitz@gmx.net>
3165 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3167 2003-06-04 John Levon <levon@movementarian.org>
3169 * insettabular.C: back out tall table speed up. It was broken
3171 2003-06-03 Angus Leeming <leeming@lyx.org>
3173 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3174 Remove ViewCommand and UpdateCommand.
3176 * graphicinset.C (update): bug fix. Set the params before calling the
3179 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3180 the BufferView cache to enable the InsetExternal::editCommand to
3181 be invoked from the frontends. Would not be needed if this were
3182 dispatched properly.
3183 (old_ascent_): variable removed.
3185 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3186 do any necessary conversions of external material. Also use the
3187 new GraphicsInset to display the inset within LyX.
3189 2003-06-03 Angus Leeming <leeming@lyx.org>
3191 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3192 and move it somewhere where InsetExternal can use it too.
3194 * Makefile.am: add the new files.
3196 * insetgraphics.[Ch]: make use of the new GraphicInset.
3198 2003-06-03 John Levon <levon@movementarian.org>
3201 * insetbibitem.[Ch]:
3204 * insetcommand.[Ch]:
3208 * insetexternal.[Ch]:
3212 * insetgraphics.[Ch]:
3214 * insetinclude.[Ch]:
3217 * insetlatexaccent.[Ch]:
3218 * insetmarginal.[Ch]:
3219 * insetminipage.[Ch]:
3226 * insetspecialchar.[Ch]:
3227 * insettabular.[Ch]:
3229 * insetthereom.[Ch]:
3232 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3234 * insetgraphics.[Ch]:
3235 * insetgraphicsParams.[Ch]: always store an absolute
3238 2003-06-02 André Pönitz <poenitz@gmx.net>
3242 * insetlatexaccent.C: remove duplicated call to metrics()
3244 2003-06-02 John Levon <levon@movementarian.org>
3246 * insettabular.C: fix resize of column width
3248 2003-06-02 John Levon <levon@movementarian.org>
3253 * insetparent.C: remove insetparent
3255 2003-06-02 André Pönitz <poenitz@gmx.net>
3262 * insetcollapsable.[Ch]:
3266 * insetgraphics.[Ch]:
3267 * insetinclude.[Ch]:
3268 * insetlatexaccent.[Ch]:
3269 * insetminipage.[Ch]:
3270 * insetnewline.[Ch]:
3273 * insetspecialchar.[Ch]:
3274 * insettabular.[Ch]:
3275 * insettext.[Ch]: unify first drawing phase
3278 * insetbase.h: move validate() to the base
3280 2003-05-31 Angus Leeming <leeming@lyx.org>
3282 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3284 2003-05-30 André Pönitz <poenitz@gmx.net>
3289 * insetcaption.[Ch]:
3290 * insetcollapsable.[Ch]:
3293 * insetgraphics.[Ch]:
3294 * insetinclude.[Ch]:
3295 * insetlatexaccent.[Ch]:
3296 * insetnewline.[Ch]:
3299 * insetspecialchar.[Ch]:
3300 * insettabular.[Ch]:
3302 * updatableinset.[Ch]: unify second drawing phase
3304 2003-05-30 John Levon <levon@movementarian.org>
3306 * insetgraphics.C: fix a bformat
3308 2003-05-29 John Levon <levon@movementarian.org>
3310 * insettabular.C: remove unused bufferOwner()
3312 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * insettext.C (lockInsetInInset): adjust
3315 (getLabelList): use const_iterator, adjust
3316 (getInsetFromID): use const_iterator, adjust
3317 (addPreview): use const_iterator, adjust
3319 * insetwrap.C (clone): remove const_cast
3321 * insetnote.C (clone): remove const_cast
3323 * insetminipage.C (clone): remove const_cast
3325 * insetmarginal.C (clone): remove const_cast
3327 * insetfoot.C (clone): remove const_cast
3329 * insetfloat.C (clone): remove const_cast
3331 * insetert.C (clone): remove const_cast
3333 * delete commented same_id functions from a lot of files.
3335 2003-05-28 John Levon <levon@movementarian.org>
3341 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3343 * insetminipage.C: fix metrics (bug 1144)
3345 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * insettext.C (saveLyXTextState): adjust
3348 (restoreLyXTextState): adjust
3351 (unlockInsetInInset): adjust
3352 (localDispatch): adjust
3353 (getLyXText): adjust
3355 * insettabular.C (insertAsciiString): adjust
3357 2003-05-27 André Pönitz <poenitz@gmx.net>
3360 * insetcollapsable.C:
3363 * insetlatexaccent.C:
3368 * insetspecialchar.C:
3370 * insettext.C: dim.w -> dim.wid
3372 2003-05-26 John Levon <levon@movementarian.org>
3374 * insettabular.C: avoid drawing all of a long table
3375 if it's not needed. A big speedup
3377 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * remove same_id from function signatures, adjust
3381 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * insettext.C (InsetText): adjust
3385 (setParagraphData): separate same_id cases, adjust
3386 (appendParagraphs): adjust
3387 (appendParagraphs): adjust
3389 2003-05-23 André Pönitz <poenitz@gmx.net>
3391 * insetbutton.h: whitespace
3393 * insettabular.C: more compact code
3395 * updatableinset.C: remove const_cast
3398 2003-05-23 Angus Leeming <leeming@lyx.org>
3400 * insetexternal.C (write): check how many lines are output.
3401 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3402 if the template has defined it.
3404 2003-05-23 Angus Leeming <leeming@lyx.org>
3406 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3408 2003-05-23 Angus Leeming <leeming@lyx.org>
3410 * insetfoot.C (latex):
3411 * inseturl.C (latex): rename fragile as moving_arg.
3413 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * inseterror.C (localDispatch): comment out unused var.
3417 2003-05-22 Angus Leeming <leeming@lyx.org>
3419 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3420 passed through the LatexRunParams arg.
3422 2003-05-22 Angus Leeming <leeming@lyx.org>
3424 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3425 through the LatexRunParams arg.
3427 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3428 arg rather than through a global var.
3430 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * insetspecialchar.C (dimension): use a string.
3434 2003-05-22 Angus Leeming <leeming@lyx.org>
3436 * insetbibtex.C (latex):
3437 * insetgraphics.C (latex):
3438 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3439 runparams rather than from the buffer itself.
3441 2003-05-22 Angus Leeming <leeming@lyx.org>
3443 * inset*.[Ch] (latex):
3444 passed a LatexRunParams parameter.
3446 * insetgraphics.C (latex): actually use it ;-)
3448 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3450 * insetfloat.C (addToToc): trivial compile fix
3452 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * insettext.[Ch] (paragraph): delete unused function
3456 * insetfloat.C (addToToc): parlist simplfication
3458 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3460 * insetspace.[Ch]: added (new space insets)
3462 * inset.h: handle new space insets
3464 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * insetfloat.C (addToToc): adjust
3468 2003-05-21 André Pönitz <poenitz@gmx.net>
3470 * insettext.[Ch]: fix drawing bug introduced earlier
3472 2003-05-19 André Pönitz <poenitz@gmx.net>
3474 * insetspecialchar.C: fix bug introduced yesterday
3476 2003-05-19 André Pönitz <poenitz@gmx.net>
3480 * insetcollapsable.[Ch]:
3484 * insetgraphics.[Ch]:
3485 * insetgraphicsParams.[Ch]:
3486 * insetlatexaccent.[Ch]:
3487 * insetminipage.[Ch]:
3488 * insetnewline.[Ch]:
3490 * insetspecialchar.[Ch]:
3491 * insettabular.[Ch]:
3492 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3494 2003-05-19 André Pönitz <poenitz@gmx.net>
3497 * insettext.C: more insetenv
3499 2003-05-16 André Pönitz <poenitz@gmx.net>
3502 * insetminimpage.[Ch]:
3503 * insetcollapsable.[Ch]: fix #832
3505 2003-05-16 André Pönitz <poenitz@gmx.net>
3508 * insetbibitem.[Ch]:
3512 * insetcollapsable.[Ch]:
3513 * insetcommand.[Ch]:
3516 * insetexternal.[Ch]:
3517 * insetfloatlist.[Ch]:
3518 * insetgraphics.[Ch]:
3519 * insetinclude.[Ch]:
3522 * insetlatexaccent.[Ch]:
3525 * insettabular.[Ch]:
3529 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3531 2003-05-13 André Pönitz <poenitz@gmx.net>
3534 * insetcollapsable.C:
3538 * insetwrap.C: tostr from own header
3550 * insetwrap.C: STRCONV
3553 2003-05-12 André Pönitz <poenitz@gmx.net>
3565 * insetwwrap.C: boost::format -> bformat all over the place
3567 2003-05-05 André Pönitz <poenitz@gmx.net>
3569 * insettext.h: add missing #include <map>
3571 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * insettext.C (InsetText): parlist cleanup
3576 (insetUnlock): ditto
3578 (lockInsetInInset): ditto
3582 (searchBackward): ditto
3583 (collapseParagraphs): ditto
3585 2003-05-06 John Levon <levon@movementarian.org>
3587 * insetcaption.C: don't cast wrap inset to InsetFloat
3590 * insetfloat.C: remove unneeded type() function
3592 2003-05-05 André Pönitz <poenitz@gmx.net>
3596 * insettabular.[Ch]:
3597 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3598 replace getFirstParagraph() by getParagraphs()
3600 2003-05-03 John Levon <levon@movementarian.org>
3602 * insetcollapsable.h:
3603 * insetcollapsable.C:
3609 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3610 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3611 getCursor(). Remove explicit cursor hides.
3613 2003-05-02 André Pönitz <poenitz@gmx.net>
3615 * insettext.C: remove unneeded &*
3617 2003-04-30 John Levon <levon@movementarian.org>
3619 * insettabular.C: fix edit message
3621 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * insettext.C (setFont): do not convert iterator -> pointer
3625 * insettabular.C (localDispatch): do not convert iterator -> pointer
3627 (tabularFeatures): ditto
3629 2003-04-29 André Pönitz <poenitz@gmx.net>
3631 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3633 2003-04-28 André Pönitz <poenitz@gmx.net>
3635 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3638 2003-04-25 André Pönitz <poenitz@gmx.net>
3640 * insetenv.C: derive from InsetText instead of InsetCollapsable
3642 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * insetexternal.C (string2params): dont do anything if the string
3646 * insetgraphics.C (string2params): ditto
3647 * insetcommand.C (string2params): ditto
3648 * insetert.C (string2params): ditto
3649 * insetfloat.C (string2params): ditto
3650 * insetinclude.C (string2params): ditto
3651 * insetminipage.C (string2params): ditto
3652 * insettabular.C (string2params): ditto
3653 * insetwrap.C (string2params): ditto
3655 2003-04-24 André Pönitz <poenitz@gmx.net>
3657 * insetref.C: support for eqref
3659 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * insetert.C (read): use ParagraphList::iterator.
3663 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * insetquotes.C (latex): comment some code and add warnings.
3667 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3669 * insetexternal.C (localDispatch): added a missing DISPATCHED
3671 2003-04-12 John Levon <levon@movementarian.org>
3673 * insetwrap.C (addToToc): fix a crash, conversion
3674 from while to for loop forgot to remove the explicit
3677 2003-04-10 John Levon <levon@movementarian.org>
3679 * insettabular.C (tabularFeature): make sure
3680 to update the dialog when we change something
3683 (getStatus): don't disable some lfuns (bug 939)
3685 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * insettext.C (saveLyXTextState): adjust
3688 (localDispatch): adjust
3694 * insettabular.C (localDispatch): adjust
3696 (tabularFeatures): adjust
3698 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3700 * insettabular.C (searchForward,searchBackward): fix bug 782
3702 2003-04-07 John Levon <levon@movementarian.org>
3705 * insettext.C: clear status message on inset exit
3707 2003-04-03 John Levon <levon@movementarian.org>
3709 * insetcommand.C: return dispatched on DIALOG_UPDATE
3711 2003-04-02 John Levon <levon@movementarian.org>
3713 * insettabular.C: tab lfuns renamed
3715 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * insettext.C (update): move towards ParagraphList
3718 (updateLocal): ditto
3720 (insetUnlock): ditto
3722 (lockInsetInInset): ditto
3723 (updateInsetInInset): ditto
3724 (localDispatch): ditto
3727 (resizeLyXText): ditto
3728 (searchBackward): ditto
3729 (collapseParagraphs): ditto
3732 * insetwrap.C (InsetWrap): adjust
3733 (addToToc): adjust and rewrite loop
3735 * insettext.[Ch] (paragraph): delete function
3737 * insettabular.C (moveNextCell): adjust
3738 (movePrevCell): adjust
3739 (insertAsciiString): adjust
3741 * insetfloat.C (InsetFloat): adjust
3744 * insetert.C (InsetERT): adjust
3745 (write): adjust, and rewrite loop
3746 (latex): adjust, and rewrite loop
3747 (linuxdoc): adjust, and rewrite loop
3748 (docbook): adjust, and rewrite loop
3749 (localDispatch): adjust
3750 (get_new_label): adjust
3752 2003-04-01 John Levon <levon@movementarian.org>
3754 From Alfredo Braunstein
3757 * insetbutton.C: add localDispatch()
3759 * insetcommand.C: return DISPATCHED when edit() called
3761 * insettext.C: fix bug 967
3763 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * insettext.C: adjust
3767 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * insettext.C (draw): adjust
3770 (crow): return a RowList::iterator not a Row*
3772 * insetminipage.C (localDispatch): adjust
3774 * insetert.C (localDispatch): adjust
3776 2003-03-31 John Levon <levon@movementarian.org>
3779 * insetgraphicsParams.C: use_gui moved to lyx_gui
3781 2003-03-31 John Levon <levon@movementarian.org>
3783 * insettext.C: Alert fix
3785 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * insettext.C (ascent): adjust for RowList
3790 (getLyXText): adjust
3791 (toggleSelection): adjust
3793 * insetminipage.C (localDispatch): adjust for RowList
3795 * insetert.C (localDispatch): adjust for RowList
3796 (getMaxWidth): adjust for RowList
3798 2003-03-29 John Levon <levon@movementarian.org>
3800 * insetert.C: Alert cleanup
3802 2003-03-29 John Levon <levon@movementarian.org>
3804 * insettabular.C: Alert fix
3806 2003-03-28 John Levon <levon@movementarian.org>
3808 * insetfloat.C: reset label on INSET_MODIFY
3810 2003-03-28 John Levon <levon@movementarian.org>
3812 * insetgraphicsParams.C: read subcaptionText as a whole line
3815 2003-03-28 John Levon <levon@movementarian.org>
3817 * insettext.C: remove unused prototypes
3819 2003-03-25 Angus Leeming <leeming@lyx.org>
3821 * insetbibitem.C (localDispatch): repaint the view after modifying
3822 a bibitem inset in case the maximum InsetBibitem width has changed.
3824 2003-03-25 John Levon <levon@movementarian.org>
3827 * insettabular.C: LyXText renamings
3829 2003-03-24 John Levon <levon@movementarian.org>
3831 * insettext.C: remove some dead code. Fix bug 972 and
3832 related by posting a repaint in updateLocal(), and making
3833 the SEL functions set SELECTION.
3835 2003-03-22 John Levon <levon@movementarian.org>
3838 * inset.C: remove no-longer-needed topx_set
3840 * insetcollapsable.h:
3841 * insetcollapsable.C: remove dead code
3844 * insetert.C: rebreak the rows when a possible
3845 change in size is made, and reset the cursor
3848 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3850 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3851 topx_set. Fix drawing errors for clearInset(). Remove
3852 some unnecessary uses of topx, which should die.
3854 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3855 is no longer needed. Replace it with an ugly hack.
3857 2003-03-20 John Levon <levon@movementarian.org>
3860 * insetcollapsable.h:
3861 * insetcollapsable.C:
3869 * insettext.C: remove spurious font parameter
3870 from update(). Fix drawing of ERT insets inside
3871 insets (bug 966). Remove unused mark_dirty from
3872 tabular's updateLocal()
3874 2003-03-19 John Levon <levon@movementarian.org>
3883 * insetwrap.C: remove unused getter/setters
3885 2003-03-19 John Levon <levon@movementarian.org>
3887 * several files: bv->updateInset() doesn't take
3888 a bool mark_dirty any more
3890 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * adjust for BufferView* arg removal from lyxtext.
3894 2003-03-17 John Levon <levon@movementarian.org>
3896 * most files: remove the "cleared" parameter
3897 to draw in favour of always clearing. Associated
3900 2003-03-16 John Levon <levon@movementarian.org>
3902 * insettext.C: remove unused s.refresh
3904 2003-03-13 Angus Leeming <leeming@lyx.org>
3906 * insettext.C (edit): replace Dialogs::updateParagraph with
3907 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3909 2003-03-13 André Pönitz <poenitz@gmx.net>
3911 * Makefile.am: insert insetenv
3913 * insethenv.[Ch]: new files, currently inactive
3915 2003-03-12 John Levon <levon@movementarian.org>
3925 * insettext.C: use new insetnewline
3927 2003-03-12 John Levon <levon@movementarian.org>
3929 * insettext.C: readToken became readParagraph
3931 2003-03-12 John Levon <levon@movementarian.org>
3933 * insettext.C: use parlist iterator for reading contents
3935 2003-03-12 John Levon <levon@movementarian.org>
3937 * insettext.C: name change to readToken()
3939 2003-03-11 André Pönitz <poenitz@gmx.net>
3941 * Makefile.am: insert insethfill
3943 * insethfill.[Ch]: new files
3945 2003-03-10 Angus Leeming <leeming@lyx.org>
3947 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3949 (hideDialog): calls the new static Dialogs::hide() method.
3951 * insetbibitem.C (edit):
3952 * insetbibtex.C (edit):
3953 * insetcite.C (edit):
3954 * insetcommand.C (localDispatch):
3955 * inseterror.C (d-tor):
3956 * insetert.C (showInsetDialog):
3957 * insetexternal.C (localDispatch, edit):
3958 * insetfloat.C (localDispatch, showInsetDialog):
3959 * insetfloatlist.C (edit):
3960 * insetgraphics.C (localDispatch, edit):
3961 * insetinclude.C (localDispatch, edit):
3962 * insetindex.C (edit):
3963 * insetlabel.C (edit):
3964 * insetminipage.C (localDispatch, showInsetDialog):
3965 * insetref.C (edit):
3966 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3967 resetPos, showInsetDialog, openLayoutDialog):
3968 * insettoc.C (edit):
3969 * inseturl.C (edit):
3970 * insetwrap.C (localDispatch, showInsetDialog):
3971 changes due to the changed MailInset interface.
3973 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3975 * insetfloat.h: Set default placement to an empty string.
3977 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3979 * insettext.C (latex): adjust call to latexParagraphs.
3981 2003-03-10 Angus Leeming <leeming@lyx.org>
3983 * mailinset.C: warn the user if the BufferView has not been cached.
3985 2003-03-10 Angus Leeming <leeming@lyx.org>
3987 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3989 * insetcommand.h (inset):
3990 * insetert.h (inset):
3991 * insetexternal.h (inset):
3992 * insetfloat.h (inset):
3993 * insetgraphics.h (inset):
3994 * insetinclude.h (inset):
3995 * insetminipage.h (inset):
3996 * insettabular.h (inset):
3997 * insetwrap.h (inset):
3998 * mailinset.h (inset): return an InsetBase &, not an Inset &.
4000 2003-03-10 Angus Leeming <leeming@lyx.org>
4002 * insetcommand.C (string2params):
4003 * insetexternal.C (string2params):
4004 * insetfloat.C (string2params):
4005 * insetgraphics.C (string2params):
4006 * insetinclude.C (string2params):
4007 * insetminipage.C (string2params):
4008 * insettabular.C (string2params):
4009 * insetwrap.C (string2params): cure warning message about missing
4012 2003-03-09 Angus Leeming <leeming@lyx.org>
4014 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4015 it to communicate with the frontend dialogs.
4017 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4018 contents of this inset!
4020 2003-03-07 Angus Leeming <leeming@lyx.org>
4022 * inseterror.C (localDispatch): new method; calls edit() on
4025 2003-03-07 Angus Leeming <leeming@lyx.org>
4027 * insetbibitem.C (localDispatch):
4028 * insetbibtex.C (localDispatch):
4029 * insetlabel.C (localDispatch):
4030 rewrite as a switch.
4032 2003-03-07 Angus Leeming <leeming@lyx.org>
4034 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4035 it to communicate with the frontend dialogs.
4037 2003-03-07 Angus Leeming <leeming@lyx.org>
4039 * insetexternal.C: remove operator== and operator!= for
4040 InsetExternal::Params. They were used only by the old controller
4043 2003-03-07 Angus Leeming <leeming@lyx.org>
4045 * insetcommand.C (localDispatch):
4046 * insetexternal.C (localDispatch):
4047 * insetfloat.C (localDispatch):
4048 * insetinclude.C (localDispatch):
4049 * insetminipage.C (localDispatch):
4050 * insetwrap.C (localDispatch):
4051 add LFUN_INSET_DIALOG_UPDATE to the switch.
4053 2003-03-07 Angus Leeming <leeming@lyx.org>
4055 * insetcommand.C (string2params):
4056 * insetexternal.C (string2params):
4057 * insetfloat.C (string2params):
4058 * insetinclude.C (string2params):
4059 * insetwrap.C (string2params): use LyXLeX more.
4062 * insetexternal.[Ch]:
4064 * insetinclude.[Ch]:
4065 * insetwrap.[Ch]: change Mailer::name_ to be static.
4067 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4068 it to communicate with the frontend dialogs.
4070 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4073 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4075 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * insettext.C (updateLocal): un-const function
4078 (updateLocal): adjust
4079 (collapseParagraphs): un-const function
4080 (collapseParagraphs): adjust
4082 2003-03-05 Angus Leeming <leeming@lyx.org>
4084 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4085 it to communicate with the frontend dialogs.
4087 2003-03-05 Angus Leeming <leeming@lyx.org>
4089 * insetcollapsable.C (draw): cache the BufferView.
4091 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4092 it to communicate with the frontend dialogs.
4094 2003-03-05 Angus Leeming <leeming@lyx.org>
4096 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4099 2003-03-05 Angus Leeming <leeming@lyx.org>
4101 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4103 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4104 it to communicate with the frontend dialogs.
4106 2003-03-05 Angus Leeming <leeming@lyx.org>
4108 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4109 it to communicate with the frontend dialogs.
4111 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * insettext.C (collapseParagraphs): adjust
4114 (appendParagraphs): make it take a Buffer* instead of a
4115 BufferParams& as arg.
4116 (appendParagraphs): adjust
4118 2003-03-04 Angus Leeming <leeming@lyx.org>
4120 * insetbibitem.C (localDispatch):
4121 * insetbibtex.C (localDispatch):
4122 * insetcommand.C (localDispatch):
4123 * insetert.C (localDispatch):
4124 * insetlabel.C (localDispatch):
4125 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * insettext.C (latex): adjust for ParagraphList::iterator
4131 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * insetbutton.C (view): adjust for boost 1.30.0
4134 * insetcollapsable.C (view): ditto
4135 * insetgraphics.C (statusChanged): ditto
4137 * insettext.h: move paragraphs to be public.
4139 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * insetnote.[Ch] (InsetNote): remove unused constructor
4143 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4145 * insetgraphics.C: added include "format.h"
4147 2003-02-27 Angus Leeming <leeming@lyx.org>
4149 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4152 2003-02-27 Angus Leeming <leeming@lyx.org>
4154 * insetbibitem.C (localDispatch):
4155 * insetbibtex.C (localDispatch):
4158 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4160 2003-02-26 Angus Leeming <leeming@lyx.org>
4162 * insetbibitem.[Ch] (localDispatch):
4163 * insetbibtex.[Ch] (localDispatch):
4164 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4166 * insetcommand.C (localDispatch):
4167 act only on receipt of LFUN_XYZ_APPLY.
4169 * insetert.C (localDispatch): reformat.
4170 add LFUN_XYZ_APPLY to the switch.
4172 2003-02-26 John Levon <levon@movementarian.org>
4174 * insettext.C: use RowPainter
4176 * inset.h: make helpers take const *
4178 2003-02-26 Angus Leeming <leeming@lyx.org>
4180 * insetcommand.[Ch] (localDispatch): new method.
4182 2003-02-26 Angus Leeming <leeming@lyx.org>
4184 * insetinclude.C (draw): cache the BufferView* using cache not
4185 PreviewImpl::setView
4187 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4189 * insetgraphics.C (draw)
4190 * insetinclude.C (draw): Eliminate also the other argument (owner
4191 inset inset) in the call to PreviewImage::image
4193 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4195 * insetgraphics.C (draw)
4196 * insetinclude.C (draw): Eliminate Buferview argument in call to
4199 2003-02-25 John Levon <levon@movementarian.org>
4201 * insetgraphicsParams.h:
4202 * insetgraphics.C: don't start a load process if
4203 the inset is set to NoDisplay (bug #920)
4205 2003-02-22 John Levon <levon@movementarian.org>
4208 * insetwrap.C: TocItem changed API (bug 913)
4210 2003-02-21 Angus Leeming <leeming@lyx.org>
4212 * insetcollapsable.[Ch] (cache, edit):
4213 * insetbutton.[Ch] (cache, edit): new methods to cache the
4214 BufferView in the draw method.
4216 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4217 simplify comunication between InsetCommand-derived classes and
4220 * insetbibitem.[Ch]:
4224 * insetfloatlist.[Ch]:
4228 * inseturl.[Ch]: small changes to reflect the new interface to the
4231 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4232 other, similar classes.
4234 * Makefile.am: add new files.
4236 2003-02-21 Angus Leeming <leeming@lyx.org>
4238 * updatableinset.h (setView, view): remove.
4239 * inset.h (view, cache): to be replaced by these.
4241 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4244 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4247 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4249 2003-02-21 Allan Rae <rae@lyx.org>
4251 * insetinclude.C (loadIfNeeded): ensure loading also works when
4252 child document is under version control.
4254 2003-02-17 André Pönitz <poenitz@gmx.net>
4256 * insetbib.[Ch]: Adjust access to bibkeys
4258 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4260 * insetquotes.C (dispString): remove use of acute accent for "'"
4263 2003-02-14 John Levon <levon@movementarian.org>
4265 * insettabular.C: changed method names in tabular.C
4267 2003-02-14 John Levon <levon@movementarian.org>
4271 * insetcollapsable.h:
4272 * insetcollapsable.C:
4276 * insettext.C: remove unused getParFromID()
4278 2003-02-13 John Levon <levon@movementarian.org>
4281 * insettext.C: remove unused beginningofMainBody()
4283 2003-02-08 John Levon <levon@movementarian.org>
4287 * insetcollapsable.h:
4288 * insetcollapsable.C:
4293 add nextChange(). Make allowSpellcheck() const. Add markErased().
4295 * insetert.C: ignore deleted text
4297 * insettabular.C: make sure to keep change tracking working
4300 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4305 * insettext.C: Use error messages with identical spelling and
4308 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4310 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4312 2002-12-17 Juergen Vigna <jug@lyx.org>
4314 * insettext.C (localDispatch): hopefully fixed cursor up down
4315 movement on leaving other insets.
4317 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4319 * insettext.C: fix inconsistent usage of spaces, colons,
4320 capitalization, and the like.
4322 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4324 * insetgraphics.C (prepareFile): do not remove the extension of
4325 the file name if it is not the default extension for the given
4326 format (that is, in latex output, remove extension from foo.eps,
4327 but not from foo.epsi)
4329 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4331 * insettext.C (lfunMouseRelease): hackish solution to the "double
4334 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * insetfloat.C (addToToc): use the floats name not its type
4337 * insetwrap.C (addToToc): ditto
4339 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4341 * insetnote.C (init): make label font smaller
4343 2002-12-04 John Levon <levon@movementarian.org>
4345 * insetinclude.C: ressurect setting of command name
4347 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * insetquotes.C (dispString): disambiguate insert call
4351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * several files: ws changes
4355 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * insetquotes.C (dispString): use string::insert for prepending a
4360 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4362 * insetparent.C (getScreenLabel): use boost::format
4364 * insetgraphics.C (prepareFile): use boost::format
4367 * insetfloatlist.C (latex): use boost::format
4369 * insetcaption.C (draw): use boost::format
4371 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4373 * insettabular.C (tabularFeatures): Support for block alignment in
4374 fixed width columns.
4376 2002-11-20 Juergen Vigna <jug@sad.it>
4378 * insettabular.C (resetPos): temporary fix for endless loop in
4379 this function on a redraw.
4381 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * insettabular.C (copySelection): STRCONV
4385 * insetinclude.C (uniqueID): STRCONV
4386 (latexString): ditto
4388 * insetgraphics.C: put VersionNumber inside anon namespace
4389 (createLatexOptions): STRCONV
4391 * insetcommandparams.C: include config.h
4393 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4395 * insetgraphicsParams.C (Write): use lyx::float_equal.
4396 Write height data correctly.
4397 (Read): zero scale when reading height data.
4399 2002-10-30 John Levon <levon@movementarian.org>
4401 * insetfloat.C (addToTOC): recursively traverse all
4402 contents looking for captions (fix #568)
4404 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4406 * insetexternal.C (doSubstitution): do not try to replace
4407 environment variables, this is done when executing the command
4409 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4411 * insetexternal.C (doSubstitution): change order of substitution
4412 to work around ReplaceEnvironmentPath brokenness
4414 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4416 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4418 * insetgraphicsParams.C (init, Write): associated changes
4419 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4420 InsetGraphicsParams::scale.
4422 2002-10-21 John Levon <levon@movementarian.org>
4424 * inset.h: remove unused DISPATCH_RESULT
4426 * insettext.C: sgml open/close tag now in sgml namespace
4428 2002-10-21 Angus Leeming <leeming@lyx.org>
4430 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4431 file path subdir/fig.eps when pasting it into a buffer in a different
4434 2002-10-16 John Levon <levon@movementarian.org>
4436 * insetspecialchar.C: remove \\protected_separator parsing
4438 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4440 * insetquote.C: fix LaTeX output of quotation marks.
4442 2002-10-14 Juergen Vigna <jug@sad.it>
4444 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4445 Backspace functions which confused the Undo handling.
4447 2002-10-09 Angus Leeming <leeming@lyx.org>
4449 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4450 BufferView::dispatch that turns off this optimisation when a new inset
4453 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4454 reload the BibTeX keys.
4456 2002-10-11 André Pönitz <poenitz@gmx.net>
4458 * insettext.h: handle LFUN_PRIOR/NEXT
4460 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4462 * insetfloat.C: fix bug with float settings
4463 (document default != float default).
4465 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4467 * insetwrap.C (addToToc): New method.
4468 (InsetWrap): Set layout to caption.
4470 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4474 2002-09-16 John Levon <levon@movementarian.org>
4476 * insettabular.h: hasSelection() needs to be public
4478 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4480 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4482 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4484 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4486 2002-09-11 André Pönitz <poenitz@gmx.net>
4488 * insettabular.C: implement LFUN_WORDSEL
4490 2002-09-10 John Levon <levon@movementarian.org>
4492 * insetinclude.h: remove unused param
4494 2002-09-09 John Levon <levon@movementarian.org>
4497 * insetinclude.C: remove noload, default to input
4499 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4501 * insetgraphics.C: disfuscated use of ']' in built output string.
4503 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4507 2002-08-29 Juergen Vigna <jug@sad.it>
4509 * insettabular.C (lfunMousePress): Pay attention where you set
4510 the x/y values as they depend on which inset in the tabular is
4511 actually locked. So you surely have to reset them if you (un)lock
4514 2002-08-29 André Pönitz <poenitz@gmx.net>
4516 * insetfootlike.h: rename include guard to ALL CAPS
4518 * insettext.C: swap object and first parameter for checkInsetHit calls
4519 as this functions has moved from BufferView to LyXText
4522 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4524 * insetgraphicsParams.C: remove local displayTranslator and use
4525 the one from graphics/GraphicsTypes.h.
4527 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4529 * insetfloat.C (wide): add BufferParams parameter
4531 * insetfloatlist.C (read):
4534 * insetfloat.C (latex):
4536 * insetcaption.C (draw): use LyXTextClass::floats()
4538 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4540 * insetoptarg.h: add std:: qualifier.
4542 2002-08-26 Juergen Vigna <jug@sad.it>
4544 * insettext.C (localDispatch): ditto.
4546 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4548 2002-08-25 John Levon <levon@movementarian.org>
4550 * inseturl.C: elide long URLs (bug 404)
4552 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4554 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4555 remove "Format Version <version_no.>" string from inset header
4558 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4560 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4561 a member of "grfx::Params" anymore.
4563 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4565 2002-08-24 John Levon <levon@movementarian.org>
4568 * insetoptarg.C: ws, pedantry ...
4570 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4572 * insettext.C (collapseParagraphs): pasteParagraph now in global
4574 (appendParagraphs): ditto
4576 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4578 * insetcite.C (latex): Remove spaces only after commmas.
4580 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * insettext.C: remove NO_COMPABILITY stuff
4584 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * insettext.C (edit): use ParagraphList iterators
4588 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4589 (bibitemWidest): ditto
4591 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * insettext.C: include <boost/bind.hpp>
4594 add using std::for_each
4595 (saveLyXTextState): use ParagraphsList::iterator
4596 (init): use for_each on paragraphlist iterators
4597 (InsetText): remove superflous setting cached_bview to 0
4598 (latex): reformat a bit
4599 (ascii): use paragraphlist iterators
4600 (validate): use for_each + boost bind
4601 (getLabelList): use paragraphlist iterators
4602 (deleteLyXText): use for_each + boost::bind
4603 (resizeLyXText): ditto
4604 (reinitLyXText): ditto
4605 (removeNewlines): use paragraphlist iterators
4606 (getParFromID): ditto
4607 (paragraph): use for_each + boost::bind
4608 (getInsetFromID): use paragraphlist iterators
4609 (getLabelList): typo fix
4611 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * insettext.C (read): assign tmp to paragraphs after return from
4614 call to parseSingleLyXformat2Token
4617 2002-08-13 Angus Leeming <leeming@lyx.org>
4635 * inseturl.C: changes due to the changed LyXView interface that
4636 now returns references to member variables not pointers.
4638 2002-08-13 Angus Leeming <leeming@lyx.org>
4641 * insetcollapsable.h:
4644 * insettext.h: forward-declare WordLangTuple
4645 (selectNextWordToSpellcheck) constify return type.
4648 * insetcollapsable.C:
4651 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4653 2002-08-12 Angus Leeming <leeming@lyx.org>
4655 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4658 2002-08-12 Juergen Vigna <jug@sad.it>
4660 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4663 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4666 (bibitemWidest): ditto
4667 * insettext.[Ch]: ditto
4669 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4673 2002-08-09 Angus Leeming <leeming@lyx.org>
4675 * insetinclude.C (latexString): remove fudge now that I've found out
4676 how to enable LaTeX to find the file using input@path.
4678 2002-08-09 John Levon <levon@movementarian.org>
4681 * insettext.C: remove unused xpos
4683 2002-08-07 Juergen Vigna <jug@lyx.org>
4685 * insettabular.C (localDispatch): make delete not put the stuff
4686 in the clipboard only do this on a cut operation.
4688 * insettext.C (localDispatch): make delete and backspace not put
4689 selected stuff to the clipboard.
4691 2002-08-07 André Pönitz <poenitz@gmx.net>
4694 * insetcollapsable.[Ch]:
4698 * insettabular.[Ch]:
4699 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4701 2002-08-06 John Levon <levon@movementarian.org>
4705 * insetcollapsable.h:
4706 * insetcollapsable.C:
4712 * insettext.C: use WordLangTuple for spellcheck
4714 2002-08-06 Angus Leeming <leeming@lyx.org>
4716 * insetinclude.C: add a monitor to the previewed image, so that the
4717 image is refreshed if the \input-ed file changes.
4719 2002-08-04 John Levon <levon@movementarian.org>
4722 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4724 2002-08-02 Angus Leeming <leeming@lyx.org>
4726 * insetcommandparams.[Ch] (preview): new methods returning and setting
4727 a new bool preview_ flag.
4728 (read): read this flag.
4729 (operator==): add flag to check.
4731 * insetinclude.C (write): output new preview() flag.
4732 (previewWanted): use this flag.
4734 2002-08-02 Angus Leeming <leeming@lyx.org>
4736 * insetcollapsable.[Ch] (addPreview):
4737 * insettabular.[Ch] (addPreview):
4738 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4739 for insets in insets.
4741 2002-08-02 Angus Leeming <leeming@lyx.org>
4743 * insetcite.C: fix typo.
4745 * insetgraphics.C: kill current_view and instead cache the BufferView
4748 * insetinclude.C: kill current_view and pass the BufferView to the
4749 PreviewedInset so that it can cache it.
4751 2002-08-01 Angus Leeming <leeming@lyx.org>
4753 * inset.h (generatePreview): renamed as addPreview.
4754 (generatePreview): new method. Allows code to be moved out of
4755 math_nestinset.C and into the new PreviewedInset class.
4757 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4758 add previews to the inset when \input-ing LaTeX.
4760 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * several files: strip,frontStrip -> trim,ltrim,rtrim
4764 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * insetbib.C (latex): modify because of strip changes
4768 * insetnote.C (InsetNote): ditto
4770 2002-07-26 Juergen Vigna <jug@sad.it>
4772 * insettabular.C (searchForward): check for lastcell if we
4773 had a locking inset.
4775 2002-07-25 Juergen Vigna <jug@sad.it>
4777 * insettabular.C (insetMotionNotify): Don't update the screen
4778 if we didn't do nothing.
4779 (searchForward): last cell was not checked.
4781 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4783 * insetfloat.C (read, write): Allow default placement
4784 (floatPlacement_ is empty).
4786 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4788 * insetminipage.h (noFontChange):
4789 * insettabular.h (noFontChange):
4790 * insetfootlike.h (noFontChange):
4791 * insetfloat.h (noFontChange): return true
4793 * inset.h (noFontChange): new method, defaulting to false
4795 2002-07-22 Herbert Voss <voss@lyx.org>
4797 * insetgraphicsParams.[Ch]: support size_type for old docs
4799 2002-07-22 Herbert Voss <voss@lyx.org>
4802 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4805 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4807 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4809 * insetlatexaccent.h: do not include "lyxlex.h"
4811 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4814 * insetlatexaccent.C:
4818 * insetbib.C: #include "lyxlex.h"
4824 * insettext.C: use BufferParams::getLyXTextClass
4827 * insetfloat.C (addToToc): new method. Add to toclist the entries
4828 corresponding to Caption layouts
4829 (InsetFloat): when creating a new float, set the layout to "Caption"
4831 2002-07-21 Herbert Voss <voss@lyx.org>
4833 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4834 image relevant part into graphics/GraphicsImgae.C
4836 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * insettoc.C (ascii):
4839 * insetfloatlist.C (ascii): change to use the new Toc functions
4840 instead of stuff that was in Buffer
4842 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4844 * insettext.C (localDispatch): BufferView::Dispatch has been
4845 renamed to BufferView::dispatch
4847 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4849 * insetgraphicsParams.C (as_grfxParams): use the new
4850 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4851 1.2.0 patch, and I do not really know how to adapt it to the new
4852 grfx::Cache world. Angus, please could you have a look?
4854 2002-05-01 Herbert Voss <voss@lyx.org>
4856 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4858 2002-07-18 Angus Leeming <leeming@lyx.org>
4860 * insetgraphics.C: clean-up comments (from Herbert).
4861 add a new checksum variable to the cache. Use it in PrepareFile.
4862 (draw): start monitoring the file for a change.
4863 (prepareFile): re-arrange a little to avoid unnecessary steps.
4865 2002-07-17 Angus Leeming <leeming@lyx.org>
4867 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4868 a method rather than to the signal directly.
4870 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4872 * insettext.C: use view_state_changed, switchKeyMap
4874 2002-07-17 Herbert Voss <voss@perce.de>
4876 * insetgraphics.C (prepareFile): keep the extension when
4877 exporting to nice file
4879 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * insetcite.C (getNatbibLabel):
4882 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4884 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4886 * insetgraphics.C: use ->isDrawable()
4888 2002-07-12 Angus Leeming <leeming@lyx.org>
4890 * insetgraphics.C: use the new smart loading capabilities of the image
4893 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4895 * insettabular.C (edit): Move into correct cell when entering a
4898 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4901 2002-07-05 Angus Leeming <leeming@lyx.org>
4903 * inset.h (generatePreview): new virtual method.
4905 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4907 * insetcommandparams.[Ch] (operator=): move out of class
4908 (operator!): move out of class
4910 2002-07-04 André Pönitz <poenitz@gmx.net>
4912 * insetcommandparams.[Ch]: new files
4914 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4916 2002-06-15 Herbert Voss <voss@perce.de>
4918 * insetgraphics.C (prepareFile): bugfix; return always
4919 files without extension
4921 2002-06-28 Angus Leeming <leeming@lyx.org>
4923 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4924 rename asGParams -> as_grfxParams.
4926 * insetgraphics.C: reflect above change.
4928 2002-06-26 Angus Leeming <leeming@lyx.org>
4930 * insetgraphics.h: use boost::scoped_ptr in preference to
4933 2002-06-26 Angus Leeming <leeming@lyx.org>
4935 * insetgraphics.C: moved the image loading stuff into a new class
4936 grfx::Loader. Simplifies this file enormously.
4938 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4940 * insetgraphicsParams.C: changes aassociated with moving
4941 grfx::DisplayType out of grfx::GParams.
4943 2002-06-26 André Pönitz <poenitz@gmx.net>
4945 * insetgraphics.C: use os::external_path where necesaary according to a
4946 patch from Claus Hentschel)
4948 2002-06-25 Angus Leeming <leeming@lyx.org>
4950 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4951 generating a pixmap once the graphics file is loaded into memory.
4952 The current_view ugliness that was in grfx::ModifiedImage has been
4953 moved here now that grfx::ModifiedImage is no more.
4955 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4957 * insettext.C: layout as layout
4959 2002-05-28 André Pönitz <poenitz@gmx.net>
4961 * insetfloatlist.h: remove source of compiler warning
4963 * insetref.C: tiny whitespace
4965 2002-06-15 Herbert Voss <voss@perce.de>
4967 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4968 and take always convert when no userdefined converter was
4970 (latex) small changes in the lyxerr output
4972 2002-06-15 LyX Development team <lyx@rilke>
4974 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4975 mixed content. Small white spaces clean.
4977 2002-06-14 Angus Leeming <leeming@lyx.org>
4979 * inseetexternal.C: remove the using std::difftime declaration.
4981 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4983 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4985 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4987 * insetquotes.C (draw): fix drawing of double quotes
4989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4991 * insettabular.C: s/scrollCB/scrollDocView/
4993 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4995 * insettext.C: change of topCursorVisible()
4998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5001 * insettext.C: rename/change of LyXScreen
5003 2002-06-07 Angus Leeming <leeming@lyx.org>
5005 Fixes needed to compile with Compaq cxx 6.5.
5007 * insetexternal.C: all c-library variables have been moved into
5008 namespace std. Wrap using std::xyz declarations inside a #ifndef
5009 CXX_GLOBAL_CSTD block.
5011 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * insetinclude.C (uniqueID):
5014 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5015 conflicted with some AIX headers.
5017 2002-05-31 Juergen Vigna <jug@sad.it>
5019 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5023 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5025 * insetexternal.C (clone): fix () bug when using new
5026 (updateExternal): don't only look for difftime in global scope
5028 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5030 * insettabular.C: add const
5032 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5034 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5035 file name, in case there are weird characters like ',' in there.
5038 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5040 * switch from SigC signals to boost::signals.
5042 2002-05-28 André Pönitz <poenitz@gmx.net>
5044 * insets/insetgraphicsParams.[Ch]:
5045 put in inset related stuff from src/graphic
5047 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5055 * insetcollapsable.C:
5056 * insetcollapsable.h:
5084 * inseturl.h: use mouse_state. Kill insetKeyPress
5086 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5091 * insetcollapsable.C:
5094 * insetlatexaccent.C:
5096 * insetspecialchar.C:
5098 * insettext.C: name change for font metrics
5100 2002-05-24 Juergen Vigna <jug@sad.it>
5102 * insetgraphics.h: include inset.h first (for LString.h)
5104 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5106 * insettext.C: screen moved
5108 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5126 * inseturl.C: LyXView moved into frontends/
5128 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5133 * insetcollapsable.C:
5137 * insetgraphicsParams.C:
5138 * insetlatexaccent.C:
5140 * insetspecialchar.C:
5142 * insettext.C: move Painter to frontends/
5144 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5146 * insettabular.h: use more specific smart_ptr header.
5147 * insettext.h: ditto
5149 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5152 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5154 * insettext.C: clear selection on paste (bug 393)
5156 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5158 * insettext.C (latex): Honor the moving_arg argument.
5160 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5162 * insetfoot.C (latex): if a footnote is in a title layout, then it
5163 is a \thanks. And then, its contents is a moving argument.
5165 2002-05-14 Juergen Vigna <jug@sad.it>
5167 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5170 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5172 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5173 when using options "Full author list" or "Upper case".
5175 2002-05-14 Herbert Voss <voss@perce.de>
5177 * insetgraphics.C (prepareFile): allow files with same name
5179 (readFigInset): set the flags from old figinset in the right
5181 (findTargetFormat): more comments
5183 2002-05-14 Juergen Vigna <jug@sad.it>
5185 * insettext.C (edit): tell checkAndActivateInset() that we don't
5186 have a button press.
5187 (checkAndActivateInset): if button < 0 we don't have a button press
5188 on the inset and os we won't call edit on it if it's not a Highly
5189 editable inset (then we have to enter it).
5191 2002-05-13 Juergen Vigna <jug@sad.it>
5193 * insetcollapsable.C (insetButtonRelease): returned wrong return
5196 2002-05-09 Juergen Vigna <jug@sad.it>
5198 * insetcollapsable.C (edit): first_after_edit should only be
5199 set to true if we enter this inset and it was collapsed so we
5200 open it up. This is needed to reclose it after a search/replace
5201 or spellcheck function opened it and was negative.
5203 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5205 * insetfloat.C (latex): Return correct value.
5207 2002-05-04 Herbert Voss <voss@perce.de>
5209 * InsetgraphicsParams.C (read): fix bug with WH
5211 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5213 * insetfloat.C (latex): More sensible latex output
5214 (fix the problem with endfloat).
5216 2002-05-02 José Matos <jamatos@fep.up.pt>
5218 * insetgraphics.C (validate): acess params as everyone else.
5220 2002-05-03 Juergen Vigna <jug@sad.it>
5222 * insettabular.C (fitInsetCursor): recalculate the cursor position
5225 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5227 * InsetgraphicsParams.[Ch]: whitespace.
5229 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5231 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5232 float type do not exist.
5234 2002-04-28 Herbert Voss <voss@perce.de>
5236 * insetgraphics.C (latex): fix bug with missing file-extension.
5237 LaTeX still allows a missing "eps" or "ps".
5239 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5241 * insetfloat.C (c-tor, wide): translate the name of the float.
5243 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5245 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5246 when using natbib and make it work efficiently. Must emphasise that the
5247 real work is Herbert's.
5249 2002-04-23 Herbert Voss <voss@perce.de>
5251 * insetgraphic.C (prepareFile): fix bug with overwriting and
5252 deleting an existing *.eps-file in the doc-dir
5254 2002-04-23 Juergen Vigna <jug@sad.it>
5256 * insettabular.C (drawCellSelection): fix off by 1 error.
5258 2002-04-22 Juergen Vigna <jug@sad.it>
5260 * insettabular.C (setFont): rewoke full selection if it was asked,
5261 after we changed all we had to change.
5263 * insettext.C (insetUnlock): code was uninitialized in some situations.
5265 2002-04-19 Herbert Voss <voss@perce.de>
5267 * insetgraphic.C (prepareFile): return filename without
5268 extension if we only export without compiling
5270 2002-04-19 Juergen Vigna <jug@sad.it>
5272 * insettext.C (draw): call a fullRebreak on the row where we had a
5273 change and reset the cursor and selection-cursors.
5275 * insettabular.C (insetUnlock):
5276 (insetButtonPress): call an update before setting the_locking_inset = 0
5277 as otherwise we don't repaint!
5278 (update): reset the cursor position when we changed dimensions as
5279 otherwise our cursor may be on the wrong spot.
5281 2002-04-18 Juergen Vigna <jug@sad.it>
5283 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5284 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5285 redraw otherwise we won't redraw.
5287 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5288 not really right before, but I only discovered this with the last
5289 changes to Page up/down.
5291 2002-04-17 Juergen Vigna <jug@sad.it>
5293 * insettext.C (checkAndActivateInset): simplified as we now have the
5294 edit(bv, bool) call.
5296 * insettext.h: changed behind variables to front variables to be
5297 equal to the one in the edit call (as it is for that they are used).
5299 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5301 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5302 not output anything at all!
5304 2002-04-16 Juergen Vigna <jug@sad.it>
5306 * insettabular.C (insetButtonPress):
5307 (insetUnlock): call a redraw on unlocking the cell inset.
5309 * insettext.C (insetButtonPress): same as below.
5310 (lockInset): new function to set initial values when inset should
5312 (insetButtonPress): use above function.
5313 (insetUnlock): don't force a repaint only set the updateStatus. The
5314 outside world should repaint if it thinks it should be done!
5316 * insettabular.C (insetButtonPress): init values if not set as locked
5317 as we are locked if someone presses on us and don't call the edit()
5318 call of the InsetText to lock it do it as BufferView does it!
5320 * inset.h (insetInInsetY): make func const and return an int.
5323 * insetcollapsable.C: adapt the above changed function.
5325 2002-04-15 Juergen Vigna <jug@sad.it>
5327 * insettext.C (getCursorPos): return relative position as to be able
5328 to give them directly to the edit() call.
5329 (edit): we have to set also x_fix as it is not set inside the
5330 setCursorFromCoordinates call!
5331 (insetMotionNotify): ditto.
5333 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5335 * insetbib.C (getKeys): strip leading '\t's from the line too.
5336 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5338 2002-04-12 Juergen Vigna <jug@sad.it>
5340 * insettext.h: added cix() helper function and use it where appropriate
5342 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5344 * insetgraphics.C (prepareFile): fix bug when graphics is a
5347 2002-04-12 Juergen Vigna <jug@sad.it>
5349 * insettext.C (insertInset): remove unneeded code!
5350 (updateLocal): fitCursor() fixes.
5351 (collapseParagraphs): fix a possible problem when having a selection
5352 and collapsing the paragraphs.
5354 2002-04-08 Herbert Voss <voss@perce.de>
5356 * insetgraphic.C (write): write the rotating angle as
5357 a float as is. test only for != 0.0
5359 2002-04-11 Juergen Vigna <jug@sad.it>
5361 * insettext.C: new function ciy() and use it for setting inset_y.
5363 * insetert.C (draw): fix the x return for collapsed version.
5365 2002-04-07 Herbert Voss <voss@perce.de>
5367 * insetgraphic.C (readFigInset): fix bug with subcaption and
5370 2002-04-08 Herbert Voss <voss@lyx.org>
5372 * insetgraphicsparam.C: forgot special option and delete old
5375 2002-04-05 Juergen Vigna <jug@sad.it>
5377 * insettext.C (localDispatch): make a CURSOR update if we inserted
5380 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5382 * insetfloatlist.C (getScreenLabel):
5383 (latex): use Floating::listName
5384 (validate): new method
5386 2002-04-03 José Matos <jamatos@fep.up.pt>
5388 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5390 * insetfoot.[Ch] (docbook): added forgotten method.
5392 2002-04-03 Juergen Vigna <jug@sad.it>
5394 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5395 way as in Bufferview_pimpl.
5397 2002-04-03 Allan Rae <rae@lyx.org>
5399 * insetgraphics.C (latex): one % too many makes living on the bleeding
5400 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5402 2002-03-28 Herbert Voss <voss@lyx.org>
5404 * insetgraphic.C (latex): simplify the code for the latex
5405 output when the file doesn't exist
5407 2002-03-29 Juergen Vigna <jug@sad.it>
5409 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5412 * insettabular.C (edit): call fitCursor().
5414 * insettext.C (insetButtonPress): change behaviour of no_selection
5415 to the one in the BufferView selection_possible and fix the spurious
5416 selection bug with it.
5417 (localDispatch): revoke selection on BREAK... functions.
5419 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5421 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5423 2002-03-28 Juergen Vigna <jug@sad.it>
5425 * insettabular.C (insetAllowed): return true as default value otherwise
5426 we're not able to insert insets inside paragraphs of an not locked
5429 2002-03-27 Herbert Voss <voss@lyx.org>
5431 * insetgraphicsparam.C: change c%, p% to col%, page%
5433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5435 * insetspecialchar.C (isLineSeparator): disable the nice code to
5436 allow linebreaks after hyphenation and menu separators.
5438 2002-03-26 Herbert Voss <voss@lyx.org>
5440 * insetgraphics.C (figinsetRead): set the right lyxview
5442 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5444 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5445 $\backslash$ and pass a "string const &" to the function.
5446 (prepareFile, latex): use Path rather than MakeAbsPath.
5448 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5450 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5451 proper fix to the graphics cache.
5452 (latex): "really" nice output if the file is not found ;-)
5454 2002-03-26 Juergen Vigna <jug@sad.it>
5456 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5457 (collapseParagraphs): fixed inserting of separator ' '
5459 * insettabular.C (insertAsciiString): only check for buffer lenght
5460 not if we have \t or \n inside the buffer as if we don't have we only
5461 have 1 cell and that's it!
5463 * insetert.C (close): don't collapse if inlined.
5465 2002-03-25 Herbert Voss <voss@lyx.org>
5467 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5468 graphics file does not exist.
5470 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5472 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5473 path when preparing export.
5475 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5476 no longer MakeRelPath.
5478 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5480 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5481 Used to determine the absolute path to the graphics file in the
5482 graphics cache and only in the graphics cache.
5483 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5484 make graphics file name absolute if it is stored as a relative path.
5486 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5487 make graphics file name absolute if it is stored as a relative path.
5489 * insettext.C (edit): emit an updateParagraph signal on entering a text
5490 inset. Needs to be emitted when leaving the inset also.
5492 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5494 * all files: ws cleanup
5496 * Makefile.am: remove ld -r stuff
5498 2002-03-21 Juergen Vigna <jug@sad.it>
5500 * insettext.C (appendParagraphs): new function added to append
5501 the paragraphs to this insets paragraphs.
5503 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5505 * Makefile.am: special rules if partial linking
5507 2002-03-19 Juergen Vigna <jug@sad.it>
5509 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5511 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5513 * insetgraphics.C: Clean up Baruch's comments a little.
5514 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5516 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5519 * insettheorem.C: wrap warnings
5521 * insetgraphics.C: improve messages, move cached_status_
5522 setting to safer place
5524 2002-03-18 Juergen Vigna <jug@sad.it>
5526 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5528 (localDispatch): ditto
5530 * insettext.C (edit): removed unneeded showCursor calls.
5531 (localDispatch): ditto.
5533 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5535 * insetgraphics.h: remove display() method.
5537 2002-03-11 Juergen Vigna <jug@sad.it>
5539 * insetgraphics.C (draw): hack to fix the redrawing bug.
5540 (draw): seems this fixes #268 (force redraw of row if we changed).
5542 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5543 this inset text (don't know why I missed this earlier).
5545 2002-03-08 Juergen Vigna <jug@sad.it>
5547 * insettabular.C (updateLocal): do a FULL update if we're not locked
5548 and only a CELL update is asked.
5550 * insettext.C (updateInsetInInset): update insets inside inset also
5551 if it isn't inside the_locking_inset.
5553 * insettabular.C (updateInsetInInset): ditto.
5555 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5557 * insetexternal.C (doSubstitution): check whether we are using a
5558 temp dir for defining $$FPath
5560 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5563 * insettext.C: remove #include "WorkArea.h".
5565 2002-03-06 Juergen Vigna <jug@sad.it>
5567 * insettext.C (draw): fixed frame redrawing.
5568 (clear): forgot to set the inset_owner of the paragraph.
5570 * insetert.C (status): pay attention the bv can be 0 here!
5571 (getMaxWidth): add the default leftMargin
5573 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5575 * insetert.C (getMaxWidth): make w unsigned int.
5577 2002-03-05 Juergen Vigna <jug@sad.it>
5579 * insetert.C (status): change behaviour of Inlined.
5580 (getMaxWidth): added for new inlined behaviour.
5582 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5584 * insetnote.h (linuxdoc, docbook): add empty methods.
5585 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5586 before being initialized.
5588 2002-03-05 Juergen Vigna <jug@sad.it>
5590 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5591 only that one in the inset. Should be enough.
5592 (updateLocal): set the selection cursor always if we don't have a
5593 selection to be sure it's set!
5595 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5597 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5599 * insettext.C (clear): a gross hack to set layout on a newly
5602 2002-03-04 Juergen Vigna <jug@sad.it>
5604 * insettabular.C (localDispatch): inserted handling of
5605 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5606 (insertAsciiString): new helper function.
5608 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5610 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5613 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5615 * insettext.C (InsetText): initalize newly created par with
5616 default layout. add bufferparams parameter
5619 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5620 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5621 * insetert.[Ch] (InsetERT): ditto
5622 * insetfloat.[Ch] (InsetFloat): ditto
5623 * insetfoot.[Ch] (InsetFoot): ditto
5624 * insetfootlike.[Ch] (InsetFootLike): ditto
5625 * insetmarginal.[Ch] (InsetMarginal): ditto
5626 * insetminipage.[Ch] (InsetMinipage): ditto
5627 * insetnote.[Ch] (InsetNote): ditto
5628 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5630 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5632 * insettext.C: layout as string
5634 * insetinclude.C: layout as string
5636 * insetert.C: layout as string
5638 * insetbib.C: layout as string
5640 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5643 * insettabular.C: remove #include "lyx_gui_misc.h".
5645 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5650 * inset.h: remove figinset, yahoo !
5652 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5654 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5655 copy c-tor and initialise member variables in the correct order.
5657 2002-02-28 Juergen Vigna <jug@sad.it>
5659 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5661 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * inset.h: ... and add a better one here.
5665 * insetcommand.C (insetButtonRelease): remove that one which was a
5668 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5670 * insetcommand.C (insetButtonRelease): ... and move it here.
5672 * inseturl.h: remove insetButtonRelease from there...
5674 2002-02-26 Juergen Vigna <jug@sad.it>
5676 * inseturl.h: Added a insetButtonRelease call returning true as
5679 * insetlabel.C (edit): Fixed wrong update handling after change I
5680 leave in the wrong code for the one who wrote it to remove and have
5681 a look what he did wrong.
5683 * insettabular.C (localDispatch): force a SELECTION update if we
5684 had a selection and we passed the event down to the inset (fix #213)
5685 (localDispatch): handle font changing stuff when we have a cell
5686 selection so that the selection is not rewoked. I don't really like
5687 this fix, but it's the only way I see to do it right now.
5689 2002-02-22 Juergen Vigna <jug@sad.it>
5691 * insettext.C (insetUnlock): set the cursor to the second paragraph
5692 if available and if the first one is empty (fix #191).
5694 2002-02-20 Juergen Vigna <jug@sad.it>
5696 * insettext.C (getDrawFont): implemented this function to call the
5697 one of the owner if present as the owner normally knows what to do
5700 * insetert.C: implement getDrawFont() function and comment out all
5701 the crap for setting a special latex font inside this inset.
5702 (InsetERT): added a Lanugage parameter to this constructor.
5704 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5705 change the font for being drawn on screen (used only in InsetERT for
5708 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5709 and also above (was missing).
5710 (updateLocal): don't remove the cell selection if we have one this
5711 should be done where we really want to remove it.
5713 2002-02-20 José Matos <jamatos@fep.up.pt>
5715 * insetinclude.h: include_label made string const.
5717 * insetinclude.C (InsetInclude): moved include_label initialization.
5720 (validate): fix support for temporary directory, for docbook and
5723 * insetgraphics.h : new private member, graphic_label, that holds
5724 the entity name that defines the graphics location (SGML).
5726 * insetgraphics.C (unique_id): new function to give a unique label
5729 (validate): the file locatation is given by an entity reference.
5731 2002-02-18 Herbert Voss <voss@lyx.org>
5733 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5735 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5737 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5738 as support/systemcall.[Ch] and of class Systemcalls as class
5741 2002-02-18 José Matos <jamatos@fep.up.pt>
5743 * insetinclude.C (validate): some code only applies to latex buffers,
5744 it was made conditional.
5746 2002-02-12 Herbert Voss <voss@lyx.org>
5748 * insetgraphics.C: (prepareFile) do not check at this time
5749 if the file is present.
5751 2002-02-12 Herbert Voss <voss@lyx.org>
5753 * insetgraphics.C: latex(), return the correct newlines
5755 2002-02-13 José Matos <jamatos@fep.up.pt>
5757 * inseturl.C (docbook): escape & in url.
5759 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5762 after HYPHENATION and MENU_SEPARATOR
5764 * inset.h (isLineSeparator): new method, returns false by default.
5766 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5768 * insetert.C (status): do not update the text inset, but the ERT
5771 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5773 * insetnote.C: use notebg for background
5775 2002-02-08 Herbert Voss <voss@lyx.org>
5778 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5779 prevent LyX from unzipping when this should be handled
5780 by latex vis the graphic.cfg.
5783 2002-02-08 Herbert Voss <voss@lyx.org>
5785 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5786 exists, than return filename with extension
5788 2002-02-06 Herbert Voss <voss@lyx.org>
5790 * insetgraphic.C: prepareFile(): don't convert the file, when
5791 it's not viewed in LyX. Saves a lot of time when opening a
5794 2002-02-05 Herbert Voss <voss@lyx.org>
5797 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5798 and adding a rotate bool similiar to subcaption
5800 2002-02-04 Herbert Voss <voss@lyx.org>
5803 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5804 similiar view to the LaTeX one. Get zipped files work.
5806 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5808 * insetgraphicsParams.C (init): set display to DEFAULT.
5809 No longer #include "lyxrc.h".
5811 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5813 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5814 for now (so that the code compiles).
5816 2002-02-02 Herbert Voss <voss@lyx.org>
5818 * insetgraphic.C: delete inVariant() and some minor changes
5819 * insetgraphicsParams.[C]:
5821 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5823 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5824 interogate lyxrc.display_graphics before diaplaying the graphic.
5826 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5827 InsetGraphicsParams::DisplayType.
5829 2002-01-31 Herbert Voss <voss@lyx.org>
5831 * insetgraphic.C: (readfigInset) set display to pref-default
5833 2002-01-30 Herbert Voss <voss@lyx.org>
5835 * insetgraphic.C: get the filetyp from it's contents
5836 * insetgraphicparams.C: add token scale and lyxrc.display when
5837 creating a new inset
5839 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5841 * figinset.C: added using std::ios directive.
5843 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5845 * figinset.C (runqueue): open translation file in binary mode (for
5848 2002-01-27 Herbert Voss <voss@lyx.org>
5850 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5851 all options and to be sure that the old figinsets are correct
5853 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5854 structure and to support all lengths as LyXLength. The Parameter
5855 structure changed again, but reading of "old" 1.2 graphic insets
5858 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5860 * insetert.h (forceDefaultParagraphs): Added
5862 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5864 * insettabular.C (getMaxWidth):
5865 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5867 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5869 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5870 of LyXLength::inPixels
5872 * inset.C (latexTextWidth):
5873 * insetminipage.C (latexTextWidth): new method, which implements
5874 the equivalent of the LaTeX macro \textwidth
5876 * insetminipage.C (getMaxWidth): use latexTextWidth
5878 2002-01-18 Juergen Vigna <jug@sad.it>
5880 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5882 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5886 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5889 2002-01-17 Juergen Vigna <jug@sad.it>
5891 * insettabular.C (lockInsetInInset): same change as in insettext.
5893 * insettext.C (draw): width() function was called without setting
5894 the right top_x which could lead to wrong insetWidth setting!
5895 (lockInsetInInset): call edit instead of calling lockInset if we
5896 have to lock an inset inside!
5897 (edit): we have to also tell the inset that we have to redraw the
5898 frame on an edit call if this inset draws a frame only if locked.
5900 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5902 * insetbib.C (getFiles): uncomment Path variable.
5904 2002-01-16 Juergen Vigna <jug@sad.it>
5906 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5909 2002-01-16 Allan Rae <rae@lyx.org>
5911 * insetinclude.C (docbook): someone forgot a ";"
5913 2002-01-16 José Matos <jamatos@fep.up.pt>
5915 * figinset.C (docbook): removed a old place holder "@".
5916 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5917 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5918 ascii text version, clearly guarded inside a CDATA section.
5919 (docbook): in docbook 4, inlinegraphics is empty.
5920 * insettabular.C (linuxdoc): export the ascii version of the table
5921 inside a CDATA section.
5923 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5925 * insetparent.C (InsetParent):
5926 * insetgraphicsParams.C (Write):
5928 * insetgraphics.C (prepareFile):
5931 * insetexternal.C (executeCommand):
5932 (doSubstitution): use Buffer::filePath
5934 * insetbib.C (getFiles): add a #warning for Angus
5936 * insetgraphics.C: Add a remark about how filenames should be
5937 considered to be relative to buffer (but absolute is still allowed)
5938 (draw): do not try to get status if lyxrc.use_gui is false
5940 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5943 * insetcollapsable.[Ch]:
5944 * insettabular.[Ch] (searchForward, searchBackward): change the
5945 bool const & params to bool.
5947 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5948 to avoid the name clash with InsetCollapsable's methods of the same
5949 names but different functionality.
5951 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5953 * insettext.C (ascii): use lyx::count rather than countChar.
5955 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5957 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5959 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5961 * insetgraphics.C (updateInset): do not try to render image if
5962 lyxrc.use_gui is false (bug #104)
5964 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5965 if file does not exist
5967 * figinset.C (browseFile): add shortcuts to directory buttons
5969 * insettext.C (updateLocal): update menubar and toolbar here too.
5971 2002-01-13 Allan Rae <rae@lyx.org>
5973 * insettabular.C (InsetTabular): Both constructors now initialise
5974 all class variables.
5976 2002-01-11 Juergen Vigna <jug@sad.it>
5978 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5980 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5982 * insettabular.C (getStatus): add forgotten brace around multiline
5985 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5987 * insetfloat.C (validate): require "float" instead of "floats".
5989 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5991 * insettabular.C (getStatus): use FuncStatus
5993 2002-01-08 Juergen Vigna <jug@sad.it>
5995 * insettabular.C (insetButtonRelease): now this should work too
5998 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5999 if the width is a percentage.
6001 * inset.h: added isChar() function and implemented this for
6002 insetspecialchar insetquotes and insetlatexaccent.
6003 added forceDefaultParagraphs() and implemented it for insettabular.
6005 2002-01-07 Juergen Vigna <jug@sad.it>
6007 * insettext.C (getLyXText): Fixed this function. An insert into the
6008 map is only done if we REALLY have a new BufferView.
6010 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6012 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6014 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6016 * insetinclude.C: fix use of FileInfo
6018 2002-01-07 Juergen Vigna <jug@sad.it>
6020 * insettabular.C (draw): fixed clearing of cell around inset.
6022 2002-01-05 Juergen Vigna <jug@sad.it>
6024 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6025 variables are updated.
6027 * insettabular.C (resetPos): set always the inset_y as it may be
6028 needed in another function.
6029 (searchBackward): don't draw while searching.
6031 2002-01-04 Juergen Vigna <jug@sad.it>
6033 * insettext.C (lockInsetInInset): forgot to set a cursor.
6035 2002-01-02 Juergen Vigna <jug@sad.it>
6037 * insettext.C (insertInset): make the correct undo informations on
6038 inserting new insets.
6040 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6042 * insettabular.C: correct single-cell select vertically
6044 2001-12-27 Juergen Vigna <jug@sad.it>
6046 * insettabular.C (ascii): export as tab-separated-values if the
6047 function was not called from export (f.ex.: clipboard).
6049 * insetcollapsable.h: added default support for ascii, linuxdoc and
6050 docbook export (the insettext is exported by default!)
6052 * insettabular.C (copySelection): suff the clipboard with the tabular
6053 data in a tab separated format, seems more naturals then with all the
6056 2001-12-24 Juergen Vigna <jug@sad.it>
6058 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6059 to check for REAL mouseMotion.
6061 2001-12-20 Juergen Vigna <jug@sad.it>
6063 * inset.C (cursor): return the owners cursor if available instead of
6064 always only the bv->text->cursor.
6066 * insettabular.C (checkLongtableSpecial): works now.
6068 2001-12-19 Juergen Vigna <jug@sad.it>
6070 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6071 this has to be always row + 1 as 0 means not selected!
6072 (checkLongtableSpecial): added
6073 (tabularFeatures): better longtable options support
6075 * insettext.C (resizeLyXText): reinit the text always also on a
6078 2001-12-18 Juergen Vigna <jug@sad.it>
6080 * insettext.C (updateInsetInInset): look if we have to autocollapse
6081 paragraps and return if the update is requested for ourself.
6083 * insetert.C (status): update the insettext not myself as that is what
6086 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6087 function only return if the update was requested with myself.
6089 * insettext.C (insetButtonPress): fixed stupid bug.
6090 (various functions): pay attention that lt is cleared BEFORE calling
6091 updateLocal() and try to use it in the right manner (don't use it
6092 if it's not really neccessary!)
6093 (collapseParagraphs): insert a blank between collapsing paragraphs
6094 if neccessary (not already there!).
6096 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6098 * insettabular.C: move includes around a bit, add a couple of
6101 * insettext.[Ch]: move includes around a bit, other ws changes and
6104 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * insettext.C (insetButtonRelease): fix compile problem
6108 2001-12-17 Juergen Vigna <jug@sad.it>
6110 * insettext.C (insetButtonPress): set the selection cursor!
6111 (insetButtonPress): clear the selection (and set with that the
6112 selection.cursor) if we only hit an inset!
6114 * insetert.C (read): removed piece of compatibility code only needed
6117 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6120 * insetcollapsable.C (insetButtonRelease): changed so that it can
6121 open eventual existing popup dialogs on mousebutton==3.
6123 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6125 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6127 * inset.C (insetButtonRelease): return a bool for telling the outer
6128 world that we opened a dialog.
6130 2001-12-07 Juergen Vigna <jug@sad.it>
6132 * insettext.C (paragraph): remove the deleteing of paragraphs as
6133 it was a WRONG move!
6135 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6138 * insettabular.C: use new setSelection(). Allow
6139 selection of single cells.
6141 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6143 * insetquotes.C (latex): fix to use the local language setting at
6144 the point where the inset is inserted (different macros for
6145 different french packages)
6147 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6149 * inset.h: add par_owner_ member variable and parOwner
6152 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * insettabular.C (everywhere): adapt because widths are now real
6155 widths and not strings
6157 * insettext.C (draw): re-introduce the calls to width(), ascent()
6158 and descent() to initialize the caching variables.
6160 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6162 * insettext.C (draw):
6163 (drawFrame): use insetWidth instead of last_width
6165 * insettext.h: remove variable last_width (insetWidth is exactly
6166 the same) and last_height (computed but never used!)
6168 2001-12-10 Allan Rae <rae@lyx.org>
6170 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6174 * insettext.C (insetAllowed): add comment
6176 2001-12-05 Juergen Vigna <jug@sad.it>
6178 * insettext.C (insetAllowed): fixed for the case that we directly
6179 ask the insettext from its LyXText.
6180 (paragraph): fixed the crash when assigning the par->next() from
6181 the EmptyParagraphMechanism!
6183 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6187 * insettext.C: change "while(" to "while ("
6189 2001-12-04 Juergen Vigna <jug@sad.it>
6191 * insetert.C (edit): handle Inlined status.
6193 * insettext.C (insertInset): trying John's fix for the trailing cursor
6195 * insetert.C (insetButtonPress): added to handle inlined status
6196 (insetMotionNotify): ditto.
6198 * insettext.C (clearInset): changed Painter & in BufferView * param,
6199 to be able to call ascent,descent methods.
6201 2001-12-03 Juergen Vigna <jug@sad.it>
6203 * insettext.C (updateInsetInInset): use lt variable to forbid
6204 changes of LyXText in an update call.
6205 (updateInsetInInset): fixed updating of non locked insets!
6207 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6209 * insettabular.C: capture some more functions to prevent
6210 selection drawing problems. Bug #451274
6212 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6215 * insetgraphicsParams.C: fix inverted sense of float_equal
6217 2001-11-30 Juergen Vigna <jug@sad.it>
6219 * insettabular.C (InsetTabular): use the save_id flag to create also
6220 the tabular with the same id's.
6222 * insettext.C (setParagraphData): added a same_id function for undo
6223 to set the same paragraph id's as of the paragraph we are setting.
6225 2001-11-30 José Matos <jamatos@fep.up.pt>
6228 * insettoc.[Ch]: DocBook -> docbook.
6230 2001-11-29 André Pönitz <poenitz@gmx.net>
6233 * insettext.C: further reduction of header dependencies by using
6234 lyx::layout_type and lyx::textclass_type from support/types.h
6236 2001-11-29 Juergen Vigna <jug@sad.it>
6238 * insettext.C: inserted a reinitLyXText function everywhere I delete
6239 the paragraphs! This should fixe the crashes we had.
6240 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6241 (paragraph): set the InsetOwner() of the new paragraphs!
6243 2001-11-28 André Pönitz <poenitz@gmx.net>
6245 * insetnote.C: add pos initialization that I removed without
6248 2001-11-28 Juergen Vigna <jug@sad.it>
6250 * insettabular.C (resetPos): hack to not crash with infinite paints.
6252 * insettabular.h: insert missing function allowSpellcheck()!
6254 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6256 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6259 * insetfloatlist.C: derive from InsetCommand so gui can use it
6262 2001-11-26 André Pönitz <poenitz@gmx.net>
6266 * insetnote.C: reduce header dependencies, introduce type for
6269 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6271 * various: update for Alert.h
6273 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6275 * inset.h: fix comment
6277 * insettext.C: use par->isInset()
6279 2001-11-22 Allan Rae <rae@lyx.org>
6281 * insetcollapsable.h:
6282 * inset.h: Changes to checkInsertChar() behaviour.
6283 Now return value indicates whether chars can be inserted.
6285 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6287 * various: updated to use the new LaTeXFeatures
6289 2001-11-14 José Matos <jamatos@fep.up.pt>
6291 * insetspecialchar.C (linuxdoc):
6292 (docbook): don't give a name to a unused variable.
6294 * insettext.C (docbook): removed unused variable.
6296 2001-11-13 Herbert Voss <voss@perce.de>
6298 * insetgraphic.C: fix scale bug
6300 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6302 * inset.h (isSpace):
6303 (isLetter): new virtual methods.
6305 * insetspecialchar.C (isSpace):
6306 (isLetter): implement here.
6308 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6310 * inset.h: new inline helpers
6312 * insettext.C: use new helpers
6314 2001-11-07 José Matos <jamatos@fep.up.pt>
6316 * insettext.C (docbook): full support for paragraphs inside insettext.
6318 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6320 * insetindex.C: added header file for std::ostream.
6322 2001-11-03 José Matos <jamatos@fep.up.pt>
6324 * insetindex.C: added using std::ostream that I forgot yesterday.
6326 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6328 * insetindex.h (docbook):
6329 * insetindex.C (docbook): added support for docbook export.
6331 2001-11-02 José Matos <jamatos@fep.up.pt>
6333 * insetcaption.C(docbook): added support for docbook export.
6335 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6337 * insetexternal.C (updateExternal): Do not run update command if
6338 result file exists and is up to date.
6340 * ExternalTemplate.C (readFormat): Support the updateresult token.
6342 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6344 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6345 external_templates) to use the buffer->fileName() but only if
6346 previewing. Generating a TeX file should make FPath return
6349 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6352 * insetert.C: fix some problems
6354 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6356 * insetexternal.C (doSubstitution): Added $$FPath token
6357 to list of usable substitutions in external inset templates.
6359 2001-10-24 Juergen Vigna <jug@sad.it>
6361 * insettabular.C: use new ltType struct for setting longtable
6362 header and footers also new UNSET enums.
6364 2001-10-24 José Matos <jamatos@fep.up.pt>
6366 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6367 (docbook): If the table is not inside a float then wrap it inside
6368 <informaltable>...</informaltable>.
6370 2001-10-23 José Matos <jamatos@fep.up.pt>
6372 * insetref.C (docbook): removed / terminator to conform SGML.
6374 * insetspecialchar.C (linuxdoc):
6375 (docbook): Added support for special chars, more than ascii export.
6377 2001-10-22 Juergen Vigna <jug@sad.it>
6379 * insettext.C (checkInsertChar): added for REALLY checking the
6380 font of the inserted char in the right inset!
6382 2001-10-19 Juergen Vigna <jug@sad.it>
6384 * inset.h: added method allowSpellcheck() so that insets who do
6385 not have anything to spellcheck can tell and so they are over-jumped.
6386 Implemented for InsetText and co.
6388 2001-10-18 Juergen Vigna <jug@sad.it>
6390 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6392 2001-10-15 José Matos <jamatos@fep.up.pt>
6394 * insetert.C: allow export for docbook and linuxdoc
6396 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6398 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6400 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6402 * insetquotes.C (dispString): fix handling of latin9 quotes
6404 2001-10-03 Juergen Vigna <jug@sad.it>
6408 * insetcollapsable.C: change updateInset calls to not tell BV that
6409 we have changed status.
6411 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6413 * insettabular.C (deletable): make const
6415 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6417 * insetert.C (latex): Fix the returned value
6419 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6421 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6422 Returns string(), so nothing in an ERT inset is spellchecked.
6424 * insetgraphics.C (draw): print the filename if not displaying the
6426 (width): make sure that the width and draw methods are consistent.
6427 (updateInset): don't even load the image into cache if not displaying
6430 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6432 * various files (selectNextWord): renamed as
6433 selectNextWordToSpellcheck.
6435 * insetgraphics.C (draw): remove the previous change. Right place
6436 is in imageLoaderXPM.C.
6437 (draw): don't display the image if params.display == NONE.
6439 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6441 * figinset.C (runqueue):
6442 * insetgraphics.C (draw): set background colour of inset from
6443 background to the user-configurable graphicsbg.
6445 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6447 * insetquotes.C (InsetQuotes): when trying to decide the side of
6448 the quote, choose `left' only after a space or '('
6450 2001-09-04 José Matos <jamatos@fep.up.pt>
6455 * insetcollapsable.h
6473 * insetlatexaccent.C
6474 * insetlatexaccent.h
6479 * insetspecialchar.C
6480 * insetspecialchar.h
6484 * insettext.C (docbook): rename docBook method to docbook.
6486 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6488 * inset.h (getFirstParagraph): New virtual method.
6490 2001-08-20 Herbert Voss <voss@perce.de>
6491 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6492 in the the bibtex-database-gui for inserting a line
6495 If no style is given than there is no tex-output.
6497 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6499 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6503 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6505 * insetert.C (latex): Fix output for multiple paragraphs.
6506 (write): New code for writing paragraph data.
6507 (read): Set font after reading the inset.
6508 (localDispatch): Call set_latex_font() for more cases.
6510 * insetnote.h: Add empty validate method.
6513 * insetnote.C (InsetNote): Set language to the language of the
6516 2001-08-16 Juergen Vigna <jug@sad.it>
6518 * insettext.C: implemented the new FINISHED states.
6520 * insettabular.C: ditto
6522 * inset.h: added more FINISHED states for cursor right,up,down
6524 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6526 * insetfloatlist.C: use "FloatName List"
6528 2001-08-14 Juergen Vigna <jug@sad.it>
6530 * insetert.C (edit): forgot to set status_ in edit calls!
6532 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6534 * insettext.C: Compilation fix
6536 2001-08-13 Juergen Vigna <jug@sad.it>
6538 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6540 * insetcollapsable.C (edit): don't recollapse an already open inset.
6542 * insettext.C: fixed problem when reinitializing LyXText by not doing
6543 it while lt is in use and post this to the next possible time in
6545 (searchForward): fixed not unlocking of inset if nothing found.
6546 (edit): set cursor behind right (was set -1 pos).
6548 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6550 * insettabular.C (tabularFeatures): fixed fix where deleting the
6551 last row didn't get the right actcell!
6553 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6555 * insettext.C (localDispatch): Change language only when the inset
6558 2001-08-10 Juergen Vigna <jug@sad.it>
6560 * insettabular.C (selectNextWordInt): use the front using edit call.
6562 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6563 the parameter overwrite class variable inset.
6565 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6567 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6568 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6570 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6571 update only for fixed with cells.
6572 (resetPos): try to fix the lockup on spellchecking or s&r.
6574 * insettext.C (update): comment this out as it seems first wrong
6575 and second not needed anymore!
6576 (some functions): call reinitLyXText() only in update() in all other
6577 positions set only need_update = INIT.
6579 2001-08-08 Juergen Vigna <jug@sad.it>
6581 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6583 * insettext.C (insetUnlock): remove double-space on inset unlock.
6585 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6587 * insettabular.C (update): fixed cursor positon after an insert.
6588 (insetAllowed): do not allow to insert insets when not inside the
6590 (draw): clear below an inset too as it could have changed height.
6592 * inset.C (getMaxWidth): fixed width for inset in inset.
6594 * insettext.C (update): small fix.
6596 * insettabular.C (tabularFeatures): added selection support to
6597 DELETE_ROW/DELETE_COLUMN.
6599 2001-08-07 Juergen Vigna <jug@sad.it>
6601 * inset.C (getMaxWidth): recoded and all it's implementations!
6603 * insettext.C (init,setParagraph+constructors): cleanups
6604 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6605 are new and I want do a save/restore of the cursor position which is
6606 not possible anymore.
6608 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6609 (searchBackward): ditto
6610 (selectNextWord): ditto
6612 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6614 * insetlatexaccent.C (checkContents): Add some debug messages
6616 2001-08-07 Juergen Vigna <jug@sad.it>
6618 * insetert.C (read): don't use InsetCollapsable::read as we don't
6619 write the collapsed status anymore only the status.
6622 2001-08-06 Juergen Vigna <jug@sad.it>
6624 * insetert.C (set_latex_font): use LyXText's setFont directly.
6626 * insettext.C (drawFrame): fixed one time more the right position
6627 and size of the frame!
6629 * insetert.C (~InsetERT): hide the dialog.
6630 (showInsetDialog): added implementation
6633 (status): new function for the status of the ERT inset (3-state).
6634 (write): output also the status of the inset for readback!
6635 (read): readback the status if available otherwise use collapsed_.
6637 * insettext.C (edit): small fix of setting the position, which could
6640 * insetert.C (width): implement this function for inlined viewing.
6641 Added minimum width of 10 pixels!
6643 * insetminipage.C (InsetMinipage): just change the colors a bit so
6644 that border/background is a bit more visible. We will remove this
6647 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6648 function for getting the important widths for drawing in various
6649 functions and in LyXText.
6650 (draw): fixed up a bit (frame drawing/clearing)
6652 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6654 * inset.C (convertFont): delete method. not used.
6656 2001-08-03 Juergen Vigna <jug@sad.it>
6658 * insettext.C (setFont): don't call for a draw update if we're just
6659 changing the cursor font!
6661 2001-08-02 Juergen Vigna <jug@sad.it>
6663 * insettext.C (draw): clear the background with the right color if
6664 needed. Update myself if x&max-width changed and return without doing
6665 anything. Let the update code handle the right stuff.
6667 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6668 inside another inset.
6670 2001-08-01 Juergen Vigna <jug@sad.it>
6672 * insetcollapsable.C (update): added an in_update bool so we avoid
6675 * insettabular.C (update): added an in_update bool so we avoid
6678 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6680 (update): added an in_update bool so we avoid reentering.
6682 * insettabular.C (localDispatch): clear col/row selection when doing
6683 something else inside an inset.
6685 * insettext.C (getLyXText): fixed bug when requesting a recursive
6688 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6690 * insetcite.C (latex): Paranoia check. Make sure that there is no
6691 whitespace between the citation keys.
6693 2001-07-31 Juergen Vigna <jug@sad.it>
6695 * inset.h (nodraw): make the set function also const so that this
6696 can be called from inside other const functions.
6698 * insetcollapsable.h: removed inline variable and moved it over
6699 to the only user InsetERT.
6701 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6702 inset opening immediately therein lying insets dialogs!
6704 * insetert.C (localDispatch): set the font also if we don't have any
6705 chars in this paragraph, otherwise if we delete all of em and start
6706 writing we have the wrong font.
6708 (draw): implemented for inline support
6709 (insetButtonRelease): ditto.
6711 2001-07-30 Juergen Vigna <jug@sad.it>
6713 * insettext.C (reinitLyXText): new function to reinit the insets
6714 text after lot's of paragraph changes. Use this instead of the
6715 cache.clear() which is VERY dangerous.
6717 * insetfloat.C (insetButtonRelease): we should only show the dialog
6718 if we press on the label otherwise we have problems to open mouse
6719 button 3 dialogs inside this float (f.ex. of a tabular!)
6721 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6723 * insetert.C: change back to "ERT"
6725 * insetfloat.C: handliign of RMB on label added.
6727 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * insetgraphicsParams.C: #include LOstream.h here.
6731 * insetfoot.h: remove InsetFoot:: qualifier.
6733 2001-07-29 Baruch Even <baruch@lyx.org>
6735 * ChangeLog: Hiding time travel evidence.
6737 * insetgraphicsParams.h:
6738 * insetgraphicsParams.C:
6739 * insetgraphics.C: Added horizontal scale option, it actually
6740 scales both directions since it keeps image proportions.
6742 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6744 2001-07-29 Baruch Even <baruch@lyx.org>
6746 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6747 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6749 HACKY! Will need to add an EPS detection routine like old InsetFig
6752 2001-07-29 Baruch Even <baruch@lyx.org>
6754 * insetgraphics.C: Added EPSI to be an alias of EPS.
6756 2001-07-29 Baruch Even <baruch@lyx.org>
6758 * insetgraphics.C: Change GRAPHICS to Graphics.
6759 Changed image conversion rules (documented at the beginning of file).
6761 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6763 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6766 * insetgraphics.C: added a using std::endl directive.
6768 * insetcommand.h (getScreenLabel): removed pure virtual function,
6769 as it duplicates that in InsetButton.
6771 * insetbib.[Ch] (getScreenLabel):
6772 * insetbutton.[Ch] (getScreenLabel):
6773 * insetcite.[Ch] (getScreenLabel):
6774 * insetert.[Ch] (getScreenLabel):
6775 * insetexternal.[Ch] (getScreenLabel):
6776 * insetfloatlist.[Ch] (getScreenLabel):
6777 * insetinclude.[Ch] (getScreenLabel):
6778 * insetindex.[Ch] (getScreenLabel):
6779 * insetlabel.h (getScreenLabel):
6780 * insetparent.[Ch] (getScreenLabel):
6781 * insetref.[Ch] (getScreenLabel):
6782 * insettoc.[Ch] (getScreenLabel):
6783 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6785 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6787 (validate): remove check on "cite" when using natbib.
6789 2001-07-26 Baruch Even <baruch@lyx.org>
6791 * insetgraphics.C (draw): changed casting to be in one place
6792 rather than all over the function.
6795 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6797 * insetgraphicsParams.h:
6798 * insetgraphicsParams.C:
6799 * insetgraphics.C: Removed inline option and changed rotateAngle
6802 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6804 * insetfoot.C (validate): Added method to ensure that the
6805 right bit of LaTeX is emitted.
6807 * insetfoot.h: Added validate method to set the correct
6808 LaTeXFeatures bit for the special footnote code.
6810 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6812 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6815 2001-07-27 Juergen Vigna <jug@sad.it>
6817 * inset.h: remove unused font variable in parameter.
6818 removed checkInsertChar in UpdatableInset as it was equal to
6819 the one in Inset and so not needed.
6821 * insetert.C (checkInsertChar): implementation of function
6824 * inset.h: added new function checkInsertChar.
6826 * various files: added c-tor and clone() function.
6828 * insetcollapsable.h: removed clone function here as this should
6829 be only realized in REAL insets and added it to all collapsable
6830 insets! (with the copy-constructor).
6832 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * insetminipage.C (read): handle missing parameters more gracefully
6836 * insetcollapsable.C (read): handel missing collapsed more gracefully
6838 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6840 * insetfloat.C (read): handle missing parameters.
6842 * insettext.C (read): handle old latex end_inset
6844 * insetert.C (setButtonLabel): new method
6845 (init): use it, to set the dynamic label correctly
6848 * Makefile.am (EXTRA_DIST): add files that is not part or the
6851 * insetcollapsable.h: remove autocollapsable (no users), remove
6852 draw_label, change_label_with_text and companion code. Remove args
6854 * insetert.[Ch]: move here instead (only user)
6856 * inset.h: rename private variable name to name_, make
6857 selectNextWord return a const string. make getInsetName return a
6858 string const &. Remove bool from open, add close.
6860 * Makefile.am: don't compile insetlist, insetsection
6863 2001-07-24 Juergen Vigna <jug@sad.it>
6865 * insetert.C (InsetERT): put init after the paragraph initialization,
6866 as otherwise we don't set the draw_label right.
6868 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6869 insets with the mouse without having strange selections.
6870 (edit): if the inset was collapsed and we open it here then put the
6871 cursor always at the beginning of the inset.
6872 (get_new_label): 15 instead of 10 max chars in the label.
6874 * insetert.C (localDispatch): added and handle various stuff we
6875 need to handle here (font setting on paragraph break, not permitted
6876 layout setting, etc.).
6878 * inset.h: added default copy-consturctor and implemented this in
6879 various insets with the change to use this in the clone function!
6881 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6883 * insetminipage.C (InsetMinipage): set background color to red :)
6885 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6887 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6888 draw frame mode is LOCKED.
6890 * insetcollapsable.C (edit):
6891 (insetButtonRelease): set update status to full when
6894 * insettext.C (clearInset):
6895 * insettabular.C (draw):
6896 * insetlatexaccent.C (draw): honor background color.
6898 * inset.h: new member background_color_, initialized to
6901 * inset.C (backgroundColor): new method.
6902 (setBackgroundColor): new method.
6904 * insetert.C (init): new method, called by the ctors.
6905 (InsetERT): when inserting contents, make sure the font is
6908 * insetnote.C (InsetNote): when inserting content, remove trailing
6910 (init): set background color to LColor::note
6912 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6914 * insetcollapsable.C: adjust
6916 * insetbutton.C: adjust
6918 2001-07-23 Juergen Vigna <jug@sad.it>
6920 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6921 parameter on the _collapsed function (was not needed) and call
6922 always width_collapsed().
6924 * insetert.C (InsetERT): use setLabel with "true" flag.
6926 * insetcollapsable.C: modified various functions to set the draw_label
6927 string right in any condition.
6928 (setLabel): added a bool parameter to set change_label_with_text.
6930 * insetcollapsable.h: added draw_label string which is set to the
6931 actual drawn label-string, while label is the original static label
6932 of this collapsable inset. Added bool change_label_with_text to set
6933 if we want that the label changes to the start of the InsetText's
6934 text when collabpsed. You can set this flag with the setLabel funciton.
6935 Added bool inlined for inlined collapsable insets, but not handled
6938 * insetcollapsable.C (get_new_label): added should get a new label
6939 from the InsetText beginning (for now 10 chars).
6941 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6943 * insetquotes.C (latex): fix the handling of french double quotes
6944 when not using the french pachage.
6946 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6948 * insetcollapsable.h: make WidthCollapsed mutable.
6950 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6951 InsetPrintIndex returns INDEX_PRINT_CODE.
6953 * inset.h: add INDEX_PRINT_CODE
6955 * insetcollapsable.C (draw): init widthCollapsed if necessary
6958 * insetquotes.C (width): use the local language, not the document
6961 (dispString): add additional spacing for all french languages,
6963 (validate): make it work when there is no default language
6965 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6967 * insetnote.C (init): new method, called by the constructors
6968 (InsetNote): new constructor with contents passed as a string
6970 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6972 * insetfootlike.C (insetAllowed): disallow float in footlike.
6974 * insetert.C (InsetERT): add collapsed argument to the constrctor
6977 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6979 * insetindex.h: shut off warning
6981 2001-07-20 Juergen Vigna <jug@sad.it>
6983 * insetcollapsable.C (update): recoded hopefully works now!
6985 2001-07-19 Juergen Vigna <jug@sad.it>
6987 * most files: implemented the below new introduced function.
6989 * inset.h: added new edit(BufferView *, bool front) method to be able
6990 to enter an inset from the front/back without knowing x/y positions
6991 and baselines inside the inset. So I just can tell the inset activate
6992 me and set the cursor on the front/back of yourself.
6994 2001-07-18 Juergen Vigna <jug@sad.it>
6996 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6997 is given to the InsetText.
6998 (insetButtonPress): ditto
6999 (insetButtonRelease): ditto
7000 (insetMotionNotify): ditto
7002 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7004 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7005 LIGATURE_BREAK, since the name is so stupid.
7007 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7009 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7010 the default InsetCollapsable methods. I.e., it can insert anything.
7011 (write) output the name of the inset, not some silly hack for
7012 compatability with the old InsetInfo.
7014 * insetinfo.[Ch]: removed.
7015 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7016 now collapsable, but functionality is otherwise identical to InsetInfo.
7018 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7020 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7022 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7025 * insetquotes.C: general cleanup
7026 (dispString): add spaces inside french double quotes.
7027 (latex): ditto. Moreover, treat first the case where the frenchb
7028 or french options have been given.
7030 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7032 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7035 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7037 * figinset.C (RegisterFigure): Print debug message only when
7038 current_view is available.
7040 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7042 * many files: update to match the change below
7044 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7045 implement the version which takes an inset here.
7047 * insetcollapsable.[Ch]: implement open and isOpen
7049 * inset.h: remove insertInsetAllowed from Inset
7050 (open): new method, to open or close an inset
7051 (isOpen): returns the status of an inset
7052 (isCollapsable, colapse): removed
7054 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7056 * insetquotes.C (dispString): display french guillemets when using
7059 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7061 * insetcollapsable.h: remove bogus return statements
7063 2001-07-18 Juergen Vigna <jug@sad.it>
7065 * insettabular.C (selectNextWord): fixed spellchecking for the
7066 first cell of a tabular (wasn't entered!)
7067 (getLyXText): changed to enter automatically insettext and return
7068 it's LyXText if we're locked.
7070 2001-07-17 Juergen Vigna <jug@sad.it>
7072 * various files: implemented the below functions.
7074 * inset.h: added functions
7075 - virtual string selectNextWord(BufferView *, float & value) const;
7076 - virtual void selectSelectedWord(BufferView *) { return; }
7077 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7078 needed for spellchecking correctly!
7080 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * insetert.C (latex): write out all paragraphs.
7084 2001-07-17 Baruch Even <baruch@lyx.org>
7086 * insetgraphics.C (draw): Removed unneeded casts.
7088 2001-07-16 Juergen Vigna <jug@sad.it>
7090 * insettext.C (update): fixed small oversight (reset lt to 0).
7092 2001-07-14 Baruch Even <baruch@lyx.org>
7095 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7097 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7099 Consistent use of Lsstream.h:
7100 * figinset.C: removed using std::ostringstream directive.
7102 * insetgraphics.C (createLatexOptions):
7103 * insetinclude.C (unique_id):
7104 std::ostringstream -> ostringstream.
7105 * insettext.C (localDispatch): std::istringstream -> istringstream.
7107 2001-07-13 Juergen Vigna <jug@sad.it>
7109 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7111 * insetcollapsable.C (getLockingInset): ditto.
7113 2001-07-12 Juergen Vigna <jug@sad.it>
7115 * insetcollapsable.h: added implementation of new function for
7118 * various files: added implementation of new insertInsetAllowed-func
7119 and redone the function a bit more.
7121 * inset.h: added isCollapsable(), bool collapsed(),
7122 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7124 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7126 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7127 LyXText which is marked for removal while we're using it!
7129 * insettext.h: added private LyXText * lt to use it to assure we are
7130 not deleting our LyXText while we're using it!
7132 2001-07-11 Juergen Vigna <jug@sad.it>
7134 * insettext.C (insertInset): check if we are before the inset after
7135 inserting it! This check IS needed. Remove the Undo-Call as it is
7136 called in LyXText::insertInset!
7138 * insettext.h: added struct InnerCache.
7140 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7141 that we ONLY delete the LyXText in the getLyXText() routine. So we
7142 are sure we don't delete LyXText while someone is working with it!
7144 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7146 * insetexternal.C: (*it). -> it->
7147 * insettext.C: ditto
7149 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7151 * insetcollapsable.C (edit): always open collapsed insets (even if
7152 they are not autocollapsable)
7154 * insetcommand.C (operator=): simplify.
7156 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7158 * insetert.C (latex): handle META_NEWLINE
7160 2001-07-09 Juergen Vigna <jug@sad.it>
7162 * insetert.h: a normal InsetText can insert insets, but we won't.
7164 * inset.h: return default "false" on insertInsetAllowed and implement
7165 this function where a returnvalue != "false" is needed.
7167 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7169 * insetert.C (InsetERT): new contructor
7171 2001-07-06 Juergen Vigna <jug@sad.it>
7173 * a lot of files: added implementation of the below new functions
7174 and the change to clone(). Also the call of the new undo-functions
7177 * inset.h: added an inset_id, added functions getParFromID,
7178 getInsetFromID, firstParagraph, cursor and id functions, added
7179 bool same_ids to clone function.
7181 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7184 of BufferView * and shared_ptr<LyXText>
7186 2001-07-05 Juergen Vigna <jug@sad.it>
7188 * insettext.C (clear): deleted also the cache not only LyXText.
7189 (setParagraphData): ditto.
7191 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7193 * insetfloat.C (latex): let the specific placement take presedence
7194 if set, otherwise choose document placement if set, otherwise just
7195 use float default placement.
7197 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7199 * insettext.C (localDispatch): call CutAndPaste::'s static method
7202 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7204 * insetbib.C: no meed to include forms.h here.
7206 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7208 * insettext.C: added using std::make_pair directive.
7210 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7212 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7214 (deleteLyXText): ditto
7215 (resizeLyXText): ditto
7217 2001-07-02 Juergen Vigna <jug@sad.it>
7219 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7220 following calls are only returned the right pointer without the over
7221 head to search in the map.
7222 (various funcs): reset the cached_bview variable as this signs that
7223 the cache is not valid anymore.
7225 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * insettabular.C (clone): do not copy the LyXTabular twice
7229 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7231 * insettext.h (TEXT): delete method
7233 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7235 * insetmarginal.C (latex):
7236 * insetfoot.C (latex): fix spacing of notes in LaTeX
7238 * insettext.C (localDispatch): use .c_str() on istringstream
7239 constructor argument.
7241 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7246 * inseturl.C: fix method names in these to begin
7247 with small char too, so they inherit
7249 2001-06-28 Juergen Vigna <jug@sad.it>
7251 * insettext.C (setFont): fixed font settings using toggleFree()
7252 instead of setFont().
7254 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * Change a lot of method names to begin with a small char.
7257 Changes to a lot of files because of this.
7259 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7261 * insetfloatlist.C (Write): std:: qualify ostream
7264 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7268 * insetgraphics.C: send debug output to Debug::INFO instead of
7271 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7274 * insettabular.C (getStatus): update to use func_status
7276 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7278 * insetref.C (DocBook): added support for cross-references without
7281 2001-06-26 The LyX Project <jug@sad.it>
7286 * insetlabel.h: removed escape method and moved it to
7289 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7291 * insettabular.C (getMaxWidth): do the speedup in a different way,
7294 2001-06-24 The LyX Project <Asger>
7296 * insettabular.C (getMaxWidth): We cache a mapping from
7297 inset to cell in order to speed this method up.
7299 2001-06-24 The LyX Project <Asger>
7301 * insettext.C: Optimized InsetText::draw or something.
7303 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7305 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7307 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7309 * inset.h: name change from lyxinset.h
7311 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7313 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7315 2001-06-14 Juergen Vigna <jug@sad.it>
7317 * insettext.C (draw): removed warnings.
7319 2001-06-13 Juergen Vigna <jug@sad.it>
7321 * insettabular.C (nodraw): only go down the tree if we don't have
7322 that flag set otherwise it's obvious that we don't want to draw.
7323 (LocalDispatch): do also an update if we have an undispached result.
7325 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7328 * insetgraphicsParams.C:
7329 * insettext.C: removed // -*- C++ -*- as first line.
7331 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7333 * lyxinset.h (resizeLyXText): shut off warning about unused
7336 2001-06-07 Juergen Vigna <jug@sad.it>
7338 * insettext.C (resizeLyXText): honor the new force flag.
7340 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7342 * insettabular.C (deleteLyXText): new function
7344 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7352 * insetcollapsable.C:
7353 * insetcaption.C: LColor tidy
7355 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7357 * figinset.C: fix typo
7359 2001-06-01 Juergen Vigna <jug@sad.it>
7361 * insettabular.C (resetPos): small hack so that scroll is not set to
7362 0 when we are in the last column of a tabular. This is a problem we
7363 have because of constats 20 offset on both directions, so this can
7364 cause on the limit an endless loop.
7366 * insettext.C (SetFont): forgot that we can have locking insets ;)
7368 2001-05-31 Juergen Vigna <jug@sad.it>
7370 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7372 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7374 * figinset.C: add using std:: directive for the C functions which
7377 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * insetfloat.C (Write): write out wide info
7380 (Read): read the wide info
7381 (Latex): use the wide info when creating latex.
7383 * insettext.C: adjust
7385 * insetgraphics.[Ch] (statusMessage): change to return string
7389 * figinset.C (runqueue): add std::
7392 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7394 * insetcite.C (Ascii): add std:: qualifier
7396 2001-05-28 Juergen Vigna <jug@sad.it>
7398 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7399 a endless-width inset (maxWidth < 0).
7400 (Edit): change language only if not equal.
7402 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7404 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7406 2001-05-16 Juergen Vigna <jug@sad.it>
7408 * insettext.C (selectAll): added
7409 (clearSelection): added
7411 * insettabular.C (SetFont): now we may set a font on a whole selection!
7412 (getSelection): added helper function.
7414 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7416 * insetcite.C (Ascii): Add method.
7418 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7421 * insetbib.C: fix path for OS/2 & Win32
7423 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7425 * insetfoot.C (Latex): don't use % after footnote.
7427 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7429 * insettext.C (Read): use clear
7430 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7432 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7434 * insetfloatlist.h: add a bunch of std:: qualifiers.
7436 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7438 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7439 FLOAT_LIST_CODE, renumber code list.
7441 * insettoc.C (getScreenLabel): remove support for float lists
7445 * insetfloatlist.[Ch]: new files
7447 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7449 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7451 * insettabular.C (LocalDispatch):
7452 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7455 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7457 * insettext.C: remvoe !NEW_INSETS cruft
7459 * insettabular.C: remove !NEW_INSETS cruft
7461 * insetcollapsable.h: remove !NEW_INSETS cruft
7463 * insetbib.C: remove !NEW_INSETS cruft
7465 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7467 * insettoc.C: hack to make listof algorithm work
7469 2001-04-20 Juergen Vigna <jug@sad.it>
7471 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7473 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7475 * insetquotes.C (Latex): improve the guard against
7476 unwanted !` and ?` ligatures. This should really be done in
7477 another place (to catch all this ligatures at low-level).
7479 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7481 * insettext.C (init): remvoe leftovers from cursor_visible change
7482 (draw): use c++ cast
7483 (LocalDispatch): dispatch LFUN_MESSAGE
7485 * insettabular.C (InsetTabular): remove leftovers from
7486 cursor_visible, and scoped_ptr changes
7487 (draw): use c++ cast
7489 * insetcollapsable.C (draw): use c++ cast
7491 * ExternalTemplate.h: inherit privaely from noncopyable
7492 * insetcommand.h: ditto
7493 * insetinclude.h: ditto
7495 2001-04-16 Allan Rae <rae@lyx.org>
7497 * insettoc.C (Ascii):
7498 * insettext.C (draw):
7499 * insettabular.C (setPos):
7500 * insetminipage.C (Read):
7501 * insetfloat.C (placement):
7502 * insetcaption.C (Ascii, DocBook):
7503 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7504 an unrecognised preprocessor directive. So ensure they're wrapped.
7506 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7509 * insetexternal.C: set view on Clone. Add _ to private members.
7511 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7513 * insettext.C (InsetText): fix new
7514 (InsetText): reindent some, simplify deletion of par list
7515 (clear): simplify deletion of par list, fix new
7516 (SetParagraphData): simplify deletion of par list
7518 * insettabular.[Ch] (getLabelList): implement new method
7520 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7522 * lyxinset.h: do not include gettext.h...
7530 * insetlatexaccent.C:
7534 * inseturl.C: ... and do it here instead
7536 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7540 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7542 * insetcollapsable.[Ch] (getLabelList): implement
7544 * insettext.[Ch] (getLabelList): implement
7546 * insettext.h: reindent
7548 * insettabular.h: make tabular a scoped_ptr
7550 * insettext.C (init): adjust for cursor_visible
7551 (ToggleInsetCursor): constify asc and desc, font, adjust for
7553 (ShowInsetCursor): constify asc and desc, font, adjust for
7555 (HideInsetCursor): adjust for cursor_visible
7557 * insettabular.C: reindent some
7558 (InsetTabular): adjust for scoped_ptr and cursor_visible
7559 (InsetTabular): ditto
7560 (~InsetTabular): delete delete
7561 (Clone): adjust for scoped_ptr
7562 (Read): constify old_format, adjust for scoped_ptr, move init of
7564 (draw): constify tx, localize loop vars.
7565 some other localization of variables, remove double initilizatons.
7567 * insetfoot.C: remove using std::ostream, add ostream where needed
7569 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7571 * lyxinset.h: some reindentaion, use initializer list for
7573 UpdatableInset: make cursor_visible a private var add
7574 public isCursorVisible(), add protected toggleCursorVisible() and
7575 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7577 * insettoc.C: remvoe using decl
7578 (getScreenLabel): make cmdname donst
7581 (Ascii): don't use endl
7583 * insetfootlike.C: remove using decl at file scope and add std::
7585 * insetmarginal.C: ditto
7587 * insetfoot.C: some reformatting
7589 * insetfloat.C (InsetButtonRelease): adjust the hit area
7591 * insetert.C (SetFont): some reformatting
7593 * insetcollapsable.C: some reformatting and constification
7594 (Clone): comment out.
7595 * insetcollapsable.h: some reformatting
7596 (Clone): comment out.
7601 2001-03-30 Juergen Vigna <jug@sad.it>
7603 * insetcollapsable.h: changen *inset to be a InsetText inset.
7605 * some files: changed to reflect the above change.
7607 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7609 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7610 InsetExternal::Params.
7611 Added operator==() and operator!=() for the Params struct.
7613 2001-03-29 Juergen Vigna <jug@sad.it>
7615 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7618 * insetminipage.C: removed widthp_ and all it's functions and changed
7619 to use new %-lengths of LyXLength.
7621 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7623 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7625 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7627 * insetgraphicsParams.C (operator!=): new function, needed by the
7628 ControlGraphics class.
7630 2001-03-28 Juergen Vigna <jug@sad.it>
7632 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7633 (checkAndActivateInset): don't use the values returned from
7634 call to bv->checkInsetHit.
7636 * insetminipage.C (Clone): set special minipage values.
7638 * insetcollapsable.C (draw): changed to draw the button in the
7639 upper left corner outside the textinset.
7640 (ascent): changed because of different drawing
7644 (InsetButtonPress): ditto
7645 (InsetButtonRelease): ditto
7646 (InsetMotionNotify): ditto
7648 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7650 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7654 2001-03-26 Juergen Vigna <jug@sad.it>
7656 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7658 * insettext.C (ShowInsetDialog): implemented above function.
7660 * insettabular.C (ShowInsetDialog): ditto
7662 * insetminipage.C (ShowInsetDialog): ditto
7664 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7666 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7667 InsetInclude::Params. Don't store a buffer * in Params. Store the
7668 master file name instead.
7670 2001-03-23 Juergen Vigna <jug@sad.it>
7672 * insetcollapsable.C (InsetMotionNotify):
7673 (InsetButtonRelease):
7674 (InsetButtonPress): fixed y-offset (minipages).
7676 * insettext.C (draw): force a FULL update if cleared == true.
7678 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7679 routine to draw the minipages on its position-flag.
7680 (InsetInInsetY): give back the right y position, because of minipage
7683 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7686 * insetfloat.C (DocBook): docbook export code.
7688 2001-03-22 Juergen Vigna <jug@sad.it>
7690 * insetminipage.C (getMaxWidth): added function to set the drawing
7692 (Read): should work now!
7694 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7695 if we create a new inset.
7697 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7699 * figinset.C (fl_set_preemptive_callback): moved definition outside
7702 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7704 * insetminipage.C (Read): prepare for reading of minipage arguments.
7706 2001-03-18 Baruch Even <baruch@lyx.org>
7708 * insetgraphics.C: Minor cleanups of the comments and code.
7710 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7712 * insetminipage.C (InsetMinipage): default to not collapsed
7714 2001-03-16 Juergen Vigna <jug@sad.it>
7716 * insetminipage.C (width): modified with to be a string
7717 (widthp): added widthp (for % width) support functions.
7718 (InsetButtonRelease): added to open the options dialog on button==3.
7719 (~InsetMinipage): added to hide the dialog.
7721 * insetminipage.h: added hideDialog signal
7723 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7725 * insetminipage.h: change the order or Position to match
7726 LyXParagraph::MINIPAGE_ALIGNMENT
7728 * several files: remvoe CXX_WORKING_NAMESPACES
7730 * ExternalTemplate.h: noncopyable is in namespace boost
7731 * insetinclude.h: ditto
7732 * insetcommand.h: ditto
7734 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7736 * insettext.C (Edit): #else# -> #else.
7737 * insettoc.C: added using directive.
7739 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7741 * insetminipage.h: add pos, inner_pos, width and height. + getters
7742 and setters for all of them.
7744 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7746 * insetinclude.C (Latex): Do not exit when the textclass of the
7747 included file differ from the textclass of the parent file.
7749 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7751 * ExternalTemplate.C (read): the reading of external insets now checks
7752 for \end_inset and removes it form the input stream.
7754 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7756 * ExternalTemplate.h:
7757 * ExternalTemplate.C:
7759 * insetexternal.C: move form to GUII
7761 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7764 * insetinclude.C: add InsetIncludeParams, use
7765 composition rather than derivation of InsetCommand
7767 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7769 * insettoc.C (Ascii): use the Buffer typedefs
7771 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7773 * insettoc.C (Ascii): implement for dynamic number of lists
7775 * insetcaption.[Ch]: update from new_insets branch
7776 * insetfloat.[Ch]: ditto
7778 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7781 * figinset.C: use new File Dialog
7783 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7785 * insettext.C: changes becuase of ParagraphParameters.
7787 2001-02-28 Baruch Even <baruch@ev-en.org>
7789 * insetgraphics.C (updateInset): Changed due to the change in
7792 2001-02-26 Juergen Vigna <jug@sad.it>
7794 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7795 handled in LyXText).
7797 2001-02-23 Juergen Vigna <jug@sad.it>
7799 * insettext.C (draw): some small repainting fixes.
7800 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7802 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7803 should be) and not an int.
7805 * insettabular.C (LocalDispatch): ditto
7807 * insettext.C (LocalDispatch): ditto
7809 * insetcollapsable.C (LocalDispatch): ditto
7811 2001-02-22 Juergen Vigna <jug@sad.it>
7813 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7814 DISPATCH it and we don't have a locking_inset.
7816 2001-02-21 Baruch Even <baruch@ev-en.org>
7818 * insetgraphics.[Ch]: Changed to use
7819 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7821 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7823 * insetcollapsable.C (getLyXText): add const qualifier to second
7826 2001-02-22 Juergen Vigna <jug@sad.it>
7828 * insettext.C (getLyXText): honor the recursive parameter.
7829 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7831 * inset.C (getLyXText): added bool recursive parameter.
7833 * insettext.C (SetUpdateStatus): or the update codes.
7834 (draw): check need_update with &.
7835 (InsetButtonPress): set no_selection to not put a selection when
7836 entering an inset and it is redraws in another spot.
7838 * insettext.h: made need_update an int.
7840 2001-02-20 Baruch Even <baruch@ev-en.org>
7843 * insetgraphisc.C: Changed to use better semantics when loading images
7844 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7846 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7850 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7851 consistent with InsetTabular.
7853 2001-02-19 Juergen Vigna <jug@sad.it>
7855 * insettabular.C (LocalDispatch): implement PAGE up/down.
7857 * insettext.C (draw): clear all of it on need_update==INIT too!
7859 * insettabular.C (InsetUnlock): always clear the selection.
7861 * inset.C (scroll): normally we only want to scroll the inset until
7862 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7864 2001-02-14 Juergen Vigna <jug@sad.it>
7866 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7867 (resetPos): fixed scroll behaviour.
7868 (LocalDispatch): do an update if moving cursor inside a table cell
7869 requests a scroll of the tabular.
7871 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7873 * insettext.C (textWidth): constify local var
7875 * insettabular.C: small cleanup.
7877 * insetfoot.C (Latex): constify local var
7879 * insetcollapsable.C: small cleanup.
7881 * figinset.C (runqueue): use compare instead of strcmp
7883 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7886 * insetinfo.C: remove cruft
7888 2001-02-14 Juergen Vigna <jug@sad.it>
7890 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7892 2001-02-13 Juergen Vigna <jug@sad.it>
7894 * insettext.C (InsertInset): don't move left (is this right?)
7896 * insettabular.C (LocalDispatch): use of the no_draw variable
7898 * insettabular.h: new no_draw variable to stop redraw
7900 * insettabular.C (TabularFeatures): fixed update for alignment change
7902 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7906 * insetbib.C: move dialogs to frontends/
7908 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7910 * insettext.C (LocalDispatch): Restore the language if the inset
7913 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7915 * insettext.C (moveRightIntern): Update the selection cursor.
7916 (moveLeftIntern): Ditto.
7918 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * Makefile.am: remove BoundingBox.h
7922 * BoundingBox.h: removed
7924 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7926 * insettext.C (LocalDispatch): Update selection cursor when moving
7927 cursor to the right.
7928 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7929 (moveLeftIntern): Ditto.
7931 2001-02-05 Baruch Even <baruch.even@writeme.com>
7933 * insetgraphics.C: Updated automatic image conversion, it now goes into
7934 temporary directory instead of with the image itself.
7936 2001-01-21 Baruch Even <baruch@ev-en.org>
7938 * insetgraphics.C: Added Docbook support. Added Automatic image
7939 conversion to EPS or PNG when needed (support bitmap graphics).
7941 2000-11-02 Baruch Even <baruch@ev-en.org>
7944 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7945 to '\n' and removal of commented out code.
7947 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7949 * insetbib.C (callback): Update citations if the key has changed.
7951 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7953 * insetbib.C (InsetBibKey): Better computation of default key.
7954 (getScreenLabel) Show both the key and the label.
7955 (getBibLabel): New method.
7956 (callback): Force a redraw if the inset have been changed.
7958 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7960 * insetref.C (getType, getName): Move methods from
7961 src/frontends/xforms/FormRef.C.
7963 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7965 * insettabular.C: Various improvements (use only one dummy position).
7967 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7969 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7970 par->bibkey->width. This fixes the crashes when running without
7971 gui or when having included documents.
7973 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7975 * insetcommand.C (getAsString, setFromString): Cleanup.
7977 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7979 * insetref.C: Add the array InsetRef::types that contains
7980 information about all supported reference types.
7982 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7984 * lyxinset.h: remove trailing comma in enum.
7986 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7988 * insettext.C: kill LyXBell.