1 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * insetbase.C (edit,editXY,index): supress some lyxerr messages
5 2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
9 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
11 * insetlabel.C (changeRefsIfUnique): remove unused code
13 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
16 * insetcommand.[hC]: rename set_label_ to updateButtonLabel_ and
17 reverse the logic. Make sure to set updateButtonLabel_ to true in all
18 places where params is set (directly or indirectly).
20 2005-07-15 André Pönitz <poenitz@gmx.net>
22 * insettext.[Ch] (updateLocal): remove. Has been disabled for a while.
24 2005-07-15 André Pönitz <poenitz@gmx.net>
28 * insetcollapsable.[Ch]:
30 * updatableinset.[Ch]: remove UpdatableInset
32 2005-07-15 José Matos <jamatos@lyx.org>
34 * insettext.C (plaintext): fix call to asciiParagraph.
36 2005-07-15 André Pönitz <poenitz@gmx.net>
38 * insetcollapsable.[Ch]:
39 * updatableinset.[Ch] (scroll, setScroll): sanitize things
41 2005-07-14 Angus Leeming <leeming@lyx.org>
43 * insetbibtex.C (latex): when processing the LaTeX file in
44 a temp directory, copy the BibTeX databases there, mangling their
45 names in the process. Do this so that BibTeX can process the database
46 because it *really*, *really* can't handle "files with spaces".
48 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
50 * insettext.C (doDispatch): reduce some debug blabbering
52 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * ExternalSupport.C (subst_path): adjust to latex_path changes and
55 replace dots if appropriate
56 * insetgraphics.C (prepareFile): move lyxdot replacement to latex_path
57 * insetexternal.C (validate): require lyxdot
59 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * ExternalSupport.C (subst_path): new argument exclude_extension
62 * ExternalSupport.C (doSubstitution): exclude the extension when
64 * insetgraphics.C (stripExtensionIfPossible, prepareFile): exclude
65 the extension when quoting the file name
67 2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * insetquotes.C (latex): always use \og/\fg for the french
70 languages; test against the language code instead of the babel
73 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
75 * insettabular.C (tabularFeatures): adjust cursor after adding a column
77 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
79 * insetbranch.C (setButtonLabel): Make label prefix translatable.
81 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
83 * insettabular.[Ch] (dist): make it a real member of insettabular
84 and rewrite it to use the actuall cell dimensions for calculation,
85 not the insettext's deimensions (fixes bug 1801).
87 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * insetbibtex.C: (addDatabase): do not check for substrings but
91 (delDatabase): make it actually work.
93 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
97 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * insetgraphics.C (prepareFile): don't strip the extension of quoted
101 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
103 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
106 when multiple cells are selected (bug 1837).
108 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * insetoptarg.C (InsetOptArg): make the inset open by default
113 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * insetvspace.C (draw): use VSpace::asGUIName.
117 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
120 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
121 cur.noUpdate() if nothing changed
122 * insetlatexaccent.[Ch]: spelling fixes
124 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
126 * insetcollapsable.C (doDispatch): fix
127 click-on-closed-collapsable-inset-crash bug.
129 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
131 * insettabular.C (pasteSelection):
132 * insettext.h (copy c'tor): fix paste inside tabulars.
134 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * insetoptarg.C (plaintext): add dummy method.
138 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * insetbase.h (doDispatch): document a bit more
141 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
142 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
143 cur.bv().update(), because that leads to nested updates. Call
144 cur.noUpdate() instead where approriate.
146 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
148 * insetbibtex.C: change screen label
150 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
152 2005-05-06 José Matos <jamatos@lyx.org>
154 * insetcommandparams.C (scanCommand): fix out of range string access.
156 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
158 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
160 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
161 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
164 handle undefined character styles
165 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
166 handle undefined character styles
168 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
171 in getStatus and the tabularFeature string (bug 1860).
173 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * insetbranch.C (getStatus): make the code more compact
177 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * insetcollapsable.C (doDispatch): do not pass through double/triple
180 click events when they are not in the insetext (bug 1797).
182 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * insetbase.h: document a bit more
185 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
186 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
187 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
188 (getStatus): implement
189 * insetcollapsable.[Ch] (hitButton): take a const argument
190 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
193 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * insetcollapsable.C (doDispatch): pass through double/triple
196 click events (bug 1811).
198 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
202 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
203 but the SENSITIVE label type.
205 2005-04-18 Angus Leeming <leeming@lyx.org>
207 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
208 'use_latex_path' argument. In turn, passed to the new subst_path
209 function when replacing placeholders with paths.
211 * insetexternal.C (getScreenLabel):
212 * ExternalSupport.C (lots of places): change invocation of
213 doSubstitution in lots of places, specifying the appropriate values
214 for this 'use_latex_path' boolean.
216 * insetbib.C (latex):
217 * insetgraphics.C (latex):
218 * insetinclude.C (latex): pass path to latex_path rather than to
221 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
223 * insetcharstyle.C (validate): allow nested charstyle insets
225 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
227 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
229 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * insetfloat.C (InsetFloat):
232 * insetwrap.C (InsetWrap): do not set layout here.
234 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
236 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
238 * insetbase.h (getStatus): add more documentation
239 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
242 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
244 * insetcharstyle.C (metrics, draw):
245 * insetert.C (metrics, draw):
246 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
249 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
251 * insetexternal.C (validate):
252 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
253 multiple Requirements in external material template
255 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
257 * insettext.C (drawFrame): cosmetic fix
259 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
261 * ExternalSupport.C (writeExternal):
262 * insetgraphics.C (latex):
263 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
264 mis-count in computing latex error location
266 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
268 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
269 make it *not* descend into insets (fix a crash). Move the part
270 needed from editXY to a new function getNearestCell
272 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * insetinclude.C (InsetInclude): when constructing from another
275 InsetInclude, set set_label_ to false, since the value is never
278 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
280 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
282 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
284 * insettabular.C (drawSelection): cosmetic bugfix
286 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
288 * insettabular.C (doDispatch): get middle mouse button back again
289 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
290 when only a part of the cell is selected (fix bug 1799)
292 * insettabular.C: handle some more character attributes in
293 M. Vermeers method (when multiple cells in tables are selected);
294 disable some more senseless lfuns when multiple cells are selected
296 Move to end of cell instead of beginning when coming from the cell
299 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
301 * insettabular.C: make applying character attributes
302 possible for multiple cells in tables. Disable collapsable
303 insets for multiple-cell selection in table (Jürgen S.)
304 Bug reported by Helge Hafting.
306 2005-02-25 Andreas Vox <avox@arcor.de>
308 * insetmarginal.[hC] (docbook): new method, render as <note>
310 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
312 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * insetcaption.[Ch] (doClone): implement
316 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * insetgraphics.C (prepareFile): handle non-existing files
319 * insetgraphics.C (latex): remove special handling of non-existing
322 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
325 * insettext.C: adjust metrics
327 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * insettext.C: include boost/current_function.hpp (needed when
330 assertions are disabled)
332 2005-02-20 André Pönitz <poenitz@gmx.net>
334 * insetcollapsable.C: Prevent problems on double-/
335 tripleclick on collapsable label (bug 1797).
337 2005-02-13 André Pönitz <poenitz@gmx.net>
339 * insettext.[Ch] (border_): new
340 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
343 2005-02-14 Angus Leeming <leeming@lyx.org>
345 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
346 about "truncation of constant value".
348 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
350 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
351 workaround for broken HTML converter)
353 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * insetcollapsable.C (leaveInset): size() -> depth()
356 * insettabular.C (isRightToLeft): ditto
358 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
360 * insetert.C (latex, linuxdoc, docbook): remove newline handling
361 * insetert.C (doDispatch): clean pasted paragraphs
362 * insetert.C (getStatus): suppress more lfuns
363 * insetert.C (insetAllowed): return always false
365 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
370 * updatableinset.C: Use new cursor accessors.
372 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
376 2005-01-31 Angus Leeming <leeming@lyx.org>
378 * insetgraphicsParams.C: protect a #warning preprocessor call
379 with a #ifdef WITH_WARNINGS guard.
381 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
383 * Several files: use convert<> instead of atoi,strToXXX and friends
385 2005-01-23 Angus Leeming <leeming@lyx.org>
387 * insetbibitem.h (bibitemWidest): declare the function.
389 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
391 * insetgraphics.C (prepareFile): move the invocation of the default
392 converter to ../converter.C
393 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
394 call convert with try_default == true
396 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
399 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
400 determines what variables are substituted
401 * ExternalSupport.C (updateExternal): fix substitution of
404 2005-01-10 Angus Leeming <leeming@lyx.org>
406 * ExternalTemplate.C: use support/package.h to provide the paths to the
407 various directories used by LyX.
409 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
417 * ExternalTransforms.C (adjAngle): tostr -> convert
419 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
424 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
426 * ExternalTransforms.C: fix LaTeX output of \scalebox.
428 * ExternalTransforms.[Ch]:
429 * insetexternal.C: store all float/double values as strings.
432 * insetgraphicsParams.C: more precise checks for the value strings.
434 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * insettext.C (doDispatch): remove unused variable was_empty
438 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
441 * insetgraphicsParams.[Ch]: store all float/double values as strings.
443 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
445 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
447 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
449 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
450 UNSET_ALL_LINES (from Jürgen)
452 2004-12-14 Angus Leeming <leeming@lyx.org>
454 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
455 to overcome bug in the MinGW port of g++ 3.4.2.
457 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
459 * insettabular.C (getCellXPos): make it return a relative x
460 position wrt. the begin of the tabular
461 (resetPos): a couple of fixes
462 (doDispatch): add a couple of resetPos calls
463 (drawSelection): fix drawing of selection in single-cell mode
464 (draw): replace 'do not draw' optimization by 'draw with
467 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * insetbase.[Ch] (idxUpDown2): remove function
471 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * insettabular.[Ch]: use size_t-like types for cell, row and column
476 2004-12-02 José Matos <jamatos@lyx.org>
478 * insetlatexaccent.C (checkContents): remove compatibility code,
481 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * insetbase.h (getStatus): add better comment from src/cursor.C
485 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
487 * insettabular.[Ch]: adjust, introduce "do not draw
488 offscreen" optimization using NullPainter, (dist): introduce,
489 (getCursorPos): implement, (drawSelection): implement
491 * insetcollapsable.[Ch]: adjust
493 * insettext.C: adjust, (metrics): set the font before calling
496 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
498 * rename a lot of InsetOld to InsetBase
500 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
503 * insettext.C: par->pit renaming
505 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * Most insets: rename priv_dispatch to doDispatch
509 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * insettabular.C (tabularFeatures): fix multicolumn handling
513 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * render_base.h (operator=): use common semantics
517 * insettext.C (operator=): delete this
518 (copy constructor): implement this properly
519 (init): use for_each and bind
521 (appendParagraphs): ditto
523 * insettabular.C: add more const. Adjust for changes in tabular.
525 * insetbase.h: Use NVI on clone. Add virtual doClone and update
526 all children, also make copy constructor protected. Added some
527 safe-guards to clone.
529 * insets: adjust to fit.
531 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * insetoptarg.C (latexOptional): return number of lines instead of
536 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
538 * insettabular.[Ch] (string2params): Don't pretend to return the
539 active cell anymore and simplify keyword parsing.
541 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 * insetlatexaccent.h (isLetter): implement, so that word selection
544 takes accents into account.
546 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
548 * insetcollapsable.C (priv_dispatch): do not push the inset to the
551 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * ExternalSupport.C, insetgraphics.C:
554 s/getFormatFromContents/formats.getFormatFromFile/
556 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
558 * insetcharstyle.[Ch]:
559 * insetert.[Ch]: implement getStatus
561 * insetcharstyle.C (draw): visual clue when the cursor is inside
564 2004-11-02 José Matos <jamatos@lyx.org>
566 * insetcharstyle.C (docbook):
567 * insetlabel.C (linuxdoc, docbook):
568 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
571 * insettabular.C (docbook): mixed content no longer belongs to
574 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
578 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * ExternalSupport.C (updateExternal): convert files in the temp dir
582 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * insetcharstyle.C: drawing cosmetics.
586 2004-10-30 José Matos <jamatos@lyx.org>
588 * insetcharstyle.C (docbook): a compromisse solution. Don't output
589 paragraph tags inside inline elements.
591 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
593 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
594 InsetText methods rather than outputVerbatim (escapes special
595 characters) [bug 1731]
596 * insetcharstyle.C (outputVerbatim): remove this function.
597 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
598 which caused an infinite loop.
600 2004-10-29 José Matos <jamatos@lyx.org>
602 * insetgraphics.C (uniqueID): transfered to sgml.C
604 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
606 * insetlabel.C (docbook, linuxdoc):
607 * insetref.C (docbook, linuxdoc): sanitize id.
609 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
611 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
612 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
613 * insetgraphics.C (findTargetFormat): reformat
615 2004-10-28 José Matos <jamatos@lyx.org>
617 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
619 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
623 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
625 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
626 "[,,,]" without warning message
628 2004-10-26 Angus Leeming <leeming@lyx.org>
630 * ExternalSupport.C (updateExternal):
631 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
632 external files to the temp directory.
634 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
636 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
637 layouts. This fixes problems with the memoir class (which does not
638 allow \footnote) [bug 1677]
640 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
642 * insetindex.C (docbook): escape the index, to generate correct sgml.
644 2004-10-23 José Matos <jamatos@lyx.org>
646 * insettext.C (docbook): rearrange arguments, due to change in the
649 2004-10-23 André Pönitz <poenitz@gmx.net>
651 * insettabular.C (cutSelection, tabularFereatures):
652 fix cursor position after cutting selection or table rows
654 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
656 * insetgraphics.C (docbook, writeImageObject): write more than one
657 format of imageobjects in <mediaobject>.
659 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
661 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
662 DocBook output for this inset ( <citation>content</citation> )
664 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
666 * insetgraphics.C (docbook) : using mediaobject for XML;
667 correcting bug with SGML output (now '>' instead of '/>')
669 2004-10-05 José Matos <jamatos@lyx.org>
671 * insetfloatlist.C (read):
672 * insetquotes.C (read):
673 * insetspace.C (read):
674 * insetspecialchar.C (read):
675 * insettabular.C (read): replace nextToken by more appropriate lex
678 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
680 * insetgraphics.C (createDocBookAttribute, docbook) :
681 convert scale, width, height and keepaspectratio to Docbook standards)
683 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
684 to Docbook units where possible.
686 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
688 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
690 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
691 as attributes with new method for docbook.
693 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * render_preview.h: Use preferred calling of Boost.Signal
697 * pch.h: use proper signal include
699 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * ExternalTransforms.h: User preferred calling of Boost.Function
703 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
705 * insetref.C (docbook): fixing problem where Docbook XML output
706 had unclosed <xref ... >
708 2004-08-16 José Matos <jamatos@lyx.org>
710 * insethfill.C (write):
711 * insetline.C (write):
712 * insetnewline.C (write):
713 * insetpagebreak.C (write): remove space at end of line.
715 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * insettabular.C (plaintext): do not use ownerPar to get the
720 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
721 and it calls getParentLanguage (which calls ownerPar)
722 (edit): do not call sanitizeEmptyText
723 (priv_dispatch): remove code resetting font on empty inset, for
724 the same reasons as above.
726 * insettabular.C (isRightToLeft): instead of using
727 BufferView::getParentLanguage, use the data from the cursor
729 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
733 * Makefile.am: support pch
735 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * insettabular.C (draw): whitespace
739 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
741 2004-08-14 André Pönitz <poenitz@gmx.net>
743 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
745 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * insettabular.C (metrics): when the width of a cell is zero(),
748 let it use as much space as it can
750 * insettext.C (editXY): compilation fix
752 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
754 (metrics): the insets is not full width any more.
755 (draw): adjust; fix bad test for PREVIEW_OFF
756 (add_preview): fix bad test for PREVIEW_OFF
757 (display): do not return true when using \input
759 2004-08-14 José Matos <jamatos@lyx.org>
761 * insetbibitem.[Ch] (plaintext): added.
763 * insetcite.[Ch]: fix plaintext export.
765 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
767 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
770 * insetcaption.C (InsetCaption): modify call to setDrawFrame
771 * insetcollapsable.C (InsetCollapsable): ditto
772 * insetenv.C (InsetEnvironment): ditto
774 2004-08-14 André Pönitz <poenitz@gmx.net>
777 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
779 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
781 * insetoptarg.C (latexOptional): if the optional argument contains
782 a ']' enclose it in {curly brackets}
784 * insettext.C (editXY):
785 * insettabular.C (editXY):
786 * insetcollapsable.C (editXY):
787 * insetbase.C (editXY): constify
789 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
790 not ask for an update if we did nothing; on a mouse release, make
791 sure that the cursor is moved to the right position; on a mouse
792 release, exit from the inset instead of invoking a
795 * insetbase.C (dispatch): before invoking dispatch, set cursor
796 result to dispatch=update=true.
798 2004-08-13 José Matos <jamatos@lyx.org>
800 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
802 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * insetfoot.C (latex): use OutputParams::intitle instead of
805 parOwner() (avoids time consuming lookup)
807 * insetquotes.C (latex): same as above with OutputParams::lang.
808 Moreover the code actually works now.
810 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
813 * insetinclude.C, insetgraphics.C, insetfloat.C:
814 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
815 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
816 "support/std_sstream.h" to <sstream>
818 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
820 * insetgraphics.C (prepareFile): remove conversion_needed flag.
821 It made the following fail for a .eps graphics file:
823 2) view->pdf (pdflatex)
824 because the .eps file was already in the temp dir when the pdflatex
825 export happened and therefore no .eps -> pdf conversion was done.
827 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
829 * insetgraphics.C, insettabular.C: s/wether/whether/g
831 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
833 * insetgraphics.C (stripExtension): new
834 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
836 * insetgraphics.C (prepareFile): Handle "nice" exports, too
837 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
839 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
841 * insetfloatlist.C (latex,getScreenLabel): translate according to
842 the document language (bug #1312)
844 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
846 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
847 with external_in_tmpdir and compute filename ourself
848 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
849 use it to store referenced file(s)
850 * ExternalSupport.C (writeExternal): write relative filename if
852 * ExternalTemplate.[Ch]: add ReferencedFile command
853 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
855 * insetgraphics.C (prepareFile): write relative filename if
857 * insetinclude.C (latex, docbook, linuxdoc): add file to
858 runparams.exportdata and write it to the temp dir instead of
859 writing it to the final destination
860 * insetinclude.C (docbook, linuxdoc): don't copy runparams
862 2004-05-19 Angus Leeming <leeming@lyx.org>
864 * insetcite.[Ch]: small change because namespace biblio is
865 now namespace lyx::biblio.
867 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
869 * insettabular.[Ch] (buffer): make Buffer * argument const
871 2004-05-17 Angus Leeming <leeming@lyx.org>
873 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
874 to force the button label to be re-generated.
876 2004-05-14 José Matos <jamatos@lyx.org>
878 * insetlabel (docbook): do not ouput label, for the moment.
880 2004-05-14 Angus Leeming <leeming@lyx.org>
882 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
883 new biblio::asValidLatexString function.
885 2004-05-12 Angus Leeming <leeming@lyx.org>
887 * insetcite.C: use BufferParams::cite_engine rather than the three
888 bools, use_natbib, use_jurabib, use_numerical_citations.
890 2004-05-10 Angus Leeming <leeming@lyx.org>
892 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
893 Ditto with getStyle, moved to biblio::getEngine.
895 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
897 * insetgraphics.C (validate): remove pre 233 file format stuff,
898 handle zipped files for "nice" export
900 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * insetgraphics.C (prepareFile): copy zipped file and corresponding
903 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
904 * insetgraphics.C (prepareFile): unzip zipped file also if it has
905 changed since the last run
906 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
907 and copyFileIfNeeded.
909 2004-04-29 Angus Leeming <leeming@lyx.org>
911 * ExternalTemplate.[Ch]: remove redundant #includes.
913 2004-04-28 Angus Leeming <leeming@lyx.org>
916 s/updateToolbar()/updateToolbars()/
918 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
920 * insetgraphics.C: require file extension (file format change!)
921 * insetgraphics.C (latex): handle zipped files for "nice" export
923 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
925 * insetgraphics.C (latex): strip the extension and replace dots in
926 the filename if doing a "nice" export. This is a partial fix for
927 bug 1231 without reintroducing bug 655.
929 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * insetoptarg.h: remove the editable() method (InsetCollapsable
932 does it better already)
934 * insetbibtex.C (normalize_name): new helper function. Changes the
935 name to be suitable to use in a latex file (relative to master
936 buffer if necessary).
937 (latex): use normalize_name.
939 2004-04-20 Angus Leeming <leeming@lyx.org>
941 * render_preview.C (startLoading): remove lyxerr statement.
943 (getPreviewLoader): new helper function.
945 2004-04-19 Angus Leeming <leeming@lyx.org>
949 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
951 2004-04-19 Angus Leeming <leeming@lyx.org>
953 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
955 (add_preview): renamed as add_preview_and_start_loading. Invoke
956 RenderPreview::startLoading.
958 * insetinclude.C (metrics, draw): changes due to the changed
959 RenderPreview interface.
961 * render_preview.C: remove cached pimage_.
962 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
963 (draw): don't call startLoading. That's up to the user of
966 2004-04-16 Angus Leeming <leeming@lyx.org>
968 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
970 2004-04-13 Angus Leeming <leeming@lyx.org>
972 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
973 the renderer to inform LyX::updateInset that the inset's status
974 has changed and it should be redrawn.
976 * render_button.[Ch] (clone):
977 * render_graphic.[Ch] (c-tors, clone):
978 * render_preview.[Ch] (c-tors, clone): ditto.
980 * render_graphic.[Ch] (connect):
981 * render_preview.[Ch] (connect): removed, as connection is now
982 made in the constructors.
986 * insetinclude.C: ensuing simplification of the client code.
987 (statusChanged): now superfluous. Removed.
989 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
991 * ExternalTemplate.[Ch]: remove editCommand
992 * ExternalSupport.C (editExternal): use formats.edit() instead of
993 the removed editCommand template parameter
994 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
995 * insetgraphics.[Ch] (editGraphics): new method
997 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
999 * insetinclude.C (validate): set/reset features.buffer_ when
1000 validating the child
1002 2004-04-07 Angus Leeming <leeming@lyx.org>
1004 * insetexternal.C (priv_dispatch):
1005 * insetinclude.C (priv_dispatch): prevent crash by invoking
1006 InsetOld::priv_dispatch at the end of the switch, rather than
1007 InsetOld::dispatch...
1009 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
1011 * insetcollapsable.C:
1012 * insetbranch.C: 'assign' to open/close branch inset according to
1013 selection; also print content on closed branch button
1015 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1017 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
1018 $$RelPath_Master, $$RelPath_Parent, $$Extension,
1019 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
1021 * ExternalSupport.C (updateExternal): use absolute and output
1022 filename where appropriate
1024 2004-04-05 André Pönitz <poenitz@gmx.net>
1026 * insetbase.h: use LCursor & in notifyCursorLeave
1028 2004-04-05 Angus Leeming <leeming@lyx.org>
1030 * insetgraphics.C: remove unused header file "lyxrc.h".
1032 * render_graphic.C: squash bug 1372: Misleading graphics label when
1033 deactivating lyx view.
1035 2004-04-05 Angus Leeming <leeming@lyx.org>
1040 * insetlatexaccent.C:
1045 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1047 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1049 * insetfloat.C (read): fix yesterday's float fix.
1050 * insetwrap.C (read): apply the fixed float fix.
1052 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * insetfloat.C (read): fix reading of float params
1057 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1059 * insettext.C (edit): comment the call to updateLocal (dangling now)
1060 * insettext.h: add allowSpellCheck() returning true
1062 2004-03-31 Angus Leeming <leeming@lyx.org>
1064 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
1066 2004-03-31 Angus Leeming <leeming@lyx.org>
1068 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
1069 the cursor out of an inset.
1071 * insetbranch.C (priv_dispatch):
1072 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
1073 use getOutOfInset to push the cursor out of the inset when
1076 2004-03-30 Angus Leeming <leeming@lyx.org>
1078 * insetbase.[Ch] (translate): new static member function, returns
1079 an InsetBase::Code corresponding to the input string.
1081 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1083 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1084 so that it opens the inset if it refers to the currently active
1087 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1089 * insetfloat.C (addToToc): use par_const_iterator_begin and
1090 par_const_iterator_end.
1092 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1094 * insetbibtex.[Ch]: bibtopic support.
1096 * insetfloat.[Ch]: add param \sideways {true|false}
1097 (support for sideways floats from rotating.sty).
1099 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1101 * insettext.[Ch]: add a default ctor. implement const version of
1107 * insetwrap.C: adjust
1109 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1111 * insettext.h: add insetAllowed returning true by default (fixing
1112 vanishing insets problem)
1114 * insettext.C (draw): handle the responsability of adding the
1115 ouside offset to collapsable. Clean code a bit.
1117 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1118 from insettext correctly, solve a couple of off-by-one drawing
1121 2004-03-25 Angus Leeming <leeming@lyx.org>
1123 * insetcaption.C (draw): squash warning about unused variable.
1125 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127 * ExternalSupport.C: use the master buffer's temp dir
1128 * insetgraphics.C (latex): make relative filename relative to the
1130 * insetgraphics.C: use the master buffer's temp dir
1131 * insetinclude.C (masterFilename): new function
1132 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1133 is always true if loadIfNeeded() returns true)
1135 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1137 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1138 set its parent to the current buffer.
1139 (latex): use the tmppath of the master buffer, not just the parent
1140 buffer (makes a difference with more than one level of include
1141 insets). If the file name is relative write in the .tex file a
1142 name relative to the master buffer directory.
1144 * insetinclude.C: rename masterFilename to parentFilename (this
1145 points to the direct parent)
1147 2004-03-25 André Pönitz <poenitz@gmx.net>
1149 * inset.[Ch]: remover owner
1151 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1159 * insetcharstyle.[Ch]:
1167 * insetwrap.C: adjust
1169 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1171 * insetquote.C: use opening quote after '[' char.
1173 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1175 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1178 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1180 * insetcite.[Ch]: support jurabib.
1182 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1184 * insetcite.C: Support second \cite option.
1186 * insetcommand.[Ch]:
1187 * insetcommandparams.[Ch]: add second optional argument.
1189 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1191 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1192 shows the inset dialog.
1194 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1196 * insetlabel.[Ch]: remove them
1197 * Makefile.am: adjust
1199 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1201 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1203 * insetinclude.C (latex): show a GUI warning if textclasses don't
1205 * insetinclude.C: use mangledFilename() for temp files
1206 * insetgraphics.C (readInsetGraphics): remove version check, since
1207 the graphics inset has no own fileformat number anymore
1209 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1211 * insetquotes.[Ch]: added new member that allows direct access
1212 to single/double quotation marks.
1213 * insetnewline.[Ch]:
1214 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1216 2004-02-16 André Pönitz <poenitz@gmx.net>
1219 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1220 implicitly assume 'DispatchResult(true, true) with exception of
1221 InsetBase::priv_dispatch which does the equivalent of
1222 'retrun DispatchResult(false)'
1224 * inset*.[Ch] (priv_dispatch): adjust
1226 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1227 simplify cursor moving function,
1228 re-enable horizontal scrolling for large tables
1230 2004-02-13 André Pönitz <poenitz@gmx.net>
1232 * insettabular.[Ch]: some work after IU
1234 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1236 * inset.C (setPosCache): switch to absolute coords in insets
1237 * insettext.[Ch] (draw, drawFrame): adjust
1238 * insetcollapsable.C (draw): adjust
1241 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1243 * insettext.C (edit):
1244 (updateLocal): use the cur argument instead of the global cursor
1245 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1247 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1251 * insetfloat.C (validate): "H" -> 'H' in call to contains
1253 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1255 2004-01-30 André Pönitz <poenitz@gmx.net>
1259 * insetcollapsable.[Ch]:
1262 * insetgraphics.[Ch]:
1264 * insettabular.[Ch]:
1267 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1270 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * insettabular.C: add using statement for std::vector, remove
1273 std:: where using was already used.
1275 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1277 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1279 * insetinclude.C (validate): use feautures.nice() instead of
1282 2004-01-20 André Pönitz <poenitz@gmx.net>
1285 * insetbase.[Ch]: move stuff from mathcursor here.
1287 * insetbibitem.[Ch]:
1291 * insetcharstyle.[Ch]:
1292 * insetcollapsable.[Ch]:
1293 * insetcommand.[Ch]:
1295 * insetexternal.[Ch]:
1297 * insetgraphics.[Ch]:
1298 * insetinclude.[Ch]:
1302 * insettabular.[Ch]:
1306 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1309 2004-01-15 André Pönitz <poenitz@gmx.net>
1312 * insetbibitem.[Ch]:
1316 * insetcharstyle.[Ch]:
1317 * insetcollapsable.[Ch]:
1318 * insetcommand.[Ch]:
1320 * insetexternal.[Ch]:
1322 * insetgraphics.[Ch]:
1323 * insetinclude.[Ch]:
1327 * insettabular.[Ch]:
1331 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1333 2004-01-08 André Pönitz <poenitz@gmx.net>
1335 * insetcollapsable.[Ch]:
1336 * insettabular.[Ch]:
1338 * updatableinset.h: use cell index info from global cursor.
1340 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1342 * insetnote.C (InsetNoteParams::write): write label only once
1344 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1348 get rid of the SameName functor
1350 * insettabular.C: improve the functor.
1352 2003-12-29 Angus Leeming <leeming@lyx.org>
1354 * insetexternal.C (setParams): update defaultTemplateName.
1356 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1358 * insetbox.C: Use term "Box" in button label
1360 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1362 * insetcharstyle.C: get getDrawFont working again
1364 2003-12-15 André Pönitz <poenitz@gmx.net>
1366 * insettabular.[Ch]:
1367 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1369 2003-12-12 Angus Leeming <leeming@lyx.org>
1371 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1373 (InsetBranchParams): remove the branchlist hack.
1374 (isBranchSelected): new function, used to decide whether to
1375 print each output format. Also used by InsetList.
1376 (read, string2params): repair my own breakage ;-)
1378 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1380 * insetminipage.[Ch]: remove from repository.
1382 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1385 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1386 insetert to insetcollapsable; introduce virtual function
1387 setButtonLabel and invoke it from collapsable
1389 2003-12-12 Angus Leeming <leeming@lyx.org>
1391 * insetinclude.C (draw): cache x,y and so enable the
1392 dialog to be opened.
1394 2003-12-12 Angus Leeming <leeming@lyx.org>
1396 * mailinset.C (print_mailer_error): tidy up the output.
1398 2003-12-11 Angus Leeming <leeming@lyx.org>
1400 * mailinset.[Ch] (print_mailer_error): new helper function.
1402 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1403 calling InsetCommandMailer.
1404 (InsetCommandMailer::string2params): pass the name of the dialog.
1406 * insetbibitem.[Ch] (d-tor):
1407 * insetbibtex.[Ch] (d-tor):
1408 * insetcite.[Ch] (d-tor):
1409 * insetfloatlist.[Ch] (d-tor):
1410 * insetindex.[Ch] (d-tor):
1411 * insetlabel.[Ch] (d-tor):
1412 * insetref.[Ch] (d-tor):
1413 * insettoc.[Ch] (d-tor):
1414 * inseturl.[Ch] (d-tor): removed.
1415 Hiding the dialog is handled by InsetCommand.
1417 * insetbibtex.[Ch] (draw, metrics):
1418 * insetfloatlist.[Ch] (draw, metrics):
1419 * insetindex.[Ch] (draw, metrics): removed.
1420 Drawing is handled by InsetCommand.
1422 * insetbibitem.[Ch] (priv_dispatch):
1423 * insetbibtex.[Ch] (priv_dispatch):
1424 * insetcite.[Ch] (priv_dispatch):
1425 * insetfloatlist.[Ch] (priv_dispatch):
1426 * insetindex.[Ch] (priv_dispatch):
1427 * insetlabel.[Ch] (priv_dispatch):
1428 * insettoc.[Ch] (priv_dispatch):
1429 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1430 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1431 LFUN_INSET_DIALOG_SHOW.
1433 * insetbox.C (string2params):
1434 * insetbranch.C (string2params):
1435 * insetert.C (string2params):
1436 * insetexternal.C (string2params):
1437 * insetfloat.C (string2params):
1438 * insetinclude.C (string2params):
1439 * insetminipage.C (string2params):
1440 * insetnote.C (string2params):
1441 * insetvspace.C (string2params):
1442 * insetwrap.C (string2params): over-hauled.
1444 2003-12-10 Angus Leeming <leeming@lyx.org>
1446 * insetexternal.[Ch]: add a draft option and respect it when
1449 2003-12-10 Angus Leeming <leeming@lyx.org>
1451 * insetbox.C: (read, write): now prepend the inset contents with
1452 'Box' to identify the inset as a box inset.
1454 * insetbox.h: move the translators out of sight.
1456 2003-12-10 Angus Leeming <leeming@lyx.org>
1458 * insetert.C (string2params): clean-up using the new lyxlex interface.
1460 * insetexternal.C: ensure that InsetExternalParams has a default
1461 template, 'RasterImage'.
1463 2003-12-10 Angus Leeming <leeming@lyx.org>
1465 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1466 to an enum. Ensuing clean-ups through out the class.
1467 (read, write): now prepend the inset contents with 'Note' to identify
1468 the inset as a note inset.
1470 2003-12-10 Angus Leeming <leeming@lyx.org>
1472 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1473 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1475 2003-12-10 André Pönitz <poenitz@gmx.net>
1479 * insettabular.[Ch]:
1480 * insettext.[Ch]: remove unused insetInset()
1482 * insetert.C: disable some LFUNs
1484 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1486 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1488 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1490 2003-12-04 Angus Leeming <leeming@lyx.org>
1492 * insetexternal.C (draw): update the xo_, yo_ cache.
1494 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1496 (RotationDataType): new helper struct wrapping the
1497 RotationData::OriginType enum.
1499 2003-12-03 André Pönitz <poenitz@gmx.net>
1501 * inset.h: remove getParagraphs()
1503 * insetcollapsable.[Ch]:
1506 * insettabular.[Ch]:
1507 * insettext.C: use getText() instead of getParagraphs()
1509 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1511 * insetert.C: fix label text updating bug
1513 2003-12-02 Angus Leeming <leeming@lyx.org>
1515 * insetvspace.[Ch] (space): new member function. Make space_ private.
1516 (read): use the new, simpler lyxlex syntax.
1518 2003-12-01 André Pönitz <poenitz@gmx.net>
1520 * insetcollapsable.[Ch]:
1521 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1523 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1525 * insetvspace.C (read): handle 'end_inset' token.
1527 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1529 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1531 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1533 * insetcollapsable.[Ch]:
1535 * insetcharstyle.C: place inset content on the button when
1538 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1540 * insetvspace.C: remove VSpace::NONE; increase inset width
1542 2003-12-01 André Pönitz <poenitz@gmx.net>
1544 * insetbase.h: whitespace
1546 * inset.[Ch]: remove latexTextWidth
1547 make setBackgroundColor virtual
1549 * insettext.[Ch]: move ParagraphList member to LyXText
1551 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1557 * insetminipage.[Ch]:
1559 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1561 2003-11-28 Angus Leeming <leeming@lyx.org>
1563 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1564 hiding and showing the dialog respectively.
1565 (priv_dispatch): also actually update the inset contents.
1567 2003-11-28 Angus Leeming <leeming@lyx.org>
1569 * insetbox.C (d-tor):
1570 * insetbranch.C (d-tor):
1571 * insetcite.C (d-tor):
1572 * insetfloat.C (d-tor):
1573 * insetfloatlist.C (d-tor):
1574 * insetinclude.C (d-tor):
1575 * insetindex.C (d-tor):
1576 simplify the invocation of the Mailer::hideDialog() function.
1578 * insetminipage.C (showInsetDialog):
1579 simplify the invocation of the Mailer::showialog() function.
1581 2003-11-28 André Pönitz <poenitz@gmx.net>
1584 * insetvspace.[Ch]: new insets
1586 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1588 * insetcharstyle.C: Syntax change for CharStyles
1590 2003-11-28 André Pönitz <poenitz@gmx.net>
1592 * updatableinset.h: remove insetInInsetY
1594 * insetcollapsable.[Ch]:
1596 * insettabular.[Ch]:
1597 * insettext.[Ch]: adjust
1599 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1603 * insetcollapsable.[Ch]:
1605 * insettabular.[Ch]: remove setFont
1607 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1609 * render_graphic.[Ch]: adjust comments
1611 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1613 * insetgraphics.C (draw): cache xo_ & yo_
1615 2003-11-24 André Pönitz <poenitz@gmx.net>
1617 * insettext.C (setViewCache): don't call LyXText::init() anymore
1619 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1622 * insetcollapsable.[Ch]:
1623 * insetert.[Ch]: remove bufferview parameter in methods
1624 open, close, status, and updateStatus.
1626 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1628 * insetcollapsable.[Ch]:
1629 * insettabular.[Ch]:
1630 * insettext.[Ch] (getCursorDim): squash unused variable
1632 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1634 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1636 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1638 * insettext.C (draw): sets LyXText absolute coordinates
1640 2003-11-20 Angus Leeming <leeming@lyx.org>
1642 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1643 warnings about unused parameters.
1645 * insetcollapsable.C (open):
1646 * insettabular.C (pasteSelection):
1647 * insettoc.C (draw): ditto.
1649 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1651 * insetcollapsable.C:
1653 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1654 remove mouse_x mouse_y etc.
1656 2003-11-17 André Pönitz <poenitz@gmx.net>
1658 * insettext.[Ch] (cx, cy): remove
1660 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1662 2003-11-13 André Pönitz <poenitz@gmx.net>
1665 * insetcollapsable.[Ch]:
1666 * insettabular.[Ch]:
1667 * insettext.[Ch] (deleteLyXText): remove
1669 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1671 * insetcollapsable.[Ch] (fitInsetCursor): remove
1672 * insettabular.[Ch] (fitInsetCursor): remove
1673 * insettext.[Ch] (fitInsetCursor): remove
1674 * updatableinset.[Ch] (fitInsetCursor): remove
1675 (getCursorDIm): add virtual
1677 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1679 * src/insets/Makefile.am:
1680 * src/insets/inset.h:
1681 * src/insets/insetcharstyle.C:
1682 * src/insets/insetcharstyle.h: The Character Style /XML short
1685 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1687 * insettext.C: remove all update calls
1688 * insetcollapsable.C: remove all update calls
1690 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1692 * insettext.C (updateLocal, insertInset, setFont): remove
1695 2003-11-10 André Pönitz <poenitz@gmx.net>
1697 * inset.h: remove Inset::id_
1699 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1704 2003-11-10 André Pönitz <poenitz@gmx.net>
1708 * insetcollapsable.[Ch]:
1712 * insettabular.[Ch]:
1715 * updatableinset.[Ch]: remove inset locking & adjust
1717 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1719 * inset.h (allowSpellCheck): add (return true)
1720 * insetert.h (allowSpellCheck): add (return false)
1722 2003-11-05 José Matos <jamatos@lyx.org>
1728 * insetcaption.[Ch]:
1730 * insetcollapsable.[Ch]:
1731 * insetcommand.[Ch]:
1734 * insetexternal.[Ch]:
1736 * insetfloatlist.[Ch]:
1738 * insetgraphics.[Ch]:
1740 * insetinclude.[Ch]:
1743 * insetlatexaccent.[Ch]:
1746 * insetmarginal.[Ch]:
1747 * insetminipage.[Ch]:
1748 * insetnewline.[Ch]:
1751 * insetpagebreak.[Ch]:
1755 * insetspecialchar.[Ch]:
1756 * insettabular.[Ch]:
1758 * insettheorem.[Ch]:
1761 * insetwrap.[Ch]: rename ascii to plaintext
1762 and LatexRunParams to OutputParams.
1764 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1766 * insetcollapsable.C (edit): add open() all
1767 * insettext.C (edit): add setViewCache call
1769 2003-11-04 André Pönitz <poenitz@gmx.net>
1771 * inset.h (edit): move locking code from dispatch() to edit()
1777 * insetcollapsable.[Ch]:
1780 * insetexternal.[Ch]:
1781 * insetgraphics.[Ch]:
1786 * insettabular.[Ch]:
1787 * insettext.[Ch]: adjust
1789 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1792 * insetcollapsable.[Ch]:
1794 * insettabular.[Ch]:
1796 * updatableinset.[Ch]: remove dead search code
1798 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1801 * insetcollapsable.[Ch]:
1803 * insettabular.[Ch]:
1805 * updatableinset.[Ch]: remove dead spellcheck code
1807 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1809 * insettabular.C (lockInsetInInset): small fix
1811 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1814 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1815 from here. Be stricter on DispatchResult returned.
1817 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * Inset::dispatch's: adjust for new DispatchResult semantics.
1821 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * render_base.h: make clone return an auto_ptr
1824 * render_button.C (clone): adjust
1825 * render_graphic.C (clone): adjust
1826 * render_preview.C (clone): adjust
1828 * insettheorem.C (clone): return an auto_ptr
1830 * insettext.C (priv_dispatch): exception safety
1832 * insettabular.C: store the file scope variable paste_tabular in a
1833 scoped_ptr, adjust usage.
1835 * insetexternal.C (setParams): exception safety
1837 * insetbibitem.C (clone): exception safety
1839 2003-11-03 André Pönitz <poenitz@gmx.net>
1842 * insetcollapsable.[Ch]:
1843 * insettabular.[Ch]:
1844 * insettext.[Ch]: remove Inset::id and related functions
1846 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * insets: adjust for DispatchResult changes.
1850 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1852 * insetpagebreak.C: fix screen representation & ascii output.
1854 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1858 * insettabular.[Ch]:
1859 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1861 2003-10-31 José Matos <jamatos@lyx.org>
1863 * inset.h (ascii, linuxdoc, docbook):
1864 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1865 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1866 * insetcaption.[Ch] (ascii, docbook):
1867 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1868 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1869 * insetert.[Ch] (ascii, linuxdoc, docbook):
1870 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1871 * insetfloat.[Ch] (linuxdoc, docbook):
1872 * insetfloatlist.[Ch] (ascii):
1873 * insetfoot.[Ch] (docbook):
1874 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1875 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1876 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1877 * insetindex.[Ch] (docbook):
1878 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1879 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1880 * insetline.[Ch] (ascii, linuxdoc, docbook):
1881 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1882 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1883 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1884 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1885 * insetref.[Ch] (ascii, linuxdoc, docbook):
1886 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1887 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1888 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1889 * insettext.[Ch] (ascii, linuxdoc, docbook):
1890 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1891 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1892 * insetwrap.[Ch] (docbook):
1893 add LatexRunParams argument.
1895 2003-10-30 José Matos <jamatos@lyx.org>
1897 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1899 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * updatableinset.C (priv_dispatch):
1902 * insetwrap.C (priv_dispatch):
1903 * inseturl.C (priv_dispatch):
1904 * insettoc.C (priv_dispatch):
1905 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1906 (moveLeftIntern, moveUp, moveDown):
1907 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1908 (moveLeft, moveUp, moveDown):
1909 * insetref.C (priv_dispatch):
1910 * insetnote.C (priv_dispatch):
1911 * insetminipage.C (priv_dispatch):
1912 * insetlabel.C (priv_dispatch):
1913 * insetindex.C (priv_dispatch):
1914 * insetinclude.C (priv_dispatch):
1915 * insetgraphics.C (priv_dispatch):
1916 * insetfloatlist.C (priv_dispatch):
1917 * insetfloat.C (priv_dispatch):
1918 * insetexternal.C (priv_dispatch):
1919 * insetert.C (priv_dispatch):
1920 * insetcommand.C (priv_dispatch):
1921 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1922 * insetcite.C (priv_dispatch):
1923 * insetbranch.C (priv_dispatch):
1924 * insetbox.C (priv_dispatch):
1925 * insetbibtex.C (priv_dispatch):
1926 * insetbibitem.C (priv_dispatch):
1927 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1929 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1931 * insettext.C: small refactoring of docbook stuff
1933 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1936 (priv_dispatch): adjust for operator dispatch_result_t removal
1938 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1939 in a DispatchResult, adjust accordingly.
1940 (priv_dispatch): use strange >= construct... (will be removed later)
1942 * most insets: dispatch_result -> DispatchResult
1944 * insetbase.h: move DispatchResult out to dispatchresult.h
1946 2003-10-27 André Pönitz <poenitz@gmx.net>
1948 * insetpagebreak.[Ch]: new inset for page breaks
1950 * insetline.[Ch]: new inset for vertical lines
1955 2003-10-25 Angus Leeming <leeming@lyx.org>
1957 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1958 new virtual member functions, specialised...
1959 * render_button.h (asButton):
1960 * render_graphic.h (asGraphic):
1961 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1963 * insetexternal.C: use these new functions rather than dynamic_cast.
1964 Various other small simplifications.
1966 2003-10-22 Angus Leeming <leeming@lyx.org>
1968 * insetexternal.[Ch]: add the ability to 'preview' the external file
1971 * insetinclude.C: changes due to the changes in the RenderPreview
1974 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1975 message if the preview image is not available. Only initiate the
1976 loading of the preview from draw(). Ditto, start the monitoring
1977 of an external file from RenderMonitoredPreview::draw.
1979 2003-10-22 Angus Leeming <leeming@lyx.org>
1981 * insetcite.[Ch] (setLoadingBuffer): removed.
1982 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1983 ascertain whether to proceed with the (expensive) task of computing
1984 the natbib-style label. Remove the home-grown hack providing
1985 similar functionality.
1987 2003-10-22 Angus Leeming <leeming@lyx.org>
1989 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1990 class and into an anonymous namespace.
1992 2003-10-22 Angus Leeming <leeming@lyx.org>
1994 * insetcommand.h: remove the display method.
1998 * insetindex.h (InsetPrintIndex):
1999 * insettoc.h: add a display method, returning true.
2001 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2003 * insetcollapsable.h:
2007 * insetinclude.h: (1) finish off the inset display() work;
2008 (2) fix the "is a bit silly" bug (accessing char
2011 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2015 * insetfootlike.h: re-introduce display() for insets,
2016 fixing the various bugs (stretch of line above, math inset
2019 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * insetbase.C (dispatch): new func
2022 (priv_dispatch): new func replaces...
2023 (localDispatch): this, deleted.
2025 * all insets with dispatch modified for new code.
2027 2003-10-15 André Pönitz <poenitz@gmx.net>
2029 * insetcollapsable.[Ch]
2031 * inset.h: re-add some edit(bv, index) method called by undo
2033 2003-10-14 Angus Leeming <leeming@lyx.org>
2035 * insetexternal.[Ch] (view, cache, view_):
2036 * insetgraphics.[Ch] (view, cache, view_):
2037 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
2038 (statusChanged): call LyX::cref().updateInset.
2040 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
2041 the BufferView cache.
2043 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
2046 2003-10-14 Angus Leeming <leeming@lyx.org>
2048 * insetinclude.C (metrics, draw): only draw the preview when previews
2051 2003-10-14 André Pönitz <poenitz@gmx.net>
2053 * insetcollapsable.[Ch]:
2054 * insettabular.[Ch]:
2056 * inset.h: getText() as alternative to getParagraphs()
2058 2003-10-13 Angus Leeming <leeming@lyx.org>
2061 * insetgraphicsParams.C: displayTranslator is now a function.
2063 2003-10-13 Angus Leeming <leeming@lyx.org>
2065 * insetinclude.C: remove #include "PreviewImage.h".
2067 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * ExternalSupport.C:
2070 * ExternalTransforms.C:
2072 * insetbox.h: ws changes only
2074 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * insetinclude.C (localDispatch): do not call
2077 InsetOld::localDispatch, just return UNDISPATCHED
2078 * insetgraphics.C (localDispatch): ditto
2079 * insetcommand.C (localDispatch): ditto
2081 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * inset.h: get rid of RESULT typedef for dispatch_result
2085 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2086 * insetert.[Ch] (localDispatch): ditto
2087 * insettabular.[Ch] (localDispatch): ditto
2092 * insettext.[Ch] (localDispatch): ditto
2095 (moveRightIntern): ditto
2096 (moveLeftIntern): ditto
2099 * updatableinset.[Ch] (localDispatch): ditto
2101 2003-10-12 Angus Leeming <leeming@lyx.org>
2103 * renderbase.h (view, view_): removed.
2104 * renderbase.C: removed.
2105 * Makefile.am: remove render_base.C. The shortest lived file in
2108 * renderbutton.C (draw):
2109 * render_graphic.C (draw): don't cache the BufferView.
2111 * insetabase.h (cache, view): removed.
2113 * inset.h (generatePreview) removed.
2115 * insetcallapsable.[Ch] (cache, view, view_): removed.
2117 * insetcollapsable.C (draw): don't cache the BufferView.
2119 * insetcommand.[Ch] (view): removed.
2121 * insetexternal.[Ch] (cache, view, view_):
2122 * insetgraphics.[Ch] (cache, view, view_):
2123 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2125 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2126 when you have direct access to it. In fact, don't use the cache at all.
2128 2003-10-10 Angus Leeming <leeming@lyx.org>
2130 * insetinclude.C (metrics): use preview_->metrics.
2131 (draw): use preview_->draw.
2133 * render_preview.[Ch] (pimage): removed.
2135 2003-10-10 Angus Leeming <leeming@lyx.org>
2137 * renderers.[Ch]: removed.
2140 * render_button.[Ch]:
2141 * render_graphic.[Ch]:
2142 * render_preview.[Ch]: new files. The first three are split out of
2143 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2144 contains a re-worked InsetInclude::PreviewImpl also.
2146 * Makefile.am: reflect the changed files.
2149 * insetexternal.[Ch]:
2150 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2152 * insetinclude.[Ch]: changes reflecting the change from
2153 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2159 * inseturl.C: add #include "support/std_ostream.h"
2161 2003-10-09 Angus Leeming <leeming@lyx.org>
2163 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2164 to PreviewedInset::previewReady.
2166 2003-10-09 Angus Leeming <leeming@lyx.org>
2168 * insetexternal.[Ch] (statusChanged):
2169 * insetgraphics.[Ch] (statusChanged): make a const member function.
2171 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2174 2003-10-09 Angus Leeming <leeming@lyx.org>
2176 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2177 to PreviewedInset's previewReady and removePreview member functions.
2179 2003-10-08 André Pönitz <poenitz@gmx.net>
2181 * insetcollapsable.C:
2182 * insettext.[Ch]: saner 'init' structure
2184 * updatableinset.[Ch]: remove unneeded code
2186 2003-10-08 Angus Leeming <leeming@lyx.org>
2188 Fix doxygen warnings.
2190 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2191 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2193 2003-10-07 Angus Leeming <leeming@lyx.org>
2195 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2196 be applied to InsetExternal.
2198 * Makefile.am: add these new files.
2200 * ExternalTemplate.[Ch]: add a list of available transforms to
2201 class Template and a list of factory functions for transformer classes
2202 that can act on this data to class Format.
2204 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2206 * ExternalSupport.C: Add code to replace transform placeholders
2207 with appropriate output.
2209 2003-10-07 Angus Leeming <leeming@lyx.org>
2211 * ExternalSupport.[Ch]: new files, moving the private member functions
2212 and namespace anon functions out of insetexternal.C to here, so making
2213 it easier to understand what is going on in insetexternal itself.
2215 * Makefile.am: add new files.
2217 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2218 allowing the class to be forward declared. (Also consistent with
2219 all other Params classes.)
2220 (write): moved out of the class. Move this function and those in
2221 namespace anon to ExternalSupport.[Ch].
2223 2003-10-07 Angus Leeming <leeming@lyx.org>
2225 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2226 non-const member function.
2228 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2233 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2235 2003-10-02 André Pönitz <poenitz@gmx.net>
2237 * insettext.C (read): make sure there is at least one par
2238 in the text after reading.
2240 2003-10-01 José Matos <jamatos@lyx.org>
2242 * insetbranch.C (linuxdoc, docbook): minor fix.
2244 2003-10-01 Angus Leeming <leeming@lyx.org>
2246 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2248 * insetexternal.[Ch]: changes due to the introduction of
2249 namespace lyx::external.
2251 2003-09-30 Angus Leeming <leeming@lyx.org>
2253 * insetexternal.[Ch] (Params::read, write): new member functions.
2255 2003-09-25 Angus Leeming <leeming@lyx.org>
2257 * insetexternal.[Ch] (TempName): new (private) nested struct with
2258 fake copy semantics. Enables us to use the generated copy c-tor
2259 in the Params struct.
2260 (Params::templatename, Params::tempname): use accessor functions.
2262 2003-09-25 Angus Leeming <leeming@lyx.org>
2264 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2265 function, returning a const pointer.
2267 2003-09-23 Angus Leeming <leeming@lyx.org>
2269 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2270 store them in a vector, preambleNames.
2272 * insetexternal.C (validate): loop over all preambleNames and call
2273 LaTeXFeatures::addExternalPreamble with each.
2275 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2277 * insetbranch.C: bug fix in branches
2279 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2281 * insetnote.C: small clean-up.
2283 2003-09-19 Angus Leeming <leeming@lyx.org>
2285 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2287 * insetcommand.C (string2params): clear params using the default c-tor.
2289 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2290 InsetInclude::Params. No more data in this struct than in
2291 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2292 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2293 (clone): remove #warning as it's now redundant.
2294 (set): add a 'Buffer const &' arg. Make private.
2295 (loadIfNeeded) move out of the class definition and into namespace anon.
2296 (getMasterFilename, getFileName): ditto.
2298 2003-09-18 Angus Leeming <leeming@lyx.org>
2300 * insetcommand.C (setParams): use the params' copy constructor.
2302 2003-09-18 Angus Leeming <leeming@lyx.org>
2304 * insetinsetbase.h (getLabelList):
2305 * insetinsetcollapsable.[Ch] (getLabelList):
2306 * insetinsetinclude.[Ch] (getLabelList):
2307 * insetinsetlabel.[Ch] (getLabelList):
2308 * insetinsettabular.[Ch] (getLabelList):
2309 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2310 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2312 2003-09-18 Angus Leeming <leeming@lyx.org>
2314 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2315 redundant baggage from yesteryear.
2316 Remove Params::flag as it is redundant; the info is present in
2319 2003-09-18 Angus Leeming <leeming@lyx.org>
2321 * insetinclude.C (latexString): add a Buffer const & arg.
2323 2003-09-18 Angus Leeming <leeming@lyx.org>
2328 * insettext.h: rename EnumLColor as LColor_color.
2330 2003-09-18 Angus Leeming <leeming@lyx.org>
2332 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2333 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2335 2003-09-16 Angus Leeming <leeming@lyx.org>
2337 * insetinclude.C (localDispatch): ensure that
2338 params_.masterFilename_ is set before trying to generate a
2339 preview, else we trigger an assert.
2341 2003-09-16 Angus Leeming <leeming@lyx.org>
2343 * insetinclude.C (PreviewImpl::parent): return a const reference.
2345 2003-09-16 Angus Leeming <leeming@lyx.org>
2347 * insetcollapsable.[Ch]: make all member variables, except for
2350 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2351 than access labelfont directly.
2352 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2353 use InsetCollapsable::setCollapsed, isOpen rather than access
2354 collapsed_ directly.
2356 * insetminipage.C (metrics):
2357 * insetnote.C (metrics):
2358 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2359 access collapsed_ directly.
2361 2003-09-16 Angus Leeming <leeming@lyx.org>
2363 * insetbibitem.C: add #include "lyxfont.h".
2365 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2368 * insetbibtex.C: use namespace alias for lyx::support::os
2370 2003-09-16 Angus Leeming <leeming@lyx.org>
2372 * insetcollapsable.h: remove unused framecolor variable.
2373 Remove #include "LColor.h".
2375 * insetcollapsable.C: remove unused framecolor variable.
2378 * insetcollapsable.C:
2386 Add #include "LColor.h".
2388 2003-09-16 Angus Leeming <leeming@lyx.org>
2390 * insettext.[Ch] (frameColor): new accessor function.
2391 (frame_color_): stored as an int, allows us to remove #include
2392 "LColor.h" from insettext.h
2397 add #include "LColor.h".
2399 * insetcollapsable.h: add #include "LColor.h"
2400 (for its framecolor member variable).
2402 2003-09-16 Angus Leeming <leeming@lyx.org>
2404 * insetenv.C (constructor): use accessor functions to access
2405 InsetText variables.
2407 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2408 rename frame_color as frame_color_. Make private.
2410 * insettext.C: associated changes.
2412 2003-09-16 Angus Leeming <leeming@lyx.org>
2414 * inset.h: store background_color_ as an int, not as an
2415 LColor::color to get LColor.h out of the header file.
2418 * insetlatexaccent.C:
2421 * insetspecialchar.C:
2423 add #include "LColor.h".
2425 2003-09-16 Angus Leeming <leeming@lyx.org>
2427 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2428 cannot string calls together.
2430 2003-09-15 Angus Leeming <leeming@lyx.org>
2432 * inset.[Ch] (setBackgroundColor, backgroundColor):
2433 * insettext.[Ch] (setFrameColor):
2434 pass EnumLColor args, rather than LColor::color ones.
2436 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * insetwrap.C: remove usage of STRCONV
2448 2003-09-15 Angus Leeming <leeming@lyx.org>
2450 * renderers.C (draw):
2451 * insetlatexaccent.C (draw): explicitly define the color passed to
2454 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2456 * insettext.C: remove block causing problems in lockInsetInInset
2457 (mentioned erroneously under Bug #1366)
2459 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2461 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2464 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2466 * several files: change Assert to BOOST_ASSERT
2468 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2470 * insettext.[Ch]: remove drawText[XY]Offset
2472 2003-09-08 Angus Leeming <leeming@lyx.org>
2474 * insetcollapsable.C:
2479 * insetspecialchar.C:
2482 * insettoc.C: remove redundant using directives.
2484 2003-09-07 Angus Leeming <leeming@lyx.org>
2487 * insetspecialchar.h: remove #include "support/std_string.h".
2489 2003-09-06 Angus Leeming <leeming@lyx.org>
2491 * renderers.C: add #include "insets/inset.h"
2493 2003-09-05 Angus Leeming <leeming@lyx.org>
2495 * *.C: strip out redundant #includes. (193 in total.)
2497 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2499 * insets/insetbibtex.[Ch]:
2500 * insets/insetcommand.h:
2501 * insets/insetfloatlist.[Ch]:
2502 * insets/insetinclude.[Ch]:
2503 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2504 of insets like bibtex, include, toc and floatlist to the visible
2505 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2506 up the dialogs. Cursor has to be in front of the inset (i.e.
2507 start of row) for this to function.
2509 2003-09-04 Angus Leeming <leeming@lyx.org>
2511 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2512 structure outside of the Format struct. Format::preambleName refers to
2513 an item in the map of all preamble snippets.
2514 Make use of the new Debug::EXTERNAL flag.
2516 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2517 (validate): Small change due to the changed storage of preamble
2520 2003-09-04 Angus Leeming <leeming@lyx.org>
2522 * insetgraphics.C: #include "support/os.h"
2524 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2525 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2526 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2528 * insetcollapsable.h:
2530 * insetnote.C: move #include "funcrequest.h" out of the header file.
2532 2003-09-03 Angus Leeming <leeming@lyx.org>
2534 * insetexternal.C (updateExternal):
2535 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2538 2003-09-03 Angus Leeming <leeming@lyx.org>
2540 * insetexternal.C: don't bring namespace lyx::support into the global
2543 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2545 * insetbranch.C: Add Branch: to label
2547 2003-09-02 John Levon <levon@movementarian.org>
2550 * insettext.C: remove cursor.i[xy]()
2552 2003-08-28 Angus Leeming <leeming@lyx.org>
2554 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2555 "sh ", enabling the conversion to be carried out even if the script
2558 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * most files: change to use const Buffer refs
2562 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2564 * insetfootlike.C: whitespace.
2566 2003-08-26 John Levon <levon@movementarian.org>
2570 * insetindex.h: remove remaining mentions of needFullRow()
2572 2003-08-26 André Pönitz <poenitz@gmx.net>
2578 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2580 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2582 * insetbranch.C: Small fix to prevent a crash on loading.
2584 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2589 * insetcollapsable.h:
2591 * insetfloatlist.[Ch]:
2592 * insetfootlike.[Ch]:
2593 * insetinclude.[Ch]:
2599 * insettheorem.[Ch]:
2600 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2601 altogether, putting the logic in metrics/draw in the insets.=20
2602 Draws short single row insets with more or less realistic metrics.
2604 2003-08-19 André Pönitz <poenitz@gmx.net>
2606 * insettext.C: use new RowPainter interface
2608 2003-08-18 John Levon <levon@movementarian.org>
2610 * insetref.C: require amsmath for eqref
2612 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2616 * insetbranch.[Ch]: implements the 'branch inset'
2617 idea. This allows the output of various versions of a document
2618 from a single source version, selectively outputing or suppressing
2619 output of parts of the text.
2620 This implementation contains a 'branch list editor' in a separate
2621 tab of the document settings dialog. Branches are user definable
2622 and have a "display colour" to distinguish them on-screen.
2624 ColorHandler was somewhat cleaned up.
2625 (1) make possible a dynamically growing LColor list by allowing
2626 the graphic context cache to grow along (vector);
2627 (2) eliminate an IMHO unnecessary step in colour allocation.
2629 2003-08-15 André Pönitz <poenitz@gmx.net>
2631 * insettext.[Ch]: adjust after rowlist split
2633 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2635 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2636 rename valign-center to valign-middle;
2637 rename VALIGN_CENTER to VALIGN_MIDDLE
2639 2003-08-11 André Pönitz <poenitz@gmx.net>
2641 * inset.h: remove resizeLyXText
2644 * insetcollapsable.[Ch]:
2646 * insettabular.[Ch]: adjust
2648 * insettext.[Ch]: remove saveLyXTextState,
2649 restoreLyXTextStat, sstate, reinitLyXText
2651 2003-08-07 André Pönitz <poenitz@gmx.net>
2653 * inset.[Ch]: move non-crucial functions out-of-line
2655 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2656 remove duplicated code.
2658 2003-08-05 André Pönitz <poenitz@gmx.net>
2661 * insetcollapsable.[Ch]:
2671 * insettabular.[Ch]:
2674 * updatableinset.[Ch]: rip out "deep update"
2676 * insettext.C (localDispatch): merge cases with default branch
2678 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2680 * insettabular.[Ch] (updateLocal): simplify logic
2682 2003-08-04 André Pönitz <poenitz@gmx.net>
2684 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2685 is 'FULL' all the time.
2687 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2689 * insetert.C (get_new_label): only add ... to the (closed) label
2690 when the string has been shortened
2692 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2694 * Always use std::endl with lyxerr
2696 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2698 * insetnote.C: update \author list
2700 2003-07-31 André Pönitz <poenitz@gmx.net>
2702 * insetcollapsable.h:
2703 * insettabular.[Ch]:
2704 * insettext.[Ch]: remove toggleSelection
2706 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2708 (with help from Juergen Spitzmueller)
2709 * insetnote.C: add add i18n support. Use Prefs-definable
2710 colours for Comment and Greyedout.
2712 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2714 * insetcollapsable.[Ch]:
2716 * insetert.C: factor out the detection of clicking on the inset
2717 button as 'hitButton'. John Levon contributed.
2719 2003-07-30 André Pönitz <poenitz@gmx.net>
2721 * insetcollapsable.C:
2723 * insettabular.C: parantheses, localize vars etc.
2725 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2727 * insetnote.C: Implement a newenvironment in preamble for
2728 greyedout. Patch provided by Jürgen Spitzmüller.
2730 2003-07-29 Angus Leeming <leeming@lyx.org>
2732 * insetcommand.C (localDispatch): default to
2733 InsetOld::localDispatch.
2735 * insetbibitem.C (localDispatch):
2736 * insetbibtex.C (localDispatch): remove call to
2737 ChangeCitationsIfUnique.
2739 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2741 * insetexternal.C (read): use pushpophelper.
2743 2003-07-28 José Matos <jamatos@lyx.org>
2745 * insetext.C (read): \end_document replaces \the_end.
2747 2003-07-28 José Matos <jamatos@fep.up.pt>
2749 * insetert.C (write): \layout -> \begin_layout.
2750 Add missing \end_layout.
2752 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2754 * insetquotes.C: document a bit the format
2756 * insettabular.C (write): remove extra space
2758 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2759 * insetnote.C: Umpf. Hope I *now* get it right :-(
2761 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2762 *insetnote.C: did the right fix to greyedout: \color
2763 instead of \textcolor.
2765 2003-07-28 Angus Leeming <leeming@lyx.org>
2767 * insetbibtex.h: remove extraneous forward declaration.
2770 * insetbibtex.h: Also remove long-dead Holder member class
2773 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2775 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2778 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * insetwrap.C (addToToc): adjust for lyx::toc
2782 * insetfloatlist.C (ascii): adjust for lyx::toc
2784 * insetfloat.C (addToToc): adjust for lyx::toc
2786 2003-07-27 José Matos <jamatos@fep.up.pt>
2788 * insetnote.h (linuxdoc,docbook): update support.
2790 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * insetfloat.C (wide): add a space to label, for consistency
2794 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * insettext.C (nextChange): adjust for lyx::find
2797 (searchForward): ditto
2798 (searchBackward): ditto
2800 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * insetgraphicsParams.C:
2803 * insetexternal.C: declare extern displayTranslator
2806 * renderers.C: add #include "support/LAssert.h"
2808 2003-07-27 José Matos <jamatos@fep.up.pt>
2810 * insetfloat.[Ch] (linuxdoc):
2811 * insetgraphics.C (linuxdoc):
2812 * insettabular.C (linuxdoc):
2813 * insettext.[Ch] (linuxdoc): add support for tables and figures
2816 2003-07-27 José Matos <jamatos@fep.up.pt>
2818 * insetinclude (latex): comply with makeLaTeXFile argument change.
2820 2003-07-26 Asger Alstrup <alstrup@local>
2822 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2823 the undo crashes. We'll see what problems other places this will
2826 2003-07-26 Angus Leeming <leeming@lyx.org>
2828 * insetgraphics.C: remove unused declaration of system_tempdir.
2830 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * rename Inset to InsetOld
2834 * all inset files (clone): return a auto_ptr<InsetBase>
2836 2003-07-23 Angus Leeming <leeming@lyx.org>
2838 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2840 2003-07-23 Angus Leeming <leeming@lyx.org>
2842 * mailinset.[Ch] (inset2string):
2843 * insetcommand.[Ch] (inset2string):
2844 * insetert.[Ch] (inset2string):
2845 * insetexternal.[Ch] (inset2string):
2846 * insetfloat.[Ch] (inset2string):
2847 * insetgraphics.[Ch] (inset2string):
2848 * insetinclude.[Ch] (inset2string):
2849 * insetminipage.[Ch] (inset2string):
2850 * insetnote.[Ch] (inset2string):
2851 * insettabular.[Ch] (inset2string):
2852 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2854 * insetexternal.[Ch]:
2855 * insetgraphics.[Ch]: get rid of the view() function. Associated
2856 changes to the mailers' string2params and params2string functions.
2858 2003-07-23 Angus Leeming <leeming@lyx.org>
2860 * insetexternal.[Ch]: store the external file name in a FileName
2861 member variable rather than a string + associated changes.
2863 2003-07-21 Angus Leeming <leeming@lyx.org>
2865 * insetgraphicsParams.[Ch]: store the graphics file name in
2866 a FileName member variable rather than a string.
2868 * insetgraphics.[Ch]:
2869 * insetgraphicsParams.[Ch]: Associated changes.
2871 2003-07-21 Angus Leeming <leeming@lyx.org>
2873 * insetgraphics.[Ch] (string2params, params2string): passed a
2874 buffer_path argument.
2877 2003-07-21 Angus Leeming <leeming@lyx.org>
2880 * insetgraphicsParams.[Ch]:
2882 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2884 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2886 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2888 2003-07-18 André Pönitz <poenitz@gmx.net>
2891 * insetminipage.[Ch]:
2892 * insettabular.[Ch]:
2895 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2897 2003-07-18 André Pönitz <poenitz@gmx.net>
2901 * insetcollapsable.C:
2905 * insetgraphics.[Ch]:
2906 * insetlatexaccent.[Ch]:
2911 * insetspecialchar.C:
2912 * insettabular.[Ch]:
2914 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2916 2003-07-17 André Pönitz <poenitz@gmx.net>
2918 * insetcollapsable.C:
2920 * insettext.C: don't call Inset::update() anymore
2923 * insettabular.[Ch]: remove unneeded in_update_ members
2925 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2927 2003-07-16 André Pönitz <poenitz@gmx.net>
2929 * insettext.C (selectAll): remove
2931 2003-07-16 John Levon <levon@movementarian.org>
2934 * insetnote.C: implement showInsetDialog()
2936 2003-07-15 André Pönitz <poenitz@gmx.net>
2939 * insettext.C: refresh_status tristate -> need_update bool
2941 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2943 * insettext.C: adjust call to LyXText::init
2945 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2947 * insettext.C: use bufferview_funcs->replaceSelection()
2948 to delete selections in some cases (bugs 441, 673, 702, 954).
2950 2003-07-14 André Pönitz <poenitz@gmx.net>
2952 * insettext.C (draw): use slimmed down rowpainter interface
2954 2003-07-14 André Pönitz <poenitz@gmx.net>
2956 * insetcollapsable.C:
2958 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2959 remove unused BufferView * argument
2961 2003-07-14 André Pönitz <poenitz@gmx.net>
2963 * insettext.[Ch]: used cached metrics a bit more
2965 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2967 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2969 2003-07-10 André Pönitz <poenitz@gmx.net>
2972 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2974 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * introduce namespace lyx::graphics
2978 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * introduce namespace lyx::support
2982 2003-06-30 André Pönitz <poenitz@gmx.net>
2984 * insetcite.C (localDispatch): fix case of missing return value
2986 * insetcite.C (ascii): remove unneeded temporary
2988 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2990 * insetspace.h: fix \file
2992 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2993 * insetinclude.C (fillWithBibKeys): ditto
2995 * insetbibitem.C: fix type const order
2997 * inset.C (getLyXText): add varname for arg
2999 * ExternalTemplate.h: fix type const order
3001 2003-06-27 André Pönitz <poenitz@gmx.net>
3003 * insettext.C: take care of removed LyXCursor::row_ member
3005 * insettext.[Ch]: use new TextCursor struct for sstate
3007 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3009 * inseterror.[Ch]: removed
3011 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3013 * insetinclude.C (docbook): use parseError instead of sgmlError
3015 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3017 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
3018 of BufferList::loadLyXFile
3020 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * insettext.C (update): simplify
3023 (updateLocal): remove commented code
3024 (insetUnlock): simplify
3025 (lockInset): simplify
3026 (updateInsetInInset): simplify
3027 (localDispatch): simplify
3029 (resizeLyXText): simplify
3030 (collapseParagraphs): simplify
3032 * insetert.C (get_new_label): simplify
3034 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3036 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
3037 pasteSelection with index
3039 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3041 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
3043 2003-06-16 André Pönitz <poenitz@gmx.net>
3045 * insetbase.h: new virtual base function clone()
3047 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
3048 Inset * clone() -> InsetBase * clone()
3050 2003-06-13 André Pönitz <poenitz@gmx.net>
3052 * insettabular.[Ch]: make tabular a proper member
3054 2003-06-12 André Pönitz <poenitz@gmx.net>
3056 * insettabular.[Ch]: some renaming plus whitespace
3058 2003-06-11 Angus Leeming <leeming@lyx.org>
3060 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
3063 * insetbutton.[Ch]: removed.
3064 * graphicinset.[Ch]: renamed as renderers.[Ch].
3066 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
3067 Create a new class ButtonRenderer using the InsetButton::metrics() and
3069 Derive both from a common RenderedInset base class.
3071 * insetcommand.[Ch]:
3072 * insetinclude.[Ch]: derive from Inset, not InsetButton.
3073 Give it a ButtonRenderer member variable. Use it.
3074 Give the classes working copy c-tors.
3075 No longer derive from boost::noncopyable.
3077 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
3078 display its contents as a button or as a graphic.
3080 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3083 2003-06-11 Angus Leeming <leeming@lyx.org>
3085 * insetcite.C (localDispatch): reformat.
3087 * insetref.C (localDispatch): enable dialog to be lauched.
3089 2003-06-11 John Levon <levon@movementarian.org>
3091 * insettabular.C: correctly mark all cells as erased
3093 2003-06-11 Angus Leeming <leeming@lyx.org>
3095 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3096 ExternalTemplate but its name, templatename. This means that a file
3097 containing a reference to an External Template not installed on the
3098 current machine will be saved retaining this info rather than inserting
3099 the first "valid" template from the list of templates.
3101 As a by product, the visual statement that the Template is missing is
3104 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3106 * insettext.C (appendParagraphs): remove some commented code.
3108 2003-06-10 Angus Leeming <leeming@lyx.org>
3110 * graphicinset.[Ch] (view): removed the publicly accessible
3111 function to set the cache.
3113 * insetexternal.[Ch]: move tempname_ into the Params struct.
3114 (Params d-tor): new function, to clean-up this temp file.
3115 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3117 (editExternal, doSubstitution): move out of class.
3119 2003-06-10 Angus Leeming <leeming@lyx.org>
3121 * graphicinset.[Ch] (params): removed.
3122 * graphicinset.h (operator=): declared private but not defined.
3123 (statusMessage): made private.
3125 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3127 2003-06-07 John Levon <levon@movementarian.org>
3129 * insetert.C (latex): make a newline mean just that not
3132 2003-06-07 José Matos <jamatos@fep.up.pt>
3134 * insethfill.[Ch] (linuxdoc, docbook): implement output
3135 * insetspace.C (linuxdoc, docbook): remove coments as the code
3138 2003-06-06 José Matos <jamatos@fep.up.pt>
3140 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3142 2003-06-06 André Pönitz <poenitz@gmx.net>
3144 * insetwrap.[Ch]: code compactification
3146 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3148 * mailinset.C (updateDialog): use Dialogs::visible
3150 2003-06-04 Angus Leeming <leeming@lyx.org>
3152 * graphicinset.C (draw): add a comment for the #if 0 block.
3154 * insetexternal.h: remove Params::parameters variable.
3156 * insetexternal.C (read, write): rewrite to output new ExternalInset
3157 format and read it back making full use of LyXLex.
3159 2003-06-04 André Pönitz <poenitz@gmx.net>
3161 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3163 2003-06-04 John Levon <levon@movementarian.org>
3165 * insettabular.C: back out tall table speed up. It was broken
3167 2003-06-03 Angus Leeming <leeming@lyx.org>
3169 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3170 Remove ViewCommand and UpdateCommand.
3172 * graphicinset.C (update): bug fix. Set the params before calling the
3175 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3176 the BufferView cache to enable the InsetExternal::editCommand to
3177 be invoked from the frontends. Would not be needed if this were
3178 dispatched properly.
3179 (old_ascent_): variable removed.
3181 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3182 do any necessary conversions of external material. Also use the
3183 new GraphicsInset to display the inset within LyX.
3185 2003-06-03 Angus Leeming <leeming@lyx.org>
3187 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3188 and move it somewhere where InsetExternal can use it too.
3190 * Makefile.am: add the new files.
3192 * insetgraphics.[Ch]: make use of the new GraphicInset.
3194 2003-06-03 John Levon <levon@movementarian.org>
3197 * insetbibitem.[Ch]:
3200 * insetcommand.[Ch]:
3204 * insetexternal.[Ch]:
3208 * insetgraphics.[Ch]:
3210 * insetinclude.[Ch]:
3213 * insetlatexaccent.[Ch]:
3214 * insetmarginal.[Ch]:
3215 * insetminipage.[Ch]:
3222 * insetspecialchar.[Ch]:
3223 * insettabular.[Ch]:
3225 * insetthereom.[Ch]:
3228 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3230 * insetgraphics.[Ch]:
3231 * insetgraphicsParams.[Ch]: always store an absolute
3234 2003-06-02 André Pönitz <poenitz@gmx.net>
3238 * insetlatexaccent.C: remove duplicated call to metrics()
3240 2003-06-02 John Levon <levon@movementarian.org>
3242 * insettabular.C: fix resize of column width
3244 2003-06-02 John Levon <levon@movementarian.org>
3249 * insetparent.C: remove insetparent
3251 2003-06-02 André Pönitz <poenitz@gmx.net>
3258 * insetcollapsable.[Ch]:
3262 * insetgraphics.[Ch]:
3263 * insetinclude.[Ch]:
3264 * insetlatexaccent.[Ch]:
3265 * insetminipage.[Ch]:
3266 * insetnewline.[Ch]:
3269 * insetspecialchar.[Ch]:
3270 * insettabular.[Ch]:
3271 * insettext.[Ch]: unify first drawing phase
3274 * insetbase.h: move validate() to the base
3276 2003-05-31 Angus Leeming <leeming@lyx.org>
3278 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3280 2003-05-30 André Pönitz <poenitz@gmx.net>
3285 * insetcaption.[Ch]:
3286 * insetcollapsable.[Ch]:
3289 * insetgraphics.[Ch]:
3290 * insetinclude.[Ch]:
3291 * insetlatexaccent.[Ch]:
3292 * insetnewline.[Ch]:
3295 * insetspecialchar.[Ch]:
3296 * insettabular.[Ch]:
3298 * updatableinset.[Ch]: unify second drawing phase
3300 2003-05-30 John Levon <levon@movementarian.org>
3302 * insetgraphics.C: fix a bformat
3304 2003-05-29 John Levon <levon@movementarian.org>
3306 * insettabular.C: remove unused bufferOwner()
3308 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * insettext.C (lockInsetInInset): adjust
3311 (getLabelList): use const_iterator, adjust
3312 (getInsetFromID): use const_iterator, adjust
3313 (addPreview): use const_iterator, adjust
3315 * insetwrap.C (clone): remove const_cast
3317 * insetnote.C (clone): remove const_cast
3319 * insetminipage.C (clone): remove const_cast
3321 * insetmarginal.C (clone): remove const_cast
3323 * insetfoot.C (clone): remove const_cast
3325 * insetfloat.C (clone): remove const_cast
3327 * insetert.C (clone): remove const_cast
3329 * delete commented same_id functions from a lot of files.
3331 2003-05-28 John Levon <levon@movementarian.org>
3337 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3339 * insetminipage.C: fix metrics (bug 1144)
3341 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * insettext.C (saveLyXTextState): adjust
3344 (restoreLyXTextState): adjust
3347 (unlockInsetInInset): adjust
3348 (localDispatch): adjust
3349 (getLyXText): adjust
3351 * insettabular.C (insertAsciiString): adjust
3353 2003-05-27 André Pönitz <poenitz@gmx.net>
3356 * insetcollapsable.C:
3359 * insetlatexaccent.C:
3364 * insetspecialchar.C:
3366 * insettext.C: dim.w -> dim.wid
3368 2003-05-26 John Levon <levon@movementarian.org>
3370 * insettabular.C: avoid drawing all of a long table
3371 if it's not needed. A big speedup
3373 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * remove same_id from function signatures, adjust
3377 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * insettext.C (InsetText): adjust
3381 (setParagraphData): separate same_id cases, adjust
3382 (appendParagraphs): adjust
3383 (appendParagraphs): adjust
3385 2003-05-23 André Pönitz <poenitz@gmx.net>
3387 * insetbutton.h: whitespace
3389 * insettabular.C: more compact code
3391 * updatableinset.C: remove const_cast
3394 2003-05-23 Angus Leeming <leeming@lyx.org>
3396 * insetexternal.C (write): check how many lines are output.
3397 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3398 if the template has defined it.
3400 2003-05-23 Angus Leeming <leeming@lyx.org>
3402 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3404 2003-05-23 Angus Leeming <leeming@lyx.org>
3406 * insetfoot.C (latex):
3407 * inseturl.C (latex): rename fragile as moving_arg.
3409 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * inseterror.C (localDispatch): comment out unused var.
3413 2003-05-22 Angus Leeming <leeming@lyx.org>
3415 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3416 passed through the LatexRunParams arg.
3418 2003-05-22 Angus Leeming <leeming@lyx.org>
3420 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3421 through the LatexRunParams arg.
3423 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3424 arg rather than through a global var.
3426 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * insetspecialchar.C (dimension): use a string.
3430 2003-05-22 Angus Leeming <leeming@lyx.org>
3432 * insetbibtex.C (latex):
3433 * insetgraphics.C (latex):
3434 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3435 runparams rather than from the buffer itself.
3437 2003-05-22 Angus Leeming <leeming@lyx.org>
3439 * inset*.[Ch] (latex):
3440 passed a LatexRunParams parameter.
3442 * insetgraphics.C (latex): actually use it ;-)
3444 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3446 * insetfloat.C (addToToc): trivial compile fix
3448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * insettext.[Ch] (paragraph): delete unused function
3452 * insetfloat.C (addToToc): parlist simplfication
3454 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3456 * insetspace.[Ch]: added (new space insets)
3458 * inset.h: handle new space insets
3460 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * insetfloat.C (addToToc): adjust
3464 2003-05-21 André Pönitz <poenitz@gmx.net>
3466 * insettext.[Ch]: fix drawing bug introduced earlier
3468 2003-05-19 André Pönitz <poenitz@gmx.net>
3470 * insetspecialchar.C: fix bug introduced yesterday
3472 2003-05-19 André Pönitz <poenitz@gmx.net>
3476 * insetcollapsable.[Ch]:
3480 * insetgraphics.[Ch]:
3481 * insetgraphicsParams.[Ch]:
3482 * insetlatexaccent.[Ch]:
3483 * insetminipage.[Ch]:
3484 * insetnewline.[Ch]:
3486 * insetspecialchar.[Ch]:
3487 * insettabular.[Ch]:
3488 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3490 2003-05-19 André Pönitz <poenitz@gmx.net>
3493 * insettext.C: more insetenv
3495 2003-05-16 André Pönitz <poenitz@gmx.net>
3498 * insetminimpage.[Ch]:
3499 * insetcollapsable.[Ch]: fix #832
3501 2003-05-16 André Pönitz <poenitz@gmx.net>
3504 * insetbibitem.[Ch]:
3508 * insetcollapsable.[Ch]:
3509 * insetcommand.[Ch]:
3512 * insetexternal.[Ch]:
3513 * insetfloatlist.[Ch]:
3514 * insetgraphics.[Ch]:
3515 * insetinclude.[Ch]:
3518 * insetlatexaccent.[Ch]:
3521 * insettabular.[Ch]:
3525 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3527 2003-05-13 André Pönitz <poenitz@gmx.net>
3530 * insetcollapsable.C:
3534 * insetwrap.C: tostr from own header
3546 * insetwrap.C: STRCONV
3549 2003-05-12 André Pönitz <poenitz@gmx.net>
3561 * insetwwrap.C: boost::format -> bformat all over the place
3563 2003-05-05 André Pönitz <poenitz@gmx.net>
3565 * insettext.h: add missing #include <map>
3567 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * insettext.C (InsetText): parlist cleanup
3572 (insetUnlock): ditto
3574 (lockInsetInInset): ditto
3578 (searchBackward): ditto
3579 (collapseParagraphs): ditto
3581 2003-05-06 John Levon <levon@movementarian.org>
3583 * insetcaption.C: don't cast wrap inset to InsetFloat
3586 * insetfloat.C: remove unneeded type() function
3588 2003-05-05 André Pönitz <poenitz@gmx.net>
3592 * insettabular.[Ch]:
3593 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3594 replace getFirstParagraph() by getParagraphs()
3596 2003-05-03 John Levon <levon@movementarian.org>
3598 * insetcollapsable.h:
3599 * insetcollapsable.C:
3605 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3606 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3607 getCursor(). Remove explicit cursor hides.
3609 2003-05-02 André Pönitz <poenitz@gmx.net>
3611 * insettext.C: remove unneeded &*
3613 2003-04-30 John Levon <levon@movementarian.org>
3615 * insettabular.C: fix edit message
3617 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * insettext.C (setFont): do not convert iterator -> pointer
3621 * insettabular.C (localDispatch): do not convert iterator -> pointer
3623 (tabularFeatures): ditto
3625 2003-04-29 André Pönitz <poenitz@gmx.net>
3627 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3629 2003-04-28 André Pönitz <poenitz@gmx.net>
3631 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3634 2003-04-25 André Pönitz <poenitz@gmx.net>
3636 * insetenv.C: derive from InsetText instead of InsetCollapsable
3638 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * insetexternal.C (string2params): dont do anything if the string
3642 * insetgraphics.C (string2params): ditto
3643 * insetcommand.C (string2params): ditto
3644 * insetert.C (string2params): ditto
3645 * insetfloat.C (string2params): ditto
3646 * insetinclude.C (string2params): ditto
3647 * insetminipage.C (string2params): ditto
3648 * insettabular.C (string2params): ditto
3649 * insetwrap.C (string2params): ditto
3651 2003-04-24 André Pönitz <poenitz@gmx.net>
3653 * insetref.C: support for eqref
3655 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * insetert.C (read): use ParagraphList::iterator.
3659 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * insetquotes.C (latex): comment some code and add warnings.
3663 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3665 * insetexternal.C (localDispatch): added a missing DISPATCHED
3667 2003-04-12 John Levon <levon@movementarian.org>
3669 * insetwrap.C (addToToc): fix a crash, conversion
3670 from while to for loop forgot to remove the explicit
3673 2003-04-10 John Levon <levon@movementarian.org>
3675 * insettabular.C (tabularFeature): make sure
3676 to update the dialog when we change something
3679 (getStatus): don't disable some lfuns (bug 939)
3681 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * insettext.C (saveLyXTextState): adjust
3684 (localDispatch): adjust
3690 * insettabular.C (localDispatch): adjust
3692 (tabularFeatures): adjust
3694 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3696 * insettabular.C (searchForward,searchBackward): fix bug 782
3698 2003-04-07 John Levon <levon@movementarian.org>
3701 * insettext.C: clear status message on inset exit
3703 2003-04-03 John Levon <levon@movementarian.org>
3705 * insetcommand.C: return dispatched on DIALOG_UPDATE
3707 2003-04-02 John Levon <levon@movementarian.org>
3709 * insettabular.C: tab lfuns renamed
3711 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * insettext.C (update): move towards ParagraphList
3714 (updateLocal): ditto
3716 (insetUnlock): ditto
3718 (lockInsetInInset): ditto
3719 (updateInsetInInset): ditto
3720 (localDispatch): ditto
3723 (resizeLyXText): ditto
3724 (searchBackward): ditto
3725 (collapseParagraphs): ditto
3728 * insetwrap.C (InsetWrap): adjust
3729 (addToToc): adjust and rewrite loop
3731 * insettext.[Ch] (paragraph): delete function
3733 * insettabular.C (moveNextCell): adjust
3734 (movePrevCell): adjust
3735 (insertAsciiString): adjust
3737 * insetfloat.C (InsetFloat): adjust
3740 * insetert.C (InsetERT): adjust
3741 (write): adjust, and rewrite loop
3742 (latex): adjust, and rewrite loop
3743 (linuxdoc): adjust, and rewrite loop
3744 (docbook): adjust, and rewrite loop
3745 (localDispatch): adjust
3746 (get_new_label): adjust
3748 2003-04-01 John Levon <levon@movementarian.org>
3750 From Alfredo Braunstein
3753 * insetbutton.C: add localDispatch()
3755 * insetcommand.C: return DISPATCHED when edit() called
3757 * insettext.C: fix bug 967
3759 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * insettext.C: adjust
3763 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * insettext.C (draw): adjust
3766 (crow): return a RowList::iterator not a Row*
3768 * insetminipage.C (localDispatch): adjust
3770 * insetert.C (localDispatch): adjust
3772 2003-03-31 John Levon <levon@movementarian.org>
3775 * insetgraphicsParams.C: use_gui moved to lyx_gui
3777 2003-03-31 John Levon <levon@movementarian.org>
3779 * insettext.C: Alert fix
3781 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3783 * insettext.C (ascent): adjust for RowList
3786 (getLyXText): adjust
3787 (toggleSelection): adjust
3789 * insetminipage.C (localDispatch): adjust for RowList
3791 * insetert.C (localDispatch): adjust for RowList
3792 (getMaxWidth): adjust for RowList
3794 2003-03-29 John Levon <levon@movementarian.org>
3796 * insetert.C: Alert cleanup
3798 2003-03-29 John Levon <levon@movementarian.org>
3800 * insettabular.C: Alert fix
3802 2003-03-28 John Levon <levon@movementarian.org>
3804 * insetfloat.C: reset label on INSET_MODIFY
3806 2003-03-28 John Levon <levon@movementarian.org>
3808 * insetgraphicsParams.C: read subcaptionText as a whole line
3811 2003-03-28 John Levon <levon@movementarian.org>
3813 * insettext.C: remove unused prototypes
3815 2003-03-25 Angus Leeming <leeming@lyx.org>
3817 * insetbibitem.C (localDispatch): repaint the view after modifying
3818 a bibitem inset in case the maximum InsetBibitem width has changed.
3820 2003-03-25 John Levon <levon@movementarian.org>
3823 * insettabular.C: LyXText renamings
3825 2003-03-24 John Levon <levon@movementarian.org>
3827 * insettext.C: remove some dead code. Fix bug 972 and
3828 related by posting a repaint in updateLocal(), and making
3829 the SEL functions set SELECTION.
3831 2003-03-22 John Levon <levon@movementarian.org>
3834 * inset.C: remove no-longer-needed topx_set
3836 * insetcollapsable.h:
3837 * insetcollapsable.C: remove dead code
3840 * insetert.C: rebreak the rows when a possible
3841 change in size is made, and reset the cursor
3844 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3846 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3847 topx_set. Fix drawing errors for clearInset(). Remove
3848 some unnecessary uses of topx, which should die.
3850 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3851 is no longer needed. Replace it with an ugly hack.
3853 2003-03-20 John Levon <levon@movementarian.org>
3856 * insetcollapsable.h:
3857 * insetcollapsable.C:
3865 * insettext.C: remove spurious font parameter
3866 from update(). Fix drawing of ERT insets inside
3867 insets (bug 966). Remove unused mark_dirty from
3868 tabular's updateLocal()
3870 2003-03-19 John Levon <levon@movementarian.org>
3879 * insetwrap.C: remove unused getter/setters
3881 2003-03-19 John Levon <levon@movementarian.org>
3883 * several files: bv->updateInset() doesn't take
3884 a bool mark_dirty any more
3886 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * adjust for BufferView* arg removal from lyxtext.
3890 2003-03-17 John Levon <levon@movementarian.org>
3892 * most files: remove the "cleared" parameter
3893 to draw in favour of always clearing. Associated
3896 2003-03-16 John Levon <levon@movementarian.org>
3898 * insettext.C: remove unused s.refresh
3900 2003-03-13 Angus Leeming <leeming@lyx.org>
3902 * insettext.C (edit): replace Dialogs::updateParagraph with
3903 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3905 2003-03-13 André Pönitz <poenitz@gmx.net>
3907 * Makefile.am: insert insetenv
3909 * insethenv.[Ch]: new files, currently inactive
3911 2003-03-12 John Levon <levon@movementarian.org>
3921 * insettext.C: use new insetnewline
3923 2003-03-12 John Levon <levon@movementarian.org>
3925 * insettext.C: readToken became readParagraph
3927 2003-03-12 John Levon <levon@movementarian.org>
3929 * insettext.C: use parlist iterator for reading contents
3931 2003-03-12 John Levon <levon@movementarian.org>
3933 * insettext.C: name change to readToken()
3935 2003-03-11 André Pönitz <poenitz@gmx.net>
3937 * Makefile.am: insert insethfill
3939 * insethfill.[Ch]: new files
3941 2003-03-10 Angus Leeming <leeming@lyx.org>
3943 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3945 (hideDialog): calls the new static Dialogs::hide() method.
3947 * insetbibitem.C (edit):
3948 * insetbibtex.C (edit):
3949 * insetcite.C (edit):
3950 * insetcommand.C (localDispatch):
3951 * inseterror.C (d-tor):
3952 * insetert.C (showInsetDialog):
3953 * insetexternal.C (localDispatch, edit):
3954 * insetfloat.C (localDispatch, showInsetDialog):
3955 * insetfloatlist.C (edit):
3956 * insetgraphics.C (localDispatch, edit):
3957 * insetinclude.C (localDispatch, edit):
3958 * insetindex.C (edit):
3959 * insetlabel.C (edit):
3960 * insetminipage.C (localDispatch, showInsetDialog):
3961 * insetref.C (edit):
3962 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3963 resetPos, showInsetDialog, openLayoutDialog):
3964 * insettoc.C (edit):
3965 * inseturl.C (edit):
3966 * insetwrap.C (localDispatch, showInsetDialog):
3967 changes due to the changed MailInset interface.
3969 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3971 * insetfloat.h: Set default placement to an empty string.
3973 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3975 * insettext.C (latex): adjust call to latexParagraphs.
3977 2003-03-10 Angus Leeming <leeming@lyx.org>
3979 * mailinset.C: warn the user if the BufferView has not been cached.
3981 2003-03-10 Angus Leeming <leeming@lyx.org>
3983 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3985 * insetcommand.h (inset):
3986 * insetert.h (inset):
3987 * insetexternal.h (inset):
3988 * insetfloat.h (inset):
3989 * insetgraphics.h (inset):
3990 * insetinclude.h (inset):
3991 * insetminipage.h (inset):
3992 * insettabular.h (inset):
3993 * insetwrap.h (inset):
3994 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3996 2003-03-10 Angus Leeming <leeming@lyx.org>
3998 * insetcommand.C (string2params):
3999 * insetexternal.C (string2params):
4000 * insetfloat.C (string2params):
4001 * insetgraphics.C (string2params):
4002 * insetinclude.C (string2params):
4003 * insetminipage.C (string2params):
4004 * insettabular.C (string2params):
4005 * insetwrap.C (string2params): cure warning message about missing
4008 2003-03-09 Angus Leeming <leeming@lyx.org>
4010 * insettabular.[Ch]: define a new class InsetTabularMailer and use
4011 it to communicate with the frontend dialogs.
4013 * mailinset.C (hideDialog): only hide the dialog if it is showing the
4014 contents of this inset!
4016 2003-03-07 Angus Leeming <leeming@lyx.org>
4018 * inseterror.C (localDispatch): new method; calls edit() on
4021 2003-03-07 Angus Leeming <leeming@lyx.org>
4023 * insetbibitem.C (localDispatch):
4024 * insetbibtex.C (localDispatch):
4025 * insetlabel.C (localDispatch):
4026 rewrite as a switch.
4028 2003-03-07 Angus Leeming <leeming@lyx.org>
4030 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
4031 it to communicate with the frontend dialogs.
4033 2003-03-07 Angus Leeming <leeming@lyx.org>
4035 * insetexternal.C: remove operator== and operator!= for
4036 InsetExternal::Params. They were used only by the old controller
4039 2003-03-07 Angus Leeming <leeming@lyx.org>
4041 * insetcommand.C (localDispatch):
4042 * insetexternal.C (localDispatch):
4043 * insetfloat.C (localDispatch):
4044 * insetinclude.C (localDispatch):
4045 * insetminipage.C (localDispatch):
4046 * insetwrap.C (localDispatch):
4047 add LFUN_INSET_DIALOG_UPDATE to the switch.
4049 2003-03-07 Angus Leeming <leeming@lyx.org>
4051 * insetcommand.C (string2params):
4052 * insetexternal.C (string2params):
4053 * insetfloat.C (string2params):
4054 * insetinclude.C (string2params):
4055 * insetwrap.C (string2params): use LyXLeX more.
4058 * insetexternal.[Ch]:
4060 * insetinclude.[Ch]:
4061 * insetwrap.[Ch]: change Mailer::name_ to be static.
4063 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
4064 it to communicate with the frontend dialogs.
4066 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4069 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
4071 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * insettext.C (updateLocal): un-const function
4074 (updateLocal): adjust
4075 (collapseParagraphs): un-const function
4076 (collapseParagraphs): adjust
4078 2003-03-05 Angus Leeming <leeming@lyx.org>
4080 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4081 it to communicate with the frontend dialogs.
4083 2003-03-05 Angus Leeming <leeming@lyx.org>
4085 * insetcollapsable.C (draw): cache the BufferView.
4087 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4088 it to communicate with the frontend dialogs.
4090 2003-03-05 Angus Leeming <leeming@lyx.org>
4092 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4095 2003-03-05 Angus Leeming <leeming@lyx.org>
4097 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4099 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4100 it to communicate with the frontend dialogs.
4102 2003-03-05 Angus Leeming <leeming@lyx.org>
4104 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4105 it to communicate with the frontend dialogs.
4107 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * insettext.C (collapseParagraphs): adjust
4110 (appendParagraphs): make it take a Buffer* instead of a
4111 BufferParams& as arg.
4112 (appendParagraphs): adjust
4114 2003-03-04 Angus Leeming <leeming@lyx.org>
4116 * insetbibitem.C (localDispatch):
4117 * insetbibtex.C (localDispatch):
4118 * insetcommand.C (localDispatch):
4119 * insetert.C (localDispatch):
4120 * insetlabel.C (localDispatch):
4121 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4123 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * insettext.C (latex): adjust for ParagraphList::iterator
4127 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * insetbutton.C (view): adjust for boost 1.30.0
4130 * insetcollapsable.C (view): ditto
4131 * insetgraphics.C (statusChanged): ditto
4133 * insettext.h: move paragraphs to be public.
4135 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * insetnote.[Ch] (InsetNote): remove unused constructor
4139 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4141 * insetgraphics.C: added include "format.h"
4143 2003-02-27 Angus Leeming <leeming@lyx.org>
4145 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4148 2003-02-27 Angus Leeming <leeming@lyx.org>
4150 * insetbibitem.C (localDispatch):
4151 * insetbibtex.C (localDispatch):
4154 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4156 2003-02-26 Angus Leeming <leeming@lyx.org>
4158 * insetbibitem.[Ch] (localDispatch):
4159 * insetbibtex.[Ch] (localDispatch):
4160 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4162 * insetcommand.C (localDispatch):
4163 act only on receipt of LFUN_XYZ_APPLY.
4165 * insetert.C (localDispatch): reformat.
4166 add LFUN_XYZ_APPLY to the switch.
4168 2003-02-26 John Levon <levon@movementarian.org>
4170 * insettext.C: use RowPainter
4172 * inset.h: make helpers take const *
4174 2003-02-26 Angus Leeming <leeming@lyx.org>
4176 * insetcommand.[Ch] (localDispatch): new method.
4178 2003-02-26 Angus Leeming <leeming@lyx.org>
4180 * insetinclude.C (draw): cache the BufferView* using cache not
4181 PreviewImpl::setView
4183 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4185 * insetgraphics.C (draw)
4186 * insetinclude.C (draw): Eliminate also the other argument (owner
4187 inset inset) in the call to PreviewImage::image
4189 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4191 * insetgraphics.C (draw)
4192 * insetinclude.C (draw): Eliminate Buferview argument in call to
4195 2003-02-25 John Levon <levon@movementarian.org>
4197 * insetgraphicsParams.h:
4198 * insetgraphics.C: don't start a load process if
4199 the inset is set to NoDisplay (bug #920)
4201 2003-02-22 John Levon <levon@movementarian.org>
4204 * insetwrap.C: TocItem changed API (bug 913)
4206 2003-02-21 Angus Leeming <leeming@lyx.org>
4208 * insetcollapsable.[Ch] (cache, edit):
4209 * insetbutton.[Ch] (cache, edit): new methods to cache the
4210 BufferView in the draw method.
4212 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4213 simplify comunication between InsetCommand-derived classes and
4216 * insetbibitem.[Ch]:
4220 * insetfloatlist.[Ch]:
4224 * inseturl.[Ch]: small changes to reflect the new interface to the
4227 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4228 other, similar classes.
4230 * Makefile.am: add new files.
4232 2003-02-21 Angus Leeming <leeming@lyx.org>
4234 * updatableinset.h (setView, view): remove.
4235 * inset.h (view, cache): to be replaced by these.
4237 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4240 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4243 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4245 2003-02-21 Allan Rae <rae@lyx.org>
4247 * insetinclude.C (loadIfNeeded): ensure loading also works when
4248 child document is under version control.
4250 2003-02-17 André Pönitz <poenitz@gmx.net>
4252 * insetbib.[Ch]: Adjust access to bibkeys
4254 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4256 * insetquotes.C (dispString): remove use of acute accent for "'"
4259 2003-02-14 John Levon <levon@movementarian.org>
4261 * insettabular.C: changed method names in tabular.C
4263 2003-02-14 John Levon <levon@movementarian.org>
4267 * insetcollapsable.h:
4268 * insetcollapsable.C:
4272 * insettext.C: remove unused getParFromID()
4274 2003-02-13 John Levon <levon@movementarian.org>
4277 * insettext.C: remove unused beginningofMainBody()
4279 2003-02-08 John Levon <levon@movementarian.org>
4283 * insetcollapsable.h:
4284 * insetcollapsable.C:
4289 add nextChange(). Make allowSpellcheck() const. Add markErased().
4291 * insetert.C: ignore deleted text
4293 * insettabular.C: make sure to keep change tracking working
4296 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4301 * insettext.C: Use error messages with identical spelling and
4304 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4306 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4308 2002-12-17 Juergen Vigna <jug@lyx.org>
4310 * insettext.C (localDispatch): hopefully fixed cursor up down
4311 movement on leaving other insets.
4313 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4315 * insettext.C: fix inconsistent usage of spaces, colons,
4316 capitalization, and the like.
4318 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4320 * insetgraphics.C (prepareFile): do not remove the extension of
4321 the file name if it is not the default extension for the given
4322 format (that is, in latex output, remove extension from foo.eps,
4323 but not from foo.epsi)
4325 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4327 * insettext.C (lfunMouseRelease): hackish solution to the "double
4330 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * insetfloat.C (addToToc): use the floats name not its type
4333 * insetwrap.C (addToToc): ditto
4335 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4337 * insetnote.C (init): make label font smaller
4339 2002-12-04 John Levon <levon@movementarian.org>
4341 * insetinclude.C: ressurect setting of command name
4343 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * insetquotes.C (dispString): disambiguate insert call
4347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * several files: ws changes
4351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * insetquotes.C (dispString): use string::insert for prepending a
4356 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * insetparent.C (getScreenLabel): use boost::format
4360 * insetgraphics.C (prepareFile): use boost::format
4363 * insetfloatlist.C (latex): use boost::format
4365 * insetcaption.C (draw): use boost::format
4367 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4369 * insettabular.C (tabularFeatures): Support for block alignment in
4370 fixed width columns.
4372 2002-11-20 Juergen Vigna <jug@sad.it>
4374 * insettabular.C (resetPos): temporary fix for endless loop in
4375 this function on a redraw.
4377 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * insettabular.C (copySelection): STRCONV
4381 * insetinclude.C (uniqueID): STRCONV
4382 (latexString): ditto
4384 * insetgraphics.C: put VersionNumber inside anon namespace
4385 (createLatexOptions): STRCONV
4387 * insetcommandparams.C: include config.h
4389 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4391 * insetgraphicsParams.C (Write): use lyx::float_equal.
4392 Write height data correctly.
4393 (Read): zero scale when reading height data.
4395 2002-10-30 John Levon <levon@movementarian.org>
4397 * insetfloat.C (addToTOC): recursively traverse all
4398 contents looking for captions (fix #568)
4400 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4402 * insetexternal.C (doSubstitution): do not try to replace
4403 environment variables, this is done when executing the command
4405 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4407 * insetexternal.C (doSubstitution): change order of substitution
4408 to work around ReplaceEnvironmentPath brokenness
4410 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4412 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4414 * insetgraphicsParams.C (init, Write): associated changes
4415 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4416 InsetGraphicsParams::scale.
4418 2002-10-21 John Levon <levon@movementarian.org>
4420 * inset.h: remove unused DISPATCH_RESULT
4422 * insettext.C: sgml open/close tag now in sgml namespace
4424 2002-10-21 Angus Leeming <leeming@lyx.org>
4426 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4427 file path subdir/fig.eps when pasting it into a buffer in a different
4430 2002-10-16 John Levon <levon@movementarian.org>
4432 * insetspecialchar.C: remove \\protected_separator parsing
4434 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4436 * insetquote.C: fix LaTeX output of quotation marks.
4438 2002-10-14 Juergen Vigna <jug@sad.it>
4440 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4441 Backspace functions which confused the Undo handling.
4443 2002-10-09 Angus Leeming <leeming@lyx.org>
4445 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4446 BufferView::dispatch that turns off this optimisation when a new inset
4449 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4450 reload the BibTeX keys.
4452 2002-10-11 André Pönitz <poenitz@gmx.net>
4454 * insettext.h: handle LFUN_PRIOR/NEXT
4456 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4458 * insetfloat.C: fix bug with float settings
4459 (document default != float default).
4461 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4463 * insetwrap.C (addToToc): New method.
4464 (InsetWrap): Set layout to caption.
4466 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4470 2002-09-16 John Levon <levon@movementarian.org>
4472 * insettabular.h: hasSelection() needs to be public
4474 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4476 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4478 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4480 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4482 2002-09-11 André Pönitz <poenitz@gmx.net>
4484 * insettabular.C: implement LFUN_WORDSEL
4486 2002-09-10 John Levon <levon@movementarian.org>
4488 * insetinclude.h: remove unused param
4490 2002-09-09 John Levon <levon@movementarian.org>
4493 * insetinclude.C: remove noload, default to input
4495 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4497 * insetgraphics.C: disfuscated use of ']' in built output string.
4499 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4501 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4503 2002-08-29 Juergen Vigna <jug@sad.it>
4505 * insettabular.C (lfunMousePress): Pay attention where you set
4506 the x/y values as they depend on which inset in the tabular is
4507 actually locked. So you surely have to reset them if you (un)lock
4510 2002-08-29 André Pönitz <poenitz@gmx.net>
4512 * insetfootlike.h: rename include guard to ALL CAPS
4514 * insettext.C: swap object and first parameter for checkInsetHit calls
4515 as this functions has moved from BufferView to LyXText
4518 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4520 * insetgraphicsParams.C: remove local displayTranslator and use
4521 the one from graphics/GraphicsTypes.h.
4523 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4525 * insetfloat.C (wide): add BufferParams parameter
4527 * insetfloatlist.C (read):
4530 * insetfloat.C (latex):
4532 * insetcaption.C (draw): use LyXTextClass::floats()
4534 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4536 * insetoptarg.h: add std:: qualifier.
4538 2002-08-26 Juergen Vigna <jug@sad.it>
4540 * insettext.C (localDispatch): ditto.
4542 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4544 2002-08-25 John Levon <levon@movementarian.org>
4546 * inseturl.C: elide long URLs (bug 404)
4548 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4550 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4551 remove "Format Version <version_no.>" string from inset header
4554 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4556 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4557 a member of "grfx::Params" anymore.
4559 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4561 2002-08-24 John Levon <levon@movementarian.org>
4564 * insetoptarg.C: ws, pedantry ...
4566 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4568 * insettext.C (collapseParagraphs): pasteParagraph now in global
4570 (appendParagraphs): ditto
4572 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4574 * insetcite.C (latex): Remove spaces only after commmas.
4576 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * insettext.C: remove NO_COMPABILITY stuff
4580 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * insettext.C (edit): use ParagraphList iterators
4584 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4585 (bibitemWidest): ditto
4587 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * insettext.C: include <boost/bind.hpp>
4590 add using std::for_each
4591 (saveLyXTextState): use ParagraphsList::iterator
4592 (init): use for_each on paragraphlist iterators
4593 (InsetText): remove superflous setting cached_bview to 0
4594 (latex): reformat a bit
4595 (ascii): use paragraphlist iterators
4596 (validate): use for_each + boost bind
4597 (getLabelList): use paragraphlist iterators
4598 (deleteLyXText): use for_each + boost::bind
4599 (resizeLyXText): ditto
4600 (reinitLyXText): ditto
4601 (removeNewlines): use paragraphlist iterators
4602 (getParFromID): ditto
4603 (paragraph): use for_each + boost::bind
4604 (getInsetFromID): use paragraphlist iterators
4605 (getLabelList): typo fix
4607 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * insettext.C (read): assign tmp to paragraphs after return from
4610 call to parseSingleLyXformat2Token
4613 2002-08-13 Angus Leeming <leeming@lyx.org>
4631 * inseturl.C: changes due to the changed LyXView interface that
4632 now returns references to member variables not pointers.
4634 2002-08-13 Angus Leeming <leeming@lyx.org>
4637 * insetcollapsable.h:
4640 * insettext.h: forward-declare WordLangTuple
4641 (selectNextWordToSpellcheck) constify return type.
4644 * insetcollapsable.C:
4647 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4649 2002-08-12 Angus Leeming <leeming@lyx.org>
4651 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4654 2002-08-12 Juergen Vigna <jug@sad.it>
4656 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4659 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4662 (bibitemWidest): ditto
4663 * insettext.[Ch]: ditto
4665 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4669 2002-08-09 Angus Leeming <leeming@lyx.org>
4671 * insetinclude.C (latexString): remove fudge now that I've found out
4672 how to enable LaTeX to find the file using input@path.
4674 2002-08-09 John Levon <levon@movementarian.org>
4677 * insettext.C: remove unused xpos
4679 2002-08-07 Juergen Vigna <jug@lyx.org>
4681 * insettabular.C (localDispatch): make delete not put the stuff
4682 in the clipboard only do this on a cut operation.
4684 * insettext.C (localDispatch): make delete and backspace not put
4685 selected stuff to the clipboard.
4687 2002-08-07 André Pönitz <poenitz@gmx.net>
4690 * insetcollapsable.[Ch]:
4694 * insettabular.[Ch]:
4695 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4697 2002-08-06 John Levon <levon@movementarian.org>
4701 * insetcollapsable.h:
4702 * insetcollapsable.C:
4708 * insettext.C: use WordLangTuple for spellcheck
4710 2002-08-06 Angus Leeming <leeming@lyx.org>
4712 * insetinclude.C: add a monitor to the previewed image, so that the
4713 image is refreshed if the \input-ed file changes.
4715 2002-08-04 John Levon <levon@movementarian.org>
4718 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4720 2002-08-02 Angus Leeming <leeming@lyx.org>
4722 * insetcommandparams.[Ch] (preview): new methods returning and setting
4723 a new bool preview_ flag.
4724 (read): read this flag.
4725 (operator==): add flag to check.
4727 * insetinclude.C (write): output new preview() flag.
4728 (previewWanted): use this flag.
4730 2002-08-02 Angus Leeming <leeming@lyx.org>
4732 * insetcollapsable.[Ch] (addPreview):
4733 * insettabular.[Ch] (addPreview):
4734 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4735 for insets in insets.
4737 2002-08-02 Angus Leeming <leeming@lyx.org>
4739 * insetcite.C: fix typo.
4741 * insetgraphics.C: kill current_view and instead cache the BufferView
4744 * insetinclude.C: kill current_view and pass the BufferView to the
4745 PreviewedInset so that it can cache it.
4747 2002-08-01 Angus Leeming <leeming@lyx.org>
4749 * inset.h (generatePreview): renamed as addPreview.
4750 (generatePreview): new method. Allows code to be moved out of
4751 math_nestinset.C and into the new PreviewedInset class.
4753 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4754 add previews to the inset when \input-ing LaTeX.
4756 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * several files: strip,frontStrip -> trim,ltrim,rtrim
4760 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * insetbib.C (latex): modify because of strip changes
4764 * insetnote.C (InsetNote): ditto
4766 2002-07-26 Juergen Vigna <jug@sad.it>
4768 * insettabular.C (searchForward): check for lastcell if we
4769 had a locking inset.
4771 2002-07-25 Juergen Vigna <jug@sad.it>
4773 * insettabular.C (insetMotionNotify): Don't update the screen
4774 if we didn't do nothing.
4775 (searchForward): last cell was not checked.
4777 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4779 * insetfloat.C (read, write): Allow default placement
4780 (floatPlacement_ is empty).
4782 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4784 * insetminipage.h (noFontChange):
4785 * insettabular.h (noFontChange):
4786 * insetfootlike.h (noFontChange):
4787 * insetfloat.h (noFontChange): return true
4789 * inset.h (noFontChange): new method, defaulting to false
4791 2002-07-22 Herbert Voss <voss@lyx.org>
4793 * insetgraphicsParams.[Ch]: support size_type for old docs
4795 2002-07-22 Herbert Voss <voss@lyx.org>
4798 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4801 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4803 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4805 * insetlatexaccent.h: do not include "lyxlex.h"
4807 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4810 * insetlatexaccent.C:
4814 * insetbib.C: #include "lyxlex.h"
4820 * insettext.C: use BufferParams::getLyXTextClass
4823 * insetfloat.C (addToToc): new method. Add to toclist the entries
4824 corresponding to Caption layouts
4825 (InsetFloat): when creating a new float, set the layout to "Caption"
4827 2002-07-21 Herbert Voss <voss@lyx.org>
4829 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4830 image relevant part into graphics/GraphicsImgae.C
4832 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4834 * insettoc.C (ascii):
4835 * insetfloatlist.C (ascii): change to use the new Toc functions
4836 instead of stuff that was in Buffer
4838 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * insettext.C (localDispatch): BufferView::Dispatch has been
4841 renamed to BufferView::dispatch
4843 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4845 * insetgraphicsParams.C (as_grfxParams): use the new
4846 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4847 1.2.0 patch, and I do not really know how to adapt it to the new
4848 grfx::Cache world. Angus, please could you have a look?
4850 2002-05-01 Herbert Voss <voss@lyx.org>
4852 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4854 2002-07-18 Angus Leeming <leeming@lyx.org>
4856 * insetgraphics.C: clean-up comments (from Herbert).
4857 add a new checksum variable to the cache. Use it in PrepareFile.
4858 (draw): start monitoring the file for a change.
4859 (prepareFile): re-arrange a little to avoid unnecessary steps.
4861 2002-07-17 Angus Leeming <leeming@lyx.org>
4863 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4864 a method rather than to the signal directly.
4866 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4868 * insettext.C: use view_state_changed, switchKeyMap
4870 2002-07-17 Herbert Voss <voss@perce.de>
4872 * insetgraphics.C (prepareFile): keep the extension when
4873 exporting to nice file
4875 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4877 * insetcite.C (getNatbibLabel):
4878 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4880 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4882 * insetgraphics.C: use ->isDrawable()
4884 2002-07-12 Angus Leeming <leeming@lyx.org>
4886 * insetgraphics.C: use the new smart loading capabilities of the image
4889 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4891 * insettabular.C (edit): Move into correct cell when entering a
4894 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4897 2002-07-05 Angus Leeming <leeming@lyx.org>
4899 * inset.h (generatePreview): new virtual method.
4901 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4903 * insetcommandparams.[Ch] (operator=): move out of class
4904 (operator!): move out of class
4906 2002-07-04 André Pönitz <poenitz@gmx.net>
4908 * insetcommandparams.[Ch]: new files
4910 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4912 2002-06-15 Herbert Voss <voss@perce.de>
4914 * insetgraphics.C (prepareFile): bugfix; return always
4915 files without extension
4917 2002-06-28 Angus Leeming <leeming@lyx.org>
4919 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4920 rename asGParams -> as_grfxParams.
4922 * insetgraphics.C: reflect above change.
4924 2002-06-26 Angus Leeming <leeming@lyx.org>
4926 * insetgraphics.h: use boost::scoped_ptr in preference to
4929 2002-06-26 Angus Leeming <leeming@lyx.org>
4931 * insetgraphics.C: moved the image loading stuff into a new class
4932 grfx::Loader. Simplifies this file enormously.
4934 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4936 * insetgraphicsParams.C: changes aassociated with moving
4937 grfx::DisplayType out of grfx::GParams.
4939 2002-06-26 André Pönitz <poenitz@gmx.net>
4941 * insetgraphics.C: use os::external_path where necesaary according to a
4942 patch from Claus Hentschel)
4944 2002-06-25 Angus Leeming <leeming@lyx.org>
4946 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4947 generating a pixmap once the graphics file is loaded into memory.
4948 The current_view ugliness that was in grfx::ModifiedImage has been
4949 moved here now that grfx::ModifiedImage is no more.
4951 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4953 * insettext.C: layout as layout
4955 2002-05-28 André Pönitz <poenitz@gmx.net>
4957 * insetfloatlist.h: remove source of compiler warning
4959 * insetref.C: tiny whitespace
4961 2002-06-15 Herbert Voss <voss@perce.de>
4963 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4964 and take always convert when no userdefined converter was
4966 (latex) small changes in the lyxerr output
4968 2002-06-15 LyX Development team <lyx@rilke>
4970 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4971 mixed content. Small white spaces clean.
4973 2002-06-14 Angus Leeming <leeming@lyx.org>
4975 * inseetexternal.C: remove the using std::difftime declaration.
4977 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4979 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4981 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4983 * insetquotes.C (draw): fix drawing of double quotes
4985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4987 * insettabular.C: s/scrollCB/scrollDocView/
4989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4991 * insettext.C: change of topCursorVisible()
4994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4997 * insettext.C: rename/change of LyXScreen
4999 2002-06-07 Angus Leeming <leeming@lyx.org>
5001 Fixes needed to compile with Compaq cxx 6.5.
5003 * insetexternal.C: all c-library variables have been moved into
5004 namespace std. Wrap using std::xyz declarations inside a #ifndef
5005 CXX_GLOBAL_CSTD block.
5007 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5009 * insetinclude.C (uniqueID):
5010 * insetgraphics.C (uniqueID): renamed from unique_id, since this
5011 conflicted with some AIX headers.
5013 2002-05-31 Juergen Vigna <jug@sad.it>
5015 * insetert.C (get_new_label): add '...' for multi-paragraph ert
5019 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5021 * insetexternal.C (clone): fix () bug when using new
5022 (updateExternal): don't only look for difftime in global scope
5024 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5026 * insettabular.C: add const
5028 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
5031 file name, in case there are weird characters like ',' in there.
5034 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5036 * switch from SigC signals to boost::signals.
5038 2002-05-28 André Pönitz <poenitz@gmx.net>
5040 * insets/insetgraphicsParams.[Ch]:
5041 put in inset related stuff from src/graphic
5043 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5051 * insetcollapsable.C:
5052 * insetcollapsable.h:
5080 * inseturl.h: use mouse_state. Kill insetKeyPress
5082 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5087 * insetcollapsable.C:
5090 * insetlatexaccent.C:
5092 * insetspecialchar.C:
5094 * insettext.C: name change for font metrics
5096 2002-05-24 Juergen Vigna <jug@sad.it>
5098 * insetgraphics.h: include inset.h first (for LString.h)
5100 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5102 * insettext.C: screen moved
5104 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5122 * inseturl.C: LyXView moved into frontends/
5124 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5129 * insetcollapsable.C:
5133 * insetgraphicsParams.C:
5134 * insetlatexaccent.C:
5136 * insetspecialchar.C:
5138 * insettext.C: move Painter to frontends/
5140 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5142 * insettabular.h: use more specific smart_ptr header.
5143 * insettext.h: ditto
5145 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5148 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5150 * insettext.C: clear selection on paste (bug 393)
5152 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5154 * insettext.C (latex): Honor the moving_arg argument.
5156 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * insetfoot.C (latex): if a footnote is in a title layout, then it
5159 is a \thanks. And then, its contents is a moving argument.
5161 2002-05-14 Juergen Vigna <jug@sad.it>
5163 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5166 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5168 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5169 when using options "Full author list" or "Upper case".
5171 2002-05-14 Herbert Voss <voss@perce.de>
5173 * insetgraphics.C (prepareFile): allow files with same name
5175 (readFigInset): set the flags from old figinset in the right
5177 (findTargetFormat): more comments
5179 2002-05-14 Juergen Vigna <jug@sad.it>
5181 * insettext.C (edit): tell checkAndActivateInset() that we don't
5182 have a button press.
5183 (checkAndActivateInset): if button < 0 we don't have a button press
5184 on the inset and os we won't call edit on it if it's not a Highly
5185 editable inset (then we have to enter it).
5187 2002-05-13 Juergen Vigna <jug@sad.it>
5189 * insetcollapsable.C (insetButtonRelease): returned wrong return
5192 2002-05-09 Juergen Vigna <jug@sad.it>
5194 * insetcollapsable.C (edit): first_after_edit should only be
5195 set to true if we enter this inset and it was collapsed so we
5196 open it up. This is needed to reclose it after a search/replace
5197 or spellcheck function opened it and was negative.
5199 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5201 * insetfloat.C (latex): Return correct value.
5203 2002-05-04 Herbert Voss <voss@perce.de>
5205 * InsetgraphicsParams.C (read): fix bug with WH
5207 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5209 * insetfloat.C (latex): More sensible latex output
5210 (fix the problem with endfloat).
5212 2002-05-02 José Matos <jamatos@fep.up.pt>
5214 * insetgraphics.C (validate): acess params as everyone else.
5216 2002-05-03 Juergen Vigna <jug@sad.it>
5218 * insettabular.C (fitInsetCursor): recalculate the cursor position
5221 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5223 * InsetgraphicsParams.[Ch]: whitespace.
5225 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5227 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5228 float type do not exist.
5230 2002-04-28 Herbert Voss <voss@perce.de>
5232 * insetgraphics.C (latex): fix bug with missing file-extension.
5233 LaTeX still allows a missing "eps" or "ps".
5235 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5237 * insetfloat.C (c-tor, wide): translate the name of the float.
5239 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5241 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5242 when using natbib and make it work efficiently. Must emphasise that the
5243 real work is Herbert's.
5245 2002-04-23 Herbert Voss <voss@perce.de>
5247 * insetgraphic.C (prepareFile): fix bug with overwriting and
5248 deleting an existing *.eps-file in the doc-dir
5250 2002-04-23 Juergen Vigna <jug@sad.it>
5252 * insettabular.C (drawCellSelection): fix off by 1 error.
5254 2002-04-22 Juergen Vigna <jug@sad.it>
5256 * insettabular.C (setFont): rewoke full selection if it was asked,
5257 after we changed all we had to change.
5259 * insettext.C (insetUnlock): code was uninitialized in some situations.
5261 2002-04-19 Herbert Voss <voss@perce.de>
5263 * insetgraphic.C (prepareFile): return filename without
5264 extension if we only export without compiling
5266 2002-04-19 Juergen Vigna <jug@sad.it>
5268 * insettext.C (draw): call a fullRebreak on the row where we had a
5269 change and reset the cursor and selection-cursors.
5271 * insettabular.C (insetUnlock):
5272 (insetButtonPress): call an update before setting the_locking_inset = 0
5273 as otherwise we don't repaint!
5274 (update): reset the cursor position when we changed dimensions as
5275 otherwise our cursor may be on the wrong spot.
5277 2002-04-18 Juergen Vigna <jug@sad.it>
5279 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5280 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5281 redraw otherwise we won't redraw.
5283 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5284 not really right before, but I only discovered this with the last
5285 changes to Page up/down.
5287 2002-04-17 Juergen Vigna <jug@sad.it>
5289 * insettext.C (checkAndActivateInset): simplified as we now have the
5290 edit(bv, bool) call.
5292 * insettext.h: changed behind variables to front variables to be
5293 equal to the one in the edit call (as it is for that they are used).
5295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5297 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5298 not output anything at all!
5300 2002-04-16 Juergen Vigna <jug@sad.it>
5302 * insettabular.C (insetButtonPress):
5303 (insetUnlock): call a redraw on unlocking the cell inset.
5305 * insettext.C (insetButtonPress): same as below.
5306 (lockInset): new function to set initial values when inset should
5308 (insetButtonPress): use above function.
5309 (insetUnlock): don't force a repaint only set the updateStatus. The
5310 outside world should repaint if it thinks it should be done!
5312 * insettabular.C (insetButtonPress): init values if not set as locked
5313 as we are locked if someone presses on us and don't call the edit()
5314 call of the InsetText to lock it do it as BufferView does it!
5316 * inset.h (insetInInsetY): make func const and return an int.
5319 * insetcollapsable.C: adapt the above changed function.
5321 2002-04-15 Juergen Vigna <jug@sad.it>
5323 * insettext.C (getCursorPos): return relative position as to be able
5324 to give them directly to the edit() call.
5325 (edit): we have to set also x_fix as it is not set inside the
5326 setCursorFromCoordinates call!
5327 (insetMotionNotify): ditto.
5329 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5331 * insetbib.C (getKeys): strip leading '\t's from the line too.
5332 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5334 2002-04-12 Juergen Vigna <jug@sad.it>
5336 * insettext.h: added cix() helper function and use it where appropriate
5338 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5340 * insetgraphics.C (prepareFile): fix bug when graphics is a
5343 2002-04-12 Juergen Vigna <jug@sad.it>
5345 * insettext.C (insertInset): remove unneeded code!
5346 (updateLocal): fitCursor() fixes.
5347 (collapseParagraphs): fix a possible problem when having a selection
5348 and collapsing the paragraphs.
5350 2002-04-08 Herbert Voss <voss@perce.de>
5352 * insetgraphic.C (write): write the rotating angle as
5353 a float as is. test only for != 0.0
5355 2002-04-11 Juergen Vigna <jug@sad.it>
5357 * insettext.C: new function ciy() and use it for setting inset_y.
5359 * insetert.C (draw): fix the x return for collapsed version.
5361 2002-04-07 Herbert Voss <voss@perce.de>
5363 * insetgraphic.C (readFigInset): fix bug with subcaption and
5366 2002-04-08 Herbert Voss <voss@lyx.org>
5368 * insetgraphicsparam.C: forgot special option and delete old
5371 2002-04-05 Juergen Vigna <jug@sad.it>
5373 * insettext.C (localDispatch): make a CURSOR update if we inserted
5376 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5378 * insetfloatlist.C (getScreenLabel):
5379 (latex): use Floating::listName
5380 (validate): new method
5382 2002-04-03 José Matos <jamatos@fep.up.pt>
5384 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5386 * insetfoot.[Ch] (docbook): added forgotten method.
5388 2002-04-03 Juergen Vigna <jug@sad.it>
5390 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5391 way as in Bufferview_pimpl.
5393 2002-04-03 Allan Rae <rae@lyx.org>
5395 * insetgraphics.C (latex): one % too many makes living on the bleeding
5396 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5398 2002-03-28 Herbert Voss <voss@lyx.org>
5400 * insetgraphic.C (latex): simplify the code for the latex
5401 output when the file doesn't exist
5403 2002-03-29 Juergen Vigna <jug@sad.it>
5405 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5408 * insettabular.C (edit): call fitCursor().
5410 * insettext.C (insetButtonPress): change behaviour of no_selection
5411 to the one in the BufferView selection_possible and fix the spurious
5412 selection bug with it.
5413 (localDispatch): revoke selection on BREAK... functions.
5415 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5417 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5419 2002-03-28 Juergen Vigna <jug@sad.it>
5421 * insettabular.C (insetAllowed): return true as default value otherwise
5422 we're not able to insert insets inside paragraphs of an not locked
5425 2002-03-27 Herbert Voss <voss@lyx.org>
5427 * insetgraphicsparam.C: change c%, p% to col%, page%
5429 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5431 * insetspecialchar.C (isLineSeparator): disable the nice code to
5432 allow linebreaks after hyphenation and menu separators.
5434 2002-03-26 Herbert Voss <voss@lyx.org>
5436 * insetgraphics.C (figinsetRead): set the right lyxview
5438 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5440 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5441 $\backslash$ and pass a "string const &" to the function.
5442 (prepareFile, latex): use Path rather than MakeAbsPath.
5444 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5446 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5447 proper fix to the graphics cache.
5448 (latex): "really" nice output if the file is not found ;-)
5450 2002-03-26 Juergen Vigna <jug@sad.it>
5452 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5453 (collapseParagraphs): fixed inserting of separator ' '
5455 * insettabular.C (insertAsciiString): only check for buffer lenght
5456 not if we have \t or \n inside the buffer as if we don't have we only
5457 have 1 cell and that's it!
5459 * insetert.C (close): don't collapse if inlined.
5461 2002-03-25 Herbert Voss <voss@lyx.org>
5463 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5464 graphics file does not exist.
5466 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5468 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5469 path when preparing export.
5471 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5472 no longer MakeRelPath.
5474 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5476 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5477 Used to determine the absolute path to the graphics file in the
5478 graphics cache and only in the graphics cache.
5479 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5480 make graphics file name absolute if it is stored as a relative path.
5482 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5483 make graphics file name absolute if it is stored as a relative path.
5485 * insettext.C (edit): emit an updateParagraph signal on entering a text
5486 inset. Needs to be emitted when leaving the inset also.
5488 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5490 * all files: ws cleanup
5492 * Makefile.am: remove ld -r stuff
5494 2002-03-21 Juergen Vigna <jug@sad.it>
5496 * insettext.C (appendParagraphs): new function added to append
5497 the paragraphs to this insets paragraphs.
5499 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5501 * Makefile.am: special rules if partial linking
5503 2002-03-19 Juergen Vigna <jug@sad.it>
5505 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5507 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5509 * insetgraphics.C: Clean up Baruch's comments a little.
5510 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5512 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5515 * insettheorem.C: wrap warnings
5517 * insetgraphics.C: improve messages, move cached_status_
5518 setting to safer place
5520 2002-03-18 Juergen Vigna <jug@sad.it>
5522 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5524 (localDispatch): ditto
5526 * insettext.C (edit): removed unneeded showCursor calls.
5527 (localDispatch): ditto.
5529 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5531 * insetgraphics.h: remove display() method.
5533 2002-03-11 Juergen Vigna <jug@sad.it>
5535 * insetgraphics.C (draw): hack to fix the redrawing bug.
5536 (draw): seems this fixes #268 (force redraw of row if we changed).
5538 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5539 this inset text (don't know why I missed this earlier).
5541 2002-03-08 Juergen Vigna <jug@sad.it>
5543 * insettabular.C (updateLocal): do a FULL update if we're not locked
5544 and only a CELL update is asked.
5546 * insettext.C (updateInsetInInset): update insets inside inset also
5547 if it isn't inside the_locking_inset.
5549 * insettabular.C (updateInsetInInset): ditto.
5551 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5553 * insetexternal.C (doSubstitution): check whether we are using a
5554 temp dir for defining $$FPath
5556 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5559 * insettext.C: remove #include "WorkArea.h".
5561 2002-03-06 Juergen Vigna <jug@sad.it>
5563 * insettext.C (draw): fixed frame redrawing.
5564 (clear): forgot to set the inset_owner of the paragraph.
5566 * insetert.C (status): pay attention the bv can be 0 here!
5567 (getMaxWidth): add the default leftMargin
5569 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5571 * insetert.C (getMaxWidth): make w unsigned int.
5573 2002-03-05 Juergen Vigna <jug@sad.it>
5575 * insetert.C (status): change behaviour of Inlined.
5576 (getMaxWidth): added for new inlined behaviour.
5578 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5580 * insetnote.h (linuxdoc, docbook): add empty methods.
5581 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5582 before being initialized.
5584 2002-03-05 Juergen Vigna <jug@sad.it>
5586 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5587 only that one in the inset. Should be enough.
5588 (updateLocal): set the selection cursor always if we don't have a
5589 selection to be sure it's set!
5591 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5593 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5595 * insettext.C (clear): a gross hack to set layout on a newly
5598 2002-03-04 Juergen Vigna <jug@sad.it>
5600 * insettabular.C (localDispatch): inserted handling of
5601 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5602 (insertAsciiString): new helper function.
5604 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5606 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5609 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * insettext.C (InsetText): initalize newly created par with
5612 default layout. add bufferparams parameter
5615 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5616 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5617 * insetert.[Ch] (InsetERT): ditto
5618 * insetfloat.[Ch] (InsetFloat): ditto
5619 * insetfoot.[Ch] (InsetFoot): ditto
5620 * insetfootlike.[Ch] (InsetFootLike): ditto
5621 * insetmarginal.[Ch] (InsetMarginal): ditto
5622 * insetminipage.[Ch] (InsetMinipage): ditto
5623 * insetnote.[Ch] (InsetNote): ditto
5624 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5626 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5628 * insettext.C: layout as string
5630 * insetinclude.C: layout as string
5632 * insetert.C: layout as string
5634 * insetbib.C: layout as string
5636 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5639 * insettabular.C: remove #include "lyx_gui_misc.h".
5641 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5646 * inset.h: remove figinset, yahoo !
5648 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5650 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5651 copy c-tor and initialise member variables in the correct order.
5653 2002-02-28 Juergen Vigna <jug@sad.it>
5655 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5657 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5659 * inset.h: ... and add a better one here.
5661 * insetcommand.C (insetButtonRelease): remove that one which was a
5664 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5666 * insetcommand.C (insetButtonRelease): ... and move it here.
5668 * inseturl.h: remove insetButtonRelease from there...
5670 2002-02-26 Juergen Vigna <jug@sad.it>
5672 * inseturl.h: Added a insetButtonRelease call returning true as
5675 * insetlabel.C (edit): Fixed wrong update handling after change I
5676 leave in the wrong code for the one who wrote it to remove and have
5677 a look what he did wrong.
5679 * insettabular.C (localDispatch): force a SELECTION update if we
5680 had a selection and we passed the event down to the inset (fix #213)
5681 (localDispatch): handle font changing stuff when we have a cell
5682 selection so that the selection is not rewoked. I don't really like
5683 this fix, but it's the only way I see to do it right now.
5685 2002-02-22 Juergen Vigna <jug@sad.it>
5687 * insettext.C (insetUnlock): set the cursor to the second paragraph
5688 if available and if the first one is empty (fix #191).
5690 2002-02-20 Juergen Vigna <jug@sad.it>
5692 * insettext.C (getDrawFont): implemented this function to call the
5693 one of the owner if present as the owner normally knows what to do
5696 * insetert.C: implement getDrawFont() function and comment out all
5697 the crap for setting a special latex font inside this inset.
5698 (InsetERT): added a Lanugage parameter to this constructor.
5700 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5701 change the font for being drawn on screen (used only in InsetERT for
5704 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5705 and also above (was missing).
5706 (updateLocal): don't remove the cell selection if we have one this
5707 should be done where we really want to remove it.
5709 2002-02-20 José Matos <jamatos@fep.up.pt>
5711 * insetinclude.h: include_label made string const.
5713 * insetinclude.C (InsetInclude): moved include_label initialization.
5716 (validate): fix support for temporary directory, for docbook and
5719 * insetgraphics.h : new private member, graphic_label, that holds
5720 the entity name that defines the graphics location (SGML).
5722 * insetgraphics.C (unique_id): new function to give a unique label
5725 (validate): the file locatation is given by an entity reference.
5727 2002-02-18 Herbert Voss <voss@lyx.org>
5729 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5731 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5733 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5734 as support/systemcall.[Ch] and of class Systemcalls as class
5737 2002-02-18 José Matos <jamatos@fep.up.pt>
5739 * insetinclude.C (validate): some code only applies to latex buffers,
5740 it was made conditional.
5742 2002-02-12 Herbert Voss <voss@lyx.org>
5744 * insetgraphics.C: (prepareFile) do not check at this time
5745 if the file is present.
5747 2002-02-12 Herbert Voss <voss@lyx.org>
5749 * insetgraphics.C: latex(), return the correct newlines
5751 2002-02-13 José Matos <jamatos@fep.up.pt>
5753 * inseturl.C (docbook): escape & in url.
5755 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5757 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5758 after HYPHENATION and MENU_SEPARATOR
5760 * inset.h (isLineSeparator): new method, returns false by default.
5762 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * insetert.C (status): do not update the text inset, but the ERT
5767 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5769 * insetnote.C: use notebg for background
5771 2002-02-08 Herbert Voss <voss@lyx.org>
5774 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5775 prevent LyX from unzipping when this should be handled
5776 by latex vis the graphic.cfg.
5779 2002-02-08 Herbert Voss <voss@lyx.org>
5781 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5782 exists, than return filename with extension
5784 2002-02-06 Herbert Voss <voss@lyx.org>
5786 * insetgraphic.C: prepareFile(): don't convert the file, when
5787 it's not viewed in LyX. Saves a lot of time when opening a
5790 2002-02-05 Herbert Voss <voss@lyx.org>
5793 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5794 and adding a rotate bool similiar to subcaption
5796 2002-02-04 Herbert Voss <voss@lyx.org>
5799 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5800 similiar view to the LaTeX one. Get zipped files work.
5802 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5804 * insetgraphicsParams.C (init): set display to DEFAULT.
5805 No longer #include "lyxrc.h".
5807 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5809 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5810 for now (so that the code compiles).
5812 2002-02-02 Herbert Voss <voss@lyx.org>
5814 * insetgraphic.C: delete inVariant() and some minor changes
5815 * insetgraphicsParams.[C]:
5817 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5819 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5820 interogate lyxrc.display_graphics before diaplaying the graphic.
5822 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5823 InsetGraphicsParams::DisplayType.
5825 2002-01-31 Herbert Voss <voss@lyx.org>
5827 * insetgraphic.C: (readfigInset) set display to pref-default
5829 2002-01-30 Herbert Voss <voss@lyx.org>
5831 * insetgraphic.C: get the filetyp from it's contents
5832 * insetgraphicparams.C: add token scale and lyxrc.display when
5833 creating a new inset
5835 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5837 * figinset.C: added using std::ios directive.
5839 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * figinset.C (runqueue): open translation file in binary mode (for
5844 2002-01-27 Herbert Voss <voss@lyx.org>
5846 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5847 all options and to be sure that the old figinsets are correct
5849 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5850 structure and to support all lengths as LyXLength. The Parameter
5851 structure changed again, but reading of "old" 1.2 graphic insets
5854 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5856 * insetert.h (forceDefaultParagraphs): Added
5858 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5860 * insettabular.C (getMaxWidth):
5861 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5863 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5866 of LyXLength::inPixels
5868 * inset.C (latexTextWidth):
5869 * insetminipage.C (latexTextWidth): new method, which implements
5870 the equivalent of the LaTeX macro \textwidth
5872 * insetminipage.C (getMaxWidth): use latexTextWidth
5874 2002-01-18 Juergen Vigna <jug@sad.it>
5876 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5878 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5880 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5882 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5885 2002-01-17 Juergen Vigna <jug@sad.it>
5887 * insettabular.C (lockInsetInInset): same change as in insettext.
5889 * insettext.C (draw): width() function was called without setting
5890 the right top_x which could lead to wrong insetWidth setting!
5891 (lockInsetInInset): call edit instead of calling lockInset if we
5892 have to lock an inset inside!
5893 (edit): we have to also tell the inset that we have to redraw the
5894 frame on an edit call if this inset draws a frame only if locked.
5896 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5898 * insetbib.C (getFiles): uncomment Path variable.
5900 2002-01-16 Juergen Vigna <jug@sad.it>
5902 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5905 2002-01-16 Allan Rae <rae@lyx.org>
5907 * insetinclude.C (docbook): someone forgot a ";"
5909 2002-01-16 José Matos <jamatos@fep.up.pt>
5911 * figinset.C (docbook): removed a old place holder "@".
5912 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5913 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5914 ascii text version, clearly guarded inside a CDATA section.
5915 (docbook): in docbook 4, inlinegraphics is empty.
5916 * insettabular.C (linuxdoc): export the ascii version of the table
5917 inside a CDATA section.
5919 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5921 * insetparent.C (InsetParent):
5922 * insetgraphicsParams.C (Write):
5924 * insetgraphics.C (prepareFile):
5927 * insetexternal.C (executeCommand):
5928 (doSubstitution): use Buffer::filePath
5930 * insetbib.C (getFiles): add a #warning for Angus
5932 * insetgraphics.C: Add a remark about how filenames should be
5933 considered to be relative to buffer (but absolute is still allowed)
5934 (draw): do not try to get status if lyxrc.use_gui is false
5936 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5939 * insetcollapsable.[Ch]:
5940 * insettabular.[Ch] (searchForward, searchBackward): change the
5941 bool const & params to bool.
5943 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5944 to avoid the name clash with InsetCollapsable's methods of the same
5945 names but different functionality.
5947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5949 * insettext.C (ascii): use lyx::count rather than countChar.
5951 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5953 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5955 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5957 * insetgraphics.C (updateInset): do not try to render image if
5958 lyxrc.use_gui is false (bug #104)
5960 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5961 if file does not exist
5963 * figinset.C (browseFile): add shortcuts to directory buttons
5965 * insettext.C (updateLocal): update menubar and toolbar here too.
5967 2002-01-13 Allan Rae <rae@lyx.org>
5969 * insettabular.C (InsetTabular): Both constructors now initialise
5970 all class variables.
5972 2002-01-11 Juergen Vigna <jug@sad.it>
5974 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5976 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5978 * insettabular.C (getStatus): add forgotten brace around multiline
5981 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5983 * insetfloat.C (validate): require "float" instead of "floats".
5985 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5987 * insettabular.C (getStatus): use FuncStatus
5989 2002-01-08 Juergen Vigna <jug@sad.it>
5991 * insettabular.C (insetButtonRelease): now this should work too
5994 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5995 if the width is a percentage.
5997 * inset.h: added isChar() function and implemented this for
5998 insetspecialchar insetquotes and insetlatexaccent.
5999 added forceDefaultParagraphs() and implemented it for insettabular.
6001 2002-01-07 Juergen Vigna <jug@sad.it>
6003 * insettext.C (getLyXText): Fixed this function. An insert into the
6004 map is only done if we REALLY have a new BufferView.
6006 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
6008 * insettext.C: fix bug illustrated by attachment #37 of bug #59
6010 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6012 * insetinclude.C: fix use of FileInfo
6014 2002-01-07 Juergen Vigna <jug@sad.it>
6016 * insettabular.C (draw): fixed clearing of cell around inset.
6018 2002-01-05 Juergen Vigna <jug@sad.it>
6020 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6021 variables are updated.
6023 * insettabular.C (resetPos): set always the inset_y as it may be
6024 needed in another function.
6025 (searchBackward): don't draw while searching.
6027 2002-01-04 Juergen Vigna <jug@sad.it>
6029 * insettext.C (lockInsetInInset): forgot to set a cursor.
6031 2002-01-02 Juergen Vigna <jug@sad.it>
6033 * insettext.C (insertInset): make the correct undo informations on
6034 inserting new insets.
6036 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
6038 * insettabular.C: correct single-cell select vertically
6040 2001-12-27 Juergen Vigna <jug@sad.it>
6042 * insettabular.C (ascii): export as tab-separated-values if the
6043 function was not called from export (f.ex.: clipboard).
6045 * insetcollapsable.h: added default support for ascii, linuxdoc and
6046 docbook export (the insettext is exported by default!)
6048 * insettabular.C (copySelection): suff the clipboard with the tabular
6049 data in a tab separated format, seems more naturals then with all the
6052 2001-12-24 Juergen Vigna <jug@sad.it>
6054 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
6055 to check for REAL mouseMotion.
6057 2001-12-20 Juergen Vigna <jug@sad.it>
6059 * inset.C (cursor): return the owners cursor if available instead of
6060 always only the bv->text->cursor.
6062 * insettabular.C (checkLongtableSpecial): works now.
6064 2001-12-19 Juergen Vigna <jug@sad.it>
6066 * insettabular.C (tabularFeatures): fix the row setting of ltt as
6067 this has to be always row + 1 as 0 means not selected!
6068 (checkLongtableSpecial): added
6069 (tabularFeatures): better longtable options support
6071 * insettext.C (resizeLyXText): reinit the text always also on a
6074 2001-12-18 Juergen Vigna <jug@sad.it>
6076 * insettext.C (updateInsetInInset): look if we have to autocollapse
6077 paragraps and return if the update is requested for ourself.
6079 * insetert.C (status): update the insettext not myself as that is what
6082 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6083 function only return if the update was requested with myself.
6085 * insettext.C (insetButtonPress): fixed stupid bug.
6086 (various functions): pay attention that lt is cleared BEFORE calling
6087 updateLocal() and try to use it in the right manner (don't use it
6088 if it's not really neccessary!)
6089 (collapseParagraphs): insert a blank between collapsing paragraphs
6090 if neccessary (not already there!).
6092 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6094 * insettabular.C: move includes around a bit, add a couple of
6097 * insettext.[Ch]: move includes around a bit, other ws changes and
6100 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6102 * insettext.C (insetButtonRelease): fix compile problem
6104 2001-12-17 Juergen Vigna <jug@sad.it>
6106 * insettext.C (insetButtonPress): set the selection cursor!
6107 (insetButtonPress): clear the selection (and set with that the
6108 selection.cursor) if we only hit an inset!
6110 * insetert.C (read): removed piece of compatibility code only needed
6113 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6116 * insetcollapsable.C (insetButtonRelease): changed so that it can
6117 open eventual existing popup dialogs on mousebutton==3.
6119 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6121 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6123 * inset.C (insetButtonRelease): return a bool for telling the outer
6124 world that we opened a dialog.
6126 2001-12-07 Juergen Vigna <jug@sad.it>
6128 * insettext.C (paragraph): remove the deleteing of paragraphs as
6129 it was a WRONG move!
6131 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6134 * insettabular.C: use new setSelection(). Allow
6135 selection of single cells.
6137 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6139 * insetquotes.C (latex): fix to use the local language setting at
6140 the point where the inset is inserted (different macros for
6141 different french packages)
6143 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6145 * inset.h: add par_owner_ member variable and parOwner
6148 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6150 * insettabular.C (everywhere): adapt because widths are now real
6151 widths and not strings
6153 * insettext.C (draw): re-introduce the calls to width(), ascent()
6154 and descent() to initialize the caching variables.
6156 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6158 * insettext.C (draw):
6159 (drawFrame): use insetWidth instead of last_width
6161 * insettext.h: remove variable last_width (insetWidth is exactly
6162 the same) and last_height (computed but never used!)
6164 2001-12-10 Allan Rae <rae@lyx.org>
6166 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6168 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6170 * insettext.C (insetAllowed): add comment
6172 2001-12-05 Juergen Vigna <jug@sad.it>
6174 * insettext.C (insetAllowed): fixed for the case that we directly
6175 ask the insettext from its LyXText.
6176 (paragraph): fixed the crash when assigning the par->next() from
6177 the EmptyParagraphMechanism!
6179 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * insettext.C: change "while(" to "while ("
6185 2001-12-04 Juergen Vigna <jug@sad.it>
6187 * insetert.C (edit): handle Inlined status.
6189 * insettext.C (insertInset): trying John's fix for the trailing cursor
6191 * insetert.C (insetButtonPress): added to handle inlined status
6192 (insetMotionNotify): ditto.
6194 * insettext.C (clearInset): changed Painter & in BufferView * param,
6195 to be able to call ascent,descent methods.
6197 2001-12-03 Juergen Vigna <jug@sad.it>
6199 * insettext.C (updateInsetInInset): use lt variable to forbid
6200 changes of LyXText in an update call.
6201 (updateInsetInInset): fixed updating of non locked insets!
6203 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6205 * insettabular.C: capture some more functions to prevent
6206 selection drawing problems. Bug #451274
6208 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6211 * insetgraphicsParams.C: fix inverted sense of float_equal
6213 2001-11-30 Juergen Vigna <jug@sad.it>
6215 * insettabular.C (InsetTabular): use the save_id flag to create also
6216 the tabular with the same id's.
6218 * insettext.C (setParagraphData): added a same_id function for undo
6219 to set the same paragraph id's as of the paragraph we are setting.
6221 2001-11-30 José Matos <jamatos@fep.up.pt>
6224 * insettoc.[Ch]: DocBook -> docbook.
6226 2001-11-29 André Pönitz <poenitz@gmx.net>
6229 * insettext.C: further reduction of header dependencies by using
6230 lyx::layout_type and lyx::textclass_type from support/types.h
6232 2001-11-29 Juergen Vigna <jug@sad.it>
6234 * insettext.C: inserted a reinitLyXText function everywhere I delete
6235 the paragraphs! This should fixe the crashes we had.
6236 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6237 (paragraph): set the InsetOwner() of the new paragraphs!
6239 2001-11-28 André Pönitz <poenitz@gmx.net>
6241 * insetnote.C: add pos initialization that I removed without
6244 2001-11-28 Juergen Vigna <jug@sad.it>
6246 * insettabular.C (resetPos): hack to not crash with infinite paints.
6248 * insettabular.h: insert missing function allowSpellcheck()!
6250 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6252 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6255 * insetfloatlist.C: derive from InsetCommand so gui can use it
6258 2001-11-26 André Pönitz <poenitz@gmx.net>
6262 * insetnote.C: reduce header dependencies, introduce type for
6265 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6267 * various: update for Alert.h
6269 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6271 * inset.h: fix comment
6273 * insettext.C: use par->isInset()
6275 2001-11-22 Allan Rae <rae@lyx.org>
6277 * insetcollapsable.h:
6278 * inset.h: Changes to checkInsertChar() behaviour.
6279 Now return value indicates whether chars can be inserted.
6281 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6283 * various: updated to use the new LaTeXFeatures
6285 2001-11-14 José Matos <jamatos@fep.up.pt>
6287 * insetspecialchar.C (linuxdoc):
6288 (docbook): don't give a name to a unused variable.
6290 * insettext.C (docbook): removed unused variable.
6292 2001-11-13 Herbert Voss <voss@perce.de>
6294 * insetgraphic.C: fix scale bug
6296 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6298 * inset.h (isSpace):
6299 (isLetter): new virtual methods.
6301 * insetspecialchar.C (isSpace):
6302 (isLetter): implement here.
6304 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6306 * inset.h: new inline helpers
6308 * insettext.C: use new helpers
6310 2001-11-07 José Matos <jamatos@fep.up.pt>
6312 * insettext.C (docbook): full support for paragraphs inside insettext.
6314 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6316 * insetindex.C: added header file for std::ostream.
6318 2001-11-03 José Matos <jamatos@fep.up.pt>
6320 * insetindex.C: added using std::ostream that I forgot yesterday.
6322 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6324 * insetindex.h (docbook):
6325 * insetindex.C (docbook): added support for docbook export.
6327 2001-11-02 José Matos <jamatos@fep.up.pt>
6329 * insetcaption.C(docbook): added support for docbook export.
6331 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6333 * insetexternal.C (updateExternal): Do not run update command if
6334 result file exists and is up to date.
6336 * ExternalTemplate.C (readFormat): Support the updateresult token.
6338 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6340 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6341 external_templates) to use the buffer->fileName() but only if
6342 previewing. Generating a TeX file should make FPath return
6345 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6348 * insetert.C: fix some problems
6350 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6352 * insetexternal.C (doSubstitution): Added $$FPath token
6353 to list of usable substitutions in external inset templates.
6355 2001-10-24 Juergen Vigna <jug@sad.it>
6357 * insettabular.C: use new ltType struct for setting longtable
6358 header and footers also new UNSET enums.
6360 2001-10-24 José Matos <jamatos@fep.up.pt>
6362 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6363 (docbook): If the table is not inside a float then wrap it inside
6364 <informaltable>...</informaltable>.
6366 2001-10-23 José Matos <jamatos@fep.up.pt>
6368 * insetref.C (docbook): removed / terminator to conform SGML.
6370 * insetspecialchar.C (linuxdoc):
6371 (docbook): Added support for special chars, more than ascii export.
6373 2001-10-22 Juergen Vigna <jug@sad.it>
6375 * insettext.C (checkInsertChar): added for REALLY checking the
6376 font of the inserted char in the right inset!
6378 2001-10-19 Juergen Vigna <jug@sad.it>
6380 * inset.h: added method allowSpellcheck() so that insets who do
6381 not have anything to spellcheck can tell and so they are over-jumped.
6382 Implemented for InsetText and co.
6384 2001-10-18 Juergen Vigna <jug@sad.it>
6386 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6388 2001-10-15 José Matos <jamatos@fep.up.pt>
6390 * insetert.C: allow export for docbook and linuxdoc
6392 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6394 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6396 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6398 * insetquotes.C (dispString): fix handling of latin9 quotes
6400 2001-10-03 Juergen Vigna <jug@sad.it>
6404 * insetcollapsable.C: change updateInset calls to not tell BV that
6405 we have changed status.
6407 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6409 * insettabular.C (deletable): make const
6411 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6413 * insetert.C (latex): Fix the returned value
6415 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6417 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6418 Returns string(), so nothing in an ERT inset is spellchecked.
6420 * insetgraphics.C (draw): print the filename if not displaying the
6422 (width): make sure that the width and draw methods are consistent.
6423 (updateInset): don't even load the image into cache if not displaying
6426 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6428 * various files (selectNextWord): renamed as
6429 selectNextWordToSpellcheck.
6431 * insetgraphics.C (draw): remove the previous change. Right place
6432 is in imageLoaderXPM.C.
6433 (draw): don't display the image if params.display == NONE.
6435 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6437 * figinset.C (runqueue):
6438 * insetgraphics.C (draw): set background colour of inset from
6439 background to the user-configurable graphicsbg.
6441 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6443 * insetquotes.C (InsetQuotes): when trying to decide the side of
6444 the quote, choose `left' only after a space or '('
6446 2001-09-04 José Matos <jamatos@fep.up.pt>
6451 * insetcollapsable.h
6469 * insetlatexaccent.C
6470 * insetlatexaccent.h
6475 * insetspecialchar.C
6476 * insetspecialchar.h
6480 * insettext.C (docbook): rename docBook method to docbook.
6482 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6484 * inset.h (getFirstParagraph): New virtual method.
6486 2001-08-20 Herbert Voss <voss@perce.de>
6487 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6488 in the the bibtex-database-gui for inserting a line
6491 If no style is given than there is no tex-output.
6493 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6495 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6499 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6501 * insetert.C (latex): Fix output for multiple paragraphs.
6502 (write): New code for writing paragraph data.
6503 (read): Set font after reading the inset.
6504 (localDispatch): Call set_latex_font() for more cases.
6506 * insetnote.h: Add empty validate method.
6509 * insetnote.C (InsetNote): Set language to the language of the
6512 2001-08-16 Juergen Vigna <jug@sad.it>
6514 * insettext.C: implemented the new FINISHED states.
6516 * insettabular.C: ditto
6518 * inset.h: added more FINISHED states for cursor right,up,down
6520 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6522 * insetfloatlist.C: use "FloatName List"
6524 2001-08-14 Juergen Vigna <jug@sad.it>
6526 * insetert.C (edit): forgot to set status_ in edit calls!
6528 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6530 * insettext.C: Compilation fix
6532 2001-08-13 Juergen Vigna <jug@sad.it>
6534 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6536 * insetcollapsable.C (edit): don't recollapse an already open inset.
6538 * insettext.C: fixed problem when reinitializing LyXText by not doing
6539 it while lt is in use and post this to the next possible time in
6541 (searchForward): fixed not unlocking of inset if nothing found.
6542 (edit): set cursor behind right (was set -1 pos).
6544 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6546 * insettabular.C (tabularFeatures): fixed fix where deleting the
6547 last row didn't get the right actcell!
6549 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6551 * insettext.C (localDispatch): Change language only when the inset
6554 2001-08-10 Juergen Vigna <jug@sad.it>
6556 * insettabular.C (selectNextWordInt): use the front using edit call.
6558 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6559 the parameter overwrite class variable inset.
6561 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6563 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6564 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6566 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6567 update only for fixed with cells.
6568 (resetPos): try to fix the lockup on spellchecking or s&r.
6570 * insettext.C (update): comment this out as it seems first wrong
6571 and second not needed anymore!
6572 (some functions): call reinitLyXText() only in update() in all other
6573 positions set only need_update = INIT.
6575 2001-08-08 Juergen Vigna <jug@sad.it>
6577 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6579 * insettext.C (insetUnlock): remove double-space on inset unlock.
6581 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6583 * insettabular.C (update): fixed cursor positon after an insert.
6584 (insetAllowed): do not allow to insert insets when not inside the
6586 (draw): clear below an inset too as it could have changed height.
6588 * inset.C (getMaxWidth): fixed width for inset in inset.
6590 * insettext.C (update): small fix.
6592 * insettabular.C (tabularFeatures): added selection support to
6593 DELETE_ROW/DELETE_COLUMN.
6595 2001-08-07 Juergen Vigna <jug@sad.it>
6597 * inset.C (getMaxWidth): recoded and all it's implementations!
6599 * insettext.C (init,setParagraph+constructors): cleanups
6600 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6601 are new and I want do a save/restore of the cursor position which is
6602 not possible anymore.
6604 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6605 (searchBackward): ditto
6606 (selectNextWord): ditto
6608 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6610 * insetlatexaccent.C (checkContents): Add some debug messages
6612 2001-08-07 Juergen Vigna <jug@sad.it>
6614 * insetert.C (read): don't use InsetCollapsable::read as we don't
6615 write the collapsed status anymore only the status.
6618 2001-08-06 Juergen Vigna <jug@sad.it>
6620 * insetert.C (set_latex_font): use LyXText's setFont directly.
6622 * insettext.C (drawFrame): fixed one time more the right position
6623 and size of the frame!
6625 * insetert.C (~InsetERT): hide the dialog.
6626 (showInsetDialog): added implementation
6629 (status): new function for the status of the ERT inset (3-state).
6630 (write): output also the status of the inset for readback!
6631 (read): readback the status if available otherwise use collapsed_.
6633 * insettext.C (edit): small fix of setting the position, which could
6636 * insetert.C (width): implement this function for inlined viewing.
6637 Added minimum width of 10 pixels!
6639 * insetminipage.C (InsetMinipage): just change the colors a bit so
6640 that border/background is a bit more visible. We will remove this
6643 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6644 function for getting the important widths for drawing in various
6645 functions and in LyXText.
6646 (draw): fixed up a bit (frame drawing/clearing)
6648 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6650 * inset.C (convertFont): delete method. not used.
6652 2001-08-03 Juergen Vigna <jug@sad.it>
6654 * insettext.C (setFont): don't call for a draw update if we're just
6655 changing the cursor font!
6657 2001-08-02 Juergen Vigna <jug@sad.it>
6659 * insettext.C (draw): clear the background with the right color if
6660 needed. Update myself if x&max-width changed and return without doing
6661 anything. Let the update code handle the right stuff.
6663 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6664 inside another inset.
6666 2001-08-01 Juergen Vigna <jug@sad.it>
6668 * insetcollapsable.C (update): added an in_update bool so we avoid
6671 * insettabular.C (update): added an in_update bool so we avoid
6674 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6676 (update): added an in_update bool so we avoid reentering.
6678 * insettabular.C (localDispatch): clear col/row selection when doing
6679 something else inside an inset.
6681 * insettext.C (getLyXText): fixed bug when requesting a recursive
6684 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6686 * insetcite.C (latex): Paranoia check. Make sure that there is no
6687 whitespace between the citation keys.
6689 2001-07-31 Juergen Vigna <jug@sad.it>
6691 * inset.h (nodraw): make the set function also const so that this
6692 can be called from inside other const functions.
6694 * insetcollapsable.h: removed inline variable and moved it over
6695 to the only user InsetERT.
6697 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6698 inset opening immediately therein lying insets dialogs!
6700 * insetert.C (localDispatch): set the font also if we don't have any
6701 chars in this paragraph, otherwise if we delete all of em and start
6702 writing we have the wrong font.
6704 (draw): implemented for inline support
6705 (insetButtonRelease): ditto.
6707 2001-07-30 Juergen Vigna <jug@sad.it>
6709 * insettext.C (reinitLyXText): new function to reinit the insets
6710 text after lot's of paragraph changes. Use this instead of the
6711 cache.clear() which is VERY dangerous.
6713 * insetfloat.C (insetButtonRelease): we should only show the dialog
6714 if we press on the label otherwise we have problems to open mouse
6715 button 3 dialogs inside this float (f.ex. of a tabular!)
6717 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6719 * insetert.C: change back to "ERT"
6721 * insetfloat.C: handliign of RMB on label added.
6723 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6725 * insetgraphicsParams.C: #include LOstream.h here.
6727 * insetfoot.h: remove InsetFoot:: qualifier.
6729 2001-07-29 Baruch Even <baruch@lyx.org>
6731 * ChangeLog: Hiding time travel evidence.
6733 * insetgraphicsParams.h:
6734 * insetgraphicsParams.C:
6735 * insetgraphics.C: Added horizontal scale option, it actually
6736 scales both directions since it keeps image proportions.
6738 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6740 2001-07-29 Baruch Even <baruch@lyx.org>
6742 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6743 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6745 HACKY! Will need to add an EPS detection routine like old InsetFig
6748 2001-07-29 Baruch Even <baruch@lyx.org>
6750 * insetgraphics.C: Added EPSI to be an alias of EPS.
6752 2001-07-29 Baruch Even <baruch@lyx.org>
6754 * insetgraphics.C: Change GRAPHICS to Graphics.
6755 Changed image conversion rules (documented at the beginning of file).
6757 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6759 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6762 * insetgraphics.C: added a using std::endl directive.
6764 * insetcommand.h (getScreenLabel): removed pure virtual function,
6765 as it duplicates that in InsetButton.
6767 * insetbib.[Ch] (getScreenLabel):
6768 * insetbutton.[Ch] (getScreenLabel):
6769 * insetcite.[Ch] (getScreenLabel):
6770 * insetert.[Ch] (getScreenLabel):
6771 * insetexternal.[Ch] (getScreenLabel):
6772 * insetfloatlist.[Ch] (getScreenLabel):
6773 * insetinclude.[Ch] (getScreenLabel):
6774 * insetindex.[Ch] (getScreenLabel):
6775 * insetlabel.h (getScreenLabel):
6776 * insetparent.[Ch] (getScreenLabel):
6777 * insetref.[Ch] (getScreenLabel):
6778 * insettoc.[Ch] (getScreenLabel):
6779 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6781 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6783 (validate): remove check on "cite" when using natbib.
6785 2001-07-26 Baruch Even <baruch@lyx.org>
6787 * insetgraphics.C (draw): changed casting to be in one place
6788 rather than all over the function.
6791 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6793 * insetgraphicsParams.h:
6794 * insetgraphicsParams.C:
6795 * insetgraphics.C: Removed inline option and changed rotateAngle
6798 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6800 * insetfoot.C (validate): Added method to ensure that the
6801 right bit of LaTeX is emitted.
6803 * insetfoot.h: Added validate method to set the correct
6804 LaTeXFeatures bit for the special footnote code.
6806 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6808 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6811 2001-07-27 Juergen Vigna <jug@sad.it>
6813 * inset.h: remove unused font variable in parameter.
6814 removed checkInsertChar in UpdatableInset as it was equal to
6815 the one in Inset and so not needed.
6817 * insetert.C (checkInsertChar): implementation of function
6820 * inset.h: added new function checkInsertChar.
6822 * various files: added c-tor and clone() function.
6824 * insetcollapsable.h: removed clone function here as this should
6825 be only realized in REAL insets and added it to all collapsable
6826 insets! (with the copy-constructor).
6828 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6830 * insetminipage.C (read): handle missing parameters more gracefully
6832 * insetcollapsable.C (read): handel missing collapsed more gracefully
6834 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6836 * insetfloat.C (read): handle missing parameters.
6838 * insettext.C (read): handle old latex end_inset
6840 * insetert.C (setButtonLabel): new method
6841 (init): use it, to set the dynamic label correctly
6844 * Makefile.am (EXTRA_DIST): add files that is not part or the
6847 * insetcollapsable.h: remove autocollapsable (no users), remove
6848 draw_label, change_label_with_text and companion code. Remove args
6850 * insetert.[Ch]: move here instead (only user)
6852 * inset.h: rename private variable name to name_, make
6853 selectNextWord return a const string. make getInsetName return a
6854 string const &. Remove bool from open, add close.
6856 * Makefile.am: don't compile insetlist, insetsection
6859 2001-07-24 Juergen Vigna <jug@sad.it>
6861 * insetert.C (InsetERT): put init after the paragraph initialization,
6862 as otherwise we don't set the draw_label right.
6864 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6865 insets with the mouse without having strange selections.
6866 (edit): if the inset was collapsed and we open it here then put the
6867 cursor always at the beginning of the inset.
6868 (get_new_label): 15 instead of 10 max chars in the label.
6870 * insetert.C (localDispatch): added and handle various stuff we
6871 need to handle here (font setting on paragraph break, not permitted
6872 layout setting, etc.).
6874 * inset.h: added default copy-consturctor and implemented this in
6875 various insets with the change to use this in the clone function!
6877 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6879 * insetminipage.C (InsetMinipage): set background color to red :)
6881 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6883 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6884 draw frame mode is LOCKED.
6886 * insetcollapsable.C (edit):
6887 (insetButtonRelease): set update status to full when
6890 * insettext.C (clearInset):
6891 * insettabular.C (draw):
6892 * insetlatexaccent.C (draw): honor background color.
6894 * inset.h: new member background_color_, initialized to
6897 * inset.C (backgroundColor): new method.
6898 (setBackgroundColor): new method.
6900 * insetert.C (init): new method, called by the ctors.
6901 (InsetERT): when inserting contents, make sure the font is
6904 * insetnote.C (InsetNote): when inserting content, remove trailing
6906 (init): set background color to LColor::note
6908 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6910 * insetcollapsable.C: adjust
6912 * insetbutton.C: adjust
6914 2001-07-23 Juergen Vigna <jug@sad.it>
6916 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6917 parameter on the _collapsed function (was not needed) and call
6918 always width_collapsed().
6920 * insetert.C (InsetERT): use setLabel with "true" flag.
6922 * insetcollapsable.C: modified various functions to set the draw_label
6923 string right in any condition.
6924 (setLabel): added a bool parameter to set change_label_with_text.
6926 * insetcollapsable.h: added draw_label string which is set to the
6927 actual drawn label-string, while label is the original static label
6928 of this collapsable inset. Added bool change_label_with_text to set
6929 if we want that the label changes to the start of the InsetText's
6930 text when collabpsed. You can set this flag with the setLabel funciton.
6931 Added bool inlined for inlined collapsable insets, but not handled
6934 * insetcollapsable.C (get_new_label): added should get a new label
6935 from the InsetText beginning (for now 10 chars).
6937 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6939 * insetquotes.C (latex): fix the handling of french double quotes
6940 when not using the french pachage.
6942 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6944 * insetcollapsable.h: make WidthCollapsed mutable.
6946 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6947 InsetPrintIndex returns INDEX_PRINT_CODE.
6949 * inset.h: add INDEX_PRINT_CODE
6951 * insetcollapsable.C (draw): init widthCollapsed if necessary
6954 * insetquotes.C (width): use the local language, not the document
6957 (dispString): add additional spacing for all french languages,
6959 (validate): make it work when there is no default language
6961 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6963 * insetnote.C (init): new method, called by the constructors
6964 (InsetNote): new constructor with contents passed as a string
6966 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6968 * insetfootlike.C (insetAllowed): disallow float in footlike.
6970 * insetert.C (InsetERT): add collapsed argument to the constrctor
6973 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6975 * insetindex.h: shut off warning
6977 2001-07-20 Juergen Vigna <jug@sad.it>
6979 * insetcollapsable.C (update): recoded hopefully works now!
6981 2001-07-19 Juergen Vigna <jug@sad.it>
6983 * most files: implemented the below new introduced function.
6985 * inset.h: added new edit(BufferView *, bool front) method to be able
6986 to enter an inset from the front/back without knowing x/y positions
6987 and baselines inside the inset. So I just can tell the inset activate
6988 me and set the cursor on the front/back of yourself.
6990 2001-07-18 Juergen Vigna <jug@sad.it>
6992 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6993 is given to the InsetText.
6994 (insetButtonPress): ditto
6995 (insetButtonRelease): ditto
6996 (insetMotionNotify): ditto
6998 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7000 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
7001 LIGATURE_BREAK, since the name is so stupid.
7003 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7005 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
7006 the default InsetCollapsable methods. I.e., it can insert anything.
7007 (write) output the name of the inset, not some silly hack for
7008 compatability with the old InsetInfo.
7010 * insetinfo.[Ch]: removed.
7011 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
7012 now collapsable, but functionality is otherwise identical to InsetInfo.
7014 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
7016 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7018 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
7021 * insetquotes.C: general cleanup
7022 (dispString): add spaces inside french double quotes.
7023 (latex): ditto. Moreover, treat first the case where the frenchb
7024 or french options have been given.
7026 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7028 * insetcite.[Ch] (latex, validate): new methods, required for natbib
7031 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
7033 * figinset.C (RegisterFigure): Print debug message only when
7034 current_view is available.
7036 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7038 * many files: update to match the change below
7040 * inset.h (insetAllowed): renamed from insertInsetAllowed;
7041 implement the version which takes an inset here.
7043 * insetcollapsable.[Ch]: implement open and isOpen
7045 * inset.h: remove insertInsetAllowed from Inset
7046 (open): new method, to open or close an inset
7047 (isOpen): returns the status of an inset
7048 (isCollapsable, colapse): removed
7050 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7052 * insetquotes.C (dispString): display french guillemets when using
7055 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * insetcollapsable.h: remove bogus return statements
7059 2001-07-18 Juergen Vigna <jug@sad.it>
7061 * insettabular.C (selectNextWord): fixed spellchecking for the
7062 first cell of a tabular (wasn't entered!)
7063 (getLyXText): changed to enter automatically insettext and return
7064 it's LyXText if we're locked.
7066 2001-07-17 Juergen Vigna <jug@sad.it>
7068 * various files: implemented the below functions.
7070 * inset.h: added functions
7071 - virtual string selectNextWord(BufferView *, float & value) const;
7072 - virtual void selectSelectedWord(BufferView *) { return; }
7073 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
7074 needed for spellchecking correctly!
7076 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
7078 * insetert.C (latex): write out all paragraphs.
7080 2001-07-17 Baruch Even <baruch@lyx.org>
7082 * insetgraphics.C (draw): Removed unneeded casts.
7084 2001-07-16 Juergen Vigna <jug@sad.it>
7086 * insettext.C (update): fixed small oversight (reset lt to 0).
7088 2001-07-14 Baruch Even <baruch@lyx.org>
7091 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7093 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7095 Consistent use of Lsstream.h:
7096 * figinset.C: removed using std::ostringstream directive.
7098 * insetgraphics.C (createLatexOptions):
7099 * insetinclude.C (unique_id):
7100 std::ostringstream -> ostringstream.
7101 * insettext.C (localDispatch): std::istringstream -> istringstream.
7103 2001-07-13 Juergen Vigna <jug@sad.it>
7105 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7107 * insetcollapsable.C (getLockingInset): ditto.
7109 2001-07-12 Juergen Vigna <jug@sad.it>
7111 * insetcollapsable.h: added implementation of new function for
7114 * various files: added implementation of new insertInsetAllowed-func
7115 and redone the function a bit more.
7117 * inset.h: added isCollapsable(), bool collapsed(),
7118 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7120 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7122 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7123 LyXText which is marked for removal while we're using it!
7125 * insettext.h: added private LyXText * lt to use it to assure we are
7126 not deleting our LyXText while we're using it!
7128 2001-07-11 Juergen Vigna <jug@sad.it>
7130 * insettext.C (insertInset): check if we are before the inset after
7131 inserting it! This check IS needed. Remove the Undo-Call as it is
7132 called in LyXText::insertInset!
7134 * insettext.h: added struct InnerCache.
7136 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7137 that we ONLY delete the LyXText in the getLyXText() routine. So we
7138 are sure we don't delete LyXText while someone is working with it!
7140 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7142 * insetexternal.C: (*it). -> it->
7143 * insettext.C: ditto
7145 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * insetcollapsable.C (edit): always open collapsed insets (even if
7148 they are not autocollapsable)
7150 * insetcommand.C (operator=): simplify.
7152 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7154 * insetert.C (latex): handle META_NEWLINE
7156 2001-07-09 Juergen Vigna <jug@sad.it>
7158 * insetert.h: a normal InsetText can insert insets, but we won't.
7160 * inset.h: return default "false" on insertInsetAllowed and implement
7161 this function where a returnvalue != "false" is needed.
7163 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7165 * insetert.C (InsetERT): new contructor
7167 2001-07-06 Juergen Vigna <jug@sad.it>
7169 * a lot of files: added implementation of the below new functions
7170 and the change to clone(). Also the call of the new undo-functions
7173 * inset.h: added an inset_id, added functions getParFromID,
7174 getInsetFromID, firstParagraph, cursor and id functions, added
7175 bool same_ids to clone function.
7177 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7179 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7180 of BufferView * and shared_ptr<LyXText>
7182 2001-07-05 Juergen Vigna <jug@sad.it>
7184 * insettext.C (clear): deleted also the cache not only LyXText.
7185 (setParagraphData): ditto.
7187 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7189 * insetfloat.C (latex): let the specific placement take presedence
7190 if set, otherwise choose document placement if set, otherwise just
7191 use float default placement.
7193 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7195 * insettext.C (localDispatch): call CutAndPaste::'s static method
7198 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * insetbib.C: no meed to include forms.h here.
7202 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7204 * insettext.C: added using std::make_pair directive.
7206 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7210 (deleteLyXText): ditto
7211 (resizeLyXText): ditto
7213 2001-07-02 Juergen Vigna <jug@sad.it>
7215 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7216 following calls are only returned the right pointer without the over
7217 head to search in the map.
7218 (various funcs): reset the cached_bview variable as this signs that
7219 the cache is not valid anymore.
7221 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7223 * insettabular.C (clone): do not copy the LyXTabular twice
7225 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7227 * insettext.h (TEXT): delete method
7229 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7231 * insetmarginal.C (latex):
7232 * insetfoot.C (latex): fix spacing of notes in LaTeX
7234 * insettext.C (localDispatch): use .c_str() on istringstream
7235 constructor argument.
7237 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7242 * inseturl.C: fix method names in these to begin
7243 with small char too, so they inherit
7245 2001-06-28 Juergen Vigna <jug@sad.it>
7247 * insettext.C (setFont): fixed font settings using toggleFree()
7248 instead of setFont().
7250 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7252 * Change a lot of method names to begin with a small char.
7253 Changes to a lot of files because of this.
7255 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7257 * insetfloatlist.C (Write): std:: qualify ostream
7260 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7264 * insetgraphics.C: send debug output to Debug::INFO instead of
7267 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7270 * insettabular.C (getStatus): update to use func_status
7272 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7274 * insetref.C (DocBook): added support for cross-references without
7277 2001-06-26 The LyX Project <jug@sad.it>
7282 * insetlabel.h: removed escape method and moved it to
7285 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7287 * insettabular.C (getMaxWidth): do the speedup in a different way,
7290 2001-06-24 The LyX Project <Asger>
7292 * insettabular.C (getMaxWidth): We cache a mapping from
7293 inset to cell in order to speed this method up.
7295 2001-06-24 The LyX Project <Asger>
7297 * insettext.C: Optimized InsetText::draw or something.
7299 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7301 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7303 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7305 * inset.h: name change from lyxinset.h
7307 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7309 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7311 2001-06-14 Juergen Vigna <jug@sad.it>
7313 * insettext.C (draw): removed warnings.
7315 2001-06-13 Juergen Vigna <jug@sad.it>
7317 * insettabular.C (nodraw): only go down the tree if we don't have
7318 that flag set otherwise it's obvious that we don't want to draw.
7319 (LocalDispatch): do also an update if we have an undispached result.
7321 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7324 * insetgraphicsParams.C:
7325 * insettext.C: removed // -*- C++ -*- as first line.
7327 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7329 * lyxinset.h (resizeLyXText): shut off warning about unused
7332 2001-06-07 Juergen Vigna <jug@sad.it>
7334 * insettext.C (resizeLyXText): honor the new force flag.
7336 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7338 * insettabular.C (deleteLyXText): new function
7340 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7348 * insetcollapsable.C:
7349 * insetcaption.C: LColor tidy
7351 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7353 * figinset.C: fix typo
7355 2001-06-01 Juergen Vigna <jug@sad.it>
7357 * insettabular.C (resetPos): small hack so that scroll is not set to
7358 0 when we are in the last column of a tabular. This is a problem we
7359 have because of constats 20 offset on both directions, so this can
7360 cause on the limit an endless loop.
7362 * insettext.C (SetFont): forgot that we can have locking insets ;)
7364 2001-05-31 Juergen Vigna <jug@sad.it>
7366 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7368 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7370 * figinset.C: add using std:: directive for the C functions which
7373 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7375 * insetfloat.C (Write): write out wide info
7376 (Read): read the wide info
7377 (Latex): use the wide info when creating latex.
7379 * insettext.C: adjust
7381 * insetgraphics.[Ch] (statusMessage): change to return string
7385 * figinset.C (runqueue): add std::
7388 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7390 * insetcite.C (Ascii): add std:: qualifier
7392 2001-05-28 Juergen Vigna <jug@sad.it>
7394 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7395 a endless-width inset (maxWidth < 0).
7396 (Edit): change language only if not equal.
7398 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7400 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7402 2001-05-16 Juergen Vigna <jug@sad.it>
7404 * insettext.C (selectAll): added
7405 (clearSelection): added
7407 * insettabular.C (SetFont): now we may set a font on a whole selection!
7408 (getSelection): added helper function.
7410 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7412 * insetcite.C (Ascii): Add method.
7414 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7417 * insetbib.C: fix path for OS/2 & Win32
7419 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7421 * insetfoot.C (Latex): don't use % after footnote.
7423 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7425 * insettext.C (Read): use clear
7426 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7428 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7430 * insetfloatlist.h: add a bunch of std:: qualifiers.
7432 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7435 FLOAT_LIST_CODE, renumber code list.
7437 * insettoc.C (getScreenLabel): remove support for float lists
7441 * insetfloatlist.[Ch]: new files
7443 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7445 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7447 * insettabular.C (LocalDispatch):
7448 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7451 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7453 * insettext.C: remvoe !NEW_INSETS cruft
7455 * insettabular.C: remove !NEW_INSETS cruft
7457 * insetcollapsable.h: remove !NEW_INSETS cruft
7459 * insetbib.C: remove !NEW_INSETS cruft
7461 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * insettoc.C: hack to make listof algorithm work
7465 2001-04-20 Juergen Vigna <jug@sad.it>
7467 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7469 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7471 * insetquotes.C (Latex): improve the guard against
7472 unwanted !` and ?` ligatures. This should really be done in
7473 another place (to catch all this ligatures at low-level).
7475 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7477 * insettext.C (init): remvoe leftovers from cursor_visible change
7478 (draw): use c++ cast
7479 (LocalDispatch): dispatch LFUN_MESSAGE
7481 * insettabular.C (InsetTabular): remove leftovers from
7482 cursor_visible, and scoped_ptr changes
7483 (draw): use c++ cast
7485 * insetcollapsable.C (draw): use c++ cast
7487 * ExternalTemplate.h: inherit privaely from noncopyable
7488 * insetcommand.h: ditto
7489 * insetinclude.h: ditto
7491 2001-04-16 Allan Rae <rae@lyx.org>
7493 * insettoc.C (Ascii):
7494 * insettext.C (draw):
7495 * insettabular.C (setPos):
7496 * insetminipage.C (Read):
7497 * insetfloat.C (placement):
7498 * insetcaption.C (Ascii, DocBook):
7499 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7500 an unrecognised preprocessor directive. So ensure they're wrapped.
7502 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7505 * insetexternal.C: set view on Clone. Add _ to private members.
7507 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7509 * insettext.C (InsetText): fix new
7510 (InsetText): reindent some, simplify deletion of par list
7511 (clear): simplify deletion of par list, fix new
7512 (SetParagraphData): simplify deletion of par list
7514 * insettabular.[Ch] (getLabelList): implement new method
7516 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * lyxinset.h: do not include gettext.h...
7526 * insetlatexaccent.C:
7530 * inseturl.C: ... and do it here instead
7532 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7536 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7538 * insetcollapsable.[Ch] (getLabelList): implement
7540 * insettext.[Ch] (getLabelList): implement
7542 * insettext.h: reindent
7544 * insettabular.h: make tabular a scoped_ptr
7546 * insettext.C (init): adjust for cursor_visible
7547 (ToggleInsetCursor): constify asc and desc, font, adjust for
7549 (ShowInsetCursor): constify asc and desc, font, adjust for
7551 (HideInsetCursor): adjust for cursor_visible
7553 * insettabular.C: reindent some
7554 (InsetTabular): adjust for scoped_ptr and cursor_visible
7555 (InsetTabular): ditto
7556 (~InsetTabular): delete delete
7557 (Clone): adjust for scoped_ptr
7558 (Read): constify old_format, adjust for scoped_ptr, move init of
7560 (draw): constify tx, localize loop vars.
7561 some other localization of variables, remove double initilizatons.
7563 * insetfoot.C: remove using std::ostream, add ostream where needed
7565 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7567 * lyxinset.h: some reindentaion, use initializer list for
7569 UpdatableInset: make cursor_visible a private var add
7570 public isCursorVisible(), add protected toggleCursorVisible() and
7571 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7573 * insettoc.C: remvoe using decl
7574 (getScreenLabel): make cmdname donst
7577 (Ascii): don't use endl
7579 * insetfootlike.C: remove using decl at file scope and add std::
7581 * insetmarginal.C: ditto
7583 * insetfoot.C: some reformatting
7585 * insetfloat.C (InsetButtonRelease): adjust the hit area
7587 * insetert.C (SetFont): some reformatting
7589 * insetcollapsable.C: some reformatting and constification
7590 (Clone): comment out.
7591 * insetcollapsable.h: some reformatting
7592 (Clone): comment out.
7597 2001-03-30 Juergen Vigna <jug@sad.it>
7599 * insetcollapsable.h: changen *inset to be a InsetText inset.
7601 * some files: changed to reflect the above change.
7603 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7605 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7606 InsetExternal::Params.
7607 Added operator==() and operator!=() for the Params struct.
7609 2001-03-29 Juergen Vigna <jug@sad.it>
7611 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7614 * insetminipage.C: removed widthp_ and all it's functions and changed
7615 to use new %-lengths of LyXLength.
7617 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7619 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7621 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7623 * insetgraphicsParams.C (operator!=): new function, needed by the
7624 ControlGraphics class.
7626 2001-03-28 Juergen Vigna <jug@sad.it>
7628 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7629 (checkAndActivateInset): don't use the values returned from
7630 call to bv->checkInsetHit.
7632 * insetminipage.C (Clone): set special minipage values.
7634 * insetcollapsable.C (draw): changed to draw the button in the
7635 upper left corner outside the textinset.
7636 (ascent): changed because of different drawing
7640 (InsetButtonPress): ditto
7641 (InsetButtonRelease): ditto
7642 (InsetMotionNotify): ditto
7644 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7646 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7650 2001-03-26 Juergen Vigna <jug@sad.it>
7652 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7654 * insettext.C (ShowInsetDialog): implemented above function.
7656 * insettabular.C (ShowInsetDialog): ditto
7658 * insetminipage.C (ShowInsetDialog): ditto
7660 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7662 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7663 InsetInclude::Params. Don't store a buffer * in Params. Store the
7664 master file name instead.
7666 2001-03-23 Juergen Vigna <jug@sad.it>
7668 * insetcollapsable.C (InsetMotionNotify):
7669 (InsetButtonRelease):
7670 (InsetButtonPress): fixed y-offset (minipages).
7672 * insettext.C (draw): force a FULL update if cleared == true.
7674 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7675 routine to draw the minipages on its position-flag.
7676 (InsetInInsetY): give back the right y position, because of minipage
7679 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7682 * insetfloat.C (DocBook): docbook export code.
7684 2001-03-22 Juergen Vigna <jug@sad.it>
7686 * insetminipage.C (getMaxWidth): added function to set the drawing
7688 (Read): should work now!
7690 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7691 if we create a new inset.
7693 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7695 * figinset.C (fl_set_preemptive_callback): moved definition outside
7698 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7700 * insetminipage.C (Read): prepare for reading of minipage arguments.
7702 2001-03-18 Baruch Even <baruch@lyx.org>
7704 * insetgraphics.C: Minor cleanups of the comments and code.
7706 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7708 * insetminipage.C (InsetMinipage): default to not collapsed
7710 2001-03-16 Juergen Vigna <jug@sad.it>
7712 * insetminipage.C (width): modified with to be a string
7713 (widthp): added widthp (for % width) support functions.
7714 (InsetButtonRelease): added to open the options dialog on button==3.
7715 (~InsetMinipage): added to hide the dialog.
7717 * insetminipage.h: added hideDialog signal
7719 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7721 * insetminipage.h: change the order or Position to match
7722 LyXParagraph::MINIPAGE_ALIGNMENT
7724 * several files: remvoe CXX_WORKING_NAMESPACES
7726 * ExternalTemplate.h: noncopyable is in namespace boost
7727 * insetinclude.h: ditto
7728 * insetcommand.h: ditto
7730 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7732 * insettext.C (Edit): #else# -> #else.
7733 * insettoc.C: added using directive.
7735 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7737 * insetminipage.h: add pos, inner_pos, width and height. + getters
7738 and setters for all of them.
7740 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7742 * insetinclude.C (Latex): Do not exit when the textclass of the
7743 included file differ from the textclass of the parent file.
7745 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7747 * ExternalTemplate.C (read): the reading of external insets now checks
7748 for \end_inset and removes it form the input stream.
7750 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7752 * ExternalTemplate.h:
7753 * ExternalTemplate.C:
7755 * insetexternal.C: move form to GUII
7757 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7760 * insetinclude.C: add InsetIncludeParams, use
7761 composition rather than derivation of InsetCommand
7763 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7765 * insettoc.C (Ascii): use the Buffer typedefs
7767 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7769 * insettoc.C (Ascii): implement for dynamic number of lists
7771 * insetcaption.[Ch]: update from new_insets branch
7772 * insetfloat.[Ch]: ditto
7774 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7777 * figinset.C: use new File Dialog
7779 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7781 * insettext.C: changes becuase of ParagraphParameters.
7783 2001-02-28 Baruch Even <baruch@ev-en.org>
7785 * insetgraphics.C (updateInset): Changed due to the change in
7788 2001-02-26 Juergen Vigna <jug@sad.it>
7790 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7791 handled in LyXText).
7793 2001-02-23 Juergen Vigna <jug@sad.it>
7795 * insettext.C (draw): some small repainting fixes.
7796 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7798 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7799 should be) and not an int.
7801 * insettabular.C (LocalDispatch): ditto
7803 * insettext.C (LocalDispatch): ditto
7805 * insetcollapsable.C (LocalDispatch): ditto
7807 2001-02-22 Juergen Vigna <jug@sad.it>
7809 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7810 DISPATCH it and we don't have a locking_inset.
7812 2001-02-21 Baruch Even <baruch@ev-en.org>
7814 * insetgraphics.[Ch]: Changed to use
7815 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7817 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7819 * insetcollapsable.C (getLyXText): add const qualifier to second
7822 2001-02-22 Juergen Vigna <jug@sad.it>
7824 * insettext.C (getLyXText): honor the recursive parameter.
7825 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7827 * inset.C (getLyXText): added bool recursive parameter.
7829 * insettext.C (SetUpdateStatus): or the update codes.
7830 (draw): check need_update with &.
7831 (InsetButtonPress): set no_selection to not put a selection when
7832 entering an inset and it is redraws in another spot.
7834 * insettext.h: made need_update an int.
7836 2001-02-20 Baruch Even <baruch@ev-en.org>
7839 * insetgraphisc.C: Changed to use better semantics when loading images
7840 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7842 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7846 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7847 consistent with InsetTabular.
7849 2001-02-19 Juergen Vigna <jug@sad.it>
7851 * insettabular.C (LocalDispatch): implement PAGE up/down.
7853 * insettext.C (draw): clear all of it on need_update==INIT too!
7855 * insettabular.C (InsetUnlock): always clear the selection.
7857 * inset.C (scroll): normally we only want to scroll the inset until
7858 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7860 2001-02-14 Juergen Vigna <jug@sad.it>
7862 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7863 (resetPos): fixed scroll behaviour.
7864 (LocalDispatch): do an update if moving cursor inside a table cell
7865 requests a scroll of the tabular.
7867 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7869 * insettext.C (textWidth): constify local var
7871 * insettabular.C: small cleanup.
7873 * insetfoot.C (Latex): constify local var
7875 * insetcollapsable.C: small cleanup.
7877 * figinset.C (runqueue): use compare instead of strcmp
7879 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7882 * insetinfo.C: remove cruft
7884 2001-02-14 Juergen Vigna <jug@sad.it>
7886 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7888 2001-02-13 Juergen Vigna <jug@sad.it>
7890 * insettext.C (InsertInset): don't move left (is this right?)
7892 * insettabular.C (LocalDispatch): use of the no_draw variable
7894 * insettabular.h: new no_draw variable to stop redraw
7896 * insettabular.C (TabularFeatures): fixed update for alignment change
7898 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7902 * insetbib.C: move dialogs to frontends/
7904 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7906 * insettext.C (LocalDispatch): Restore the language if the inset
7909 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7911 * insettext.C (moveRightIntern): Update the selection cursor.
7912 (moveLeftIntern): Ditto.
7914 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7916 * Makefile.am: remove BoundingBox.h
7918 * BoundingBox.h: removed
7920 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7922 * insettext.C (LocalDispatch): Update selection cursor when moving
7923 cursor to the right.
7924 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7925 (moveLeftIntern): Ditto.
7927 2001-02-05 Baruch Even <baruch.even@writeme.com>
7929 * insetgraphics.C: Updated automatic image conversion, it now goes into
7930 temporary directory instead of with the image itself.
7932 2001-01-21 Baruch Even <baruch@ev-en.org>
7934 * insetgraphics.C: Added Docbook support. Added Automatic image
7935 conversion to EPS or PNG when needed (support bitmap graphics).
7937 2000-11-02 Baruch Even <baruch@ev-en.org>
7940 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7941 to '\n' and removal of commented out code.
7943 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7945 * insetbib.C (callback): Update citations if the key has changed.
7947 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7949 * insetbib.C (InsetBibKey): Better computation of default key.
7950 (getScreenLabel) Show both the key and the label.
7951 (getBibLabel): New method.
7952 (callback): Force a redraw if the inset have been changed.
7954 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7956 * insetref.C (getType, getName): Move methods from
7957 src/frontends/xforms/FormRef.C.
7959 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7961 * insettabular.C: Various improvements (use only one dummy position).
7963 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7965 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7966 par->bibkey->width. This fixes the crashes when running without
7967 gui or when having included documents.
7969 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7971 * insetcommand.C (getAsString, setFromString): Cleanup.
7973 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7975 * insetref.C: Add the array InsetRef::types that contains
7976 information about all supported reference types.
7978 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7980 * lyxinset.h: remove trailing comma in enum.
7982 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7984 * insettext.C: kill LyXBell.