1 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.h (TEXT): delete method
5 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * insetmarginal.C (latex):
8 * insetfoot.C (latex): fix spacing of notes in LaTeX
10 * insettext.C (localDispatch): use .c_str() on istringstream
13 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
18 * inseturl.C: fix method names in these to begin
19 with small char too, so they inherit
21 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * Change a lot of method names to begin with a small char.
24 Changes to a lot of files because of this.
26 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * insetfloatlist.C (Write): std:: qualify ostream
31 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
35 * insetgraphics.C: send debug output to Debug::INFO instead of
38 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
41 * insettabular.C (getStatus): update to use func_status
43 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
45 * insetref.C (DocBook): added support for cross-references without
48 2001-06-26 The LyX Project <jug@sad.it>
53 * insetlabel.h: removed escape method and moved it to
56 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
58 * insettabular.C (getMaxWidth): do the speedup in a different way,
61 2001-06-24 The LyX Project <Asger>
63 * insettabular.C (getMaxWidth): We cache a mapping from
64 inset to cell in order to speed this method up.
66 2001-06-24 The LyX Project <Asger>
68 * insettext.C: Optimized InsetText::draw or something.
70 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
72 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
74 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * inset.h: name change from lyxinset.h
78 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
80 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
82 2001-06-14 Juergen Vigna <jug@sad.it>
84 * insettext.C (draw): removed warnings.
86 2001-06-13 Juergen Vigna <jug@sad.it>
88 * insettabular.C (nodraw): only go down the tree if we don't have
89 that flag set otherwise it's obvious that we don't want to draw.
90 (LocalDispatch): do also an update if we have an undispached result.
92 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
95 * insetgraphicsParams.C:
96 * insettext.C: removed // -*- C++ -*- as first line.
98 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
100 * lyxinset.h (resizeLyXText): shut off warning about unused
103 2001-06-07 Juergen Vigna <jug@sad.it>
105 * insettext.C (resizeLyXText): honor the new force flag.
107 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
109 * insettabular.C (deleteLyXText): new function
111 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
119 * insetcollapsable.C:
120 * insetcaption.C: LColor tidy
122 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
124 * figinset.C: fix typo
126 2001-06-01 Juergen Vigna <jug@sad.it>
128 * insettabular.C (resetPos): small hack so that scroll is not set to
129 0 when we are in the last column of a tabular. This is a problem we
130 have because of constats 20 offset on both directions, so this can
131 cause on the limit an endless loop.
133 * insettext.C (SetFont): forgot that we can have locking insets ;)
135 2001-05-31 Juergen Vigna <jug@sad.it>
137 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
139 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
141 * figinset.C: add using std:: directive for the C functions which
144 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * insetfloat.C (Write): write out wide info
147 (Read): read the wide info
148 (Latex): use the wide info when creating latex.
150 * insettext.C: adjust
152 * insetgraphics.[Ch] (statusMessage): change to return string
156 * figinset.C (runqueue): add std::
159 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
161 * insetcite.C (Ascii): add std:: qualifier
163 2001-05-28 Juergen Vigna <jug@sad.it>
165 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
166 a endless-width inset (maxWidth < 0).
167 (Edit): change language only if not equal.
169 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
171 * insettext.C (draw): fixed draw/clear of InsetText-Frame
173 2001-05-16 Juergen Vigna <jug@sad.it>
175 * insettext.C (selectAll): added
176 (clearSelection): added
178 * insettabular.C (SetFont): now we may set a font on a whole selection!
179 (getSelection): added helper function.
181 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
183 * insetcite.C (Ascii): Add method.
185 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
188 * insetbib.C: fix path for OS/2 & Win32
190 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * insetfoot.C (Latex): don't use % after footnote.
194 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
196 * insettext.C (Read): use clear
197 (SetParagraphData): use LyXParagraph copy constructor instead of clone
199 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
201 * insetfloatlist.h: add a bunch of std:: qualifiers.
203 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
205 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
206 FLOAT_LIST_CODE, renumber code list.
208 * insettoc.C (getScreenLabel): remove support for float lists
212 * insetfloatlist.[Ch]: new files
214 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
216 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
218 * insettabular.C (LocalDispatch):
219 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
222 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * insettext.C: remvoe !NEW_INSETS cruft
226 * insettabular.C: remove !NEW_INSETS cruft
228 * insetcollapsable.h: remove !NEW_INSETS cruft
230 * insetbib.C: remove !NEW_INSETS cruft
232 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
234 * insettoc.C: hack to make listof algorithm work
236 2001-04-20 Juergen Vigna <jug@sad.it>
238 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
240 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
242 * insetquotes.C (Latex): improve the guard against
243 unwanted !` and ?` ligatures. This should really be done in
244 another place (to catch all this ligatures at low-level).
246 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * insettext.C (init): remvoe leftovers from cursor_visible change
250 (LocalDispatch): dispatch LFUN_MESSAGE
252 * insettabular.C (InsetTabular): remove leftovers from
253 cursor_visible, and scoped_ptr changes
256 * insetcollapsable.C (draw): use c++ cast
258 * ExternalTemplate.h: inherit privaely from noncopyable
259 * insetcommand.h: ditto
260 * insetinclude.h: ditto
262 2001-04-16 Allan Rae <rae@lyx.org>
264 * insettoc.C (Ascii):
265 * insettext.C (draw):
266 * insettabular.C (setPos):
267 * insetminipage.C (Read):
268 * insetfloat.C (placement):
269 * insetcaption.C (Ascii, DocBook):
270 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
271 an unrecognised preprocessor directive. So ensure they're wrapped.
273 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
276 * insetexternal.C: set view on Clone. Add _ to private members.
278 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
280 * insettext.C (InsetText): fix new
281 (InsetText): reindent some, simplify deletion of par list
282 (clear): simplify deletion of par list, fix new
283 (SetParagraphData): simplify deletion of par list
285 * insettabular.[Ch] (getLabelList): implement new method
287 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
289 * lyxinset.h: do not include gettext.h...
297 * insetlatexaccent.C:
301 * inseturl.C: ... and do it here instead
303 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
307 * insettext.[Ch] (getLabelList): add std:: on vector<string>
309 * insetcollapsable.[Ch] (getLabelList): implement
311 * insettext.[Ch] (getLabelList): implement
313 * insettext.h: reindent
315 * insettabular.h: make tabular a scoped_ptr
317 * insettext.C (init): adjust for cursor_visible
318 (ToggleInsetCursor): constify asc and desc, font, adjust for
320 (ShowInsetCursor): constify asc and desc, font, adjust for
322 (HideInsetCursor): adjust for cursor_visible
324 * insettabular.C: reindent some
325 (InsetTabular): adjust for scoped_ptr and cursor_visible
326 (InsetTabular): ditto
327 (~InsetTabular): delete delete
328 (Clone): adjust for scoped_ptr
329 (Read): constify old_format, adjust for scoped_ptr, move init of
331 (draw): constify tx, localize loop vars.
332 some other localization of variables, remove double initilizatons.
334 * insetfoot.C: remove using std::ostream, add ostream where needed
336 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
338 * lyxinset.h: some reindentaion, use initializer list for
340 UpdatableInset: make cursor_visible a private var add
341 public isCursorVisible(), add protected toggleCursorVisible() and
342 proctected setCursorVisible(bool), make scroll call the Inset::scroll
344 * insettoc.C: remvoe using decl
345 (getScreenLabel): make cmdname donst
348 (Ascii): don't use endl
350 * insetfootlike.C: remove using decl at file scope and add std::
352 * insetmarginal.C: ditto
354 * insetfoot.C: some reformatting
356 * insetfloat.C (InsetButtonRelease): adjust the hit area
358 * insetert.C (SetFont): some reformatting
360 * insetcollapsable.C: some reformatting and constification
361 (Clone): comment out.
362 * insetcollapsable.h: some reformatting
363 (Clone): comment out.
368 2001-03-30 Juergen Vigna <jug@sad.it>
370 * insetcollapsable.h: changen *inset to be a InsetText inset.
372 * some files: changed to reflect the above change.
374 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
376 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
377 InsetExternal::Params.
378 Added operator==() and operator!=() for the Params struct.
380 2001-03-29 Juergen Vigna <jug@sad.it>
382 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
385 * insetminipage.C: removed widthp_ and all it's functions and changed
386 to use new %-lengths of LyXLength.
388 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
390 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
392 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
394 * insetgraphicsParams.C (operator!=): new function, needed by the
395 ControlGraphics class.
397 2001-03-28 Juergen Vigna <jug@sad.it>
399 * insettext.C (InsetButtonPress): only enter !inset if button == 2
400 (checkAndActivateInset): don't use the values returned from
401 call to bv->checkInsetHit.
403 * insetminipage.C (Clone): set special minipage values.
405 * insetcollapsable.C (draw): changed to draw the button in the
406 upper left corner outside the textinset.
407 (ascent): changed because of different drawing
411 (InsetButtonPress): ditto
412 (InsetButtonRelease): ditto
413 (InsetMotionNotify): ditto
415 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
417 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
421 2001-03-26 Juergen Vigna <jug@sad.it>
423 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
425 * insettext.C (ShowInsetDialog): implemented above function.
427 * insettabular.C (ShowInsetDialog): ditto
429 * insetminipage.C (ShowInsetDialog): ditto
431 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
433 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
434 InsetInclude::Params. Don't store a buffer * in Params. Store the
435 master file name instead.
437 2001-03-23 Juergen Vigna <jug@sad.it>
439 * insetcollapsable.C (InsetMotionNotify):
440 (InsetButtonRelease):
441 (InsetButtonPress): fixed y-offset (minipages).
443 * insettext.C (draw): force a FULL update if cleared == true.
445 * insetcollapsable.C (draw): Lars forgotten entry for changing this
446 routine to draw the minipages on its position-flag.
447 (InsetInInsetY): give back the right y position, because of minipage
450 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
453 * insetfloat.C (DocBook): docbook export code.
455 2001-03-22 Juergen Vigna <jug@sad.it>
457 * insetminipage.C (getMaxWidth): added function to set the drawing
459 (Read): should work now!
461 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
462 if we create a new inset.
464 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
466 * figinset.C (fl_set_preemptive_callback): moved definition outside
469 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
471 * insetminipage.C (Read): prepare for reading of minipage arguments.
473 2001-03-18 Baruch Even <baruch@lyx.org>
475 * insetgraphics.C: Minor cleanups of the comments and code.
477 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
479 * insetminipage.C (InsetMinipage): default to not collapsed
481 2001-03-16 Juergen Vigna <jug@sad.it>
483 * insetminipage.C (width): modified with to be a string
484 (widthp): added widthp (for % width) support functions.
485 (InsetButtonRelease): added to open the options dialog on button==3.
486 (~InsetMinipage): added to hide the dialog.
488 * insetminipage.h: added hideDialog signal
490 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
492 * insetminipage.h: change the order or Position to match
493 LyXParagraph::MINIPAGE_ALIGNMENT
495 * several files: remvoe CXX_WORKING_NAMESPACES
497 * ExternalTemplate.h: noncopyable is in namespace boost
498 * insetinclude.h: ditto
499 * insetcommand.h: ditto
501 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
503 * insettext.C (Edit): #else# -> #else.
504 * insettoc.C: added using directive.
506 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
508 * insetminipage.h: add pos, inner_pos, width and height. + getters
509 and setters for all of them.
511 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
513 * insetinclude.C (Latex): Do not exit when the textclass of the
514 included file differ from the textclass of the parent file.
516 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
518 * ExternalTemplate.C (read): the reading of external insets now checks
519 for \end_inset and removes it form the input stream.
521 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
523 * ExternalTemplate.h:
524 * ExternalTemplate.C:
526 * insetexternal.C: move form to GUII
528 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
531 * insetinclude.C: add InsetIncludeParams, use
532 composition rather than derivation of InsetCommand
534 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
536 * insettoc.C (Ascii): use the Buffer typedefs
538 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
540 * insettoc.C (Ascii): implement for dynamic number of lists
542 * insetcaption.[Ch]: update from new_insets branch
543 * insetfloat.[Ch]: ditto
545 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
548 * figinset.C: use new File Dialog
550 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
552 * insettext.C: changes becuase of ParagraphParameters.
554 2001-02-28 Baruch Even <baruch@ev-en.org>
556 * insetgraphics.C (updateInset): Changed due to the change in
559 2001-02-26 Juergen Vigna <jug@sad.it>
561 * insettext.C (SetFont): Set Undo only if we have selection (as it is
564 2001-02-23 Juergen Vigna <jug@sad.it>
566 * insettext.C (draw): some small repainting fixes.
567 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
569 * inset.C (LocalDispatch): changed action to be a kb_action (as it
570 should be) and not an int.
572 * insettabular.C (LocalDispatch): ditto
574 * insettext.C (LocalDispatch): ditto
576 * insetcollapsable.C (LocalDispatch): ditto
578 2001-02-22 Juergen Vigna <jug@sad.it>
580 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
581 DISPATCH it and we don't have a locking_inset.
583 2001-02-21 Baruch Even <baruch@ev-en.org>
585 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
586 instead of GraphicsCacheItem *.
588 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * insetcollapsable.C (getLyXText): add const qualifier to second
593 2001-02-22 Juergen Vigna <jug@sad.it>
595 * insettext.C (getLyXText): honor the recursive parameter.
596 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
598 * inset.C (getLyXText): added bool recursive parameter.
600 * insettext.C (SetUpdateStatus): or the update codes.
601 (draw): check need_update with &.
602 (InsetButtonPress): set no_selection to not put a selection when
603 entering an inset and it is redraws in another spot.
605 * insettext.h: made need_update an int.
607 2001-02-20 Baruch Even <baruch@ev-en.org>
610 * insetgraphisc.C: Changed to use better semantics when loading images
611 for inline view. Now it doesn't keep the pixmap itself but it's holder.
613 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
617 * insetgraphics.C: change name of "hide" signal to "hideDialog",
618 consistent with InsetTabular.
620 2001-02-19 Juergen Vigna <jug@sad.it>
622 * insettabular.C (LocalDispatch): implement PAGE up/down.
624 * insettext.C (draw): clear all of it on need_update==INIT too!
626 * insettabular.C (InsetUnlock): always clear the selection.
628 * inset.C (scroll): normally we only want to scroll the inset until
629 it is fully visible so if top_x + offset > 20 then just set scx to 0.
631 2001-02-14 Juergen Vigna <jug@sad.it>
633 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
634 (resetPos): fixed scroll behaviour.
635 (LocalDispatch): do an update if moving cursor inside a table cell
636 requests a scroll of the tabular.
638 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
640 * insettext.C (textWidth): constify local var
642 * insettabular.C: small cleanup.
644 * insetfoot.C (Latex): constify local var
646 * insetcollapsable.C: small cleanup.
648 * figinset.C (runqueue): use compare instead of strcmp
650 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
653 * insetinfo.C: remove cruft
655 2001-02-14 Juergen Vigna <jug@sad.it>
657 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
659 2001-02-13 Juergen Vigna <jug@sad.it>
661 * insettext.C (InsertInset): don't move left (is this right?)
663 * insettabular.C (LocalDispatch): use of the no_draw variable
665 * insettabular.h: new no_draw variable to stop redraw
667 * insettabular.C (TabularFeatures): fixed update for alignment change
669 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
673 * insetbib.C: move dialogs to frontends/
675 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
677 * insettext.C (LocalDispatch): Restore the language if the inset
680 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
682 * insettext.C (moveRightIntern): Update the selection cursor.
683 (moveLeftIntern): Ditto.
685 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
687 * Makefile.am: remove BoundingBox.h
689 * BoundingBox.h: removed
691 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
693 * insettext.C (LocalDispatch): Update selection cursor when moving
695 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
696 (moveLeftIntern): Ditto.
698 2001-02-05 Baruch Even <baruch.even@writeme.com>
700 * insetgraphics.C: Updated automatic image conversion, it now goes into
701 temporary directory instead of with the image itself.
703 2001-01-21 Baruch Even <baruch@ev-en.org>
705 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
706 to EPS or PNG when needed (support bitmap graphics).
708 2000-11-02 Baruch Even <baruch@ev-en.org>
711 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
712 and removal of commented out code.
714 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
716 * insetbib.C (callback): Update citations if the key has changed.
718 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
720 * insetbib.C (InsetBibKey): Better computation of default key.
721 (getScreenLabel) Show both the key and the label.
722 (getBibLabel): New method.
723 (callback): Force a redraw if the inset have been changed.
725 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
727 * insetref.C (getType, getName): Move methods from
728 src/frontends/xforms/FormRef.C.
730 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
732 * insettabular.C: Various improvements (use only one dummy position).
734 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
736 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
737 par->bibkey->width. This fixes the crashes when running without
738 gui or when having included documents.
740 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
742 * insetcommand.C (getAsString, setFromString): Cleanup.
744 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
746 * insetref.C: Add the array InsetRef::types that contains
747 information about all supported reference types.
749 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
751 * lyxinset.h: remove trailing comma in enum.
753 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
755 * insettext.C: kill LyXBell.