1 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4 * insetert.C: fix some problems
6 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8 * insetexternal.C (doSubstitution): Added $$FPath token
9 to list of usable substitutions in external inset templates.
11 2001-10-24 Juergen Vigna <jug@sad.it>
13 * insettabular.C: use new ltType struct for setting longtable
14 header and footers also new UNSET enums.
16 2001-10-24 José Matos <jamatos@fep.up.pt>
18 * insettabular.C (linuxdoc): Now exports the ascii's table version.
19 (docbook): If the table is not inside a float then wrap it inside
20 <informaltable>...</informaltable>.
22 2001-10-23 José Matos <jamatos@fep.up.pt>
24 * insetref.C (docbook): removed / terminator to conform SGML.
26 * insetspecialchar.C (linuxdoc):
27 (docbook): Added support for special chars, more than ascii export.
29 2001-10-22 Juergen Vigna <jug@sad.it>
31 * insettext.C (checkInsertChar): added for REALLY checking the
32 font of the inserted char in the right inset!
34 2001-10-19 Juergen Vigna <jug@sad.it>
36 * inset.h: added method allowSpellcheck() so that insets who do
37 not have anything to spellcheck can tell and so they are over-jumped.
38 Implemented for InsetText and co.
40 2001-10-18 Juergen Vigna <jug@sad.it>
42 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
44 2001-10-15 José Matos <jamatos@fep.up.pt>
46 * insetert.C: allow export for docbook and linuxdoc
48 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
50 * insetquotes.C (dispString): handles latin3 and latin4 quotes
52 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * insetquotes.C (dispString): fix handling of latin9 quotes
56 2001-10-03 Juergen Vigna <jug@sad.it>
60 * insetcollapsable.C: change updateInset calls to not tell BV that
61 we have changed status.
63 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
65 * insettabular.C (deletable): make const
67 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
69 * insetert.C (latex): Fix the returned value
71 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
73 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
74 Returns string(), so nothing in an ERT inset is spellchecked.
76 * insetgraphics.C (draw): print the filename if not displaying the
78 (width): make sure that the width and draw methods are consistent.
79 (updateInset): don't even load the image into cache if not displaying
82 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
84 * various files (selectNextWord): renamed as
85 selectNextWordToSpellcheck.
87 * insetgraphics.C (draw): remove the previous change. Right place
88 is in imageLoaderXPM.C.
89 (draw): don't display the image if params.display == NONE.
91 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
93 * figinset.C (runqueue):
94 * insetgraphics.C (draw): set background colour of inset from
95 background to the user-configurable graphicsbg.
97 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
99 * insetquotes.C (InsetQuotes): when trying to decide the side of
100 the quote, choose `left' only after a space or '('
102 2001-09-04 José Matos <jamatos@fep.up.pt>
136 * insettext.C (docbook): rename docBook method to docbook.
138 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
140 * inset.h (getFirstParagraph): New virtual method.
142 2001-08-20 Herbert Voss <voss@perce.de>
143 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
144 in the the bibtex-database-gui for inserting a line
147 If no style is given than there is no tex-output.
149 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
151 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
155 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
157 * insetert.C (latex): Fix output for multiple paragraphs.
158 (write): New code for writing paragraph data.
159 (read): Set font after reading the inset.
160 (localDispatch): Call set_latex_font() for more cases.
162 * insetnote.h: Add empty validate method.
165 * insetnote.C (InsetNote): Set language to the language of the
168 2001-08-16 Juergen Vigna <jug@sad.it>
170 * insettext.C: implemented the new FINISHED states.
172 * insettabular.C: ditto
174 * inset.h: added more FINISHED states for cursor right,up,down
176 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
178 * insetfloatlist.C: use "FloatName List"
180 2001-08-14 Juergen Vigna <jug@sad.it>
182 * insetert.C (edit): forgot to set status_ in edit calls!
184 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
186 * insettext.C: Compilation fix
188 2001-08-13 Juergen Vigna <jug@sad.it>
190 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
192 * insetcollapsable.C (edit): don't recollapse an already open inset.
194 * insettext.C: fixed problem when reinitializing LyXText by not doing
195 it while lt is in use and post this to the next possible time in
197 (searchForward): fixed not unlocking of inset if nothing found.
198 (edit): set cursor behind right (was set -1 pos).
200 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
202 * insettabular.C (tabularFeatures): fixed fix where deleting the
203 last row didn't get the right actcell!
205 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
207 * insettext.C (localDispatch): Change language only when the inset
210 2001-08-10 Juergen Vigna <jug@sad.it>
212 * insettabular.C (selectNextWordInt): use the front using edit call.
214 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
215 the parameter overwrite class variable inset.
217 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
219 * insettext.C (saveLyXTextState): check for invalid cursor-par.
220 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
222 * insettabular.C (calculate_dimensions_of_cells): let's try to call
223 update only for fixed with cells.
224 (resetPos): try to fix the lockup on spellchecking or s&r.
226 * insettext.C (update): comment this out as it seems first wrong
227 and second not needed anymore!
228 (some functions): call reinitLyXText() only in update() in all other
229 positions set only need_update = INIT.
231 2001-08-08 Juergen Vigna <jug@sad.it>
233 * insettabular.C (setPos): fixed wrong actrow < rows() check.
235 * insettext.C (insetUnlock): remove double-space on inset unlock.
237 * insetcollapsable.C (draw): fix returned x when label > inset-width.
239 * insettabular.C (update): fixed cursor positon after an insert.
240 (insetAllowed): do not allow to insert insets when not inside the
242 (draw): clear below an inset too as it could have changed height.
244 * inset.C (getMaxWidth): fixed width for inset in inset.
246 * insettext.C (update): small fix.
248 * insettabular.C (tabularFeatures): added selection support to
249 DELETE_ROW/DELETE_COLUMN.
251 2001-08-07 Juergen Vigna <jug@sad.it>
253 * inset.C (getMaxWidth): recoded and all it's implementations!
255 * insettext.C (init,setParagraph+constructors): cleanups
256 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
257 are new and I want do a save/restore of the cursor position which is
258 not possible anymore.
260 * insetcollapsable.C (searchBackward): recollapse inset if not found.
261 (searchBackward): ditto
262 (selectNextWord): ditto
264 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
266 * insetlatexaccent.C (checkContents): Add some debug messages
268 2001-08-07 Juergen Vigna <jug@sad.it>
270 * insetert.C (read): don't use InsetCollapsable::read as we don't
271 write the collapsed status anymore only the status.
274 2001-08-06 Juergen Vigna <jug@sad.it>
276 * insetert.C (set_latex_font): use LyXText's setFont directly.
278 * insettext.C (drawFrame): fixed one time more the right position
279 and size of the frame!
281 * insetert.C (~InsetERT): hide the dialog.
282 (showInsetDialog): added implementation
285 (status): new function for the status of the ERT inset (3-state).
286 (write): output also the status of the inset for readback!
287 (read): readback the status if available otherwise use collapsed_.
289 * insettext.C (edit): small fix of setting the position, which could
292 * insetert.C (width): implement this function for inlined viewing.
293 Added minimum width of 10 pixels!
295 * insetminipage.C (InsetMinipage): just change the colors a bit so
296 that border/background is a bit more visible. We will remove this
299 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
300 function for getting the important widths for drawing in various
301 functions and in LyXText.
302 (draw): fixed up a bit (frame drawing/clearing)
304 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * inset.C (convertFont): delete method. not used.
308 2001-08-03 Juergen Vigna <jug@sad.it>
310 * insettext.C (setFont): don't call for a draw update if we're just
311 changing the cursor font!
313 2001-08-02 Juergen Vigna <jug@sad.it>
315 * insettext.C (draw): clear the background with the right color if
316 needed. Update myself if x&max-width changed and return without doing
317 anything. Let the update code handle the right stuff.
319 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
320 inside another inset.
322 2001-08-01 Juergen Vigna <jug@sad.it>
324 * insetcollapsable.C (update): added an in_update bool so we avoid
327 * insettabular.C (update): added an in_update bool so we avoid
330 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
332 (update): added an in_update bool so we avoid reentering.
334 * insettabular.C (localDispatch): clear col/row selection when doing
335 something else inside an inset.
337 * insettext.C (getLyXText): fixed bug when requesting a recursive
340 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
342 * insetcite.C (latex): Paranoia check. Make sure that there is no
343 whitespace between the citation keys.
345 2001-07-31 Juergen Vigna <jug@sad.it>
347 * inset.h (nodraw): make the set function also const so that this
348 can be called from inside other const functions.
350 * insetcollapsable.h: removed inline variable and moved it over
351 to the only user InsetERT.
353 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
354 inset opening immediately therein lying insets dialogs!
356 * insetert.C (localDispatch): set the font also if we don't have any
357 chars in this paragraph, otherwise if we delete all of em and start
358 writing we have the wrong font.
360 (draw): implemented for inline support
361 (insetButtonRelease): ditto.
363 2001-07-30 Juergen Vigna <jug@sad.it>
365 * insettext.C (reinitLyXText): new function to reinit the insets
366 text after lot's of paragraph changes. Use this instead of the
367 cache.clear() which is VERY dangerous.
369 * insetfloat.C (insetButtonRelease): we should only show the dialog
370 if we press on the label otherwise we have problems to open mouse
371 button 3 dialogs inside this float (f.ex. of a tabular!)
373 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * insetert.C: change back to "ERT"
377 * insetfloat.C: handliign of RMB on label added.
379 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
381 * insetgraphicsParams.C: #include LOstream.h here.
383 * insetfoot.h: remove InsetFoot:: qualifier.
385 2001-07-29 Baruch Even <baruch@lyx.org>
387 * ChangeLog: Hiding time travel evidence.
389 * insetgraphicsParams.h:
390 * insetgraphicsParams.C:
391 * insetgraphics.C: Added horizontal scale option, it actually scales both
392 directions since it keeps image proportions.
394 * insetgraphics.C: Fixed EPS detection to be non-hacky.
396 2001-07-29 Baruch Even <baruch@lyx.org>
398 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
399 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
401 HACKY! Will need to add an EPS detection routine like old InsetFig does!
403 2001-07-29 Baruch Even <baruch@lyx.org>
405 * insetgraphics.C: Added EPSI to be an alias of EPS.
407 2001-07-29 Baruch Even <baruch@lyx.org>
409 * insetgraphics.C: Change GRAPHICS to Graphics.
410 Changed image conversion rules (documented at the beginning of file).
412 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
414 * insetert.C (get_new_label): int -> Paragraph::size_type to get
417 * insetgraphics.C: added a using std::endl directive.
419 * insetcommand.h (getScreenLabel): removed pure virtual function,
420 as it duplicates that in InsetButton.
422 * insetbib.[Ch] (getScreenLabel):
423 * insetbutton.[Ch] (getScreenLabel):
424 * insetcite.[Ch] (getScreenLabel):
425 * insetert.[Ch] (getScreenLabel):
426 * insetexternal.[Ch] (getScreenLabel):
427 * insetfloatlist.[Ch] (getScreenLabel):
428 * insetinclude.[Ch] (getScreenLabel):
429 * insetindex.[Ch] (getScreenLabel):
430 * insetlabel.h (getScreenLabel):
431 * insetparent.[Ch] (getScreenLabel):
432 * insetref.[Ch] (getScreenLabel):
433 * insettoc.[Ch] (getScreenLabel):
434 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
436 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
438 (validate): remove check on "cite" when using natbib.
440 2001-07-26 Baruch Even <baruch@lyx.org>
442 * insetgraphics.C (draw): changed casting to be in one place rather than
443 all over the function.
446 * insetgraphics.C (read): Added compatibility reads of InsetFig.
448 * insetgraphicsParams.h:
449 * insetgraphicsParams.C:
450 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
452 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
454 * insetfoot.C (validate): Added method to ensure that the
455 right bit of LaTeX is emitted.
457 * insetfoot.h: Added validate method to set the correct
458 LaTeXFeatures bit for the special footnote code.
460 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
462 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
465 2001-07-27 Juergen Vigna <jug@sad.it>
467 * inset.h: remove not used font variable in parameter.
468 removed checkInsertChar in UpdatableInset as it was equal to
469 the one in Inset and so not needed.
471 * insetert.C (checkInsertChar): implementation of function
474 * inset.h: added new function checkInsertChar.
476 * various files: added c-tor and clone() function.
478 * insetcollapsable.h: removed clone function here as this should
479 be only realized in REAL insets and added it to all collapsable
480 insets! (with the copy-constructor).
482 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * insetminipage.C (read): handle missing parameters more gracefully
486 * insetcollapsable.C (read): handel missing collapsed more gracefully
488 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
490 * insetfloat.C (read): handle missing parameters.
492 * insettext.C (read): handle old latex end_inset
494 * insetert.C (setButtonLabel): new method
495 (init): use it, to set the dynamic label correctly
498 * Makefile.am (EXTRA_DIST): add files that is not part or the
501 * insetcollapsable.h: remove autocollapsable (no users), remove
502 draw_label, change_label_with_text and companion code. Remove args
504 * insetert.[Ch]: move here instead (only user)
506 * inset.h: rename private variable name to name_, make
507 selectNextWord return a const string. make getInsetName return a
508 string const &. Remove bool from open, add close.
510 * Makefile.am: don't compile insetlist, insetsection
513 2001-07-24 Juergen Vigna <jug@sad.it>
515 * insetert.C (InsetERT): put init after the paragraph initialization,
516 as otherwise we don't set the draw_label right.
518 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
519 insets with the mouse without having strange selections.
520 (edit): if the inset was collapsed and we open it here then put the
521 cursor always at the beginning of the inset.
522 (get_new_label): 15 instead of 10 max chars in the label.
524 * insetert.C (localDispatch): added and handle various stuff we
525 need to handle here (font setting on paragraph break, not permitted
526 layout setting, etc.).
528 * inset.h: added default copy-consturctor and implemented this in
529 various insets with the change to use this in the clone function!
531 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * insetminipage.C (InsetMinipage): set background color to red :)
535 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
538 draw frame mode is LOCKED.
540 * insetcollapsable.C (edit):
541 (insetButtonRelease): set update status to full when
544 * insettext.C (clearInset):
545 * insettabular.C (draw):
546 * insetlatexaccent.C (draw): honor background color.
548 * inset.h: new member background_color_, initialized to
551 * inset.C (backgroundColor): new method.
552 (setBackgroundColor): new method.
554 * insetert.C (init): new method, called by the ctors.
555 (InsetERT): when inserting contents, make sure the font is
558 * insetnote.C (InsetNote): when inserting content, remove trailing
560 (init): set background color to LColor::note
562 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * insetcollapsable.C: adjust
566 * insetbutton.C: adjust
568 2001-07-23 Juergen Vigna <jug@sad.it>
570 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
571 parameter on the _collapsed function (was not needed) and call
572 always width_collapsed().
574 * insetert.C (InsetERT): use setLabel with "true" flag.
576 * insetcollapsable.C: modified various functions to set the draw_label
577 string right in any condition.
578 (setLabel): added a bool parameter to set change_label_with_text.
580 * insetcollapsable.h: added draw_label string which is set to the
581 actual drawn label-string, while label is the original static label
582 of this collapsable inset. Added bool change_label_with_text to set
583 if we want that the label changes to the start of the InsetText's
584 text when collabpsed. You can set this flag with the setLabel funciton.
585 Added bool inlined for inlined collapsable insets, but not handled
588 * insetcollapsable.C (get_new_label): added should get a new label
589 from the InsetText beginning (for now 10 chars).
591 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
593 * insetquotes.C (latex): fix the handling of french double quotes
594 when not using the french pachage.
596 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * insetcollapsable.h: make WidthCollapsed mutable.
600 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
601 InsetPrintIndex returns INDEX_PRINT_CODE.
603 * inset.h: add INDEX_PRINT_CODE
605 * insetcollapsable.C (draw): init widthCollapsed if necessary
608 * insetquotes.C (width): use the local language, not the document
611 (dispString): add additional spacing for all french languages,
613 (validate): make it work when there is no default language
615 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
617 * insetnote.C (init): new method, called by the constructors
618 (InsetNote): new constructor with contents passed as a string
620 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * insetfootlike.C (insetAllowed): disallow float in footlike.
624 * insetert.C (InsetERT): add collapsed argument to the constrctor
627 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
629 * insetindex.h: shut off warning
631 2001-07-20 Juergen Vigna <jug@sad.it>
633 * insetcollapsable.C (update): recoded hopefully works now!
635 2001-07-19 Juergen Vigna <jug@sad.it>
637 * most files: implemented the below new introduced function.
639 * inset.h: added new edit(BufferView *, bool front) method to be able
640 to enter an inset from the front/back without knowing x/y positions
641 and baselines inside the inset. So I just can tell the inset activate
642 me and set the cursor on the front/back of yourself.
644 2001-07-18 Juergen Vigna <jug@sad.it>
646 * insetcollapsable.C (edit): fixed hopefully the y parameter which
647 is givven to the InsetText.
648 (insetButtonPress): ditto
649 (insetButtonRelease): ditto
650 (insetMotionNotify): ditto
652 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
655 LIGATURE_BREAK, since the name is so stupid.
657 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
659 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
660 the default InsetCollapsable methods. I.e., it can insert anything.
661 (write) output the name of the inset, not some silly hack for
662 compatability with the old InsetInfo.
664 * insetinfo.[Ch]: removed.
665 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
666 now collapsable, but functionality is otherwise identical to InsetInfo.
668 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
670 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
675 * insetquotes.C: general cleanup
676 (dispString): add spaces inside french double quotes.
677 (latex): ditto. Moreover, treat first the case where the frenchb
678 or french options have been given.
680 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
682 * insetcite.[Ch] (latex, validate): new methods, required for natbib
685 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
687 * figinset.C (RegisterFigure): Print debug message only when
688 current_view is available.
690 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * many files: update to match the change below
694 * inset.h (insetAllowed): renamed from insertInsetAllowed;
695 implement the version which takes an inset here.
697 * insetcollapsable.[Ch]: implement open and isOpen
699 * inset.h: remove insertInsetAllowed from Inset
700 (open): new method, to open or close an inset
701 (isOpen): returns the status of an inset
702 (isCollapsable, colapse): removed
704 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
706 * insetquotes.C (dispString): display french guillemets when using
709 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
711 * insetcollapsable.h: remove bogus return statements
713 2001-07-18 Juergen Vigna <jug@sad.it>
715 * insettabular.C (selectNextWord): fixed spellchecking for the
716 first cell of a tabular (wasn't entered!)
717 (getLyXText): changed to enter automatically insettext and return
718 it's LyXText if we're locked.
720 2001-07-17 Juergen Vigna <jug@sad.it>
722 * various files: implemented the below functions.
724 * inset.h: added functions
725 - virtual string selectNextWord(BufferView *, float & value) const;
726 - virtual void selectSelectedWord(BufferView *) { return; }
727 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
728 needed for spellchecking correctly!
730 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
732 * insetert.C (latex): write out all paragraphs.
734 2001-07-17 Baruch Even <baruch@lyx.org>
736 * insetgraphics.C (draw): Removed unneeded casts.
738 2001-07-16 Juergen Vigna <jug@sad.it>
740 * insettext.C (update): fixed small oversight (reset lt to 0).
742 2001-07-14 Baruch Even <baruch@lyx.org>
745 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
747 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
749 Consistent use of Lsstream.h:
750 * figinset.C: removed using std::ostringstream directive.
752 * insetgraphics.C (createLatexOptions):
753 * insetinclude.C (unique_id):
754 std::ostringstream -> ostringstream.
755 * insettext.C (localDispatch): std::istringstream -> istringstream.
757 2001-07-13 Juergen Vigna <jug@sad.it>
759 * insetfloat.C (insertInsetAllowed): added missing const_cast.
761 * insetcollapsable.C (getLockingInset): ditto.
763 2001-07-12 Juergen Vigna <jug@sad.it>
765 * insetcollapsable.h: added implementation of new function for
768 * various files: added implementation of new insertInsetAllowed-func
769 and redone the function a bit more.
771 * inset.h: added isCollapsable(), bool collapsed(),
772 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
774 * insetfloat.C (insertInsetAllowed): make a bit more checks.
776 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
777 LyXText which is marked for removal while we're using it!
779 * insettext.h: added private LyXText * lt to use it to assure we are
780 not deleting our LyXText while we're using it!
782 2001-07-11 Juergen Vigna <jug@sad.it>
784 * insettext.C (insertInset): check if we are before the inset after
785 inserting it! This check IS needed. Remove the Undo-Call as it is
786 called in LyXText::insertInset!
788 * insettext.h: added struct InnerCache.
790 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
791 that we ONLY delete the LyXText in the getLyXText() routine. So we
792 are sure we don't delete LyXText while someone is working with it!
794 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * insetexternal.C: (*it). -> it->
799 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
801 * insetcollapsable.C (edit): always open collapsed insets (even if
802 they are not autocollapsable)
804 * insetcommand.C (operator=): simplify.
806 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
808 * insetert.C (latex): handle META_NEWLINE
810 2001-07-09 Juergen Vigna <jug@sad.it>
812 * insetert.h: a normal InsetText can insert insets, but we won't.
814 * inset.h: return default "false" on insertInsetAllowed and implement
815 this function where a returnvalue != "false" is needed.
817 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
819 * insetert.C (InsetERT): new contructor
821 2001-07-06 Juergen Vigna <jug@sad.it>
823 * a lot of files: added implementation of the below new functions
824 and the change to clone(). Also the call of the new undo-functions
827 * inset.h: added an inset_id, added functions getParFromID,
828 getInsetFromID, firstParagraph, cursor and id functions, added
829 bool same_ids to clone function.
831 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
833 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
834 of BufferView * and shared_ptr<LyXText>
836 2001-07-05 Juergen Vigna <jug@sad.it>
838 * insettext.C (clear): deleted also the cache not only LyXText.
839 (setParagraphData): ditto.
841 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
843 * insetfloat.C (latex): let the specific placement take presedence
844 if set, otherwise choose document placement if set, otherwise just
845 use float default placement.
847 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
849 * insettext.C (localDispatch): call CutAndPaste::'s static method
852 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
854 * insetbib.C: no meed to include forms.h here.
856 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
858 * insettext.C: added using std::make_pair directive.
860 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
862 * insettext.C (getLyXText): avoid multiple lookups, and simplify
864 (deleteLyXText): ditto
865 (resizeLyXText): ditto
867 2001-07-02 Juergen Vigna <jug@sad.it>
869 * insettext.C (getLyXText): introduce a cache in getLyXText so that
870 following calls are only returned the right pointer without the over
871 head to search in the map.
872 (various funcs): reset the cached_bview variable as this signs that
873 the cache is not valid anymore.
875 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
877 * insettabular.C (clone): do not copy the LyXTabular twice
879 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
881 * insettext.h (TEXT): delete method
883 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
885 * insetmarginal.C (latex):
886 * insetfoot.C (latex): fix spacing of notes in LaTeX
888 * insettext.C (localDispatch): use .c_str() on istringstream
889 constructor argument.
891 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
896 * inseturl.C: fix method names in these to begin
897 with small char too, so they inherit
899 2001-06-28 Juergen Vigna <jug@sad.it>
901 * insettext.C (setFont): fixed font settings using toggleFree()
902 instead of setFont().
904 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
906 * Change a lot of method names to begin with a small char.
907 Changes to a lot of files because of this.
909 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
911 * insetfloatlist.C (Write): std:: qualify ostream
914 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
918 * insetgraphics.C: send debug output to Debug::INFO instead of
921 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
924 * insettabular.C (getStatus): update to use func_status
926 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
928 * insetref.C (DocBook): added support for cross-references without
931 2001-06-26 The LyX Project <jug@sad.it>
936 * insetlabel.h: removed escape method and moved it to
939 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
941 * insettabular.C (getMaxWidth): do the speedup in a different way,
944 2001-06-24 The LyX Project <Asger>
946 * insettabular.C (getMaxWidth): We cache a mapping from
947 inset to cell in order to speed this method up.
949 2001-06-24 The LyX Project <Asger>
951 * insettext.C: Optimized InsetText::draw or something.
953 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
955 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
957 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
959 * inset.h: name change from lyxinset.h
961 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
963 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
965 2001-06-14 Juergen Vigna <jug@sad.it>
967 * insettext.C (draw): removed warnings.
969 2001-06-13 Juergen Vigna <jug@sad.it>
971 * insettabular.C (nodraw): only go down the tree if we don't have
972 that flag set otherwise it's obvious that we don't want to draw.
973 (LocalDispatch): do also an update if we have an undispached result.
975 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
978 * insetgraphicsParams.C:
979 * insettext.C: removed // -*- C++ -*- as first line.
981 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
983 * lyxinset.h (resizeLyXText): shut off warning about unused
986 2001-06-07 Juergen Vigna <jug@sad.it>
988 * insettext.C (resizeLyXText): honor the new force flag.
990 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
992 * insettabular.C (deleteLyXText): new function
994 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1002 * insetcollapsable.C:
1003 * insetcaption.C: LColor tidy
1005 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1007 * figinset.C: fix typo
1009 2001-06-01 Juergen Vigna <jug@sad.it>
1011 * insettabular.C (resetPos): small hack so that scroll is not set to
1012 0 when we are in the last column of a tabular. This is a problem we
1013 have because of constats 20 offset on both directions, so this can
1014 cause on the limit an endless loop.
1016 * insettext.C (SetFont): forgot that we can have locking insets ;)
1018 2001-05-31 Juergen Vigna <jug@sad.it>
1020 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1022 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1024 * figinset.C: add using std:: directive for the C functions which
1027 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1029 * insetfloat.C (Write): write out wide info
1030 (Read): read the wide info
1031 (Latex): use the wide info when creating latex.
1033 * insettext.C: adjust
1035 * insetgraphics.[Ch] (statusMessage): change to return string
1039 * figinset.C (runqueue): add std::
1042 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1044 * insetcite.C (Ascii): add std:: qualifier
1046 2001-05-28 Juergen Vigna <jug@sad.it>
1048 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1049 a endless-width inset (maxWidth < 0).
1050 (Edit): change language only if not equal.
1052 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1054 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1056 2001-05-16 Juergen Vigna <jug@sad.it>
1058 * insettext.C (selectAll): added
1059 (clearSelection): added
1061 * insettabular.C (SetFont): now we may set a font on a whole selection!
1062 (getSelection): added helper function.
1064 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1066 * insetcite.C (Ascii): Add method.
1068 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1071 * insetbib.C: fix path for OS/2 & Win32
1073 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1075 * insetfoot.C (Latex): don't use % after footnote.
1077 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1079 * insettext.C (Read): use clear
1080 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1082 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1084 * insetfloatlist.h: add a bunch of std:: qualifiers.
1086 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1088 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1089 FLOAT_LIST_CODE, renumber code list.
1091 * insettoc.C (getScreenLabel): remove support for float lists
1095 * insetfloatlist.[Ch]: new files
1097 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1099 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1101 * insettabular.C (LocalDispatch):
1102 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1105 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1107 * insettext.C: remvoe !NEW_INSETS cruft
1109 * insettabular.C: remove !NEW_INSETS cruft
1111 * insetcollapsable.h: remove !NEW_INSETS cruft
1113 * insetbib.C: remove !NEW_INSETS cruft
1115 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1117 * insettoc.C: hack to make listof algorithm work
1119 2001-04-20 Juergen Vigna <jug@sad.it>
1121 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1123 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1125 * insetquotes.C (Latex): improve the guard against
1126 unwanted !` and ?` ligatures. This should really be done in
1127 another place (to catch all this ligatures at low-level).
1129 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1131 * insettext.C (init): remvoe leftovers from cursor_visible change
1132 (draw): use c++ cast
1133 (LocalDispatch): dispatch LFUN_MESSAGE
1135 * insettabular.C (InsetTabular): remove leftovers from
1136 cursor_visible, and scoped_ptr changes
1137 (draw): use c++ cast
1139 * insetcollapsable.C (draw): use c++ cast
1141 * ExternalTemplate.h: inherit privaely from noncopyable
1142 * insetcommand.h: ditto
1143 * insetinclude.h: ditto
1145 2001-04-16 Allan Rae <rae@lyx.org>
1147 * insettoc.C (Ascii):
1148 * insettext.C (draw):
1149 * insettabular.C (setPos):
1150 * insetminipage.C (Read):
1151 * insetfloat.C (placement):
1152 * insetcaption.C (Ascii, DocBook):
1153 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1154 an unrecognised preprocessor directive. So ensure they're wrapped.
1156 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1159 * insetexternal.C: set view on Clone. Add _ to private members.
1161 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1163 * insettext.C (InsetText): fix new
1164 (InsetText): reindent some, simplify deletion of par list
1165 (clear): simplify deletion of par list, fix new
1166 (SetParagraphData): simplify deletion of par list
1168 * insettabular.[Ch] (getLabelList): implement new method
1170 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1172 * lyxinset.h: do not include gettext.h...
1180 * insetlatexaccent.C:
1184 * inseturl.C: ... and do it here instead
1186 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1188 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1190 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1192 * insetcollapsable.[Ch] (getLabelList): implement
1194 * insettext.[Ch] (getLabelList): implement
1196 * insettext.h: reindent
1198 * insettabular.h: make tabular a scoped_ptr
1200 * insettext.C (init): adjust for cursor_visible
1201 (ToggleInsetCursor): constify asc and desc, font, adjust for
1203 (ShowInsetCursor): constify asc and desc, font, adjust for
1205 (HideInsetCursor): adjust for cursor_visible
1207 * insettabular.C: reindent some
1208 (InsetTabular): adjust for scoped_ptr and cursor_visible
1209 (InsetTabular): ditto
1210 (~InsetTabular): delete delete
1211 (Clone): adjust for scoped_ptr
1212 (Read): constify old_format, adjust for scoped_ptr, move init of
1214 (draw): constify tx, localize loop vars.
1215 some other localization of variables, remove double initilizatons.
1217 * insetfoot.C: remove using std::ostream, add ostream where needed
1219 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1221 * lyxinset.h: some reindentaion, use initializer list for
1223 UpdatableInset: make cursor_visible a private var add
1224 public isCursorVisible(), add protected toggleCursorVisible() and
1225 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1227 * insettoc.C: remvoe using decl
1228 (getScreenLabel): make cmdname donst
1231 (Ascii): don't use endl
1233 * insetfootlike.C: remove using decl at file scope and add std::
1235 * insetmarginal.C: ditto
1237 * insetfoot.C: some reformatting
1239 * insetfloat.C (InsetButtonRelease): adjust the hit area
1241 * insetert.C (SetFont): some reformatting
1243 * insetcollapsable.C: some reformatting and constification
1244 (Clone): comment out.
1245 * insetcollapsable.h: some reformatting
1246 (Clone): comment out.
1251 2001-03-30 Juergen Vigna <jug@sad.it>
1253 * insetcollapsable.h: changen *inset to be a InsetText inset.
1255 * some files: changed to reflect the above change.
1257 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1259 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1260 InsetExternal::Params.
1261 Added operator==() and operator!=() for the Params struct.
1263 2001-03-29 Juergen Vigna <jug@sad.it>
1265 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1268 * insetminipage.C: removed widthp_ and all it's functions and changed
1269 to use new %-lengths of LyXLength.
1271 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1273 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1275 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1277 * insetgraphicsParams.C (operator!=): new function, needed by the
1278 ControlGraphics class.
1280 2001-03-28 Juergen Vigna <jug@sad.it>
1282 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1283 (checkAndActivateInset): don't use the values returned from
1284 call to bv->checkInsetHit.
1286 * insetminipage.C (Clone): set special minipage values.
1288 * insetcollapsable.C (draw): changed to draw the button in the
1289 upper left corner outside the textinset.
1290 (ascent): changed because of different drawing
1294 (InsetButtonPress): ditto
1295 (InsetButtonRelease): ditto
1296 (InsetMotionNotify): ditto
1298 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1300 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1304 2001-03-26 Juergen Vigna <jug@sad.it>
1306 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1308 * insettext.C (ShowInsetDialog): implemented above function.
1310 * insettabular.C (ShowInsetDialog): ditto
1312 * insetminipage.C (ShowInsetDialog): ditto
1314 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1316 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1317 InsetInclude::Params. Don't store a buffer * in Params. Store the
1318 master file name instead.
1320 2001-03-23 Juergen Vigna <jug@sad.it>
1322 * insetcollapsable.C (InsetMotionNotify):
1323 (InsetButtonRelease):
1324 (InsetButtonPress): fixed y-offset (minipages).
1326 * insettext.C (draw): force a FULL update if cleared == true.
1328 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1329 routine to draw the minipages on its position-flag.
1330 (InsetInInsetY): give back the right y position, because of minipage
1333 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1336 * insetfloat.C (DocBook): docbook export code.
1338 2001-03-22 Juergen Vigna <jug@sad.it>
1340 * insetminipage.C (getMaxWidth): added function to set the drawing
1342 (Read): should work now!
1344 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1345 if we create a new inset.
1347 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1349 * figinset.C (fl_set_preemptive_callback): moved definition outside
1352 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1354 * insetminipage.C (Read): prepare for reading of minipage arguments.
1356 2001-03-18 Baruch Even <baruch@lyx.org>
1358 * insetgraphics.C: Minor cleanups of the comments and code.
1360 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1362 * insetminipage.C (InsetMinipage): default to not collapsed
1364 2001-03-16 Juergen Vigna <jug@sad.it>
1366 * insetminipage.C (width): modified with to be a string
1367 (widthp): added widthp (for % width) support functions.
1368 (InsetButtonRelease): added to open the options dialog on button==3.
1369 (~InsetMinipage): added to hide the dialog.
1371 * insetminipage.h: added hideDialog signal
1373 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1375 * insetminipage.h: change the order or Position to match
1376 LyXParagraph::MINIPAGE_ALIGNMENT
1378 * several files: remvoe CXX_WORKING_NAMESPACES
1380 * ExternalTemplate.h: noncopyable is in namespace boost
1381 * insetinclude.h: ditto
1382 * insetcommand.h: ditto
1384 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1386 * insettext.C (Edit): #else# -> #else.
1387 * insettoc.C: added using directive.
1389 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1391 * insetminipage.h: add pos, inner_pos, width and height. + getters
1392 and setters for all of them.
1394 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1396 * insetinclude.C (Latex): Do not exit when the textclass of the
1397 included file differ from the textclass of the parent file.
1399 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1401 * ExternalTemplate.C (read): the reading of external insets now checks
1402 for \end_inset and removes it form the input stream.
1404 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1406 * ExternalTemplate.h:
1407 * ExternalTemplate.C:
1409 * insetexternal.C: move form to GUII
1411 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1414 * insetinclude.C: add InsetIncludeParams, use
1415 composition rather than derivation of InsetCommand
1417 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1419 * insettoc.C (Ascii): use the Buffer typedefs
1421 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1423 * insettoc.C (Ascii): implement for dynamic number of lists
1425 * insetcaption.[Ch]: update from new_insets branch
1426 * insetfloat.[Ch]: ditto
1428 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1431 * figinset.C: use new File Dialog
1433 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1435 * insettext.C: changes becuase of ParagraphParameters.
1437 2001-02-28 Baruch Even <baruch@ev-en.org>
1439 * insetgraphics.C (updateInset): Changed due to the change in
1442 2001-02-26 Juergen Vigna <jug@sad.it>
1444 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1445 handled in LyXText).
1447 2001-02-23 Juergen Vigna <jug@sad.it>
1449 * insettext.C (draw): some small repainting fixes.
1450 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1452 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1453 should be) and not an int.
1455 * insettabular.C (LocalDispatch): ditto
1457 * insettext.C (LocalDispatch): ditto
1459 * insetcollapsable.C (LocalDispatch): ditto
1461 2001-02-22 Juergen Vigna <jug@sad.it>
1463 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1464 DISPATCH it and we don't have a locking_inset.
1466 2001-02-21 Baruch Even <baruch@ev-en.org>
1468 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1469 instead of GraphicsCacheItem *.
1471 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1473 * insetcollapsable.C (getLyXText): add const qualifier to second
1476 2001-02-22 Juergen Vigna <jug@sad.it>
1478 * insettext.C (getLyXText): honor the recursive parameter.
1479 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1481 * inset.C (getLyXText): added bool recursive parameter.
1483 * insettext.C (SetUpdateStatus): or the update codes.
1484 (draw): check need_update with &.
1485 (InsetButtonPress): set no_selection to not put a selection when
1486 entering an inset and it is redraws in another spot.
1488 * insettext.h: made need_update an int.
1490 2001-02-20 Baruch Even <baruch@ev-en.org>
1493 * insetgraphisc.C: Changed to use better semantics when loading images
1494 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1496 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1500 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1501 consistent with InsetTabular.
1503 2001-02-19 Juergen Vigna <jug@sad.it>
1505 * insettabular.C (LocalDispatch): implement PAGE up/down.
1507 * insettext.C (draw): clear all of it on need_update==INIT too!
1509 * insettabular.C (InsetUnlock): always clear the selection.
1511 * inset.C (scroll): normally we only want to scroll the inset until
1512 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1514 2001-02-14 Juergen Vigna <jug@sad.it>
1516 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1517 (resetPos): fixed scroll behaviour.
1518 (LocalDispatch): do an update if moving cursor inside a table cell
1519 requests a scroll of the tabular.
1521 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1523 * insettext.C (textWidth): constify local var
1525 * insettabular.C: small cleanup.
1527 * insetfoot.C (Latex): constify local var
1529 * insetcollapsable.C: small cleanup.
1531 * figinset.C (runqueue): use compare instead of strcmp
1533 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1536 * insetinfo.C: remove cruft
1538 2001-02-14 Juergen Vigna <jug@sad.it>
1540 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1542 2001-02-13 Juergen Vigna <jug@sad.it>
1544 * insettext.C (InsertInset): don't move left (is this right?)
1546 * insettabular.C (LocalDispatch): use of the no_draw variable
1548 * insettabular.h: new no_draw variable to stop redraw
1550 * insettabular.C (TabularFeatures): fixed update for alignment change
1552 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1556 * insetbib.C: move dialogs to frontends/
1558 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1560 * insettext.C (LocalDispatch): Restore the language if the inset
1563 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1565 * insettext.C (moveRightIntern): Update the selection cursor.
1566 (moveLeftIntern): Ditto.
1568 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1570 * Makefile.am: remove BoundingBox.h
1572 * BoundingBox.h: removed
1574 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1576 * insettext.C (LocalDispatch): Update selection cursor when moving
1577 cursor to the right.
1578 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1579 (moveLeftIntern): Ditto.
1581 2001-02-05 Baruch Even <baruch.even@writeme.com>
1583 * insetgraphics.C: Updated automatic image conversion, it now goes into
1584 temporary directory instead of with the image itself.
1586 2001-01-21 Baruch Even <baruch@ev-en.org>
1588 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1589 to EPS or PNG when needed (support bitmap graphics).
1591 2000-11-02 Baruch Even <baruch@ev-en.org>
1594 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1595 and removal of commented out code.
1597 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1599 * insetbib.C (callback): Update citations if the key has changed.
1601 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1603 * insetbib.C (InsetBibKey): Better computation of default key.
1604 (getScreenLabel) Show both the key and the label.
1605 (getBibLabel): New method.
1606 (callback): Force a redraw if the inset have been changed.
1608 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1610 * insetref.C (getType, getName): Move methods from
1611 src/frontends/xforms/FormRef.C.
1613 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1615 * insettabular.C: Various improvements (use only one dummy position).
1617 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1619 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1620 par->bibkey->width. This fixes the crashes when running without
1621 gui or when having included documents.
1623 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1625 * insetcommand.C (getAsString, setFromString): Cleanup.
1627 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1629 * insetref.C: Add the array InsetRef::types that contains
1630 information about all supported reference types.
1632 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1634 * lyxinset.h: remove trailing comma in enum.
1636 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1638 * insettext.C: kill LyXBell.