1 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5 * insetgraphics.C: send debug output to Debug::INFO instead of
8 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11 * insettabular.C (getStatus): update to use func_status
13 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
15 * insetref.C (DocBook): added support for cross-references without
18 2001-06-26 The LyX Project <jug@sad.it>
23 * insetlabel.h: removed escape method and moved it to
26 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * insettabular.C (getMaxWidth): do the speedup in a different way,
31 2001-06-24 The LyX Project <Asger>
33 * insettabular.C (getMaxWidth): We cache a mapping from
34 inset to cell in order to speed this method up.
36 2001-06-24 The LyX Project <Asger>
38 * insettext.C: Optimized InsetText::draw or something.
40 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
42 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
44 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * inset.h: name change from lyxinset.h
48 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
50 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
52 2001-06-14 Juergen Vigna <jug@sad.it>
54 * insettext.C (draw): removed warnings.
56 2001-06-13 Juergen Vigna <jug@sad.it>
58 * insettabular.C (nodraw): only go down the tree if we don't have
59 that flag set otherwise it's obvious that we don't want to draw.
60 (LocalDispatch): do also an update if we have an undispached result.
62 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
65 * insetgraphicsParams.C:
66 * insettext.C: removed // -*- C++ -*- as first line.
68 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
70 * lyxinset.h (resizeLyXText): shut off warning about unused
73 2001-06-07 Juergen Vigna <jug@sad.it>
75 * insettext.C (resizeLyXText): honor the new force flag.
77 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
79 * insettabular.C (deleteLyXText): new function
81 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
90 * insetcaption.C: LColor tidy
92 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
94 * figinset.C: fix typo
96 2001-06-01 Juergen Vigna <jug@sad.it>
98 * insettabular.C (resetPos): small hack so that scroll is not set to
99 0 when we are in the last column of a tabular. This is a problem we
100 have because of constats 20 offset on both directions, so this can
101 cause on the limit an endless loop.
103 * insettext.C (SetFont): forgot that we can have locking insets ;)
105 2001-05-31 Juergen Vigna <jug@sad.it>
107 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
109 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * figinset.C: add using std:: directive for the C functions which
114 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
116 * insetfloat.C (Write): write out wide info
117 (Read): read the wide info
118 (Latex): use the wide info when creating latex.
120 * insettext.C: adjust
122 * insetgraphics.[Ch] (statusMessage): change to return string
126 * figinset.C (runqueue): add std::
129 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
131 * insetcite.C (Ascii): add std:: qualifier
133 2001-05-28 Juergen Vigna <jug@sad.it>
135 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
136 a endless-width inset (maxWidth < 0).
137 (Edit): change language only if not equal.
139 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
141 * insettext.C (draw): fixed draw/clear of InsetText-Frame
143 2001-05-16 Juergen Vigna <jug@sad.it>
145 * insettext.C (selectAll): added
146 (clearSelection): added
148 * insettabular.C (SetFont): now we may set a font on a whole selection!
149 (getSelection): added helper function.
151 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
153 * insetcite.C (Ascii): Add method.
155 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
158 * insetbib.C: fix path for OS/2 & Win32
160 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
162 * insetfoot.C (Latex): don't use % after footnote.
164 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * insettext.C (Read): use clear
167 (SetParagraphData): use LyXParagraph copy constructor instead of clone
169 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
171 * insetfloatlist.h: add a bunch of std:: qualifiers.
173 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
176 FLOAT_LIST_CODE, renumber code list.
178 * insettoc.C (getScreenLabel): remove support for float lists
182 * insetfloatlist.[Ch]: new files
184 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
186 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
188 * insettabular.C (LocalDispatch):
189 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
192 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * insettext.C: remvoe !NEW_INSETS cruft
196 * insettabular.C: remove !NEW_INSETS cruft
198 * insetcollapsable.h: remove !NEW_INSETS cruft
200 * insetbib.C: remove !NEW_INSETS cruft
202 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * insettoc.C: hack to make listof algorithm work
206 2001-04-20 Juergen Vigna <jug@sad.it>
208 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
210 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
212 * insetquotes.C (Latex): improve the guard against
213 unwanted !` and ?` ligatures. This should really be done in
214 another place (to catch all this ligatures at low-level).
216 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * insettext.C (init): remvoe leftovers from cursor_visible change
220 (LocalDispatch): dispatch LFUN_MESSAGE
222 * insettabular.C (InsetTabular): remove leftovers from
223 cursor_visible, and scoped_ptr changes
226 * insetcollapsable.C (draw): use c++ cast
228 * ExternalTemplate.h: inherit privaely from noncopyable
229 * insetcommand.h: ditto
230 * insetinclude.h: ditto
232 2001-04-16 Allan Rae <rae@lyx.org>
234 * insettoc.C (Ascii):
235 * insettext.C (draw):
236 * insettabular.C (setPos):
237 * insetminipage.C (Read):
238 * insetfloat.C (placement):
239 * insetcaption.C (Ascii, DocBook):
240 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
241 an unrecognised preprocessor directive. So ensure they're wrapped.
243 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
246 * insetexternal.C: set view on Clone. Add _ to private members.
248 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
250 * insettext.C (InsetText): fix new
251 (InsetText): reindent some, simplify deletion of par list
252 (clear): simplify deletion of par list, fix new
253 (SetParagraphData): simplify deletion of par list
255 * insettabular.[Ch] (getLabelList): implement new method
257 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
259 * lyxinset.h: do not include gettext.h...
267 * insetlatexaccent.C:
271 * inseturl.C: ... and do it here instead
273 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
275 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
277 * insettext.[Ch] (getLabelList): add std:: on vector<string>
279 * insetcollapsable.[Ch] (getLabelList): implement
281 * insettext.[Ch] (getLabelList): implement
283 * insettext.h: reindent
285 * insettabular.h: make tabular a scoped_ptr
287 * insettext.C (init): adjust for cursor_visible
288 (ToggleInsetCursor): constify asc and desc, font, adjust for
290 (ShowInsetCursor): constify asc and desc, font, adjust for
292 (HideInsetCursor): adjust for cursor_visible
294 * insettabular.C: reindent some
295 (InsetTabular): adjust for scoped_ptr and cursor_visible
296 (InsetTabular): ditto
297 (~InsetTabular): delete delete
298 (Clone): adjust for scoped_ptr
299 (Read): constify old_format, adjust for scoped_ptr, move init of
301 (draw): constify tx, localize loop vars.
302 some other localization of variables, remove double initilizatons.
304 * insetfoot.C: remove using std::ostream, add ostream where needed
306 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
308 * lyxinset.h: some reindentaion, use initializer list for
310 UpdatableInset: make cursor_visible a private var add
311 public isCursorVisible(), add protected toggleCursorVisible() and
312 proctected setCursorVisible(bool), make scroll call the Inset::scroll
314 * insettoc.C: remvoe using decl
315 (getScreenLabel): make cmdname donst
318 (Ascii): don't use endl
320 * insetfootlike.C: remove using decl at file scope and add std::
322 * insetmarginal.C: ditto
324 * insetfoot.C: some reformatting
326 * insetfloat.C (InsetButtonRelease): adjust the hit area
328 * insetert.C (SetFont): some reformatting
330 * insetcollapsable.C: some reformatting and constification
331 (Clone): comment out.
332 * insetcollapsable.h: some reformatting
333 (Clone): comment out.
338 2001-03-30 Juergen Vigna <jug@sad.it>
340 * insetcollapsable.h: changen *inset to be a InsetText inset.
342 * some files: changed to reflect the above change.
344 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
346 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
347 InsetExternal::Params.
348 Added operator==() and operator!=() for the Params struct.
350 2001-03-29 Juergen Vigna <jug@sad.it>
352 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
355 * insetminipage.C: removed widthp_ and all it's functions and changed
356 to use new %-lengths of LyXLength.
358 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
360 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
362 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
364 * insetgraphicsParams.C (operator!=): new function, needed by the
365 ControlGraphics class.
367 2001-03-28 Juergen Vigna <jug@sad.it>
369 * insettext.C (InsetButtonPress): only enter !inset if button == 2
370 (checkAndActivateInset): don't use the values returned from
371 call to bv->checkInsetHit.
373 * insetminipage.C (Clone): set special minipage values.
375 * insetcollapsable.C (draw): changed to draw the button in the
376 upper left corner outside the textinset.
377 (ascent): changed because of different drawing
381 (InsetButtonPress): ditto
382 (InsetButtonRelease): ditto
383 (InsetMotionNotify): ditto
385 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
387 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
391 2001-03-26 Juergen Vigna <jug@sad.it>
393 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
395 * insettext.C (ShowInsetDialog): implemented above function.
397 * insettabular.C (ShowInsetDialog): ditto
399 * insetminipage.C (ShowInsetDialog): ditto
401 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
403 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
404 InsetInclude::Params. Don't store a buffer * in Params. Store the
405 master file name instead.
407 2001-03-23 Juergen Vigna <jug@sad.it>
409 * insetcollapsable.C (InsetMotionNotify):
410 (InsetButtonRelease):
411 (InsetButtonPress): fixed y-offset (minipages).
413 * insettext.C (draw): force a FULL update if cleared == true.
415 * insetcollapsable.C (draw): Lars forgotten entry for changing this
416 routine to draw the minipages on its position-flag.
417 (InsetInInsetY): give back the right y position, because of minipage
420 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
423 * insetfloat.C (DocBook): docbook export code.
425 2001-03-22 Juergen Vigna <jug@sad.it>
427 * insetminipage.C (getMaxWidth): added function to set the drawing
429 (Read): should work now!
431 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
432 if we create a new inset.
434 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
436 * figinset.C (fl_set_preemptive_callback): moved definition outside
439 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
441 * insetminipage.C (Read): prepare for reading of minipage arguments.
443 2001-03-18 Baruch Even <baruch@lyx.org>
445 * insetgraphics.C: Minor cleanups of the comments and code.
447 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
449 * insetminipage.C (InsetMinipage): default to not collapsed
451 2001-03-16 Juergen Vigna <jug@sad.it>
453 * insetminipage.C (width): modified with to be a string
454 (widthp): added widthp (for % width) support functions.
455 (InsetButtonRelease): added to open the options dialog on button==3.
456 (~InsetMinipage): added to hide the dialog.
458 * insetminipage.h: added hideDialog signal
460 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
462 * insetminipage.h: change the order or Position to match
463 LyXParagraph::MINIPAGE_ALIGNMENT
465 * several files: remvoe CXX_WORKING_NAMESPACES
467 * ExternalTemplate.h: noncopyable is in namespace boost
468 * insetinclude.h: ditto
469 * insetcommand.h: ditto
471 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
473 * insettext.C (Edit): #else# -> #else.
474 * insettoc.C: added using directive.
476 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
478 * insetminipage.h: add pos, inner_pos, width and height. + getters
479 and setters for all of them.
481 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
483 * insetinclude.C (Latex): Do not exit when the textclass of the
484 included file differ from the textclass of the parent file.
486 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
488 * ExternalTemplate.C (read): the reading of external insets now checks
489 for \end_inset and removes it form the input stream.
491 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
493 * ExternalTemplate.h:
494 * ExternalTemplate.C:
496 * insetexternal.C: move form to GUII
498 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
501 * insetinclude.C: add InsetIncludeParams, use
502 composition rather than derivation of InsetCommand
504 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
506 * insettoc.C (Ascii): use the Buffer typedefs
508 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
510 * insettoc.C (Ascii): implement for dynamic number of lists
512 * insetcaption.[Ch]: update from new_insets branch
513 * insetfloat.[Ch]: ditto
515 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
518 * figinset.C: use new File Dialog
520 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
522 * insettext.C: changes becuase of ParagraphParameters.
524 2001-02-28 Baruch Even <baruch@ev-en.org>
526 * insetgraphics.C (updateInset): Changed due to the change in
529 2001-02-26 Juergen Vigna <jug@sad.it>
531 * insettext.C (SetFont): Set Undo only if we have selection (as it is
534 2001-02-23 Juergen Vigna <jug@sad.it>
536 * insettext.C (draw): some small repainting fixes.
537 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
539 * inset.C (LocalDispatch): changed action to be a kb_action (as it
540 should be) and not an int.
542 * insettabular.C (LocalDispatch): ditto
544 * insettext.C (LocalDispatch): ditto
546 * insetcollapsable.C (LocalDispatch): ditto
548 2001-02-22 Juergen Vigna <jug@sad.it>
550 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
551 DISPATCH it and we don't have a locking_inset.
553 2001-02-21 Baruch Even <baruch@ev-en.org>
555 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
556 instead of GraphicsCacheItem *.
558 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * insetcollapsable.C (getLyXText): add const qualifier to second
563 2001-02-22 Juergen Vigna <jug@sad.it>
565 * insettext.C (getLyXText): honor the recursive parameter.
566 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
568 * inset.C (getLyXText): added bool recursive parameter.
570 * insettext.C (SetUpdateStatus): or the update codes.
571 (draw): check need_update with &.
572 (InsetButtonPress): set no_selection to not put a selection when
573 entering an inset and it is redraws in another spot.
575 * insettext.h: made need_update an int.
577 2001-02-20 Baruch Even <baruch@ev-en.org>
580 * insetgraphisc.C: Changed to use better semantics when loading images
581 for inline view. Now it doesn't keep the pixmap itself but it's holder.
583 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
587 * insetgraphics.C: change name of "hide" signal to "hideDialog",
588 consistent with InsetTabular.
590 2001-02-19 Juergen Vigna <jug@sad.it>
592 * insettabular.C (LocalDispatch): implement PAGE up/down.
594 * insettext.C (draw): clear all of it on need_update==INIT too!
596 * insettabular.C (InsetUnlock): always clear the selection.
598 * inset.C (scroll): normally we only want to scroll the inset until
599 it is fully visible so if top_x + offset > 20 then just set scx to 0.
601 2001-02-14 Juergen Vigna <jug@sad.it>
603 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
604 (resetPos): fixed scroll behaviour.
605 (LocalDispatch): do an update if moving cursor inside a table cell
606 requests a scroll of the tabular.
608 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
610 * insettext.C (textWidth): constify local var
612 * insettabular.C: small cleanup.
614 * insetfoot.C (Latex): constify local var
616 * insetcollapsable.C: small cleanup.
618 * figinset.C (runqueue): use compare instead of strcmp
620 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
623 * insetinfo.C: remove cruft
625 2001-02-14 Juergen Vigna <jug@sad.it>
627 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
629 2001-02-13 Juergen Vigna <jug@sad.it>
631 * insettext.C (InsertInset): don't move left (is this right?)
633 * insettabular.C (LocalDispatch): use of the no_draw variable
635 * insettabular.h: new no_draw variable to stop redraw
637 * insettabular.C (TabularFeatures): fixed update for alignment change
639 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
643 * insetbib.C: move dialogs to frontends/
645 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
647 * insettext.C (LocalDispatch): Restore the language if the inset
650 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
652 * insettext.C (moveRightIntern): Update the selection cursor.
653 (moveLeftIntern): Ditto.
655 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
657 * Makefile.am: remove BoundingBox.h
659 * BoundingBox.h: removed
661 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
663 * insettext.C (LocalDispatch): Update selection cursor when moving
665 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
666 (moveLeftIntern): Ditto.
668 2001-02-05 Baruch Even <baruch.even@writeme.com>
670 * insetgraphics.C: Updated automatic image conversion, it now goes into
671 temporary directory instead of with the image itself.
673 2001-01-21 Baruch Even <baruch@ev-en.org>
675 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
676 to EPS or PNG when needed (support bitmap graphics).
678 2000-11-02 Baruch Even <baruch@ev-en.org>
681 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
682 and removal of commented out code.
684 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
686 * insetbib.C (callback): Update citations if the key has changed.
688 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
690 * insetbib.C (InsetBibKey): Better computation of default key.
691 (getScreenLabel) Show both the key and the label.
692 (getBibLabel): New method.
693 (callback): Force a redraw if the inset have been changed.
695 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
697 * insetref.C (getType, getName): Move methods from
698 src/frontends/xforms/FormRef.C.
700 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
702 * insettabular.C: Various improvements (use only one dummy position).
704 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
706 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
707 par->bibkey->width. This fixes the crashes when running without
708 gui or when having included documents.
710 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
712 * insetcommand.C (getAsString, setFromString): Cleanup.
714 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
716 * insetref.C: Add the array InsetRef::types that contains
717 information about all supported reference types.
719 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
721 * lyxinset.h: remove trailing comma in enum.
723 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
725 * insettext.C: kill LyXBell.