1 2002-03-05 Juergen Vigna <jug@sad.it>
3 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4 only that one in the inset. Should be enough.
6 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
8 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10 * insettext.C (clear): a gross hack to set layout on a newly
13 2002-03-04 Juergen Vigna <jug@sad.it>
15 * insettabular.C (localDispatch): inserted handling of
16 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
17 (insertAsciiString): new helper function.
19 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
21 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
24 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * insettext.C (InsetText): initalize newly created par with
27 default layout. add bufferparams parameter
30 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
31 * insetcollapsable.[Ch] (InsetCollapsable): ditto
32 * insetert.[Ch] (InsetERT): ditto
33 * insetfloat.[Ch] (InsetFloat): ditto
34 * insetfoot.[Ch] (InsetFoot): ditto
35 * insetfootlike.[Ch] (InsetFootLike): ditto
36 * insetmarginal.[Ch] (InsetMarginal): ditto
37 * insetminipage.[Ch] (InsetMinipage): ditto
38 * insetnote.[Ch] (InsetNote): ditto
39 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
41 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * insettext.C: layout as string
45 * insetinclude.C: layout as string
47 * insetert.C: layout as string
49 * insetbib.C: layout as string
51 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
54 * insettabular.C: remove #include "lyx_gui_misc.h".
56 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
61 * inset.h: remove figinset, yahoo !
63 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
65 * insetgraphics.C (c-tors): initialise parent classes explicitly in
66 copy c-tor and initialise member variables in the correct order.
68 2002-02-28 Juergen Vigna <jug@sad.it>
70 * insettabular.C (localDispatch): clear selection on PgUp/Down.
72 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
74 * inset.h: ... and add a better one here.
76 * insetcommand.C (insetButtonRelease): remove that one which was a
79 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * insetcommand.C (insetButtonRelease): ... and move it here.
83 * inseturl.h: remove insetButtonRelease from there...
85 2002-02-26 Juergen Vigna <jug@sad.it>
87 * inseturl.h: Added a insetButtonRelease call returning true as
90 * insetlabel.C (edit): Fixed wrong update handling after change I
91 leave in the wrong code for the one who wrote it to remove and have
92 a look what he did wrong.
94 * insettabular.C (localDispatch): force a SELECTION update if we
95 had a selection and we passed the event down to the inset (fix #213)
96 (localDispatch): handle font changing stuff when we have a cell
97 selection so that the selection is not rewoked. I don't really like
98 this fix, but it's the only way I see to do it right now.
100 2002-02-22 Juergen Vigna <jug@sad.it>
102 * insettext.C (insetUnlock): set the cursor to the second paragraph
103 if available and if the first one is empty (fix #191).
105 2002-02-20 Juergen Vigna <jug@sad.it>
107 * insettext.C (getDrawFont): implemented this function to call the
108 one of the owner if present as the owner normally knows what to do
111 * insetert.C: implement getDrawFont() function and comment out all
112 the crap for setting a special latex font inside this inset.
113 (InsetERT): added a Lanugage parameter to this constructor.
115 * inset.h: added function getDrawFont(LyXFont & font) to be able to
116 change the font for being drawn on screen (used only in InsetERT for
119 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
120 and also above (was missing).
121 (updateLocal): don't remove the cell selection if we have one this
122 should be done where we really want to remove it.
124 2002-02-20 José Matos <jamatos@fep.up.pt>
126 * insetinclude.h: include_label made string const.
128 * insetinclude.C (InsetInclude): moved include_label initialization.
131 (validate): fix support for temporary directory, for docbook and
134 * insetgraphics.h : new private member, graphic_label, that holds
135 the entity name that defines the graphics location (SGML).
137 * insetgraphics.C (unique_id): new function to give a unique label
140 (validate): the file locatation is given by an entity reference.
142 2002-02-18 Herbert Voss <voss@lyx.org>
144 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
146 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
148 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
149 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
151 2002-02-18 José Matos <jamatos@fep.up.pt>
153 * insetinclude.C (validate): some code only applies to latex buffers,
154 it was made conditional.
156 2002-02-12 Herbert Voss <voss@lyx.org>
158 * insetgraphics.C: (prepareFile) do not check at this time
159 if the file is present.
161 2002-02-12 Herbert Voss <voss@lyx.org>
163 * insetgraphics.C: latex(), return the correct newlines
165 2002-02-13 José Matos <jamatos@fep.up.pt>
167 * inseturl.C (docbook): escape & in url.
169 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
171 * insetspecialchar.C (isLineSeparator): line breaking is allowed
172 after HYPHENATION and MENU_SEPARATOR
174 * inset.h (isLineSeparator): new method, returns false by default.
176 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * insetert.C (status): do not update the text inset, but the ERT
181 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
183 * insetnote.C: use notebg for background
185 2002-02-08 Herbert Voss <voss@lyx.org>
188 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
189 prevent LyX from unzipping when this should be handled
190 by latex vis the graphic.cfg.
193 2002-02-08 Herbert Voss <voss@lyx.org>
195 * insetgraphic.C: prepareFile(): fix bug when file doesn't
196 exists, than return filename with extension
198 2002-02-06 Herbert Voss <voss@lyx.org>
200 * insetgraphic.C: prepareFile(): don't convert the file, when
201 it's not viewed in LyX. Saves a lot of time when opening a
204 2002-02-05 Herbert Voss <voss@lyx.org>
207 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
208 and adding a rotate bool similiar to subcaption
210 2002-02-04 Herbert Voss <voss@lyx.org>
213 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
214 similiar view to the LaTeX one. Get zipped files work.
216 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
218 * insetgraphicsParams.C (init): set display to DEFAULT.
219 No longer #include "lyxrc.h".
221 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
223 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
224 for now (so that the code compiles).
226 2002-02-02 Herbert Voss <voss@lyx.org>
228 * insetgraphic.C: delete inVariant() and some minor changes
229 * insetgraphicsParams.[C]:
231 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
233 * insetgraphics.C (updateInset): if params.display == DEFAULT,
234 interogate lyxrc.display_graphics before diaplaying the graphic.
236 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
237 InsetGraphicsParams::DisplayType.
239 2002-01-31 Herbert Voss <voss@lyx.org>
241 * insetgraphic.C: (readfigInset) set display to pref-default
243 2002-01-30 Herbert Voss <voss@lyx.org>
245 * insetgraphic.C: get the filetyp from it's contents
246 * insetgraphicparams.C: add token scale and lyxrc.display when
249 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
251 * figinset.C: added using std::ios directive.
253 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
255 * figinset.C (runqueue): open translation file in binary mode (for
258 2002-01-27 Herbert Voss <voss@lyx.org>
260 * insetgraphic.[Ch]: mostly newritten to support graphicx with
261 all options and to be sure that the old figinsets are correct
263 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
264 structure and to support all lengths as LyXLength. The Parameter
265 structure changed again, but reading of "old" 1.2 graphic insets
268 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
270 * insetert.h (forceDefaultParagraphs): Added
272 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
274 * insettabular.C (getMaxWidth):
275 (forceDefaultParagraphs): use Tabular::GetCellFromInset
277 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
279 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
280 of LyXLength::inPixels
282 * inset.C (latexTextWidth):
283 * insetminipage.C (latexTextWidth): new method, which implements
284 the equivalent of the LaTeX macro \textwidth
286 * insetminipage.C (getMaxWidth): use latexTextWidth
288 2002-01-18 Juergen Vigna <jug@sad.it>
290 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
292 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
294 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
296 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
299 2002-01-17 Juergen Vigna <jug@sad.it>
301 * insettabular.C (lockInsetInInset): same change as in insettext.
303 * insettext.C (draw): width() function was called without setting
304 the right top_x which could lead to wrong insetWidth setting!
305 (lockInsetInInset): call edit instead of calling lockInset if we
306 have to lock an inset inside!
307 (edit): we have to also tell the inset that we have to redraw the
308 frame on an edit call if this inset draws a frame only if locked.
310 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
312 * insetbib.C (getFiles): uncomment Path variable.
314 2002-01-16 Juergen Vigna <jug@sad.it>
316 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
319 2002-01-16 Allan Rae <rae@lyx.org>
321 * insetinclude.C (docbook): someone forgot a ";"
323 2002-01-16 José Matos <jamatos@fep.up.pt>
325 * figinset.C (docbook): removed a old place holder "@".
326 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
327 * insetinclude.C (linuxdoc): if include is verbatim, then export the
328 ascii text version, clearly guarded inside a CDATA section.
329 (docbook): in docbook 4, inlinegraphics is empty.
330 * insettabular.C (linuxdoc): export the ascii version of the table
331 inside a CDATA section.
333 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
335 * insetparent.C (InsetParent):
336 * insetgraphicsParams.C (Write):
338 * insetgraphics.C (prepareFile):
341 * insetexternal.C (executeCommand):
342 (doSubstitution): use Buffer::filePath
344 * insetbib.C (getFiles): add a #warning for Angus
346 * insetgraphics.C: Add a remark about how filenames should be
347 considered to be relative to buffer (but absolute is still allowed)
348 (draw): do not try to get status if lyxrc.use_gui is false
350 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
353 * insetcollapsable.[Ch]:
354 * insettabular.[Ch] (searchForward, searchBackward): change the
355 bool const & params to bool.
357 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
358 to avoid the name clash with InsetCollapsable's methods of the same
359 names but different functionality.
361 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
363 * insettext.C (ascii): use lyx::count rather than countChar.
365 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
367 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
369 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
371 * insetgraphics.C (updateInset): do not try to render image if
372 lyxrc.use_gui is false (bug #104)
374 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
375 if file does not exist
377 * figinset.C (browseFile): add shortcuts to directory buttons
379 * insettext.C (updateLocal): update menubar and toolbar here too.
381 2002-01-13 Allan Rae <rae@lyx.org>
383 * insettabular.C (InsetTabular): Both constructors now initialise
386 2002-01-11 Juergen Vigna <jug@sad.it>
388 * insettext.C (insetButtonPress): set the_locking_inset to 0.
390 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
392 * insettabular.C (getStatus): add forgotten brace around multiline
395 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
397 * insetfloat.C (validate): require "float" instead of "floats".
399 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
401 * insettabular.C (getStatus): use FuncStatus
403 2002-01-08 Juergen Vigna <jug@sad.it>
405 * insettabular.C (insetButtonRelease): now this should work too
408 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
409 if the width is a percentage.
411 * inset.h: added isChar() function and implemented this for
412 insetspecialchar insetquotes and insetlatexaccent.
413 added forceDefaultParagraphs() and implemented it for insettabular.
415 2002-01-07 Juergen Vigna <jug@sad.it>
417 * insettext.C (getLyXText): Fixed this function. An insert into the
418 map is only done if we REALLY have a new BufferView.
420 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
422 * insettext.C: fix bug illustrated by attachment #37 of bug #59
424 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
426 * insetinclude.C: fix use of FileInfo
428 2002-01-07 Juergen Vigna <jug@sad.it>
430 * insettabular.C (draw): fixed clearing of cell around inset.
432 2002-01-05 Juergen Vigna <jug@sad.it>
434 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
435 variables are updated.
437 * insettabular.C (resetPos): set always the inset_y as it may be
438 needed in another function.
439 (searchBackward): don't draw while searching.
441 2002-01-04 Juergen Vigna <jug@sad.it>
443 * insettext.C (lockInsetInInset): forgot to set a cursor.
445 2002-01-02 Juergen Vigna <jug@sad.it>
447 * insettext.C (insertInset): make the correct undo informations on
448 inserting new insets.
450 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
452 * insettabular.C: correct single-cell select vertically
454 2001-12-27 Juergen Vigna <jug@sad.it>
456 * insettabular.C (ascii): export as tab-separated-values if the
457 function was not called from export (f.ex.: clipboard).
459 * insetcollapsable.h: added default support for ascii, linuxdoc and
460 docbook export (the insettext is exported by default!)
462 * insettabular.C (copySelection): suff the clipboard with the tabular
463 data in a tab separated format, seems more naturals then with all the
466 2001-12-24 Juergen Vigna <jug@sad.it>
468 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
469 to check for REAL mouseMotion.
471 2001-12-20 Juergen Vigna <jug@sad.it>
473 * inset.C (cursor): return the owners cursor if available instead of
474 always only the bv->text->cursor.
476 * insettabular.C (checkLongtableSpecial): works now.
478 2001-12-19 Juergen Vigna <jug@sad.it>
480 * insettabular.C (tabularFeatures): fix the row setting of ltt as
481 this has to be always row + 1 as 0 means not selected!
482 (checkLongtableSpecial): added
483 (tabularFeatures): better longtable options support
485 * insettext.C (resizeLyXText): reinit the text always also on a
488 2001-12-18 Juergen Vigna <jug@sad.it>
490 * insettext.C (updateInsetInInset): look if we have to autocollapse
491 paragraps and return if the update is requested for ourself.
493 * insetert.C (status): update the insettext not myself as that is what
496 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
497 function only return if the update was requested with myself.
499 * insettext.C (insetButtonPress): fixed stupid bug.
500 (various functions): pay attention that lt is cleared BEFORE calling
501 updateLocal() and try to use it in the right manner (don't use it
502 if it's not really neccessary!)
503 (collapseParagraphs): insert a blank between collapsing paragraphs
504 if neccessary (not already there!).
506 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
508 * insettabular.C: move includes around a bit, add a couple of
511 * insettext.[Ch]: move includes around a bit, other ws changes and
514 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
516 * insettext.C (insetButtonRelease): fix compile problem
518 2001-12-17 Juergen Vigna <jug@sad.it>
520 * insettext.C (insetButtonPress): set the selection cursor!
521 (insetButtonPress): clear the selection (and set with that the
522 selection.cursor) if we only hit an inset!
524 * insetert.C (read): removed piece of compatibility code only needed
527 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
530 * insetcollapsable.C (insetButtonRelease): changed so that it can
531 open eventual existing popup dialogs on mousebutton==3.
533 * insetfloat.C (insetButtonRelease): removed not needed anymore!
535 * insetminipage.C (insetButtonRelease): removed not needed anymore!
537 * inset.C (insetButtonRelease): return a bool for telling the outer
538 world that we opened a dialog.
540 2001-12-07 Juergen Vigna <jug@sad.it>
542 * insettext.C (paragraph): remove the deleteing of paragraphs as
545 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
548 * insettabular.C: use new setSelection(). Allow
549 selection of single cells.
551 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
553 * insetquotes.C (latex): fix to use the local language setting at
554 the point where the inset is inserted (different macros for
555 different french packages)
557 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
559 * inset.h: add par_owner_ member variable and parOwner
562 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
564 * insettabular.C (everywhere): adapt because widths are now real
565 widths and not strings
567 * insettext.C (draw): re-introduce the calls to width(), ascent()
568 and descent() to initialize the caching variables.
570 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
572 * insettext.C (draw):
573 (drawFrame): use insetWidth instead of last_width
575 * insettext.h: remove variable last_width (insetWidth is exactly
576 the same) and last_height (computed but never used!)
578 2001-12-10 Allan Rae <rae@lyx.org>
580 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
582 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
584 * insettext.C (insetAllowed): add comment
586 2001-12-05 Juergen Vigna <jug@sad.it>
588 * insettext.C (insetAllowed): fixed for the case that we directly
589 ask the insettext from its LyXText.
590 (paragraph): fixed the crash when assigning the par->next() from
591 the EmptyParagraphMechanism!
593 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
597 * insettext.C: change "while(" to "while ("
599 2001-12-04 Juergen Vigna <jug@sad.it>
601 * insetert.C (edit): handle Inlined status.
603 * insettext.C (insertInset): trying John's fix for the trailing cursor
605 * insetert.C (insetButtonPress): added to handle inlined status
606 (insetMotionNotify): ditto.
608 * insettext.C (clearInset): changed Painter & in BufferView * param,
609 to be able to call ascent,descent methods.
611 2001-12-03 Juergen Vigna <jug@sad.it>
613 * insettext.C (updateInsetInInset): use lt variable to forbid
614 changes of LyXText in an update call.
615 (updateInsetInInset): fixed updating of non locked insets!
617 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
619 * insettabular.C: capture some more functions to prevent
620 selection drawing problems. Bug #451274
622 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
625 * insetgraphicsParams.C: fix inverted sense of float_equal
627 2001-11-30 Juergen Vigna <jug@sad.it>
629 * insettabular.C (InsetTabular): use the save_id flag to create also
630 the tabular with the same id's.
632 * insettext.C (setParagraphData): added a same_id function for undo
633 to set the same paragraph id's as of the paragraph we are setting.
635 2001-11-30 José Matos <jamatos@fep.up.pt>
638 * insettoc.[Ch]: DocBook -> docbook.
640 2001-11-29 André Pönitz <poenitz@gmx.net>
643 * insettext.C: further reduction of header dependencies by using
644 lyx::layout_type and lyx::textclass_type from support/types.h
646 2001-11-29 Juergen Vigna <jug@sad.it>
648 * insettext.C: inserted a reinitLyXText function everywhere I delete
649 the paragraphs! This should fixe the crashes we had.
650 Also use the new function firstRow() instead of getRowNearY(dummy_y)
651 (paragraph): set the InsetOwner() of the new paragraphs!
653 2001-11-28 André Pönitz <poenitz@gmx.net>
655 * insetnote.C: add pos initialization that I removed without
658 2001-11-28 Juergen Vigna <jug@sad.it>
660 * insettabular.C (resetPos): hack to not crash with infinite paints.
662 * insettabular.h: insert missing function allowSpellcheck()!
664 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
666 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
669 * insetfloatlist.C: derive from InsetCommand so gui can use it
672 2001-11-26 André Pönitz <poenitz@gmx.net>
676 * insetnote.C: reduce header dependencies, introduce type for
679 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
681 * various: update for Alert.h
683 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
685 * inset.h: fix comment
687 * insettext.C: use par->isInset()
689 2001-11-22 Allan Rae <rae@lyx.org>
691 * insetcollapsable.h:
692 * inset.h: Changes to checkInsertChar() behaviour.
693 Now return value indicates whether chars can be inserted.
695 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
697 * various: updated to use the new LaTeXFeatures
699 2001-11-14 José Matos <jamatos@fep.up.pt>
701 * insetspecialchar.C (linuxdoc):
702 (docbook): don't give a name to a unused variable.
704 * insettext.C (docbook): removed unused variable.
706 2001-11-13 Herbert Voss <voss@perce.de>
708 * insetgraphic.C: fix scale bug
710 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
713 (isLetter): new virtual methods.
715 * insetspecialchar.C (isSpace):
716 (isLetter): implement here.
718 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
720 * inset.h: new inline helpers
722 * insettext.C: use new helpers
724 2001-11-07 José Matos <jamatos@fep.up.pt>
726 * insettext.C (docbook): full support for paragraphs inside insettext.
728 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
730 * insetindex.C: added header file for std::ostream.
732 2001-11-03 José Matos <jamatos@fep.up.pt>
734 * insetindex.C: added using std::ostream that I forgot yesterday.
736 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
738 * insetindex.h (docbook):
739 * insetindex.C (docbook): added support for docbook export.
741 2001-11-02 José Matos <jamatos@fep.up.pt>
743 * insetcaption.C(docbook): added support for docbook export.
745 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
747 * insetexternal.C (updateExternal): Do not run update command if
748 result file exists and is up to date.
750 * ExternalTemplate.C (readFormat): Support the updateresult token.
752 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
754 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
755 external_templates) to use the buffer->fileName() but only if
756 previewing. Generating a TeX file should make FPath return
759 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
762 * insetert.C: fix some problems
764 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
766 * insetexternal.C (doSubstitution): Added $$FPath token
767 to list of usable substitutions in external inset templates.
769 2001-10-24 Juergen Vigna <jug@sad.it>
771 * insettabular.C: use new ltType struct for setting longtable
772 header and footers also new UNSET enums.
774 2001-10-24 José Matos <jamatos@fep.up.pt>
776 * insettabular.C (linuxdoc): Now exports the ascii's table version.
777 (docbook): If the table is not inside a float then wrap it inside
778 <informaltable>...</informaltable>.
780 2001-10-23 José Matos <jamatos@fep.up.pt>
782 * insetref.C (docbook): removed / terminator to conform SGML.
784 * insetspecialchar.C (linuxdoc):
785 (docbook): Added support for special chars, more than ascii export.
787 2001-10-22 Juergen Vigna <jug@sad.it>
789 * insettext.C (checkInsertChar): added for REALLY checking the
790 font of the inserted char in the right inset!
792 2001-10-19 Juergen Vigna <jug@sad.it>
794 * inset.h: added method allowSpellcheck() so that insets who do
795 not have anything to spellcheck can tell and so they are over-jumped.
796 Implemented for InsetText and co.
798 2001-10-18 Juergen Vigna <jug@sad.it>
800 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
802 2001-10-15 José Matos <jamatos@fep.up.pt>
804 * insetert.C: allow export for docbook and linuxdoc
806 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
808 * insetquotes.C (dispString): handles latin3 and latin4 quotes
810 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
812 * insetquotes.C (dispString): fix handling of latin9 quotes
814 2001-10-03 Juergen Vigna <jug@sad.it>
818 * insetcollapsable.C: change updateInset calls to not tell BV that
819 we have changed status.
821 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * insettabular.C (deletable): make const
825 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
827 * insetert.C (latex): Fix the returned value
829 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
831 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
832 Returns string(), so nothing in an ERT inset is spellchecked.
834 * insetgraphics.C (draw): print the filename if not displaying the
836 (width): make sure that the width and draw methods are consistent.
837 (updateInset): don't even load the image into cache if not displaying
840 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
842 * various files (selectNextWord): renamed as
843 selectNextWordToSpellcheck.
845 * insetgraphics.C (draw): remove the previous change. Right place
846 is in imageLoaderXPM.C.
847 (draw): don't display the image if params.display == NONE.
849 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
851 * figinset.C (runqueue):
852 * insetgraphics.C (draw): set background colour of inset from
853 background to the user-configurable graphicsbg.
855 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
857 * insetquotes.C (InsetQuotes): when trying to decide the side of
858 the quote, choose `left' only after a space or '('
860 2001-09-04 José Matos <jamatos@fep.up.pt>
894 * insettext.C (docbook): rename docBook method to docbook.
896 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
898 * inset.h (getFirstParagraph): New virtual method.
900 2001-08-20 Herbert Voss <voss@perce.de>
901 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
902 in the the bibtex-database-gui for inserting a line
905 If no style is given than there is no tex-output.
907 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
909 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
913 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
915 * insetert.C (latex): Fix output for multiple paragraphs.
916 (write): New code for writing paragraph data.
917 (read): Set font after reading the inset.
918 (localDispatch): Call set_latex_font() for more cases.
920 * insetnote.h: Add empty validate method.
923 * insetnote.C (InsetNote): Set language to the language of the
926 2001-08-16 Juergen Vigna <jug@sad.it>
928 * insettext.C: implemented the new FINISHED states.
930 * insettabular.C: ditto
932 * inset.h: added more FINISHED states for cursor right,up,down
934 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
936 * insetfloatlist.C: use "FloatName List"
938 2001-08-14 Juergen Vigna <jug@sad.it>
940 * insetert.C (edit): forgot to set status_ in edit calls!
942 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
944 * insettext.C: Compilation fix
946 2001-08-13 Juergen Vigna <jug@sad.it>
948 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
950 * insetcollapsable.C (edit): don't recollapse an already open inset.
952 * insettext.C: fixed problem when reinitializing LyXText by not doing
953 it while lt is in use and post this to the next possible time in
955 (searchForward): fixed not unlocking of inset if nothing found.
956 (edit): set cursor behind right (was set -1 pos).
958 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
960 * insettabular.C (tabularFeatures): fixed fix where deleting the
961 last row didn't get the right actcell!
963 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
965 * insettext.C (localDispatch): Change language only when the inset
968 2001-08-10 Juergen Vigna <jug@sad.it>
970 * insettabular.C (selectNextWordInt): use the front using edit call.
972 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
973 the parameter overwrite class variable inset.
975 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
977 * insettext.C (saveLyXTextState): check for invalid cursor-par.
978 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
980 * insettabular.C (calculate_dimensions_of_cells): let's try to call
981 update only for fixed with cells.
982 (resetPos): try to fix the lockup on spellchecking or s&r.
984 * insettext.C (update): comment this out as it seems first wrong
985 and second not needed anymore!
986 (some functions): call reinitLyXText() only in update() in all other
987 positions set only need_update = INIT.
989 2001-08-08 Juergen Vigna <jug@sad.it>
991 * insettabular.C (setPos): fixed wrong actrow < rows() check.
993 * insettext.C (insetUnlock): remove double-space on inset unlock.
995 * insetcollapsable.C (draw): fix returned x when label > inset-width.
997 * insettabular.C (update): fixed cursor positon after an insert.
998 (insetAllowed): do not allow to insert insets when not inside the
1000 (draw): clear below an inset too as it could have changed height.
1002 * inset.C (getMaxWidth): fixed width for inset in inset.
1004 * insettext.C (update): small fix.
1006 * insettabular.C (tabularFeatures): added selection support to
1007 DELETE_ROW/DELETE_COLUMN.
1009 2001-08-07 Juergen Vigna <jug@sad.it>
1011 * inset.C (getMaxWidth): recoded and all it's implementations!
1013 * insettext.C (init,setParagraph+constructors): cleanups
1014 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1015 are new and I want do a save/restore of the cursor position which is
1016 not possible anymore.
1018 * insetcollapsable.C (searchBackward): recollapse inset if not found.
1019 (searchBackward): ditto
1020 (selectNextWord): ditto
1022 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1024 * insetlatexaccent.C (checkContents): Add some debug messages
1026 2001-08-07 Juergen Vigna <jug@sad.it>
1028 * insetert.C (read): don't use InsetCollapsable::read as we don't
1029 write the collapsed status anymore only the status.
1032 2001-08-06 Juergen Vigna <jug@sad.it>
1034 * insetert.C (set_latex_font): use LyXText's setFont directly.
1036 * insettext.C (drawFrame): fixed one time more the right position
1037 and size of the frame!
1039 * insetert.C (~InsetERT): hide the dialog.
1040 (showInsetDialog): added implementation
1043 (status): new function for the status of the ERT inset (3-state).
1044 (write): output also the status of the inset for readback!
1045 (read): readback the status if available otherwise use collapsed_.
1047 * insettext.C (edit): small fix of setting the position, which could
1050 * insetert.C (width): implement this function for inlined viewing.
1051 Added minimum width of 10 pixels!
1053 * insetminipage.C (InsetMinipage): just change the colors a bit so
1054 that border/background is a bit more visible. We will remove this
1057 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1058 function for getting the important widths for drawing in various
1059 functions and in LyXText.
1060 (draw): fixed up a bit (frame drawing/clearing)
1062 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1064 * inset.C (convertFont): delete method. not used.
1066 2001-08-03 Juergen Vigna <jug@sad.it>
1068 * insettext.C (setFont): don't call for a draw update if we're just
1069 changing the cursor font!
1071 2001-08-02 Juergen Vigna <jug@sad.it>
1073 * insettext.C (draw): clear the background with the right color if
1074 needed. Update myself if x&max-width changed and return without doing
1075 anything. Let the update code handle the right stuff.
1077 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1078 inside another inset.
1080 2001-08-01 Juergen Vigna <jug@sad.it>
1082 * insetcollapsable.C (update): added an in_update bool so we avoid
1085 * insettabular.C (update): added an in_update bool so we avoid
1088 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1090 (update): added an in_update bool so we avoid reentering.
1092 * insettabular.C (localDispatch): clear col/row selection when doing
1093 something else inside an inset.
1095 * insettext.C (getLyXText): fixed bug when requesting a recursive
1098 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1100 * insetcite.C (latex): Paranoia check. Make sure that there is no
1101 whitespace between the citation keys.
1103 2001-07-31 Juergen Vigna <jug@sad.it>
1105 * inset.h (nodraw): make the set function also const so that this
1106 can be called from inside other const functions.
1108 * insetcollapsable.h: removed inline variable and moved it over
1109 to the only user InsetERT.
1111 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1112 inset opening immediately therein lying insets dialogs!
1114 * insetert.C (localDispatch): set the font also if we don't have any
1115 chars in this paragraph, otherwise if we delete all of em and start
1116 writing we have the wrong font.
1118 (draw): implemented for inline support
1119 (insetButtonRelease): ditto.
1121 2001-07-30 Juergen Vigna <jug@sad.it>
1123 * insettext.C (reinitLyXText): new function to reinit the insets
1124 text after lot's of paragraph changes. Use this instead of the
1125 cache.clear() which is VERY dangerous.
1127 * insetfloat.C (insetButtonRelease): we should only show the dialog
1128 if we press on the label otherwise we have problems to open mouse
1129 button 3 dialogs inside this float (f.ex. of a tabular!)
1131 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1133 * insetert.C: change back to "ERT"
1135 * insetfloat.C: handliign of RMB on label added.
1137 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1139 * insetgraphicsParams.C: #include LOstream.h here.
1141 * insetfoot.h: remove InsetFoot:: qualifier.
1143 2001-07-29 Baruch Even <baruch@lyx.org>
1145 * ChangeLog: Hiding time travel evidence.
1147 * insetgraphicsParams.h:
1148 * insetgraphicsParams.C:
1149 * insetgraphics.C: Added horizontal scale option, it actually scales both
1150 directions since it keeps image proportions.
1152 * insetgraphics.C: Fixed EPS detection to be non-hacky.
1154 2001-07-29 Baruch Even <baruch@lyx.org>
1156 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1157 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1159 HACKY! Will need to add an EPS detection routine like old InsetFig does!
1161 2001-07-29 Baruch Even <baruch@lyx.org>
1163 * insetgraphics.C: Added EPSI to be an alias of EPS.
1165 2001-07-29 Baruch Even <baruch@lyx.org>
1167 * insetgraphics.C: Change GRAPHICS to Graphics.
1168 Changed image conversion rules (documented at the beginning of file).
1170 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
1172 * insetert.C (get_new_label): int -> Paragraph::size_type to get
1175 * insetgraphics.C: added a using std::endl directive.
1177 * insetcommand.h (getScreenLabel): removed pure virtual function,
1178 as it duplicates that in InsetButton.
1180 * insetbib.[Ch] (getScreenLabel):
1181 * insetbutton.[Ch] (getScreenLabel):
1182 * insetcite.[Ch] (getScreenLabel):
1183 * insetert.[Ch] (getScreenLabel):
1184 * insetexternal.[Ch] (getScreenLabel):
1185 * insetfloatlist.[Ch] (getScreenLabel):
1186 * insetinclude.[Ch] (getScreenLabel):
1187 * insetindex.[Ch] (getScreenLabel):
1188 * insetlabel.h (getScreenLabel):
1189 * insetparent.[Ch] (getScreenLabel):
1190 * insetref.[Ch] (getScreenLabel):
1191 * insettoc.[Ch] (getScreenLabel):
1192 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
1194 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
1196 (validate): remove check on "cite" when using natbib.
1198 2001-07-26 Baruch Even <baruch@lyx.org>
1200 * insetgraphics.C (draw): changed casting to be in one place rather than
1201 all over the function.
1204 * insetgraphics.C (read): Added compatibility reads of InsetFig.
1206 * insetgraphicsParams.h:
1207 * insetgraphicsParams.C:
1208 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
1210 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1212 * insetfoot.C (validate): Added method to ensure that the
1213 right bit of LaTeX is emitted.
1215 * insetfoot.h: Added validate method to set the correct
1216 LaTeXFeatures bit for the special footnote code.
1218 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1220 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
1223 2001-07-27 Juergen Vigna <jug@sad.it>
1225 * inset.h: remove not used font variable in parameter.
1226 removed checkInsertChar in UpdatableInset as it was equal to
1227 the one in Inset and so not needed.
1229 * insetert.C (checkInsertChar): implementation of function
1232 * inset.h: added new function checkInsertChar.
1234 * various files: added c-tor and clone() function.
1236 * insetcollapsable.h: removed clone function here as this should
1237 be only realized in REAL insets and added it to all collapsable
1238 insets! (with the copy-constructor).
1240 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1242 * insetminipage.C (read): handle missing parameters more gracefully
1244 * insetcollapsable.C (read): handel missing collapsed more gracefully
1246 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1248 * insetfloat.C (read): handle missing parameters.
1250 * insettext.C (read): handle old latex end_inset
1252 * insetert.C (setButtonLabel): new method
1253 (init): use it, to set the dynamic label correctly
1256 * Makefile.am (EXTRA_DIST): add files that is not part or the
1259 * insetcollapsable.h: remove autocollapsable (no users), remove
1260 draw_label, change_label_with_text and companion code. Remove args
1262 * insetert.[Ch]: move here instead (only user)
1264 * inset.h: rename private variable name to name_, make
1265 selectNextWord return a const string. make getInsetName return a
1266 string const &. Remove bool from open, add close.
1268 * Makefile.am: don't compile insetlist, insetsection
1271 2001-07-24 Juergen Vigna <jug@sad.it>
1273 * insetert.C (InsetERT): put init after the paragraph initialization,
1274 as otherwise we don't set the draw_label right.
1276 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
1277 insets with the mouse without having strange selections.
1278 (edit): if the inset was collapsed and we open it here then put the
1279 cursor always at the beginning of the inset.
1280 (get_new_label): 15 instead of 10 max chars in the label.
1282 * insetert.C (localDispatch): added and handle various stuff we
1283 need to handle here (font setting on paragraph break, not permitted
1284 layout setting, etc.).
1286 * inset.h: added default copy-consturctor and implemented this in
1287 various insets with the change to use this in the clone function!
1289 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * insetminipage.C (InsetMinipage): set background color to red :)
1293 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
1296 draw frame mode is LOCKED.
1298 * insetcollapsable.C (edit):
1299 (insetButtonRelease): set update status to full when
1302 * insettext.C (clearInset):
1303 * insettabular.C (draw):
1304 * insetlatexaccent.C (draw): honor background color.
1306 * inset.h: new member background_color_, initialized to
1309 * inset.C (backgroundColor): new method.
1310 (setBackgroundColor): new method.
1312 * insetert.C (init): new method, called by the ctors.
1313 (InsetERT): when inserting contents, make sure the font is
1316 * insetnote.C (InsetNote): when inserting content, remove trailing
1318 (init): set background color to LColor::note
1320 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1322 * insetcollapsable.C: adjust
1324 * insetbutton.C: adjust
1326 2001-07-23 Juergen Vigna <jug@sad.it>
1328 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
1329 parameter on the _collapsed function (was not needed) and call
1330 always width_collapsed().
1332 * insetert.C (InsetERT): use setLabel with "true" flag.
1334 * insetcollapsable.C: modified various functions to set the draw_label
1335 string right in any condition.
1336 (setLabel): added a bool parameter to set change_label_with_text.
1338 * insetcollapsable.h: added draw_label string which is set to the
1339 actual drawn label-string, while label is the original static label
1340 of this collapsable inset. Added bool change_label_with_text to set
1341 if we want that the label changes to the start of the InsetText's
1342 text when collabpsed. You can set this flag with the setLabel funciton.
1343 Added bool inlined for inlined collapsable insets, but not handled
1346 * insetcollapsable.C (get_new_label): added should get a new label
1347 from the InsetText beginning (for now 10 chars).
1349 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1351 * insetquotes.C (latex): fix the handling of french double quotes
1352 when not using the french pachage.
1354 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * insetcollapsable.h: make WidthCollapsed mutable.
1358 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
1359 InsetPrintIndex returns INDEX_PRINT_CODE.
1361 * inset.h: add INDEX_PRINT_CODE
1363 * insetcollapsable.C (draw): init widthCollapsed if necessary
1366 * insetquotes.C (width): use the local language, not the document
1369 (dispString): add additional spacing for all french languages,
1371 (validate): make it work when there is no default language
1373 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
1375 * insetnote.C (init): new method, called by the constructors
1376 (InsetNote): new constructor with contents passed as a string
1378 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * insetfootlike.C (insetAllowed): disallow float in footlike.
1382 * insetert.C (InsetERT): add collapsed argument to the constrctor
1385 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1387 * insetindex.h: shut off warning
1389 2001-07-20 Juergen Vigna <jug@sad.it>
1391 * insetcollapsable.C (update): recoded hopefully works now!
1393 2001-07-19 Juergen Vigna <jug@sad.it>
1395 * most files: implemented the below new introduced function.
1397 * inset.h: added new edit(BufferView *, bool front) method to be able
1398 to enter an inset from the front/back without knowing x/y positions
1399 and baselines inside the inset. So I just can tell the inset activate
1400 me and set the cursor on the front/back of yourself.
1402 2001-07-18 Juergen Vigna <jug@sad.it>
1404 * insetcollapsable.C (edit): fixed hopefully the y parameter which
1405 is given to the InsetText.
1406 (insetButtonPress): ditto
1407 (insetButtonRelease): ditto
1408 (insetMotionNotify): ditto
1410 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1412 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
1413 LIGATURE_BREAK, since the name is so stupid.
1415 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1417 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
1418 the default InsetCollapsable methods. I.e., it can insert anything.
1419 (write) output the name of the inset, not some silly hack for
1420 compatability with the old InsetInfo.
1422 * insetinfo.[Ch]: removed.
1423 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
1424 now collapsable, but functionality is otherwise identical to InsetInfo.
1426 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
1428 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
1433 * insetquotes.C: general cleanup
1434 (dispString): add spaces inside french double quotes.
1435 (latex): ditto. Moreover, treat first the case where the frenchb
1436 or french options have been given.
1438 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1440 * insetcite.[Ch] (latex, validate): new methods, required for natbib
1443 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
1445 * figinset.C (RegisterFigure): Print debug message only when
1446 current_view is available.
1448 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1450 * many files: update to match the change below
1452 * inset.h (insetAllowed): renamed from insertInsetAllowed;
1453 implement the version which takes an inset here.
1455 * insetcollapsable.[Ch]: implement open and isOpen
1457 * inset.h: remove insertInsetAllowed from Inset
1458 (open): new method, to open or close an inset
1459 (isOpen): returns the status of an inset
1460 (isCollapsable, colapse): removed
1462 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1464 * insetquotes.C (dispString): display french guillemets when using
1467 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1469 * insetcollapsable.h: remove bogus return statements
1471 2001-07-18 Juergen Vigna <jug@sad.it>
1473 * insettabular.C (selectNextWord): fixed spellchecking for the
1474 first cell of a tabular (wasn't entered!)
1475 (getLyXText): changed to enter automatically insettext and return
1476 it's LyXText if we're locked.
1478 2001-07-17 Juergen Vigna <jug@sad.it>
1480 * various files: implemented the below functions.
1482 * inset.h: added functions
1483 - virtual string selectNextWord(BufferView *, float & value) const;
1484 - virtual void selectSelectedWord(BufferView *) { return; }
1485 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
1486 needed for spellchecking correctly!
1488 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1490 * insetert.C (latex): write out all paragraphs.
1492 2001-07-17 Baruch Even <baruch@lyx.org>
1494 * insetgraphics.C (draw): Removed unneeded casts.
1496 2001-07-16 Juergen Vigna <jug@sad.it>
1498 * insettext.C (update): fixed small oversight (reset lt to 0).
1500 2001-07-14 Baruch Even <baruch@lyx.org>
1503 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
1505 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1507 Consistent use of Lsstream.h:
1508 * figinset.C: removed using std::ostringstream directive.
1510 * insetgraphics.C (createLatexOptions):
1511 * insetinclude.C (unique_id):
1512 std::ostringstream -> ostringstream.
1513 * insettext.C (localDispatch): std::istringstream -> istringstream.
1515 2001-07-13 Juergen Vigna <jug@sad.it>
1517 * insetfloat.C (insertInsetAllowed): added missing const_cast.
1519 * insetcollapsable.C (getLockingInset): ditto.
1521 2001-07-12 Juergen Vigna <jug@sad.it>
1523 * insetcollapsable.h: added implementation of new function for
1526 * various files: added implementation of new insertInsetAllowed-func
1527 and redone the function a bit more.
1529 * inset.h: added isCollapsable(), bool collapsed(),
1530 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
1532 * insetfloat.C (insertInsetAllowed): make a bit more checks.
1534 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
1535 LyXText which is marked for removal while we're using it!
1537 * insettext.h: added private LyXText * lt to use it to assure we are
1538 not deleting our LyXText while we're using it!
1540 2001-07-11 Juergen Vigna <jug@sad.it>
1542 * insettext.C (insertInset): check if we are before the inset after
1543 inserting it! This check IS needed. Remove the Undo-Call as it is
1544 called in LyXText::insertInset!
1546 * insettext.h: added struct InnerCache.
1548 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
1549 that we ONLY delete the LyXText in the getLyXText() routine. So we
1550 are sure we don't delete LyXText while someone is working with it!
1552 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1554 * insetexternal.C: (*it). -> it->
1555 * insettext.C: ditto
1557 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1559 * insetcollapsable.C (edit): always open collapsed insets (even if
1560 they are not autocollapsable)
1562 * insetcommand.C (operator=): simplify.
1564 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1566 * insetert.C (latex): handle META_NEWLINE
1568 2001-07-09 Juergen Vigna <jug@sad.it>
1570 * insetert.h: a normal InsetText can insert insets, but we won't.
1572 * inset.h: return default "false" on insertInsetAllowed and implement
1573 this function where a returnvalue != "false" is needed.
1575 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1577 * insetert.C (InsetERT): new contructor
1579 2001-07-06 Juergen Vigna <jug@sad.it>
1581 * a lot of files: added implementation of the below new functions
1582 and the change to clone(). Also the call of the new undo-functions
1585 * inset.h: added an inset_id, added functions getParFromID,
1586 getInsetFromID, firstParagraph, cursor and id functions, added
1587 bool same_ids to clone function.
1589 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1591 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
1592 of BufferView * and shared_ptr<LyXText>
1594 2001-07-05 Juergen Vigna <jug@sad.it>
1596 * insettext.C (clear): deleted also the cache not only LyXText.
1597 (setParagraphData): ditto.
1599 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1601 * insetfloat.C (latex): let the specific placement take presedence
1602 if set, otherwise choose document placement if set, otherwise just
1603 use float default placement.
1605 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1607 * insettext.C (localDispatch): call CutAndPaste::'s static method
1610 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1612 * insetbib.C: no meed to include forms.h here.
1614 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
1616 * insettext.C: added using std::make_pair directive.
1618 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1620 * insettext.C (getLyXText): avoid multiple lookups, and simplify
1622 (deleteLyXText): ditto
1623 (resizeLyXText): ditto
1625 2001-07-02 Juergen Vigna <jug@sad.it>
1627 * insettext.C (getLyXText): introduce a cache in getLyXText so that
1628 following calls are only returned the right pointer without the over
1629 head to search in the map.
1630 (various funcs): reset the cached_bview variable as this signs that
1631 the cache is not valid anymore.
1633 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1635 * insettabular.C (clone): do not copy the LyXTabular twice
1637 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1639 * insettext.h (TEXT): delete method
1641 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1643 * insetmarginal.C (latex):
1644 * insetfoot.C (latex): fix spacing of notes in LaTeX
1646 * insettext.C (localDispatch): use .c_str() on istringstream
1647 constructor argument.
1649 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1654 * inseturl.C: fix method names in these to begin
1655 with small char too, so they inherit
1657 2001-06-28 Juergen Vigna <jug@sad.it>
1659 * insettext.C (setFont): fixed font settings using toggleFree()
1660 instead of setFont().
1662 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1664 * Change a lot of method names to begin with a small char.
1665 Changes to a lot of files because of this.
1667 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1669 * insetfloatlist.C (Write): std:: qualify ostream
1672 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1676 * insetgraphics.C: send debug output to Debug::INFO instead of
1679 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1682 * insettabular.C (getStatus): update to use func_status
1684 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
1686 * insetref.C (DocBook): added support for cross-references without
1689 2001-06-26 The LyX Project <jug@sad.it>
1694 * insetlabel.h: removed escape method and moved it to
1697 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1699 * insettabular.C (getMaxWidth): do the speedup in a different way,
1702 2001-06-24 The LyX Project <Asger>
1704 * insettabular.C (getMaxWidth): We cache a mapping from
1705 inset to cell in order to speed this method up.
1707 2001-06-24 The LyX Project <Asger>
1709 * insettext.C: Optimized InsetText::draw or something.
1711 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
1713 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1715 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1717 * inset.h: name change from lyxinset.h
1719 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
1721 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1723 2001-06-14 Juergen Vigna <jug@sad.it>
1725 * insettext.C (draw): removed warnings.
1727 2001-06-13 Juergen Vigna <jug@sad.it>
1729 * insettabular.C (nodraw): only go down the tree if we don't have
1730 that flag set otherwise it's obvious that we don't want to draw.
1731 (LocalDispatch): do also an update if we have an undispached result.
1733 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1736 * insetgraphicsParams.C:
1737 * insettext.C: removed // -*- C++ -*- as first line.
1739 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1741 * lyxinset.h (resizeLyXText): shut off warning about unused
1744 2001-06-07 Juergen Vigna <jug@sad.it>
1746 * insettext.C (resizeLyXText): honor the new force flag.
1748 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1750 * insettabular.C (deleteLyXText): new function
1752 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1760 * insetcollapsable.C:
1761 * insetcaption.C: LColor tidy
1763 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1765 * figinset.C: fix typo
1767 2001-06-01 Juergen Vigna <jug@sad.it>
1769 * insettabular.C (resetPos): small hack so that scroll is not set to
1770 0 when we are in the last column of a tabular. This is a problem we
1771 have because of constats 20 offset on both directions, so this can
1772 cause on the limit an endless loop.
1774 * insettext.C (SetFont): forgot that we can have locking insets ;)
1776 2001-05-31 Juergen Vigna <jug@sad.it>
1778 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1780 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1782 * figinset.C: add using std:: directive for the C functions which
1785 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1787 * insetfloat.C (Write): write out wide info
1788 (Read): read the wide info
1789 (Latex): use the wide info when creating latex.
1791 * insettext.C: adjust
1793 * insetgraphics.[Ch] (statusMessage): change to return string
1797 * figinset.C (runqueue): add std::
1800 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1802 * insetcite.C (Ascii): add std:: qualifier
1804 2001-05-28 Juergen Vigna <jug@sad.it>
1806 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1807 a endless-width inset (maxWidth < 0).
1808 (Edit): change language only if not equal.
1810 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1812 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1814 2001-05-16 Juergen Vigna <jug@sad.it>
1816 * insettext.C (selectAll): added
1817 (clearSelection): added
1819 * insettabular.C (SetFont): now we may set a font on a whole selection!
1820 (getSelection): added helper function.
1822 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1824 * insetcite.C (Ascii): Add method.
1826 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1829 * insetbib.C: fix path for OS/2 & Win32
1831 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1833 * insetfoot.C (Latex): don't use % after footnote.
1835 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1837 * insettext.C (Read): use clear
1838 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1840 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1842 * insetfloatlist.h: add a bunch of std:: qualifiers.
1844 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1846 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1847 FLOAT_LIST_CODE, renumber code list.
1849 * insettoc.C (getScreenLabel): remove support for float lists
1853 * insetfloatlist.[Ch]: new files
1855 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1857 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1859 * insettabular.C (LocalDispatch):
1860 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1863 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1865 * insettext.C: remvoe !NEW_INSETS cruft
1867 * insettabular.C: remove !NEW_INSETS cruft
1869 * insetcollapsable.h: remove !NEW_INSETS cruft
1871 * insetbib.C: remove !NEW_INSETS cruft
1873 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1875 * insettoc.C: hack to make listof algorithm work
1877 2001-04-20 Juergen Vigna <jug@sad.it>
1879 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1881 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1883 * insetquotes.C (Latex): improve the guard against
1884 unwanted !` and ?` ligatures. This should really be done in
1885 another place (to catch all this ligatures at low-level).
1887 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1889 * insettext.C (init): remvoe leftovers from cursor_visible change
1890 (draw): use c++ cast
1891 (LocalDispatch): dispatch LFUN_MESSAGE
1893 * insettabular.C (InsetTabular): remove leftovers from
1894 cursor_visible, and scoped_ptr changes
1895 (draw): use c++ cast
1897 * insetcollapsable.C (draw): use c++ cast
1899 * ExternalTemplate.h: inherit privaely from noncopyable
1900 * insetcommand.h: ditto
1901 * insetinclude.h: ditto
1903 2001-04-16 Allan Rae <rae@lyx.org>
1905 * insettoc.C (Ascii):
1906 * insettext.C (draw):
1907 * insettabular.C (setPos):
1908 * insetminipage.C (Read):
1909 * insetfloat.C (placement):
1910 * insetcaption.C (Ascii, DocBook):
1911 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1912 an unrecognised preprocessor directive. So ensure they're wrapped.
1914 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1917 * insetexternal.C: set view on Clone. Add _ to private members.
1919 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1921 * insettext.C (InsetText): fix new
1922 (InsetText): reindent some, simplify deletion of par list
1923 (clear): simplify deletion of par list, fix new
1924 (SetParagraphData): simplify deletion of par list
1926 * insettabular.[Ch] (getLabelList): implement new method
1928 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1930 * lyxinset.h: do not include gettext.h...
1938 * insetlatexaccent.C:
1942 * inseturl.C: ... and do it here instead
1944 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1946 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1948 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1950 * insetcollapsable.[Ch] (getLabelList): implement
1952 * insettext.[Ch] (getLabelList): implement
1954 * insettext.h: reindent
1956 * insettabular.h: make tabular a scoped_ptr
1958 * insettext.C (init): adjust for cursor_visible
1959 (ToggleInsetCursor): constify asc and desc, font, adjust for
1961 (ShowInsetCursor): constify asc and desc, font, adjust for
1963 (HideInsetCursor): adjust for cursor_visible
1965 * insettabular.C: reindent some
1966 (InsetTabular): adjust for scoped_ptr and cursor_visible
1967 (InsetTabular): ditto
1968 (~InsetTabular): delete delete
1969 (Clone): adjust for scoped_ptr
1970 (Read): constify old_format, adjust for scoped_ptr, move init of
1972 (draw): constify tx, localize loop vars.
1973 some other localization of variables, remove double initilizatons.
1975 * insetfoot.C: remove using std::ostream, add ostream where needed
1977 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1979 * lyxinset.h: some reindentaion, use initializer list for
1981 UpdatableInset: make cursor_visible a private var add
1982 public isCursorVisible(), add protected toggleCursorVisible() and
1983 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1985 * insettoc.C: remvoe using decl
1986 (getScreenLabel): make cmdname donst
1989 (Ascii): don't use endl
1991 * insetfootlike.C: remove using decl at file scope and add std::
1993 * insetmarginal.C: ditto
1995 * insetfoot.C: some reformatting
1997 * insetfloat.C (InsetButtonRelease): adjust the hit area
1999 * insetert.C (SetFont): some reformatting
2001 * insetcollapsable.C: some reformatting and constification
2002 (Clone): comment out.
2003 * insetcollapsable.h: some reformatting
2004 (Clone): comment out.
2009 2001-03-30 Juergen Vigna <jug@sad.it>
2011 * insetcollapsable.h: changen *inset to be a InsetText inset.
2013 * some files: changed to reflect the above change.
2015 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2017 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2018 InsetExternal::Params.
2019 Added operator==() and operator!=() for the Params struct.
2021 2001-03-29 Juergen Vigna <jug@sad.it>
2023 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2026 * insetminipage.C: removed widthp_ and all it's functions and changed
2027 to use new %-lengths of LyXLength.
2029 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2031 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2033 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2035 * insetgraphicsParams.C (operator!=): new function, needed by the
2036 ControlGraphics class.
2038 2001-03-28 Juergen Vigna <jug@sad.it>
2040 * insettext.C (InsetButtonPress): only enter !inset if button == 2
2041 (checkAndActivateInset): don't use the values returned from
2042 call to bv->checkInsetHit.
2044 * insetminipage.C (Clone): set special minipage values.
2046 * insetcollapsable.C (draw): changed to draw the button in the
2047 upper left corner outside the textinset.
2048 (ascent): changed because of different drawing
2052 (InsetButtonPress): ditto
2053 (InsetButtonRelease): ditto
2054 (InsetMotionNotify): ditto
2056 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
2058 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2062 2001-03-26 Juergen Vigna <jug@sad.it>
2064 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2066 * insettext.C (ShowInsetDialog): implemented above function.
2068 * insettabular.C (ShowInsetDialog): ditto
2070 * insetminipage.C (ShowInsetDialog): ditto
2072 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2074 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2075 InsetInclude::Params. Don't store a buffer * in Params. Store the
2076 master file name instead.
2078 2001-03-23 Juergen Vigna <jug@sad.it>
2080 * insetcollapsable.C (InsetMotionNotify):
2081 (InsetButtonRelease):
2082 (InsetButtonPress): fixed y-offset (minipages).
2084 * insettext.C (draw): force a FULL update if cleared == true.
2086 * insetcollapsable.C (draw): Lars forgotten entry for changing this
2087 routine to draw the minipages on its position-flag.
2088 (InsetInInsetY): give back the right y position, because of minipage
2091 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2094 * insetfloat.C (DocBook): docbook export code.
2096 2001-03-22 Juergen Vigna <jug@sad.it>
2098 * insetminipage.C (getMaxWidth): added function to set the drawing
2100 (Read): should work now!
2102 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2103 if we create a new inset.
2105 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2107 * figinset.C (fl_set_preemptive_callback): moved definition outside
2110 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2112 * insetminipage.C (Read): prepare for reading of minipage arguments.
2114 2001-03-18 Baruch Even <baruch@lyx.org>
2116 * insetgraphics.C: Minor cleanups of the comments and code.
2118 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2120 * insetminipage.C (InsetMinipage): default to not collapsed
2122 2001-03-16 Juergen Vigna <jug@sad.it>
2124 * insetminipage.C (width): modified with to be a string
2125 (widthp): added widthp (for % width) support functions.
2126 (InsetButtonRelease): added to open the options dialog on button==3.
2127 (~InsetMinipage): added to hide the dialog.
2129 * insetminipage.h: added hideDialog signal
2131 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2133 * insetminipage.h: change the order or Position to match
2134 LyXParagraph::MINIPAGE_ALIGNMENT
2136 * several files: remvoe CXX_WORKING_NAMESPACES
2138 * ExternalTemplate.h: noncopyable is in namespace boost
2139 * insetinclude.h: ditto
2140 * insetcommand.h: ditto
2142 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2144 * insettext.C (Edit): #else# -> #else.
2145 * insettoc.C: added using directive.
2147 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2149 * insetminipage.h: add pos, inner_pos, width and height. + getters
2150 and setters for all of them.
2152 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2154 * insetinclude.C (Latex): Do not exit when the textclass of the
2155 included file differ from the textclass of the parent file.
2157 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2159 * ExternalTemplate.C (read): the reading of external insets now checks
2160 for \end_inset and removes it form the input stream.
2162 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2164 * ExternalTemplate.h:
2165 * ExternalTemplate.C:
2167 * insetexternal.C: move form to GUII
2169 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2172 * insetinclude.C: add InsetIncludeParams, use
2173 composition rather than derivation of InsetCommand
2175 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2177 * insettoc.C (Ascii): use the Buffer typedefs
2179 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2181 * insettoc.C (Ascii): implement for dynamic number of lists
2183 * insetcaption.[Ch]: update from new_insets branch
2184 * insetfloat.[Ch]: ditto
2186 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2189 * figinset.C: use new File Dialog
2191 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2193 * insettext.C: changes becuase of ParagraphParameters.
2195 2001-02-28 Baruch Even <baruch@ev-en.org>
2197 * insetgraphics.C (updateInset): Changed due to the change in
2200 2001-02-26 Juergen Vigna <jug@sad.it>
2202 * insettext.C (SetFont): Set Undo only if we have selection (as it is
2203 handled in LyXText).
2205 2001-02-23 Juergen Vigna <jug@sad.it>
2207 * insettext.C (draw): some small repainting fixes.
2208 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
2210 * inset.C (LocalDispatch): changed action to be a kb_action (as it
2211 should be) and not an int.
2213 * insettabular.C (LocalDispatch): ditto
2215 * insettext.C (LocalDispatch): ditto
2217 * insetcollapsable.C (LocalDispatch): ditto
2219 2001-02-22 Juergen Vigna <jug@sad.it>
2221 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
2222 DISPATCH it and we don't have a locking_inset.
2224 2001-02-21 Baruch Even <baruch@ev-en.org>
2226 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
2227 instead of GraphicsCacheItem *.
2229 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2231 * insetcollapsable.C (getLyXText): add const qualifier to second
2234 2001-02-22 Juergen Vigna <jug@sad.it>
2236 * insettext.C (getLyXText): honor the recursive parameter.
2237 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
2239 * inset.C (getLyXText): added bool recursive parameter.
2241 * insettext.C (SetUpdateStatus): or the update codes.
2242 (draw): check need_update with &.
2243 (InsetButtonPress): set no_selection to not put a selection when
2244 entering an inset and it is redraws in another spot.
2246 * insettext.h: made need_update an int.
2248 2001-02-20 Baruch Even <baruch@ev-en.org>
2251 * insetgraphisc.C: Changed to use better semantics when loading images
2252 for inline view. Now it doesn't keep the pixmap itself but it's holder.
2254 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2258 * insetgraphics.C: change name of "hide" signal to "hideDialog",
2259 consistent with InsetTabular.
2261 2001-02-19 Juergen Vigna <jug@sad.it>
2263 * insettabular.C (LocalDispatch): implement PAGE up/down.
2265 * insettext.C (draw): clear all of it on need_update==INIT too!
2267 * insettabular.C (InsetUnlock): always clear the selection.
2269 * inset.C (scroll): normally we only want to scroll the inset until
2270 it is fully visible so if top_x + offset > 20 then just set scx to 0.
2272 2001-02-14 Juergen Vigna <jug@sad.it>
2274 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
2275 (resetPos): fixed scroll behaviour.
2276 (LocalDispatch): do an update if moving cursor inside a table cell
2277 requests a scroll of the tabular.
2279 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2281 * insettext.C (textWidth): constify local var
2283 * insettabular.C: small cleanup.
2285 * insetfoot.C (Latex): constify local var
2287 * insetcollapsable.C: small cleanup.
2289 * figinset.C (runqueue): use compare instead of strcmp
2291 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2294 * insetinfo.C: remove cruft
2296 2001-02-14 Juergen Vigna <jug@sad.it>
2298 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
2300 2001-02-13 Juergen Vigna <jug@sad.it>
2302 * insettext.C (InsertInset): don't move left (is this right?)
2304 * insettabular.C (LocalDispatch): use of the no_draw variable
2306 * insettabular.h: new no_draw variable to stop redraw
2308 * insettabular.C (TabularFeatures): fixed update for alignment change
2310 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
2314 * insetbib.C: move dialogs to frontends/
2316 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
2318 * insettext.C (LocalDispatch): Restore the language if the inset
2321 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
2323 * insettext.C (moveRightIntern): Update the selection cursor.
2324 (moveLeftIntern): Ditto.
2326 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2328 * Makefile.am: remove BoundingBox.h
2330 * BoundingBox.h: removed
2332 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
2334 * insettext.C (LocalDispatch): Update selection cursor when moving
2335 cursor to the right.
2336 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
2337 (moveLeftIntern): Ditto.
2339 2001-02-05 Baruch Even <baruch.even@writeme.com>
2341 * insetgraphics.C: Updated automatic image conversion, it now goes into
2342 temporary directory instead of with the image itself.
2344 2001-01-21 Baruch Even <baruch@ev-en.org>
2346 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
2347 to EPS or PNG when needed (support bitmap graphics).
2349 2000-11-02 Baruch Even <baruch@ev-en.org>
2352 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
2353 and removal of commented out code.
2355 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2357 * insetbib.C (callback): Update citations if the key has changed.
2359 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
2361 * insetbib.C (InsetBibKey): Better computation of default key.
2362 (getScreenLabel) Show both the key and the label.
2363 (getBibLabel): New method.
2364 (callback): Force a redraw if the inset have been changed.
2366 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2368 * insetref.C (getType, getName): Move methods from
2369 src/frontends/xforms/FormRef.C.
2371 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
2373 * insettabular.C: Various improvements (use only one dummy position).
2375 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
2377 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
2378 par->bibkey->width. This fixes the crashes when running without
2379 gui or when having included documents.
2381 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
2383 * insetcommand.C (getAsString, setFromString): Cleanup.
2385 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
2387 * insetref.C: Add the array InsetRef::types that contains
2388 information about all supported reference types.
2390 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2392 * lyxinset.h: remove trailing comma in enum.
2394 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
2396 * insettext.C: kill LyXBell.