1 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
3 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4 external_templates) to use the buffer->fileName() but only if
5 previewing. Generating a TeX file should make FPath return
8 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11 * insetert.C: fix some problems
13 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15 * insetexternal.C (doSubstitution): Added $$FPath token
16 to list of usable substitutions in external inset templates.
18 2001-10-24 Juergen Vigna <jug@sad.it>
20 * insettabular.C: use new ltType struct for setting longtable
21 header and footers also new UNSET enums.
23 2001-10-24 José Matos <jamatos@fep.up.pt>
25 * insettabular.C (linuxdoc): Now exports the ascii's table version.
26 (docbook): If the table is not inside a float then wrap it inside
27 <informaltable>...</informaltable>.
29 2001-10-23 José Matos <jamatos@fep.up.pt>
31 * insetref.C (docbook): removed / terminator to conform SGML.
33 * insetspecialchar.C (linuxdoc):
34 (docbook): Added support for special chars, more than ascii export.
36 2001-10-22 Juergen Vigna <jug@sad.it>
38 * insettext.C (checkInsertChar): added for REALLY checking the
39 font of the inserted char in the right inset!
41 2001-10-19 Juergen Vigna <jug@sad.it>
43 * inset.h: added method allowSpellcheck() so that insets who do
44 not have anything to spellcheck can tell and so they are over-jumped.
45 Implemented for InsetText and co.
47 2001-10-18 Juergen Vigna <jug@sad.it>
49 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
51 2001-10-15 José Matos <jamatos@fep.up.pt>
53 * insetert.C: allow export for docbook and linuxdoc
55 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
57 * insetquotes.C (dispString): handles latin3 and latin4 quotes
59 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
61 * insetquotes.C (dispString): fix handling of latin9 quotes
63 2001-10-03 Juergen Vigna <jug@sad.it>
67 * insetcollapsable.C: change updateInset calls to not tell BV that
68 we have changed status.
70 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
72 * insettabular.C (deletable): make const
74 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
76 * insetert.C (latex): Fix the returned value
78 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
80 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
81 Returns string(), so nothing in an ERT inset is spellchecked.
83 * insetgraphics.C (draw): print the filename if not displaying the
85 (width): make sure that the width and draw methods are consistent.
86 (updateInset): don't even load the image into cache if not displaying
89 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
91 * various files (selectNextWord): renamed as
92 selectNextWordToSpellcheck.
94 * insetgraphics.C (draw): remove the previous change. Right place
95 is in imageLoaderXPM.C.
96 (draw): don't display the image if params.display == NONE.
98 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
100 * figinset.C (runqueue):
101 * insetgraphics.C (draw): set background colour of inset from
102 background to the user-configurable graphicsbg.
104 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
106 * insetquotes.C (InsetQuotes): when trying to decide the side of
107 the quote, choose `left' only after a space or '('
109 2001-09-04 José Matos <jamatos@fep.up.pt>
143 * insettext.C (docbook): rename docBook method to docbook.
145 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
147 * inset.h (getFirstParagraph): New virtual method.
149 2001-08-20 Herbert Voss <voss@perce.de>
150 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
151 in the the bibtex-database-gui for inserting a line
154 If no style is given than there is no tex-output.
156 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
158 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
162 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
164 * insetert.C (latex): Fix output for multiple paragraphs.
165 (write): New code for writing paragraph data.
166 (read): Set font after reading the inset.
167 (localDispatch): Call set_latex_font() for more cases.
169 * insetnote.h: Add empty validate method.
172 * insetnote.C (InsetNote): Set language to the language of the
175 2001-08-16 Juergen Vigna <jug@sad.it>
177 * insettext.C: implemented the new FINISHED states.
179 * insettabular.C: ditto
181 * inset.h: added more FINISHED states for cursor right,up,down
183 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
185 * insetfloatlist.C: use "FloatName List"
187 2001-08-14 Juergen Vigna <jug@sad.it>
189 * insetert.C (edit): forgot to set status_ in edit calls!
191 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
193 * insettext.C: Compilation fix
195 2001-08-13 Juergen Vigna <jug@sad.it>
197 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
199 * insetcollapsable.C (edit): don't recollapse an already open inset.
201 * insettext.C: fixed problem when reinitializing LyXText by not doing
202 it while lt is in use and post this to the next possible time in
204 (searchForward): fixed not unlocking of inset if nothing found.
205 (edit): set cursor behind right (was set -1 pos).
207 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
209 * insettabular.C (tabularFeatures): fixed fix where deleting the
210 last row didn't get the right actcell!
212 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
214 * insettext.C (localDispatch): Change language only when the inset
217 2001-08-10 Juergen Vigna <jug@sad.it>
219 * insettabular.C (selectNextWordInt): use the front using edit call.
221 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
222 the parameter overwrite class variable inset.
224 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
226 * insettext.C (saveLyXTextState): check for invalid cursor-par.
227 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
229 * insettabular.C (calculate_dimensions_of_cells): let's try to call
230 update only for fixed with cells.
231 (resetPos): try to fix the lockup on spellchecking or s&r.
233 * insettext.C (update): comment this out as it seems first wrong
234 and second not needed anymore!
235 (some functions): call reinitLyXText() only in update() in all other
236 positions set only need_update = INIT.
238 2001-08-08 Juergen Vigna <jug@sad.it>
240 * insettabular.C (setPos): fixed wrong actrow < rows() check.
242 * insettext.C (insetUnlock): remove double-space on inset unlock.
244 * insetcollapsable.C (draw): fix returned x when label > inset-width.
246 * insettabular.C (update): fixed cursor positon after an insert.
247 (insetAllowed): do not allow to insert insets when not inside the
249 (draw): clear below an inset too as it could have changed height.
251 * inset.C (getMaxWidth): fixed width for inset in inset.
253 * insettext.C (update): small fix.
255 * insettabular.C (tabularFeatures): added selection support to
256 DELETE_ROW/DELETE_COLUMN.
258 2001-08-07 Juergen Vigna <jug@sad.it>
260 * inset.C (getMaxWidth): recoded and all it's implementations!
262 * insettext.C (init,setParagraph+constructors): cleanups
263 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
264 are new and I want do a save/restore of the cursor position which is
265 not possible anymore.
267 * insetcollapsable.C (searchBackward): recollapse inset if not found.
268 (searchBackward): ditto
269 (selectNextWord): ditto
271 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
273 * insetlatexaccent.C (checkContents): Add some debug messages
275 2001-08-07 Juergen Vigna <jug@sad.it>
277 * insetert.C (read): don't use InsetCollapsable::read as we don't
278 write the collapsed status anymore only the status.
281 2001-08-06 Juergen Vigna <jug@sad.it>
283 * insetert.C (set_latex_font): use LyXText's setFont directly.
285 * insettext.C (drawFrame): fixed one time more the right position
286 and size of the frame!
288 * insetert.C (~InsetERT): hide the dialog.
289 (showInsetDialog): added implementation
292 (status): new function for the status of the ERT inset (3-state).
293 (write): output also the status of the inset for readback!
294 (read): readback the status if available otherwise use collapsed_.
296 * insettext.C (edit): small fix of setting the position, which could
299 * insetert.C (width): implement this function for inlined viewing.
300 Added minimum width of 10 pixels!
302 * insetminipage.C (InsetMinipage): just change the colors a bit so
303 that border/background is a bit more visible. We will remove this
306 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
307 function for getting the important widths for drawing in various
308 functions and in LyXText.
309 (draw): fixed up a bit (frame drawing/clearing)
311 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
313 * inset.C (convertFont): delete method. not used.
315 2001-08-03 Juergen Vigna <jug@sad.it>
317 * insettext.C (setFont): don't call for a draw update if we're just
318 changing the cursor font!
320 2001-08-02 Juergen Vigna <jug@sad.it>
322 * insettext.C (draw): clear the background with the right color if
323 needed. Update myself if x&max-width changed and return without doing
324 anything. Let the update code handle the right stuff.
326 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
327 inside another inset.
329 2001-08-01 Juergen Vigna <jug@sad.it>
331 * insetcollapsable.C (update): added an in_update bool so we avoid
334 * insettabular.C (update): added an in_update bool so we avoid
337 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
339 (update): added an in_update bool so we avoid reentering.
341 * insettabular.C (localDispatch): clear col/row selection when doing
342 something else inside an inset.
344 * insettext.C (getLyXText): fixed bug when requesting a recursive
347 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
349 * insetcite.C (latex): Paranoia check. Make sure that there is no
350 whitespace between the citation keys.
352 2001-07-31 Juergen Vigna <jug@sad.it>
354 * inset.h (nodraw): make the set function also const so that this
355 can be called from inside other const functions.
357 * insetcollapsable.h: removed inline variable and moved it over
358 to the only user InsetERT.
360 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
361 inset opening immediately therein lying insets dialogs!
363 * insetert.C (localDispatch): set the font also if we don't have any
364 chars in this paragraph, otherwise if we delete all of em and start
365 writing we have the wrong font.
367 (draw): implemented for inline support
368 (insetButtonRelease): ditto.
370 2001-07-30 Juergen Vigna <jug@sad.it>
372 * insettext.C (reinitLyXText): new function to reinit the insets
373 text after lot's of paragraph changes. Use this instead of the
374 cache.clear() which is VERY dangerous.
376 * insetfloat.C (insetButtonRelease): we should only show the dialog
377 if we press on the label otherwise we have problems to open mouse
378 button 3 dialogs inside this float (f.ex. of a tabular!)
380 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * insetert.C: change back to "ERT"
384 * insetfloat.C: handliign of RMB on label added.
386 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
388 * insetgraphicsParams.C: #include LOstream.h here.
390 * insetfoot.h: remove InsetFoot:: qualifier.
392 2001-07-29 Baruch Even <baruch@lyx.org>
394 * ChangeLog: Hiding time travel evidence.
396 * insetgraphicsParams.h:
397 * insetgraphicsParams.C:
398 * insetgraphics.C: Added horizontal scale option, it actually scales both
399 directions since it keeps image proportions.
401 * insetgraphics.C: Fixed EPS detection to be non-hacky.
403 2001-07-29 Baruch Even <baruch@lyx.org>
405 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
406 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
408 HACKY! Will need to add an EPS detection routine like old InsetFig does!
410 2001-07-29 Baruch Even <baruch@lyx.org>
412 * insetgraphics.C: Added EPSI to be an alias of EPS.
414 2001-07-29 Baruch Even <baruch@lyx.org>
416 * insetgraphics.C: Change GRAPHICS to Graphics.
417 Changed image conversion rules (documented at the beginning of file).
419 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
421 * insetert.C (get_new_label): int -> Paragraph::size_type to get
424 * insetgraphics.C: added a using std::endl directive.
426 * insetcommand.h (getScreenLabel): removed pure virtual function,
427 as it duplicates that in InsetButton.
429 * insetbib.[Ch] (getScreenLabel):
430 * insetbutton.[Ch] (getScreenLabel):
431 * insetcite.[Ch] (getScreenLabel):
432 * insetert.[Ch] (getScreenLabel):
433 * insetexternal.[Ch] (getScreenLabel):
434 * insetfloatlist.[Ch] (getScreenLabel):
435 * insetinclude.[Ch] (getScreenLabel):
436 * insetindex.[Ch] (getScreenLabel):
437 * insetlabel.h (getScreenLabel):
438 * insetparent.[Ch] (getScreenLabel):
439 * insetref.[Ch] (getScreenLabel):
440 * insettoc.[Ch] (getScreenLabel):
441 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
443 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
445 (validate): remove check on "cite" when using natbib.
447 2001-07-26 Baruch Even <baruch@lyx.org>
449 * insetgraphics.C (draw): changed casting to be in one place rather than
450 all over the function.
453 * insetgraphics.C (read): Added compatibility reads of InsetFig.
455 * insetgraphicsParams.h:
456 * insetgraphicsParams.C:
457 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
459 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
461 * insetfoot.C (validate): Added method to ensure that the
462 right bit of LaTeX is emitted.
464 * insetfoot.h: Added validate method to set the correct
465 LaTeXFeatures bit for the special footnote code.
467 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
469 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
472 2001-07-27 Juergen Vigna <jug@sad.it>
474 * inset.h: remove not used font variable in parameter.
475 removed checkInsertChar in UpdatableInset as it was equal to
476 the one in Inset and so not needed.
478 * insetert.C (checkInsertChar): implementation of function
481 * inset.h: added new function checkInsertChar.
483 * various files: added c-tor and clone() function.
485 * insetcollapsable.h: removed clone function here as this should
486 be only realized in REAL insets and added it to all collapsable
487 insets! (with the copy-constructor).
489 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
491 * insetminipage.C (read): handle missing parameters more gracefully
493 * insetcollapsable.C (read): handel missing collapsed more gracefully
495 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
497 * insetfloat.C (read): handle missing parameters.
499 * insettext.C (read): handle old latex end_inset
501 * insetert.C (setButtonLabel): new method
502 (init): use it, to set the dynamic label correctly
505 * Makefile.am (EXTRA_DIST): add files that is not part or the
508 * insetcollapsable.h: remove autocollapsable (no users), remove
509 draw_label, change_label_with_text and companion code. Remove args
511 * insetert.[Ch]: move here instead (only user)
513 * inset.h: rename private variable name to name_, make
514 selectNextWord return a const string. make getInsetName return a
515 string const &. Remove bool from open, add close.
517 * Makefile.am: don't compile insetlist, insetsection
520 2001-07-24 Juergen Vigna <jug@sad.it>
522 * insetert.C (InsetERT): put init after the paragraph initialization,
523 as otherwise we don't set the draw_label right.
525 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
526 insets with the mouse without having strange selections.
527 (edit): if the inset was collapsed and we open it here then put the
528 cursor always at the beginning of the inset.
529 (get_new_label): 15 instead of 10 max chars in the label.
531 * insetert.C (localDispatch): added and handle various stuff we
532 need to handle here (font setting on paragraph break, not permitted
533 layout setting, etc.).
535 * inset.h: added default copy-consturctor and implemented this in
536 various insets with the change to use this in the clone function!
538 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * insetminipage.C (InsetMinipage): set background color to red :)
542 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
544 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
545 draw frame mode is LOCKED.
547 * insetcollapsable.C (edit):
548 (insetButtonRelease): set update status to full when
551 * insettext.C (clearInset):
552 * insettabular.C (draw):
553 * insetlatexaccent.C (draw): honor background color.
555 * inset.h: new member background_color_, initialized to
558 * inset.C (backgroundColor): new method.
559 (setBackgroundColor): new method.
561 * insetert.C (init): new method, called by the ctors.
562 (InsetERT): when inserting contents, make sure the font is
565 * insetnote.C (InsetNote): when inserting content, remove trailing
567 (init): set background color to LColor::note
569 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
571 * insetcollapsable.C: adjust
573 * insetbutton.C: adjust
575 2001-07-23 Juergen Vigna <jug@sad.it>
577 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
578 parameter on the _collapsed function (was not needed) and call
579 always width_collapsed().
581 * insetert.C (InsetERT): use setLabel with "true" flag.
583 * insetcollapsable.C: modified various functions to set the draw_label
584 string right in any condition.
585 (setLabel): added a bool parameter to set change_label_with_text.
587 * insetcollapsable.h: added draw_label string which is set to the
588 actual drawn label-string, while label is the original static label
589 of this collapsable inset. Added bool change_label_with_text to set
590 if we want that the label changes to the start of the InsetText's
591 text when collabpsed. You can set this flag with the setLabel funciton.
592 Added bool inlined for inlined collapsable insets, but not handled
595 * insetcollapsable.C (get_new_label): added should get a new label
596 from the InsetText beginning (for now 10 chars).
598 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
600 * insetquotes.C (latex): fix the handling of french double quotes
601 when not using the french pachage.
603 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * insetcollapsable.h: make WidthCollapsed mutable.
607 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
608 InsetPrintIndex returns INDEX_PRINT_CODE.
610 * inset.h: add INDEX_PRINT_CODE
612 * insetcollapsable.C (draw): init widthCollapsed if necessary
615 * insetquotes.C (width): use the local language, not the document
618 (dispString): add additional spacing for all french languages,
620 (validate): make it work when there is no default language
622 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
624 * insetnote.C (init): new method, called by the constructors
625 (InsetNote): new constructor with contents passed as a string
627 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * insetfootlike.C (insetAllowed): disallow float in footlike.
631 * insetert.C (InsetERT): add collapsed argument to the constrctor
634 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
636 * insetindex.h: shut off warning
638 2001-07-20 Juergen Vigna <jug@sad.it>
640 * insetcollapsable.C (update): recoded hopefully works now!
642 2001-07-19 Juergen Vigna <jug@sad.it>
644 * most files: implemented the below new introduced function.
646 * inset.h: added new edit(BufferView *, bool front) method to be able
647 to enter an inset from the front/back without knowing x/y positions
648 and baselines inside the inset. So I just can tell the inset activate
649 me and set the cursor on the front/back of yourself.
651 2001-07-18 Juergen Vigna <jug@sad.it>
653 * insetcollapsable.C (edit): fixed hopefully the y parameter which
654 is givven to the InsetText.
655 (insetButtonPress): ditto
656 (insetButtonRelease): ditto
657 (insetMotionNotify): ditto
659 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
661 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
662 LIGATURE_BREAK, since the name is so stupid.
664 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
666 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
667 the default InsetCollapsable methods. I.e., it can insert anything.
668 (write) output the name of the inset, not some silly hack for
669 compatability with the old InsetInfo.
671 * insetinfo.[Ch]: removed.
672 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
673 now collapsable, but functionality is otherwise identical to InsetInfo.
675 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
677 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
682 * insetquotes.C: general cleanup
683 (dispString): add spaces inside french double quotes.
684 (latex): ditto. Moreover, treat first the case where the frenchb
685 or french options have been given.
687 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
689 * insetcite.[Ch] (latex, validate): new methods, required for natbib
692 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
694 * figinset.C (RegisterFigure): Print debug message only when
695 current_view is available.
697 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * many files: update to match the change below
701 * inset.h (insetAllowed): renamed from insertInsetAllowed;
702 implement the version which takes an inset here.
704 * insetcollapsable.[Ch]: implement open and isOpen
706 * inset.h: remove insertInsetAllowed from Inset
707 (open): new method, to open or close an inset
708 (isOpen): returns the status of an inset
709 (isCollapsable, colapse): removed
711 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
713 * insetquotes.C (dispString): display french guillemets when using
716 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
718 * insetcollapsable.h: remove bogus return statements
720 2001-07-18 Juergen Vigna <jug@sad.it>
722 * insettabular.C (selectNextWord): fixed spellchecking for the
723 first cell of a tabular (wasn't entered!)
724 (getLyXText): changed to enter automatically insettext and return
725 it's LyXText if we're locked.
727 2001-07-17 Juergen Vigna <jug@sad.it>
729 * various files: implemented the below functions.
731 * inset.h: added functions
732 - virtual string selectNextWord(BufferView *, float & value) const;
733 - virtual void selectSelectedWord(BufferView *) { return; }
734 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
735 needed for spellchecking correctly!
737 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
739 * insetert.C (latex): write out all paragraphs.
741 2001-07-17 Baruch Even <baruch@lyx.org>
743 * insetgraphics.C (draw): Removed unneeded casts.
745 2001-07-16 Juergen Vigna <jug@sad.it>
747 * insettext.C (update): fixed small oversight (reset lt to 0).
749 2001-07-14 Baruch Even <baruch@lyx.org>
752 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
754 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
756 Consistent use of Lsstream.h:
757 * figinset.C: removed using std::ostringstream directive.
759 * insetgraphics.C (createLatexOptions):
760 * insetinclude.C (unique_id):
761 std::ostringstream -> ostringstream.
762 * insettext.C (localDispatch): std::istringstream -> istringstream.
764 2001-07-13 Juergen Vigna <jug@sad.it>
766 * insetfloat.C (insertInsetAllowed): added missing const_cast.
768 * insetcollapsable.C (getLockingInset): ditto.
770 2001-07-12 Juergen Vigna <jug@sad.it>
772 * insetcollapsable.h: added implementation of new function for
775 * various files: added implementation of new insertInsetAllowed-func
776 and redone the function a bit more.
778 * inset.h: added isCollapsable(), bool collapsed(),
779 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
781 * insetfloat.C (insertInsetAllowed): make a bit more checks.
783 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
784 LyXText which is marked for removal while we're using it!
786 * insettext.h: added private LyXText * lt to use it to assure we are
787 not deleting our LyXText while we're using it!
789 2001-07-11 Juergen Vigna <jug@sad.it>
791 * insettext.C (insertInset): check if we are before the inset after
792 inserting it! This check IS needed. Remove the Undo-Call as it is
793 called in LyXText::insertInset!
795 * insettext.h: added struct InnerCache.
797 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
798 that we ONLY delete the LyXText in the getLyXText() routine. So we
799 are sure we don't delete LyXText while someone is working with it!
801 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
803 * insetexternal.C: (*it). -> it->
806 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
808 * insetcollapsable.C (edit): always open collapsed insets (even if
809 they are not autocollapsable)
811 * insetcommand.C (operator=): simplify.
813 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
815 * insetert.C (latex): handle META_NEWLINE
817 2001-07-09 Juergen Vigna <jug@sad.it>
819 * insetert.h: a normal InsetText can insert insets, but we won't.
821 * inset.h: return default "false" on insertInsetAllowed and implement
822 this function where a returnvalue != "false" is needed.
824 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
826 * insetert.C (InsetERT): new contructor
828 2001-07-06 Juergen Vigna <jug@sad.it>
830 * a lot of files: added implementation of the below new functions
831 and the change to clone(). Also the call of the new undo-functions
834 * inset.h: added an inset_id, added functions getParFromID,
835 getInsetFromID, firstParagraph, cursor and id functions, added
836 bool same_ids to clone function.
838 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
840 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
841 of BufferView * and shared_ptr<LyXText>
843 2001-07-05 Juergen Vigna <jug@sad.it>
845 * insettext.C (clear): deleted also the cache not only LyXText.
846 (setParagraphData): ditto.
848 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
850 * insetfloat.C (latex): let the specific placement take presedence
851 if set, otherwise choose document placement if set, otherwise just
852 use float default placement.
854 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
856 * insettext.C (localDispatch): call CutAndPaste::'s static method
859 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
861 * insetbib.C: no meed to include forms.h here.
863 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
865 * insettext.C: added using std::make_pair directive.
867 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
869 * insettext.C (getLyXText): avoid multiple lookups, and simplify
871 (deleteLyXText): ditto
872 (resizeLyXText): ditto
874 2001-07-02 Juergen Vigna <jug@sad.it>
876 * insettext.C (getLyXText): introduce a cache in getLyXText so that
877 following calls are only returned the right pointer without the over
878 head to search in the map.
879 (various funcs): reset the cached_bview variable as this signs that
880 the cache is not valid anymore.
882 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
884 * insettabular.C (clone): do not copy the LyXTabular twice
886 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
888 * insettext.h (TEXT): delete method
890 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
892 * insetmarginal.C (latex):
893 * insetfoot.C (latex): fix spacing of notes in LaTeX
895 * insettext.C (localDispatch): use .c_str() on istringstream
896 constructor argument.
898 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
903 * inseturl.C: fix method names in these to begin
904 with small char too, so they inherit
906 2001-06-28 Juergen Vigna <jug@sad.it>
908 * insettext.C (setFont): fixed font settings using toggleFree()
909 instead of setFont().
911 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
913 * Change a lot of method names to begin with a small char.
914 Changes to a lot of files because of this.
916 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
918 * insetfloatlist.C (Write): std:: qualify ostream
921 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
925 * insetgraphics.C: send debug output to Debug::INFO instead of
928 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
931 * insettabular.C (getStatus): update to use func_status
933 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
935 * insetref.C (DocBook): added support for cross-references without
938 2001-06-26 The LyX Project <jug@sad.it>
943 * insetlabel.h: removed escape method and moved it to
946 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
948 * insettabular.C (getMaxWidth): do the speedup in a different way,
951 2001-06-24 The LyX Project <Asger>
953 * insettabular.C (getMaxWidth): We cache a mapping from
954 inset to cell in order to speed this method up.
956 2001-06-24 The LyX Project <Asger>
958 * insettext.C: Optimized InsetText::draw or something.
960 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
962 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
964 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
966 * inset.h: name change from lyxinset.h
968 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
970 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
972 2001-06-14 Juergen Vigna <jug@sad.it>
974 * insettext.C (draw): removed warnings.
976 2001-06-13 Juergen Vigna <jug@sad.it>
978 * insettabular.C (nodraw): only go down the tree if we don't have
979 that flag set otherwise it's obvious that we don't want to draw.
980 (LocalDispatch): do also an update if we have an undispached result.
982 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
985 * insetgraphicsParams.C:
986 * insettext.C: removed // -*- C++ -*- as first line.
988 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
990 * lyxinset.h (resizeLyXText): shut off warning about unused
993 2001-06-07 Juergen Vigna <jug@sad.it>
995 * insettext.C (resizeLyXText): honor the new force flag.
997 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
999 * insettabular.C (deleteLyXText): new function
1001 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1009 * insetcollapsable.C:
1010 * insetcaption.C: LColor tidy
1012 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1014 * figinset.C: fix typo
1016 2001-06-01 Juergen Vigna <jug@sad.it>
1018 * insettabular.C (resetPos): small hack so that scroll is not set to
1019 0 when we are in the last column of a tabular. This is a problem we
1020 have because of constats 20 offset on both directions, so this can
1021 cause on the limit an endless loop.
1023 * insettext.C (SetFont): forgot that we can have locking insets ;)
1025 2001-05-31 Juergen Vigna <jug@sad.it>
1027 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1029 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1031 * figinset.C: add using std:: directive for the C functions which
1034 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1036 * insetfloat.C (Write): write out wide info
1037 (Read): read the wide info
1038 (Latex): use the wide info when creating latex.
1040 * insettext.C: adjust
1042 * insetgraphics.[Ch] (statusMessage): change to return string
1046 * figinset.C (runqueue): add std::
1049 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1051 * insetcite.C (Ascii): add std:: qualifier
1053 2001-05-28 Juergen Vigna <jug@sad.it>
1055 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1056 a endless-width inset (maxWidth < 0).
1057 (Edit): change language only if not equal.
1059 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1061 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1063 2001-05-16 Juergen Vigna <jug@sad.it>
1065 * insettext.C (selectAll): added
1066 (clearSelection): added
1068 * insettabular.C (SetFont): now we may set a font on a whole selection!
1069 (getSelection): added helper function.
1071 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1073 * insetcite.C (Ascii): Add method.
1075 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1078 * insetbib.C: fix path for OS/2 & Win32
1080 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1082 * insetfoot.C (Latex): don't use % after footnote.
1084 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1086 * insettext.C (Read): use clear
1087 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1089 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1091 * insetfloatlist.h: add a bunch of std:: qualifiers.
1093 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1095 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1096 FLOAT_LIST_CODE, renumber code list.
1098 * insettoc.C (getScreenLabel): remove support for float lists
1102 * insetfloatlist.[Ch]: new files
1104 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1106 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1108 * insettabular.C (LocalDispatch):
1109 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1112 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1114 * insettext.C: remvoe !NEW_INSETS cruft
1116 * insettabular.C: remove !NEW_INSETS cruft
1118 * insetcollapsable.h: remove !NEW_INSETS cruft
1120 * insetbib.C: remove !NEW_INSETS cruft
1122 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1124 * insettoc.C: hack to make listof algorithm work
1126 2001-04-20 Juergen Vigna <jug@sad.it>
1128 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1130 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1132 * insetquotes.C (Latex): improve the guard against
1133 unwanted !` and ?` ligatures. This should really be done in
1134 another place (to catch all this ligatures at low-level).
1136 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1138 * insettext.C (init): remvoe leftovers from cursor_visible change
1139 (draw): use c++ cast
1140 (LocalDispatch): dispatch LFUN_MESSAGE
1142 * insettabular.C (InsetTabular): remove leftovers from
1143 cursor_visible, and scoped_ptr changes
1144 (draw): use c++ cast
1146 * insetcollapsable.C (draw): use c++ cast
1148 * ExternalTemplate.h: inherit privaely from noncopyable
1149 * insetcommand.h: ditto
1150 * insetinclude.h: ditto
1152 2001-04-16 Allan Rae <rae@lyx.org>
1154 * insettoc.C (Ascii):
1155 * insettext.C (draw):
1156 * insettabular.C (setPos):
1157 * insetminipage.C (Read):
1158 * insetfloat.C (placement):
1159 * insetcaption.C (Ascii, DocBook):
1160 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1161 an unrecognised preprocessor directive. So ensure they're wrapped.
1163 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1166 * insetexternal.C: set view on Clone. Add _ to private members.
1168 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1170 * insettext.C (InsetText): fix new
1171 (InsetText): reindent some, simplify deletion of par list
1172 (clear): simplify deletion of par list, fix new
1173 (SetParagraphData): simplify deletion of par list
1175 * insettabular.[Ch] (getLabelList): implement new method
1177 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1179 * lyxinset.h: do not include gettext.h...
1187 * insetlatexaccent.C:
1191 * inseturl.C: ... and do it here instead
1193 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1195 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1197 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1199 * insetcollapsable.[Ch] (getLabelList): implement
1201 * insettext.[Ch] (getLabelList): implement
1203 * insettext.h: reindent
1205 * insettabular.h: make tabular a scoped_ptr
1207 * insettext.C (init): adjust for cursor_visible
1208 (ToggleInsetCursor): constify asc and desc, font, adjust for
1210 (ShowInsetCursor): constify asc and desc, font, adjust for
1212 (HideInsetCursor): adjust for cursor_visible
1214 * insettabular.C: reindent some
1215 (InsetTabular): adjust for scoped_ptr and cursor_visible
1216 (InsetTabular): ditto
1217 (~InsetTabular): delete delete
1218 (Clone): adjust for scoped_ptr
1219 (Read): constify old_format, adjust for scoped_ptr, move init of
1221 (draw): constify tx, localize loop vars.
1222 some other localization of variables, remove double initilizatons.
1224 * insetfoot.C: remove using std::ostream, add ostream where needed
1226 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1228 * lyxinset.h: some reindentaion, use initializer list for
1230 UpdatableInset: make cursor_visible a private var add
1231 public isCursorVisible(), add protected toggleCursorVisible() and
1232 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1234 * insettoc.C: remvoe using decl
1235 (getScreenLabel): make cmdname donst
1238 (Ascii): don't use endl
1240 * insetfootlike.C: remove using decl at file scope and add std::
1242 * insetmarginal.C: ditto
1244 * insetfoot.C: some reformatting
1246 * insetfloat.C (InsetButtonRelease): adjust the hit area
1248 * insetert.C (SetFont): some reformatting
1250 * insetcollapsable.C: some reformatting and constification
1251 (Clone): comment out.
1252 * insetcollapsable.h: some reformatting
1253 (Clone): comment out.
1258 2001-03-30 Juergen Vigna <jug@sad.it>
1260 * insetcollapsable.h: changen *inset to be a InsetText inset.
1262 * some files: changed to reflect the above change.
1264 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1266 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1267 InsetExternal::Params.
1268 Added operator==() and operator!=() for the Params struct.
1270 2001-03-29 Juergen Vigna <jug@sad.it>
1272 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1275 * insetminipage.C: removed widthp_ and all it's functions and changed
1276 to use new %-lengths of LyXLength.
1278 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1280 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1282 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1284 * insetgraphicsParams.C (operator!=): new function, needed by the
1285 ControlGraphics class.
1287 2001-03-28 Juergen Vigna <jug@sad.it>
1289 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1290 (checkAndActivateInset): don't use the values returned from
1291 call to bv->checkInsetHit.
1293 * insetminipage.C (Clone): set special minipage values.
1295 * insetcollapsable.C (draw): changed to draw the button in the
1296 upper left corner outside the textinset.
1297 (ascent): changed because of different drawing
1301 (InsetButtonPress): ditto
1302 (InsetButtonRelease): ditto
1303 (InsetMotionNotify): ditto
1305 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1307 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1311 2001-03-26 Juergen Vigna <jug@sad.it>
1313 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1315 * insettext.C (ShowInsetDialog): implemented above function.
1317 * insettabular.C (ShowInsetDialog): ditto
1319 * insetminipage.C (ShowInsetDialog): ditto
1321 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1323 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1324 InsetInclude::Params. Don't store a buffer * in Params. Store the
1325 master file name instead.
1327 2001-03-23 Juergen Vigna <jug@sad.it>
1329 * insetcollapsable.C (InsetMotionNotify):
1330 (InsetButtonRelease):
1331 (InsetButtonPress): fixed y-offset (minipages).
1333 * insettext.C (draw): force a FULL update if cleared == true.
1335 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1336 routine to draw the minipages on its position-flag.
1337 (InsetInInsetY): give back the right y position, because of minipage
1340 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1343 * insetfloat.C (DocBook): docbook export code.
1345 2001-03-22 Juergen Vigna <jug@sad.it>
1347 * insetminipage.C (getMaxWidth): added function to set the drawing
1349 (Read): should work now!
1351 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1352 if we create a new inset.
1354 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1356 * figinset.C (fl_set_preemptive_callback): moved definition outside
1359 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1361 * insetminipage.C (Read): prepare for reading of minipage arguments.
1363 2001-03-18 Baruch Even <baruch@lyx.org>
1365 * insetgraphics.C: Minor cleanups of the comments and code.
1367 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1369 * insetminipage.C (InsetMinipage): default to not collapsed
1371 2001-03-16 Juergen Vigna <jug@sad.it>
1373 * insetminipage.C (width): modified with to be a string
1374 (widthp): added widthp (for % width) support functions.
1375 (InsetButtonRelease): added to open the options dialog on button==3.
1376 (~InsetMinipage): added to hide the dialog.
1378 * insetminipage.h: added hideDialog signal
1380 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1382 * insetminipage.h: change the order or Position to match
1383 LyXParagraph::MINIPAGE_ALIGNMENT
1385 * several files: remvoe CXX_WORKING_NAMESPACES
1387 * ExternalTemplate.h: noncopyable is in namespace boost
1388 * insetinclude.h: ditto
1389 * insetcommand.h: ditto
1391 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1393 * insettext.C (Edit): #else# -> #else.
1394 * insettoc.C: added using directive.
1396 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1398 * insetminipage.h: add pos, inner_pos, width and height. + getters
1399 and setters for all of them.
1401 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1403 * insetinclude.C (Latex): Do not exit when the textclass of the
1404 included file differ from the textclass of the parent file.
1406 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1408 * ExternalTemplate.C (read): the reading of external insets now checks
1409 for \end_inset and removes it form the input stream.
1411 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1413 * ExternalTemplate.h:
1414 * ExternalTemplate.C:
1416 * insetexternal.C: move form to GUII
1418 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1421 * insetinclude.C: add InsetIncludeParams, use
1422 composition rather than derivation of InsetCommand
1424 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1426 * insettoc.C (Ascii): use the Buffer typedefs
1428 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1430 * insettoc.C (Ascii): implement for dynamic number of lists
1432 * insetcaption.[Ch]: update from new_insets branch
1433 * insetfloat.[Ch]: ditto
1435 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1438 * figinset.C: use new File Dialog
1440 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1442 * insettext.C: changes becuase of ParagraphParameters.
1444 2001-02-28 Baruch Even <baruch@ev-en.org>
1446 * insetgraphics.C (updateInset): Changed due to the change in
1449 2001-02-26 Juergen Vigna <jug@sad.it>
1451 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1452 handled in LyXText).
1454 2001-02-23 Juergen Vigna <jug@sad.it>
1456 * insettext.C (draw): some small repainting fixes.
1457 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1459 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1460 should be) and not an int.
1462 * insettabular.C (LocalDispatch): ditto
1464 * insettext.C (LocalDispatch): ditto
1466 * insetcollapsable.C (LocalDispatch): ditto
1468 2001-02-22 Juergen Vigna <jug@sad.it>
1470 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1471 DISPATCH it and we don't have a locking_inset.
1473 2001-02-21 Baruch Even <baruch@ev-en.org>
1475 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1476 instead of GraphicsCacheItem *.
1478 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1480 * insetcollapsable.C (getLyXText): add const qualifier to second
1483 2001-02-22 Juergen Vigna <jug@sad.it>
1485 * insettext.C (getLyXText): honor the recursive parameter.
1486 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1488 * inset.C (getLyXText): added bool recursive parameter.
1490 * insettext.C (SetUpdateStatus): or the update codes.
1491 (draw): check need_update with &.
1492 (InsetButtonPress): set no_selection to not put a selection when
1493 entering an inset and it is redraws in another spot.
1495 * insettext.h: made need_update an int.
1497 2001-02-20 Baruch Even <baruch@ev-en.org>
1500 * insetgraphisc.C: Changed to use better semantics when loading images
1501 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1503 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1507 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1508 consistent with InsetTabular.
1510 2001-02-19 Juergen Vigna <jug@sad.it>
1512 * insettabular.C (LocalDispatch): implement PAGE up/down.
1514 * insettext.C (draw): clear all of it on need_update==INIT too!
1516 * insettabular.C (InsetUnlock): always clear the selection.
1518 * inset.C (scroll): normally we only want to scroll the inset until
1519 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1521 2001-02-14 Juergen Vigna <jug@sad.it>
1523 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1524 (resetPos): fixed scroll behaviour.
1525 (LocalDispatch): do an update if moving cursor inside a table cell
1526 requests a scroll of the tabular.
1528 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1530 * insettext.C (textWidth): constify local var
1532 * insettabular.C: small cleanup.
1534 * insetfoot.C (Latex): constify local var
1536 * insetcollapsable.C: small cleanup.
1538 * figinset.C (runqueue): use compare instead of strcmp
1540 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1543 * insetinfo.C: remove cruft
1545 2001-02-14 Juergen Vigna <jug@sad.it>
1547 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1549 2001-02-13 Juergen Vigna <jug@sad.it>
1551 * insettext.C (InsertInset): don't move left (is this right?)
1553 * insettabular.C (LocalDispatch): use of the no_draw variable
1555 * insettabular.h: new no_draw variable to stop redraw
1557 * insettabular.C (TabularFeatures): fixed update for alignment change
1559 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1563 * insetbib.C: move dialogs to frontends/
1565 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1567 * insettext.C (LocalDispatch): Restore the language if the inset
1570 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1572 * insettext.C (moveRightIntern): Update the selection cursor.
1573 (moveLeftIntern): Ditto.
1575 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1577 * Makefile.am: remove BoundingBox.h
1579 * BoundingBox.h: removed
1581 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1583 * insettext.C (LocalDispatch): Update selection cursor when moving
1584 cursor to the right.
1585 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1586 (moveLeftIntern): Ditto.
1588 2001-02-05 Baruch Even <baruch.even@writeme.com>
1590 * insetgraphics.C: Updated automatic image conversion, it now goes into
1591 temporary directory instead of with the image itself.
1593 2001-01-21 Baruch Even <baruch@ev-en.org>
1595 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1596 to EPS or PNG when needed (support bitmap graphics).
1598 2000-11-02 Baruch Even <baruch@ev-en.org>
1601 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1602 and removal of commented out code.
1604 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1606 * insetbib.C (callback): Update citations if the key has changed.
1608 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1610 * insetbib.C (InsetBibKey): Better computation of default key.
1611 (getScreenLabel) Show both the key and the label.
1612 (getBibLabel): New method.
1613 (callback): Force a redraw if the inset have been changed.
1615 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1617 * insetref.C (getType, getName): Move methods from
1618 src/frontends/xforms/FormRef.C.
1620 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1622 * insettabular.C: Various improvements (use only one dummy position).
1624 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1626 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1627 par->bibkey->width. This fixes the crashes when running without
1628 gui or when having included documents.
1630 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1632 * insetcommand.C (getAsString, setFromString): Cleanup.
1634 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1636 * insetref.C: Add the array InsetRef::types that contains
1637 information about all supported reference types.
1639 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1641 * lyxinset.h: remove trailing comma in enum.
1643 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1645 * insettext.C: kill LyXBell.