1 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * insetcite.C (getNatbibLabel):
4 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
6 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8 * insetgraphics.C: use ->isDrawable()
10 2002-07-12 Angus Leeming <leeming@lyx.org>
12 * insetgraphics.C: use the new smart loading capabilities of the image
15 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
17 * insettabular.C (edit): Move into correct cell when entering a
20 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
23 2002-07-05 Angus Leeming <leeming@lyx.org>
25 * inset.h (generatePreview): new virtual method.
27 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
29 * insetcommandparams.[Ch] (operator=): move out of class
30 (operator!): move out of class
32 2002-07-04 André Pönitz <poenitz@gmx.net>
34 * insetcommandparams.[Ch]: new files
36 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
38 2002-06-15 Herbert Voss <voss@perce.de>
40 * insetgraphics.C (prepareFile): bugfix; return always
41 files without extension
43 2002-06-28 Angus Leeming <leeming@lyx.org>
45 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
46 rename asGParams -> as_grfxParams.
48 * insetgraphics.C: reflect above change.
50 2002-06-26 Angus Leeming <leeming@lyx.org>
52 * insetgraphics.h: use boost::scoped_ptr in preference to
55 2002-06-26 Angus Leeming <leeming@lyx.org>
57 * insetgraphics.C: moved the image loading stuff into a new class
58 grfx::Loader. Simplifies this file enormously.
60 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
62 * insetgraphicsParams.C: changes aassociated with moving
63 grfx::DisplayType out of grfx::GParams.
65 2002-06-26 André Pönitz <poenitz@gmx.net>
67 * insetgraphics.C: use os::external_path where necesaary according to a
68 patch from Claus Hentschel)
70 2002-06-25 Angus Leeming <leeming@lyx.org>
72 * insetgraphics.[Ch]: The inset now assumes the responsibility for
73 generating a pixmap once the graphics file is loaded into memory.
74 The current_view ugliness that was in grfx::ModifiedImage has been
75 moved here now that grfx::ModifiedImage is no more.
77 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * insettext.C: layout as layout
81 2002-05-28 André Pönitz <poenitz@gmx.net>
83 * insetfloatlist.h: remove source of compiler warning
85 * insetref.C: tiny whitespace
87 2002-06-15 Herbert Voss <voss@perce.de>
89 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
90 and take always convert when no userdefined converter was
92 (latex) small changes in the lyxerr output
94 2002-06-15 LyX Development team <lyx@rilke>
96 * inset*.[Ch] (docbook): Added new argument to take the pernicious
97 mixed content. Small white spaces clean.
99 2002-06-14 Angus Leeming <leeming@lyx.org>
101 * inseetexternal.C: remove the using std::difftime declaration.
103 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
105 * insetquotes.C: change lyxfont::draw to font_metrics::draw
107 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
109 * insetquotes.C (draw): fix drawing of double quotes
111 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
113 * insettabular.C: s/scrollCB/scrollDocView/
115 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
117 * insettext.C: change of topCursorVisible()
120 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
123 * insettext.C: rename/change of LyXScreen
125 2002-06-07 Angus Leeming <leeming@lyx.org>
127 Fixes needed to compile with Compaq cxx 6.5.
129 all c-library variables have been moved into namespace std.
130 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
132 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
134 * insetinclude.C (uniqueID):
135 * insetgraphics.C (uniqueID): renamed from unique_id, since this
136 conflicted with some AIX headers.
138 2002-05-31 Juergen Vigna <jug@sad.it>
140 * insetert.C (get_new_label): add '...' for multi-paragraph ert
144 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * insetexternal.C (clone): fix () bug when using new
147 (updateExternal): don't only look for difftime in global scope
149 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
151 * insettabular.C: add const
153 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
155 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
156 file name, in case there are weird characters like ',' in there.
159 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * switch from SigC signals to boost::signals.
163 2002-05-28 André Pönitz <poenitz@gmx.net>
165 * insets/insetgraphicsParams.[Ch]:
166 put in inset related stuff from src/graphic
168 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
176 * insetcollapsable.C:
177 * insetcollapsable.h:
205 * inseturl.h: use mouse_state. Kill insetKeyPress
207 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
212 * insetcollapsable.C:
215 * insetlatexaccent.C:
217 * insetspecialchar.C:
219 * insettext.C: name change for font metrics
221 2002-05-24 Juergen Vigna <jug@sad.it>
223 * insetgraphics.h: include inset.h first (for LString.h)
225 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
227 * insettext.C: screen moved
229 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
247 * inseturl.C: LyXView moved into frontends/
249 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
254 * insetcollapsable.C:
258 * insetgraphicsParams.C:
259 * insetlatexaccent.C:
261 * insetspecialchar.C:
263 * insettext.C: move Painter to frontends/
265 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * insettabular.h: use more specific smart_ptr header.
270 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
273 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
275 * insettext.C: clear selection on paste (bug 393)
277 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
279 * insettext.C (latex): Honor the moving_arg argument.
281 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
283 * insetfoot.C (latex): if a footnote is in a title layout, then it
284 is a \thanks. And then, its contents is a moving argument.
286 2002-05-14 Juergen Vigna <jug@sad.it>
288 * insetcollapsable.C (InsetCollapsable): forgot to initialize
291 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
293 * Insetcite.C (getNatbibLabel): don't disable natbib label support
294 when using options "Full author list" or "Upper case".
296 2002-05-14 Herbert Voss <voss@perce.de>
298 * insetgraphics.C (prepareFile): allow files with same name
300 (readFigInset): set the flags from old figinset in the right
302 (findTargetFormat): more comments
304 2002-05-14 Juergen Vigna <jug@sad.it>
306 * insettext.C (edit): tell checkAndActivateInset() that we don't
308 (checkAndActivateInset): if button < 0 we don't have a button press
309 on the inset and os we won't call edit on it if it's not a Highly
310 editable inset (then we have to enter it).
312 2002-05-13 Juergen Vigna <jug@sad.it>
314 * insetcollapsable.C (insetButtonRelease): returned wrong return
317 2002-05-09 Juergen Vigna <jug@sad.it>
319 * insetcollapsable.C (edit): first_after_edit should only be
320 set to true if we enter this inset and it was collapsed so we
321 open it up. This is needed to reclose it after a search/replace
322 or spellcheck function opened it and was negative.
324 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
326 * insetfloat.C (latex): Return correct value.
328 2002-05-04 Herbert Voss <voss@perce.de>
330 * InsetgraphicsParams.C (read): fix bug with WH
332 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
334 * insetfloat.C (latex): More sensible latex output
335 (fix the problem with endfloat).
337 2002-05-02 José Matos <jamatos@fep.up.pt>
339 * insetgraphics.C (validate): acess params as everyone else.
341 2002-05-03 Juergen Vigna <jug@sad.it>
343 * insettabular.C (fitInsetCursor): recalculate the cursor position
346 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
348 * InsetgraphicsParams.[Ch]: whitespace.
350 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
352 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
353 float type do not exist.
355 2002-04-28 Herbert Voss <voss@perce.de>
357 * insetgraphics.C (latex): fix bug with missing file-extension.
358 LaTeX still allows a missing "eps" or "ps".
360 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
362 * insetfloat.C (c-tor, wide): translate the name of the float.
364 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
366 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
367 when using natbib and make it work efficiently. Must emphasise that the
368 real work is Herbert's.
370 2002-04-23 Herbert Voss <voss@perce.de>
372 * insetgraphic.C (prepareFile): fix bug with overwriting and
373 deleting an existing *.eps-file in the doc-dir
375 2002-04-23 Juergen Vigna <jug@sad.it>
377 * insettabular.C (drawCellSelection): fix off by 1 error.
379 2002-04-22 Juergen Vigna <jug@sad.it>
381 * insettabular.C (setFont): rewoke full selection if it was asked,
382 after we changed all we had to change.
384 * insettext.C (insetUnlock): code was uninitialized in some situations.
386 2002-04-19 Herbert Voss <voss@perce.de>
388 * insetgraphic.C (prepareFile): return filename without
389 extension if we only export without compiling
391 2002-04-19 Juergen Vigna <jug@sad.it>
393 * insettext.C (draw): call a fullRebreak on the row where we had a
394 change and reset the cursor and selection-cursors.
396 * insettabular.C (insetUnlock):
397 (insetButtonPress): call an update before setting the_locking_inset = 0
398 as otherwise we don't repaint!
399 (update): reset the cursor position when we changed dimensions as
400 otherwise our cursor may be on the wrong spot.
402 2002-04-18 Juergen Vigna <jug@sad.it>
404 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
405 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
406 redraw otherwise we won't redraw.
408 * insettext.C (draw): fixed the setting of LyXText::first_y it was
409 not really right before, but I only discovered this with the last
410 changes to Page up/down.
412 2002-04-17 Juergen Vigna <jug@sad.it>
414 * insettext.C (checkAndActivateInset): simplified as we now have the
417 * insettext.h: changed behind variables to front variables to be
418 equal to the one in the edit call (as it is for that they are used).
420 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
422 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
423 not output anything at all!
425 2002-04-16 Juergen Vigna <jug@sad.it>
427 * insettabular.C (insetButtonPress):
428 (insetUnlock): call a redraw on unlocking the cell inset.
430 * insettext.C (insetButtonPress): same as below.
431 (lockInset): new function to set initial values when inset should
433 (insetButtonPress): use above function.
434 (insetUnlock): don't force a repaint only set the updateStatus. The
435 outside world should repaint if it thinks it should be done!
437 * insettabular.C (insetButtonPress): init values if not set as locked
438 as we are locked if someone presses on us and don't call the edit()
439 call of the InsetText to lock it do it as BufferView does it!
441 * inset.h (insetInInsetY): make func const and return an int.
444 * insetcollapsable.C: adapt the above changed function.
446 2002-04-15 Juergen Vigna <jug@sad.it>
448 * insettext.C (getCursorPos): return relative position as to be able
449 to give them directly to the edit() call.
450 (edit): we have to set also x_fix as it is not set inside the
451 setCursorFromCoordinates call!
452 (insetMotionNotify): ditto.
454 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
456 * insetbib.C (getKeys): strip leading '\t's from the line too.
457 With thanks to Henry Pfister <hpfister@ucsd.edu>.
459 2002-04-12 Juergen Vigna <jug@sad.it>
461 * insettext.h: added cix() helper function and use it where appropriate
463 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
465 * insetgraphics.C (prepareFile): fix bug when graphics is a
468 2002-04-12 Juergen Vigna <jug@sad.it>
470 * insettext.C (insertInset): remove unneeded code!
471 (updateLocal): fitCursor() fixes.
472 (collapseParagraphs): fix a possible problem when having a selection
473 and collapsing the paragraphs.
475 2002-04-08 Herbert Voss <voss@perce.de>
477 * insetgraphic.C (write): write the rotating angle as
478 a float as is. test only for != 0.0
480 2002-04-11 Juergen Vigna <jug@sad.it>
482 * insettext.C: new function ciy() and use it for setting inset_y.
484 * insetert.C (draw): fix the x return for collapsed version.
486 2002-04-07 Herbert Voss <voss@perce.de>
488 * insetgraphic.C (readFigInset): fix bug with subcaption and
491 2002-04-08 Herbert Voss <voss@lyx.org>
493 * insetgraphicsparam.C: forgot special option and delete old
496 2002-04-05 Juergen Vigna <jug@sad.it>
498 * insettext.C (localDispatch): make a CURSOR update if we inserted
501 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
503 * insetfloatlist.C (getScreenLabel):
504 (latex): use Floating::listName
505 (validate): new method
507 2002-04-03 José Matos <jamatos@fep.up.pt>
509 * insetlabel.C (docbook): the anchor is an empty element in docbook.
511 * insetfoot.[Ch] (docbook): added forgotten method.
513 2002-04-03 Juergen Vigna <jug@sad.it>
515 * insettext.C (insetButtonPress): fix insetButtonPress events the same
516 way as in Bufferview_pimpl.
518 2002-04-03 Allan Rae <rae@lyx.org>
520 * insetgraphics.C (latex): one % too many makes living on the bleeding
521 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
523 2002-03-28 Herbert Voss <voss@lyx.org>
525 * insetgraphic.C (latex): simplify the code for the latex
526 output when the file doesn't exist
528 2002-03-29 Juergen Vigna <jug@sad.it>
530 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
533 * insettabular.C (edit): call fitCursor().
535 * insettext.C (insetButtonPress): change behaviour of no_selection
536 to the one in the BufferView selection_possible and fix the spurious
537 selection bug with it.
538 (localDispatch): revoke selection on BREAK... functions.
540 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
542 * insetfloatlist.C (getScreenLabel): translate the GUI label.
544 2002-03-28 Juergen Vigna <jug@sad.it>
546 * insettabular.C (insetAllowed): return true as default value otherwise
547 we're not able to insert insets inside paragraphs of an not locked
550 2002-03-27 Herbert Voss <voss@lyx.org>
552 * insetgraphicsparam.C: change c%, p% to col%, page%
554 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
556 * insetspecialchar.C (isLineSeparator): disable the nice code to
557 allow linebreaks after hyphenation and menu separators.
559 2002-03-26 Herbert Voss <voss@lyx.org>
561 * insetgraphics.C (figinsetRead): set the right lyxview
563 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
565 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
566 $\backslash$ and pass a "string const &" to the function.
567 (prepareFile, latex): use Path rather than MakeAbsPath.
569 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
571 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
572 proper fix to the graphics cache.
573 (latex): "really" nice output if the file is not found ;-)
575 2002-03-26 Juergen Vigna <jug@sad.it>
577 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
578 (collapseParagraphs): fixed inserting of separator ' '
580 * insettabular.C (insertAsciiString): only check for buffer lenght
581 not if we have \t or \n inside the buffer as if we don't have we only
582 have 1 cell and that's it!
584 * insetert.C (close): don't collapse if inlined.
586 2002-03-25 Herbert Voss <voss@lyx.org>
588 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
589 graphics file does not exist.
591 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
593 * insetgraphics.C (prepareFile): ensure that the file has an absolute
594 path when preparing export.
596 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
597 no longer MakeRelPath.
599 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
601 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
602 Used to determine the absolute path to the graphics file in the
603 graphics cache and only in the graphics cache.
604 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
605 make graphics file name absolute if it is stored as a relative path.
607 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
608 make graphics file name absolute if it is stored as a relative path.
610 * insettext.C (edit): emit an updateParagraph signal on entering a text
611 inset. Needs to be emitted when leaving the inset also.
613 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * all files: ws cleanup
617 * Makefile.am: remove ld -r stuff
619 2002-03-21 Juergen Vigna <jug@sad.it>
621 * insettext.C (appendParagraphs): new function added to append
622 the paragraphs to this insets paragraphs.
624 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * Makefile.am: special rules if partial linking
628 2002-03-19 Juergen Vigna <jug@sad.it>
630 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
632 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
634 * insetgraphics.C: Clean up Baruch's comments a little.
635 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
637 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
640 * insettheorem.C: wrap warnings
642 * insetgraphics.C: improve messages, move cached_status_
643 setting to safer place
645 2002-03-18 Juergen Vigna <jug@sad.it>
647 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
649 (localDispatch): ditto
651 * insettext.C (edit): removed unneeded showCursor calls.
652 (localDispatch): ditto.
654 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
656 * insetgraphics.h: remove display() method.
658 2002-03-11 Juergen Vigna <jug@sad.it>
660 * insetgraphics.C (draw): hack to fix the redrawing bug.
661 (draw): seems this fixes #268 (force redraw of row if we changed).
663 * insettext.C (updateInsetInInset): fixed for updates in insets inside
664 this inset text (don't know why I missed this earlier).
666 2002-03-08 Juergen Vigna <jug@sad.it>
668 * insettabular.C (updateLocal): do a FULL update if we're not locked
669 and only a CELL update is asked.
671 * insettext.C (updateInsetInInset): update insets inside inset also
672 if it isn't inside the_locking_inset.
674 * insettabular.C (updateInsetInInset): ditto.
676 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
678 * insetexternal.C (doSubstitution): check whether we are using a
679 temp dir for defining $$FPath
681 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
684 * insettext.C: remove #include "WorkArea.h".
686 2002-03-06 Juergen Vigna <jug@sad.it>
688 * insettext.C (draw): fixed frame redrawing.
689 (clear): forgot to set the inset_owner of the paragraph.
691 * insetert.C (status): pay attention the bv can be 0 here!
692 (getMaxWidth): add the default leftMargin
694 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
696 * insetert.C (getMaxWidth): make w unsigned int.
698 2002-03-05 Juergen Vigna <jug@sad.it>
700 * insetert.C (status): change behaviour of Inlined.
701 (getMaxWidth): added for new inlined behaviour.
703 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
705 * insetnote.h (linuxdoc, docbook): add empty methods.
706 * insetinclude.C (validate): fix a case where buffer->niceFile was used
707 before being initialized.
709 2002-03-05 Juergen Vigna <jug@sad.it>
711 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
712 only that one in the inset. Should be enough.
713 (updateLocal): set the selection cursor always if we don't have a
714 selection to be sure it's set!
716 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
718 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
720 * insettext.C (clear): a gross hack to set layout on a newly
723 2002-03-04 Juergen Vigna <jug@sad.it>
725 * insettabular.C (localDispatch): inserted handling of
726 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
727 (insertAsciiString): new helper function.
729 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
731 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
734 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
736 * insettext.C (InsetText): initalize newly created par with
737 default layout. add bufferparams parameter
740 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
741 * insetcollapsable.[Ch] (InsetCollapsable): ditto
742 * insetert.[Ch] (InsetERT): ditto
743 * insetfloat.[Ch] (InsetFloat): ditto
744 * insetfoot.[Ch] (InsetFoot): ditto
745 * insetfootlike.[Ch] (InsetFootLike): ditto
746 * insetmarginal.[Ch] (InsetMarginal): ditto
747 * insetminipage.[Ch] (InsetMinipage): ditto
748 * insetnote.[Ch] (InsetNote): ditto
749 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
751 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
753 * insettext.C: layout as string
755 * insetinclude.C: layout as string
757 * insetert.C: layout as string
759 * insetbib.C: layout as string
761 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
764 * insettabular.C: remove #include "lyx_gui_misc.h".
766 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
771 * inset.h: remove figinset, yahoo !
773 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
775 * insetgraphics.C (c-tors): initialise parent classes explicitly in
776 copy c-tor and initialise member variables in the correct order.
778 2002-02-28 Juergen Vigna <jug@sad.it>
780 * insettabular.C (localDispatch): clear selection on PgUp/Down.
782 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
784 * inset.h: ... and add a better one here.
786 * insetcommand.C (insetButtonRelease): remove that one which was a
789 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
791 * insetcommand.C (insetButtonRelease): ... and move it here.
793 * inseturl.h: remove insetButtonRelease from there...
795 2002-02-26 Juergen Vigna <jug@sad.it>
797 * inseturl.h: Added a insetButtonRelease call returning true as
800 * insetlabel.C (edit): Fixed wrong update handling after change I
801 leave in the wrong code for the one who wrote it to remove and have
802 a look what he did wrong.
804 * insettabular.C (localDispatch): force a SELECTION update if we
805 had a selection and we passed the event down to the inset (fix #213)
806 (localDispatch): handle font changing stuff when we have a cell
807 selection so that the selection is not rewoked. I don't really like
808 this fix, but it's the only way I see to do it right now.
810 2002-02-22 Juergen Vigna <jug@sad.it>
812 * insettext.C (insetUnlock): set the cursor to the second paragraph
813 if available and if the first one is empty (fix #191).
815 2002-02-20 Juergen Vigna <jug@sad.it>
817 * insettext.C (getDrawFont): implemented this function to call the
818 one of the owner if present as the owner normally knows what to do
821 * insetert.C: implement getDrawFont() function and comment out all
822 the crap for setting a special latex font inside this inset.
823 (InsetERT): added a Lanugage parameter to this constructor.
825 * inset.h: added function getDrawFont(LyXFont & font) to be able to
826 change the font for being drawn on screen (used only in InsetERT for
829 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
830 and also above (was missing).
831 (updateLocal): don't remove the cell selection if we have one this
832 should be done where we really want to remove it.
834 2002-02-20 José Matos <jamatos@fep.up.pt>
836 * insetinclude.h: include_label made string const.
838 * insetinclude.C (InsetInclude): moved include_label initialization.
841 (validate): fix support for temporary directory, for docbook and
844 * insetgraphics.h : new private member, graphic_label, that holds
845 the entity name that defines the graphics location (SGML).
847 * insetgraphics.C (unique_id): new function to give a unique label
850 (validate): the file locatation is given by an entity reference.
852 2002-02-18 Herbert Voss <voss@lyx.org>
854 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
856 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
858 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
859 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
861 2002-02-18 José Matos <jamatos@fep.up.pt>
863 * insetinclude.C (validate): some code only applies to latex buffers,
864 it was made conditional.
866 2002-02-12 Herbert Voss <voss@lyx.org>
868 * insetgraphics.C: (prepareFile) do not check at this time
869 if the file is present.
871 2002-02-12 Herbert Voss <voss@lyx.org>
873 * insetgraphics.C: latex(), return the correct newlines
875 2002-02-13 José Matos <jamatos@fep.up.pt>
877 * inseturl.C (docbook): escape & in url.
879 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
881 * insetspecialchar.C (isLineSeparator): line breaking is allowed
882 after HYPHENATION and MENU_SEPARATOR
884 * inset.h (isLineSeparator): new method, returns false by default.
886 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
888 * insetert.C (status): do not update the text inset, but the ERT
891 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
893 * insetnote.C: use notebg for background
895 2002-02-08 Herbert Voss <voss@lyx.org>
898 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
899 prevent LyX from unzipping when this should be handled
900 by latex vis the graphic.cfg.
903 2002-02-08 Herbert Voss <voss@lyx.org>
905 * insetgraphic.C: prepareFile(): fix bug when file doesn't
906 exists, than return filename with extension
908 2002-02-06 Herbert Voss <voss@lyx.org>
910 * insetgraphic.C: prepareFile(): don't convert the file, when
911 it's not viewed in LyX. Saves a lot of time when opening a
914 2002-02-05 Herbert Voss <voss@lyx.org>
917 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
918 and adding a rotate bool similiar to subcaption
920 2002-02-04 Herbert Voss <voss@lyx.org>
923 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
924 similiar view to the LaTeX one. Get zipped files work.
926 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
928 * insetgraphicsParams.C (init): set display to DEFAULT.
929 No longer #include "lyxrc.h".
931 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
933 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
934 for now (so that the code compiles).
936 2002-02-02 Herbert Voss <voss@lyx.org>
938 * insetgraphic.C: delete inVariant() and some minor changes
939 * insetgraphicsParams.[C]:
941 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
943 * insetgraphics.C (updateInset): if params.display == DEFAULT,
944 interogate lyxrc.display_graphics before diaplaying the graphic.
946 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
947 InsetGraphicsParams::DisplayType.
949 2002-01-31 Herbert Voss <voss@lyx.org>
951 * insetgraphic.C: (readfigInset) set display to pref-default
953 2002-01-30 Herbert Voss <voss@lyx.org>
955 * insetgraphic.C: get the filetyp from it's contents
956 * insetgraphicparams.C: add token scale and lyxrc.display when
959 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
961 * figinset.C: added using std::ios directive.
963 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
965 * figinset.C (runqueue): open translation file in binary mode (for
968 2002-01-27 Herbert Voss <voss@lyx.org>
970 * insetgraphic.[Ch]: mostly newritten to support graphicx with
971 all options and to be sure that the old figinsets are correct
973 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
974 structure and to support all lengths as LyXLength. The Parameter
975 structure changed again, but reading of "old" 1.2 graphic insets
978 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
980 * insetert.h (forceDefaultParagraphs): Added
982 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
984 * insettabular.C (getMaxWidth):
985 (forceDefaultParagraphs): use Tabular::GetCellFromInset
987 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
989 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
990 of LyXLength::inPixels
992 * inset.C (latexTextWidth):
993 * insetminipage.C (latexTextWidth): new method, which implements
994 the equivalent of the LaTeX macro \textwidth
996 * insetminipage.C (getMaxWidth): use latexTextWidth
998 2002-01-18 Juergen Vigna <jug@sad.it>
1000 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1002 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1004 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1006 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1009 2002-01-17 Juergen Vigna <jug@sad.it>
1011 * insettabular.C (lockInsetInInset): same change as in insettext.
1013 * insettext.C (draw): width() function was called without setting
1014 the right top_x which could lead to wrong insetWidth setting!
1015 (lockInsetInInset): call edit instead of calling lockInset if we
1016 have to lock an inset inside!
1017 (edit): we have to also tell the inset that we have to redraw the
1018 frame on an edit call if this inset draws a frame only if locked.
1020 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1022 * insetbib.C (getFiles): uncomment Path variable.
1024 2002-01-16 Juergen Vigna <jug@sad.it>
1026 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1029 2002-01-16 Allan Rae <rae@lyx.org>
1031 * insetinclude.C (docbook): someone forgot a ";"
1033 2002-01-16 José Matos <jamatos@fep.up.pt>
1035 * figinset.C (docbook): removed a old place holder "@".
1036 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1037 * insetinclude.C (linuxdoc): if include is verbatim, then export the
1038 ascii text version, clearly guarded inside a CDATA section.
1039 (docbook): in docbook 4, inlinegraphics is empty.
1040 * insettabular.C (linuxdoc): export the ascii version of the table
1041 inside a CDATA section.
1043 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1045 * insetparent.C (InsetParent):
1046 * insetgraphicsParams.C (Write):
1048 * insetgraphics.C (prepareFile):
1051 * insetexternal.C (executeCommand):
1052 (doSubstitution): use Buffer::filePath
1054 * insetbib.C (getFiles): add a #warning for Angus
1056 * insetgraphics.C: Add a remark about how filenames should be
1057 considered to be relative to buffer (but absolute is still allowed)
1058 (draw): do not try to get status if lyxrc.use_gui is false
1060 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1063 * insetcollapsable.[Ch]:
1064 * insettabular.[Ch] (searchForward, searchBackward): change the
1065 bool const & params to bool.
1067 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1068 to avoid the name clash with InsetCollapsable's methods of the same
1069 names but different functionality.
1071 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1073 * insettext.C (ascii): use lyx::count rather than countChar.
1075 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
1077 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1079 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1081 * insetgraphics.C (updateInset): do not try to render image if
1082 lyxrc.use_gui is false (bug #104)
1084 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1085 if file does not exist
1087 * figinset.C (browseFile): add shortcuts to directory buttons
1089 * insettext.C (updateLocal): update menubar and toolbar here too.
1091 2002-01-13 Allan Rae <rae@lyx.org>
1093 * insettabular.C (InsetTabular): Both constructors now initialise
1094 all class variables.
1096 2002-01-11 Juergen Vigna <jug@sad.it>
1098 * insettext.C (insetButtonPress): set the_locking_inset to 0.
1100 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1102 * insettabular.C (getStatus): add forgotten brace around multiline
1105 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1107 * insetfloat.C (validate): require "float" instead of "floats".
1109 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
1111 * insettabular.C (getStatus): use FuncStatus
1113 2002-01-08 Juergen Vigna <jug@sad.it>
1115 * insettabular.C (insetButtonRelease): now this should work too
1118 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1119 if the width is a percentage.
1121 * inset.h: added isChar() function and implemented this for
1122 insetspecialchar insetquotes and insetlatexaccent.
1123 added forceDefaultParagraphs() and implemented it for insettabular.
1125 2002-01-07 Juergen Vigna <jug@sad.it>
1127 * insettext.C (getLyXText): Fixed this function. An insert into the
1128 map is only done if we REALLY have a new BufferView.
1130 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
1132 * insettext.C: fix bug illustrated by attachment #37 of bug #59
1134 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1136 * insetinclude.C: fix use of FileInfo
1138 2002-01-07 Juergen Vigna <jug@sad.it>
1140 * insettabular.C (draw): fixed clearing of cell around inset.
1142 2002-01-05 Juergen Vigna <jug@sad.it>
1144 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1145 variables are updated.
1147 * insettabular.C (resetPos): set always the inset_y as it may be
1148 needed in another function.
1149 (searchBackward): don't draw while searching.
1151 2002-01-04 Juergen Vigna <jug@sad.it>
1153 * insettext.C (lockInsetInInset): forgot to set a cursor.
1155 2002-01-02 Juergen Vigna <jug@sad.it>
1157 * insettext.C (insertInset): make the correct undo informations on
1158 inserting new insets.
1160 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
1162 * insettabular.C: correct single-cell select vertically
1164 2001-12-27 Juergen Vigna <jug@sad.it>
1166 * insettabular.C (ascii): export as tab-separated-values if the
1167 function was not called from export (f.ex.: clipboard).
1169 * insetcollapsable.h: added default support for ascii, linuxdoc and
1170 docbook export (the insettext is exported by default!)
1172 * insettabular.C (copySelection): suff the clipboard with the tabular
1173 data in a tab separated format, seems more naturals then with all the
1176 2001-12-24 Juergen Vigna <jug@sad.it>
1178 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1179 to check for REAL mouseMotion.
1181 2001-12-20 Juergen Vigna <jug@sad.it>
1183 * inset.C (cursor): return the owners cursor if available instead of
1184 always only the bv->text->cursor.
1186 * insettabular.C (checkLongtableSpecial): works now.
1188 2001-12-19 Juergen Vigna <jug@sad.it>
1190 * insettabular.C (tabularFeatures): fix the row setting of ltt as
1191 this has to be always row + 1 as 0 means not selected!
1192 (checkLongtableSpecial): added
1193 (tabularFeatures): better longtable options support
1195 * insettext.C (resizeLyXText): reinit the text always also on a
1198 2001-12-18 Juergen Vigna <jug@sad.it>
1200 * insettext.C (updateInsetInInset): look if we have to autocollapse
1201 paragraps and return if the update is requested for ourself.
1203 * insetert.C (status): update the insettext not myself as that is what
1206 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1207 function only return if the update was requested with myself.
1209 * insettext.C (insetButtonPress): fixed stupid bug.
1210 (various functions): pay attention that lt is cleared BEFORE calling
1211 updateLocal() and try to use it in the right manner (don't use it
1212 if it's not really neccessary!)
1213 (collapseParagraphs): insert a blank between collapsing paragraphs
1214 if neccessary (not already there!).
1216 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1218 * insettabular.C: move includes around a bit, add a couple of
1221 * insettext.[Ch]: move includes around a bit, other ws changes and
1224 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1226 * insettext.C (insetButtonRelease): fix compile problem
1228 2001-12-17 Juergen Vigna <jug@sad.it>
1230 * insettext.C (insetButtonPress): set the selection cursor!
1231 (insetButtonPress): clear the selection (and set with that the
1232 selection.cursor) if we only hit an inset!
1234 * insetert.C (read): removed piece of compatibility code only needed
1237 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1240 * insetcollapsable.C (insetButtonRelease): changed so that it can
1241 open eventual existing popup dialogs on mousebutton==3.
1243 * insetfloat.C (insetButtonRelease): removed not needed anymore!
1245 * insetminipage.C (insetButtonRelease): removed not needed anymore!
1247 * inset.C (insetButtonRelease): return a bool for telling the outer
1248 world that we opened a dialog.
1250 2001-12-07 Juergen Vigna <jug@sad.it>
1252 * insettext.C (paragraph): remove the deleteing of paragraphs as
1253 it was a WRONG move!
1255 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
1258 * insettabular.C: use new setSelection(). Allow
1259 selection of single cells.
1261 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1263 * insetquotes.C (latex): fix to use the local language setting at
1264 the point where the inset is inserted (different macros for
1265 different french packages)
1267 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1269 * inset.h: add par_owner_ member variable and parOwner
1272 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1274 * insettabular.C (everywhere): adapt because widths are now real
1275 widths and not strings
1277 * insettext.C (draw): re-introduce the calls to width(), ascent()
1278 and descent() to initialize the caching variables.
1280 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1282 * insettext.C (draw):
1283 (drawFrame): use insetWidth instead of last_width
1285 * insettext.h: remove variable last_width (insetWidth is exactly
1286 the same) and last_height (computed but never used!)
1288 2001-12-10 Allan Rae <rae@lyx.org>
1290 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1292 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
1294 * insettext.C (insetAllowed): add comment
1296 2001-12-05 Juergen Vigna <jug@sad.it>
1298 * insettext.C (insetAllowed): fixed for the case that we directly
1299 ask the insettext from its LyXText.
1300 (paragraph): fixed the crash when assigning the par->next() from
1301 the EmptyParagraphMechanism!
1303 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1307 * insettext.C: change "while(" to "while ("
1309 2001-12-04 Juergen Vigna <jug@sad.it>
1311 * insetert.C (edit): handle Inlined status.
1313 * insettext.C (insertInset): trying John's fix for the trailing cursor
1315 * insetert.C (insetButtonPress): added to handle inlined status
1316 (insetMotionNotify): ditto.
1318 * insettext.C (clearInset): changed Painter & in BufferView * param,
1319 to be able to call ascent,descent methods.
1321 2001-12-03 Juergen Vigna <jug@sad.it>
1323 * insettext.C (updateInsetInInset): use lt variable to forbid
1324 changes of LyXText in an update call.
1325 (updateInsetInInset): fixed updating of non locked insets!
1327 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1329 * insettabular.C: capture some more functions to prevent
1330 selection drawing problems. Bug #451274
1332 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1335 * insetgraphicsParams.C: fix inverted sense of float_equal
1337 2001-11-30 Juergen Vigna <jug@sad.it>
1339 * insettabular.C (InsetTabular): use the save_id flag to create also
1340 the tabular with the same id's.
1342 * insettext.C (setParagraphData): added a same_id function for undo
1343 to set the same paragraph id's as of the paragraph we are setting.
1345 2001-11-30 José Matos <jamatos@fep.up.pt>
1348 * insettoc.[Ch]: DocBook -> docbook.
1350 2001-11-29 André Pönitz <poenitz@gmx.net>
1353 * insettext.C: further reduction of header dependencies by using
1354 lyx::layout_type and lyx::textclass_type from support/types.h
1356 2001-11-29 Juergen Vigna <jug@sad.it>
1358 * insettext.C: inserted a reinitLyXText function everywhere I delete
1359 the paragraphs! This should fixe the crashes we had.
1360 Also use the new function firstRow() instead of getRowNearY(dummy_y)
1361 (paragraph): set the InsetOwner() of the new paragraphs!
1363 2001-11-28 André Pönitz <poenitz@gmx.net>
1365 * insetnote.C: add pos initialization that I removed without
1368 2001-11-28 Juergen Vigna <jug@sad.it>
1370 * insettabular.C (resetPos): hack to not crash with infinite paints.
1372 * insettabular.h: insert missing function allowSpellcheck()!
1374 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1376 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1379 * insetfloatlist.C: derive from InsetCommand so gui can use it
1382 2001-11-26 André Pönitz <poenitz@gmx.net>
1386 * insetnote.C: reduce header dependencies, introduce type for
1389 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1391 * various: update for Alert.h
1393 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1395 * inset.h: fix comment
1397 * insettext.C: use par->isInset()
1399 2001-11-22 Allan Rae <rae@lyx.org>
1401 * insetcollapsable.h:
1402 * inset.h: Changes to checkInsertChar() behaviour.
1403 Now return value indicates whether chars can be inserted.
1405 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
1407 * various: updated to use the new LaTeXFeatures
1409 2001-11-14 José Matos <jamatos@fep.up.pt>
1411 * insetspecialchar.C (linuxdoc):
1412 (docbook): don't give a name to a unused variable.
1414 * insettext.C (docbook): removed unused variable.
1416 2001-11-13 Herbert Voss <voss@perce.de>
1418 * insetgraphic.C: fix scale bug
1420 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1422 * inset.h (isSpace):
1423 (isLetter): new virtual methods.
1425 * insetspecialchar.C (isSpace):
1426 (isLetter): implement here.
1428 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1430 * inset.h: new inline helpers
1432 * insettext.C: use new helpers
1434 2001-11-07 José Matos <jamatos@fep.up.pt>
1436 * insettext.C (docbook): full support for paragraphs inside insettext.
1438 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
1440 * insetindex.C: added header file for std::ostream.
1442 2001-11-03 José Matos <jamatos@fep.up.pt>
1444 * insetindex.C: added using std::ostream that I forgot yesterday.
1446 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
1448 * insetindex.h (docbook):
1449 * insetindex.C (docbook): added support for docbook export.
1451 2001-11-02 José Matos <jamatos@fep.up.pt>
1453 * insetcaption.C(docbook): added support for docbook export.
1455 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
1457 * insetexternal.C (updateExternal): Do not run update command if
1458 result file exists and is up to date.
1460 * ExternalTemplate.C (readFormat): Support the updateresult token.
1462 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
1464 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1465 external_templates) to use the buffer->fileName() but only if
1466 previewing. Generating a TeX file should make FPath return
1469 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1472 * insetert.C: fix some problems
1474 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1476 * insetexternal.C (doSubstitution): Added $$FPath token
1477 to list of usable substitutions in external inset templates.
1479 2001-10-24 Juergen Vigna <jug@sad.it>
1481 * insettabular.C: use new ltType struct for setting longtable
1482 header and footers also new UNSET enums.
1484 2001-10-24 José Matos <jamatos@fep.up.pt>
1486 * insettabular.C (linuxdoc): Now exports the ascii's table version.
1487 (docbook): If the table is not inside a float then wrap it inside
1488 <informaltable>...</informaltable>.
1490 2001-10-23 José Matos <jamatos@fep.up.pt>
1492 * insetref.C (docbook): removed / terminator to conform SGML.
1494 * insetspecialchar.C (linuxdoc):
1495 (docbook): Added support for special chars, more than ascii export.
1497 2001-10-22 Juergen Vigna <jug@sad.it>
1499 * insettext.C (checkInsertChar): added for REALLY checking the
1500 font of the inserted char in the right inset!
1502 2001-10-19 Juergen Vigna <jug@sad.it>
1504 * inset.h: added method allowSpellcheck() so that insets who do
1505 not have anything to spellcheck can tell and so they are over-jumped.
1506 Implemented for InsetText and co.
1508 2001-10-18 Juergen Vigna <jug@sad.it>
1510 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1512 2001-10-15 José Matos <jamatos@fep.up.pt>
1514 * insetert.C: allow export for docbook and linuxdoc
1516 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1518 * insetquotes.C (dispString): handles latin3 and latin4 quotes
1520 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1522 * insetquotes.C (dispString): fix handling of latin9 quotes
1524 2001-10-03 Juergen Vigna <jug@sad.it>
1528 * insetcollapsable.C: change updateInset calls to not tell BV that
1529 we have changed status.
1531 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1533 * insettabular.C (deletable): make const
1535 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1537 * insetert.C (latex): Fix the returned value
1539 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1541 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1542 Returns string(), so nothing in an ERT inset is spellchecked.
1544 * insetgraphics.C (draw): print the filename if not displaying the
1546 (width): make sure that the width and draw methods are consistent.
1547 (updateInset): don't even load the image into cache if not displaying
1550 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1552 * various files (selectNextWord): renamed as
1553 selectNextWordToSpellcheck.
1555 * insetgraphics.C (draw): remove the previous change. Right place
1556 is in imageLoaderXPM.C.
1557 (draw): don't display the image if params.display == NONE.
1559 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1561 * figinset.C (runqueue):
1562 * insetgraphics.C (draw): set background colour of inset from
1563 background to the user-configurable graphicsbg.
1565 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1567 * insetquotes.C (InsetQuotes): when trying to decide the side of
1568 the quote, choose `left' only after a space or '('
1570 2001-09-04 José Matos <jamatos@fep.up.pt>
1575 * insetcollapsable.h
1593 * insetlatexaccent.C
1594 * insetlatexaccent.h
1599 * insetspecialchar.C
1600 * insetspecialchar.h
1604 * insettext.C (docbook): rename docBook method to docbook.
1606 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1608 * inset.h (getFirstParagraph): New virtual method.
1610 2001-08-20 Herbert Voss <voss@perce.de>
1611 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1612 in the the bibtex-database-gui for inserting a line
1615 If no style is given than there is no tex-output.
1617 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
1619 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1623 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
1625 * insetert.C (latex): Fix output for multiple paragraphs.
1626 (write): New code for writing paragraph data.
1627 (read): Set font after reading the inset.
1628 (localDispatch): Call set_latex_font() for more cases.
1630 * insetnote.h: Add empty validate method.
1633 * insetnote.C (InsetNote): Set language to the language of the
1636 2001-08-16 Juergen Vigna <jug@sad.it>
1638 * insettext.C: implemented the new FINISHED states.
1640 * insettabular.C: ditto
1642 * inset.h: added more FINISHED states for cursor right,up,down
1644 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1646 * insetfloatlist.C: use "FloatName List"
1648 2001-08-14 Juergen Vigna <jug@sad.it>
1650 * insetert.C (edit): forgot to set status_ in edit calls!
1652 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1654 * insettext.C: Compilation fix
1656 2001-08-13 Juergen Vigna <jug@sad.it>
1658 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1660 * insetcollapsable.C (edit): don't recollapse an already open inset.
1662 * insettext.C: fixed problem when reinitializing LyXText by not doing
1663 it while lt is in use and post this to the next possible time in
1665 (searchForward): fixed not unlocking of inset if nothing found.
1666 (edit): set cursor behind right (was set -1 pos).
1668 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1670 * insettabular.C (tabularFeatures): fixed fix where deleting the
1671 last row didn't get the right actcell!
1673 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1675 * insettext.C (localDispatch): Change language only when the inset
1678 2001-08-10 Juergen Vigna <jug@sad.it>
1680 * insettabular.C (selectNextWordInt): use the front using edit call.
1682 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1683 the parameter overwrite class variable inset.
1685 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1687 * insettext.C (saveLyXTextState): check for invalid cursor-par.
1688 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1690 * insettabular.C (calculate_dimensions_of_cells): let's try to call
1691 update only for fixed with cells.
1692 (resetPos): try to fix the lockup on spellchecking or s&r.
1694 * insettext.C (update): comment this out as it seems first wrong
1695 and second not needed anymore!
1696 (some functions): call reinitLyXText() only in update() in all other
1697 positions set only need_update = INIT.
1699 2001-08-08 Juergen Vigna <jug@sad.it>
1701 * insettabular.C (setPos): fixed wrong actrow < rows() check.
1703 * insettext.C (insetUnlock): remove double-space on inset unlock.
1705 * insetcollapsable.C (draw): fix returned x when label > inset-width.
1707 * insettabular.C (update): fixed cursor positon after an insert.
1708 (insetAllowed): do not allow to insert insets when not inside the
1710 (draw): clear below an inset too as it could have changed height.
1712 * inset.C (getMaxWidth): fixed width for inset in inset.
1714 * insettext.C (update): small fix.
1716 * insettabular.C (tabularFeatures): added selection support to
1717 DELETE_ROW/DELETE_COLUMN.
1719 2001-08-07 Juergen Vigna <jug@sad.it>
1721 * inset.C (getMaxWidth): recoded and all it's implementations!
1723 * insettext.C (init,setParagraph+constructors): cleanups
1724 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1725 are new and I want do a save/restore of the cursor position which is
1726 not possible anymore.
1728 * insetcollapsable.C (searchBackward): recollapse inset if not found.
1729 (searchBackward): ditto
1730 (selectNextWord): ditto
1732 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
1734 * insetlatexaccent.C (checkContents): Add some debug messages
1736 2001-08-07 Juergen Vigna <jug@sad.it>
1738 * insetert.C (read): don't use InsetCollapsable::read as we don't
1739 write the collapsed status anymore only the status.
1742 2001-08-06 Juergen Vigna <jug@sad.it>
1744 * insetert.C (set_latex_font): use LyXText's setFont directly.
1746 * insettext.C (drawFrame): fixed one time more the right position
1747 and size of the frame!
1749 * insetert.C (~InsetERT): hide the dialog.
1750 (showInsetDialog): added implementation
1753 (status): new function for the status of the ERT inset (3-state).
1754 (write): output also the status of the inset for readback!
1755 (read): readback the status if available otherwise use collapsed_.
1757 * insettext.C (edit): small fix of setting the position, which could
1760 * insetert.C (width): implement this function for inlined viewing.
1761 Added minimum width of 10 pixels!
1763 * insetminipage.C (InsetMinipage): just change the colors a bit so
1764 that border/background is a bit more visible. We will remove this
1767 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1768 function for getting the important widths for drawing in various
1769 functions and in LyXText.
1770 (draw): fixed up a bit (frame drawing/clearing)
1772 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1774 * inset.C (convertFont): delete method. not used.
1776 2001-08-03 Juergen Vigna <jug@sad.it>
1778 * insettext.C (setFont): don't call for a draw update if we're just
1779 changing the cursor font!
1781 2001-08-02 Juergen Vigna <jug@sad.it>
1783 * insettext.C (draw): clear the background with the right color if
1784 needed. Update myself if x&max-width changed and return without doing
1785 anything. Let the update code handle the right stuff.
1787 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1788 inside another inset.
1790 2001-08-01 Juergen Vigna <jug@sad.it>
1792 * insetcollapsable.C (update): added an in_update bool so we avoid
1795 * insettabular.C (update): added an in_update bool so we avoid
1798 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1800 (update): added an in_update bool so we avoid reentering.
1802 * insettabular.C (localDispatch): clear col/row selection when doing
1803 something else inside an inset.
1805 * insettext.C (getLyXText): fixed bug when requesting a recursive
1808 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
1810 * insetcite.C (latex): Paranoia check. Make sure that there is no
1811 whitespace between the citation keys.
1813 2001-07-31 Juergen Vigna <jug@sad.it>
1815 * inset.h (nodraw): make the set function also const so that this
1816 can be called from inside other const functions.
1818 * insetcollapsable.h: removed inline variable and moved it over
1819 to the only user InsetERT.
1821 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1822 inset opening immediately therein lying insets dialogs!
1824 * insetert.C (localDispatch): set the font also if we don't have any
1825 chars in this paragraph, otherwise if we delete all of em and start
1826 writing we have the wrong font.
1828 (draw): implemented for inline support
1829 (insetButtonRelease): ditto.
1831 2001-07-30 Juergen Vigna <jug@sad.it>
1833 * insettext.C (reinitLyXText): new function to reinit the insets
1834 text after lot's of paragraph changes. Use this instead of the
1835 cache.clear() which is VERY dangerous.
1837 * insetfloat.C (insetButtonRelease): we should only show the dialog
1838 if we press on the label otherwise we have problems to open mouse
1839 button 3 dialogs inside this float (f.ex. of a tabular!)
1841 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1843 * insetert.C: change back to "ERT"
1845 * insetfloat.C: handliign of RMB on label added.
1847 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1849 * insetgraphicsParams.C: #include LOstream.h here.
1851 * insetfoot.h: remove InsetFoot:: qualifier.
1853 2001-07-29 Baruch Even <baruch@lyx.org>
1855 * ChangeLog: Hiding time travel evidence.
1857 * insetgraphicsParams.h:
1858 * insetgraphicsParams.C:
1859 * insetgraphics.C: Added horizontal scale option, it actually scales both
1860 directions since it keeps image proportions.
1862 * insetgraphics.C: Fixed EPS detection to be non-hacky.
1864 2001-07-29 Baruch Even <baruch@lyx.org>
1866 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1867 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1869 HACKY! Will need to add an EPS detection routine like old InsetFig does!
1871 2001-07-29 Baruch Even <baruch@lyx.org>
1873 * insetgraphics.C: Added EPSI to be an alias of EPS.
1875 2001-07-29 Baruch Even <baruch@lyx.org>
1877 * insetgraphics.C: Change GRAPHICS to Graphics.
1878 Changed image conversion rules (documented at the beginning of file).
1880 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
1882 * insetert.C (get_new_label): int -> Paragraph::size_type to get
1885 * insetgraphics.C: added a using std::endl directive.
1887 * insetcommand.h (getScreenLabel): removed pure virtual function,
1888 as it duplicates that in InsetButton.
1890 * insetbib.[Ch] (getScreenLabel):
1891 * insetbutton.[Ch] (getScreenLabel):
1892 * insetcite.[Ch] (getScreenLabel):
1893 * insetert.[Ch] (getScreenLabel):
1894 * insetexternal.[Ch] (getScreenLabel):
1895 * insetfloatlist.[Ch] (getScreenLabel):
1896 * insetinclude.[Ch] (getScreenLabel):
1897 * insetindex.[Ch] (getScreenLabel):
1898 * insetlabel.h (getScreenLabel):
1899 * insetparent.[Ch] (getScreenLabel):
1900 * insetref.[Ch] (getScreenLabel):
1901 * insettoc.[Ch] (getScreenLabel):
1902 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
1904 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
1906 (validate): remove check on "cite" when using natbib.
1908 2001-07-26 Baruch Even <baruch@lyx.org>
1910 * insetgraphics.C (draw): changed casting to be in one place rather than
1911 all over the function.
1914 * insetgraphics.C (read): Added compatibility reads of InsetFig.
1916 * insetgraphicsParams.h:
1917 * insetgraphicsParams.C:
1918 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
1920 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1922 * insetfoot.C (validate): Added method to ensure that the
1923 right bit of LaTeX is emitted.
1925 * insetfoot.h: Added validate method to set the correct
1926 LaTeXFeatures bit for the special footnote code.
1928 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1930 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
1933 2001-07-27 Juergen Vigna <jug@sad.it>
1935 * inset.h: remove not used font variable in parameter.
1936 removed checkInsertChar in UpdatableInset as it was equal to
1937 the one in Inset and so not needed.
1939 * insetert.C (checkInsertChar): implementation of function
1942 * inset.h: added new function checkInsertChar.
1944 * various files: added c-tor and clone() function.
1946 * insetcollapsable.h: removed clone function here as this should
1947 be only realized in REAL insets and added it to all collapsable
1948 insets! (with the copy-constructor).
1950 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1952 * insetminipage.C (read): handle missing parameters more gracefully
1954 * insetcollapsable.C (read): handel missing collapsed more gracefully
1956 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1958 * insetfloat.C (read): handle missing parameters.
1960 * insettext.C (read): handle old latex end_inset
1962 * insetert.C (setButtonLabel): new method
1963 (init): use it, to set the dynamic label correctly
1966 * Makefile.am (EXTRA_DIST): add files that is not part or the
1969 * insetcollapsable.h: remove autocollapsable (no users), remove
1970 draw_label, change_label_with_text and companion code. Remove args
1972 * insetert.[Ch]: move here instead (only user)
1974 * inset.h: rename private variable name to name_, make
1975 selectNextWord return a const string. make getInsetName return a
1976 string const &. Remove bool from open, add close.
1978 * Makefile.am: don't compile insetlist, insetsection
1981 2001-07-24 Juergen Vigna <jug@sad.it>
1983 * insetert.C (InsetERT): put init after the paragraph initialization,
1984 as otherwise we don't set the draw_label right.
1986 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
1987 insets with the mouse without having strange selections.
1988 (edit): if the inset was collapsed and we open it here then put the
1989 cursor always at the beginning of the inset.
1990 (get_new_label): 15 instead of 10 max chars in the label.
1992 * insetert.C (localDispatch): added and handle various stuff we
1993 need to handle here (font setting on paragraph break, not permitted
1994 layout setting, etc.).
1996 * inset.h: added default copy-consturctor and implemented this in
1997 various insets with the change to use this in the clone function!
1999 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * insetminipage.C (InsetMinipage): set background color to red :)
2003 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2006 draw frame mode is LOCKED.
2008 * insetcollapsable.C (edit):
2009 (insetButtonRelease): set update status to full when
2012 * insettext.C (clearInset):
2013 * insettabular.C (draw):
2014 * insetlatexaccent.C (draw): honor background color.
2016 * inset.h: new member background_color_, initialized to
2019 * inset.C (backgroundColor): new method.
2020 (setBackgroundColor): new method.
2022 * insetert.C (init): new method, called by the ctors.
2023 (InsetERT): when inserting contents, make sure the font is
2026 * insetnote.C (InsetNote): when inserting content, remove trailing
2028 (init): set background color to LColor::note
2030 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2032 * insetcollapsable.C: adjust
2034 * insetbutton.C: adjust
2036 2001-07-23 Juergen Vigna <jug@sad.it>
2038 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2039 parameter on the _collapsed function (was not needed) and call
2040 always width_collapsed().
2042 * insetert.C (InsetERT): use setLabel with "true" flag.
2044 * insetcollapsable.C: modified various functions to set the draw_label
2045 string right in any condition.
2046 (setLabel): added a bool parameter to set change_label_with_text.
2048 * insetcollapsable.h: added draw_label string which is set to the
2049 actual drawn label-string, while label is the original static label
2050 of this collapsable inset. Added bool change_label_with_text to set
2051 if we want that the label changes to the start of the InsetText's
2052 text when collabpsed. You can set this flag with the setLabel funciton.
2053 Added bool inlined for inlined collapsable insets, but not handled
2056 * insetcollapsable.C (get_new_label): added should get a new label
2057 from the InsetText beginning (for now 10 chars).
2059 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2061 * insetquotes.C (latex): fix the handling of french double quotes
2062 when not using the french pachage.
2064 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * insetcollapsable.h: make WidthCollapsed mutable.
2068 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2069 InsetPrintIndex returns INDEX_PRINT_CODE.
2071 * inset.h: add INDEX_PRINT_CODE
2073 * insetcollapsable.C (draw): init widthCollapsed if necessary
2076 * insetquotes.C (width): use the local language, not the document
2079 (dispString): add additional spacing for all french languages,
2081 (validate): make it work when there is no default language
2083 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2085 * insetnote.C (init): new method, called by the constructors
2086 (InsetNote): new constructor with contents passed as a string
2088 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2090 * insetfootlike.C (insetAllowed): disallow float in footlike.
2092 * insetert.C (InsetERT): add collapsed argument to the constrctor
2095 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2097 * insetindex.h: shut off warning
2099 2001-07-20 Juergen Vigna <jug@sad.it>
2101 * insetcollapsable.C (update): recoded hopefully works now!
2103 2001-07-19 Juergen Vigna <jug@sad.it>
2105 * most files: implemented the below new introduced function.
2107 * inset.h: added new edit(BufferView *, bool front) method to be able
2108 to enter an inset from the front/back without knowing x/y positions
2109 and baselines inside the inset. So I just can tell the inset activate
2110 me and set the cursor on the front/back of yourself.
2112 2001-07-18 Juergen Vigna <jug@sad.it>
2114 * insetcollapsable.C (edit): fixed hopefully the y parameter which
2115 is given to the InsetText.
2116 (insetButtonPress): ditto
2117 (insetButtonRelease): ditto
2118 (insetMotionNotify): ditto
2120 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2122 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2123 LIGATURE_BREAK, since the name is so stupid.
2125 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2127 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2128 the default InsetCollapsable methods. I.e., it can insert anything.
2129 (write) output the name of the inset, not some silly hack for
2130 compatability with the old InsetInfo.
2132 * insetinfo.[Ch]: removed.
2133 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2134 now collapsable, but functionality is otherwise identical to InsetInfo.
2136 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2138 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2140 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2143 * insetquotes.C: general cleanup
2144 (dispString): add spaces inside french double quotes.
2145 (latex): ditto. Moreover, treat first the case where the frenchb
2146 or french options have been given.
2148 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2150 * insetcite.[Ch] (latex, validate): new methods, required for natbib
2153 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
2155 * figinset.C (RegisterFigure): Print debug message only when
2156 current_view is available.
2158 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2160 * many files: update to match the change below
2162 * inset.h (insetAllowed): renamed from insertInsetAllowed;
2163 implement the version which takes an inset here.
2165 * insetcollapsable.[Ch]: implement open and isOpen
2167 * inset.h: remove insertInsetAllowed from Inset
2168 (open): new method, to open or close an inset
2169 (isOpen): returns the status of an inset
2170 (isCollapsable, colapse): removed
2172 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2174 * insetquotes.C (dispString): display french guillemets when using
2177 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2179 * insetcollapsable.h: remove bogus return statements
2181 2001-07-18 Juergen Vigna <jug@sad.it>
2183 * insettabular.C (selectNextWord): fixed spellchecking for the
2184 first cell of a tabular (wasn't entered!)
2185 (getLyXText): changed to enter automatically insettext and return
2186 it's LyXText if we're locked.
2188 2001-07-17 Juergen Vigna <jug@sad.it>
2190 * various files: implemented the below functions.
2192 * inset.h: added functions
2193 - virtual string selectNextWord(BufferView *, float & value) const;
2194 - virtual void selectSelectedWord(BufferView *) { return; }
2195 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2196 needed for spellchecking correctly!
2198 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
2200 * insetert.C (latex): write out all paragraphs.
2202 2001-07-17 Baruch Even <baruch@lyx.org>
2204 * insetgraphics.C (draw): Removed unneeded casts.
2206 2001-07-16 Juergen Vigna <jug@sad.it>
2208 * insettext.C (update): fixed small oversight (reset lt to 0).
2210 2001-07-14 Baruch Even <baruch@lyx.org>
2213 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2215 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2217 Consistent use of Lsstream.h:
2218 * figinset.C: removed using std::ostringstream directive.
2220 * insetgraphics.C (createLatexOptions):
2221 * insetinclude.C (unique_id):
2222 std::ostringstream -> ostringstream.
2223 * insettext.C (localDispatch): std::istringstream -> istringstream.
2225 2001-07-13 Juergen Vigna <jug@sad.it>
2227 * insetfloat.C (insertInsetAllowed): added missing const_cast.
2229 * insetcollapsable.C (getLockingInset): ditto.
2231 2001-07-12 Juergen Vigna <jug@sad.it>
2233 * insetcollapsable.h: added implementation of new function for
2236 * various files: added implementation of new insertInsetAllowed-func
2237 and redone the function a bit more.
2239 * inset.h: added isCollapsable(), bool collapsed(),
2240 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2242 * insetfloat.C (insertInsetAllowed): make a bit more checks.
2244 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2245 LyXText which is marked for removal while we're using it!
2247 * insettext.h: added private LyXText * lt to use it to assure we are
2248 not deleting our LyXText while we're using it!
2250 2001-07-11 Juergen Vigna <jug@sad.it>
2252 * insettext.C (insertInset): check if we are before the inset after
2253 inserting it! This check IS needed. Remove the Undo-Call as it is
2254 called in LyXText::insertInset!
2256 * insettext.h: added struct InnerCache.
2258 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2259 that we ONLY delete the LyXText in the getLyXText() routine. So we
2260 are sure we don't delete LyXText while someone is working with it!
2262 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2264 * insetexternal.C: (*it). -> it->
2265 * insettext.C: ditto
2267 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2269 * insetcollapsable.C (edit): always open collapsed insets (even if
2270 they are not autocollapsable)
2272 * insetcommand.C (operator=): simplify.
2274 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2276 * insetert.C (latex): handle META_NEWLINE
2278 2001-07-09 Juergen Vigna <jug@sad.it>
2280 * insetert.h: a normal InsetText can insert insets, but we won't.
2282 * inset.h: return default "false" on insertInsetAllowed and implement
2283 this function where a returnvalue != "false" is needed.
2285 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2287 * insetert.C (InsetERT): new contructor
2289 2001-07-06 Juergen Vigna <jug@sad.it>
2291 * a lot of files: added implementation of the below new functions
2292 and the change to clone(). Also the call of the new undo-functions
2295 * inset.h: added an inset_id, added functions getParFromID,
2296 getInsetFromID, firstParagraph, cursor and id functions, added
2297 bool same_ids to clone function.
2299 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2301 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2302 of BufferView * and shared_ptr<LyXText>
2304 2001-07-05 Juergen Vigna <jug@sad.it>
2306 * insettext.C (clear): deleted also the cache not only LyXText.
2307 (setParagraphData): ditto.
2309 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2311 * insetfloat.C (latex): let the specific placement take presedence
2312 if set, otherwise choose document placement if set, otherwise just
2313 use float default placement.
2315 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2317 * insettext.C (localDispatch): call CutAndPaste::'s static method
2320 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2322 * insetbib.C: no meed to include forms.h here.
2324 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
2326 * insettext.C: added using std::make_pair directive.
2328 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2330 * insettext.C (getLyXText): avoid multiple lookups, and simplify
2332 (deleteLyXText): ditto
2333 (resizeLyXText): ditto
2335 2001-07-02 Juergen Vigna <jug@sad.it>
2337 * insettext.C (getLyXText): introduce a cache in getLyXText so that
2338 following calls are only returned the right pointer without the over
2339 head to search in the map.
2340 (various funcs): reset the cached_bview variable as this signs that
2341 the cache is not valid anymore.
2343 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2345 * insettabular.C (clone): do not copy the LyXTabular twice
2347 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2349 * insettext.h (TEXT): delete method
2351 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2353 * insetmarginal.C (latex):
2354 * insetfoot.C (latex): fix spacing of notes in LaTeX
2356 * insettext.C (localDispatch): use .c_str() on istringstream
2357 constructor argument.
2359 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2364 * inseturl.C: fix method names in these to begin
2365 with small char too, so they inherit
2367 2001-06-28 Juergen Vigna <jug@sad.it>
2369 * insettext.C (setFont): fixed font settings using toggleFree()
2370 instead of setFont().
2372 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2374 * Change a lot of method names to begin with a small char.
2375 Changes to a lot of files because of this.
2377 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2379 * insetfloatlist.C (Write): std:: qualify ostream
2382 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2386 * insetgraphics.C: send debug output to Debug::INFO instead of
2389 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2392 * insettabular.C (getStatus): update to use func_status
2394 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
2396 * insetref.C (DocBook): added support for cross-references without
2399 2001-06-26 The LyX Project <jug@sad.it>
2404 * insetlabel.h: removed escape method and moved it to
2407 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2409 * insettabular.C (getMaxWidth): do the speedup in a different way,
2412 2001-06-24 The LyX Project <Asger>
2414 * insettabular.C (getMaxWidth): We cache a mapping from
2415 inset to cell in order to speed this method up.
2417 2001-06-24 The LyX Project <Asger>
2419 * insettext.C: Optimized InsetText::draw or something.
2421 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
2423 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2425 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2427 * inset.h: name change from lyxinset.h
2429 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
2431 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2433 2001-06-14 Juergen Vigna <jug@sad.it>
2435 * insettext.C (draw): removed warnings.
2437 2001-06-13 Juergen Vigna <jug@sad.it>
2439 * insettabular.C (nodraw): only go down the tree if we don't have
2440 that flag set otherwise it's obvious that we don't want to draw.
2441 (LocalDispatch): do also an update if we have an undispached result.
2443 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
2446 * insetgraphicsParams.C:
2447 * insettext.C: removed // -*- C++ -*- as first line.
2449 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2451 * lyxinset.h (resizeLyXText): shut off warning about unused
2454 2001-06-07 Juergen Vigna <jug@sad.it>
2456 * insettext.C (resizeLyXText): honor the new force flag.
2458 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2460 * insettabular.C (deleteLyXText): new function
2462 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2470 * insetcollapsable.C:
2471 * insetcaption.C: LColor tidy
2473 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2475 * figinset.C: fix typo
2477 2001-06-01 Juergen Vigna <jug@sad.it>
2479 * insettabular.C (resetPos): small hack so that scroll is not set to
2480 0 when we are in the last column of a tabular. This is a problem we
2481 have because of constats 20 offset on both directions, so this can
2482 cause on the limit an endless loop.
2484 * insettext.C (SetFont): forgot that we can have locking insets ;)
2486 2001-05-31 Juergen Vigna <jug@sad.it>
2488 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2490 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2492 * figinset.C: add using std:: directive for the C functions which
2495 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2497 * insetfloat.C (Write): write out wide info
2498 (Read): read the wide info
2499 (Latex): use the wide info when creating latex.
2501 * insettext.C: adjust
2503 * insetgraphics.[Ch] (statusMessage): change to return string
2507 * figinset.C (runqueue): add std::
2510 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2512 * insetcite.C (Ascii): add std:: qualifier
2514 2001-05-28 Juergen Vigna <jug@sad.it>
2516 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2517 a endless-width inset (maxWidth < 0).
2518 (Edit): change language only if not equal.
2520 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2522 * insettext.C (draw): fixed draw/clear of InsetText-Frame
2524 2001-05-16 Juergen Vigna <jug@sad.it>
2526 * insettext.C (selectAll): added
2527 (clearSelection): added
2529 * insettabular.C (SetFont): now we may set a font on a whole selection!
2530 (getSelection): added helper function.
2532 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2534 * insetcite.C (Ascii): Add method.
2536 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2539 * insetbib.C: fix path for OS/2 & Win32
2541 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2543 * insetfoot.C (Latex): don't use % after footnote.
2545 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2547 * insettext.C (Read): use clear
2548 (SetParagraphData): use LyXParagraph copy constructor instead of clone
2550 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2552 * insetfloatlist.h: add a bunch of std:: qualifiers.
2554 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2556 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2557 FLOAT_LIST_CODE, renumber code list.
2559 * insettoc.C (getScreenLabel): remove support for float lists
2563 * insetfloatlist.[Ch]: new files
2565 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2567 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
2569 * insettabular.C (LocalDispatch):
2570 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2573 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2575 * insettext.C: remvoe !NEW_INSETS cruft
2577 * insettabular.C: remove !NEW_INSETS cruft
2579 * insetcollapsable.h: remove !NEW_INSETS cruft
2581 * insetbib.C: remove !NEW_INSETS cruft
2583 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2585 * insettoc.C: hack to make listof algorithm work
2587 2001-04-20 Juergen Vigna <jug@sad.it>
2589 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2591 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2593 * insetquotes.C (Latex): improve the guard against
2594 unwanted !` and ?` ligatures. This should really be done in
2595 another place (to catch all this ligatures at low-level).
2597 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2599 * insettext.C (init): remvoe leftovers from cursor_visible change
2600 (draw): use c++ cast
2601 (LocalDispatch): dispatch LFUN_MESSAGE
2603 * insettabular.C (InsetTabular): remove leftovers from
2604 cursor_visible, and scoped_ptr changes
2605 (draw): use c++ cast
2607 * insetcollapsable.C (draw): use c++ cast
2609 * ExternalTemplate.h: inherit privaely from noncopyable
2610 * insetcommand.h: ditto
2611 * insetinclude.h: ditto
2613 2001-04-16 Allan Rae <rae@lyx.org>
2615 * insettoc.C (Ascii):
2616 * insettext.C (draw):
2617 * insettabular.C (setPos):
2618 * insetminipage.C (Read):
2619 * insetfloat.C (placement):
2620 * insetcaption.C (Ascii, DocBook):
2621 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2622 an unrecognised preprocessor directive. So ensure they're wrapped.
2624 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
2627 * insetexternal.C: set view on Clone. Add _ to private members.
2629 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2631 * insettext.C (InsetText): fix new
2632 (InsetText): reindent some, simplify deletion of par list
2633 (clear): simplify deletion of par list, fix new
2634 (SetParagraphData): simplify deletion of par list
2636 * insettabular.[Ch] (getLabelList): implement new method
2638 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2640 * lyxinset.h: do not include gettext.h...
2648 * insetlatexaccent.C:
2652 * inseturl.C: ... and do it here instead
2654 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2656 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2658 * insettext.[Ch] (getLabelList): add std:: on vector<string>
2660 * insetcollapsable.[Ch] (getLabelList): implement
2662 * insettext.[Ch] (getLabelList): implement
2664 * insettext.h: reindent
2666 * insettabular.h: make tabular a scoped_ptr
2668 * insettext.C (init): adjust for cursor_visible
2669 (ToggleInsetCursor): constify asc and desc, font, adjust for
2671 (ShowInsetCursor): constify asc and desc, font, adjust for
2673 (HideInsetCursor): adjust for cursor_visible
2675 * insettabular.C: reindent some
2676 (InsetTabular): adjust for scoped_ptr and cursor_visible
2677 (InsetTabular): ditto
2678 (~InsetTabular): delete delete
2679 (Clone): adjust for scoped_ptr
2680 (Read): constify old_format, adjust for scoped_ptr, move init of
2682 (draw): constify tx, localize loop vars.
2683 some other localization of variables, remove double initilizatons.
2685 * insetfoot.C: remove using std::ostream, add ostream where needed
2687 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2689 * lyxinset.h: some reindentaion, use initializer list for
2691 UpdatableInset: make cursor_visible a private var add
2692 public isCursorVisible(), add protected toggleCursorVisible() and
2693 proctected setCursorVisible(bool), make scroll call the Inset::scroll
2695 * insettoc.C: remvoe using decl
2696 (getScreenLabel): make cmdname donst
2699 (Ascii): don't use endl
2701 * insetfootlike.C: remove using decl at file scope and add std::
2703 * insetmarginal.C: ditto
2705 * insetfoot.C: some reformatting
2707 * insetfloat.C (InsetButtonRelease): adjust the hit area
2709 * insetert.C (SetFont): some reformatting
2711 * insetcollapsable.C: some reformatting and constification
2712 (Clone): comment out.
2713 * insetcollapsable.h: some reformatting
2714 (Clone): comment out.
2719 2001-03-30 Juergen Vigna <jug@sad.it>
2721 * insetcollapsable.h: changen *inset to be a InsetText inset.
2723 * some files: changed to reflect the above change.
2725 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
2727 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2728 InsetExternal::Params.
2729 Added operator==() and operator!=() for the Params struct.
2731 2001-03-29 Juergen Vigna <jug@sad.it>
2733 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2736 * insetminipage.C: removed widthp_ and all it's functions and changed
2737 to use new %-lengths of LyXLength.
2739 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2741 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2743 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2745 * insetgraphicsParams.C (operator!=): new function, needed by the
2746 ControlGraphics class.
2748 2001-03-28 Juergen Vigna <jug@sad.it>
2750 * insettext.C (InsetButtonPress): only enter !inset if button == 2
2751 (checkAndActivateInset): don't use the values returned from
2752 call to bv->checkInsetHit.
2754 * insetminipage.C (Clone): set special minipage values.
2756 * insetcollapsable.C (draw): changed to draw the button in the
2757 upper left corner outside the textinset.
2758 (ascent): changed because of different drawing
2762 (InsetButtonPress): ditto
2763 (InsetButtonRelease): ditto
2764 (InsetMotionNotify): ditto
2766 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
2768 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2772 2001-03-26 Juergen Vigna <jug@sad.it>
2774 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2776 * insettext.C (ShowInsetDialog): implemented above function.
2778 * insettabular.C (ShowInsetDialog): ditto
2780 * insetminipage.C (ShowInsetDialog): ditto
2782 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2784 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2785 InsetInclude::Params. Don't store a buffer * in Params. Store the
2786 master file name instead.
2788 2001-03-23 Juergen Vigna <jug@sad.it>
2790 * insetcollapsable.C (InsetMotionNotify):
2791 (InsetButtonRelease):
2792 (InsetButtonPress): fixed y-offset (minipages).
2794 * insettext.C (draw): force a FULL update if cleared == true.
2796 * insetcollapsable.C (draw): Lars forgotten entry for changing this
2797 routine to draw the minipages on its position-flag.
2798 (InsetInInsetY): give back the right y position, because of minipage
2801 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2804 * insetfloat.C (DocBook): docbook export code.
2806 2001-03-22 Juergen Vigna <jug@sad.it>
2808 * insetminipage.C (getMaxWidth): added function to set the drawing
2810 (Read): should work now!
2812 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2813 if we create a new inset.
2815 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2817 * figinset.C (fl_set_preemptive_callback): moved definition outside
2820 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2822 * insetminipage.C (Read): prepare for reading of minipage arguments.
2824 2001-03-18 Baruch Even <baruch@lyx.org>
2826 * insetgraphics.C: Minor cleanups of the comments and code.
2828 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2830 * insetminipage.C (InsetMinipage): default to not collapsed
2832 2001-03-16 Juergen Vigna <jug@sad.it>
2834 * insetminipage.C (width): modified with to be a string
2835 (widthp): added widthp (for % width) support functions.
2836 (InsetButtonRelease): added to open the options dialog on button==3.
2837 (~InsetMinipage): added to hide the dialog.
2839 * insetminipage.h: added hideDialog signal
2841 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2843 * insetminipage.h: change the order or Position to match
2844 LyXParagraph::MINIPAGE_ALIGNMENT
2846 * several files: remvoe CXX_WORKING_NAMESPACES
2848 * ExternalTemplate.h: noncopyable is in namespace boost
2849 * insetinclude.h: ditto
2850 * insetcommand.h: ditto
2852 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2854 * insettext.C (Edit): #else# -> #else.
2855 * insettoc.C: added using directive.
2857 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2859 * insetminipage.h: add pos, inner_pos, width and height. + getters
2860 and setters for all of them.
2862 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2864 * insetinclude.C (Latex): Do not exit when the textclass of the
2865 included file differ from the textclass of the parent file.
2867 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
2869 * ExternalTemplate.C (read): the reading of external insets now checks
2870 for \end_inset and removes it form the input stream.
2872 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2874 * ExternalTemplate.h:
2875 * ExternalTemplate.C:
2877 * insetexternal.C: move form to GUII
2879 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2882 * insetinclude.C: add InsetIncludeParams, use
2883 composition rather than derivation of InsetCommand
2885 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2887 * insettoc.C (Ascii): use the Buffer typedefs
2889 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2891 * insettoc.C (Ascii): implement for dynamic number of lists
2893 * insetcaption.[Ch]: update from new_insets branch
2894 * insetfloat.[Ch]: ditto
2896 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
2899 * figinset.C: use new File Dialog
2901 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2903 * insettext.C: changes becuase of ParagraphParameters.
2905 2001-02-28 Baruch Even <baruch@ev-en.org>
2907 * insetgraphics.C (updateInset): Changed due to the change in
2910 2001-02-26 Juergen Vigna <jug@sad.it>
2912 * insettext.C (SetFont): Set Undo only if we have selection (as it is
2913 handled in LyXText).
2915 2001-02-23 Juergen Vigna <jug@sad.it>
2917 * insettext.C (draw): some small repainting fixes.
2918 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
2920 * inset.C (LocalDispatch): changed action to be a kb_action (as it
2921 should be) and not an int.
2923 * insettabular.C (LocalDispatch): ditto
2925 * insettext.C (LocalDispatch): ditto
2927 * insetcollapsable.C (LocalDispatch): ditto
2929 2001-02-22 Juergen Vigna <jug@sad.it>
2931 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
2932 DISPATCH it and we don't have a locking_inset.
2934 2001-02-21 Baruch Even <baruch@ev-en.org>
2936 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
2937 instead of GraphicsCacheItem *.
2939 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2941 * insetcollapsable.C (getLyXText): add const qualifier to second
2944 2001-02-22 Juergen Vigna <jug@sad.it>
2946 * insettext.C (getLyXText): honor the recursive parameter.
2947 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
2949 * inset.C (getLyXText): added bool recursive parameter.
2951 * insettext.C (SetUpdateStatus): or the update codes.
2952 (draw): check need_update with &.
2953 (InsetButtonPress): set no_selection to not put a selection when
2954 entering an inset and it is redraws in another spot.
2956 * insettext.h: made need_update an int.
2958 2001-02-20 Baruch Even <baruch@ev-en.org>
2961 * insetgraphisc.C: Changed to use better semantics when loading images
2962 for inline view. Now it doesn't keep the pixmap itself but it's holder.
2964 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
2968 * insetgraphics.C: change name of "hide" signal to "hideDialog",
2969 consistent with InsetTabular.
2971 2001-02-19 Juergen Vigna <jug@sad.it>
2973 * insettabular.C (LocalDispatch): implement PAGE up/down.
2975 * insettext.C (draw): clear all of it on need_update==INIT too!
2977 * insettabular.C (InsetUnlock): always clear the selection.
2979 * inset.C (scroll): normally we only want to scroll the inset until
2980 it is fully visible so if top_x + offset > 20 then just set scx to 0.
2982 2001-02-14 Juergen Vigna <jug@sad.it>
2984 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
2985 (resetPos): fixed scroll behaviour.
2986 (LocalDispatch): do an update if moving cursor inside a table cell
2987 requests a scroll of the tabular.
2989 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2991 * insettext.C (textWidth): constify local var
2993 * insettabular.C: small cleanup.
2995 * insetfoot.C (Latex): constify local var
2997 * insetcollapsable.C: small cleanup.
2999 * figinset.C (runqueue): use compare instead of strcmp
3001 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3004 * insetinfo.C: remove cruft
3006 2001-02-14 Juergen Vigna <jug@sad.it>
3008 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3010 2001-02-13 Juergen Vigna <jug@sad.it>
3012 * insettext.C (InsertInset): don't move left (is this right?)
3014 * insettabular.C (LocalDispatch): use of the no_draw variable
3016 * insettabular.h: new no_draw variable to stop redraw
3018 * insettabular.C (TabularFeatures): fixed update for alignment change
3020 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3024 * insetbib.C: move dialogs to frontends/
3026 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3028 * insettext.C (LocalDispatch): Restore the language if the inset
3031 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3033 * insettext.C (moveRightIntern): Update the selection cursor.
3034 (moveLeftIntern): Ditto.
3036 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3038 * Makefile.am: remove BoundingBox.h
3040 * BoundingBox.h: removed
3042 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
3044 * insettext.C (LocalDispatch): Update selection cursor when moving
3045 cursor to the right.
3046 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3047 (moveLeftIntern): Ditto.
3049 2001-02-05 Baruch Even <baruch.even@writeme.com>
3051 * insetgraphics.C: Updated automatic image conversion, it now goes into
3052 temporary directory instead of with the image itself.
3054 2001-01-21 Baruch Even <baruch@ev-en.org>
3056 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3057 to EPS or PNG when needed (support bitmap graphics).
3059 2000-11-02 Baruch Even <baruch@ev-en.org>
3062 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3063 and removal of commented out code.
3065 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3067 * insetbib.C (callback): Update citations if the key has changed.
3069 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3071 * insetbib.C (InsetBibKey): Better computation of default key.
3072 (getScreenLabel) Show both the key and the label.
3073 (getBibLabel): New method.
3074 (callback): Force a redraw if the inset have been changed.
3076 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3078 * insetref.C (getType, getName): Move methods from
3079 src/frontends/xforms/FormRef.C.
3081 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
3083 * insettabular.C: Various improvements (use only one dummy position).
3085 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
3087 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3088 par->bibkey->width. This fixes the crashes when running without
3089 gui or when having included documents.
3091 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
3093 * insetcommand.C (getAsString, setFromString): Cleanup.
3095 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
3097 * insetref.C: Add the array InsetRef::types that contains
3098 information about all supported reference types.
3100 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3102 * lyxinset.h: remove trailing comma in enum.
3104 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
3106 * insettext.C: kill LyXBell.