1 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetfloatlist.C (Write): std:: qualify ostream
6 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10 * insetgraphics.C: send debug output to Debug::INFO instead of
13 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16 * insettabular.C (getStatus): update to use func_status
18 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
20 * insetref.C (DocBook): added support for cross-references without
23 2001-06-26 The LyX Project <jug@sad.it>
28 * insetlabel.h: removed escape method and moved it to
31 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * insettabular.C (getMaxWidth): do the speedup in a different way,
36 2001-06-24 The LyX Project <Asger>
38 * insettabular.C (getMaxWidth): We cache a mapping from
39 inset to cell in order to speed this method up.
41 2001-06-24 The LyX Project <Asger>
43 * insettext.C: Optimized InsetText::draw or something.
45 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
47 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
49 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * inset.h: name change from lyxinset.h
53 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
55 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
57 2001-06-14 Juergen Vigna <jug@sad.it>
59 * insettext.C (draw): removed warnings.
61 2001-06-13 Juergen Vigna <jug@sad.it>
63 * insettabular.C (nodraw): only go down the tree if we don't have
64 that flag set otherwise it's obvious that we don't want to draw.
65 (LocalDispatch): do also an update if we have an undispached result.
67 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
70 * insetgraphicsParams.C:
71 * insettext.C: removed // -*- C++ -*- as first line.
73 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * lyxinset.h (resizeLyXText): shut off warning about unused
78 2001-06-07 Juergen Vigna <jug@sad.it>
80 * insettext.C (resizeLyXText): honor the new force flag.
82 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
84 * insettabular.C (deleteLyXText): new function
86 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
95 * insetcaption.C: LColor tidy
97 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * figinset.C: fix typo
101 2001-06-01 Juergen Vigna <jug@sad.it>
103 * insettabular.C (resetPos): small hack so that scroll is not set to
104 0 when we are in the last column of a tabular. This is a problem we
105 have because of constats 20 offset on both directions, so this can
106 cause on the limit an endless loop.
108 * insettext.C (SetFont): forgot that we can have locking insets ;)
110 2001-05-31 Juergen Vigna <jug@sad.it>
112 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
114 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
116 * figinset.C: add using std:: directive for the C functions which
119 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
121 * insetfloat.C (Write): write out wide info
122 (Read): read the wide info
123 (Latex): use the wide info when creating latex.
125 * insettext.C: adjust
127 * insetgraphics.[Ch] (statusMessage): change to return string
131 * figinset.C (runqueue): add std::
134 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
136 * insetcite.C (Ascii): add std:: qualifier
138 2001-05-28 Juergen Vigna <jug@sad.it>
140 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
141 a endless-width inset (maxWidth < 0).
142 (Edit): change language only if not equal.
144 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
146 * insettext.C (draw): fixed draw/clear of InsetText-Frame
148 2001-05-16 Juergen Vigna <jug@sad.it>
150 * insettext.C (selectAll): added
151 (clearSelection): added
153 * insettabular.C (SetFont): now we may set a font on a whole selection!
154 (getSelection): added helper function.
156 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
158 * insetcite.C (Ascii): Add method.
160 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
163 * insetbib.C: fix path for OS/2 & Win32
165 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * insetfoot.C (Latex): don't use % after footnote.
169 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
171 * insettext.C (Read): use clear
172 (SetParagraphData): use LyXParagraph copy constructor instead of clone
174 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
176 * insetfloatlist.h: add a bunch of std:: qualifiers.
178 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
181 FLOAT_LIST_CODE, renumber code list.
183 * insettoc.C (getScreenLabel): remove support for float lists
187 * insetfloatlist.[Ch]: new files
189 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
191 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
193 * insettabular.C (LocalDispatch):
194 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
197 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
199 * insettext.C: remvoe !NEW_INSETS cruft
201 * insettabular.C: remove !NEW_INSETS cruft
203 * insetcollapsable.h: remove !NEW_INSETS cruft
205 * insetbib.C: remove !NEW_INSETS cruft
207 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
209 * insettoc.C: hack to make listof algorithm work
211 2001-04-20 Juergen Vigna <jug@sad.it>
213 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
215 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * insetquotes.C (Latex): improve the guard against
218 unwanted !` and ?` ligatures. This should really be done in
219 another place (to catch all this ligatures at low-level).
221 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * insettext.C (init): remvoe leftovers from cursor_visible change
225 (LocalDispatch): dispatch LFUN_MESSAGE
227 * insettabular.C (InsetTabular): remove leftovers from
228 cursor_visible, and scoped_ptr changes
231 * insetcollapsable.C (draw): use c++ cast
233 * ExternalTemplate.h: inherit privaely from noncopyable
234 * insetcommand.h: ditto
235 * insetinclude.h: ditto
237 2001-04-16 Allan Rae <rae@lyx.org>
239 * insettoc.C (Ascii):
240 * insettext.C (draw):
241 * insettabular.C (setPos):
242 * insetminipage.C (Read):
243 * insetfloat.C (placement):
244 * insetcaption.C (Ascii, DocBook):
245 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
246 an unrecognised preprocessor directive. So ensure they're wrapped.
248 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
251 * insetexternal.C: set view on Clone. Add _ to private members.
253 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
255 * insettext.C (InsetText): fix new
256 (InsetText): reindent some, simplify deletion of par list
257 (clear): simplify deletion of par list, fix new
258 (SetParagraphData): simplify deletion of par list
260 * insettabular.[Ch] (getLabelList): implement new method
262 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
264 * lyxinset.h: do not include gettext.h...
272 * insetlatexaccent.C:
276 * inseturl.C: ... and do it here instead
278 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
280 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
282 * insettext.[Ch] (getLabelList): add std:: on vector<string>
284 * insetcollapsable.[Ch] (getLabelList): implement
286 * insettext.[Ch] (getLabelList): implement
288 * insettext.h: reindent
290 * insettabular.h: make tabular a scoped_ptr
292 * insettext.C (init): adjust for cursor_visible
293 (ToggleInsetCursor): constify asc and desc, font, adjust for
295 (ShowInsetCursor): constify asc and desc, font, adjust for
297 (HideInsetCursor): adjust for cursor_visible
299 * insettabular.C: reindent some
300 (InsetTabular): adjust for scoped_ptr and cursor_visible
301 (InsetTabular): ditto
302 (~InsetTabular): delete delete
303 (Clone): adjust for scoped_ptr
304 (Read): constify old_format, adjust for scoped_ptr, move init of
306 (draw): constify tx, localize loop vars.
307 some other localization of variables, remove double initilizatons.
309 * insetfoot.C: remove using std::ostream, add ostream where needed
311 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
313 * lyxinset.h: some reindentaion, use initializer list for
315 UpdatableInset: make cursor_visible a private var add
316 public isCursorVisible(), add protected toggleCursorVisible() and
317 proctected setCursorVisible(bool), make scroll call the Inset::scroll
319 * insettoc.C: remvoe using decl
320 (getScreenLabel): make cmdname donst
323 (Ascii): don't use endl
325 * insetfootlike.C: remove using decl at file scope and add std::
327 * insetmarginal.C: ditto
329 * insetfoot.C: some reformatting
331 * insetfloat.C (InsetButtonRelease): adjust the hit area
333 * insetert.C (SetFont): some reformatting
335 * insetcollapsable.C: some reformatting and constification
336 (Clone): comment out.
337 * insetcollapsable.h: some reformatting
338 (Clone): comment out.
343 2001-03-30 Juergen Vigna <jug@sad.it>
345 * insetcollapsable.h: changen *inset to be a InsetText inset.
347 * some files: changed to reflect the above change.
349 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
351 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
352 InsetExternal::Params.
353 Added operator==() and operator!=() for the Params struct.
355 2001-03-29 Juergen Vigna <jug@sad.it>
357 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
360 * insetminipage.C: removed widthp_ and all it's functions and changed
361 to use new %-lengths of LyXLength.
363 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
365 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
367 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
369 * insetgraphicsParams.C (operator!=): new function, needed by the
370 ControlGraphics class.
372 2001-03-28 Juergen Vigna <jug@sad.it>
374 * insettext.C (InsetButtonPress): only enter !inset if button == 2
375 (checkAndActivateInset): don't use the values returned from
376 call to bv->checkInsetHit.
378 * insetminipage.C (Clone): set special minipage values.
380 * insetcollapsable.C (draw): changed to draw the button in the
381 upper left corner outside the textinset.
382 (ascent): changed because of different drawing
386 (InsetButtonPress): ditto
387 (InsetButtonRelease): ditto
388 (InsetMotionNotify): ditto
390 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
392 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
396 2001-03-26 Juergen Vigna <jug@sad.it>
398 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
400 * insettext.C (ShowInsetDialog): implemented above function.
402 * insettabular.C (ShowInsetDialog): ditto
404 * insetminipage.C (ShowInsetDialog): ditto
406 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
408 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
409 InsetInclude::Params. Don't store a buffer * in Params. Store the
410 master file name instead.
412 2001-03-23 Juergen Vigna <jug@sad.it>
414 * insetcollapsable.C (InsetMotionNotify):
415 (InsetButtonRelease):
416 (InsetButtonPress): fixed y-offset (minipages).
418 * insettext.C (draw): force a FULL update if cleared == true.
420 * insetcollapsable.C (draw): Lars forgotten entry for changing this
421 routine to draw the minipages on its position-flag.
422 (InsetInInsetY): give back the right y position, because of minipage
425 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
428 * insetfloat.C (DocBook): docbook export code.
430 2001-03-22 Juergen Vigna <jug@sad.it>
432 * insetminipage.C (getMaxWidth): added function to set the drawing
434 (Read): should work now!
436 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
437 if we create a new inset.
439 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
441 * figinset.C (fl_set_preemptive_callback): moved definition outside
444 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
446 * insetminipage.C (Read): prepare for reading of minipage arguments.
448 2001-03-18 Baruch Even <baruch@lyx.org>
450 * insetgraphics.C: Minor cleanups of the comments and code.
452 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
454 * insetminipage.C (InsetMinipage): default to not collapsed
456 2001-03-16 Juergen Vigna <jug@sad.it>
458 * insetminipage.C (width): modified with to be a string
459 (widthp): added widthp (for % width) support functions.
460 (InsetButtonRelease): added to open the options dialog on button==3.
461 (~InsetMinipage): added to hide the dialog.
463 * insetminipage.h: added hideDialog signal
465 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
467 * insetminipage.h: change the order or Position to match
468 LyXParagraph::MINIPAGE_ALIGNMENT
470 * several files: remvoe CXX_WORKING_NAMESPACES
472 * ExternalTemplate.h: noncopyable is in namespace boost
473 * insetinclude.h: ditto
474 * insetcommand.h: ditto
476 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
478 * insettext.C (Edit): #else# -> #else.
479 * insettoc.C: added using directive.
481 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
483 * insetminipage.h: add pos, inner_pos, width and height. + getters
484 and setters for all of them.
486 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
488 * insetinclude.C (Latex): Do not exit when the textclass of the
489 included file differ from the textclass of the parent file.
491 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
493 * ExternalTemplate.C (read): the reading of external insets now checks
494 for \end_inset and removes it form the input stream.
496 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
498 * ExternalTemplate.h:
499 * ExternalTemplate.C:
501 * insetexternal.C: move form to GUII
503 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
506 * insetinclude.C: add InsetIncludeParams, use
507 composition rather than derivation of InsetCommand
509 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
511 * insettoc.C (Ascii): use the Buffer typedefs
513 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
515 * insettoc.C (Ascii): implement for dynamic number of lists
517 * insetcaption.[Ch]: update from new_insets branch
518 * insetfloat.[Ch]: ditto
520 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
523 * figinset.C: use new File Dialog
525 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
527 * insettext.C: changes becuase of ParagraphParameters.
529 2001-02-28 Baruch Even <baruch@ev-en.org>
531 * insetgraphics.C (updateInset): Changed due to the change in
534 2001-02-26 Juergen Vigna <jug@sad.it>
536 * insettext.C (SetFont): Set Undo only if we have selection (as it is
539 2001-02-23 Juergen Vigna <jug@sad.it>
541 * insettext.C (draw): some small repainting fixes.
542 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
544 * inset.C (LocalDispatch): changed action to be a kb_action (as it
545 should be) and not an int.
547 * insettabular.C (LocalDispatch): ditto
549 * insettext.C (LocalDispatch): ditto
551 * insetcollapsable.C (LocalDispatch): ditto
553 2001-02-22 Juergen Vigna <jug@sad.it>
555 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
556 DISPATCH it and we don't have a locking_inset.
558 2001-02-21 Baruch Even <baruch@ev-en.org>
560 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
561 instead of GraphicsCacheItem *.
563 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * insetcollapsable.C (getLyXText): add const qualifier to second
568 2001-02-22 Juergen Vigna <jug@sad.it>
570 * insettext.C (getLyXText): honor the recursive parameter.
571 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
573 * inset.C (getLyXText): added bool recursive parameter.
575 * insettext.C (SetUpdateStatus): or the update codes.
576 (draw): check need_update with &.
577 (InsetButtonPress): set no_selection to not put a selection when
578 entering an inset and it is redraws in another spot.
580 * insettext.h: made need_update an int.
582 2001-02-20 Baruch Even <baruch@ev-en.org>
585 * insetgraphisc.C: Changed to use better semantics when loading images
586 for inline view. Now it doesn't keep the pixmap itself but it's holder.
588 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
592 * insetgraphics.C: change name of "hide" signal to "hideDialog",
593 consistent with InsetTabular.
595 2001-02-19 Juergen Vigna <jug@sad.it>
597 * insettabular.C (LocalDispatch): implement PAGE up/down.
599 * insettext.C (draw): clear all of it on need_update==INIT too!
601 * insettabular.C (InsetUnlock): always clear the selection.
603 * inset.C (scroll): normally we only want to scroll the inset until
604 it is fully visible so if top_x + offset > 20 then just set scx to 0.
606 2001-02-14 Juergen Vigna <jug@sad.it>
608 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
609 (resetPos): fixed scroll behaviour.
610 (LocalDispatch): do an update if moving cursor inside a table cell
611 requests a scroll of the tabular.
613 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
615 * insettext.C (textWidth): constify local var
617 * insettabular.C: small cleanup.
619 * insetfoot.C (Latex): constify local var
621 * insetcollapsable.C: small cleanup.
623 * figinset.C (runqueue): use compare instead of strcmp
625 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
628 * insetinfo.C: remove cruft
630 2001-02-14 Juergen Vigna <jug@sad.it>
632 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
634 2001-02-13 Juergen Vigna <jug@sad.it>
636 * insettext.C (InsertInset): don't move left (is this right?)
638 * insettabular.C (LocalDispatch): use of the no_draw variable
640 * insettabular.h: new no_draw variable to stop redraw
642 * insettabular.C (TabularFeatures): fixed update for alignment change
644 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
648 * insetbib.C: move dialogs to frontends/
650 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
652 * insettext.C (LocalDispatch): Restore the language if the inset
655 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
657 * insettext.C (moveRightIntern): Update the selection cursor.
658 (moveLeftIntern): Ditto.
660 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * Makefile.am: remove BoundingBox.h
664 * BoundingBox.h: removed
666 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
668 * insettext.C (LocalDispatch): Update selection cursor when moving
670 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
671 (moveLeftIntern): Ditto.
673 2001-02-05 Baruch Even <baruch.even@writeme.com>
675 * insetgraphics.C: Updated automatic image conversion, it now goes into
676 temporary directory instead of with the image itself.
678 2001-01-21 Baruch Even <baruch@ev-en.org>
680 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
681 to EPS or PNG when needed (support bitmap graphics).
683 2000-11-02 Baruch Even <baruch@ev-en.org>
686 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
687 and removal of commented out code.
689 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
691 * insetbib.C (callback): Update citations if the key has changed.
693 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
695 * insetbib.C (InsetBibKey): Better computation of default key.
696 (getScreenLabel) Show both the key and the label.
697 (getBibLabel): New method.
698 (callback): Force a redraw if the inset have been changed.
700 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
702 * insetref.C (getType, getName): Move methods from
703 src/frontends/xforms/FormRef.C.
705 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
707 * insettabular.C: Various improvements (use only one dummy position).
709 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
711 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
712 par->bibkey->width. This fixes the crashes when running without
713 gui or when having included documents.
715 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
717 * insetcommand.C (getAsString, setFromString): Cleanup.
719 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
721 * insetref.C: Add the array InsetRef::types that contains
722 information about all supported reference types.
724 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
726 * lyxinset.h: remove trailing comma in enum.
728 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
730 * insettext.C: kill LyXBell.