1 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
5 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7 * insetlabel.C (changeRefsIfUnique): remove unused code
9 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
12 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
13 reverse the logic. Make sure to set updateButtonLabel_ to true in all
14 places where params is set (directly or indirectly).
16 2005-07-15 André Pönitz <poenitz@gmx.net>
18 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
20 2005-07-15 André Pönitz <poenitz@gmx.net>
24 * insetcollapsable.[Ch]:
26 * updatableinset.[Ch]: remove UpdatableInset
28 2005-07-15 José Matos <jamatos@lyx.org>
30 * insettext.C (plaintext): fix call to asciiParagraph.
32 2005-07-15 André Pönitz <poenitz@gmx.net>
34 * insetcollapsable.[Ch]:
35 * updatableinset.[Ch] (scroll, setScroll): sanitize things
37 2005-07-14 Angus Leeming <leeming@lyx.org>
39 * insetbibtex.C (latex): when processing the LaTeX file in
40 a temp directory, copy the BibTeX databases there, mangling their
41 names in the process. Do this so that BibTeX can process the database
42 because it *really*, *really* can't handle "files with spaces".
44 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
46 * insettext.C (doDispatch): reduce some debug blabbering
48 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * ExternalSupport.C (subst_path): adjust to latex_path changes and
51 replace dots if appropriate
52 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
53 * insetexternal.C (validate): require lyxdot
55 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * ExternalSupport.C (subst_path): new argument exclude_extension
58 * ExternalSupport.C (doSubstitution): exclude the extension when
60 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
61 the extension when quoting the file name
63 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * insetquotes.C (latex): always use \og/\fg for the french
66 languages; test against the language code instead of the babel
69 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * insettabular.C (tabularFeatures): adjust cursor after adding a column
73 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * insetbranch.C (setButtonLabel): Make label prefix translatable.
77 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
79 * insettabular.[Ch] (dist): make it a real member of insettabular
80 and rewrite it to use the actuall cell dimensions for calculation,
81 not the insettext's deimensions (fixes bug 1801).
83 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
85 * insetbibtex.C: (addDatabase): do not check for substrings but
87 (delDatabase): make it actually work.
89 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
93 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * insetgraphics.C (prepareFile): don't strip the extension of quoted
97 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
99 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
102 when multiple cells are selected (bug 1837).
104 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * insetoptarg.C (InsetOptArg): make the inset open by default
109 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * insetvspace.C (draw): use VSpace::asGUIName.
113 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
115 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
116 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
117 cur.noUpdate() if nothing changed
118 * insetlatexaccent.[Ch]: spelling fixes
120 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
122 * insetcollapsable.C (doDispatch): fix
123 click-on-closed-collapsable-inset-crash bug.
125 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
127 * insettabular.C (pasteSelection):
128 * insettext.h (copy c'tor): fix paste inside tabulars.
130 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * insetoptarg.C (plaintext): add dummy method.
134 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * insetbase.h (doDispatch): document a bit more
137 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
138 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
139 cur.bv().update(), because that leads to nested updates. Call
140 cur.noUpdate() instead where approriate.
142 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
144 * insetbibtex.C: change screen label
146 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
148 2005-05-06 José Matos <jamatos@lyx.org>
150 * insetcommandparams.C (scanCommand): fix out of range string access.
152 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
154 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
156 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
157 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
159 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
160 handle undefined character styles
161 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
162 handle undefined character styles
164 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
167 in getStatus and the tabularFeature string (bug 1860).
169 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * insetbranch.C (getStatus): make the code more compact
173 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * insetcollapsable.C (doDispatch): do not pass through double/triple
176 click events when they are not in the insetext (bug 1797).
178 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * insetbase.h: document a bit more
181 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
182 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
183 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
184 (getStatus): implement
185 * insetcollapsable.[Ch] (hitButton): take a const argument
186 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
189 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * insetcollapsable.C (doDispatch): pass through double/triple
192 click events (bug 1811).
194 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
198 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
199 but the SENSITIVE label type.
201 2005-04-18 Angus Leeming <leeming@lyx.org>
203 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
204 'use_latex_path' argument. In turn, passed to the new subst_path
205 function when replacing placeholders with paths.
207 * insetexternal.C (getScreenLabel):
208 * ExternalSupport.C (lots of places): change invocation of
209 doSubstitution in lots of places, specifying the appropriate values
210 for this 'use_latex_path' boolean.
212 * insetbib.C (latex):
213 * insetgraphics.C (latex):
214 * insetinclude.C (latex): pass path to latex_path rather than to
217 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
219 * insetcharstyle.C (validate): allow nested charstyle insets
221 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
225 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * insetfloat.C (InsetFloat):
228 * insetwrap.C (InsetWrap): do not set layout here.
230 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
232 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
234 * insetbase.h (getStatus): add more documentation
235 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
238 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
240 * insetcharstyle.C (metrics, draw):
241 * insetert.C (metrics, draw):
242 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
245 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
247 * insetexternal.C (validate):
248 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
249 multiple Requirements in external material template
251 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
253 * insettext.C (drawFrame): cosmetic fix
255 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
257 * ExternalSupport.C (writeExternal):
258 * insetgraphics.C (latex):
259 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
260 mis-count in computing latex error location
262 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
264 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
265 make it *not* descend into insets (fix a crash). Move the part
266 needed from editXY to a new function getNearestCell
268 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * insetinclude.C (InsetInclude): when constructing from another
271 InsetInclude, set set_label_ to false, since the value is never
274 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
278 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
280 * insettabular.C (drawSelection): cosmetic bugfix
282 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
284 * insettabular.C (doDispatch): get middle mouse button back again
285 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
286 when only a part of the cell is selected (fix bug 1799)
288 * insettabular.C: handle some more character attributes in
289 M. Vermeers method (when multiple cells in tables are selected);
290 disable some more senseless lfuns when multiple cells are selected
292 Move to end of cell instead of beginning when coming from the cell
295 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
297 * insettabular.C: make applying character attributes
298 possible for multiple cells in tables. Disable collapsable
299 insets for multiple-cell selection in table (Jürgen S.)
300 Bug reported by Helge Hafting.
302 2005-02-25 Andreas Vox <avox@arcor.de>
304 * insetmarginal.[hC] (docbook): new method, render as <note>
306 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
308 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * insetcaption.[Ch] (doClone): implement
312 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * insetgraphics.C (prepareFile): handle non-existing files
315 * insetgraphics.C (latex): remove special handling of non-existing
318 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
321 * insettext.C: adjust metrics
323 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * insettext.C: include boost/current_function.hpp (needed when
326 assertions are disabled)
328 2005-02-20 André Pönitz <poenitz@gmx.net>
330 * insetcollapsable.C: Prevent problems on double-/
331 tripleclick on collapsable label (bug 1797).
333 2005-02-13 André Pönitz <poenitz@gmx.net>
335 * insettext.[Ch] (border_): new
336 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
339 2005-02-14 Angus Leeming <leeming@lyx.org>
341 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
342 about "truncation of constant value".
344 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
347 workaround for broken HTML converter)
349 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
351 * insetcollapsable.C (leaveInset): size() -> depth()
352 * insettabular.C (isRightToLeft): ditto
354 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
356 * insetert.C (latex, linuxdoc, docbook): remove newline handling
357 * insetert.C (doDispatch): clean pasted paragraphs
358 * insetert.C (getStatus): suppress more lfuns
359 * insetert.C (insetAllowed): return always false
361 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
366 * updatableinset.C: Use new cursor accessors.
368 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
372 2005-01-31 Angus Leeming <leeming@lyx.org>
374 * insetgraphicsParams.C: protect a #warning preprocessor call
375 with a #ifdef WITH_WARNINGS guard.
377 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * Several files: use convert<> instead of atoi,strToXXX and friends
381 2005-01-23 Angus Leeming <leeming@lyx.org>
383 * insetbibitem.h (bibitemWidest): declare the function.
385 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * insetgraphics.C (prepareFile): move the invocation of the default
388 converter to ../converter.C
389 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
390 call convert with try_default == true
392 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
394 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
395 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
396 determines what variables are substituted
397 * ExternalSupport.C (updateExternal): fix substitution of
400 2005-01-10 Angus Leeming <leeming@lyx.org>
402 * ExternalTemplate.C: use support/package.h to provide the paths to the
403 various directories used by LyX.
405 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * ExternalTransforms.C (adjAngle): tostr -> convert
415 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
417 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
420 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * ExternalTransforms.C: fix LaTeX output of \scalebox.
424 * ExternalTransforms.[Ch]:
425 * insetexternal.C: store all float/double values as strings.
428 * insetgraphicsParams.C: more precise checks for the value strings.
430 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * insettext.C (doDispatch): remove unused variable was_empty
434 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437 * insetgraphicsParams.[Ch]: store all float/double values as strings.
439 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
441 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
443 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
446 UNSET_ALL_LINES (from Jürgen)
448 2004-12-14 Angus Leeming <leeming@lyx.org>
450 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
451 to overcome bug in the MinGW port of g++ 3.4.2.
453 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
455 * insettabular.C (getCellXPos): make it return a relative x
456 position wrt. the begin of the tabular
457 (resetPos): a couple of fixes
458 (doDispatch): add a couple of resetPos calls
459 (drawSelection): fix drawing of selection in single-cell mode
460 (draw): replace 'do not draw' optimization by 'draw with
463 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * insetbase.[Ch] (idxUpDown2): remove function
467 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
469 * insettabular.[Ch]: use size_t-like types for cell, row and column
472 2004-12-02 José Matos <jamatos@lyx.org>
474 * insetlatexaccent.C (checkContents): remove compatibility code,
477 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
479 * insetbase.h (getStatus): add better comment from src/cursor.C
481 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
483 * insettabular.[Ch]: adjust, introduce "do not draw
484 offscreen" optimization using NullPainter, (dist): introduce,
485 (getCursorPos): implement, (drawSelection): implement
487 * insetcollapsable.[Ch]: adjust
489 * insettext.C: adjust, (metrics): set the font before calling
492 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * rename a lot of InsetOld to InsetBase
496 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
499 * insettext.C: par->pit renaming
501 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
503 * Most insets: rename priv_dispatch to doDispatch
505 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * insettabular.C (tabularFeatures): fix multicolumn handling
509 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * render_base.h (operator=): use common semantics
513 * insettext.C (operator=): delete this
514 (copy constructor): implement this properly
515 (init): use for_each and bind
517 (appendParagraphs): ditto
519 * insettabular.C: add more const. Adjust for changes in tabular.
521 * insetbase.h: Use NVI on clone. Add virtual doClone and update
522 all children, also make copy constructor protected. Added some
523 safe-guards to clone.
525 * insets: adjust to fit.
527 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * insetoptarg.C (latexOptional): return number of lines instead of
532 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
534 * insettabular.[Ch] (string2params): Don't pretend to return the
535 active cell anymore and simplify keyword parsing.
537 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * insetlatexaccent.h (isLetter): implement, so that word selection
540 takes accents into account.
542 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
544 * insetcollapsable.C (priv_dispatch): do not push the inset to the
547 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * ExternalSupport.C, insetgraphics.C:
550 s/getFormatFromContents/formats.getFormatFromFile/
552 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
554 * insetcharstyle.[Ch]:
555 * insetert.[Ch]: implement getStatus
557 * insetcharstyle.C (draw): visual clue when the cursor is inside
560 2004-11-02 José Matos <jamatos@lyx.org>
562 * insetcharstyle.C (docbook):
563 * insetlabel.C (linuxdoc, docbook):
564 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
567 * insettabular.C (docbook): mixed content no longer belongs to
570 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
572 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
574 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * ExternalSupport.C (updateExternal): convert files in the temp dir
578 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * insetcharstyle.C: drawing cosmetics.
582 2004-10-30 José Matos <jamatos@lyx.org>
584 * insetcharstyle.C (docbook): a compromisse solution. Don't output
585 paragraph tags inside inline elements.
587 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
589 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
590 InsetText methods rather than outputVerbatim (escapes special
591 characters) [bug 1731]
592 * insetcharstyle.C (outputVerbatim): remove this function.
593 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
594 which caused an infinite loop.
596 2004-10-29 José Matos <jamatos@lyx.org>
598 * insetgraphics.C (uniqueID): transfered to sgml.C
600 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
602 * insetlabel.C (docbook, linuxdoc):
603 * insetref.C (docbook, linuxdoc): sanitize id.
605 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
608 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
609 * insetgraphics.C (findTargetFormat): reformat
611 2004-10-28 José Matos <jamatos@lyx.org>
613 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
615 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
619 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
622 "[,,,]" without warning message
624 2004-10-26 Angus Leeming <leeming@lyx.org>
626 * ExternalSupport.C (updateExternal):
627 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
628 external files to the temp directory.
630 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
632 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
633 layouts. This fixes problems with the memoir class (which does not
634 allow \footnote) [bug 1677]
636 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
638 * insetindex.C (docbook): escape the index, to generate correct sgml.
640 2004-10-23 José Matos <jamatos@lyx.org>
642 * insettext.C (docbook): rearrange arguments, due to change in the
645 2004-10-23 André Pönitz <poenitz@gmx.net>
647 * insettabular.C (cutSelection, tabularFereatures):
648 fix cursor position after cutting selection or table rows
650 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
652 * insetgraphics.C (docbook, writeImageObject): write more than one
653 format of imageobjects in <mediaobject>.
655 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
657 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
658 DocBook output for this inset ( <citation>content</citation> )
660 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
662 * insetgraphics.C (docbook) : using mediaobject for XML;
663 correcting bug with SGML output (now '>' instead of '/>')
665 2004-10-05 José Matos <jamatos@lyx.org>
667 * insetfloatlist.C (read):
668 * insetquotes.C (read):
669 * insetspace.C (read):
670 * insetspecialchar.C (read):
671 * insettabular.C (read): replace nextToken by more appropriate lex
674 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
676 * insetgraphics.C (createDocBookAttribute, docbook) :
677 convert scale, width, height and keepaspectratio to Docbook standards)
679 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
680 to Docbook units where possible.
682 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
684 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
686 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
687 as attributes with new method for docbook.
689 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * render_preview.h: Use preferred calling of Boost.Signal
693 * pch.h: use proper signal include
695 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * ExternalTransforms.h: User preferred calling of Boost.Function
699 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
701 * insetref.C (docbook): fixing problem where Docbook XML output
702 had unclosed <xref ... >
704 2004-08-16 José Matos <jamatos@lyx.org>
706 * insethfill.C (write):
707 * insetline.C (write):
708 * insetnewline.C (write):
709 * insetpagebreak.C (write): remove space at end of line.
711 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * insettabular.C (plaintext): do not use ownerPar to get the
716 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
717 and it calls getParentLanguage (which calls ownerPar)
718 (edit): do not call sanitizeEmptyText
719 (priv_dispatch): remove code resetting font on empty inset, for
720 the same reasons as above.
722 * insettabular.C (isRightToLeft): instead of using
723 BufferView::getParentLanguage, use the data from the cursor
725 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * Makefile.am: support pch
731 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * insettabular.C (draw): whitespace
735 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
737 2004-08-14 André Pönitz <poenitz@gmx.net>
739 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
741 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * insettabular.C (metrics): when the width of a cell is zero(),
744 let it use as much space as it can
746 * insettext.C (editXY): compilation fix
748 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
750 (metrics): the insets is not full width any more.
751 (draw): adjust; fix bad test for PREVIEW_OFF
752 (add_preview): fix bad test for PREVIEW_OFF
753 (display): do not return true when using \input
755 2004-08-14 José Matos <jamatos@lyx.org>
757 * insetbibitem.[Ch] (plaintext): added.
759 * insetcite.[Ch]: fix plaintext export.
761 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
763 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
766 * insetcaption.C (InsetCaption): modify call to setDrawFrame
767 * insetcollapsable.C (InsetCollapsable): ditto
768 * insetenv.C (InsetEnvironment): ditto
770 2004-08-14 André Pönitz <poenitz@gmx.net>
773 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
775 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * insetoptarg.C (latexOptional): if the optional argument contains
778 a ']' enclose it in {curly brackets}
780 * insettext.C (editXY):
781 * insettabular.C (editXY):
782 * insetcollapsable.C (editXY):
783 * insetbase.C (editXY): constify
785 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
786 not ask for an update if we did nothing; on a mouse release, make
787 sure that the cursor is moved to the right position; on a mouse
788 release, exit from the inset instead of invoking a
791 * insetbase.C (dispatch): before invoking dispatch, set cursor
792 result to dispatch=update=true.
794 2004-08-13 José Matos <jamatos@lyx.org>
796 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
798 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
800 * insetfoot.C (latex): use OutputParams::intitle instead of
801 parOwner() (avoids time consuming lookup)
803 * insetquotes.C (latex): same as above with OutputParams::lang.
804 Moreover the code actually works now.
806 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
809 * insetinclude.C, insetgraphics.C, insetfloat.C:
810 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
811 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
812 "support/std_sstream.h" to <sstream>
814 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
816 * insetgraphics.C (prepareFile): remove conversion_needed flag.
817 It made the following fail for a .eps graphics file:
819 2) view->pdf (pdflatex)
820 because the .eps file was already in the temp dir when the pdflatex
821 export happened and therefore no .eps -> pdf conversion was done.
823 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * insetgraphics.C, insettabular.C: s/wether/whether/g
827 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
829 * insetgraphics.C (stripExtension): new
830 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
832 * insetgraphics.C (prepareFile): Handle "nice" exports, too
833 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
835 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * insetfloatlist.C (latex,getScreenLabel): translate according to
838 the document language (bug #1312)
840 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
843 with external_in_tmpdir and compute filename ourself
844 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
845 use it to store referenced file(s)
846 * ExternalSupport.C (writeExternal): write relative filename if
848 * ExternalTemplate.[Ch]: add ReferencedFile command
849 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
851 * insetgraphics.C (prepareFile): write relative filename if
853 * insetinclude.C (latex, docbook, linuxdoc): add file to
854 runparams.exportdata and write it to the temp dir instead of
855 writing it to the final destination
856 * insetinclude.C (docbook, linuxdoc): don't copy runparams
858 2004-05-19 Angus Leeming <leeming@lyx.org>
860 * insetcite.[Ch]: small change because namespace biblio is
861 now namespace lyx::biblio.
863 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
865 * insettabular.[Ch] (buffer): make Buffer * argument const
867 2004-05-17 Angus Leeming <leeming@lyx.org>
869 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
870 to force the button label to be re-generated.
872 2004-05-14 José Matos <jamatos@lyx.org>
874 * insetlabel (docbook): do not ouput label, for the moment.
876 2004-05-14 Angus Leeming <leeming@lyx.org>
878 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
879 new biblio::asValidLatexString function.
881 2004-05-12 Angus Leeming <leeming@lyx.org>
883 * insetcite.C: use BufferParams::cite_engine rather than the three
884 bools, use_natbib, use_jurabib, use_numerical_citations.
886 2004-05-10 Angus Leeming <leeming@lyx.org>
888 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
889 Ditto with getStyle, moved to biblio::getEngine.
891 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
893 * insetgraphics.C (validate): remove pre 233 file format stuff,
894 handle zipped files for "nice" export
896 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
898 * insetgraphics.C (prepareFile): copy zipped file and corresponding
899 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
900 * insetgraphics.C (prepareFile): unzip zipped file also if it has
901 changed since the last run
902 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
903 and copyFileIfNeeded.
905 2004-04-29 Angus Leeming <leeming@lyx.org>
907 * ExternalTemplate.[Ch]: remove redundant #includes.
909 2004-04-28 Angus Leeming <leeming@lyx.org>
912 s/updateToolbar()/updateToolbars()/
914 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
916 * insetgraphics.C: require file extension (file format change!)
917 * insetgraphics.C (latex): handle zipped files for "nice" export
919 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * insetgraphics.C (latex): strip the extension and replace dots in
922 the filename if doing a "nice" export. This is a partial fix for
923 bug 1231 without reintroducing bug 655.
925 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * insetoptarg.h: remove the editable() method (InsetCollapsable
928 does it better already)
930 * insetbibtex.C (normalize_name): new helper function. Changes the
931 name to be suitable to use in a latex file (relative to master
932 buffer if necessary).
933 (latex): use normalize_name.
935 2004-04-20 Angus Leeming <leeming@lyx.org>
937 * render_preview.C (startLoading): remove lyxerr statement.
939 (getPreviewLoader): new helper function.
941 2004-04-19 Angus Leeming <leeming@lyx.org>
945 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
947 2004-04-19 Angus Leeming <leeming@lyx.org>
949 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
951 (add_preview): renamed as add_preview_and_start_loading. Invoke
952 RenderPreview::startLoading.
954 * insetinclude.C (metrics, draw): changes due to the changed
955 RenderPreview interface.
957 * render_preview.C: remove cached pimage_.
958 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
959 (draw): don't call startLoading. That's up to the user of
962 2004-04-16 Angus Leeming <leeming@lyx.org>
964 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
966 2004-04-13 Angus Leeming <leeming@lyx.org>
968 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
969 the renderer to inform LyX::updateInset that the inset's status
970 has changed and it should be redrawn.
972 * render_button.[Ch] (clone):
973 * render_graphic.[Ch] (c-tors, clone):
974 * render_preview.[Ch] (c-tors, clone): ditto.
976 * render_graphic.[Ch] (connect):
977 * render_preview.[Ch] (connect): removed, as connection is now
978 made in the constructors.
982 * insetinclude.C: ensuing simplification of the client code.
983 (statusChanged): now superfluous. Removed.
985 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
987 * ExternalTemplate.[Ch]: remove editCommand
988 * ExternalSupport.C (editExternal): use formats.edit() instead of
989 the removed editCommand template parameter
990 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
991 * insetgraphics.[Ch] (editGraphics): new method
993 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * insetinclude.C (validate): set/reset features.buffer_ when
998 2004-04-07 Angus Leeming <leeming@lyx.org>
1000 * insetexternal.C (priv_dispatch):
1001 * insetinclude.C (priv_dispatch): prevent crash by invoking
1002 InsetOld::priv_dispatch at the end of the switch, rather than
1003 InsetOld::dispatch...
1005 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1007 * insetcollapsable.C:
1008 * insetbranch.C: 'assign' to open/close branch inset according to
1009 selection; also print content on closed branch button
1011 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1013 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1014 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1015 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1017 * ExternalSupport.C (updateExternal): use absolute and output
1018 filename where appropriate
1020 2004-04-05 André Pönitz <poenitz@gmx.net>
1022 * insetbase.h: use LCursor & in notifyCursorLeave
1024 2004-04-05 Angus Leeming <leeming@lyx.org>
1026 * insetgraphics.C: remove unused header file "lyxrc.h".
1028 * render_graphic.C: squash bug 1372: Misleading graphics label when
1029 deactivating lyx view.
1031 2004-04-05 Angus Leeming <leeming@lyx.org>
1036 * insetlatexaccent.C:
1041 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1043 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1045 * insetfloat.C (read): fix yesterday's float fix.
1046 * insetwrap.C (read): apply the fixed float fix.
1048 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1050 * insetfloat.C (read): fix reading of float params
1053 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1055 * insettext.C (edit): comment the call to updateLocal (dangling now)
1056 * insettext.h: add allowSpellCheck() returning true
1058 2004-03-31 Angus Leeming <leeming@lyx.org>
1060 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1062 2004-03-31 Angus Leeming <leeming@lyx.org>
1064 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1065 the cursor out of an inset.
1067 * insetbranch.C (priv_dispatch):
1068 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1069 use getOutOfInset to push the cursor out of the inset when
1072 2004-03-30 Angus Leeming <leeming@lyx.org>
1074 * insetbase.[Ch] (translate): new static member function, returns
1075 an InsetBase::Code corresponding to the input string.
1077 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1079 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1080 so that it opens the inset if it refers to the currently active
1083 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1085 * insetfloat.C (addToToc): use par_const_iterator_begin and
1086 par_const_iterator_end.
1088 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1090 * insetbibtex.[Ch]: bibtopic support.
1092 * insetfloat.[Ch]: add param \sideways {true|false}
1093 (support for sideways floats from rotating.sty).
1095 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1097 * insettext.[Ch]: add a default ctor. implement const version of
1103 * insetwrap.C: adjust
1105 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1107 * insettext.h: add insetAllowed returning true by default (fixing
1108 vanishing insets problem)
1110 * insettext.C (draw): handle the responsability of adding the
1111 ouside offset to collapsable. Clean code a bit.
1113 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1114 from insettext correctly, solve a couple of off-by-one drawing
1117 2004-03-25 Angus Leeming <leeming@lyx.org>
1119 * insetcaption.C (draw): squash warning about unused variable.
1121 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1123 * ExternalSupport.C: use the master buffer's temp dir
1124 * insetgraphics.C (latex): make relative filename relative to the
1126 * insetgraphics.C: use the master buffer's temp dir
1127 * insetinclude.C (masterFilename): new function
1128 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1129 is always true if loadIfNeeded() returns true)
1131 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1134 set its parent to the current buffer.
1135 (latex): use the tmppath of the master buffer, not just the parent
1136 buffer (makes a difference with more than one level of include
1137 insets). If the file name is relative write in the .tex file a
1138 name relative to the master buffer directory.
1140 * insetinclude.C: rename masterFilename to parentFilename (this
1141 points to the direct parent)
1143 2004-03-25 André Pönitz <poenitz@gmx.net>
1145 * inset.[Ch]: remover owner
1147 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1155 * insetcharstyle.[Ch]:
1163 * insetwrap.C: adjust
1165 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1167 * insetquote.C: use opening quote after '[' char.
1169 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1171 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1174 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1176 * insetcite.[Ch]: support jurabib.
1178 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1180 * insetcite.C: Support second \cite option.
1182 * insetcommand.[Ch]:
1183 * insetcommandparams.[Ch]: add second optional argument.
1185 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1187 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1188 shows the inset dialog.
1190 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1192 * insetlabel.[Ch]: remove them
1193 * Makefile.am: adjust
1195 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1197 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1199 * insetinclude.C (latex): show a GUI warning if textclasses don't
1201 * insetinclude.C: use mangledFilename() for temp files
1202 * insetgraphics.C (readInsetGraphics): remove version check, since
1203 the graphics inset has no own fileformat number anymore
1205 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1207 * insetquotes.[Ch]: added new member that allows direct access
1208 to single/double quotation marks.
1209 * insetnewline.[Ch]:
1210 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1212 2004-02-16 André Pönitz <poenitz@gmx.net>
1215 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1216 implicitly assume 'DispatchResult(true, true) with exception of
1217 InsetBase::priv_dispatch which does the equivalent of
1218 'retrun DispatchResult(false)'
1220 * inset*.[Ch] (priv_dispatch): adjust
1222 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1223 simplify cursor moving function,
1224 re-enable horizontal scrolling for large tables
1226 2004-02-13 André Pönitz <poenitz@gmx.net>
1228 * insettabular.[Ch]: some work after IU
1230 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1232 * inset.C (setPosCache): switch to absolute coords in insets
1233 * insettext.[Ch] (draw, drawFrame): adjust
1234 * insetcollapsable.C (draw): adjust
1237 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1239 * insettext.C (edit):
1240 (updateLocal): use the cur argument instead of the global cursor
1241 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1243 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1247 * insetfloat.C (validate): "H" -> 'H' in call to contains
1249 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1251 2004-01-30 André Pönitz <poenitz@gmx.net>
1255 * insetcollapsable.[Ch]:
1258 * insetgraphics.[Ch]:
1260 * insettabular.[Ch]:
1263 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1266 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * insettabular.C: add using statement for std::vector, remove
1269 std:: where using was already used.
1271 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1273 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1275 * insetinclude.C (validate): use feautures.nice() instead of
1278 2004-01-20 André Pönitz <poenitz@gmx.net>
1281 * insetbase.[Ch]: move stuff from mathcursor here.
1283 * insetbibitem.[Ch]:
1287 * insetcharstyle.[Ch]:
1288 * insetcollapsable.[Ch]:
1289 * insetcommand.[Ch]:
1291 * insetexternal.[Ch]:
1293 * insetgraphics.[Ch]:
1294 * insetinclude.[Ch]:
1298 * insettabular.[Ch]:
1302 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1305 2004-01-15 André Pönitz <poenitz@gmx.net>
1308 * insetbibitem.[Ch]:
1312 * insetcharstyle.[Ch]:
1313 * insetcollapsable.[Ch]:
1314 * insetcommand.[Ch]:
1316 * insetexternal.[Ch]:
1318 * insetgraphics.[Ch]:
1319 * insetinclude.[Ch]:
1323 * insettabular.[Ch]:
1327 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1329 2004-01-08 André Pönitz <poenitz@gmx.net>
1331 * insetcollapsable.[Ch]:
1332 * insettabular.[Ch]:
1334 * updatableinset.h: use cell index info from global cursor.
1336 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1338 * insetnote.C (InsetNoteParams::write): write label only once
1340 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1344 get rid of the SameName functor
1346 * insettabular.C: improve the functor.
1348 2003-12-29 Angus Leeming <leeming@lyx.org>
1350 * insetexternal.C (setParams): update defaultTemplateName.
1352 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1354 * insetbox.C: Use term "Box" in button label
1356 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1358 * insetcharstyle.C: get getDrawFont working again
1360 2003-12-15 André Pönitz <poenitz@gmx.net>
1362 * insettabular.[Ch]:
1363 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1365 2003-12-12 Angus Leeming <leeming@lyx.org>
1367 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1369 (InsetBranchParams): remove the branchlist hack.
1370 (isBranchSelected): new function, used to decide whether to
1371 print each output format. Also used by InsetList.
1372 (read, string2params): repair my own breakage ;-)
1374 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1376 * insetminipage.[Ch]: remove from repository.
1378 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1381 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1382 insetert to insetcollapsable; introduce virtual function
1383 setButtonLabel and invoke it from collapsable
1385 2003-12-12 Angus Leeming <leeming@lyx.org>
1387 * insetinclude.C (draw): cache x,y and so enable the
1388 dialog to be opened.
1390 2003-12-12 Angus Leeming <leeming@lyx.org>
1392 * mailinset.C (print_mailer_error): tidy up the output.
1394 2003-12-11 Angus Leeming <leeming@lyx.org>
1396 * mailinset.[Ch] (print_mailer_error): new helper function.
1398 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1399 calling InsetCommandMailer.
1400 (InsetCommandMailer::string2params): pass the name of the dialog.
1402 * insetbibitem.[Ch] (d-tor):
1403 * insetbibtex.[Ch] (d-tor):
1404 * insetcite.[Ch] (d-tor):
1405 * insetfloatlist.[Ch] (d-tor):
1406 * insetindex.[Ch] (d-tor):
1407 * insetlabel.[Ch] (d-tor):
1408 * insetref.[Ch] (d-tor):
1409 * insettoc.[Ch] (d-tor):
1410 * inseturl.[Ch] (d-tor): removed.
1411 Hiding the dialog is handled by InsetCommand.
1413 * insetbibtex.[Ch] (draw, metrics):
1414 * insetfloatlist.[Ch] (draw, metrics):
1415 * insetindex.[Ch] (draw, metrics): removed.
1416 Drawing is handled by InsetCommand.
1418 * insetbibitem.[Ch] (priv_dispatch):
1419 * insetbibtex.[Ch] (priv_dispatch):
1420 * insetcite.[Ch] (priv_dispatch):
1421 * insetfloatlist.[Ch] (priv_dispatch):
1422 * insetindex.[Ch] (priv_dispatch):
1423 * insetlabel.[Ch] (priv_dispatch):
1424 * insettoc.[Ch] (priv_dispatch):
1425 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1426 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1427 LFUN_INSET_DIALOG_SHOW.
1429 * insetbox.C (string2params):
1430 * insetbranch.C (string2params):
1431 * insetert.C (string2params):
1432 * insetexternal.C (string2params):
1433 * insetfloat.C (string2params):
1434 * insetinclude.C (string2params):
1435 * insetminipage.C (string2params):
1436 * insetnote.C (string2params):
1437 * insetvspace.C (string2params):
1438 * insetwrap.C (string2params): over-hauled.
1440 2003-12-10 Angus Leeming <leeming@lyx.org>
1442 * insetexternal.[Ch]: add a draft option and respect it when
1445 2003-12-10 Angus Leeming <leeming@lyx.org>
1447 * insetbox.C: (read, write): now prepend the inset contents with
1448 'Box' to identify the inset as a box inset.
1450 * insetbox.h: move the translators out of sight.
1452 2003-12-10 Angus Leeming <leeming@lyx.org>
1454 * insetert.C (string2params): clean-up using the new lyxlex interface.
1456 * insetexternal.C: ensure that InsetExternalParams has a default
1457 template, 'RasterImage'.
1459 2003-12-10 Angus Leeming <leeming@lyx.org>
1461 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1462 to an enum. Ensuing clean-ups through out the class.
1463 (read, write): now prepend the inset contents with 'Note' to identify
1464 the inset as a note inset.
1466 2003-12-10 Angus Leeming <leeming@lyx.org>
1468 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1469 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1471 2003-12-10 André Pönitz <poenitz@gmx.net>
1475 * insettabular.[Ch]:
1476 * insettext.[Ch]: remove unused insetInset()
1478 * insetert.C: disable some LFUNs
1480 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1482 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1484 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1486 2003-12-04 Angus Leeming <leeming@lyx.org>
1488 * insetexternal.C (draw): update the xo_, yo_ cache.
1490 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1492 (RotationDataType): new helper struct wrapping the
1493 RotationData::OriginType enum.
1495 2003-12-03 André Pönitz <poenitz@gmx.net>
1497 * inset.h: remove getParagraphs()
1499 * insetcollapsable.[Ch]:
1502 * insettabular.[Ch]:
1503 * insettext.C: use getText() instead of getParagraphs()
1505 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1507 * insetert.C: fix label text updating bug
1509 2003-12-02 Angus Leeming <leeming@lyx.org>
1511 * insetvspace.[Ch] (space): new member function. Make space_ private.
1512 (read): use the new, simpler lyxlex syntax.
1514 2003-12-01 André Pönitz <poenitz@gmx.net>
1516 * insetcollapsable.[Ch]:
1517 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1519 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1521 * insetvspace.C (read): handle 'end_inset' token.
1523 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1525 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1527 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1529 * insetcollapsable.[Ch]:
1531 * insetcharstyle.C: place inset content on the button when
1534 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1536 * insetvspace.C: remove VSpace::NONE; increase inset width
1538 2003-12-01 André Pönitz <poenitz@gmx.net>
1540 * insetbase.h: whitespace
1542 * inset.[Ch]: remove latexTextWidth
1543 make setBackgroundColor virtual
1545 * insettext.[Ch]: move ParagraphList member to LyXText
1547 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1553 * insetminipage.[Ch]:
1555 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1557 2003-11-28 Angus Leeming <leeming@lyx.org>
1559 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1560 hiding and showing the dialog respectively.
1561 (priv_dispatch): also actually update the inset contents.
1563 2003-11-28 Angus Leeming <leeming@lyx.org>
1565 * insetbox.C (d-tor):
1566 * insetbranch.C (d-tor):
1567 * insetcite.C (d-tor):
1568 * insetfloat.C (d-tor):
1569 * insetfloatlist.C (d-tor):
1570 * insetinclude.C (d-tor):
1571 * insetindex.C (d-tor):
1572 simplify the invocation of the Mailer::hideDialog() function.
1574 * insetminipage.C (showInsetDialog):
1575 simplify the invocation of the Mailer::showialog() function.
1577 2003-11-28 André Pönitz <poenitz@gmx.net>
1580 * insetvspace.[Ch]: new insets
1582 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1584 * insetcharstyle.C: Syntax change for CharStyles
1586 2003-11-28 André Pönitz <poenitz@gmx.net>
1588 * updatableinset.h: remove insetInInsetY
1590 * insetcollapsable.[Ch]:
1592 * insettabular.[Ch]:
1593 * insettext.[Ch]: adjust
1595 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1599 * insetcollapsable.[Ch]:
1601 * insettabular.[Ch]: remove setFont
1603 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1605 * render_graphic.[Ch]: adjust comments
1607 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1609 * insetgraphics.C (draw): cache xo_ & yo_
1611 2003-11-24 André Pönitz <poenitz@gmx.net>
1613 * insettext.C (setViewCache): don't call LyXText::init() anymore
1615 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1618 * insetcollapsable.[Ch]:
1619 * insetert.[Ch]: remove bufferview parameter in methods
1620 open, close, status, and updateStatus.
1622 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1624 * insetcollapsable.[Ch]:
1625 * insettabular.[Ch]:
1626 * insettext.[Ch] (getCursorDim): squash unused variable
1628 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1630 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1632 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1634 * insettext.C (draw): sets LyXText absolute coordinates
1636 2003-11-20 Angus Leeming <leeming@lyx.org>
1638 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1639 warnings about unused parameters.
1641 * insetcollapsable.C (open):
1642 * insettabular.C (pasteSelection):
1643 * insettoc.C (draw): ditto.
1645 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1647 * insetcollapsable.C:
1649 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1650 remove mouse_x mouse_y etc.
1652 2003-11-17 André Pönitz <poenitz@gmx.net>
1654 * insettext.[Ch] (cx, cy): remove
1656 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1658 2003-11-13 André Pönitz <poenitz@gmx.net>
1661 * insetcollapsable.[Ch]:
1662 * insettabular.[Ch]:
1663 * insettext.[Ch] (deleteLyXText): remove
1665 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1667 * insetcollapsable.[Ch] (fitInsetCursor): remove
1668 * insettabular.[Ch] (fitInsetCursor): remove
1669 * insettext.[Ch] (fitInsetCursor): remove
1670 * updatableinset.[Ch] (fitInsetCursor): remove
1671 (getCursorDIm): add virtual
1673 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1675 * src/insets/Makefile.am:
1676 * src/insets/inset.h:
1677 * src/insets/insetcharstyle.C:
1678 * src/insets/insetcharstyle.h: The Character Style /XML short
1681 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1683 * insettext.C: remove all update calls
1684 * insetcollapsable.C: remove all update calls
1686 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1688 * insettext.C (updateLocal, insertInset, setFont): remove
1691 2003-11-10 André Pönitz <poenitz@gmx.net>
1693 * inset.h: remove Inset::id_
1695 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1700 2003-11-10 André Pönitz <poenitz@gmx.net>
1704 * insetcollapsable.[Ch]:
1708 * insettabular.[Ch]:
1711 * updatableinset.[Ch]: remove inset locking & adjust
1713 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1715 * inset.h (allowSpellCheck): add (return true)
1716 * insetert.h (allowSpellCheck): add (return false)
1718 2003-11-05 José Matos <jamatos@lyx.org>
1724 * insetcaption.[Ch]:
1726 * insetcollapsable.[Ch]:
1727 * insetcommand.[Ch]:
1730 * insetexternal.[Ch]:
1732 * insetfloatlist.[Ch]:
1734 * insetgraphics.[Ch]:
1736 * insetinclude.[Ch]:
1739 * insetlatexaccent.[Ch]:
1742 * insetmarginal.[Ch]:
1743 * insetminipage.[Ch]:
1744 * insetnewline.[Ch]:
1747 * insetpagebreak.[Ch]:
1751 * insetspecialchar.[Ch]:
1752 * insettabular.[Ch]:
1754 * insettheorem.[Ch]:
1757 * insetwrap.[Ch]: rename ascii to plaintext
1758 and LatexRunParams to OutputParams.
1760 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1762 * insetcollapsable.C (edit): add open() all
1763 * insettext.C (edit): add setViewCache call
1765 2003-11-04 André Pönitz <poenitz@gmx.net>
1767 * inset.h (edit): move locking code from dispatch() to edit()
1773 * insetcollapsable.[Ch]:
1776 * insetexternal.[Ch]:
1777 * insetgraphics.[Ch]:
1782 * insettabular.[Ch]:
1783 * insettext.[Ch]: adjust
1785 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1788 * insetcollapsable.[Ch]:
1790 * insettabular.[Ch]:
1792 * updatableinset.[Ch]: remove dead search code
1794 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1797 * insetcollapsable.[Ch]:
1799 * insettabular.[Ch]:
1801 * updatableinset.[Ch]: remove dead spellcheck code
1803 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1805 * insettabular.C (lockInsetInInset): small fix
1807 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1810 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1811 from here. Be stricter on DispatchResult returned.
1813 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * Inset::dispatch's: adjust for new DispatchResult semantics.
1817 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * render_base.h: make clone return an auto_ptr
1820 * render_button.C (clone): adjust
1821 * render_graphic.C (clone): adjust
1822 * render_preview.C (clone): adjust
1824 * insettheorem.C (clone): return an auto_ptr
1826 * insettext.C (priv_dispatch): exception safety
1828 * insettabular.C: store the file scope variable paste_tabular in a
1829 scoped_ptr, adjust usage.
1831 * insetexternal.C (setParams): exception safety
1833 * insetbibitem.C (clone): exception safety
1835 2003-11-03 André Pönitz <poenitz@gmx.net>
1838 * insetcollapsable.[Ch]:
1839 * insettabular.[Ch]:
1840 * insettext.[Ch]: remove Inset::id and related functions
1842 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * insets: adjust for DispatchResult changes.
1846 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1848 * insetpagebreak.C: fix screen representation & ascii output.
1850 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1854 * insettabular.[Ch]:
1855 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1857 2003-10-31 José Matos <jamatos@lyx.org>
1859 * inset.h (ascii, linuxdoc, docbook):
1860 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1861 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1862 * insetcaption.[Ch] (ascii, docbook):
1863 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1864 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1865 * insetert.[Ch] (ascii, linuxdoc, docbook):
1866 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1867 * insetfloat.[Ch] (linuxdoc, docbook):
1868 * insetfloatlist.[Ch] (ascii):
1869 * insetfoot.[Ch] (docbook):
1870 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1871 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1872 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1873 * insetindex.[Ch] (docbook):
1874 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1875 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1876 * insetline.[Ch] (ascii, linuxdoc, docbook):
1877 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1878 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1879 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1880 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1881 * insetref.[Ch] (ascii, linuxdoc, docbook):
1882 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1883 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1884 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1885 * insettext.[Ch] (ascii, linuxdoc, docbook):
1886 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1887 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1888 * insetwrap.[Ch] (docbook):
1889 add LatexRunParams argument.
1891 2003-10-30 José Matos <jamatos@lyx.org>
1893 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1895 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * updatableinset.C (priv_dispatch):
1898 * insetwrap.C (priv_dispatch):
1899 * inseturl.C (priv_dispatch):
1900 * insettoc.C (priv_dispatch):
1901 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1902 (moveLeftIntern, moveUp, moveDown):
1903 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1904 (moveLeft, moveUp, moveDown):
1905 * insetref.C (priv_dispatch):
1906 * insetnote.C (priv_dispatch):
1907 * insetminipage.C (priv_dispatch):
1908 * insetlabel.C (priv_dispatch):
1909 * insetindex.C (priv_dispatch):
1910 * insetinclude.C (priv_dispatch):
1911 * insetgraphics.C (priv_dispatch):
1912 * insetfloatlist.C (priv_dispatch):
1913 * insetfloat.C (priv_dispatch):
1914 * insetexternal.C (priv_dispatch):
1915 * insetert.C (priv_dispatch):
1916 * insetcommand.C (priv_dispatch):
1917 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1918 * insetcite.C (priv_dispatch):
1919 * insetbranch.C (priv_dispatch):
1920 * insetbox.C (priv_dispatch):
1921 * insetbibtex.C (priv_dispatch):
1922 * insetbibitem.C (priv_dispatch):
1923 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1925 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1927 * insettext.C: small refactoring of docbook stuff
1929 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1932 (priv_dispatch): adjust for operator dispatch_result_t removal
1934 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1935 in a DispatchResult, adjust accordingly.
1936 (priv_dispatch): use strange >= construct... (will be removed later)
1938 * most insets: dispatch_result -> DispatchResult
1940 * insetbase.h: move DispatchResult out to dispatchresult.h
1942 2003-10-27 André Pönitz <poenitz@gmx.net>
1944 * insetpagebreak.[Ch]: new inset for page breaks
1946 * insetline.[Ch]: new inset for vertical lines
1951 2003-10-25 Angus Leeming <leeming@lyx.org>
1953 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1954 new virtual member functions, specialised...
1955 * render_button.h (asButton):
1956 * render_graphic.h (asGraphic):
1957 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1959 * insetexternal.C: use these new functions rather than dynamic_cast.
1960 Various other small simplifications.
1962 2003-10-22 Angus Leeming <leeming@lyx.org>
1964 * insetexternal.[Ch]: add the ability to 'preview' the external file
1967 * insetinclude.C: changes due to the changes in the RenderPreview
1970 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1971 message if the preview image is not available. Only initiate the
1972 loading of the preview from draw(). Ditto, start the monitoring
1973 of an external file from RenderMonitoredPreview::draw.
1975 2003-10-22 Angus Leeming <leeming@lyx.org>
1977 * insetcite.[Ch] (setLoadingBuffer): removed.
1978 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1979 ascertain whether to proceed with the (expensive) task of computing
1980 the natbib-style label. Remove the home-grown hack providing
1981 similar functionality.
1983 2003-10-22 Angus Leeming <leeming@lyx.org>
1985 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1986 class and into an anonymous namespace.
1988 2003-10-22 Angus Leeming <leeming@lyx.org>
1990 * insetcommand.h: remove the display method.
1994 * insetindex.h (InsetPrintIndex):
1995 * insettoc.h: add a display method, returning true.
1997 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1999 * insetcollapsable.h:
2003 * insetinclude.h: (1) finish off the inset display() work;
2004 (2) fix the "is a bit silly" bug (accessing char
2007 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2011 * insetfootlike.h: re-introduce display() for insets,
2012 fixing the various bugs (stretch of line above, math inset
2015 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * insetbase.C (dispatch): new func
2018 (priv_dispatch): new func replaces...
2019 (localDispatch): this, deleted.
2021 * all insets with dispatch modified for new code.
2023 2003-10-15 André Pönitz <poenitz@gmx.net>
2025 * insetcollapsable.[Ch]
2027 * inset.h: re-add some edit(bv, index) method called by undo
2029 2003-10-14 Angus Leeming <leeming@lyx.org>
2031 * insetexternal.[Ch] (view, cache, view_):
2032 * insetgraphics.[Ch] (view, cache, view_):
2033 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2034 (statusChanged): call LyX::cref().updateInset.
2036 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2037 the BufferView cache.
2039 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2042 2003-10-14 Angus Leeming <leeming@lyx.org>
2044 * insetinclude.C (metrics, draw): only draw the preview when previews
2047 2003-10-14 André Pönitz <poenitz@gmx.net>
2049 * insetcollapsable.[Ch]:
2050 * insettabular.[Ch]:
2052 * inset.h: getText() as alternative to getParagraphs()
2054 2003-10-13 Angus Leeming <leeming@lyx.org>
2057 * insetgraphicsParams.C: displayTranslator is now a function.
2059 2003-10-13 Angus Leeming <leeming@lyx.org>
2061 * insetinclude.C: remove #include "PreviewImage.h".
2063 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * ExternalSupport.C:
2066 * ExternalTransforms.C:
2068 * insetbox.h: ws changes only
2070 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * insetinclude.C (localDispatch): do not call
2073 InsetOld::localDispatch, just return UNDISPATCHED
2074 * insetgraphics.C (localDispatch): ditto
2075 * insetcommand.C (localDispatch): ditto
2077 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * inset.h: get rid of RESULT typedef for dispatch_result
2081 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2082 * insetert.[Ch] (localDispatch): ditto
2083 * insettabular.[Ch] (localDispatch): ditto
2088 * insettext.[Ch] (localDispatch): ditto
2091 (moveRightIntern): ditto
2092 (moveLeftIntern): ditto
2095 * updatableinset.[Ch] (localDispatch): ditto
2097 2003-10-12 Angus Leeming <leeming@lyx.org>
2099 * renderbase.h (view, view_): removed.
2100 * renderbase.C: removed.
2101 * Makefile.am: remove render_base.C. The shortest lived file in
2104 * renderbutton.C (draw):
2105 * render_graphic.C (draw): don't cache the BufferView.
2107 * insetabase.h (cache, view): removed.
2109 * inset.h (generatePreview) removed.
2111 * insetcallapsable.[Ch] (cache, view, view_): removed.
2113 * insetcollapsable.C (draw): don't cache the BufferView.
2115 * insetcommand.[Ch] (view): removed.
2117 * insetexternal.[Ch] (cache, view, view_):
2118 * insetgraphics.[Ch] (cache, view, view_):
2119 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2121 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2122 when you have direct access to it. In fact, don't use the cache at all.
2124 2003-10-10 Angus Leeming <leeming@lyx.org>
2126 * insetinclude.C (metrics): use preview_->metrics.
2127 (draw): use preview_->draw.
2129 * render_preview.[Ch] (pimage): removed.
2131 2003-10-10 Angus Leeming <leeming@lyx.org>
2133 * renderers.[Ch]: removed.
2136 * render_button.[Ch]:
2137 * render_graphic.[Ch]:
2138 * render_preview.[Ch]: new files. The first three are split out of
2139 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2140 contains a re-worked InsetInclude::PreviewImpl also.
2142 * Makefile.am: reflect the changed files.
2145 * insetexternal.[Ch]:
2146 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2148 * insetinclude.[Ch]: changes reflecting the change from
2149 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2155 * inseturl.C: add #include "support/std_ostream.h"
2157 2003-10-09 Angus Leeming <leeming@lyx.org>
2159 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2160 to PreviewedInset::previewReady.
2162 2003-10-09 Angus Leeming <leeming@lyx.org>
2164 * insetexternal.[Ch] (statusChanged):
2165 * insetgraphics.[Ch] (statusChanged): make a const member function.
2167 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2170 2003-10-09 Angus Leeming <leeming@lyx.org>
2172 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2173 to PreviewedInset's previewReady and removePreview member functions.
2175 2003-10-08 André Pönitz <poenitz@gmx.net>
2177 * insetcollapsable.C:
2178 * insettext.[Ch]: saner 'init' structure
2180 * updatableinset.[Ch]: remove unneeded code
2182 2003-10-08 Angus Leeming <leeming@lyx.org>
2184 Fix doxygen warnings.
2186 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2187 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2189 2003-10-07 Angus Leeming <leeming@lyx.org>
2191 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2192 be applied to InsetExternal.
2194 * Makefile.am: add these new files.
2196 * ExternalTemplate.[Ch]: add a list of available transforms to
2197 class Template and a list of factory functions for transformer classes
2198 that can act on this data to class Format.
2200 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2202 * ExternalSupport.C: Add code to replace transform placeholders
2203 with appropriate output.
2205 2003-10-07 Angus Leeming <leeming@lyx.org>
2207 * ExternalSupport.[Ch]: new files, moving the private member functions
2208 and namespace anon functions out of insetexternal.C to here, so making
2209 it easier to understand what is going on in insetexternal itself.
2211 * Makefile.am: add new files.
2213 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2214 allowing the class to be forward declared. (Also consistent with
2215 all other Params classes.)
2216 (write): moved out of the class. Move this function and those in
2217 namespace anon to ExternalSupport.[Ch].
2219 2003-10-07 Angus Leeming <leeming@lyx.org>
2221 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2222 non-const member function.
2224 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2229 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2231 2003-10-02 André Pönitz <poenitz@gmx.net>
2233 * insettext.C (read): make sure there is at least one par
2234 in the text after reading.
2236 2003-10-01 José Matos <jamatos@lyx.org>
2238 * insetbranch.C (linuxdoc, docbook): minor fix.
2240 2003-10-01 Angus Leeming <leeming@lyx.org>
2242 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2244 * insetexternal.[Ch]: changes due to the introduction of
2245 namespace lyx::external.
2247 2003-09-30 Angus Leeming <leeming@lyx.org>
2249 * insetexternal.[Ch] (Params::read, write): new member functions.
2251 2003-09-25 Angus Leeming <leeming@lyx.org>
2253 * insetexternal.[Ch] (TempName): new (private) nested struct with
2254 fake copy semantics. Enables us to use the generated copy c-tor
2255 in the Params struct.
2256 (Params::templatename, Params::tempname): use accessor functions.
2258 2003-09-25 Angus Leeming <leeming@lyx.org>
2260 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2261 function, returning a const pointer.
2263 2003-09-23 Angus Leeming <leeming@lyx.org>
2265 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2266 store them in a vector, preambleNames.
2268 * insetexternal.C (validate): loop over all preambleNames and call
2269 LaTeXFeatures::addExternalPreamble with each.
2271 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2273 * insetbranch.C: bug fix in branches
2275 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2277 * insetnote.C: small clean-up.
2279 2003-09-19 Angus Leeming <leeming@lyx.org>
2281 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2283 * insetcommand.C (string2params): clear params using the default c-tor.
2285 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2286 InsetInclude::Params. No more data in this struct than in
2287 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2288 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2289 (clone): remove #warning as it's now redundant.
2290 (set): add a 'Buffer const &' arg. Make private.
2291 (loadIfNeeded) move out of the class definition and into namespace anon.
2292 (getMasterFilename, getFileName): ditto.
2294 2003-09-18 Angus Leeming <leeming@lyx.org>
2296 * insetcommand.C (setParams): use the params' copy constructor.
2298 2003-09-18 Angus Leeming <leeming@lyx.org>
2300 * insetinsetbase.h (getLabelList):
2301 * insetinsetcollapsable.[Ch] (getLabelList):
2302 * insetinsetinclude.[Ch] (getLabelList):
2303 * insetinsetlabel.[Ch] (getLabelList):
2304 * insetinsettabular.[Ch] (getLabelList):
2305 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2306 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2308 2003-09-18 Angus Leeming <leeming@lyx.org>
2310 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2311 redundant baggage from yesteryear.
2312 Remove Params::flag as it is redundant; the info is present in
2315 2003-09-18 Angus Leeming <leeming@lyx.org>
2317 * insetinclude.C (latexString): add a Buffer const & arg.
2319 2003-09-18 Angus Leeming <leeming@lyx.org>
2324 * insettext.h: rename EnumLColor as LColor_color.
2326 2003-09-18 Angus Leeming <leeming@lyx.org>
2328 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2329 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2331 2003-09-16 Angus Leeming <leeming@lyx.org>
2333 * insetinclude.C (localDispatch): ensure that
2334 params_.masterFilename_ is set before trying to generate a
2335 preview, else we trigger an assert.
2337 2003-09-16 Angus Leeming <leeming@lyx.org>
2339 * insetinclude.C (PreviewImpl::parent): return a const reference.
2341 2003-09-16 Angus Leeming <leeming@lyx.org>
2343 * insetcollapsable.[Ch]: make all member variables, except for
2346 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2347 than access labelfont directly.
2348 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2349 use InsetCollapsable::setCollapsed, isOpen rather than access
2350 collapsed_ directly.
2352 * insetminipage.C (metrics):
2353 * insetnote.C (metrics):
2354 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2355 access collapsed_ directly.
2357 2003-09-16 Angus Leeming <leeming@lyx.org>
2359 * insetbibitem.C: add #include "lyxfont.h".
2361 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * insetbibtex.C: use namespace alias for lyx::support::os
2366 2003-09-16 Angus Leeming <leeming@lyx.org>
2368 * insetcollapsable.h: remove unused framecolor variable.
2369 Remove #include "LColor.h".
2371 * insetcollapsable.C: remove unused framecolor variable.
2374 * insetcollapsable.C:
2382 Add #include "LColor.h".
2384 2003-09-16 Angus Leeming <leeming@lyx.org>
2386 * insettext.[Ch] (frameColor): new accessor function.
2387 (frame_color_): stored as an int, allows us to remove #include
2388 "LColor.h" from insettext.h
2393 add #include "LColor.h".
2395 * insetcollapsable.h: add #include "LColor.h"
2396 (for its framecolor member variable).
2398 2003-09-16 Angus Leeming <leeming@lyx.org>
2400 * insetenv.C (constructor): use accessor functions to access
2401 InsetText variables.
2403 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2404 rename frame_color as frame_color_. Make private.
2406 * insettext.C: associated changes.
2408 2003-09-16 Angus Leeming <leeming@lyx.org>
2410 * inset.h: store background_color_ as an int, not as an
2411 LColor::color to get LColor.h out of the header file.
2414 * insetlatexaccent.C:
2417 * insetspecialchar.C:
2419 add #include "LColor.h".
2421 2003-09-16 Angus Leeming <leeming@lyx.org>
2423 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2424 cannot string calls together.
2426 2003-09-15 Angus Leeming <leeming@lyx.org>
2428 * inset.[Ch] (setBackgroundColor, backgroundColor):
2429 * insettext.[Ch] (setFrameColor):
2430 pass EnumLColor args, rather than LColor::color ones.
2432 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * insetwrap.C: remove usage of STRCONV
2444 2003-09-15 Angus Leeming <leeming@lyx.org>
2446 * renderers.C (draw):
2447 * insetlatexaccent.C (draw): explicitly define the color passed to
2450 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2452 * insettext.C: remove block causing problems in lockInsetInInset
2453 (mentioned erroneously under Bug #1366)
2455 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2457 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2460 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2462 * several files: change Assert to BOOST_ASSERT
2464 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2466 * insettext.[Ch]: remove drawText[XY]Offset
2468 2003-09-08 Angus Leeming <leeming@lyx.org>
2470 * insetcollapsable.C:
2475 * insetspecialchar.C:
2478 * insettoc.C: remove redundant using directives.
2480 2003-09-07 Angus Leeming <leeming@lyx.org>
2483 * insetspecialchar.h: remove #include "support/std_string.h".
2485 2003-09-06 Angus Leeming <leeming@lyx.org>
2487 * renderers.C: add #include "insets/inset.h"
2489 2003-09-05 Angus Leeming <leeming@lyx.org>
2491 * *.C: strip out redundant #includes. (193 in total.)
2493 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2495 * insets/insetbibtex.[Ch]:
2496 * insets/insetcommand.h:
2497 * insets/insetfloatlist.[Ch]:
2498 * insets/insetinclude.[Ch]:
2499 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2500 of insets like bibtex, include, toc and floatlist to the visible
2501 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2502 up the dialogs. Cursor has to be in front of the inset (i.e.
2503 start of row) for this to function.
2505 2003-09-04 Angus Leeming <leeming@lyx.org>
2507 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2508 structure outside of the Format struct. Format::preambleName refers to
2509 an item in the map of all preamble snippets.
2510 Make use of the new Debug::EXTERNAL flag.
2512 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2513 (validate): Small change due to the changed storage of preamble
2516 2003-09-04 Angus Leeming <leeming@lyx.org>
2518 * insetgraphics.C: #include "support/os.h"
2520 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2521 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2522 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2524 * insetcollapsable.h:
2526 * insetnote.C: move #include "funcrequest.h" out of the header file.
2528 2003-09-03 Angus Leeming <leeming@lyx.org>
2530 * insetexternal.C (updateExternal):
2531 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2534 2003-09-03 Angus Leeming <leeming@lyx.org>
2536 * insetexternal.C: don't bring namespace lyx::support into the global
2539 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2541 * insetbranch.C: Add Branch: to label
2543 2003-09-02 John Levon <levon@movementarian.org>
2546 * insettext.C: remove cursor.i[xy]()
2548 2003-08-28 Angus Leeming <leeming@lyx.org>
2550 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2551 "sh ", enabling the conversion to be carried out even if the script
2554 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * most files: change to use const Buffer refs
2558 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2560 * insetfootlike.C: whitespace.
2562 2003-08-26 John Levon <levon@movementarian.org>
2566 * insetindex.h: remove remaining mentions of needFullRow()
2568 2003-08-26 André Pönitz <poenitz@gmx.net>
2574 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2576 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2578 * insetbranch.C: Small fix to prevent a crash on loading.
2580 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2585 * insetcollapsable.h:
2587 * insetfloatlist.[Ch]:
2588 * insetfootlike.[Ch]:
2589 * insetinclude.[Ch]:
2595 * insettheorem.[Ch]:
2596 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2597 altogether, putting the logic in metrics/draw in the insets.=20
2598 Draws short single row insets with more or less realistic metrics.
2600 2003-08-19 André Pönitz <poenitz@gmx.net>
2602 * insettext.C: use new RowPainter interface
2604 2003-08-18 John Levon <levon@movementarian.org>
2606 * insetref.C: require amsmath for eqref
2608 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2612 * insetbranch.[Ch]: implements the 'branch inset'
2613 idea. This allows the output of various versions of a document
2614 from a single source version, selectively outputing or suppressing
2615 output of parts of the text.
2616 This implementation contains a 'branch list editor' in a separate
2617 tab of the document settings dialog. Branches are user definable
2618 and have a "display colour" to distinguish them on-screen.
2620 ColorHandler was somewhat cleaned up.
2621 (1) make possible a dynamically growing LColor list by allowing
2622 the graphic context cache to grow along (vector);
2623 (2) eliminate an IMHO unnecessary step in colour allocation.
2625 2003-08-15 André Pönitz <poenitz@gmx.net>
2627 * insettext.[Ch]: adjust after rowlist split
2629 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2631 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2632 rename valign-center to valign-middle;
2633 rename VALIGN_CENTER to VALIGN_MIDDLE
2635 2003-08-11 André Pönitz <poenitz@gmx.net>
2637 * inset.h: remove resizeLyXText
2640 * insetcollapsable.[Ch]:
2642 * insettabular.[Ch]: adjust
2644 * insettext.[Ch]: remove saveLyXTextState,
2645 restoreLyXTextStat, sstate, reinitLyXText
2647 2003-08-07 André Pönitz <poenitz@gmx.net>
2649 * inset.[Ch]: move non-crucial functions out-of-line
2651 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2652 remove duplicated code.
2654 2003-08-05 André Pönitz <poenitz@gmx.net>
2657 * insetcollapsable.[Ch]:
2667 * insettabular.[Ch]:
2670 * updatableinset.[Ch]: rip out "deep update"
2672 * insettext.C (localDispatch): merge cases with default branch
2674 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2676 * insettabular.[Ch] (updateLocal): simplify logic
2678 2003-08-04 André Pönitz <poenitz@gmx.net>
2680 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2681 is 'FULL' all the time.
2683 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * insetert.C (get_new_label): only add ... to the (closed) label
2686 when the string has been shortened
2688 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2690 * Always use std::endl with lyxerr
2692 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2694 * insetnote.C: update \author list
2696 2003-07-31 André Pönitz <poenitz@gmx.net>
2698 * insetcollapsable.h:
2699 * insettabular.[Ch]:
2700 * insettext.[Ch]: remove toggleSelection
2702 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2704 (with help from Juergen Spitzmueller)
2705 * insetnote.C: add add i18n support. Use Prefs-definable
2706 colours for Comment and Greyedout.
2708 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2710 * insetcollapsable.[Ch]:
2712 * insetert.C: factor out the detection of clicking on the inset
2713 button as 'hitButton'. John Levon contributed.
2715 2003-07-30 André Pönitz <poenitz@gmx.net>
2717 * insetcollapsable.C:
2719 * insettabular.C: parantheses, localize vars etc.
2721 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2723 * insetnote.C: Implement a newenvironment in preamble for
2724 greyedout. Patch provided by Jürgen Spitzmüller.
2726 2003-07-29 Angus Leeming <leeming@lyx.org>
2728 * insetcommand.C (localDispatch): default to
2729 InsetOld::localDispatch.
2731 * insetbibitem.C (localDispatch):
2732 * insetbibtex.C (localDispatch): remove call to
2733 ChangeCitationsIfUnique.
2735 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2737 * insetexternal.C (read): use pushpophelper.
2739 2003-07-28 José Matos <jamatos@lyx.org>
2741 * insetext.C (read): \end_document replaces \the_end.
2743 2003-07-28 José Matos <jamatos@fep.up.pt>
2745 * insetert.C (write): \layout -> \begin_layout.
2746 Add missing \end_layout.
2748 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2750 * insetquotes.C: document a bit the format
2752 * insettabular.C (write): remove extra space
2754 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2755 * insetnote.C: Umpf. Hope I *now* get it right :-(
2757 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2758 *insetnote.C: did the right fix to greyedout: \color
2759 instead of \textcolor.
2761 2003-07-28 Angus Leeming <leeming@lyx.org>
2763 * insetbibtex.h: remove extraneous forward declaration.
2766 * insetbibtex.h: Also remove long-dead Holder member class
2769 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2771 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2774 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * insetwrap.C (addToToc): adjust for lyx::toc
2778 * insetfloatlist.C (ascii): adjust for lyx::toc
2780 * insetfloat.C (addToToc): adjust for lyx::toc
2782 2003-07-27 José Matos <jamatos@fep.up.pt>
2784 * insetnote.h (linuxdoc,docbook): update support.
2786 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2788 * insetfloat.C (wide): add a space to label, for consistency
2790 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * insettext.C (nextChange): adjust for lyx::find
2793 (searchForward): ditto
2794 (searchBackward): ditto
2796 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2798 * insetgraphicsParams.C:
2799 * insetexternal.C: declare extern displayTranslator
2802 * renderers.C: add #include "support/LAssert.h"
2804 2003-07-27 José Matos <jamatos@fep.up.pt>
2806 * insetfloat.[Ch] (linuxdoc):
2807 * insetgraphics.C (linuxdoc):
2808 * insettabular.C (linuxdoc):
2809 * insettext.[Ch] (linuxdoc): add support for tables and figures
2812 2003-07-27 José Matos <jamatos@fep.up.pt>
2814 * insetinclude (latex): comply with makeLaTeXFile argument change.
2816 2003-07-26 Asger Alstrup <alstrup@local>
2818 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2819 the undo crashes. We'll see what problems other places this will
2822 2003-07-26 Angus Leeming <leeming@lyx.org>
2824 * insetgraphics.C: remove unused declaration of system_tempdir.
2826 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * rename Inset to InsetOld
2830 * all inset files (clone): return a auto_ptr<InsetBase>
2832 2003-07-23 Angus Leeming <leeming@lyx.org>
2834 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2836 2003-07-23 Angus Leeming <leeming@lyx.org>
2838 * mailinset.[Ch] (inset2string):
2839 * insetcommand.[Ch] (inset2string):
2840 * insetert.[Ch] (inset2string):
2841 * insetexternal.[Ch] (inset2string):
2842 * insetfloat.[Ch] (inset2string):
2843 * insetgraphics.[Ch] (inset2string):
2844 * insetinclude.[Ch] (inset2string):
2845 * insetminipage.[Ch] (inset2string):
2846 * insetnote.[Ch] (inset2string):
2847 * insettabular.[Ch] (inset2string):
2848 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2850 * insetexternal.[Ch]:
2851 * insetgraphics.[Ch]: get rid of the view() function. Associated
2852 changes to the mailers' string2params and params2string functions.
2854 2003-07-23 Angus Leeming <leeming@lyx.org>
2856 * insetexternal.[Ch]: store the external file name in a FileName
2857 member variable rather than a string + associated changes.
2859 2003-07-21 Angus Leeming <leeming@lyx.org>
2861 * insetgraphicsParams.[Ch]: store the graphics file name in
2862 a FileName member variable rather than a string.
2864 * insetgraphics.[Ch]:
2865 * insetgraphicsParams.[Ch]: Associated changes.
2867 2003-07-21 Angus Leeming <leeming@lyx.org>
2869 * insetgraphics.[Ch] (string2params, params2string): passed a
2870 buffer_path argument.
2873 2003-07-21 Angus Leeming <leeming@lyx.org>
2876 * insetgraphicsParams.[Ch]:
2878 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2880 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2882 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2884 2003-07-18 André Pönitz <poenitz@gmx.net>
2887 * insetminipage.[Ch]:
2888 * insettabular.[Ch]:
2891 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2893 2003-07-18 André Pönitz <poenitz@gmx.net>
2897 * insetcollapsable.C:
2901 * insetgraphics.[Ch]:
2902 * insetlatexaccent.[Ch]:
2907 * insetspecialchar.C:
2908 * insettabular.[Ch]:
2910 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2912 2003-07-17 André Pönitz <poenitz@gmx.net>
2914 * insetcollapsable.C:
2916 * insettext.C: don't call Inset::update() anymore
2919 * insettabular.[Ch]: remove unneeded in_update_ members
2921 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2923 2003-07-16 André Pönitz <poenitz@gmx.net>
2925 * insettext.C (selectAll): remove
2927 2003-07-16 John Levon <levon@movementarian.org>
2930 * insetnote.C: implement showInsetDialog()
2932 2003-07-15 André Pönitz <poenitz@gmx.net>
2935 * insettext.C: refresh_status tristate -> need_update bool
2937 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2939 * insettext.C: adjust call to LyXText::init
2941 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2943 * insettext.C: use bufferview_funcs->replaceSelection()
2944 to delete selections in some cases (bugs 441, 673, 702, 954).
2946 2003-07-14 André Pönitz <poenitz@gmx.net>
2948 * insettext.C (draw): use slimmed down rowpainter interface
2950 2003-07-14 André Pönitz <poenitz@gmx.net>
2952 * insetcollapsable.C:
2954 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2955 remove unused BufferView * argument
2957 2003-07-14 André Pönitz <poenitz@gmx.net>
2959 * insettext.[Ch]: used cached metrics a bit more
2961 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2963 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2965 2003-07-10 André Pönitz <poenitz@gmx.net>
2968 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2970 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * introduce namespace lyx::graphics
2974 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * introduce namespace lyx::support
2978 2003-06-30 André Pönitz <poenitz@gmx.net>
2980 * insetcite.C (localDispatch): fix case of missing return value
2982 * insetcite.C (ascii): remove unneeded temporary
2984 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2986 * insetspace.h: fix \file
2988 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2989 * insetinclude.C (fillWithBibKeys): ditto
2991 * insetbibitem.C: fix type const order
2993 * inset.C (getLyXText): add varname for arg
2995 * ExternalTemplate.h: fix type const order
2997 2003-06-27 André Pönitz <poenitz@gmx.net>
2999 * insettext.C: take care of removed LyXCursor::row_ member
3001 * insettext.[Ch]: use new TextCursor struct for sstate
3003 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3005 * inseterror.[Ch]: removed
3007 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3009 * insetinclude.C (docbook): use parseError instead of sgmlError
3011 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3013 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3014 of BufferList::loadLyXFile
3016 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * insettext.C (update): simplify
3019 (updateLocal): remove commented code
3020 (insetUnlock): simplify
3021 (lockInset): simplify
3022 (updateInsetInInset): simplify
3023 (localDispatch): simplify
3025 (resizeLyXText): simplify
3026 (collapseParagraphs): simplify
3028 * insetert.C (get_new_label): simplify
3030 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3032 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3033 pasteSelection with index
3035 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3037 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3039 2003-06-16 André Pönitz <poenitz@gmx.net>
3041 * insetbase.h: new virtual base function clone()
3043 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3044 Inset * clone() -> InsetBase * clone()
3046 2003-06-13 André Pönitz <poenitz@gmx.net>
3048 * insettabular.[Ch]: make tabular a proper member
3050 2003-06-12 André Pönitz <poenitz@gmx.net>
3052 * insettabular.[Ch]: some renaming plus whitespace
3054 2003-06-11 Angus Leeming <leeming@lyx.org>
3056 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3059 * insetbutton.[Ch]: removed.
3060 * graphicinset.[Ch]: renamed as renderers.[Ch].
3062 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3063 Create a new class ButtonRenderer using the InsetButton::metrics() and
3065 Derive both from a common RenderedInset base class.
3067 * insetcommand.[Ch]:
3068 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3069 Give it a ButtonRenderer member variable. Use it.
3070 Give the classes working copy c-tors.
3071 No longer derive from boost::noncopyable.
3073 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3074 display its contents as a button or as a graphic.
3076 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3079 2003-06-11 Angus Leeming <leeming@lyx.org>
3081 * insetcite.C (localDispatch): reformat.
3083 * insetref.C (localDispatch): enable dialog to be lauched.
3085 2003-06-11 John Levon <levon@movementarian.org>
3087 * insettabular.C: correctly mark all cells as erased
3089 2003-06-11 Angus Leeming <leeming@lyx.org>
3091 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3092 ExternalTemplate but its name, templatename. This means that a file
3093 containing a reference to an External Template not installed on the
3094 current machine will be saved retaining this info rather than inserting
3095 the first "valid" template from the list of templates.
3097 As a by product, the visual statement that the Template is missing is
3100 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3102 * insettext.C (appendParagraphs): remove some commented code.
3104 2003-06-10 Angus Leeming <leeming@lyx.org>
3106 * graphicinset.[Ch] (view): removed the publicly accessible
3107 function to set the cache.
3109 * insetexternal.[Ch]: move tempname_ into the Params struct.
3110 (Params d-tor): new function, to clean-up this temp file.
3111 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3113 (editExternal, doSubstitution): move out of class.
3115 2003-06-10 Angus Leeming <leeming@lyx.org>
3117 * graphicinset.[Ch] (params): removed.
3118 * graphicinset.h (operator=): declared private but not defined.
3119 (statusMessage): made private.
3121 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3123 2003-06-07 John Levon <levon@movementarian.org>
3125 * insetert.C (latex): make a newline mean just that not
3128 2003-06-07 José Matos <jamatos@fep.up.pt>
3130 * insethfill.[Ch] (linuxdoc, docbook): implement output
3131 * insetspace.C (linuxdoc, docbook): remove coments as the code
3134 2003-06-06 José Matos <jamatos@fep.up.pt>
3136 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3138 2003-06-06 André Pönitz <poenitz@gmx.net>
3140 * insetwrap.[Ch]: code compactification
3142 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3144 * mailinset.C (updateDialog): use Dialogs::visible
3146 2003-06-04 Angus Leeming <leeming@lyx.org>
3148 * graphicinset.C (draw): add a comment for the #if 0 block.
3150 * insetexternal.h: remove Params::parameters variable.
3152 * insetexternal.C (read, write): rewrite to output new ExternalInset
3153 format and read it back making full use of LyXLex.
3155 2003-06-04 André Pönitz <poenitz@gmx.net>
3157 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3159 2003-06-04 John Levon <levon@movementarian.org>
3161 * insettabular.C: back out tall table speed up. It was broken
3163 2003-06-03 Angus Leeming <leeming@lyx.org>
3165 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3166 Remove ViewCommand and UpdateCommand.
3168 * graphicinset.C (update): bug fix. Set the params before calling the
3171 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3172 the BufferView cache to enable the InsetExternal::editCommand to
3173 be invoked from the frontends. Would not be needed if this were
3174 dispatched properly.
3175 (old_ascent_): variable removed.
3177 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3178 do any necessary conversions of external material. Also use the
3179 new GraphicsInset to display the inset within LyX.
3181 2003-06-03 Angus Leeming <leeming@lyx.org>
3183 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3184 and move it somewhere where InsetExternal can use it too.
3186 * Makefile.am: add the new files.
3188 * insetgraphics.[Ch]: make use of the new GraphicInset.
3190 2003-06-03 John Levon <levon@movementarian.org>
3193 * insetbibitem.[Ch]:
3196 * insetcommand.[Ch]:
3200 * insetexternal.[Ch]:
3204 * insetgraphics.[Ch]:
3206 * insetinclude.[Ch]:
3209 * insetlatexaccent.[Ch]:
3210 * insetmarginal.[Ch]:
3211 * insetminipage.[Ch]:
3218 * insetspecialchar.[Ch]:
3219 * insettabular.[Ch]:
3221 * insetthereom.[Ch]:
3224 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3226 * insetgraphics.[Ch]:
3227 * insetgraphicsParams.[Ch]: always store an absolute
3230 2003-06-02 André Pönitz <poenitz@gmx.net>
3234 * insetlatexaccent.C: remove duplicated call to metrics()
3236 2003-06-02 John Levon <levon@movementarian.org>
3238 * insettabular.C: fix resize of column width
3240 2003-06-02 John Levon <levon@movementarian.org>
3245 * insetparent.C: remove insetparent
3247 2003-06-02 André Pönitz <poenitz@gmx.net>
3254 * insetcollapsable.[Ch]:
3258 * insetgraphics.[Ch]:
3259 * insetinclude.[Ch]:
3260 * insetlatexaccent.[Ch]:
3261 * insetminipage.[Ch]:
3262 * insetnewline.[Ch]:
3265 * insetspecialchar.[Ch]:
3266 * insettabular.[Ch]:
3267 * insettext.[Ch]: unify first drawing phase
3270 * insetbase.h: move validate() to the base
3272 2003-05-31 Angus Leeming <leeming@lyx.org>
3274 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3276 2003-05-30 André Pönitz <poenitz@gmx.net>
3281 * insetcaption.[Ch]:
3282 * insetcollapsable.[Ch]:
3285 * insetgraphics.[Ch]:
3286 * insetinclude.[Ch]:
3287 * insetlatexaccent.[Ch]:
3288 * insetnewline.[Ch]:
3291 * insetspecialchar.[Ch]:
3292 * insettabular.[Ch]:
3294 * updatableinset.[Ch]: unify second drawing phase
3296 2003-05-30 John Levon <levon@movementarian.org>
3298 * insetgraphics.C: fix a bformat
3300 2003-05-29 John Levon <levon@movementarian.org>
3302 * insettabular.C: remove unused bufferOwner()
3304 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * insettext.C (lockInsetInInset): adjust
3307 (getLabelList): use const_iterator, adjust
3308 (getInsetFromID): use const_iterator, adjust
3309 (addPreview): use const_iterator, adjust
3311 * insetwrap.C (clone): remove const_cast
3313 * insetnote.C (clone): remove const_cast
3315 * insetminipage.C (clone): remove const_cast
3317 * insetmarginal.C (clone): remove const_cast
3319 * insetfoot.C (clone): remove const_cast
3321 * insetfloat.C (clone): remove const_cast
3323 * insetert.C (clone): remove const_cast
3325 * delete commented same_id functions from a lot of files.
3327 2003-05-28 John Levon <levon@movementarian.org>
3333 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3335 * insetminipage.C: fix metrics (bug 1144)
3337 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * insettext.C (saveLyXTextState): adjust
3340 (restoreLyXTextState): adjust
3343 (unlockInsetInInset): adjust
3344 (localDispatch): adjust
3345 (getLyXText): adjust
3347 * insettabular.C (insertAsciiString): adjust
3349 2003-05-27 André Pönitz <poenitz@gmx.net>
3352 * insetcollapsable.C:
3355 * insetlatexaccent.C:
3360 * insetspecialchar.C:
3362 * insettext.C: dim.w -> dim.wid
3364 2003-05-26 John Levon <levon@movementarian.org>
3366 * insettabular.C: avoid drawing all of a long table
3367 if it's not needed. A big speedup
3369 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * remove same_id from function signatures, adjust
3373 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * insettext.C (InsetText): adjust
3377 (setParagraphData): separate same_id cases, adjust
3378 (appendParagraphs): adjust
3379 (appendParagraphs): adjust
3381 2003-05-23 André Pönitz <poenitz@gmx.net>
3383 * insetbutton.h: whitespace
3385 * insettabular.C: more compact code
3387 * updatableinset.C: remove const_cast
3390 2003-05-23 Angus Leeming <leeming@lyx.org>
3392 * insetexternal.C (write): check how many lines are output.
3393 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3394 if the template has defined it.
3396 2003-05-23 Angus Leeming <leeming@lyx.org>
3398 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3400 2003-05-23 Angus Leeming <leeming@lyx.org>
3402 * insetfoot.C (latex):
3403 * inseturl.C (latex): rename fragile as moving_arg.
3405 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * inseterror.C (localDispatch): comment out unused var.
3409 2003-05-22 Angus Leeming <leeming@lyx.org>
3411 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3412 passed through the LatexRunParams arg.
3414 2003-05-22 Angus Leeming <leeming@lyx.org>
3416 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3417 through the LatexRunParams arg.
3419 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3420 arg rather than through a global var.
3422 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * insetspecialchar.C (dimension): use a string.
3426 2003-05-22 Angus Leeming <leeming@lyx.org>
3428 * insetbibtex.C (latex):
3429 * insetgraphics.C (latex):
3430 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3431 runparams rather than from the buffer itself.
3433 2003-05-22 Angus Leeming <leeming@lyx.org>
3435 * inset*.[Ch] (latex):
3436 passed a LatexRunParams parameter.
3438 * insetgraphics.C (latex): actually use it ;-)
3440 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3442 * insetfloat.C (addToToc): trivial compile fix
3444 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * insettext.[Ch] (paragraph): delete unused function
3448 * insetfloat.C (addToToc): parlist simplfication
3450 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3452 * insetspace.[Ch]: added (new space insets)
3454 * inset.h: handle new space insets
3456 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * insetfloat.C (addToToc): adjust
3460 2003-05-21 André Pönitz <poenitz@gmx.net>
3462 * insettext.[Ch]: fix drawing bug introduced earlier
3464 2003-05-19 André Pönitz <poenitz@gmx.net>
3466 * insetspecialchar.C: fix bug introduced yesterday
3468 2003-05-19 André Pönitz <poenitz@gmx.net>
3472 * insetcollapsable.[Ch]:
3476 * insetgraphics.[Ch]:
3477 * insetgraphicsParams.[Ch]:
3478 * insetlatexaccent.[Ch]:
3479 * insetminipage.[Ch]:
3480 * insetnewline.[Ch]:
3482 * insetspecialchar.[Ch]:
3483 * insettabular.[Ch]:
3484 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3486 2003-05-19 André Pönitz <poenitz@gmx.net>
3489 * insettext.C: more insetenv
3491 2003-05-16 André Pönitz <poenitz@gmx.net>
3494 * insetminimpage.[Ch]:
3495 * insetcollapsable.[Ch]: fix #832
3497 2003-05-16 André Pönitz <poenitz@gmx.net>
3500 * insetbibitem.[Ch]:
3504 * insetcollapsable.[Ch]:
3505 * insetcommand.[Ch]:
3508 * insetexternal.[Ch]:
3509 * insetfloatlist.[Ch]:
3510 * insetgraphics.[Ch]:
3511 * insetinclude.[Ch]:
3514 * insetlatexaccent.[Ch]:
3517 * insettabular.[Ch]:
3521 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3523 2003-05-13 André Pönitz <poenitz@gmx.net>
3526 * insetcollapsable.C:
3530 * insetwrap.C: tostr from own header
3542 * insetwrap.C: STRCONV
3545 2003-05-12 André Pönitz <poenitz@gmx.net>
3557 * insetwwrap.C: boost::format -> bformat all over the place
3559 2003-05-05 André Pönitz <poenitz@gmx.net>
3561 * insettext.h: add missing #include <map>
3563 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * insettext.C (InsetText): parlist cleanup
3568 (insetUnlock): ditto
3570 (lockInsetInInset): ditto
3574 (searchBackward): ditto
3575 (collapseParagraphs): ditto
3577 2003-05-06 John Levon <levon@movementarian.org>
3579 * insetcaption.C: don't cast wrap inset to InsetFloat
3582 * insetfloat.C: remove unneeded type() function
3584 2003-05-05 André Pönitz <poenitz@gmx.net>
3588 * insettabular.[Ch]:
3589 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3590 replace getFirstParagraph() by getParagraphs()
3592 2003-05-03 John Levon <levon@movementarian.org>
3594 * insetcollapsable.h:
3595 * insetcollapsable.C:
3601 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3602 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3603 getCursor(). Remove explicit cursor hides.
3605 2003-05-02 André Pönitz <poenitz@gmx.net>
3607 * insettext.C: remove unneeded &*
3609 2003-04-30 John Levon <levon@movementarian.org>
3611 * insettabular.C: fix edit message
3613 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * insettext.C (setFont): do not convert iterator -> pointer
3617 * insettabular.C (localDispatch): do not convert iterator -> pointer
3619 (tabularFeatures): ditto
3621 2003-04-29 André Pönitz <poenitz@gmx.net>
3623 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3625 2003-04-28 André Pönitz <poenitz@gmx.net>
3627 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3630 2003-04-25 André Pönitz <poenitz@gmx.net>
3632 * insetenv.C: derive from InsetText instead of InsetCollapsable
3634 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3636 * insetexternal.C (string2params): dont do anything if the string
3638 * insetgraphics.C (string2params): ditto
3639 * insetcommand.C (string2params): ditto
3640 * insetert.C (string2params): ditto
3641 * insetfloat.C (string2params): ditto
3642 * insetinclude.C (string2params): ditto
3643 * insetminipage.C (string2params): ditto
3644 * insettabular.C (string2params): ditto
3645 * insetwrap.C (string2params): ditto
3647 2003-04-24 André Pönitz <poenitz@gmx.net>
3649 * insetref.C: support for eqref
3651 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * insetert.C (read): use ParagraphList::iterator.
3655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * insetquotes.C (latex): comment some code and add warnings.
3659 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3661 * insetexternal.C (localDispatch): added a missing DISPATCHED
3663 2003-04-12 John Levon <levon@movementarian.org>
3665 * insetwrap.C (addToToc): fix a crash, conversion
3666 from while to for loop forgot to remove the explicit
3669 2003-04-10 John Levon <levon@movementarian.org>
3671 * insettabular.C (tabularFeature): make sure
3672 to update the dialog when we change something
3675 (getStatus): don't disable some lfuns (bug 939)
3677 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * insettext.C (saveLyXTextState): adjust
3680 (localDispatch): adjust
3686 * insettabular.C (localDispatch): adjust
3688 (tabularFeatures): adjust
3690 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3692 * insettabular.C (searchForward,searchBackward): fix bug 782
3694 2003-04-07 John Levon <levon@movementarian.org>
3697 * insettext.C: clear status message on inset exit
3699 2003-04-03 John Levon <levon@movementarian.org>
3701 * insetcommand.C: return dispatched on DIALOG_UPDATE
3703 2003-04-02 John Levon <levon@movementarian.org>
3705 * insettabular.C: tab lfuns renamed
3707 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * insettext.C (update): move towards ParagraphList
3710 (updateLocal): ditto
3712 (insetUnlock): ditto
3714 (lockInsetInInset): ditto
3715 (updateInsetInInset): ditto
3716 (localDispatch): ditto
3719 (resizeLyXText): ditto
3720 (searchBackward): ditto
3721 (collapseParagraphs): ditto
3724 * insetwrap.C (InsetWrap): adjust
3725 (addToToc): adjust and rewrite loop
3727 * insettext.[Ch] (paragraph): delete function
3729 * insettabular.C (moveNextCell): adjust
3730 (movePrevCell): adjust
3731 (insertAsciiString): adjust
3733 * insetfloat.C (InsetFloat): adjust
3736 * insetert.C (InsetERT): adjust
3737 (write): adjust, and rewrite loop
3738 (latex): adjust, and rewrite loop
3739 (linuxdoc): adjust, and rewrite loop
3740 (docbook): adjust, and rewrite loop
3741 (localDispatch): adjust
3742 (get_new_label): adjust
3744 2003-04-01 John Levon <levon@movementarian.org>
3746 From Alfredo Braunstein
3749 * insetbutton.C: add localDispatch()
3751 * insetcommand.C: return DISPATCHED when edit() called
3753 * insettext.C: fix bug 967
3755 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * insettext.C: adjust
3759 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * insettext.C (draw): adjust
3762 (crow): return a RowList::iterator not a Row*
3764 * insetminipage.C (localDispatch): adjust
3766 * insetert.C (localDispatch): adjust
3768 2003-03-31 John Levon <levon@movementarian.org>
3771 * insetgraphicsParams.C: use_gui moved to lyx_gui
3773 2003-03-31 John Levon <levon@movementarian.org>
3775 * insettext.C: Alert fix
3777 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * insettext.C (ascent): adjust for RowList
3782 (getLyXText): adjust
3783 (toggleSelection): adjust
3785 * insetminipage.C (localDispatch): adjust for RowList
3787 * insetert.C (localDispatch): adjust for RowList
3788 (getMaxWidth): adjust for RowList
3790 2003-03-29 John Levon <levon@movementarian.org>
3792 * insetert.C: Alert cleanup
3794 2003-03-29 John Levon <levon@movementarian.org>
3796 * insettabular.C: Alert fix
3798 2003-03-28 John Levon <levon@movementarian.org>
3800 * insetfloat.C: reset label on INSET_MODIFY
3802 2003-03-28 John Levon <levon@movementarian.org>
3804 * insetgraphicsParams.C: read subcaptionText as a whole line
3807 2003-03-28 John Levon <levon@movementarian.org>
3809 * insettext.C: remove unused prototypes
3811 2003-03-25 Angus Leeming <leeming@lyx.org>
3813 * insetbibitem.C (localDispatch): repaint the view after modifying
3814 a bibitem inset in case the maximum InsetBibitem width has changed.
3816 2003-03-25 John Levon <levon@movementarian.org>
3819 * insettabular.C: LyXText renamings
3821 2003-03-24 John Levon <levon@movementarian.org>
3823 * insettext.C: remove some dead code. Fix bug 972 and
3824 related by posting a repaint in updateLocal(), and making
3825 the SEL functions set SELECTION.
3827 2003-03-22 John Levon <levon@movementarian.org>
3830 * inset.C: remove no-longer-needed topx_set
3832 * insetcollapsable.h:
3833 * insetcollapsable.C: remove dead code
3836 * insetert.C: rebreak the rows when a possible
3837 change in size is made, and reset the cursor
3840 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3842 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3843 topx_set. Fix drawing errors for clearInset(). Remove
3844 some unnecessary uses of topx, which should die.
3846 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3847 is no longer needed. Replace it with an ugly hack.
3849 2003-03-20 John Levon <levon@movementarian.org>
3852 * insetcollapsable.h:
3853 * insetcollapsable.C:
3861 * insettext.C: remove spurious font parameter
3862 from update(). Fix drawing of ERT insets inside
3863 insets (bug 966). Remove unused mark_dirty from
3864 tabular's updateLocal()
3866 2003-03-19 John Levon <levon@movementarian.org>
3875 * insetwrap.C: remove unused getter/setters
3877 2003-03-19 John Levon <levon@movementarian.org>
3879 * several files: bv->updateInset() doesn't take
3880 a bool mark_dirty any more
3882 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * adjust for BufferView* arg removal from lyxtext.
3886 2003-03-17 John Levon <levon@movementarian.org>
3888 * most files: remove the "cleared" parameter
3889 to draw in favour of always clearing. Associated
3892 2003-03-16 John Levon <levon@movementarian.org>
3894 * insettext.C: remove unused s.refresh
3896 2003-03-13 Angus Leeming <leeming@lyx.org>
3898 * insettext.C (edit): replace Dialogs::updateParagraph with
3899 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3901 2003-03-13 André Pönitz <poenitz@gmx.net>
3903 * Makefile.am: insert insetenv
3905 * insethenv.[Ch]: new files, currently inactive
3907 2003-03-12 John Levon <levon@movementarian.org>
3917 * insettext.C: use new insetnewline
3919 2003-03-12 John Levon <levon@movementarian.org>
3921 * insettext.C: readToken became readParagraph
3923 2003-03-12 John Levon <levon@movementarian.org>
3925 * insettext.C: use parlist iterator for reading contents
3927 2003-03-12 John Levon <levon@movementarian.org>
3929 * insettext.C: name change to readToken()
3931 2003-03-11 André Pönitz <poenitz@gmx.net>
3933 * Makefile.am: insert insethfill
3935 * insethfill.[Ch]: new files
3937 2003-03-10 Angus Leeming <leeming@lyx.org>
3939 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3941 (hideDialog): calls the new static Dialogs::hide() method.
3943 * insetbibitem.C (edit):
3944 * insetbibtex.C (edit):
3945 * insetcite.C (edit):
3946 * insetcommand.C (localDispatch):
3947 * inseterror.C (d-tor):
3948 * insetert.C (showInsetDialog):
3949 * insetexternal.C (localDispatch, edit):
3950 * insetfloat.C (localDispatch, showInsetDialog):
3951 * insetfloatlist.C (edit):
3952 * insetgraphics.C (localDispatch, edit):
3953 * insetinclude.C (localDispatch, edit):
3954 * insetindex.C (edit):
3955 * insetlabel.C (edit):
3956 * insetminipage.C (localDispatch, showInsetDialog):
3957 * insetref.C (edit):
3958 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3959 resetPos, showInsetDialog, openLayoutDialog):
3960 * insettoc.C (edit):
3961 * inseturl.C (edit):
3962 * insetwrap.C (localDispatch, showInsetDialog):
3963 changes due to the changed MailInset interface.
3965 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3967 * insetfloat.h: Set default placement to an empty string.
3969 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3971 * insettext.C (latex): adjust call to latexParagraphs.
3973 2003-03-10 Angus Leeming <leeming@lyx.org>
3975 * mailinset.C: warn the user if the BufferView has not been cached.
3977 2003-03-10 Angus Leeming <leeming@lyx.org>
3979 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3981 * insetcommand.h (inset):
3982 * insetert.h (inset):
3983 * insetexternal.h (inset):
3984 * insetfloat.h (inset):
3985 * insetgraphics.h (inset):
3986 * insetinclude.h (inset):
3987 * insetminipage.h (inset):
3988 * insettabular.h (inset):
3989 * insetwrap.h (inset):
3990 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3992 2003-03-10 Angus Leeming <leeming@lyx.org>
3994 * insetcommand.C (string2params):
3995 * insetexternal.C (string2params):
3996 * insetfloat.C (string2params):
3997 * insetgraphics.C (string2params):
3998 * insetinclude.C (string2params):
3999 * insetminipage.C (string2params):
4000 * insettabular.C (string2params):
4001 * insetwrap.C (string2params): cure warning message about missing
4004 2003-03-09 Angus Leeming <leeming@lyx.org>
4006 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4007 it to communicate with the frontend dialogs.
4009 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4010 contents of this inset!
4012 2003-03-07 Angus Leeming <leeming@lyx.org>
4014 * inseterror.C (localDispatch): new method; calls edit() on
4017 2003-03-07 Angus Leeming <leeming@lyx.org>
4019 * insetbibitem.C (localDispatch):
4020 * insetbibtex.C (localDispatch):
4021 * insetlabel.C (localDispatch):
4022 rewrite as a switch.
4024 2003-03-07 Angus Leeming <leeming@lyx.org>
4026 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4027 it to communicate with the frontend dialogs.
4029 2003-03-07 Angus Leeming <leeming@lyx.org>
4031 * insetexternal.C: remove operator== and operator!= for
4032 InsetExternal::Params. They were used only by the old controller
4035 2003-03-07 Angus Leeming <leeming@lyx.org>
4037 * insetcommand.C (localDispatch):
4038 * insetexternal.C (localDispatch):
4039 * insetfloat.C (localDispatch):
4040 * insetinclude.C (localDispatch):
4041 * insetminipage.C (localDispatch):
4042 * insetwrap.C (localDispatch):
4043 add LFUN_INSET_DIALOG_UPDATE to the switch.
4045 2003-03-07 Angus Leeming <leeming@lyx.org>
4047 * insetcommand.C (string2params):
4048 * insetexternal.C (string2params):
4049 * insetfloat.C (string2params):
4050 * insetinclude.C (string2params):
4051 * insetwrap.C (string2params): use LyXLeX more.
4054 * insetexternal.[Ch]:
4056 * insetinclude.[Ch]:
4057 * insetwrap.[Ch]: change Mailer::name_ to be static.
4059 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4060 it to communicate with the frontend dialogs.
4062 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4065 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4067 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * insettext.C (updateLocal): un-const function
4070 (updateLocal): adjust
4071 (collapseParagraphs): un-const function
4072 (collapseParagraphs): adjust
4074 2003-03-05 Angus Leeming <leeming@lyx.org>
4076 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4077 it to communicate with the frontend dialogs.
4079 2003-03-05 Angus Leeming <leeming@lyx.org>
4081 * insetcollapsable.C (draw): cache the BufferView.
4083 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4084 it to communicate with the frontend dialogs.
4086 2003-03-05 Angus Leeming <leeming@lyx.org>
4088 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4091 2003-03-05 Angus Leeming <leeming@lyx.org>
4093 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4095 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4096 it to communicate with the frontend dialogs.
4098 2003-03-05 Angus Leeming <leeming@lyx.org>
4100 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4101 it to communicate with the frontend dialogs.
4103 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * insettext.C (collapseParagraphs): adjust
4106 (appendParagraphs): make it take a Buffer* instead of a
4107 BufferParams& as arg.
4108 (appendParagraphs): adjust
4110 2003-03-04 Angus Leeming <leeming@lyx.org>
4112 * insetbibitem.C (localDispatch):
4113 * insetbibtex.C (localDispatch):
4114 * insetcommand.C (localDispatch):
4115 * insetert.C (localDispatch):
4116 * insetlabel.C (localDispatch):
4117 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4119 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * insettext.C (latex): adjust for ParagraphList::iterator
4123 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * insetbutton.C (view): adjust for boost 1.30.0
4126 * insetcollapsable.C (view): ditto
4127 * insetgraphics.C (statusChanged): ditto
4129 * insettext.h: move paragraphs to be public.
4131 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * insetnote.[Ch] (InsetNote): remove unused constructor
4135 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4137 * insetgraphics.C: added include "format.h"
4139 2003-02-27 Angus Leeming <leeming@lyx.org>
4141 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4144 2003-02-27 Angus Leeming <leeming@lyx.org>
4146 * insetbibitem.C (localDispatch):
4147 * insetbibtex.C (localDispatch):
4150 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4152 2003-02-26 Angus Leeming <leeming@lyx.org>
4154 * insetbibitem.[Ch] (localDispatch):
4155 * insetbibtex.[Ch] (localDispatch):
4156 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4158 * insetcommand.C (localDispatch):
4159 act only on receipt of LFUN_XYZ_APPLY.
4161 * insetert.C (localDispatch): reformat.
4162 add LFUN_XYZ_APPLY to the switch.
4164 2003-02-26 John Levon <levon@movementarian.org>
4166 * insettext.C: use RowPainter
4168 * inset.h: make helpers take const *
4170 2003-02-26 Angus Leeming <leeming@lyx.org>
4172 * insetcommand.[Ch] (localDispatch): new method.
4174 2003-02-26 Angus Leeming <leeming@lyx.org>
4176 * insetinclude.C (draw): cache the BufferView* using cache not
4177 PreviewImpl::setView
4179 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4181 * insetgraphics.C (draw)
4182 * insetinclude.C (draw): Eliminate also the other argument (owner
4183 inset inset) in the call to PreviewImage::image
4185 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4187 * insetgraphics.C (draw)
4188 * insetinclude.C (draw): Eliminate Buferview argument in call to
4191 2003-02-25 John Levon <levon@movementarian.org>
4193 * insetgraphicsParams.h:
4194 * insetgraphics.C: don't start a load process if
4195 the inset is set to NoDisplay (bug #920)
4197 2003-02-22 John Levon <levon@movementarian.org>
4200 * insetwrap.C: TocItem changed API (bug 913)
4202 2003-02-21 Angus Leeming <leeming@lyx.org>
4204 * insetcollapsable.[Ch] (cache, edit):
4205 * insetbutton.[Ch] (cache, edit): new methods to cache the
4206 BufferView in the draw method.
4208 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4209 simplify comunication between InsetCommand-derived classes and
4212 * insetbibitem.[Ch]:
4216 * insetfloatlist.[Ch]:
4220 * inseturl.[Ch]: small changes to reflect the new interface to the
4223 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4224 other, similar classes.
4226 * Makefile.am: add new files.
4228 2003-02-21 Angus Leeming <leeming@lyx.org>
4230 * updatableinset.h (setView, view): remove.
4231 * inset.h (view, cache): to be replaced by these.
4233 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4236 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4239 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4241 2003-02-21 Allan Rae <rae@lyx.org>
4243 * insetinclude.C (loadIfNeeded): ensure loading also works when
4244 child document is under version control.
4246 2003-02-17 André Pönitz <poenitz@gmx.net>
4248 * insetbib.[Ch]: Adjust access to bibkeys
4250 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4252 * insetquotes.C (dispString): remove use of acute accent for "'"
4255 2003-02-14 John Levon <levon@movementarian.org>
4257 * insettabular.C: changed method names in tabular.C
4259 2003-02-14 John Levon <levon@movementarian.org>
4263 * insetcollapsable.h:
4264 * insetcollapsable.C:
4268 * insettext.C: remove unused getParFromID()
4270 2003-02-13 John Levon <levon@movementarian.org>
4273 * insettext.C: remove unused beginningofMainBody()
4275 2003-02-08 John Levon <levon@movementarian.org>
4279 * insetcollapsable.h:
4280 * insetcollapsable.C:
4285 add nextChange(). Make allowSpellcheck() const. Add markErased().
4287 * insetert.C: ignore deleted text
4289 * insettabular.C: make sure to keep change tracking working
4292 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4297 * insettext.C: Use error messages with identical spelling and
4300 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4302 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4304 2002-12-17 Juergen Vigna <jug@lyx.org>
4306 * insettext.C (localDispatch): hopefully fixed cursor up down
4307 movement on leaving other insets.
4309 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4311 * insettext.C: fix inconsistent usage of spaces, colons,
4312 capitalization, and the like.
4314 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4316 * insetgraphics.C (prepareFile): do not remove the extension of
4317 the file name if it is not the default extension for the given
4318 format (that is, in latex output, remove extension from foo.eps,
4319 but not from foo.epsi)
4321 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4323 * insettext.C (lfunMouseRelease): hackish solution to the "double
4326 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * insetfloat.C (addToToc): use the floats name not its type
4329 * insetwrap.C (addToToc): ditto
4331 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4333 * insetnote.C (init): make label font smaller
4335 2002-12-04 John Levon <levon@movementarian.org>
4337 * insetinclude.C: ressurect setting of command name
4339 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * insetquotes.C (dispString): disambiguate insert call
4343 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * several files: ws changes
4347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * insetquotes.C (dispString): use string::insert for prepending a
4352 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4354 * insetparent.C (getScreenLabel): use boost::format
4356 * insetgraphics.C (prepareFile): use boost::format
4359 * insetfloatlist.C (latex): use boost::format
4361 * insetcaption.C (draw): use boost::format
4363 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4365 * insettabular.C (tabularFeatures): Support for block alignment in
4366 fixed width columns.
4368 2002-11-20 Juergen Vigna <jug@sad.it>
4370 * insettabular.C (resetPos): temporary fix for endless loop in
4371 this function on a redraw.
4373 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * insettabular.C (copySelection): STRCONV
4377 * insetinclude.C (uniqueID): STRCONV
4378 (latexString): ditto
4380 * insetgraphics.C: put VersionNumber inside anon namespace
4381 (createLatexOptions): STRCONV
4383 * insetcommandparams.C: include config.h
4385 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4387 * insetgraphicsParams.C (Write): use lyx::float_equal.
4388 Write height data correctly.
4389 (Read): zero scale when reading height data.
4391 2002-10-30 John Levon <levon@movementarian.org>
4393 * insetfloat.C (addToTOC): recursively traverse all
4394 contents looking for captions (fix #568)
4396 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4398 * insetexternal.C (doSubstitution): do not try to replace
4399 environment variables, this is done when executing the command
4401 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4403 * insetexternal.C (doSubstitution): change order of substitution
4404 to work around ReplaceEnvironmentPath brokenness
4406 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4408 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4410 * insetgraphicsParams.C (init, Write): associated changes
4411 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4412 InsetGraphicsParams::scale.
4414 2002-10-21 John Levon <levon@movementarian.org>
4416 * inset.h: remove unused DISPATCH_RESULT
4418 * insettext.C: sgml open/close tag now in sgml namespace
4420 2002-10-21 Angus Leeming <leeming@lyx.org>
4422 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4423 file path subdir/fig.eps when pasting it into a buffer in a different
4426 2002-10-16 John Levon <levon@movementarian.org>
4428 * insetspecialchar.C: remove \\protected_separator parsing
4430 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4432 * insetquote.C: fix LaTeX output of quotation marks.
4434 2002-10-14 Juergen Vigna <jug@sad.it>
4436 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4437 Backspace functions which confused the Undo handling.
4439 2002-10-09 Angus Leeming <leeming@lyx.org>
4441 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4442 BufferView::dispatch that turns off this optimisation when a new inset
4445 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4446 reload the BibTeX keys.
4448 2002-10-11 André Pönitz <poenitz@gmx.net>
4450 * insettext.h: handle LFUN_PRIOR/NEXT
4452 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4454 * insetfloat.C: fix bug with float settings
4455 (document default != float default).
4457 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4459 * insetwrap.C (addToToc): New method.
4460 (InsetWrap): Set layout to caption.
4462 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4466 2002-09-16 John Levon <levon@movementarian.org>
4468 * insettabular.h: hasSelection() needs to be public
4470 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4472 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4474 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4476 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4478 2002-09-11 André Pönitz <poenitz@gmx.net>
4480 * insettabular.C: implement LFUN_WORDSEL
4482 2002-09-10 John Levon <levon@movementarian.org>
4484 * insetinclude.h: remove unused param
4486 2002-09-09 John Levon <levon@movementarian.org>
4489 * insetinclude.C: remove noload, default to input
4491 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4493 * insetgraphics.C: disfuscated use of ']' in built output string.
4495 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4499 2002-08-29 Juergen Vigna <jug@sad.it>
4501 * insettabular.C (lfunMousePress): Pay attention where you set
4502 the x/y values as they depend on which inset in the tabular is
4503 actually locked. So you surely have to reset them if you (un)lock
4506 2002-08-29 André Pönitz <poenitz@gmx.net>
4508 * insetfootlike.h: rename include guard to ALL CAPS
4510 * insettext.C: swap object and first parameter for checkInsetHit calls
4511 as this functions has moved from BufferView to LyXText
4514 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4516 * insetgraphicsParams.C: remove local displayTranslator and use
4517 the one from graphics/GraphicsTypes.h.
4519 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * insetfloat.C (wide): add BufferParams parameter
4523 * insetfloatlist.C (read):
4526 * insetfloat.C (latex):
4528 * insetcaption.C (draw): use LyXTextClass::floats()
4530 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4532 * insetoptarg.h: add std:: qualifier.
4534 2002-08-26 Juergen Vigna <jug@sad.it>
4536 * insettext.C (localDispatch): ditto.
4538 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4540 2002-08-25 John Levon <levon@movementarian.org>
4542 * inseturl.C: elide long URLs (bug 404)
4544 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4546 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4547 remove "Format Version <version_no.>" string from inset header
4550 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4552 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4553 a member of "grfx::Params" anymore.
4555 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4557 2002-08-24 John Levon <levon@movementarian.org>
4560 * insetoptarg.C: ws, pedantry ...
4562 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4564 * insettext.C (collapseParagraphs): pasteParagraph now in global
4566 (appendParagraphs): ditto
4568 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4570 * insetcite.C (latex): Remove spaces only after commmas.
4572 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * insettext.C: remove NO_COMPABILITY stuff
4576 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * insettext.C (edit): use ParagraphList iterators
4580 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4581 (bibitemWidest): ditto
4583 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * insettext.C: include <boost/bind.hpp>
4586 add using std::for_each
4587 (saveLyXTextState): use ParagraphsList::iterator
4588 (init): use for_each on paragraphlist iterators
4589 (InsetText): remove superflous setting cached_bview to 0
4590 (latex): reformat a bit
4591 (ascii): use paragraphlist iterators
4592 (validate): use for_each + boost bind
4593 (getLabelList): use paragraphlist iterators
4594 (deleteLyXText): use for_each + boost::bind
4595 (resizeLyXText): ditto
4596 (reinitLyXText): ditto
4597 (removeNewlines): use paragraphlist iterators
4598 (getParFromID): ditto
4599 (paragraph): use for_each + boost::bind
4600 (getInsetFromID): use paragraphlist iterators
4601 (getLabelList): typo fix
4603 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * insettext.C (read): assign tmp to paragraphs after return from
4606 call to parseSingleLyXformat2Token
4609 2002-08-13 Angus Leeming <leeming@lyx.org>
4627 * inseturl.C: changes due to the changed LyXView interface that
4628 now returns references to member variables not pointers.
4630 2002-08-13 Angus Leeming <leeming@lyx.org>
4633 * insetcollapsable.h:
4636 * insettext.h: forward-declare WordLangTuple
4637 (selectNextWordToSpellcheck) constify return type.
4640 * insetcollapsable.C:
4643 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4645 2002-08-12 Angus Leeming <leeming@lyx.org>
4647 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4650 2002-08-12 Juergen Vigna <jug@sad.it>
4652 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4655 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4658 (bibitemWidest): ditto
4659 * insettext.[Ch]: ditto
4661 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4665 2002-08-09 Angus Leeming <leeming@lyx.org>
4667 * insetinclude.C (latexString): remove fudge now that I've found out
4668 how to enable LaTeX to find the file using input@path.
4670 2002-08-09 John Levon <levon@movementarian.org>
4673 * insettext.C: remove unused xpos
4675 2002-08-07 Juergen Vigna <jug@lyx.org>
4677 * insettabular.C (localDispatch): make delete not put the stuff
4678 in the clipboard only do this on a cut operation.
4680 * insettext.C (localDispatch): make delete and backspace not put
4681 selected stuff to the clipboard.
4683 2002-08-07 André Pönitz <poenitz@gmx.net>
4686 * insetcollapsable.[Ch]:
4690 * insettabular.[Ch]:
4691 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4693 2002-08-06 John Levon <levon@movementarian.org>
4697 * insetcollapsable.h:
4698 * insetcollapsable.C:
4704 * insettext.C: use WordLangTuple for spellcheck
4706 2002-08-06 Angus Leeming <leeming@lyx.org>
4708 * insetinclude.C: add a monitor to the previewed image, so that the
4709 image is refreshed if the \input-ed file changes.
4711 2002-08-04 John Levon <levon@movementarian.org>
4714 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4716 2002-08-02 Angus Leeming <leeming@lyx.org>
4718 * insetcommandparams.[Ch] (preview): new methods returning and setting
4719 a new bool preview_ flag.
4720 (read): read this flag.
4721 (operator==): add flag to check.
4723 * insetinclude.C (write): output new preview() flag.
4724 (previewWanted): use this flag.
4726 2002-08-02 Angus Leeming <leeming@lyx.org>
4728 * insetcollapsable.[Ch] (addPreview):
4729 * insettabular.[Ch] (addPreview):
4730 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4731 for insets in insets.
4733 2002-08-02 Angus Leeming <leeming@lyx.org>
4735 * insetcite.C: fix typo.
4737 * insetgraphics.C: kill current_view and instead cache the BufferView
4740 * insetinclude.C: kill current_view and pass the BufferView to the
4741 PreviewedInset so that it can cache it.
4743 2002-08-01 Angus Leeming <leeming@lyx.org>
4745 * inset.h (generatePreview): renamed as addPreview.
4746 (generatePreview): new method. Allows code to be moved out of
4747 math_nestinset.C and into the new PreviewedInset class.
4749 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4750 add previews to the inset when \input-ing LaTeX.
4752 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * several files: strip,frontStrip -> trim,ltrim,rtrim
4756 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * insetbib.C (latex): modify because of strip changes
4760 * insetnote.C (InsetNote): ditto
4762 2002-07-26 Juergen Vigna <jug@sad.it>
4764 * insettabular.C (searchForward): check for lastcell if we
4765 had a locking inset.
4767 2002-07-25 Juergen Vigna <jug@sad.it>
4769 * insettabular.C (insetMotionNotify): Don't update the screen
4770 if we didn't do nothing.
4771 (searchForward): last cell was not checked.
4773 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4775 * insetfloat.C (read, write): Allow default placement
4776 (floatPlacement_ is empty).
4778 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4780 * insetminipage.h (noFontChange):
4781 * insettabular.h (noFontChange):
4782 * insetfootlike.h (noFontChange):
4783 * insetfloat.h (noFontChange): return true
4785 * inset.h (noFontChange): new method, defaulting to false
4787 2002-07-22 Herbert Voss <voss@lyx.org>
4789 * insetgraphicsParams.[Ch]: support size_type for old docs
4791 2002-07-22 Herbert Voss <voss@lyx.org>
4794 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4797 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4799 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4801 * insetlatexaccent.h: do not include "lyxlex.h"
4803 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4806 * insetlatexaccent.C:
4810 * insetbib.C: #include "lyxlex.h"
4816 * insettext.C: use BufferParams::getLyXTextClass
4819 * insetfloat.C (addToToc): new method. Add to toclist the entries
4820 corresponding to Caption layouts
4821 (InsetFloat): when creating a new float, set the layout to "Caption"
4823 2002-07-21 Herbert Voss <voss@lyx.org>
4825 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4826 image relevant part into graphics/GraphicsImgae.C
4828 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4830 * insettoc.C (ascii):
4831 * insetfloatlist.C (ascii): change to use the new Toc functions
4832 instead of stuff that was in Buffer
4834 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4836 * insettext.C (localDispatch): BufferView::Dispatch has been
4837 renamed to BufferView::dispatch
4839 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4841 * insetgraphicsParams.C (as_grfxParams): use the new
4842 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4843 1.2.0 patch, and I do not really know how to adapt it to the new
4844 grfx::Cache world. Angus, please could you have a look?
4846 2002-05-01 Herbert Voss <voss@lyx.org>
4848 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4850 2002-07-18 Angus Leeming <leeming@lyx.org>
4852 * insetgraphics.C: clean-up comments (from Herbert).
4853 add a new checksum variable to the cache. Use it in PrepareFile.
4854 (draw): start monitoring the file for a change.
4855 (prepareFile): re-arrange a little to avoid unnecessary steps.
4857 2002-07-17 Angus Leeming <leeming@lyx.org>
4859 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4860 a method rather than to the signal directly.
4862 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4864 * insettext.C: use view_state_changed, switchKeyMap
4866 2002-07-17 Herbert Voss <voss@perce.de>
4868 * insetgraphics.C (prepareFile): keep the extension when
4869 exporting to nice file
4871 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4873 * insetcite.C (getNatbibLabel):
4874 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4876 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4878 * insetgraphics.C: use ->isDrawable()
4880 2002-07-12 Angus Leeming <leeming@lyx.org>
4882 * insetgraphics.C: use the new smart loading capabilities of the image
4885 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4887 * insettabular.C (edit): Move into correct cell when entering a
4890 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4893 2002-07-05 Angus Leeming <leeming@lyx.org>
4895 * inset.h (generatePreview): new virtual method.
4897 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4899 * insetcommandparams.[Ch] (operator=): move out of class
4900 (operator!): move out of class
4902 2002-07-04 André Pönitz <poenitz@gmx.net>
4904 * insetcommandparams.[Ch]: new files
4906 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4908 2002-06-15 Herbert Voss <voss@perce.de>
4910 * insetgraphics.C (prepareFile): bugfix; return always
4911 files without extension
4913 2002-06-28 Angus Leeming <leeming@lyx.org>
4915 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4916 rename asGParams -> as_grfxParams.
4918 * insetgraphics.C: reflect above change.
4920 2002-06-26 Angus Leeming <leeming@lyx.org>
4922 * insetgraphics.h: use boost::scoped_ptr in preference to
4925 2002-06-26 Angus Leeming <leeming@lyx.org>
4927 * insetgraphics.C: moved the image loading stuff into a new class
4928 grfx::Loader. Simplifies this file enormously.
4930 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4932 * insetgraphicsParams.C: changes aassociated with moving
4933 grfx::DisplayType out of grfx::GParams.
4935 2002-06-26 André Pönitz <poenitz@gmx.net>
4937 * insetgraphics.C: use os::external_path where necesaary according to a
4938 patch from Claus Hentschel)
4940 2002-06-25 Angus Leeming <leeming@lyx.org>
4942 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4943 generating a pixmap once the graphics file is loaded into memory.
4944 The current_view ugliness that was in grfx::ModifiedImage has been
4945 moved here now that grfx::ModifiedImage is no more.
4947 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4949 * insettext.C: layout as layout
4951 2002-05-28 André Pönitz <poenitz@gmx.net>
4953 * insetfloatlist.h: remove source of compiler warning
4955 * insetref.C: tiny whitespace
4957 2002-06-15 Herbert Voss <voss@perce.de>
4959 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4960 and take always convert when no userdefined converter was
4962 (latex) small changes in the lyxerr output
4964 2002-06-15 LyX Development team <lyx@rilke>
4966 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4967 mixed content. Small white spaces clean.
4969 2002-06-14 Angus Leeming <leeming@lyx.org>
4971 * inseetexternal.C: remove the using std::difftime declaration.
4973 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4975 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4977 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4979 * insetquotes.C (draw): fix drawing of double quotes
4981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4983 * insettabular.C: s/scrollCB/scrollDocView/
4985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4987 * insettext.C: change of topCursorVisible()
4990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4993 * insettext.C: rename/change of LyXScreen
4995 2002-06-07 Angus Leeming <leeming@lyx.org>
4997 Fixes needed to compile with Compaq cxx 6.5.
4999 * insetexternal.C: all c-library variables have been moved into
5000 namespace std. Wrap using std::xyz declarations inside a #ifndef
5001 CXX_GLOBAL_CSTD block.
5003 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5005 * insetinclude.C (uniqueID):
5006 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5007 conflicted with some AIX headers.
5009 2002-05-31 Juergen Vigna <jug@sad.it>
5011 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5015 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5017 * insetexternal.C (clone): fix () bug when using new
5018 (updateExternal): don't only look for difftime in global scope
5020 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5022 * insettabular.C: add const
5024 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5027 file name, in case there are weird characters like ',' in there.
5030 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5032 * switch from SigC signals to boost::signals.
5034 2002-05-28 André Pönitz <poenitz@gmx.net>
5036 * insets/insetgraphicsParams.[Ch]:
5037 put in inset related stuff from src/graphic
5039 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5047 * insetcollapsable.C:
5048 * insetcollapsable.h:
5076 * inseturl.h: use mouse_state. Kill insetKeyPress
5078 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5083 * insetcollapsable.C:
5086 * insetlatexaccent.C:
5088 * insetspecialchar.C:
5090 * insettext.C: name change for font metrics
5092 2002-05-24 Juergen Vigna <jug@sad.it>
5094 * insetgraphics.h: include inset.h first (for LString.h)
5096 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5098 * insettext.C: screen moved
5100 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5118 * inseturl.C: LyXView moved into frontends/
5120 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5125 * insetcollapsable.C:
5129 * insetgraphicsParams.C:
5130 * insetlatexaccent.C:
5132 * insetspecialchar.C:
5134 * insettext.C: move Painter to frontends/
5136 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * insettabular.h: use more specific smart_ptr header.
5139 * insettext.h: ditto
5141 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5144 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5146 * insettext.C: clear selection on paste (bug 393)
5148 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5150 * insettext.C (latex): Honor the moving_arg argument.
5152 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5154 * insetfoot.C (latex): if a footnote is in a title layout, then it
5155 is a \thanks. And then, its contents is a moving argument.
5157 2002-05-14 Juergen Vigna <jug@sad.it>
5159 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5162 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5164 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5165 when using options "Full author list" or "Upper case".
5167 2002-05-14 Herbert Voss <voss@perce.de>
5169 * insetgraphics.C (prepareFile): allow files with same name
5171 (readFigInset): set the flags from old figinset in the right
5173 (findTargetFormat): more comments
5175 2002-05-14 Juergen Vigna <jug@sad.it>
5177 * insettext.C (edit): tell checkAndActivateInset() that we don't
5178 have a button press.
5179 (checkAndActivateInset): if button < 0 we don't have a button press
5180 on the inset and os we won't call edit on it if it's not a Highly
5181 editable inset (then we have to enter it).
5183 2002-05-13 Juergen Vigna <jug@sad.it>
5185 * insetcollapsable.C (insetButtonRelease): returned wrong return
5188 2002-05-09 Juergen Vigna <jug@sad.it>
5190 * insetcollapsable.C (edit): first_after_edit should only be
5191 set to true if we enter this inset and it was collapsed so we
5192 open it up. This is needed to reclose it after a search/replace
5193 or spellcheck function opened it and was negative.
5195 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5197 * insetfloat.C (latex): Return correct value.
5199 2002-05-04 Herbert Voss <voss@perce.de>
5201 * InsetgraphicsParams.C (read): fix bug with WH
5203 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5205 * insetfloat.C (latex): More sensible latex output
5206 (fix the problem with endfloat).
5208 2002-05-02 José Matos <jamatos@fep.up.pt>
5210 * insetgraphics.C (validate): acess params as everyone else.
5212 2002-05-03 Juergen Vigna <jug@sad.it>
5214 * insettabular.C (fitInsetCursor): recalculate the cursor position
5217 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5219 * InsetgraphicsParams.[Ch]: whitespace.
5221 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5223 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5224 float type do not exist.
5226 2002-04-28 Herbert Voss <voss@perce.de>
5228 * insetgraphics.C (latex): fix bug with missing file-extension.
5229 LaTeX still allows a missing "eps" or "ps".
5231 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5233 * insetfloat.C (c-tor, wide): translate the name of the float.
5235 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5237 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5238 when using natbib and make it work efficiently. Must emphasise that the
5239 real work is Herbert's.
5241 2002-04-23 Herbert Voss <voss@perce.de>
5243 * insetgraphic.C (prepareFile): fix bug with overwriting and
5244 deleting an existing *.eps-file in the doc-dir
5246 2002-04-23 Juergen Vigna <jug@sad.it>
5248 * insettabular.C (drawCellSelection): fix off by 1 error.
5250 2002-04-22 Juergen Vigna <jug@sad.it>
5252 * insettabular.C (setFont): rewoke full selection if it was asked,
5253 after we changed all we had to change.
5255 * insettext.C (insetUnlock): code was uninitialized in some situations.
5257 2002-04-19 Herbert Voss <voss@perce.de>
5259 * insetgraphic.C (prepareFile): return filename without
5260 extension if we only export without compiling
5262 2002-04-19 Juergen Vigna <jug@sad.it>
5264 * insettext.C (draw): call a fullRebreak on the row where we had a
5265 change and reset the cursor and selection-cursors.
5267 * insettabular.C (insetUnlock):
5268 (insetButtonPress): call an update before setting the_locking_inset = 0
5269 as otherwise we don't repaint!
5270 (update): reset the cursor position when we changed dimensions as
5271 otherwise our cursor may be on the wrong spot.
5273 2002-04-18 Juergen Vigna <jug@sad.it>
5275 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5276 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5277 redraw otherwise we won't redraw.
5279 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5280 not really right before, but I only discovered this with the last
5281 changes to Page up/down.
5283 2002-04-17 Juergen Vigna <jug@sad.it>
5285 * insettext.C (checkAndActivateInset): simplified as we now have the
5286 edit(bv, bool) call.
5288 * insettext.h: changed behind variables to front variables to be
5289 equal to the one in the edit call (as it is for that they are used).
5291 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5293 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5294 not output anything at all!
5296 2002-04-16 Juergen Vigna <jug@sad.it>
5298 * insettabular.C (insetButtonPress):
5299 (insetUnlock): call a redraw on unlocking the cell inset.
5301 * insettext.C (insetButtonPress): same as below.
5302 (lockInset): new function to set initial values when inset should
5304 (insetButtonPress): use above function.
5305 (insetUnlock): don't force a repaint only set the updateStatus. The
5306 outside world should repaint if it thinks it should be done!
5308 * insettabular.C (insetButtonPress): init values if not set as locked
5309 as we are locked if someone presses on us and don't call the edit()
5310 call of the InsetText to lock it do it as BufferView does it!
5312 * inset.h (insetInInsetY): make func const and return an int.
5315 * insetcollapsable.C: adapt the above changed function.
5317 2002-04-15 Juergen Vigna <jug@sad.it>
5319 * insettext.C (getCursorPos): return relative position as to be able
5320 to give them directly to the edit() call.
5321 (edit): we have to set also x_fix as it is not set inside the
5322 setCursorFromCoordinates call!
5323 (insetMotionNotify): ditto.
5325 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5327 * insetbib.C (getKeys): strip leading '\t's from the line too.
5328 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5330 2002-04-12 Juergen Vigna <jug@sad.it>
5332 * insettext.h: added cix() helper function and use it where appropriate
5334 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5336 * insetgraphics.C (prepareFile): fix bug when graphics is a
5339 2002-04-12 Juergen Vigna <jug@sad.it>
5341 * insettext.C (insertInset): remove unneeded code!
5342 (updateLocal): fitCursor() fixes.
5343 (collapseParagraphs): fix a possible problem when having a selection
5344 and collapsing the paragraphs.
5346 2002-04-08 Herbert Voss <voss@perce.de>
5348 * insetgraphic.C (write): write the rotating angle as
5349 a float as is. test only for != 0.0
5351 2002-04-11 Juergen Vigna <jug@sad.it>
5353 * insettext.C: new function ciy() and use it for setting inset_y.
5355 * insetert.C (draw): fix the x return for collapsed version.
5357 2002-04-07 Herbert Voss <voss@perce.de>
5359 * insetgraphic.C (readFigInset): fix bug with subcaption and
5362 2002-04-08 Herbert Voss <voss@lyx.org>
5364 * insetgraphicsparam.C: forgot special option and delete old
5367 2002-04-05 Juergen Vigna <jug@sad.it>
5369 * insettext.C (localDispatch): make a CURSOR update if we inserted
5372 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5374 * insetfloatlist.C (getScreenLabel):
5375 (latex): use Floating::listName
5376 (validate): new method
5378 2002-04-03 José Matos <jamatos@fep.up.pt>
5380 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5382 * insetfoot.[Ch] (docbook): added forgotten method.
5384 2002-04-03 Juergen Vigna <jug@sad.it>
5386 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5387 way as in Bufferview_pimpl.
5389 2002-04-03 Allan Rae <rae@lyx.org>
5391 * insetgraphics.C (latex): one % too many makes living on the bleeding
5392 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5394 2002-03-28 Herbert Voss <voss@lyx.org>
5396 * insetgraphic.C (latex): simplify the code for the latex
5397 output when the file doesn't exist
5399 2002-03-29 Juergen Vigna <jug@sad.it>
5401 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5404 * insettabular.C (edit): call fitCursor().
5406 * insettext.C (insetButtonPress): change behaviour of no_selection
5407 to the one in the BufferView selection_possible and fix the spurious
5408 selection bug with it.
5409 (localDispatch): revoke selection on BREAK... functions.
5411 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5413 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5415 2002-03-28 Juergen Vigna <jug@sad.it>
5417 * insettabular.C (insetAllowed): return true as default value otherwise
5418 we're not able to insert insets inside paragraphs of an not locked
5421 2002-03-27 Herbert Voss <voss@lyx.org>
5423 * insetgraphicsparam.C: change c%, p% to col%, page%
5425 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5427 * insetspecialchar.C (isLineSeparator): disable the nice code to
5428 allow linebreaks after hyphenation and menu separators.
5430 2002-03-26 Herbert Voss <voss@lyx.org>
5432 * insetgraphics.C (figinsetRead): set the right lyxview
5434 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5436 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5437 $\backslash$ and pass a "string const &" to the function.
5438 (prepareFile, latex): use Path rather than MakeAbsPath.
5440 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5442 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5443 proper fix to the graphics cache.
5444 (latex): "really" nice output if the file is not found ;-)
5446 2002-03-26 Juergen Vigna <jug@sad.it>
5448 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5449 (collapseParagraphs): fixed inserting of separator ' '
5451 * insettabular.C (insertAsciiString): only check for buffer lenght
5452 not if we have \t or \n inside the buffer as if we don't have we only
5453 have 1 cell and that's it!
5455 * insetert.C (close): don't collapse if inlined.
5457 2002-03-25 Herbert Voss <voss@lyx.org>
5459 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5460 graphics file does not exist.
5462 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5464 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5465 path when preparing export.
5467 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5468 no longer MakeRelPath.
5470 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5472 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5473 Used to determine the absolute path to the graphics file in the
5474 graphics cache and only in the graphics cache.
5475 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5476 make graphics file name absolute if it is stored as a relative path.
5478 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5479 make graphics file name absolute if it is stored as a relative path.
5481 * insettext.C (edit): emit an updateParagraph signal on entering a text
5482 inset. Needs to be emitted when leaving the inset also.
5484 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5486 * all files: ws cleanup
5488 * Makefile.am: remove ld -r stuff
5490 2002-03-21 Juergen Vigna <jug@sad.it>
5492 * insettext.C (appendParagraphs): new function added to append
5493 the paragraphs to this insets paragraphs.
5495 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5497 * Makefile.am: special rules if partial linking
5499 2002-03-19 Juergen Vigna <jug@sad.it>
5501 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5503 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5505 * insetgraphics.C: Clean up Baruch's comments a little.
5506 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5508 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5511 * insettheorem.C: wrap warnings
5513 * insetgraphics.C: improve messages, move cached_status_
5514 setting to safer place
5516 2002-03-18 Juergen Vigna <jug@sad.it>
5518 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5520 (localDispatch): ditto
5522 * insettext.C (edit): removed unneeded showCursor calls.
5523 (localDispatch): ditto.
5525 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5527 * insetgraphics.h: remove display() method.
5529 2002-03-11 Juergen Vigna <jug@sad.it>
5531 * insetgraphics.C (draw): hack to fix the redrawing bug.
5532 (draw): seems this fixes #268 (force redraw of row if we changed).
5534 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5535 this inset text (don't know why I missed this earlier).
5537 2002-03-08 Juergen Vigna <jug@sad.it>
5539 * insettabular.C (updateLocal): do a FULL update if we're not locked
5540 and only a CELL update is asked.
5542 * insettext.C (updateInsetInInset): update insets inside inset also
5543 if it isn't inside the_locking_inset.
5545 * insettabular.C (updateInsetInInset): ditto.
5547 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5549 * insetexternal.C (doSubstitution): check whether we are using a
5550 temp dir for defining $$FPath
5552 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5555 * insettext.C: remove #include "WorkArea.h".
5557 2002-03-06 Juergen Vigna <jug@sad.it>
5559 * insettext.C (draw): fixed frame redrawing.
5560 (clear): forgot to set the inset_owner of the paragraph.
5562 * insetert.C (status): pay attention the bv can be 0 here!
5563 (getMaxWidth): add the default leftMargin
5565 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5567 * insetert.C (getMaxWidth): make w unsigned int.
5569 2002-03-05 Juergen Vigna <jug@sad.it>
5571 * insetert.C (status): change behaviour of Inlined.
5572 (getMaxWidth): added for new inlined behaviour.
5574 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5576 * insetnote.h (linuxdoc, docbook): add empty methods.
5577 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5578 before being initialized.
5580 2002-03-05 Juergen Vigna <jug@sad.it>
5582 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5583 only that one in the inset. Should be enough.
5584 (updateLocal): set the selection cursor always if we don't have a
5585 selection to be sure it's set!
5587 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5589 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5591 * insettext.C (clear): a gross hack to set layout on a newly
5594 2002-03-04 Juergen Vigna <jug@sad.it>
5596 * insettabular.C (localDispatch): inserted handling of
5597 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5598 (insertAsciiString): new helper function.
5600 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5602 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5605 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * insettext.C (InsetText): initalize newly created par with
5608 default layout. add bufferparams parameter
5611 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5612 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5613 * insetert.[Ch] (InsetERT): ditto
5614 * insetfloat.[Ch] (InsetFloat): ditto
5615 * insetfoot.[Ch] (InsetFoot): ditto
5616 * insetfootlike.[Ch] (InsetFootLike): ditto
5617 * insetmarginal.[Ch] (InsetMarginal): ditto
5618 * insetminipage.[Ch] (InsetMinipage): ditto
5619 * insetnote.[Ch] (InsetNote): ditto
5620 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5622 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * insettext.C: layout as string
5626 * insetinclude.C: layout as string
5628 * insetert.C: layout as string
5630 * insetbib.C: layout as string
5632 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5635 * insettabular.C: remove #include "lyx_gui_misc.h".
5637 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5642 * inset.h: remove figinset, yahoo !
5644 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5646 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5647 copy c-tor and initialise member variables in the correct order.
5649 2002-02-28 Juergen Vigna <jug@sad.it>
5651 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5653 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5655 * inset.h: ... and add a better one here.
5657 * insetcommand.C (insetButtonRelease): remove that one which was a
5660 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5662 * insetcommand.C (insetButtonRelease): ... and move it here.
5664 * inseturl.h: remove insetButtonRelease from there...
5666 2002-02-26 Juergen Vigna <jug@sad.it>
5668 * inseturl.h: Added a insetButtonRelease call returning true as
5671 * insetlabel.C (edit): Fixed wrong update handling after change I
5672 leave in the wrong code for the one who wrote it to remove and have
5673 a look what he did wrong.
5675 * insettabular.C (localDispatch): force a SELECTION update if we
5676 had a selection and we passed the event down to the inset (fix #213)
5677 (localDispatch): handle font changing stuff when we have a cell
5678 selection so that the selection is not rewoked. I don't really like
5679 this fix, but it's the only way I see to do it right now.
5681 2002-02-22 Juergen Vigna <jug@sad.it>
5683 * insettext.C (insetUnlock): set the cursor to the second paragraph
5684 if available and if the first one is empty (fix #191).
5686 2002-02-20 Juergen Vigna <jug@sad.it>
5688 * insettext.C (getDrawFont): implemented this function to call the
5689 one of the owner if present as the owner normally knows what to do
5692 * insetert.C: implement getDrawFont() function and comment out all
5693 the crap for setting a special latex font inside this inset.
5694 (InsetERT): added a Lanugage parameter to this constructor.
5696 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5697 change the font for being drawn on screen (used only in InsetERT for
5700 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5701 and also above (was missing).
5702 (updateLocal): don't remove the cell selection if we have one this
5703 should be done where we really want to remove it.
5705 2002-02-20 José Matos <jamatos@fep.up.pt>
5707 * insetinclude.h: include_label made string const.
5709 * insetinclude.C (InsetInclude): moved include_label initialization.
5712 (validate): fix support for temporary directory, for docbook and
5715 * insetgraphics.h : new private member, graphic_label, that holds
5716 the entity name that defines the graphics location (SGML).
5718 * insetgraphics.C (unique_id): new function to give a unique label
5721 (validate): the file locatation is given by an entity reference.
5723 2002-02-18 Herbert Voss <voss@lyx.org>
5725 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5727 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5729 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5730 as support/systemcall.[Ch] and of class Systemcalls as class
5733 2002-02-18 José Matos <jamatos@fep.up.pt>
5735 * insetinclude.C (validate): some code only applies to latex buffers,
5736 it was made conditional.
5738 2002-02-12 Herbert Voss <voss@lyx.org>
5740 * insetgraphics.C: (prepareFile) do not check at this time
5741 if the file is present.
5743 2002-02-12 Herbert Voss <voss@lyx.org>
5745 * insetgraphics.C: latex(), return the correct newlines
5747 2002-02-13 José Matos <jamatos@fep.up.pt>
5749 * inseturl.C (docbook): escape & in url.
5751 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5753 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5754 after HYPHENATION and MENU_SEPARATOR
5756 * inset.h (isLineSeparator): new method, returns false by default.
5758 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5760 * insetert.C (status): do not update the text inset, but the ERT
5763 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5765 * insetnote.C: use notebg for background
5767 2002-02-08 Herbert Voss <voss@lyx.org>
5770 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5771 prevent LyX from unzipping when this should be handled
5772 by latex vis the graphic.cfg.
5775 2002-02-08 Herbert Voss <voss@lyx.org>
5777 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5778 exists, than return filename with extension
5780 2002-02-06 Herbert Voss <voss@lyx.org>
5782 * insetgraphic.C: prepareFile(): don't convert the file, when
5783 it's not viewed in LyX. Saves a lot of time when opening a
5786 2002-02-05 Herbert Voss <voss@lyx.org>
5789 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5790 and adding a rotate bool similiar to subcaption
5792 2002-02-04 Herbert Voss <voss@lyx.org>
5795 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5796 similiar view to the LaTeX one. Get zipped files work.
5798 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5800 * insetgraphicsParams.C (init): set display to DEFAULT.
5801 No longer #include "lyxrc.h".
5803 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5805 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5806 for now (so that the code compiles).
5808 2002-02-02 Herbert Voss <voss@lyx.org>
5810 * insetgraphic.C: delete inVariant() and some minor changes
5811 * insetgraphicsParams.[C]:
5813 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5815 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5816 interogate lyxrc.display_graphics before diaplaying the graphic.
5818 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5819 InsetGraphicsParams::DisplayType.
5821 2002-01-31 Herbert Voss <voss@lyx.org>
5823 * insetgraphic.C: (readfigInset) set display to pref-default
5825 2002-01-30 Herbert Voss <voss@lyx.org>
5827 * insetgraphic.C: get the filetyp from it's contents
5828 * insetgraphicparams.C: add token scale and lyxrc.display when
5829 creating a new inset
5831 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5833 * figinset.C: added using std::ios directive.
5835 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5837 * figinset.C (runqueue): open translation file in binary mode (for
5840 2002-01-27 Herbert Voss <voss@lyx.org>
5842 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5843 all options and to be sure that the old figinsets are correct
5845 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5846 structure and to support all lengths as LyXLength. The Parameter
5847 structure changed again, but reading of "old" 1.2 graphic insets
5850 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5852 * insetert.h (forceDefaultParagraphs): Added
5854 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * insettabular.C (getMaxWidth):
5857 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5859 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5861 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5862 of LyXLength::inPixels
5864 * inset.C (latexTextWidth):
5865 * insetminipage.C (latexTextWidth): new method, which implements
5866 the equivalent of the LaTeX macro \textwidth
5868 * insetminipage.C (getMaxWidth): use latexTextWidth
5870 2002-01-18 Juergen Vigna <jug@sad.it>
5872 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5874 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5876 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5878 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5881 2002-01-17 Juergen Vigna <jug@sad.it>
5883 * insettabular.C (lockInsetInInset): same change as in insettext.
5885 * insettext.C (draw): width() function was called without setting
5886 the right top_x which could lead to wrong insetWidth setting!
5887 (lockInsetInInset): call edit instead of calling lockInset if we
5888 have to lock an inset inside!
5889 (edit): we have to also tell the inset that we have to redraw the
5890 frame on an edit call if this inset draws a frame only if locked.
5892 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * insetbib.C (getFiles): uncomment Path variable.
5896 2002-01-16 Juergen Vigna <jug@sad.it>
5898 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5901 2002-01-16 Allan Rae <rae@lyx.org>
5903 * insetinclude.C (docbook): someone forgot a ";"
5905 2002-01-16 José Matos <jamatos@fep.up.pt>
5907 * figinset.C (docbook): removed a old place holder "@".
5908 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5909 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5910 ascii text version, clearly guarded inside a CDATA section.
5911 (docbook): in docbook 4, inlinegraphics is empty.
5912 * insettabular.C (linuxdoc): export the ascii version of the table
5913 inside a CDATA section.
5915 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * insetparent.C (InsetParent):
5918 * insetgraphicsParams.C (Write):
5920 * insetgraphics.C (prepareFile):
5923 * insetexternal.C (executeCommand):
5924 (doSubstitution): use Buffer::filePath
5926 * insetbib.C (getFiles): add a #warning for Angus
5928 * insetgraphics.C: Add a remark about how filenames should be
5929 considered to be relative to buffer (but absolute is still allowed)
5930 (draw): do not try to get status if lyxrc.use_gui is false
5932 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5935 * insetcollapsable.[Ch]:
5936 * insettabular.[Ch] (searchForward, searchBackward): change the
5937 bool const & params to bool.
5939 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5940 to avoid the name clash with InsetCollapsable's methods of the same
5941 names but different functionality.
5943 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5945 * insettext.C (ascii): use lyx::count rather than countChar.
5947 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5949 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5951 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * insetgraphics.C (updateInset): do not try to render image if
5954 lyxrc.use_gui is false (bug #104)
5956 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5957 if file does not exist
5959 * figinset.C (browseFile): add shortcuts to directory buttons
5961 * insettext.C (updateLocal): update menubar and toolbar here too.
5963 2002-01-13 Allan Rae <rae@lyx.org>
5965 * insettabular.C (InsetTabular): Both constructors now initialise
5966 all class variables.
5968 2002-01-11 Juergen Vigna <jug@sad.it>
5970 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5972 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5974 * insettabular.C (getStatus): add forgotten brace around multiline
5977 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5979 * insetfloat.C (validate): require "float" instead of "floats".
5981 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5983 * insettabular.C (getStatus): use FuncStatus
5985 2002-01-08 Juergen Vigna <jug@sad.it>
5987 * insettabular.C (insetButtonRelease): now this should work too
5990 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5991 if the width is a percentage.
5993 * inset.h: added isChar() function and implemented this for
5994 insetspecialchar insetquotes and insetlatexaccent.
5995 added forceDefaultParagraphs() and implemented it for insettabular.
5997 2002-01-07 Juergen Vigna <jug@sad.it>
5999 * insettext.C (getLyXText): Fixed this function. An insert into the
6000 map is only done if we REALLY have a new BufferView.
6002 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6004 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6006 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6008 * insetinclude.C: fix use of FileInfo
6010 2002-01-07 Juergen Vigna <jug@sad.it>
6012 * insettabular.C (draw): fixed clearing of cell around inset.
6014 2002-01-05 Juergen Vigna <jug@sad.it>
6016 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6017 variables are updated.
6019 * insettabular.C (resetPos): set always the inset_y as it may be
6020 needed in another function.
6021 (searchBackward): don't draw while searching.
6023 2002-01-04 Juergen Vigna <jug@sad.it>
6025 * insettext.C (lockInsetInInset): forgot to set a cursor.
6027 2002-01-02 Juergen Vigna <jug@sad.it>
6029 * insettext.C (insertInset): make the correct undo informations on
6030 inserting new insets.
6032 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6034 * insettabular.C: correct single-cell select vertically
6036 2001-12-27 Juergen Vigna <jug@sad.it>
6038 * insettabular.C (ascii): export as tab-separated-values if the
6039 function was not called from export (f.ex.: clipboard).
6041 * insetcollapsable.h: added default support for ascii, linuxdoc and
6042 docbook export (the insettext is exported by default!)
6044 * insettabular.C (copySelection): suff the clipboard with the tabular
6045 data in a tab separated format, seems more naturals then with all the
6048 2001-12-24 Juergen Vigna <jug@sad.it>
6050 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6051 to check for REAL mouseMotion.
6053 2001-12-20 Juergen Vigna <jug@sad.it>
6055 * inset.C (cursor): return the owners cursor if available instead of
6056 always only the bv->text->cursor.
6058 * insettabular.C (checkLongtableSpecial): works now.
6060 2001-12-19 Juergen Vigna <jug@sad.it>
6062 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6063 this has to be always row + 1 as 0 means not selected!
6064 (checkLongtableSpecial): added
6065 (tabularFeatures): better longtable options support
6067 * insettext.C (resizeLyXText): reinit the text always also on a
6070 2001-12-18 Juergen Vigna <jug@sad.it>
6072 * insettext.C (updateInsetInInset): look if we have to autocollapse
6073 paragraps and return if the update is requested for ourself.
6075 * insetert.C (status): update the insettext not myself as that is what
6078 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6079 function only return if the update was requested with myself.
6081 * insettext.C (insetButtonPress): fixed stupid bug.
6082 (various functions): pay attention that lt is cleared BEFORE calling
6083 updateLocal() and try to use it in the right manner (don't use it
6084 if it's not really neccessary!)
6085 (collapseParagraphs): insert a blank between collapsing paragraphs
6086 if neccessary (not already there!).
6088 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6090 * insettabular.C: move includes around a bit, add a couple of
6093 * insettext.[Ch]: move includes around a bit, other ws changes and
6096 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6098 * insettext.C (insetButtonRelease): fix compile problem
6100 2001-12-17 Juergen Vigna <jug@sad.it>
6102 * insettext.C (insetButtonPress): set the selection cursor!
6103 (insetButtonPress): clear the selection (and set with that the
6104 selection.cursor) if we only hit an inset!
6106 * insetert.C (read): removed piece of compatibility code only needed
6109 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6112 * insetcollapsable.C (insetButtonRelease): changed so that it can
6113 open eventual existing popup dialogs on mousebutton==3.
6115 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6117 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6119 * inset.C (insetButtonRelease): return a bool for telling the outer
6120 world that we opened a dialog.
6122 2001-12-07 Juergen Vigna <jug@sad.it>
6124 * insettext.C (paragraph): remove the deleteing of paragraphs as
6125 it was a WRONG move!
6127 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6130 * insettabular.C: use new setSelection(). Allow
6131 selection of single cells.
6133 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6135 * insetquotes.C (latex): fix to use the local language setting at
6136 the point where the inset is inserted (different macros for
6137 different french packages)
6139 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6141 * inset.h: add par_owner_ member variable and parOwner
6144 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * insettabular.C (everywhere): adapt because widths are now real
6147 widths and not strings
6149 * insettext.C (draw): re-introduce the calls to width(), ascent()
6150 and descent() to initialize the caching variables.
6152 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * insettext.C (draw):
6155 (drawFrame): use insetWidth instead of last_width
6157 * insettext.h: remove variable last_width (insetWidth is exactly
6158 the same) and last_height (computed but never used!)
6160 2001-12-10 Allan Rae <rae@lyx.org>
6162 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6164 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6166 * insettext.C (insetAllowed): add comment
6168 2001-12-05 Juergen Vigna <jug@sad.it>
6170 * insettext.C (insetAllowed): fixed for the case that we directly
6171 ask the insettext from its LyXText.
6172 (paragraph): fixed the crash when assigning the par->next() from
6173 the EmptyParagraphMechanism!
6175 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6179 * insettext.C: change "while(" to "while ("
6181 2001-12-04 Juergen Vigna <jug@sad.it>
6183 * insetert.C (edit): handle Inlined status.
6185 * insettext.C (insertInset): trying John's fix for the trailing cursor
6187 * insetert.C (insetButtonPress): added to handle inlined status
6188 (insetMotionNotify): ditto.
6190 * insettext.C (clearInset): changed Painter & in BufferView * param,
6191 to be able to call ascent,descent methods.
6193 2001-12-03 Juergen Vigna <jug@sad.it>
6195 * insettext.C (updateInsetInInset): use lt variable to forbid
6196 changes of LyXText in an update call.
6197 (updateInsetInInset): fixed updating of non locked insets!
6199 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6201 * insettabular.C: capture some more functions to prevent
6202 selection drawing problems. Bug #451274
6204 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6207 * insetgraphicsParams.C: fix inverted sense of float_equal
6209 2001-11-30 Juergen Vigna <jug@sad.it>
6211 * insettabular.C (InsetTabular): use the save_id flag to create also
6212 the tabular with the same id's.
6214 * insettext.C (setParagraphData): added a same_id function for undo
6215 to set the same paragraph id's as of the paragraph we are setting.
6217 2001-11-30 José Matos <jamatos@fep.up.pt>
6220 * insettoc.[Ch]: DocBook -> docbook.
6222 2001-11-29 André Pönitz <poenitz@gmx.net>
6225 * insettext.C: further reduction of header dependencies by using
6226 lyx::layout_type and lyx::textclass_type from support/types.h
6228 2001-11-29 Juergen Vigna <jug@sad.it>
6230 * insettext.C: inserted a reinitLyXText function everywhere I delete
6231 the paragraphs! This should fixe the crashes we had.
6232 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6233 (paragraph): set the InsetOwner() of the new paragraphs!
6235 2001-11-28 André Pönitz <poenitz@gmx.net>
6237 * insetnote.C: add pos initialization that I removed without
6240 2001-11-28 Juergen Vigna <jug@sad.it>
6242 * insettabular.C (resetPos): hack to not crash with infinite paints.
6244 * insettabular.h: insert missing function allowSpellcheck()!
6246 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6248 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6251 * insetfloatlist.C: derive from InsetCommand so gui can use it
6254 2001-11-26 André Pönitz <poenitz@gmx.net>
6258 * insetnote.C: reduce header dependencies, introduce type for
6261 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6263 * various: update for Alert.h
6265 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6267 * inset.h: fix comment
6269 * insettext.C: use par->isInset()
6271 2001-11-22 Allan Rae <rae@lyx.org>
6273 * insetcollapsable.h:
6274 * inset.h: Changes to checkInsertChar() behaviour.
6275 Now return value indicates whether chars can be inserted.
6277 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6279 * various: updated to use the new LaTeXFeatures
6281 2001-11-14 José Matos <jamatos@fep.up.pt>
6283 * insetspecialchar.C (linuxdoc):
6284 (docbook): don't give a name to a unused variable.
6286 * insettext.C (docbook): removed unused variable.
6288 2001-11-13 Herbert Voss <voss@perce.de>
6290 * insetgraphic.C: fix scale bug
6292 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6294 * inset.h (isSpace):
6295 (isLetter): new virtual methods.
6297 * insetspecialchar.C (isSpace):
6298 (isLetter): implement here.
6300 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6302 * inset.h: new inline helpers
6304 * insettext.C: use new helpers
6306 2001-11-07 José Matos <jamatos@fep.up.pt>
6308 * insettext.C (docbook): full support for paragraphs inside insettext.
6310 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6312 * insetindex.C: added header file for std::ostream.
6314 2001-11-03 José Matos <jamatos@fep.up.pt>
6316 * insetindex.C: added using std::ostream that I forgot yesterday.
6318 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6320 * insetindex.h (docbook):
6321 * insetindex.C (docbook): added support for docbook export.
6323 2001-11-02 José Matos <jamatos@fep.up.pt>
6325 * insetcaption.C(docbook): added support for docbook export.
6327 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6329 * insetexternal.C (updateExternal): Do not run update command if
6330 result file exists and is up to date.
6332 * ExternalTemplate.C (readFormat): Support the updateresult token.
6334 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6336 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6337 external_templates) to use the buffer->fileName() but only if
6338 previewing. Generating a TeX file should make FPath return
6341 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6344 * insetert.C: fix some problems
6346 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6348 * insetexternal.C (doSubstitution): Added $$FPath token
6349 to list of usable substitutions in external inset templates.
6351 2001-10-24 Juergen Vigna <jug@sad.it>
6353 * insettabular.C: use new ltType struct for setting longtable
6354 header and footers also new UNSET enums.
6356 2001-10-24 José Matos <jamatos@fep.up.pt>
6358 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6359 (docbook): If the table is not inside a float then wrap it inside
6360 <informaltable>...</informaltable>.
6362 2001-10-23 José Matos <jamatos@fep.up.pt>
6364 * insetref.C (docbook): removed / terminator to conform SGML.
6366 * insetspecialchar.C (linuxdoc):
6367 (docbook): Added support for special chars, more than ascii export.
6369 2001-10-22 Juergen Vigna <jug@sad.it>
6371 * insettext.C (checkInsertChar): added for REALLY checking the
6372 font of the inserted char in the right inset!
6374 2001-10-19 Juergen Vigna <jug@sad.it>
6376 * inset.h: added method allowSpellcheck() so that insets who do
6377 not have anything to spellcheck can tell and so they are over-jumped.
6378 Implemented for InsetText and co.
6380 2001-10-18 Juergen Vigna <jug@sad.it>
6382 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6384 2001-10-15 José Matos <jamatos@fep.up.pt>
6386 * insetert.C: allow export for docbook and linuxdoc
6388 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6390 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6392 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6394 * insetquotes.C (dispString): fix handling of latin9 quotes
6396 2001-10-03 Juergen Vigna <jug@sad.it>
6400 * insetcollapsable.C: change updateInset calls to not tell BV that
6401 we have changed status.
6403 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6405 * insettabular.C (deletable): make const
6407 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6409 * insetert.C (latex): Fix the returned value
6411 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6413 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6414 Returns string(), so nothing in an ERT inset is spellchecked.
6416 * insetgraphics.C (draw): print the filename if not displaying the
6418 (width): make sure that the width and draw methods are consistent.
6419 (updateInset): don't even load the image into cache if not displaying
6422 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6424 * various files (selectNextWord): renamed as
6425 selectNextWordToSpellcheck.
6427 * insetgraphics.C (draw): remove the previous change. Right place
6428 is in imageLoaderXPM.C.
6429 (draw): don't display the image if params.display == NONE.
6431 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6433 * figinset.C (runqueue):
6434 * insetgraphics.C (draw): set background colour of inset from
6435 background to the user-configurable graphicsbg.
6437 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6439 * insetquotes.C (InsetQuotes): when trying to decide the side of
6440 the quote, choose `left' only after a space or '('
6442 2001-09-04 José Matos <jamatos@fep.up.pt>
6447 * insetcollapsable.h
6465 * insetlatexaccent.C
6466 * insetlatexaccent.h
6471 * insetspecialchar.C
6472 * insetspecialchar.h
6476 * insettext.C (docbook): rename docBook method to docbook.
6478 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6480 * inset.h (getFirstParagraph): New virtual method.
6482 2001-08-20 Herbert Voss <voss@perce.de>
6483 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6484 in the the bibtex-database-gui for inserting a line
6487 If no style is given than there is no tex-output.
6489 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6491 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6495 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6497 * insetert.C (latex): Fix output for multiple paragraphs.
6498 (write): New code for writing paragraph data.
6499 (read): Set font after reading the inset.
6500 (localDispatch): Call set_latex_font() for more cases.
6502 * insetnote.h: Add empty validate method.
6505 * insetnote.C (InsetNote): Set language to the language of the
6508 2001-08-16 Juergen Vigna <jug@sad.it>
6510 * insettext.C: implemented the new FINISHED states.
6512 * insettabular.C: ditto
6514 * inset.h: added more FINISHED states for cursor right,up,down
6516 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6518 * insetfloatlist.C: use "FloatName List"
6520 2001-08-14 Juergen Vigna <jug@sad.it>
6522 * insetert.C (edit): forgot to set status_ in edit calls!
6524 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6526 * insettext.C: Compilation fix
6528 2001-08-13 Juergen Vigna <jug@sad.it>
6530 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6532 * insetcollapsable.C (edit): don't recollapse an already open inset.
6534 * insettext.C: fixed problem when reinitializing LyXText by not doing
6535 it while lt is in use and post this to the next possible time in
6537 (searchForward): fixed not unlocking of inset if nothing found.
6538 (edit): set cursor behind right (was set -1 pos).
6540 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6542 * insettabular.C (tabularFeatures): fixed fix where deleting the
6543 last row didn't get the right actcell!
6545 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6547 * insettext.C (localDispatch): Change language only when the inset
6550 2001-08-10 Juergen Vigna <jug@sad.it>
6552 * insettabular.C (selectNextWordInt): use the front using edit call.
6554 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6555 the parameter overwrite class variable inset.
6557 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6559 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6560 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6562 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6563 update only for fixed with cells.
6564 (resetPos): try to fix the lockup on spellchecking or s&r.
6566 * insettext.C (update): comment this out as it seems first wrong
6567 and second not needed anymore!
6568 (some functions): call reinitLyXText() only in update() in all other
6569 positions set only need_update = INIT.
6571 2001-08-08 Juergen Vigna <jug@sad.it>
6573 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6575 * insettext.C (insetUnlock): remove double-space on inset unlock.
6577 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6579 * insettabular.C (update): fixed cursor positon after an insert.
6580 (insetAllowed): do not allow to insert insets when not inside the
6582 (draw): clear below an inset too as it could have changed height.
6584 * inset.C (getMaxWidth): fixed width for inset in inset.
6586 * insettext.C (update): small fix.
6588 * insettabular.C (tabularFeatures): added selection support to
6589 DELETE_ROW/DELETE_COLUMN.
6591 2001-08-07 Juergen Vigna <jug@sad.it>
6593 * inset.C (getMaxWidth): recoded and all it's implementations!
6595 * insettext.C (init,setParagraph+constructors): cleanups
6596 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6597 are new and I want do a save/restore of the cursor position which is
6598 not possible anymore.
6600 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6601 (searchBackward): ditto
6602 (selectNextWord): ditto
6604 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6606 * insetlatexaccent.C (checkContents): Add some debug messages
6608 2001-08-07 Juergen Vigna <jug@sad.it>
6610 * insetert.C (read): don't use InsetCollapsable::read as we don't
6611 write the collapsed status anymore only the status.
6614 2001-08-06 Juergen Vigna <jug@sad.it>
6616 * insetert.C (set_latex_font): use LyXText's setFont directly.
6618 * insettext.C (drawFrame): fixed one time more the right position
6619 and size of the frame!
6621 * insetert.C (~InsetERT): hide the dialog.
6622 (showInsetDialog): added implementation
6625 (status): new function for the status of the ERT inset (3-state).
6626 (write): output also the status of the inset for readback!
6627 (read): readback the status if available otherwise use collapsed_.
6629 * insettext.C (edit): small fix of setting the position, which could
6632 * insetert.C (width): implement this function for inlined viewing.
6633 Added minimum width of 10 pixels!
6635 * insetminipage.C (InsetMinipage): just change the colors a bit so
6636 that border/background is a bit more visible. We will remove this
6639 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6640 function for getting the important widths for drawing in various
6641 functions and in LyXText.
6642 (draw): fixed up a bit (frame drawing/clearing)
6644 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6646 * inset.C (convertFont): delete method. not used.
6648 2001-08-03 Juergen Vigna <jug@sad.it>
6650 * insettext.C (setFont): don't call for a draw update if we're just
6651 changing the cursor font!
6653 2001-08-02 Juergen Vigna <jug@sad.it>
6655 * insettext.C (draw): clear the background with the right color if
6656 needed. Update myself if x&max-width changed and return without doing
6657 anything. Let the update code handle the right stuff.
6659 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6660 inside another inset.
6662 2001-08-01 Juergen Vigna <jug@sad.it>
6664 * insetcollapsable.C (update): added an in_update bool so we avoid
6667 * insettabular.C (update): added an in_update bool so we avoid
6670 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6672 (update): added an in_update bool so we avoid reentering.
6674 * insettabular.C (localDispatch): clear col/row selection when doing
6675 something else inside an inset.
6677 * insettext.C (getLyXText): fixed bug when requesting a recursive
6680 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6682 * insetcite.C (latex): Paranoia check. Make sure that there is no
6683 whitespace between the citation keys.
6685 2001-07-31 Juergen Vigna <jug@sad.it>
6687 * inset.h (nodraw): make the set function also const so that this
6688 can be called from inside other const functions.
6690 * insetcollapsable.h: removed inline variable and moved it over
6691 to the only user InsetERT.
6693 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6694 inset opening immediately therein lying insets dialogs!
6696 * insetert.C (localDispatch): set the font also if we don't have any
6697 chars in this paragraph, otherwise if we delete all of em and start
6698 writing we have the wrong font.
6700 (draw): implemented for inline support
6701 (insetButtonRelease): ditto.
6703 2001-07-30 Juergen Vigna <jug@sad.it>
6705 * insettext.C (reinitLyXText): new function to reinit the insets
6706 text after lot's of paragraph changes. Use this instead of the
6707 cache.clear() which is VERY dangerous.
6709 * insetfloat.C (insetButtonRelease): we should only show the dialog
6710 if we press on the label otherwise we have problems to open mouse
6711 button 3 dialogs inside this float (f.ex. of a tabular!)
6713 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6715 * insetert.C: change back to "ERT"
6717 * insetfloat.C: handliign of RMB on label added.
6719 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6721 * insetgraphicsParams.C: #include LOstream.h here.
6723 * insetfoot.h: remove InsetFoot:: qualifier.
6725 2001-07-29 Baruch Even <baruch@lyx.org>
6727 * ChangeLog: Hiding time travel evidence.
6729 * insetgraphicsParams.h:
6730 * insetgraphicsParams.C:
6731 * insetgraphics.C: Added horizontal scale option, it actually
6732 scales both directions since it keeps image proportions.
6734 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6736 2001-07-29 Baruch Even <baruch@lyx.org>
6738 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6739 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6741 HACKY! Will need to add an EPS detection routine like old InsetFig
6744 2001-07-29 Baruch Even <baruch@lyx.org>
6746 * insetgraphics.C: Added EPSI to be an alias of EPS.
6748 2001-07-29 Baruch Even <baruch@lyx.org>
6750 * insetgraphics.C: Change GRAPHICS to Graphics.
6751 Changed image conversion rules (documented at the beginning of file).
6753 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6755 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6758 * insetgraphics.C: added a using std::endl directive.
6760 * insetcommand.h (getScreenLabel): removed pure virtual function,
6761 as it duplicates that in InsetButton.
6763 * insetbib.[Ch] (getScreenLabel):
6764 * insetbutton.[Ch] (getScreenLabel):
6765 * insetcite.[Ch] (getScreenLabel):
6766 * insetert.[Ch] (getScreenLabel):
6767 * insetexternal.[Ch] (getScreenLabel):
6768 * insetfloatlist.[Ch] (getScreenLabel):
6769 * insetinclude.[Ch] (getScreenLabel):
6770 * insetindex.[Ch] (getScreenLabel):
6771 * insetlabel.h (getScreenLabel):
6772 * insetparent.[Ch] (getScreenLabel):
6773 * insetref.[Ch] (getScreenLabel):
6774 * insettoc.[Ch] (getScreenLabel):
6775 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6777 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6779 (validate): remove check on "cite" when using natbib.
6781 2001-07-26 Baruch Even <baruch@lyx.org>
6783 * insetgraphics.C (draw): changed casting to be in one place
6784 rather than all over the function.
6787 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6789 * insetgraphicsParams.h:
6790 * insetgraphicsParams.C:
6791 * insetgraphics.C: Removed inline option and changed rotateAngle
6794 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6796 * insetfoot.C (validate): Added method to ensure that the
6797 right bit of LaTeX is emitted.
6799 * insetfoot.h: Added validate method to set the correct
6800 LaTeXFeatures bit for the special footnote code.
6802 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6804 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6807 2001-07-27 Juergen Vigna <jug@sad.it>
6809 * inset.h: remove unused font variable in parameter.
6810 removed checkInsertChar in UpdatableInset as it was equal to
6811 the one in Inset and so not needed.
6813 * insetert.C (checkInsertChar): implementation of function
6816 * inset.h: added new function checkInsertChar.
6818 * various files: added c-tor and clone() function.
6820 * insetcollapsable.h: removed clone function here as this should
6821 be only realized in REAL insets and added it to all collapsable
6822 insets! (with the copy-constructor).
6824 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * insetminipage.C (read): handle missing parameters more gracefully
6828 * insetcollapsable.C (read): handel missing collapsed more gracefully
6830 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * insetfloat.C (read): handle missing parameters.
6834 * insettext.C (read): handle old latex end_inset
6836 * insetert.C (setButtonLabel): new method
6837 (init): use it, to set the dynamic label correctly
6840 * Makefile.am (EXTRA_DIST): add files that is not part or the
6843 * insetcollapsable.h: remove autocollapsable (no users), remove
6844 draw_label, change_label_with_text and companion code. Remove args
6846 * insetert.[Ch]: move here instead (only user)
6848 * inset.h: rename private variable name to name_, make
6849 selectNextWord return a const string. make getInsetName return a
6850 string const &. Remove bool from open, add close.
6852 * Makefile.am: don't compile insetlist, insetsection
6855 2001-07-24 Juergen Vigna <jug@sad.it>
6857 * insetert.C (InsetERT): put init after the paragraph initialization,
6858 as otherwise we don't set the draw_label right.
6860 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6861 insets with the mouse without having strange selections.
6862 (edit): if the inset was collapsed and we open it here then put the
6863 cursor always at the beginning of the inset.
6864 (get_new_label): 15 instead of 10 max chars in the label.
6866 * insetert.C (localDispatch): added and handle various stuff we
6867 need to handle here (font setting on paragraph break, not permitted
6868 layout setting, etc.).
6870 * inset.h: added default copy-consturctor and implemented this in
6871 various insets with the change to use this in the clone function!
6873 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6875 * insetminipage.C (InsetMinipage): set background color to red :)
6877 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6879 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6880 draw frame mode is LOCKED.
6882 * insetcollapsable.C (edit):
6883 (insetButtonRelease): set update status to full when
6886 * insettext.C (clearInset):
6887 * insettabular.C (draw):
6888 * insetlatexaccent.C (draw): honor background color.
6890 * inset.h: new member background_color_, initialized to
6893 * inset.C (backgroundColor): new method.
6894 (setBackgroundColor): new method.
6896 * insetert.C (init): new method, called by the ctors.
6897 (InsetERT): when inserting contents, make sure the font is
6900 * insetnote.C (InsetNote): when inserting content, remove trailing
6902 (init): set background color to LColor::note
6904 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * insetcollapsable.C: adjust
6908 * insetbutton.C: adjust
6910 2001-07-23 Juergen Vigna <jug@sad.it>
6912 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6913 parameter on the _collapsed function (was not needed) and call
6914 always width_collapsed().
6916 * insetert.C (InsetERT): use setLabel with "true" flag.
6918 * insetcollapsable.C: modified various functions to set the draw_label
6919 string right in any condition.
6920 (setLabel): added a bool parameter to set change_label_with_text.
6922 * insetcollapsable.h: added draw_label string which is set to the
6923 actual drawn label-string, while label is the original static label
6924 of this collapsable inset. Added bool change_label_with_text to set
6925 if we want that the label changes to the start of the InsetText's
6926 text when collabpsed. You can set this flag with the setLabel funciton.
6927 Added bool inlined for inlined collapsable insets, but not handled
6930 * insetcollapsable.C (get_new_label): added should get a new label
6931 from the InsetText beginning (for now 10 chars).
6933 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6935 * insetquotes.C (latex): fix the handling of french double quotes
6936 when not using the french pachage.
6938 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6940 * insetcollapsable.h: make WidthCollapsed mutable.
6942 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6943 InsetPrintIndex returns INDEX_PRINT_CODE.
6945 * inset.h: add INDEX_PRINT_CODE
6947 * insetcollapsable.C (draw): init widthCollapsed if necessary
6950 * insetquotes.C (width): use the local language, not the document
6953 (dispString): add additional spacing for all french languages,
6955 (validate): make it work when there is no default language
6957 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6959 * insetnote.C (init): new method, called by the constructors
6960 (InsetNote): new constructor with contents passed as a string
6962 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6964 * insetfootlike.C (insetAllowed): disallow float in footlike.
6966 * insetert.C (InsetERT): add collapsed argument to the constrctor
6969 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6971 * insetindex.h: shut off warning
6973 2001-07-20 Juergen Vigna <jug@sad.it>
6975 * insetcollapsable.C (update): recoded hopefully works now!
6977 2001-07-19 Juergen Vigna <jug@sad.it>
6979 * most files: implemented the below new introduced function.
6981 * inset.h: added new edit(BufferView *, bool front) method to be able
6982 to enter an inset from the front/back without knowing x/y positions
6983 and baselines inside the inset. So I just can tell the inset activate
6984 me and set the cursor on the front/back of yourself.
6986 2001-07-18 Juergen Vigna <jug@sad.it>
6988 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6989 is given to the InsetText.
6990 (insetButtonPress): ditto
6991 (insetButtonRelease): ditto
6992 (insetMotionNotify): ditto
6994 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6996 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6997 LIGATURE_BREAK, since the name is so stupid.
6999 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7001 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7002 the default InsetCollapsable methods. I.e., it can insert anything.
7003 (write) output the name of the inset, not some silly hack for
7004 compatability with the old InsetInfo.
7006 * insetinfo.[Ch]: removed.
7007 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7008 now collapsable, but functionality is otherwise identical to InsetInfo.
7010 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7012 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7014 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7017 * insetquotes.C: general cleanup
7018 (dispString): add spaces inside french double quotes.
7019 (latex): ditto. Moreover, treat first the case where the frenchb
7020 or french options have been given.
7022 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7024 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7027 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7029 * figinset.C (RegisterFigure): Print debug message only when
7030 current_view is available.
7032 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7034 * many files: update to match the change below
7036 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7037 implement the version which takes an inset here.
7039 * insetcollapsable.[Ch]: implement open and isOpen
7041 * inset.h: remove insertInsetAllowed from Inset
7042 (open): new method, to open or close an inset
7043 (isOpen): returns the status of an inset
7044 (isCollapsable, colapse): removed
7046 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7048 * insetquotes.C (dispString): display french guillemets when using
7051 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7053 * insetcollapsable.h: remove bogus return statements
7055 2001-07-18 Juergen Vigna <jug@sad.it>
7057 * insettabular.C (selectNextWord): fixed spellchecking for the
7058 first cell of a tabular (wasn't entered!)
7059 (getLyXText): changed to enter automatically insettext and return
7060 it's LyXText if we're locked.
7062 2001-07-17 Juergen Vigna <jug@sad.it>
7064 * various files: implemented the below functions.
7066 * inset.h: added functions
7067 - virtual string selectNextWord(BufferView *, float & value) const;
7068 - virtual void selectSelectedWord(BufferView *) { return; }
7069 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7070 needed for spellchecking correctly!
7072 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * insetert.C (latex): write out all paragraphs.
7076 2001-07-17 Baruch Even <baruch@lyx.org>
7078 * insetgraphics.C (draw): Removed unneeded casts.
7080 2001-07-16 Juergen Vigna <jug@sad.it>
7082 * insettext.C (update): fixed small oversight (reset lt to 0).
7084 2001-07-14 Baruch Even <baruch@lyx.org>
7087 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7089 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7091 Consistent use of Lsstream.h:
7092 * figinset.C: removed using std::ostringstream directive.
7094 * insetgraphics.C (createLatexOptions):
7095 * insetinclude.C (unique_id):
7096 std::ostringstream -> ostringstream.
7097 * insettext.C (localDispatch): std::istringstream -> istringstream.
7099 2001-07-13 Juergen Vigna <jug@sad.it>
7101 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7103 * insetcollapsable.C (getLockingInset): ditto.
7105 2001-07-12 Juergen Vigna <jug@sad.it>
7107 * insetcollapsable.h: added implementation of new function for
7110 * various files: added implementation of new insertInsetAllowed-func
7111 and redone the function a bit more.
7113 * inset.h: added isCollapsable(), bool collapsed(),
7114 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7116 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7118 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7119 LyXText which is marked for removal while we're using it!
7121 * insettext.h: added private LyXText * lt to use it to assure we are
7122 not deleting our LyXText while we're using it!
7124 2001-07-11 Juergen Vigna <jug@sad.it>
7126 * insettext.C (insertInset): check if we are before the inset after
7127 inserting it! This check IS needed. Remove the Undo-Call as it is
7128 called in LyXText::insertInset!
7130 * insettext.h: added struct InnerCache.
7132 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7133 that we ONLY delete the LyXText in the getLyXText() routine. So we
7134 are sure we don't delete LyXText while someone is working with it!
7136 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7138 * insetexternal.C: (*it). -> it->
7139 * insettext.C: ditto
7141 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * insetcollapsable.C (edit): always open collapsed insets (even if
7144 they are not autocollapsable)
7146 * insetcommand.C (operator=): simplify.
7148 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * insetert.C (latex): handle META_NEWLINE
7152 2001-07-09 Juergen Vigna <jug@sad.it>
7154 * insetert.h: a normal InsetText can insert insets, but we won't.
7156 * inset.h: return default "false" on insertInsetAllowed and implement
7157 this function where a returnvalue != "false" is needed.
7159 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7161 * insetert.C (InsetERT): new contructor
7163 2001-07-06 Juergen Vigna <jug@sad.it>
7165 * a lot of files: added implementation of the below new functions
7166 and the change to clone(). Also the call of the new undo-functions
7169 * inset.h: added an inset_id, added functions getParFromID,
7170 getInsetFromID, firstParagraph, cursor and id functions, added
7171 bool same_ids to clone function.
7173 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7176 of BufferView * and shared_ptr<LyXText>
7178 2001-07-05 Juergen Vigna <jug@sad.it>
7180 * insettext.C (clear): deleted also the cache not only LyXText.
7181 (setParagraphData): ditto.
7183 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7185 * insetfloat.C (latex): let the specific placement take presedence
7186 if set, otherwise choose document placement if set, otherwise just
7187 use float default placement.
7189 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7191 * insettext.C (localDispatch): call CutAndPaste::'s static method
7194 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * insetbib.C: no meed to include forms.h here.
7198 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7200 * insettext.C: added using std::make_pair directive.
7202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7204 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7206 (deleteLyXText): ditto
7207 (resizeLyXText): ditto
7209 2001-07-02 Juergen Vigna <jug@sad.it>
7211 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7212 following calls are only returned the right pointer without the over
7213 head to search in the map.
7214 (various funcs): reset the cached_bview variable as this signs that
7215 the cache is not valid anymore.
7217 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7219 * insettabular.C (clone): do not copy the LyXTabular twice
7221 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * insettext.h (TEXT): delete method
7225 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * insetmarginal.C (latex):
7228 * insetfoot.C (latex): fix spacing of notes in LaTeX
7230 * insettext.C (localDispatch): use .c_str() on istringstream
7231 constructor argument.
7233 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7238 * inseturl.C: fix method names in these to begin
7239 with small char too, so they inherit
7241 2001-06-28 Juergen Vigna <jug@sad.it>
7243 * insettext.C (setFont): fixed font settings using toggleFree()
7244 instead of setFont().
7246 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7248 * Change a lot of method names to begin with a small char.
7249 Changes to a lot of files because of this.
7251 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * insetfloatlist.C (Write): std:: qualify ostream
7256 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7260 * insetgraphics.C: send debug output to Debug::INFO instead of
7263 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7266 * insettabular.C (getStatus): update to use func_status
7268 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7270 * insetref.C (DocBook): added support for cross-references without
7273 2001-06-26 The LyX Project <jug@sad.it>
7278 * insetlabel.h: removed escape method and moved it to
7281 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7283 * insettabular.C (getMaxWidth): do the speedup in a different way,
7286 2001-06-24 The LyX Project <Asger>
7288 * insettabular.C (getMaxWidth): We cache a mapping from
7289 inset to cell in order to speed this method up.
7291 2001-06-24 The LyX Project <Asger>
7293 * insettext.C: Optimized InsetText::draw or something.
7295 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7297 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7299 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * inset.h: name change from lyxinset.h
7303 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7305 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7307 2001-06-14 Juergen Vigna <jug@sad.it>
7309 * insettext.C (draw): removed warnings.
7311 2001-06-13 Juergen Vigna <jug@sad.it>
7313 * insettabular.C (nodraw): only go down the tree if we don't have
7314 that flag set otherwise it's obvious that we don't want to draw.
7315 (LocalDispatch): do also an update if we have an undispached result.
7317 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7320 * insetgraphicsParams.C:
7321 * insettext.C: removed // -*- C++ -*- as first line.
7323 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7325 * lyxinset.h (resizeLyXText): shut off warning about unused
7328 2001-06-07 Juergen Vigna <jug@sad.it>
7330 * insettext.C (resizeLyXText): honor the new force flag.
7332 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7334 * insettabular.C (deleteLyXText): new function
7336 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7344 * insetcollapsable.C:
7345 * insetcaption.C: LColor tidy
7347 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * figinset.C: fix typo
7351 2001-06-01 Juergen Vigna <jug@sad.it>
7353 * insettabular.C (resetPos): small hack so that scroll is not set to
7354 0 when we are in the last column of a tabular. This is a problem we
7355 have because of constats 20 offset on both directions, so this can
7356 cause on the limit an endless loop.
7358 * insettext.C (SetFont): forgot that we can have locking insets ;)
7360 2001-05-31 Juergen Vigna <jug@sad.it>
7362 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7364 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7366 * figinset.C: add using std:: directive for the C functions which
7369 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7371 * insetfloat.C (Write): write out wide info
7372 (Read): read the wide info
7373 (Latex): use the wide info when creating latex.
7375 * insettext.C: adjust
7377 * insetgraphics.[Ch] (statusMessage): change to return string
7381 * figinset.C (runqueue): add std::
7384 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7386 * insetcite.C (Ascii): add std:: qualifier
7388 2001-05-28 Juergen Vigna <jug@sad.it>
7390 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7391 a endless-width inset (maxWidth < 0).
7392 (Edit): change language only if not equal.
7394 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7396 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7398 2001-05-16 Juergen Vigna <jug@sad.it>
7400 * insettext.C (selectAll): added
7401 (clearSelection): added
7403 * insettabular.C (SetFont): now we may set a font on a whole selection!
7404 (getSelection): added helper function.
7406 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7408 * insetcite.C (Ascii): Add method.
7410 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7413 * insetbib.C: fix path for OS/2 & Win32
7415 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7417 * insetfoot.C (Latex): don't use % after footnote.
7419 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7421 * insettext.C (Read): use clear
7422 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7424 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7426 * insetfloatlist.h: add a bunch of std:: qualifiers.
7428 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7430 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7431 FLOAT_LIST_CODE, renumber code list.
7433 * insettoc.C (getScreenLabel): remove support for float lists
7437 * insetfloatlist.[Ch]: new files
7439 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7441 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7443 * insettabular.C (LocalDispatch):
7444 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7447 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7449 * insettext.C: remvoe !NEW_INSETS cruft
7451 * insettabular.C: remove !NEW_INSETS cruft
7453 * insetcollapsable.h: remove !NEW_INSETS cruft
7455 * insetbib.C: remove !NEW_INSETS cruft
7457 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7459 * insettoc.C: hack to make listof algorithm work
7461 2001-04-20 Juergen Vigna <jug@sad.it>
7463 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7465 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7467 * insetquotes.C (Latex): improve the guard against
7468 unwanted !` and ?` ligatures. This should really be done in
7469 another place (to catch all this ligatures at low-level).
7471 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * insettext.C (init): remvoe leftovers from cursor_visible change
7474 (draw): use c++ cast
7475 (LocalDispatch): dispatch LFUN_MESSAGE
7477 * insettabular.C (InsetTabular): remove leftovers from
7478 cursor_visible, and scoped_ptr changes
7479 (draw): use c++ cast
7481 * insetcollapsable.C (draw): use c++ cast
7483 * ExternalTemplate.h: inherit privaely from noncopyable
7484 * insetcommand.h: ditto
7485 * insetinclude.h: ditto
7487 2001-04-16 Allan Rae <rae@lyx.org>
7489 * insettoc.C (Ascii):
7490 * insettext.C (draw):
7491 * insettabular.C (setPos):
7492 * insetminipage.C (Read):
7493 * insetfloat.C (placement):
7494 * insetcaption.C (Ascii, DocBook):
7495 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7496 an unrecognised preprocessor directive. So ensure they're wrapped.
7498 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7501 * insetexternal.C: set view on Clone. Add _ to private members.
7503 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7505 * insettext.C (InsetText): fix new
7506 (InsetText): reindent some, simplify deletion of par list
7507 (clear): simplify deletion of par list, fix new
7508 (SetParagraphData): simplify deletion of par list
7510 * insettabular.[Ch] (getLabelList): implement new method
7512 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7514 * lyxinset.h: do not include gettext.h...
7522 * insetlatexaccent.C:
7526 * inseturl.C: ... and do it here instead
7528 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7530 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7532 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7534 * insetcollapsable.[Ch] (getLabelList): implement
7536 * insettext.[Ch] (getLabelList): implement
7538 * insettext.h: reindent
7540 * insettabular.h: make tabular a scoped_ptr
7542 * insettext.C (init): adjust for cursor_visible
7543 (ToggleInsetCursor): constify asc and desc, font, adjust for
7545 (ShowInsetCursor): constify asc and desc, font, adjust for
7547 (HideInsetCursor): adjust for cursor_visible
7549 * insettabular.C: reindent some
7550 (InsetTabular): adjust for scoped_ptr and cursor_visible
7551 (InsetTabular): ditto
7552 (~InsetTabular): delete delete
7553 (Clone): adjust for scoped_ptr
7554 (Read): constify old_format, adjust for scoped_ptr, move init of
7556 (draw): constify tx, localize loop vars.
7557 some other localization of variables, remove double initilizatons.
7559 * insetfoot.C: remove using std::ostream, add ostream where needed
7561 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7563 * lyxinset.h: some reindentaion, use initializer list for
7565 UpdatableInset: make cursor_visible a private var add
7566 public isCursorVisible(), add protected toggleCursorVisible() and
7567 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7569 * insettoc.C: remvoe using decl
7570 (getScreenLabel): make cmdname donst
7573 (Ascii): don't use endl
7575 * insetfootlike.C: remove using decl at file scope and add std::
7577 * insetmarginal.C: ditto
7579 * insetfoot.C: some reformatting
7581 * insetfloat.C (InsetButtonRelease): adjust the hit area
7583 * insetert.C (SetFont): some reformatting
7585 * insetcollapsable.C: some reformatting and constification
7586 (Clone): comment out.
7587 * insetcollapsable.h: some reformatting
7588 (Clone): comment out.
7593 2001-03-30 Juergen Vigna <jug@sad.it>
7595 * insetcollapsable.h: changen *inset to be a InsetText inset.
7597 * some files: changed to reflect the above change.
7599 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7601 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7602 InsetExternal::Params.
7603 Added operator==() and operator!=() for the Params struct.
7605 2001-03-29 Juergen Vigna <jug@sad.it>
7607 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7610 * insetminipage.C: removed widthp_ and all it's functions and changed
7611 to use new %-lengths of LyXLength.
7613 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7615 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7617 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7619 * insetgraphicsParams.C (operator!=): new function, needed by the
7620 ControlGraphics class.
7622 2001-03-28 Juergen Vigna <jug@sad.it>
7624 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7625 (checkAndActivateInset): don't use the values returned from
7626 call to bv->checkInsetHit.
7628 * insetminipage.C (Clone): set special minipage values.
7630 * insetcollapsable.C (draw): changed to draw the button in the
7631 upper left corner outside the textinset.
7632 (ascent): changed because of different drawing
7636 (InsetButtonPress): ditto
7637 (InsetButtonRelease): ditto
7638 (InsetMotionNotify): ditto
7640 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7642 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7646 2001-03-26 Juergen Vigna <jug@sad.it>
7648 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7650 * insettext.C (ShowInsetDialog): implemented above function.
7652 * insettabular.C (ShowInsetDialog): ditto
7654 * insetminipage.C (ShowInsetDialog): ditto
7656 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7658 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7659 InsetInclude::Params. Don't store a buffer * in Params. Store the
7660 master file name instead.
7662 2001-03-23 Juergen Vigna <jug@sad.it>
7664 * insetcollapsable.C (InsetMotionNotify):
7665 (InsetButtonRelease):
7666 (InsetButtonPress): fixed y-offset (minipages).
7668 * insettext.C (draw): force a FULL update if cleared == true.
7670 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7671 routine to draw the minipages on its position-flag.
7672 (InsetInInsetY): give back the right y position, because of minipage
7675 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7678 * insetfloat.C (DocBook): docbook export code.
7680 2001-03-22 Juergen Vigna <jug@sad.it>
7682 * insetminipage.C (getMaxWidth): added function to set the drawing
7684 (Read): should work now!
7686 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7687 if we create a new inset.
7689 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7691 * figinset.C (fl_set_preemptive_callback): moved definition outside
7694 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7696 * insetminipage.C (Read): prepare for reading of minipage arguments.
7698 2001-03-18 Baruch Even <baruch@lyx.org>
7700 * insetgraphics.C: Minor cleanups of the comments and code.
7702 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7704 * insetminipage.C (InsetMinipage): default to not collapsed
7706 2001-03-16 Juergen Vigna <jug@sad.it>
7708 * insetminipage.C (width): modified with to be a string
7709 (widthp): added widthp (for % width) support functions.
7710 (InsetButtonRelease): added to open the options dialog on button==3.
7711 (~InsetMinipage): added to hide the dialog.
7713 * insetminipage.h: added hideDialog signal
7715 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7717 * insetminipage.h: change the order or Position to match
7718 LyXParagraph::MINIPAGE_ALIGNMENT
7720 * several files: remvoe CXX_WORKING_NAMESPACES
7722 * ExternalTemplate.h: noncopyable is in namespace boost
7723 * insetinclude.h: ditto
7724 * insetcommand.h: ditto
7726 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7728 * insettext.C (Edit): #else# -> #else.
7729 * insettoc.C: added using directive.
7731 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7733 * insetminipage.h: add pos, inner_pos, width and height. + getters
7734 and setters for all of them.
7736 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7738 * insetinclude.C (Latex): Do not exit when the textclass of the
7739 included file differ from the textclass of the parent file.
7741 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7743 * ExternalTemplate.C (read): the reading of external insets now checks
7744 for \end_inset and removes it form the input stream.
7746 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7748 * ExternalTemplate.h:
7749 * ExternalTemplate.C:
7751 * insetexternal.C: move form to GUII
7753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7756 * insetinclude.C: add InsetIncludeParams, use
7757 composition rather than derivation of InsetCommand
7759 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7761 * insettoc.C (Ascii): use the Buffer typedefs
7763 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7765 * insettoc.C (Ascii): implement for dynamic number of lists
7767 * insetcaption.[Ch]: update from new_insets branch
7768 * insetfloat.[Ch]: ditto
7770 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7773 * figinset.C: use new File Dialog
7775 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7777 * insettext.C: changes becuase of ParagraphParameters.
7779 2001-02-28 Baruch Even <baruch@ev-en.org>
7781 * insetgraphics.C (updateInset): Changed due to the change in
7784 2001-02-26 Juergen Vigna <jug@sad.it>
7786 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7787 handled in LyXText).
7789 2001-02-23 Juergen Vigna <jug@sad.it>
7791 * insettext.C (draw): some small repainting fixes.
7792 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7794 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7795 should be) and not an int.
7797 * insettabular.C (LocalDispatch): ditto
7799 * insettext.C (LocalDispatch): ditto
7801 * insetcollapsable.C (LocalDispatch): ditto
7803 2001-02-22 Juergen Vigna <jug@sad.it>
7805 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7806 DISPATCH it and we don't have a locking_inset.
7808 2001-02-21 Baruch Even <baruch@ev-en.org>
7810 * insetgraphics.[Ch]: Changed to use
7811 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7813 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7815 * insetcollapsable.C (getLyXText): add const qualifier to second
7818 2001-02-22 Juergen Vigna <jug@sad.it>
7820 * insettext.C (getLyXText): honor the recursive parameter.
7821 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7823 * inset.C (getLyXText): added bool recursive parameter.
7825 * insettext.C (SetUpdateStatus): or the update codes.
7826 (draw): check need_update with &.
7827 (InsetButtonPress): set no_selection to not put a selection when
7828 entering an inset and it is redraws in another spot.
7830 * insettext.h: made need_update an int.
7832 2001-02-20 Baruch Even <baruch@ev-en.org>
7835 * insetgraphisc.C: Changed to use better semantics when loading images
7836 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7838 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7842 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7843 consistent with InsetTabular.
7845 2001-02-19 Juergen Vigna <jug@sad.it>
7847 * insettabular.C (LocalDispatch): implement PAGE up/down.
7849 * insettext.C (draw): clear all of it on need_update==INIT too!
7851 * insettabular.C (InsetUnlock): always clear the selection.
7853 * inset.C (scroll): normally we only want to scroll the inset until
7854 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7856 2001-02-14 Juergen Vigna <jug@sad.it>
7858 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7859 (resetPos): fixed scroll behaviour.
7860 (LocalDispatch): do an update if moving cursor inside a table cell
7861 requests a scroll of the tabular.
7863 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7865 * insettext.C (textWidth): constify local var
7867 * insettabular.C: small cleanup.
7869 * insetfoot.C (Latex): constify local var
7871 * insetcollapsable.C: small cleanup.
7873 * figinset.C (runqueue): use compare instead of strcmp
7875 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7878 * insetinfo.C: remove cruft
7880 2001-02-14 Juergen Vigna <jug@sad.it>
7882 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7884 2001-02-13 Juergen Vigna <jug@sad.it>
7886 * insettext.C (InsertInset): don't move left (is this right?)
7888 * insettabular.C (LocalDispatch): use of the no_draw variable
7890 * insettabular.h: new no_draw variable to stop redraw
7892 * insettabular.C (TabularFeatures): fixed update for alignment change
7894 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7898 * insetbib.C: move dialogs to frontends/
7900 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7902 * insettext.C (LocalDispatch): Restore the language if the inset
7905 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7907 * insettext.C (moveRightIntern): Update the selection cursor.
7908 (moveLeftIntern): Ditto.
7910 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * Makefile.am: remove BoundingBox.h
7914 * BoundingBox.h: removed
7916 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7918 * insettext.C (LocalDispatch): Update selection cursor when moving
7919 cursor to the right.
7920 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7921 (moveLeftIntern): Ditto.
7923 2001-02-05 Baruch Even <baruch.even@writeme.com>
7925 * insetgraphics.C: Updated automatic image conversion, it now goes into
7926 temporary directory instead of with the image itself.
7928 2001-01-21 Baruch Even <baruch@ev-en.org>
7930 * insetgraphics.C: Added Docbook support. Added Automatic image
7931 conversion to EPS or PNG when needed (support bitmap graphics).
7933 2000-11-02 Baruch Even <baruch@ev-en.org>
7936 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7937 to '\n' and removal of commented out code.
7939 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7941 * insetbib.C (callback): Update citations if the key has changed.
7943 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7945 * insetbib.C (InsetBibKey): Better computation of default key.
7946 (getScreenLabel) Show both the key and the label.
7947 (getBibLabel): New method.
7948 (callback): Force a redraw if the inset have been changed.
7950 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7952 * insetref.C (getType, getName): Move methods from
7953 src/frontends/xforms/FormRef.C.
7955 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7957 * insettabular.C: Various improvements (use only one dummy position).
7959 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7961 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7962 par->bibkey->width. This fixes the crashes when running without
7963 gui or when having included documents.
7965 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7967 * insetcommand.C (getAsString, setFromString): Cleanup.
7969 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7971 * insetref.C: Add the array InsetRef::types that contains
7972 information about all supported reference types.
7974 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7976 * lyxinset.h: remove trailing comma in enum.
7978 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7980 * insettext.C: kill LyXBell.