1 2002-01-05 Juergen Vigna <jug@sad.it>
3 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
6 * insettabular.C (resetPos): set always the inset_y as it may be
7 needed in another function.
8 (searchBackward): don't draw while searching.
10 2002-01-04 Juergen Vigna <jug@sad.it>
12 * insettext.C (lockInsetInInset): forgot to set a cursor.
14 2002-01-02 Juergen Vigna <jug@sad.it>
16 * insettext.C (insertInset): make the correct undo informations on
19 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
21 * insettabular.C: correct single-cell select vertically
23 2001-12-27 Juergen Vigna <jug@sad.it>
25 * insettabular.C (ascii): export as tab-separated-values if the
26 function was not called from export (f.ex.: clipboard).
28 * insetcollapsable.h: added default support for ascii, linuxdoc and
29 docbook export (the insettext is exported by default!)
31 * insettabular.C (copySelection): suff the clipboard with the tabular
32 data in a tab separated format, seems more naturals then with all the
35 2001-12-24 Juergen Vigna <jug@sad.it>
37 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
38 to check for REAL mouseMotion.
40 2001-12-20 Juergen Vigna <jug@sad.it>
42 * inset.C (cursor): return the owners cursor if available instead of
43 always only the bv->text->cursor.
45 * insettabular.C (checkLongtableSpecial): works now.
47 2001-12-19 Juergen Vigna <jug@sad.it>
49 * insettabular.C (tabularFeatures): fix the row setting of ltt as
50 this has to be always row + 1 as 0 means not selected!
51 (checkLongtableSpecial): added
52 (tabularFeatures): better longtable options support
54 * insettext.C (resizeLyXText): reinit the text always also on a
57 2001-12-18 Juergen Vigna <jug@sad.it>
59 * insettext.C (updateInsetInInset): look if we have to autocollapse
60 paragraps and return if the update is requested for ourself.
62 * insetert.C (status): update the insettext not myself as that is what
65 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
66 function only return if the update was requested with myself.
68 * insettext.C (insetButtonPress): fixed stupid bug.
69 (various functions): pay attention that lt is cleared BEFORE calling
70 updateLocal() and try to use it in the right manner (don't use it
71 if it's not really neccessary!)
72 (collapseParagraphs): insert a blank between collapsing paragraphs
73 if neccessary (not already there!).
75 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
77 * insettabular.C: move includes around a bit, add a couple of
80 * insettext.[Ch]: move includes around a bit, other ws changes and
83 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * insettext.C (insetButtonRelease): fix compile problem
87 2001-12-17 Juergen Vigna <jug@sad.it>
89 * insettext.C (insetButtonPress): set the selection cursor!
90 (insetButtonPress): clear the selection (and set with that the
91 selection.cursor) if we only hit an inset!
93 * insetert.C (read): removed piece of compatibility code only needed
96 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
99 * insetcollapsable.C (insetButtonRelease): changed so that it can
100 open eventual existing popup dialogs on mousebutton==3.
102 * insetfloat.C (insetButtonRelease): removed not needed anymore!
104 * insetminipage.C (insetButtonRelease): removed not needed anymore!
106 * inset.C (insetButtonRelease): return a bool for telling the outer
107 world that we opened a dialog.
109 2001-12-07 Juergen Vigna <jug@sad.it>
111 * insettext.C (paragraph): remove the deleteing of paragraphs as
114 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
117 * insettabular.C: use new setSelection(). Allow
118 selection of single cells.
120 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
122 * insetquotes.C (latex): fix to use the local language setting at
123 the point where the inset is inserted (different macros for
124 different french packages)
126 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
128 * inset.h: add par_owner_ member variable and parOwner
131 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
133 * insettabular.C (everywhere): adapt because widths are now real
134 widths and not strings
136 * insettext.C (draw): re-introduce the calls to width(), ascent()
137 and descent() to initialize the caching variables.
139 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
141 * insettext.C (draw):
142 (drawFrame): use insetWidth instead of last_width
144 * insettext.h: remove variable last_width (insetWidth is exactly
145 the same) and last_height (computed but never used!)
147 2001-12-10 Allan Rae <rae@lyx.org>
149 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
153 * insettext.C (insetAllowed): add comment
155 2001-12-05 Juergen Vigna <jug@sad.it>
157 * insettext.C (insetAllowed): fixed for the case that we directly
158 ask the insettext from its LyXText.
159 (paragraph): fixed the crash when assigning the par->next() from
160 the EmptyParagraphMechanism!
162 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * insettext.C: change "while(" to "while ("
168 2001-12-04 Juergen Vigna <jug@sad.it>
170 * insetert.C (edit): handle Inlined status.
172 * insettext.C (insertInset): trying John's fix for the trailing cursor
174 * insetert.C (insetButtonPress): added to handle inlined status
175 (insetMotionNotify): ditto.
177 * insettext.C (clearInset): changed Painter & in BufferView * param,
178 to be able to call ascent,descent methods.
180 2001-12-03 Juergen Vigna <jug@sad.it>
182 * insettext.C (updateInsetInInset): use lt variable to forbid
183 changes of LyXText in an update call.
184 (updateInsetInInset): fixed updating of non locked insets!
186 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
188 * insettabular.C: capture some more functions to prevent
189 selection drawing problems. Bug #451274
191 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
194 * insetgraphicsParams.C: fix inverted sense of float_equal
196 2001-11-30 Juergen Vigna <jug@sad.it>
198 * insettabular.C (InsetTabular): use the save_id flag to create also
199 the tabular with the same id's.
201 * insettext.C (setParagraphData): added a same_id function for undo
202 to set the same paragraph id's as of the paragraph we are setting.
204 2001-11-30 José Matos <jamatos@fep.up.pt>
207 * insettoc.[Ch]: DocBook -> docbook.
209 2001-11-29 André Pönitz <poenitz@gmx.net>
212 * insettext.C: further reduction of header dependencies by using
213 lyx::layout_type and lyx::textclass_type from support/types.h
215 2001-11-29 Juergen Vigna <jug@sad.it>
217 * insettext.C: inserted a reinitLyXText function everywhere I delete
218 the paragraphs! This should fixe the crashes we had.
219 Also use the new function firstRow() instead of getRowNearY(dummy_y)
220 (paragraph): set the InsetOwner() of the new paragraphs!
222 2001-11-28 André Pönitz <poenitz@gmx.net>
224 * insetnote.C: add pos initialization that I removed without
227 2001-11-28 Juergen Vigna <jug@sad.it>
229 * insettabular.C (resetPos): hack to not crash with infinite paints.
231 * insettabular.h: insert missing function allowSpellcheck()!
233 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
235 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
238 * insetfloatlist.C: derive from InsetCommand so gui can use it
241 2001-11-26 André Pönitz <poenitz@gmx.net>
245 * insetnote.C: reduce header dependencies, introduce type for
248 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
250 * various: update for Alert.h
252 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
254 * inset.h: fix comment
256 * insettext.C: use par->isInset()
258 2001-11-22 Allan Rae <rae@lyx.org>
260 * insetcollapsable.h:
261 * inset.h: Changes to checkInsertChar() behaviour.
262 Now return value indicates whether chars can be inserted.
264 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
266 * various: updated to use the new LaTeXFeatures
268 2001-11-14 José Matos <jamatos@fep.up.pt>
270 * insetspecialchar.C (linuxdoc):
271 (docbook): don't give a name to a unused variable.
273 * insettext.C (docbook): removed unused variable.
275 2001-11-13 Herbert Voss <voss@perce.de>
277 * insetgraphic.C: fix scale bug
279 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 (isLetter): new virtual methods.
284 * insetspecialchar.C (isSpace):
285 (isLetter): implement here.
287 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
289 * inset.h: new inline helpers
291 * insettext.C: use new helpers
293 2001-11-07 José Matos <jamatos@fep.up.pt>
295 * insettext.C (docbook): full support for paragraphs inside insettext.
297 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
299 * insetindex.C: added header file for std::ostream.
301 2001-11-03 José Matos <jamatos@fep.up.pt>
303 * insetindex.C: added using std::ostream that I forgot yesterday.
305 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
307 * insetindex.h (docbook):
308 * insetindex.C (docbook): added support for docbook export.
310 2001-11-02 José Matos <jamatos@fep.up.pt>
312 * insetcaption.C(docbook): added support for docbook export.
314 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
316 * insetexternal.C (updateExternal): Do not run update command if
317 result file exists and is up to date.
319 * ExternalTemplate.C (readFormat): Support the updateresult token.
321 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
323 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
324 external_templates) to use the buffer->fileName() but only if
325 previewing. Generating a TeX file should make FPath return
328 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
331 * insetert.C: fix some problems
333 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
335 * insetexternal.C (doSubstitution): Added $$FPath token
336 to list of usable substitutions in external inset templates.
338 2001-10-24 Juergen Vigna <jug@sad.it>
340 * insettabular.C: use new ltType struct for setting longtable
341 header and footers also new UNSET enums.
343 2001-10-24 José Matos <jamatos@fep.up.pt>
345 * insettabular.C (linuxdoc): Now exports the ascii's table version.
346 (docbook): If the table is not inside a float then wrap it inside
347 <informaltable>...</informaltable>.
349 2001-10-23 José Matos <jamatos@fep.up.pt>
351 * insetref.C (docbook): removed / terminator to conform SGML.
353 * insetspecialchar.C (linuxdoc):
354 (docbook): Added support for special chars, more than ascii export.
356 2001-10-22 Juergen Vigna <jug@sad.it>
358 * insettext.C (checkInsertChar): added for REALLY checking the
359 font of the inserted char in the right inset!
361 2001-10-19 Juergen Vigna <jug@sad.it>
363 * inset.h: added method allowSpellcheck() so that insets who do
364 not have anything to spellcheck can tell and so they are over-jumped.
365 Implemented for InsetText and co.
367 2001-10-18 Juergen Vigna <jug@sad.it>
369 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
371 2001-10-15 José Matos <jamatos@fep.up.pt>
373 * insetert.C: allow export for docbook and linuxdoc
375 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
377 * insetquotes.C (dispString): handles latin3 and latin4 quotes
379 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
381 * insetquotes.C (dispString): fix handling of latin9 quotes
383 2001-10-03 Juergen Vigna <jug@sad.it>
387 * insetcollapsable.C: change updateInset calls to not tell BV that
388 we have changed status.
390 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * insettabular.C (deletable): make const
394 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
396 * insetert.C (latex): Fix the returned value
398 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
400 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
401 Returns string(), so nothing in an ERT inset is spellchecked.
403 * insetgraphics.C (draw): print the filename if not displaying the
405 (width): make sure that the width and draw methods are consistent.
406 (updateInset): don't even load the image into cache if not displaying
409 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
411 * various files (selectNextWord): renamed as
412 selectNextWordToSpellcheck.
414 * insetgraphics.C (draw): remove the previous change. Right place
415 is in imageLoaderXPM.C.
416 (draw): don't display the image if params.display == NONE.
418 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
420 * figinset.C (runqueue):
421 * insetgraphics.C (draw): set background colour of inset from
422 background to the user-configurable graphicsbg.
424 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * insetquotes.C (InsetQuotes): when trying to decide the side of
427 the quote, choose `left' only after a space or '('
429 2001-09-04 José Matos <jamatos@fep.up.pt>
463 * insettext.C (docbook): rename docBook method to docbook.
465 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
467 * inset.h (getFirstParagraph): New virtual method.
469 2001-08-20 Herbert Voss <voss@perce.de>
470 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
471 in the the bibtex-database-gui for inserting a line
474 If no style is given than there is no tex-output.
476 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
478 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
482 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
484 * insetert.C (latex): Fix output for multiple paragraphs.
485 (write): New code for writing paragraph data.
486 (read): Set font after reading the inset.
487 (localDispatch): Call set_latex_font() for more cases.
489 * insetnote.h: Add empty validate method.
492 * insetnote.C (InsetNote): Set language to the language of the
495 2001-08-16 Juergen Vigna <jug@sad.it>
497 * insettext.C: implemented the new FINISHED states.
499 * insettabular.C: ditto
501 * inset.h: added more FINISHED states for cursor right,up,down
503 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
505 * insetfloatlist.C: use "FloatName List"
507 2001-08-14 Juergen Vigna <jug@sad.it>
509 * insetert.C (edit): forgot to set status_ in edit calls!
511 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
513 * insettext.C: Compilation fix
515 2001-08-13 Juergen Vigna <jug@sad.it>
517 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
519 * insetcollapsable.C (edit): don't recollapse an already open inset.
521 * insettext.C: fixed problem when reinitializing LyXText by not doing
522 it while lt is in use and post this to the next possible time in
524 (searchForward): fixed not unlocking of inset if nothing found.
525 (edit): set cursor behind right (was set -1 pos).
527 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
529 * insettabular.C (tabularFeatures): fixed fix where deleting the
530 last row didn't get the right actcell!
532 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
534 * insettext.C (localDispatch): Change language only when the inset
537 2001-08-10 Juergen Vigna <jug@sad.it>
539 * insettabular.C (selectNextWordInt): use the front using edit call.
541 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
542 the parameter overwrite class variable inset.
544 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
546 * insettext.C (saveLyXTextState): check for invalid cursor-par.
547 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
549 * insettabular.C (calculate_dimensions_of_cells): let's try to call
550 update only for fixed with cells.
551 (resetPos): try to fix the lockup on spellchecking or s&r.
553 * insettext.C (update): comment this out as it seems first wrong
554 and second not needed anymore!
555 (some functions): call reinitLyXText() only in update() in all other
556 positions set only need_update = INIT.
558 2001-08-08 Juergen Vigna <jug@sad.it>
560 * insettabular.C (setPos): fixed wrong actrow < rows() check.
562 * insettext.C (insetUnlock): remove double-space on inset unlock.
564 * insetcollapsable.C (draw): fix returned x when label > inset-width.
566 * insettabular.C (update): fixed cursor positon after an insert.
567 (insetAllowed): do not allow to insert insets when not inside the
569 (draw): clear below an inset too as it could have changed height.
571 * inset.C (getMaxWidth): fixed width for inset in inset.
573 * insettext.C (update): small fix.
575 * insettabular.C (tabularFeatures): added selection support to
576 DELETE_ROW/DELETE_COLUMN.
578 2001-08-07 Juergen Vigna <jug@sad.it>
580 * inset.C (getMaxWidth): recoded and all it's implementations!
582 * insettext.C (init,setParagraph+constructors): cleanups
583 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
584 are new and I want do a save/restore of the cursor position which is
585 not possible anymore.
587 * insetcollapsable.C (searchBackward): recollapse inset if not found.
588 (searchBackward): ditto
589 (selectNextWord): ditto
591 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
593 * insetlatexaccent.C (checkContents): Add some debug messages
595 2001-08-07 Juergen Vigna <jug@sad.it>
597 * insetert.C (read): don't use InsetCollapsable::read as we don't
598 write the collapsed status anymore only the status.
601 2001-08-06 Juergen Vigna <jug@sad.it>
603 * insetert.C (set_latex_font): use LyXText's setFont directly.
605 * insettext.C (drawFrame): fixed one time more the right position
606 and size of the frame!
608 * insetert.C (~InsetERT): hide the dialog.
609 (showInsetDialog): added implementation
612 (status): new function for the status of the ERT inset (3-state).
613 (write): output also the status of the inset for readback!
614 (read): readback the status if available otherwise use collapsed_.
616 * insettext.C (edit): small fix of setting the position, which could
619 * insetert.C (width): implement this function for inlined viewing.
620 Added minimum width of 10 pixels!
622 * insetminipage.C (InsetMinipage): just change the colors a bit so
623 that border/background is a bit more visible. We will remove this
626 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
627 function for getting the important widths for drawing in various
628 functions and in LyXText.
629 (draw): fixed up a bit (frame drawing/clearing)
631 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
633 * inset.C (convertFont): delete method. not used.
635 2001-08-03 Juergen Vigna <jug@sad.it>
637 * insettext.C (setFont): don't call for a draw update if we're just
638 changing the cursor font!
640 2001-08-02 Juergen Vigna <jug@sad.it>
642 * insettext.C (draw): clear the background with the right color if
643 needed. Update myself if x&max-width changed and return without doing
644 anything. Let the update code handle the right stuff.
646 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
647 inside another inset.
649 2001-08-01 Juergen Vigna <jug@sad.it>
651 * insetcollapsable.C (update): added an in_update bool so we avoid
654 * insettabular.C (update): added an in_update bool so we avoid
657 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
659 (update): added an in_update bool so we avoid reentering.
661 * insettabular.C (localDispatch): clear col/row selection when doing
662 something else inside an inset.
664 * insettext.C (getLyXText): fixed bug when requesting a recursive
667 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
669 * insetcite.C (latex): Paranoia check. Make sure that there is no
670 whitespace between the citation keys.
672 2001-07-31 Juergen Vigna <jug@sad.it>
674 * inset.h (nodraw): make the set function also const so that this
675 can be called from inside other const functions.
677 * insetcollapsable.h: removed inline variable and moved it over
678 to the only user InsetERT.
680 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
681 inset opening immediately therein lying insets dialogs!
683 * insetert.C (localDispatch): set the font also if we don't have any
684 chars in this paragraph, otherwise if we delete all of em and start
685 writing we have the wrong font.
687 (draw): implemented for inline support
688 (insetButtonRelease): ditto.
690 2001-07-30 Juergen Vigna <jug@sad.it>
692 * insettext.C (reinitLyXText): new function to reinit the insets
693 text after lot's of paragraph changes. Use this instead of the
694 cache.clear() which is VERY dangerous.
696 * insetfloat.C (insetButtonRelease): we should only show the dialog
697 if we press on the label otherwise we have problems to open mouse
698 button 3 dialogs inside this float (f.ex. of a tabular!)
700 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
702 * insetert.C: change back to "ERT"
704 * insetfloat.C: handliign of RMB on label added.
706 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
708 * insetgraphicsParams.C: #include LOstream.h here.
710 * insetfoot.h: remove InsetFoot:: qualifier.
712 2001-07-29 Baruch Even <baruch@lyx.org>
714 * ChangeLog: Hiding time travel evidence.
716 * insetgraphicsParams.h:
717 * insetgraphicsParams.C:
718 * insetgraphics.C: Added horizontal scale option, it actually scales both
719 directions since it keeps image proportions.
721 * insetgraphics.C: Fixed EPS detection to be non-hacky.
723 2001-07-29 Baruch Even <baruch@lyx.org>
725 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
726 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
728 HACKY! Will need to add an EPS detection routine like old InsetFig does!
730 2001-07-29 Baruch Even <baruch@lyx.org>
732 * insetgraphics.C: Added EPSI to be an alias of EPS.
734 2001-07-29 Baruch Even <baruch@lyx.org>
736 * insetgraphics.C: Change GRAPHICS to Graphics.
737 Changed image conversion rules (documented at the beginning of file).
739 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
741 * insetert.C (get_new_label): int -> Paragraph::size_type to get
744 * insetgraphics.C: added a using std::endl directive.
746 * insetcommand.h (getScreenLabel): removed pure virtual function,
747 as it duplicates that in InsetButton.
749 * insetbib.[Ch] (getScreenLabel):
750 * insetbutton.[Ch] (getScreenLabel):
751 * insetcite.[Ch] (getScreenLabel):
752 * insetert.[Ch] (getScreenLabel):
753 * insetexternal.[Ch] (getScreenLabel):
754 * insetfloatlist.[Ch] (getScreenLabel):
755 * insetinclude.[Ch] (getScreenLabel):
756 * insetindex.[Ch] (getScreenLabel):
757 * insetlabel.h (getScreenLabel):
758 * insetparent.[Ch] (getScreenLabel):
759 * insetref.[Ch] (getScreenLabel):
760 * insettoc.[Ch] (getScreenLabel):
761 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
763 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
765 (validate): remove check on "cite" when using natbib.
767 2001-07-26 Baruch Even <baruch@lyx.org>
769 * insetgraphics.C (draw): changed casting to be in one place rather than
770 all over the function.
773 * insetgraphics.C (read): Added compatibility reads of InsetFig.
775 * insetgraphicsParams.h:
776 * insetgraphicsParams.C:
777 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
779 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
781 * insetfoot.C (validate): Added method to ensure that the
782 right bit of LaTeX is emitted.
784 * insetfoot.h: Added validate method to set the correct
785 LaTeXFeatures bit for the special footnote code.
787 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
789 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
792 2001-07-27 Juergen Vigna <jug@sad.it>
794 * inset.h: remove not used font variable in parameter.
795 removed checkInsertChar in UpdatableInset as it was equal to
796 the one in Inset and so not needed.
798 * insetert.C (checkInsertChar): implementation of function
801 * inset.h: added new function checkInsertChar.
803 * various files: added c-tor and clone() function.
805 * insetcollapsable.h: removed clone function here as this should
806 be only realized in REAL insets and added it to all collapsable
807 insets! (with the copy-constructor).
809 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * insetminipage.C (read): handle missing parameters more gracefully
813 * insetcollapsable.C (read): handel missing collapsed more gracefully
815 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * insetfloat.C (read): handle missing parameters.
819 * insettext.C (read): handle old latex end_inset
821 * insetert.C (setButtonLabel): new method
822 (init): use it, to set the dynamic label correctly
825 * Makefile.am (EXTRA_DIST): add files that is not part or the
828 * insetcollapsable.h: remove autocollapsable (no users), remove
829 draw_label, change_label_with_text and companion code. Remove args
831 * insetert.[Ch]: move here instead (only user)
833 * inset.h: rename private variable name to name_, make
834 selectNextWord return a const string. make getInsetName return a
835 string const &. Remove bool from open, add close.
837 * Makefile.am: don't compile insetlist, insetsection
840 2001-07-24 Juergen Vigna <jug@sad.it>
842 * insetert.C (InsetERT): put init after the paragraph initialization,
843 as otherwise we don't set the draw_label right.
845 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
846 insets with the mouse without having strange selections.
847 (edit): if the inset was collapsed and we open it here then put the
848 cursor always at the beginning of the inset.
849 (get_new_label): 15 instead of 10 max chars in the label.
851 * insetert.C (localDispatch): added and handle various stuff we
852 need to handle here (font setting on paragraph break, not permitted
853 layout setting, etc.).
855 * inset.h: added default copy-consturctor and implemented this in
856 various insets with the change to use this in the clone function!
858 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * insetminipage.C (InsetMinipage): set background color to red :)
862 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
865 draw frame mode is LOCKED.
867 * insetcollapsable.C (edit):
868 (insetButtonRelease): set update status to full when
871 * insettext.C (clearInset):
872 * insettabular.C (draw):
873 * insetlatexaccent.C (draw): honor background color.
875 * inset.h: new member background_color_, initialized to
878 * inset.C (backgroundColor): new method.
879 (setBackgroundColor): new method.
881 * insetert.C (init): new method, called by the ctors.
882 (InsetERT): when inserting contents, make sure the font is
885 * insetnote.C (InsetNote): when inserting content, remove trailing
887 (init): set background color to LColor::note
889 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
891 * insetcollapsable.C: adjust
893 * insetbutton.C: adjust
895 2001-07-23 Juergen Vigna <jug@sad.it>
897 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
898 parameter on the _collapsed function (was not needed) and call
899 always width_collapsed().
901 * insetert.C (InsetERT): use setLabel with "true" flag.
903 * insetcollapsable.C: modified various functions to set the draw_label
904 string right in any condition.
905 (setLabel): added a bool parameter to set change_label_with_text.
907 * insetcollapsable.h: added draw_label string which is set to the
908 actual drawn label-string, while label is the original static label
909 of this collapsable inset. Added bool change_label_with_text to set
910 if we want that the label changes to the start of the InsetText's
911 text when collabpsed. You can set this flag with the setLabel funciton.
912 Added bool inlined for inlined collapsable insets, but not handled
915 * insetcollapsable.C (get_new_label): added should get a new label
916 from the InsetText beginning (for now 10 chars).
918 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
920 * insetquotes.C (latex): fix the handling of french double quotes
921 when not using the french pachage.
923 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * insetcollapsable.h: make WidthCollapsed mutable.
927 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
928 InsetPrintIndex returns INDEX_PRINT_CODE.
930 * inset.h: add INDEX_PRINT_CODE
932 * insetcollapsable.C (draw): init widthCollapsed if necessary
935 * insetquotes.C (width): use the local language, not the document
938 (dispString): add additional spacing for all french languages,
940 (validate): make it work when there is no default language
942 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
944 * insetnote.C (init): new method, called by the constructors
945 (InsetNote): new constructor with contents passed as a string
947 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * insetfootlike.C (insetAllowed): disallow float in footlike.
951 * insetert.C (InsetERT): add collapsed argument to the constrctor
954 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
956 * insetindex.h: shut off warning
958 2001-07-20 Juergen Vigna <jug@sad.it>
960 * insetcollapsable.C (update): recoded hopefully works now!
962 2001-07-19 Juergen Vigna <jug@sad.it>
964 * most files: implemented the below new introduced function.
966 * inset.h: added new edit(BufferView *, bool front) method to be able
967 to enter an inset from the front/back without knowing x/y positions
968 and baselines inside the inset. So I just can tell the inset activate
969 me and set the cursor on the front/back of yourself.
971 2001-07-18 Juergen Vigna <jug@sad.it>
973 * insetcollapsable.C (edit): fixed hopefully the y parameter which
974 is given to the InsetText.
975 (insetButtonPress): ditto
976 (insetButtonRelease): ditto
977 (insetMotionNotify): ditto
979 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
981 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
982 LIGATURE_BREAK, since the name is so stupid.
984 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
986 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
987 the default InsetCollapsable methods. I.e., it can insert anything.
988 (write) output the name of the inset, not some silly hack for
989 compatability with the old InsetInfo.
991 * insetinfo.[Ch]: removed.
992 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
993 now collapsable, but functionality is otherwise identical to InsetInfo.
995 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
997 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
999 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
1002 * insetquotes.C: general cleanup
1003 (dispString): add spaces inside french double quotes.
1004 (latex): ditto. Moreover, treat first the case where the frenchb
1005 or french options have been given.
1007 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1009 * insetcite.[Ch] (latex, validate): new methods, required for natbib
1012 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
1014 * figinset.C (RegisterFigure): Print debug message only when
1015 current_view is available.
1017 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * many files: update to match the change below
1021 * inset.h (insetAllowed): renamed from insertInsetAllowed;
1022 implement the version which takes an inset here.
1024 * insetcollapsable.[Ch]: implement open and isOpen
1026 * inset.h: remove insertInsetAllowed from Inset
1027 (open): new method, to open or close an inset
1028 (isOpen): returns the status of an inset
1029 (isCollapsable, colapse): removed
1031 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1033 * insetquotes.C (dispString): display french guillemets when using
1036 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1038 * insetcollapsable.h: remove bogus return statements
1040 2001-07-18 Juergen Vigna <jug@sad.it>
1042 * insettabular.C (selectNextWord): fixed spellchecking for the
1043 first cell of a tabular (wasn't entered!)
1044 (getLyXText): changed to enter automatically insettext and return
1045 it's LyXText if we're locked.
1047 2001-07-17 Juergen Vigna <jug@sad.it>
1049 * various files: implemented the below functions.
1051 * inset.h: added functions
1052 - virtual string selectNextWord(BufferView *, float & value) const;
1053 - virtual void selectSelectedWord(BufferView *) { return; }
1054 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
1055 needed for spellchecking correctly!
1057 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1059 * insetert.C (latex): write out all paragraphs.
1061 2001-07-17 Baruch Even <baruch@lyx.org>
1063 * insetgraphics.C (draw): Removed unneeded casts.
1065 2001-07-16 Juergen Vigna <jug@sad.it>
1067 * insettext.C (update): fixed small oversight (reset lt to 0).
1069 2001-07-14 Baruch Even <baruch@lyx.org>
1072 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
1074 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1076 Consistent use of Lsstream.h:
1077 * figinset.C: removed using std::ostringstream directive.
1079 * insetgraphics.C (createLatexOptions):
1080 * insetinclude.C (unique_id):
1081 std::ostringstream -> ostringstream.
1082 * insettext.C (localDispatch): std::istringstream -> istringstream.
1084 2001-07-13 Juergen Vigna <jug@sad.it>
1086 * insetfloat.C (insertInsetAllowed): added missing const_cast.
1088 * insetcollapsable.C (getLockingInset): ditto.
1090 2001-07-12 Juergen Vigna <jug@sad.it>
1092 * insetcollapsable.h: added implementation of new function for
1095 * various files: added implementation of new insertInsetAllowed-func
1096 and redone the function a bit more.
1098 * inset.h: added isCollapsable(), bool collapsed(),
1099 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
1101 * insetfloat.C (insertInsetAllowed): make a bit more checks.
1103 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
1104 LyXText which is marked for removal while we're using it!
1106 * insettext.h: added private LyXText * lt to use it to assure we are
1107 not deleting our LyXText while we're using it!
1109 2001-07-11 Juergen Vigna <jug@sad.it>
1111 * insettext.C (insertInset): check if we are before the inset after
1112 inserting it! This check IS needed. Remove the Undo-Call as it is
1113 called in LyXText::insertInset!
1115 * insettext.h: added struct InnerCache.
1117 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
1118 that we ONLY delete the LyXText in the getLyXText() routine. So we
1119 are sure we don't delete LyXText while someone is working with it!
1121 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1123 * insetexternal.C: (*it). -> it->
1124 * insettext.C: ditto
1126 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1128 * insetcollapsable.C (edit): always open collapsed insets (even if
1129 they are not autocollapsable)
1131 * insetcommand.C (operator=): simplify.
1133 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1135 * insetert.C (latex): handle META_NEWLINE
1137 2001-07-09 Juergen Vigna <jug@sad.it>
1139 * insetert.h: a normal InsetText can insert insets, but we won't.
1141 * inset.h: return default "false" on insertInsetAllowed and implement
1142 this function where a returnvalue != "false" is needed.
1144 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1146 * insetert.C (InsetERT): new contructor
1148 2001-07-06 Juergen Vigna <jug@sad.it>
1150 * a lot of files: added implementation of the below new functions
1151 and the change to clone(). Also the call of the new undo-functions
1154 * inset.h: added an inset_id, added functions getParFromID,
1155 getInsetFromID, firstParagraph, cursor and id functions, added
1156 bool same_ids to clone function.
1158 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1160 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
1161 of BufferView * and shared_ptr<LyXText>
1163 2001-07-05 Juergen Vigna <jug@sad.it>
1165 * insettext.C (clear): deleted also the cache not only LyXText.
1166 (setParagraphData): ditto.
1168 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1170 * insetfloat.C (latex): let the specific placement take presedence
1171 if set, otherwise choose document placement if set, otherwise just
1172 use float default placement.
1174 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1176 * insettext.C (localDispatch): call CutAndPaste::'s static method
1179 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1181 * insetbib.C: no meed to include forms.h here.
1183 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
1185 * insettext.C: added using std::make_pair directive.
1187 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1189 * insettext.C (getLyXText): avoid multiple lookups, and simplify
1191 (deleteLyXText): ditto
1192 (resizeLyXText): ditto
1194 2001-07-02 Juergen Vigna <jug@sad.it>
1196 * insettext.C (getLyXText): introduce a cache in getLyXText so that
1197 following calls are only returned the right pointer without the over
1198 head to search in the map.
1199 (various funcs): reset the cached_bview variable as this signs that
1200 the cache is not valid anymore.
1202 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1204 * insettabular.C (clone): do not copy the LyXTabular twice
1206 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1208 * insettext.h (TEXT): delete method
1210 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1212 * insetmarginal.C (latex):
1213 * insetfoot.C (latex): fix spacing of notes in LaTeX
1215 * insettext.C (localDispatch): use .c_str() on istringstream
1216 constructor argument.
1218 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1223 * inseturl.C: fix method names in these to begin
1224 with small char too, so they inherit
1226 2001-06-28 Juergen Vigna <jug@sad.it>
1228 * insettext.C (setFont): fixed font settings using toggleFree()
1229 instead of setFont().
1231 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1233 * Change a lot of method names to begin with a small char.
1234 Changes to a lot of files because of this.
1236 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1238 * insetfloatlist.C (Write): std:: qualify ostream
1241 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1245 * insetgraphics.C: send debug output to Debug::INFO instead of
1248 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1251 * insettabular.C (getStatus): update to use func_status
1253 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
1255 * insetref.C (DocBook): added support for cross-references without
1258 2001-06-26 The LyX Project <jug@sad.it>
1263 * insetlabel.h: removed escape method and moved it to
1266 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1268 * insettabular.C (getMaxWidth): do the speedup in a different way,
1271 2001-06-24 The LyX Project <Asger>
1273 * insettabular.C (getMaxWidth): We cache a mapping from
1274 inset to cell in order to speed this method up.
1276 2001-06-24 The LyX Project <Asger>
1278 * insettext.C: Optimized InsetText::draw or something.
1280 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
1282 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1284 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1286 * inset.h: name change from lyxinset.h
1288 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
1290 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1292 2001-06-14 Juergen Vigna <jug@sad.it>
1294 * insettext.C (draw): removed warnings.
1296 2001-06-13 Juergen Vigna <jug@sad.it>
1298 * insettabular.C (nodraw): only go down the tree if we don't have
1299 that flag set otherwise it's obvious that we don't want to draw.
1300 (LocalDispatch): do also an update if we have an undispached result.
1302 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1305 * insetgraphicsParams.C:
1306 * insettext.C: removed // -*- C++ -*- as first line.
1308 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1310 * lyxinset.h (resizeLyXText): shut off warning about unused
1313 2001-06-07 Juergen Vigna <jug@sad.it>
1315 * insettext.C (resizeLyXText): honor the new force flag.
1317 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1319 * insettabular.C (deleteLyXText): new function
1321 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1329 * insetcollapsable.C:
1330 * insetcaption.C: LColor tidy
1332 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1334 * figinset.C: fix typo
1336 2001-06-01 Juergen Vigna <jug@sad.it>
1338 * insettabular.C (resetPos): small hack so that scroll is not set to
1339 0 when we are in the last column of a tabular. This is a problem we
1340 have because of constats 20 offset on both directions, so this can
1341 cause on the limit an endless loop.
1343 * insettext.C (SetFont): forgot that we can have locking insets ;)
1345 2001-05-31 Juergen Vigna <jug@sad.it>
1347 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1349 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1351 * figinset.C: add using std:: directive for the C functions which
1354 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1356 * insetfloat.C (Write): write out wide info
1357 (Read): read the wide info
1358 (Latex): use the wide info when creating latex.
1360 * insettext.C: adjust
1362 * insetgraphics.[Ch] (statusMessage): change to return string
1366 * figinset.C (runqueue): add std::
1369 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1371 * insetcite.C (Ascii): add std:: qualifier
1373 2001-05-28 Juergen Vigna <jug@sad.it>
1375 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1376 a endless-width inset (maxWidth < 0).
1377 (Edit): change language only if not equal.
1379 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1381 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1383 2001-05-16 Juergen Vigna <jug@sad.it>
1385 * insettext.C (selectAll): added
1386 (clearSelection): added
1388 * insettabular.C (SetFont): now we may set a font on a whole selection!
1389 (getSelection): added helper function.
1391 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1393 * insetcite.C (Ascii): Add method.
1395 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1398 * insetbib.C: fix path for OS/2 & Win32
1400 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1402 * insetfoot.C (Latex): don't use % after footnote.
1404 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1406 * insettext.C (Read): use clear
1407 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1409 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1411 * insetfloatlist.h: add a bunch of std:: qualifiers.
1413 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1415 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1416 FLOAT_LIST_CODE, renumber code list.
1418 * insettoc.C (getScreenLabel): remove support for float lists
1422 * insetfloatlist.[Ch]: new files
1424 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1426 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1428 * insettabular.C (LocalDispatch):
1429 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1432 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1434 * insettext.C: remvoe !NEW_INSETS cruft
1436 * insettabular.C: remove !NEW_INSETS cruft
1438 * insetcollapsable.h: remove !NEW_INSETS cruft
1440 * insetbib.C: remove !NEW_INSETS cruft
1442 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1444 * insettoc.C: hack to make listof algorithm work
1446 2001-04-20 Juergen Vigna <jug@sad.it>
1448 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1450 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1452 * insetquotes.C (Latex): improve the guard against
1453 unwanted !` and ?` ligatures. This should really be done in
1454 another place (to catch all this ligatures at low-level).
1456 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1458 * insettext.C (init): remvoe leftovers from cursor_visible change
1459 (draw): use c++ cast
1460 (LocalDispatch): dispatch LFUN_MESSAGE
1462 * insettabular.C (InsetTabular): remove leftovers from
1463 cursor_visible, and scoped_ptr changes
1464 (draw): use c++ cast
1466 * insetcollapsable.C (draw): use c++ cast
1468 * ExternalTemplate.h: inherit privaely from noncopyable
1469 * insetcommand.h: ditto
1470 * insetinclude.h: ditto
1472 2001-04-16 Allan Rae <rae@lyx.org>
1474 * insettoc.C (Ascii):
1475 * insettext.C (draw):
1476 * insettabular.C (setPos):
1477 * insetminipage.C (Read):
1478 * insetfloat.C (placement):
1479 * insetcaption.C (Ascii, DocBook):
1480 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1481 an unrecognised preprocessor directive. So ensure they're wrapped.
1483 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1486 * insetexternal.C: set view on Clone. Add _ to private members.
1488 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1490 * insettext.C (InsetText): fix new
1491 (InsetText): reindent some, simplify deletion of par list
1492 (clear): simplify deletion of par list, fix new
1493 (SetParagraphData): simplify deletion of par list
1495 * insettabular.[Ch] (getLabelList): implement new method
1497 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1499 * lyxinset.h: do not include gettext.h...
1507 * insetlatexaccent.C:
1511 * inseturl.C: ... and do it here instead
1513 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1515 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1517 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1519 * insetcollapsable.[Ch] (getLabelList): implement
1521 * insettext.[Ch] (getLabelList): implement
1523 * insettext.h: reindent
1525 * insettabular.h: make tabular a scoped_ptr
1527 * insettext.C (init): adjust for cursor_visible
1528 (ToggleInsetCursor): constify asc and desc, font, adjust for
1530 (ShowInsetCursor): constify asc and desc, font, adjust for
1532 (HideInsetCursor): adjust for cursor_visible
1534 * insettabular.C: reindent some
1535 (InsetTabular): adjust for scoped_ptr and cursor_visible
1536 (InsetTabular): ditto
1537 (~InsetTabular): delete delete
1538 (Clone): adjust for scoped_ptr
1539 (Read): constify old_format, adjust for scoped_ptr, move init of
1541 (draw): constify tx, localize loop vars.
1542 some other localization of variables, remove double initilizatons.
1544 * insetfoot.C: remove using std::ostream, add ostream where needed
1546 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1548 * lyxinset.h: some reindentaion, use initializer list for
1550 UpdatableInset: make cursor_visible a private var add
1551 public isCursorVisible(), add protected toggleCursorVisible() and
1552 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1554 * insettoc.C: remvoe using decl
1555 (getScreenLabel): make cmdname donst
1558 (Ascii): don't use endl
1560 * insetfootlike.C: remove using decl at file scope and add std::
1562 * insetmarginal.C: ditto
1564 * insetfoot.C: some reformatting
1566 * insetfloat.C (InsetButtonRelease): adjust the hit area
1568 * insetert.C (SetFont): some reformatting
1570 * insetcollapsable.C: some reformatting and constification
1571 (Clone): comment out.
1572 * insetcollapsable.h: some reformatting
1573 (Clone): comment out.
1578 2001-03-30 Juergen Vigna <jug@sad.it>
1580 * insetcollapsable.h: changen *inset to be a InsetText inset.
1582 * some files: changed to reflect the above change.
1584 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1586 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1587 InsetExternal::Params.
1588 Added operator==() and operator!=() for the Params struct.
1590 2001-03-29 Juergen Vigna <jug@sad.it>
1592 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1595 * insetminipage.C: removed widthp_ and all it's functions and changed
1596 to use new %-lengths of LyXLength.
1598 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1600 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1602 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1604 * insetgraphicsParams.C (operator!=): new function, needed by the
1605 ControlGraphics class.
1607 2001-03-28 Juergen Vigna <jug@sad.it>
1609 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1610 (checkAndActivateInset): don't use the values returned from
1611 call to bv->checkInsetHit.
1613 * insetminipage.C (Clone): set special minipage values.
1615 * insetcollapsable.C (draw): changed to draw the button in the
1616 upper left corner outside the textinset.
1617 (ascent): changed because of different drawing
1621 (InsetButtonPress): ditto
1622 (InsetButtonRelease): ditto
1623 (InsetMotionNotify): ditto
1625 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1627 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1631 2001-03-26 Juergen Vigna <jug@sad.it>
1633 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1635 * insettext.C (ShowInsetDialog): implemented above function.
1637 * insettabular.C (ShowInsetDialog): ditto
1639 * insetminipage.C (ShowInsetDialog): ditto
1641 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1643 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1644 InsetInclude::Params. Don't store a buffer * in Params. Store the
1645 master file name instead.
1647 2001-03-23 Juergen Vigna <jug@sad.it>
1649 * insetcollapsable.C (InsetMotionNotify):
1650 (InsetButtonRelease):
1651 (InsetButtonPress): fixed y-offset (minipages).
1653 * insettext.C (draw): force a FULL update if cleared == true.
1655 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1656 routine to draw the minipages on its position-flag.
1657 (InsetInInsetY): give back the right y position, because of minipage
1660 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1663 * insetfloat.C (DocBook): docbook export code.
1665 2001-03-22 Juergen Vigna <jug@sad.it>
1667 * insetminipage.C (getMaxWidth): added function to set the drawing
1669 (Read): should work now!
1671 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1672 if we create a new inset.
1674 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1676 * figinset.C (fl_set_preemptive_callback): moved definition outside
1679 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1681 * insetminipage.C (Read): prepare for reading of minipage arguments.
1683 2001-03-18 Baruch Even <baruch@lyx.org>
1685 * insetgraphics.C: Minor cleanups of the comments and code.
1687 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1689 * insetminipage.C (InsetMinipage): default to not collapsed
1691 2001-03-16 Juergen Vigna <jug@sad.it>
1693 * insetminipage.C (width): modified with to be a string
1694 (widthp): added widthp (for % width) support functions.
1695 (InsetButtonRelease): added to open the options dialog on button==3.
1696 (~InsetMinipage): added to hide the dialog.
1698 * insetminipage.h: added hideDialog signal
1700 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1702 * insetminipage.h: change the order or Position to match
1703 LyXParagraph::MINIPAGE_ALIGNMENT
1705 * several files: remvoe CXX_WORKING_NAMESPACES
1707 * ExternalTemplate.h: noncopyable is in namespace boost
1708 * insetinclude.h: ditto
1709 * insetcommand.h: ditto
1711 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1713 * insettext.C (Edit): #else# -> #else.
1714 * insettoc.C: added using directive.
1716 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1718 * insetminipage.h: add pos, inner_pos, width and height. + getters
1719 and setters for all of them.
1721 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1723 * insetinclude.C (Latex): Do not exit when the textclass of the
1724 included file differ from the textclass of the parent file.
1726 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1728 * ExternalTemplate.C (read): the reading of external insets now checks
1729 for \end_inset and removes it form the input stream.
1731 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1733 * ExternalTemplate.h:
1734 * ExternalTemplate.C:
1736 * insetexternal.C: move form to GUII
1738 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1741 * insetinclude.C: add InsetIncludeParams, use
1742 composition rather than derivation of InsetCommand
1744 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1746 * insettoc.C (Ascii): use the Buffer typedefs
1748 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1750 * insettoc.C (Ascii): implement for dynamic number of lists
1752 * insetcaption.[Ch]: update from new_insets branch
1753 * insetfloat.[Ch]: ditto
1755 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1758 * figinset.C: use new File Dialog
1760 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1762 * insettext.C: changes becuase of ParagraphParameters.
1764 2001-02-28 Baruch Even <baruch@ev-en.org>
1766 * insetgraphics.C (updateInset): Changed due to the change in
1769 2001-02-26 Juergen Vigna <jug@sad.it>
1771 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1772 handled in LyXText).
1774 2001-02-23 Juergen Vigna <jug@sad.it>
1776 * insettext.C (draw): some small repainting fixes.
1777 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1779 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1780 should be) and not an int.
1782 * insettabular.C (LocalDispatch): ditto
1784 * insettext.C (LocalDispatch): ditto
1786 * insetcollapsable.C (LocalDispatch): ditto
1788 2001-02-22 Juergen Vigna <jug@sad.it>
1790 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1791 DISPATCH it and we don't have a locking_inset.
1793 2001-02-21 Baruch Even <baruch@ev-en.org>
1795 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1796 instead of GraphicsCacheItem *.
1798 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1800 * insetcollapsable.C (getLyXText): add const qualifier to second
1803 2001-02-22 Juergen Vigna <jug@sad.it>
1805 * insettext.C (getLyXText): honor the recursive parameter.
1806 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1808 * inset.C (getLyXText): added bool recursive parameter.
1810 * insettext.C (SetUpdateStatus): or the update codes.
1811 (draw): check need_update with &.
1812 (InsetButtonPress): set no_selection to not put a selection when
1813 entering an inset and it is redraws in another spot.
1815 * insettext.h: made need_update an int.
1817 2001-02-20 Baruch Even <baruch@ev-en.org>
1820 * insetgraphisc.C: Changed to use better semantics when loading images
1821 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1823 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1827 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1828 consistent with InsetTabular.
1830 2001-02-19 Juergen Vigna <jug@sad.it>
1832 * insettabular.C (LocalDispatch): implement PAGE up/down.
1834 * insettext.C (draw): clear all of it on need_update==INIT too!
1836 * insettabular.C (InsetUnlock): always clear the selection.
1838 * inset.C (scroll): normally we only want to scroll the inset until
1839 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1841 2001-02-14 Juergen Vigna <jug@sad.it>
1843 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1844 (resetPos): fixed scroll behaviour.
1845 (LocalDispatch): do an update if moving cursor inside a table cell
1846 requests a scroll of the tabular.
1848 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1850 * insettext.C (textWidth): constify local var
1852 * insettabular.C: small cleanup.
1854 * insetfoot.C (Latex): constify local var
1856 * insetcollapsable.C: small cleanup.
1858 * figinset.C (runqueue): use compare instead of strcmp
1860 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1863 * insetinfo.C: remove cruft
1865 2001-02-14 Juergen Vigna <jug@sad.it>
1867 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1869 2001-02-13 Juergen Vigna <jug@sad.it>
1871 * insettext.C (InsertInset): don't move left (is this right?)
1873 * insettabular.C (LocalDispatch): use of the no_draw variable
1875 * insettabular.h: new no_draw variable to stop redraw
1877 * insettabular.C (TabularFeatures): fixed update for alignment change
1879 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1883 * insetbib.C: move dialogs to frontends/
1885 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1887 * insettext.C (LocalDispatch): Restore the language if the inset
1890 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1892 * insettext.C (moveRightIntern): Update the selection cursor.
1893 (moveLeftIntern): Ditto.
1895 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1897 * Makefile.am: remove BoundingBox.h
1899 * BoundingBox.h: removed
1901 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1903 * insettext.C (LocalDispatch): Update selection cursor when moving
1904 cursor to the right.
1905 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1906 (moveLeftIntern): Ditto.
1908 2001-02-05 Baruch Even <baruch.even@writeme.com>
1910 * insetgraphics.C: Updated automatic image conversion, it now goes into
1911 temporary directory instead of with the image itself.
1913 2001-01-21 Baruch Even <baruch@ev-en.org>
1915 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1916 to EPS or PNG when needed (support bitmap graphics).
1918 2000-11-02 Baruch Even <baruch@ev-en.org>
1921 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1922 and removal of commented out code.
1924 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1926 * insetbib.C (callback): Update citations if the key has changed.
1928 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1930 * insetbib.C (InsetBibKey): Better computation of default key.
1931 (getScreenLabel) Show both the key and the label.
1932 (getBibLabel): New method.
1933 (callback): Force a redraw if the inset have been changed.
1935 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1937 * insetref.C (getType, getName): Move methods from
1938 src/frontends/xforms/FormRef.C.
1940 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1942 * insettabular.C: Various improvements (use only one dummy position).
1944 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1946 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1947 par->bibkey->width. This fixes the crashes when running without
1948 gui or when having included documents.
1950 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1952 * insetcommand.C (getAsString, setFromString): Cleanup.
1954 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1956 * insetref.C: Add the array InsetRef::types that contains
1957 information about all supported reference types.
1959 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1961 * lyxinset.h: remove trailing comma in enum.
1963 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1965 * insettext.C: kill LyXBell.