1 2001-11-28 Juergen Vigna <jug@sad.it>
3 * insettabular.h: insert missing function allowSpellcheck()!
5 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
7 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
10 * insetfloatlist.C: derive from InsetCommand so gui can use it
13 2001-11-26 André Pönitz <poenitz@gmx.net>
17 * insetnote.C: reduce header dependencies, introduce type for
20 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
22 * various: update for Alert.h
24 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
26 * inset.h: fix comment
28 * insettext.C: use par->isInset()
30 2001-11-22 Allan Rae <rae@lyx.org>
33 * inset.h: Changes to checkInsertChar() behaviour.
34 Now return value indicates whether chars can be inserted.
36 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
38 * various: updated to use the new LaTeXFeatures
40 2001-11-14 José Matos <jamatos@fep.up.pt>
42 * insetspecialchar.C (linuxdoc):
43 (docbook): don't give a name to a unused variable.
45 * insettext.C (docbook): removed unused variable.
47 2001-11-13 Herbert Voss <voss@perce.de>
49 * insetgraphic.C: fix scale bug
51 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 (isLetter): new virtual methods.
56 * insetspecialchar.C (isSpace):
57 (isLetter): implement here.
59 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
61 * inset.h: new inline helpers
63 * insettext.C: use new helpers
65 2001-11-07 José Matos <jamatos@fep.up.pt>
67 * insettext.C (docbook): full support for paragraphs inside insettext.
69 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
71 * insetindex.C: added header file for std::ostream.
73 2001-11-03 José Matos <jamatos@fep.up.pt>
75 * insetindex.C: added using std::ostream that I forgot yesterday.
77 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
79 * insetindex.h (docbook):
80 * insetindex.C (docbook): added support for docbook export.
82 2001-11-02 José Matos <jamatos@fep.up.pt>
84 * insetcaption.C(docbook): added support for docbook export.
86 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
88 * insetexternal.C (updateExternal): Do not run update command if
89 result file exists and is up to date.
91 * ExternalTemplate.C (readFormat): Support the updateresult token.
93 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
95 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
96 external_templates) to use the buffer->fileName() but only if
97 previewing. Generating a TeX file should make FPath return
100 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
103 * insetert.C: fix some problems
105 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
107 * insetexternal.C (doSubstitution): Added $$FPath token
108 to list of usable substitutions in external inset templates.
110 2001-10-24 Juergen Vigna <jug@sad.it>
112 * insettabular.C: use new ltType struct for setting longtable
113 header and footers also new UNSET enums.
115 2001-10-24 José Matos <jamatos@fep.up.pt>
117 * insettabular.C (linuxdoc): Now exports the ascii's table version.
118 (docbook): If the table is not inside a float then wrap it inside
119 <informaltable>...</informaltable>.
121 2001-10-23 José Matos <jamatos@fep.up.pt>
123 * insetref.C (docbook): removed / terminator to conform SGML.
125 * insetspecialchar.C (linuxdoc):
126 (docbook): Added support for special chars, more than ascii export.
128 2001-10-22 Juergen Vigna <jug@sad.it>
130 * insettext.C (checkInsertChar): added for REALLY checking the
131 font of the inserted char in the right inset!
133 2001-10-19 Juergen Vigna <jug@sad.it>
135 * inset.h: added method allowSpellcheck() so that insets who do
136 not have anything to spellcheck can tell and so they are over-jumped.
137 Implemented for InsetText and co.
139 2001-10-18 Juergen Vigna <jug@sad.it>
141 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
143 2001-10-15 José Matos <jamatos@fep.up.pt>
145 * insetert.C: allow export for docbook and linuxdoc
147 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
149 * insetquotes.C (dispString): handles latin3 and latin4 quotes
151 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
153 * insetquotes.C (dispString): fix handling of latin9 quotes
155 2001-10-03 Juergen Vigna <jug@sad.it>
159 * insetcollapsable.C: change updateInset calls to not tell BV that
160 we have changed status.
162 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
164 * insettabular.C (deletable): make const
166 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
168 * insetert.C (latex): Fix the returned value
170 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
172 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
173 Returns string(), so nothing in an ERT inset is spellchecked.
175 * insetgraphics.C (draw): print the filename if not displaying the
177 (width): make sure that the width and draw methods are consistent.
178 (updateInset): don't even load the image into cache if not displaying
181 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
183 * various files (selectNextWord): renamed as
184 selectNextWordToSpellcheck.
186 * insetgraphics.C (draw): remove the previous change. Right place
187 is in imageLoaderXPM.C.
188 (draw): don't display the image if params.display == NONE.
190 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
192 * figinset.C (runqueue):
193 * insetgraphics.C (draw): set background colour of inset from
194 background to the user-configurable graphicsbg.
196 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
198 * insetquotes.C (InsetQuotes): when trying to decide the side of
199 the quote, choose `left' only after a space or '('
201 2001-09-04 José Matos <jamatos@fep.up.pt>
235 * insettext.C (docbook): rename docBook method to docbook.
237 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
239 * inset.h (getFirstParagraph): New virtual method.
241 2001-08-20 Herbert Voss <voss@perce.de>
242 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
243 in the the bibtex-database-gui for inserting a line
246 If no style is given than there is no tex-output.
248 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
250 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
254 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
256 * insetert.C (latex): Fix output for multiple paragraphs.
257 (write): New code for writing paragraph data.
258 (read): Set font after reading the inset.
259 (localDispatch): Call set_latex_font() for more cases.
261 * insetnote.h: Add empty validate method.
264 * insetnote.C (InsetNote): Set language to the language of the
267 2001-08-16 Juergen Vigna <jug@sad.it>
269 * insettext.C: implemented the new FINISHED states.
271 * insettabular.C: ditto
273 * inset.h: added more FINISHED states for cursor right,up,down
275 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
277 * insetfloatlist.C: use "FloatName List"
279 2001-08-14 Juergen Vigna <jug@sad.it>
281 * insetert.C (edit): forgot to set status_ in edit calls!
283 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
285 * insettext.C: Compilation fix
287 2001-08-13 Juergen Vigna <jug@sad.it>
289 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
291 * insetcollapsable.C (edit): don't recollapse an already open inset.
293 * insettext.C: fixed problem when reinitializing LyXText by not doing
294 it while lt is in use and post this to the next possible time in
296 (searchForward): fixed not unlocking of inset if nothing found.
297 (edit): set cursor behind right (was set -1 pos).
299 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
301 * insettabular.C (tabularFeatures): fixed fix where deleting the
302 last row didn't get the right actcell!
304 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
306 * insettext.C (localDispatch): Change language only when the inset
309 2001-08-10 Juergen Vigna <jug@sad.it>
311 * insettabular.C (selectNextWordInt): use the front using edit call.
313 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
314 the parameter overwrite class variable inset.
316 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
318 * insettext.C (saveLyXTextState): check for invalid cursor-par.
319 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
321 * insettabular.C (calculate_dimensions_of_cells): let's try to call
322 update only for fixed with cells.
323 (resetPos): try to fix the lockup on spellchecking or s&r.
325 * insettext.C (update): comment this out as it seems first wrong
326 and second not needed anymore!
327 (some functions): call reinitLyXText() only in update() in all other
328 positions set only need_update = INIT.
330 2001-08-08 Juergen Vigna <jug@sad.it>
332 * insettabular.C (setPos): fixed wrong actrow < rows() check.
334 * insettext.C (insetUnlock): remove double-space on inset unlock.
336 * insetcollapsable.C (draw): fix returned x when label > inset-width.
338 * insettabular.C (update): fixed cursor positon after an insert.
339 (insetAllowed): do not allow to insert insets when not inside the
341 (draw): clear below an inset too as it could have changed height.
343 * inset.C (getMaxWidth): fixed width for inset in inset.
345 * insettext.C (update): small fix.
347 * insettabular.C (tabularFeatures): added selection support to
348 DELETE_ROW/DELETE_COLUMN.
350 2001-08-07 Juergen Vigna <jug@sad.it>
352 * inset.C (getMaxWidth): recoded and all it's implementations!
354 * insettext.C (init,setParagraph+constructors): cleanups
355 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
356 are new and I want do a save/restore of the cursor position which is
357 not possible anymore.
359 * insetcollapsable.C (searchBackward): recollapse inset if not found.
360 (searchBackward): ditto
361 (selectNextWord): ditto
363 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
365 * insetlatexaccent.C (checkContents): Add some debug messages
367 2001-08-07 Juergen Vigna <jug@sad.it>
369 * insetert.C (read): don't use InsetCollapsable::read as we don't
370 write the collapsed status anymore only the status.
373 2001-08-06 Juergen Vigna <jug@sad.it>
375 * insetert.C (set_latex_font): use LyXText's setFont directly.
377 * insettext.C (drawFrame): fixed one time more the right position
378 and size of the frame!
380 * insetert.C (~InsetERT): hide the dialog.
381 (showInsetDialog): added implementation
384 (status): new function for the status of the ERT inset (3-state).
385 (write): output also the status of the inset for readback!
386 (read): readback the status if available otherwise use collapsed_.
388 * insettext.C (edit): small fix of setting the position, which could
391 * insetert.C (width): implement this function for inlined viewing.
392 Added minimum width of 10 pixels!
394 * insetminipage.C (InsetMinipage): just change the colors a bit so
395 that border/background is a bit more visible. We will remove this
398 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
399 function for getting the important widths for drawing in various
400 functions and in LyXText.
401 (draw): fixed up a bit (frame drawing/clearing)
403 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
405 * inset.C (convertFont): delete method. not used.
407 2001-08-03 Juergen Vigna <jug@sad.it>
409 * insettext.C (setFont): don't call for a draw update if we're just
410 changing the cursor font!
412 2001-08-02 Juergen Vigna <jug@sad.it>
414 * insettext.C (draw): clear the background with the right color if
415 needed. Update myself if x&max-width changed and return without doing
416 anything. Let the update code handle the right stuff.
418 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
419 inside another inset.
421 2001-08-01 Juergen Vigna <jug@sad.it>
423 * insetcollapsable.C (update): added an in_update bool so we avoid
426 * insettabular.C (update): added an in_update bool so we avoid
429 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
431 (update): added an in_update bool so we avoid reentering.
433 * insettabular.C (localDispatch): clear col/row selection when doing
434 something else inside an inset.
436 * insettext.C (getLyXText): fixed bug when requesting a recursive
439 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
441 * insetcite.C (latex): Paranoia check. Make sure that there is no
442 whitespace between the citation keys.
444 2001-07-31 Juergen Vigna <jug@sad.it>
446 * inset.h (nodraw): make the set function also const so that this
447 can be called from inside other const functions.
449 * insetcollapsable.h: removed inline variable and moved it over
450 to the only user InsetERT.
452 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
453 inset opening immediately therein lying insets dialogs!
455 * insetert.C (localDispatch): set the font also if we don't have any
456 chars in this paragraph, otherwise if we delete all of em and start
457 writing we have the wrong font.
459 (draw): implemented for inline support
460 (insetButtonRelease): ditto.
462 2001-07-30 Juergen Vigna <jug@sad.it>
464 * insettext.C (reinitLyXText): new function to reinit the insets
465 text after lot's of paragraph changes. Use this instead of the
466 cache.clear() which is VERY dangerous.
468 * insetfloat.C (insetButtonRelease): we should only show the dialog
469 if we press on the label otherwise we have problems to open mouse
470 button 3 dialogs inside this float (f.ex. of a tabular!)
472 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
474 * insetert.C: change back to "ERT"
476 * insetfloat.C: handliign of RMB on label added.
478 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
480 * insetgraphicsParams.C: #include LOstream.h here.
482 * insetfoot.h: remove InsetFoot:: qualifier.
484 2001-07-29 Baruch Even <baruch@lyx.org>
486 * ChangeLog: Hiding time travel evidence.
488 * insetgraphicsParams.h:
489 * insetgraphicsParams.C:
490 * insetgraphics.C: Added horizontal scale option, it actually scales both
491 directions since it keeps image proportions.
493 * insetgraphics.C: Fixed EPS detection to be non-hacky.
495 2001-07-29 Baruch Even <baruch@lyx.org>
497 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
498 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
500 HACKY! Will need to add an EPS detection routine like old InsetFig does!
502 2001-07-29 Baruch Even <baruch@lyx.org>
504 * insetgraphics.C: Added EPSI to be an alias of EPS.
506 2001-07-29 Baruch Even <baruch@lyx.org>
508 * insetgraphics.C: Change GRAPHICS to Graphics.
509 Changed image conversion rules (documented at the beginning of file).
511 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
513 * insetert.C (get_new_label): int -> Paragraph::size_type to get
516 * insetgraphics.C: added a using std::endl directive.
518 * insetcommand.h (getScreenLabel): removed pure virtual function,
519 as it duplicates that in InsetButton.
521 * insetbib.[Ch] (getScreenLabel):
522 * insetbutton.[Ch] (getScreenLabel):
523 * insetcite.[Ch] (getScreenLabel):
524 * insetert.[Ch] (getScreenLabel):
525 * insetexternal.[Ch] (getScreenLabel):
526 * insetfloatlist.[Ch] (getScreenLabel):
527 * insetinclude.[Ch] (getScreenLabel):
528 * insetindex.[Ch] (getScreenLabel):
529 * insetlabel.h (getScreenLabel):
530 * insetparent.[Ch] (getScreenLabel):
531 * insetref.[Ch] (getScreenLabel):
532 * insettoc.[Ch] (getScreenLabel):
533 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
535 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
537 (validate): remove check on "cite" when using natbib.
539 2001-07-26 Baruch Even <baruch@lyx.org>
541 * insetgraphics.C (draw): changed casting to be in one place rather than
542 all over the function.
545 * insetgraphics.C (read): Added compatibility reads of InsetFig.
547 * insetgraphicsParams.h:
548 * insetgraphicsParams.C:
549 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
551 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
553 * insetfoot.C (validate): Added method to ensure that the
554 right bit of LaTeX is emitted.
556 * insetfoot.h: Added validate method to set the correct
557 LaTeXFeatures bit for the special footnote code.
559 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
561 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
564 2001-07-27 Juergen Vigna <jug@sad.it>
566 * inset.h: remove not used font variable in parameter.
567 removed checkInsertChar in UpdatableInset as it was equal to
568 the one in Inset and so not needed.
570 * insetert.C (checkInsertChar): implementation of function
573 * inset.h: added new function checkInsertChar.
575 * various files: added c-tor and clone() function.
577 * insetcollapsable.h: removed clone function here as this should
578 be only realized in REAL insets and added it to all collapsable
579 insets! (with the copy-constructor).
581 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
583 * insetminipage.C (read): handle missing parameters more gracefully
585 * insetcollapsable.C (read): handel missing collapsed more gracefully
587 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
589 * insetfloat.C (read): handle missing parameters.
591 * insettext.C (read): handle old latex end_inset
593 * insetert.C (setButtonLabel): new method
594 (init): use it, to set the dynamic label correctly
597 * Makefile.am (EXTRA_DIST): add files that is not part or the
600 * insetcollapsable.h: remove autocollapsable (no users), remove
601 draw_label, change_label_with_text and companion code. Remove args
603 * insetert.[Ch]: move here instead (only user)
605 * inset.h: rename private variable name to name_, make
606 selectNextWord return a const string. make getInsetName return a
607 string const &. Remove bool from open, add close.
609 * Makefile.am: don't compile insetlist, insetsection
612 2001-07-24 Juergen Vigna <jug@sad.it>
614 * insetert.C (InsetERT): put init after the paragraph initialization,
615 as otherwise we don't set the draw_label right.
617 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
618 insets with the mouse without having strange selections.
619 (edit): if the inset was collapsed and we open it here then put the
620 cursor always at the beginning of the inset.
621 (get_new_label): 15 instead of 10 max chars in the label.
623 * insetert.C (localDispatch): added and handle various stuff we
624 need to handle here (font setting on paragraph break, not permitted
625 layout setting, etc.).
627 * inset.h: added default copy-consturctor and implemented this in
628 various insets with the change to use this in the clone function!
630 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * insetminipage.C (InsetMinipage): set background color to red :)
634 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
637 draw frame mode is LOCKED.
639 * insetcollapsable.C (edit):
640 (insetButtonRelease): set update status to full when
643 * insettext.C (clearInset):
644 * insettabular.C (draw):
645 * insetlatexaccent.C (draw): honor background color.
647 * inset.h: new member background_color_, initialized to
650 * inset.C (backgroundColor): new method.
651 (setBackgroundColor): new method.
653 * insetert.C (init): new method, called by the ctors.
654 (InsetERT): when inserting contents, make sure the font is
657 * insetnote.C (InsetNote): when inserting content, remove trailing
659 (init): set background color to LColor::note
661 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
663 * insetcollapsable.C: adjust
665 * insetbutton.C: adjust
667 2001-07-23 Juergen Vigna <jug@sad.it>
669 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
670 parameter on the _collapsed function (was not needed) and call
671 always width_collapsed().
673 * insetert.C (InsetERT): use setLabel with "true" flag.
675 * insetcollapsable.C: modified various functions to set the draw_label
676 string right in any condition.
677 (setLabel): added a bool parameter to set change_label_with_text.
679 * insetcollapsable.h: added draw_label string which is set to the
680 actual drawn label-string, while label is the original static label
681 of this collapsable inset. Added bool change_label_with_text to set
682 if we want that the label changes to the start of the InsetText's
683 text when collabpsed. You can set this flag with the setLabel funciton.
684 Added bool inlined for inlined collapsable insets, but not handled
687 * insetcollapsable.C (get_new_label): added should get a new label
688 from the InsetText beginning (for now 10 chars).
690 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
692 * insetquotes.C (latex): fix the handling of french double quotes
693 when not using the french pachage.
695 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * insetcollapsable.h: make WidthCollapsed mutable.
699 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
700 InsetPrintIndex returns INDEX_PRINT_CODE.
702 * inset.h: add INDEX_PRINT_CODE
704 * insetcollapsable.C (draw): init widthCollapsed if necessary
707 * insetquotes.C (width): use the local language, not the document
710 (dispString): add additional spacing for all french languages,
712 (validate): make it work when there is no default language
714 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
716 * insetnote.C (init): new method, called by the constructors
717 (InsetNote): new constructor with contents passed as a string
719 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * insetfootlike.C (insetAllowed): disallow float in footlike.
723 * insetert.C (InsetERT): add collapsed argument to the constrctor
726 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
728 * insetindex.h: shut off warning
730 2001-07-20 Juergen Vigna <jug@sad.it>
732 * insetcollapsable.C (update): recoded hopefully works now!
734 2001-07-19 Juergen Vigna <jug@sad.it>
736 * most files: implemented the below new introduced function.
738 * inset.h: added new edit(BufferView *, bool front) method to be able
739 to enter an inset from the front/back without knowing x/y positions
740 and baselines inside the inset. So I just can tell the inset activate
741 me and set the cursor on the front/back of yourself.
743 2001-07-18 Juergen Vigna <jug@sad.it>
745 * insetcollapsable.C (edit): fixed hopefully the y parameter which
746 is givven to the InsetText.
747 (insetButtonPress): ditto
748 (insetButtonRelease): ditto
749 (insetMotionNotify): ditto
751 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
753 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
754 LIGATURE_BREAK, since the name is so stupid.
756 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
758 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
759 the default InsetCollapsable methods. I.e., it can insert anything.
760 (write) output the name of the inset, not some silly hack for
761 compatability with the old InsetInfo.
763 * insetinfo.[Ch]: removed.
764 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
765 now collapsable, but functionality is otherwise identical to InsetInfo.
767 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
769 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
774 * insetquotes.C: general cleanup
775 (dispString): add spaces inside french double quotes.
776 (latex): ditto. Moreover, treat first the case where the frenchb
777 or french options have been given.
779 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
781 * insetcite.[Ch] (latex, validate): new methods, required for natbib
784 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
786 * figinset.C (RegisterFigure): Print debug message only when
787 current_view is available.
789 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * many files: update to match the change below
793 * inset.h (insetAllowed): renamed from insertInsetAllowed;
794 implement the version which takes an inset here.
796 * insetcollapsable.[Ch]: implement open and isOpen
798 * inset.h: remove insertInsetAllowed from Inset
799 (open): new method, to open or close an inset
800 (isOpen): returns the status of an inset
801 (isCollapsable, colapse): removed
803 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
805 * insetquotes.C (dispString): display french guillemets when using
808 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
810 * insetcollapsable.h: remove bogus return statements
812 2001-07-18 Juergen Vigna <jug@sad.it>
814 * insettabular.C (selectNextWord): fixed spellchecking for the
815 first cell of a tabular (wasn't entered!)
816 (getLyXText): changed to enter automatically insettext and return
817 it's LyXText if we're locked.
819 2001-07-17 Juergen Vigna <jug@sad.it>
821 * various files: implemented the below functions.
823 * inset.h: added functions
824 - virtual string selectNextWord(BufferView *, float & value) const;
825 - virtual void selectSelectedWord(BufferView *) { return; }
826 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
827 needed for spellchecking correctly!
829 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
831 * insetert.C (latex): write out all paragraphs.
833 2001-07-17 Baruch Even <baruch@lyx.org>
835 * insetgraphics.C (draw): Removed unneeded casts.
837 2001-07-16 Juergen Vigna <jug@sad.it>
839 * insettext.C (update): fixed small oversight (reset lt to 0).
841 2001-07-14 Baruch Even <baruch@lyx.org>
844 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
846 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
848 Consistent use of Lsstream.h:
849 * figinset.C: removed using std::ostringstream directive.
851 * insetgraphics.C (createLatexOptions):
852 * insetinclude.C (unique_id):
853 std::ostringstream -> ostringstream.
854 * insettext.C (localDispatch): std::istringstream -> istringstream.
856 2001-07-13 Juergen Vigna <jug@sad.it>
858 * insetfloat.C (insertInsetAllowed): added missing const_cast.
860 * insetcollapsable.C (getLockingInset): ditto.
862 2001-07-12 Juergen Vigna <jug@sad.it>
864 * insetcollapsable.h: added implementation of new function for
867 * various files: added implementation of new insertInsetAllowed-func
868 and redone the function a bit more.
870 * inset.h: added isCollapsable(), bool collapsed(),
871 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
873 * insetfloat.C (insertInsetAllowed): make a bit more checks.
875 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
876 LyXText which is marked for removal while we're using it!
878 * insettext.h: added private LyXText * lt to use it to assure we are
879 not deleting our LyXText while we're using it!
881 2001-07-11 Juergen Vigna <jug@sad.it>
883 * insettext.C (insertInset): check if we are before the inset after
884 inserting it! This check IS needed. Remove the Undo-Call as it is
885 called in LyXText::insertInset!
887 * insettext.h: added struct InnerCache.
889 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
890 that we ONLY delete the LyXText in the getLyXText() routine. So we
891 are sure we don't delete LyXText while someone is working with it!
893 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
895 * insetexternal.C: (*it). -> it->
898 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
900 * insetcollapsable.C (edit): always open collapsed insets (even if
901 they are not autocollapsable)
903 * insetcommand.C (operator=): simplify.
905 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * insetert.C (latex): handle META_NEWLINE
909 2001-07-09 Juergen Vigna <jug@sad.it>
911 * insetert.h: a normal InsetText can insert insets, but we won't.
913 * inset.h: return default "false" on insertInsetAllowed and implement
914 this function where a returnvalue != "false" is needed.
916 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
918 * insetert.C (InsetERT): new contructor
920 2001-07-06 Juergen Vigna <jug@sad.it>
922 * a lot of files: added implementation of the below new functions
923 and the change to clone(). Also the call of the new undo-functions
926 * inset.h: added an inset_id, added functions getParFromID,
927 getInsetFromID, firstParagraph, cursor and id functions, added
928 bool same_ids to clone function.
930 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
932 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
933 of BufferView * and shared_ptr<LyXText>
935 2001-07-05 Juergen Vigna <jug@sad.it>
937 * insettext.C (clear): deleted also the cache not only LyXText.
938 (setParagraphData): ditto.
940 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
942 * insetfloat.C (latex): let the specific placement take presedence
943 if set, otherwise choose document placement if set, otherwise just
944 use float default placement.
946 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
948 * insettext.C (localDispatch): call CutAndPaste::'s static method
951 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
953 * insetbib.C: no meed to include forms.h here.
955 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
957 * insettext.C: added using std::make_pair directive.
959 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
961 * insettext.C (getLyXText): avoid multiple lookups, and simplify
963 (deleteLyXText): ditto
964 (resizeLyXText): ditto
966 2001-07-02 Juergen Vigna <jug@sad.it>
968 * insettext.C (getLyXText): introduce a cache in getLyXText so that
969 following calls are only returned the right pointer without the over
970 head to search in the map.
971 (various funcs): reset the cached_bview variable as this signs that
972 the cache is not valid anymore.
974 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
976 * insettabular.C (clone): do not copy the LyXTabular twice
978 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
980 * insettext.h (TEXT): delete method
982 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
984 * insetmarginal.C (latex):
985 * insetfoot.C (latex): fix spacing of notes in LaTeX
987 * insettext.C (localDispatch): use .c_str() on istringstream
988 constructor argument.
990 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
995 * inseturl.C: fix method names in these to begin
996 with small char too, so they inherit
998 2001-06-28 Juergen Vigna <jug@sad.it>
1000 * insettext.C (setFont): fixed font settings using toggleFree()
1001 instead of setFont().
1003 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1005 * Change a lot of method names to begin with a small char.
1006 Changes to a lot of files because of this.
1008 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1010 * insetfloatlist.C (Write): std:: qualify ostream
1013 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1017 * insetgraphics.C: send debug output to Debug::INFO instead of
1020 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1023 * insettabular.C (getStatus): update to use func_status
1025 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
1027 * insetref.C (DocBook): added support for cross-references without
1030 2001-06-26 The LyX Project <jug@sad.it>
1035 * insetlabel.h: removed escape method and moved it to
1038 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1040 * insettabular.C (getMaxWidth): do the speedup in a different way,
1043 2001-06-24 The LyX Project <Asger>
1045 * insettabular.C (getMaxWidth): We cache a mapping from
1046 inset to cell in order to speed this method up.
1048 2001-06-24 The LyX Project <Asger>
1050 * insettext.C: Optimized InsetText::draw or something.
1052 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
1054 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1056 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1058 * inset.h: name change from lyxinset.h
1060 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
1062 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1064 2001-06-14 Juergen Vigna <jug@sad.it>
1066 * insettext.C (draw): removed warnings.
1068 2001-06-13 Juergen Vigna <jug@sad.it>
1070 * insettabular.C (nodraw): only go down the tree if we don't have
1071 that flag set otherwise it's obvious that we don't want to draw.
1072 (LocalDispatch): do also an update if we have an undispached result.
1074 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1077 * insetgraphicsParams.C:
1078 * insettext.C: removed // -*- C++ -*- as first line.
1080 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1082 * lyxinset.h (resizeLyXText): shut off warning about unused
1085 2001-06-07 Juergen Vigna <jug@sad.it>
1087 * insettext.C (resizeLyXText): honor the new force flag.
1089 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1091 * insettabular.C (deleteLyXText): new function
1093 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1101 * insetcollapsable.C:
1102 * insetcaption.C: LColor tidy
1104 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1106 * figinset.C: fix typo
1108 2001-06-01 Juergen Vigna <jug@sad.it>
1110 * insettabular.C (resetPos): small hack so that scroll is not set to
1111 0 when we are in the last column of a tabular. This is a problem we
1112 have because of constats 20 offset on both directions, so this can
1113 cause on the limit an endless loop.
1115 * insettext.C (SetFont): forgot that we can have locking insets ;)
1117 2001-05-31 Juergen Vigna <jug@sad.it>
1119 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1121 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1123 * figinset.C: add using std:: directive for the C functions which
1126 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1128 * insetfloat.C (Write): write out wide info
1129 (Read): read the wide info
1130 (Latex): use the wide info when creating latex.
1132 * insettext.C: adjust
1134 * insetgraphics.[Ch] (statusMessage): change to return string
1138 * figinset.C (runqueue): add std::
1141 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1143 * insetcite.C (Ascii): add std:: qualifier
1145 2001-05-28 Juergen Vigna <jug@sad.it>
1147 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1148 a endless-width inset (maxWidth < 0).
1149 (Edit): change language only if not equal.
1151 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1153 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1155 2001-05-16 Juergen Vigna <jug@sad.it>
1157 * insettext.C (selectAll): added
1158 (clearSelection): added
1160 * insettabular.C (SetFont): now we may set a font on a whole selection!
1161 (getSelection): added helper function.
1163 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1165 * insetcite.C (Ascii): Add method.
1167 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1170 * insetbib.C: fix path for OS/2 & Win32
1172 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1174 * insetfoot.C (Latex): don't use % after footnote.
1176 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * insettext.C (Read): use clear
1179 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1181 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1183 * insetfloatlist.h: add a bunch of std:: qualifiers.
1185 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1187 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1188 FLOAT_LIST_CODE, renumber code list.
1190 * insettoc.C (getScreenLabel): remove support for float lists
1194 * insetfloatlist.[Ch]: new files
1196 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1198 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1200 * insettabular.C (LocalDispatch):
1201 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1204 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1206 * insettext.C: remvoe !NEW_INSETS cruft
1208 * insettabular.C: remove !NEW_INSETS cruft
1210 * insetcollapsable.h: remove !NEW_INSETS cruft
1212 * insetbib.C: remove !NEW_INSETS cruft
1214 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1216 * insettoc.C: hack to make listof algorithm work
1218 2001-04-20 Juergen Vigna <jug@sad.it>
1220 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1222 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1224 * insetquotes.C (Latex): improve the guard against
1225 unwanted !` and ?` ligatures. This should really be done in
1226 another place (to catch all this ligatures at low-level).
1228 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1230 * insettext.C (init): remvoe leftovers from cursor_visible change
1231 (draw): use c++ cast
1232 (LocalDispatch): dispatch LFUN_MESSAGE
1234 * insettabular.C (InsetTabular): remove leftovers from
1235 cursor_visible, and scoped_ptr changes
1236 (draw): use c++ cast
1238 * insetcollapsable.C (draw): use c++ cast
1240 * ExternalTemplate.h: inherit privaely from noncopyable
1241 * insetcommand.h: ditto
1242 * insetinclude.h: ditto
1244 2001-04-16 Allan Rae <rae@lyx.org>
1246 * insettoc.C (Ascii):
1247 * insettext.C (draw):
1248 * insettabular.C (setPos):
1249 * insetminipage.C (Read):
1250 * insetfloat.C (placement):
1251 * insetcaption.C (Ascii, DocBook):
1252 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1253 an unrecognised preprocessor directive. So ensure they're wrapped.
1255 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1258 * insetexternal.C: set view on Clone. Add _ to private members.
1260 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1262 * insettext.C (InsetText): fix new
1263 (InsetText): reindent some, simplify deletion of par list
1264 (clear): simplify deletion of par list, fix new
1265 (SetParagraphData): simplify deletion of par list
1267 * insettabular.[Ch] (getLabelList): implement new method
1269 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1271 * lyxinset.h: do not include gettext.h...
1279 * insetlatexaccent.C:
1283 * inseturl.C: ... and do it here instead
1285 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1287 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1289 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1291 * insetcollapsable.[Ch] (getLabelList): implement
1293 * insettext.[Ch] (getLabelList): implement
1295 * insettext.h: reindent
1297 * insettabular.h: make tabular a scoped_ptr
1299 * insettext.C (init): adjust for cursor_visible
1300 (ToggleInsetCursor): constify asc and desc, font, adjust for
1302 (ShowInsetCursor): constify asc and desc, font, adjust for
1304 (HideInsetCursor): adjust for cursor_visible
1306 * insettabular.C: reindent some
1307 (InsetTabular): adjust for scoped_ptr and cursor_visible
1308 (InsetTabular): ditto
1309 (~InsetTabular): delete delete
1310 (Clone): adjust for scoped_ptr
1311 (Read): constify old_format, adjust for scoped_ptr, move init of
1313 (draw): constify tx, localize loop vars.
1314 some other localization of variables, remove double initilizatons.
1316 * insetfoot.C: remove using std::ostream, add ostream where needed
1318 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1320 * lyxinset.h: some reindentaion, use initializer list for
1322 UpdatableInset: make cursor_visible a private var add
1323 public isCursorVisible(), add protected toggleCursorVisible() and
1324 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1326 * insettoc.C: remvoe using decl
1327 (getScreenLabel): make cmdname donst
1330 (Ascii): don't use endl
1332 * insetfootlike.C: remove using decl at file scope and add std::
1334 * insetmarginal.C: ditto
1336 * insetfoot.C: some reformatting
1338 * insetfloat.C (InsetButtonRelease): adjust the hit area
1340 * insetert.C (SetFont): some reformatting
1342 * insetcollapsable.C: some reformatting and constification
1343 (Clone): comment out.
1344 * insetcollapsable.h: some reformatting
1345 (Clone): comment out.
1350 2001-03-30 Juergen Vigna <jug@sad.it>
1352 * insetcollapsable.h: changen *inset to be a InsetText inset.
1354 * some files: changed to reflect the above change.
1356 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1358 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1359 InsetExternal::Params.
1360 Added operator==() and operator!=() for the Params struct.
1362 2001-03-29 Juergen Vigna <jug@sad.it>
1364 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1367 * insetminipage.C: removed widthp_ and all it's functions and changed
1368 to use new %-lengths of LyXLength.
1370 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1372 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1374 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1376 * insetgraphicsParams.C (operator!=): new function, needed by the
1377 ControlGraphics class.
1379 2001-03-28 Juergen Vigna <jug@sad.it>
1381 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1382 (checkAndActivateInset): don't use the values returned from
1383 call to bv->checkInsetHit.
1385 * insetminipage.C (Clone): set special minipage values.
1387 * insetcollapsable.C (draw): changed to draw the button in the
1388 upper left corner outside the textinset.
1389 (ascent): changed because of different drawing
1393 (InsetButtonPress): ditto
1394 (InsetButtonRelease): ditto
1395 (InsetMotionNotify): ditto
1397 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1399 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1403 2001-03-26 Juergen Vigna <jug@sad.it>
1405 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1407 * insettext.C (ShowInsetDialog): implemented above function.
1409 * insettabular.C (ShowInsetDialog): ditto
1411 * insetminipage.C (ShowInsetDialog): ditto
1413 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1415 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1416 InsetInclude::Params. Don't store a buffer * in Params. Store the
1417 master file name instead.
1419 2001-03-23 Juergen Vigna <jug@sad.it>
1421 * insetcollapsable.C (InsetMotionNotify):
1422 (InsetButtonRelease):
1423 (InsetButtonPress): fixed y-offset (minipages).
1425 * insettext.C (draw): force a FULL update if cleared == true.
1427 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1428 routine to draw the minipages on its position-flag.
1429 (InsetInInsetY): give back the right y position, because of minipage
1432 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1435 * insetfloat.C (DocBook): docbook export code.
1437 2001-03-22 Juergen Vigna <jug@sad.it>
1439 * insetminipage.C (getMaxWidth): added function to set the drawing
1441 (Read): should work now!
1443 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1444 if we create a new inset.
1446 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1448 * figinset.C (fl_set_preemptive_callback): moved definition outside
1451 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1453 * insetminipage.C (Read): prepare for reading of minipage arguments.
1455 2001-03-18 Baruch Even <baruch@lyx.org>
1457 * insetgraphics.C: Minor cleanups of the comments and code.
1459 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1461 * insetminipage.C (InsetMinipage): default to not collapsed
1463 2001-03-16 Juergen Vigna <jug@sad.it>
1465 * insetminipage.C (width): modified with to be a string
1466 (widthp): added widthp (for % width) support functions.
1467 (InsetButtonRelease): added to open the options dialog on button==3.
1468 (~InsetMinipage): added to hide the dialog.
1470 * insetminipage.h: added hideDialog signal
1472 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1474 * insetminipage.h: change the order or Position to match
1475 LyXParagraph::MINIPAGE_ALIGNMENT
1477 * several files: remvoe CXX_WORKING_NAMESPACES
1479 * ExternalTemplate.h: noncopyable is in namespace boost
1480 * insetinclude.h: ditto
1481 * insetcommand.h: ditto
1483 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1485 * insettext.C (Edit): #else# -> #else.
1486 * insettoc.C: added using directive.
1488 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1490 * insetminipage.h: add pos, inner_pos, width and height. + getters
1491 and setters for all of them.
1493 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1495 * insetinclude.C (Latex): Do not exit when the textclass of the
1496 included file differ from the textclass of the parent file.
1498 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1500 * ExternalTemplate.C (read): the reading of external insets now checks
1501 for \end_inset and removes it form the input stream.
1503 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1505 * ExternalTemplate.h:
1506 * ExternalTemplate.C:
1508 * insetexternal.C: move form to GUII
1510 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1513 * insetinclude.C: add InsetIncludeParams, use
1514 composition rather than derivation of InsetCommand
1516 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1518 * insettoc.C (Ascii): use the Buffer typedefs
1520 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1522 * insettoc.C (Ascii): implement for dynamic number of lists
1524 * insetcaption.[Ch]: update from new_insets branch
1525 * insetfloat.[Ch]: ditto
1527 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1530 * figinset.C: use new File Dialog
1532 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1534 * insettext.C: changes becuase of ParagraphParameters.
1536 2001-02-28 Baruch Even <baruch@ev-en.org>
1538 * insetgraphics.C (updateInset): Changed due to the change in
1541 2001-02-26 Juergen Vigna <jug@sad.it>
1543 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1544 handled in LyXText).
1546 2001-02-23 Juergen Vigna <jug@sad.it>
1548 * insettext.C (draw): some small repainting fixes.
1549 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1551 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1552 should be) and not an int.
1554 * insettabular.C (LocalDispatch): ditto
1556 * insettext.C (LocalDispatch): ditto
1558 * insetcollapsable.C (LocalDispatch): ditto
1560 2001-02-22 Juergen Vigna <jug@sad.it>
1562 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1563 DISPATCH it and we don't have a locking_inset.
1565 2001-02-21 Baruch Even <baruch@ev-en.org>
1567 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1568 instead of GraphicsCacheItem *.
1570 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1572 * insetcollapsable.C (getLyXText): add const qualifier to second
1575 2001-02-22 Juergen Vigna <jug@sad.it>
1577 * insettext.C (getLyXText): honor the recursive parameter.
1578 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1580 * inset.C (getLyXText): added bool recursive parameter.
1582 * insettext.C (SetUpdateStatus): or the update codes.
1583 (draw): check need_update with &.
1584 (InsetButtonPress): set no_selection to not put a selection when
1585 entering an inset and it is redraws in another spot.
1587 * insettext.h: made need_update an int.
1589 2001-02-20 Baruch Even <baruch@ev-en.org>
1592 * insetgraphisc.C: Changed to use better semantics when loading images
1593 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1595 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1599 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1600 consistent with InsetTabular.
1602 2001-02-19 Juergen Vigna <jug@sad.it>
1604 * insettabular.C (LocalDispatch): implement PAGE up/down.
1606 * insettext.C (draw): clear all of it on need_update==INIT too!
1608 * insettabular.C (InsetUnlock): always clear the selection.
1610 * inset.C (scroll): normally we only want to scroll the inset until
1611 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1613 2001-02-14 Juergen Vigna <jug@sad.it>
1615 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1616 (resetPos): fixed scroll behaviour.
1617 (LocalDispatch): do an update if moving cursor inside a table cell
1618 requests a scroll of the tabular.
1620 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1622 * insettext.C (textWidth): constify local var
1624 * insettabular.C: small cleanup.
1626 * insetfoot.C (Latex): constify local var
1628 * insetcollapsable.C: small cleanup.
1630 * figinset.C (runqueue): use compare instead of strcmp
1632 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1635 * insetinfo.C: remove cruft
1637 2001-02-14 Juergen Vigna <jug@sad.it>
1639 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1641 2001-02-13 Juergen Vigna <jug@sad.it>
1643 * insettext.C (InsertInset): don't move left (is this right?)
1645 * insettabular.C (LocalDispatch): use of the no_draw variable
1647 * insettabular.h: new no_draw variable to stop redraw
1649 * insettabular.C (TabularFeatures): fixed update for alignment change
1651 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1655 * insetbib.C: move dialogs to frontends/
1657 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1659 * insettext.C (LocalDispatch): Restore the language if the inset
1662 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1664 * insettext.C (moveRightIntern): Update the selection cursor.
1665 (moveLeftIntern): Ditto.
1667 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1669 * Makefile.am: remove BoundingBox.h
1671 * BoundingBox.h: removed
1673 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1675 * insettext.C (LocalDispatch): Update selection cursor when moving
1676 cursor to the right.
1677 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1678 (moveLeftIntern): Ditto.
1680 2001-02-05 Baruch Even <baruch.even@writeme.com>
1682 * insetgraphics.C: Updated automatic image conversion, it now goes into
1683 temporary directory instead of with the image itself.
1685 2001-01-21 Baruch Even <baruch@ev-en.org>
1687 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1688 to EPS or PNG when needed (support bitmap graphics).
1690 2000-11-02 Baruch Even <baruch@ev-en.org>
1693 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1694 and removal of commented out code.
1696 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1698 * insetbib.C (callback): Update citations if the key has changed.
1700 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1702 * insetbib.C (InsetBibKey): Better computation of default key.
1703 (getScreenLabel) Show both the key and the label.
1704 (getBibLabel): New method.
1705 (callback): Force a redraw if the inset have been changed.
1707 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1709 * insetref.C (getType, getName): Move methods from
1710 src/frontends/xforms/FormRef.C.
1712 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1714 * insettabular.C: Various improvements (use only one dummy position).
1716 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1718 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1719 par->bibkey->width. This fixes the crashes when running without
1720 gui or when having included documents.
1722 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1724 * insetcommand.C (getAsString, setFromString): Cleanup.
1726 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1728 * insetref.C: Add the array InsetRef::types that contains
1729 information about all supported reference types.
1731 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1733 * lyxinset.h: remove trailing comma in enum.
1735 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1737 * insettext.C: kill LyXBell.