1 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6 * inseturl.C: fix method names in these to begin
7 with small char too, so they inherit
9 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * Change a lot of method names to begin with a small char.
12 Changes to a lot of files because of this.
14 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * insetfloatlist.C (Write): std:: qualify ostream
19 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
23 * insetgraphics.C: send debug output to Debug::INFO instead of
26 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
29 * insettabular.C (getStatus): update to use func_status
31 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
33 * insetref.C (DocBook): added support for cross-references without
36 2001-06-26 The LyX Project <jug@sad.it>
41 * insetlabel.h: removed escape method and moved it to
44 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * insettabular.C (getMaxWidth): do the speedup in a different way,
49 2001-06-24 The LyX Project <Asger>
51 * insettabular.C (getMaxWidth): We cache a mapping from
52 inset to cell in order to speed this method up.
54 2001-06-24 The LyX Project <Asger>
56 * insettext.C: Optimized InsetText::draw or something.
58 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
60 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
62 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * inset.h: name change from lyxinset.h
66 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
68 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
70 2001-06-14 Juergen Vigna <jug@sad.it>
72 * insettext.C (draw): removed warnings.
74 2001-06-13 Juergen Vigna <jug@sad.it>
76 * insettabular.C (nodraw): only go down the tree if we don't have
77 that flag set otherwise it's obvious that we don't want to draw.
78 (LocalDispatch): do also an update if we have an undispached result.
80 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
83 * insetgraphicsParams.C:
84 * insettext.C: removed // -*- C++ -*- as first line.
86 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * lyxinset.h (resizeLyXText): shut off warning about unused
91 2001-06-07 Juergen Vigna <jug@sad.it>
93 * insettext.C (resizeLyXText): honor the new force flag.
95 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
97 * insettabular.C (deleteLyXText): new function
99 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
107 * insetcollapsable.C:
108 * insetcaption.C: LColor tidy
110 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
112 * figinset.C: fix typo
114 2001-06-01 Juergen Vigna <jug@sad.it>
116 * insettabular.C (resetPos): small hack so that scroll is not set to
117 0 when we are in the last column of a tabular. This is a problem we
118 have because of constats 20 offset on both directions, so this can
119 cause on the limit an endless loop.
121 * insettext.C (SetFont): forgot that we can have locking insets ;)
123 2001-05-31 Juergen Vigna <jug@sad.it>
125 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
127 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * figinset.C: add using std:: directive for the C functions which
132 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
134 * insetfloat.C (Write): write out wide info
135 (Read): read the wide info
136 (Latex): use the wide info when creating latex.
138 * insettext.C: adjust
140 * insetgraphics.[Ch] (statusMessage): change to return string
144 * figinset.C (runqueue): add std::
147 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * insetcite.C (Ascii): add std:: qualifier
151 2001-05-28 Juergen Vigna <jug@sad.it>
153 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
154 a endless-width inset (maxWidth < 0).
155 (Edit): change language only if not equal.
157 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
159 * insettext.C (draw): fixed draw/clear of InsetText-Frame
161 2001-05-16 Juergen Vigna <jug@sad.it>
163 * insettext.C (selectAll): added
164 (clearSelection): added
166 * insettabular.C (SetFont): now we may set a font on a whole selection!
167 (getSelection): added helper function.
169 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
171 * insetcite.C (Ascii): Add method.
173 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
176 * insetbib.C: fix path for OS/2 & Win32
178 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * insetfoot.C (Latex): don't use % after footnote.
182 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * insettext.C (Read): use clear
185 (SetParagraphData): use LyXParagraph copy constructor instead of clone
187 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
189 * insetfloatlist.h: add a bunch of std:: qualifiers.
191 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
193 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
194 FLOAT_LIST_CODE, renumber code list.
196 * insettoc.C (getScreenLabel): remove support for float lists
200 * insetfloatlist.[Ch]: new files
202 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
204 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
206 * insettabular.C (LocalDispatch):
207 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
210 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
212 * insettext.C: remvoe !NEW_INSETS cruft
214 * insettabular.C: remove !NEW_INSETS cruft
216 * insetcollapsable.h: remove !NEW_INSETS cruft
218 * insetbib.C: remove !NEW_INSETS cruft
220 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
222 * insettoc.C: hack to make listof algorithm work
224 2001-04-20 Juergen Vigna <jug@sad.it>
226 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
228 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
230 * insetquotes.C (Latex): improve the guard against
231 unwanted !` and ?` ligatures. This should really be done in
232 another place (to catch all this ligatures at low-level).
234 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * insettext.C (init): remvoe leftovers from cursor_visible change
238 (LocalDispatch): dispatch LFUN_MESSAGE
240 * insettabular.C (InsetTabular): remove leftovers from
241 cursor_visible, and scoped_ptr changes
244 * insetcollapsable.C (draw): use c++ cast
246 * ExternalTemplate.h: inherit privaely from noncopyable
247 * insetcommand.h: ditto
248 * insetinclude.h: ditto
250 2001-04-16 Allan Rae <rae@lyx.org>
252 * insettoc.C (Ascii):
253 * insettext.C (draw):
254 * insettabular.C (setPos):
255 * insetminipage.C (Read):
256 * insetfloat.C (placement):
257 * insetcaption.C (Ascii, DocBook):
258 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
259 an unrecognised preprocessor directive. So ensure they're wrapped.
261 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
264 * insetexternal.C: set view on Clone. Add _ to private members.
266 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * insettext.C (InsetText): fix new
269 (InsetText): reindent some, simplify deletion of par list
270 (clear): simplify deletion of par list, fix new
271 (SetParagraphData): simplify deletion of par list
273 * insettabular.[Ch] (getLabelList): implement new method
275 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * lyxinset.h: do not include gettext.h...
285 * insetlatexaccent.C:
289 * inseturl.C: ... and do it here instead
291 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
293 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
295 * insettext.[Ch] (getLabelList): add std:: on vector<string>
297 * insetcollapsable.[Ch] (getLabelList): implement
299 * insettext.[Ch] (getLabelList): implement
301 * insettext.h: reindent
303 * insettabular.h: make tabular a scoped_ptr
305 * insettext.C (init): adjust for cursor_visible
306 (ToggleInsetCursor): constify asc and desc, font, adjust for
308 (ShowInsetCursor): constify asc and desc, font, adjust for
310 (HideInsetCursor): adjust for cursor_visible
312 * insettabular.C: reindent some
313 (InsetTabular): adjust for scoped_ptr and cursor_visible
314 (InsetTabular): ditto
315 (~InsetTabular): delete delete
316 (Clone): adjust for scoped_ptr
317 (Read): constify old_format, adjust for scoped_ptr, move init of
319 (draw): constify tx, localize loop vars.
320 some other localization of variables, remove double initilizatons.
322 * insetfoot.C: remove using std::ostream, add ostream where needed
324 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
326 * lyxinset.h: some reindentaion, use initializer list for
328 UpdatableInset: make cursor_visible a private var add
329 public isCursorVisible(), add protected toggleCursorVisible() and
330 proctected setCursorVisible(bool), make scroll call the Inset::scroll
332 * insettoc.C: remvoe using decl
333 (getScreenLabel): make cmdname donst
336 (Ascii): don't use endl
338 * insetfootlike.C: remove using decl at file scope and add std::
340 * insetmarginal.C: ditto
342 * insetfoot.C: some reformatting
344 * insetfloat.C (InsetButtonRelease): adjust the hit area
346 * insetert.C (SetFont): some reformatting
348 * insetcollapsable.C: some reformatting and constification
349 (Clone): comment out.
350 * insetcollapsable.h: some reformatting
351 (Clone): comment out.
356 2001-03-30 Juergen Vigna <jug@sad.it>
358 * insetcollapsable.h: changen *inset to be a InsetText inset.
360 * some files: changed to reflect the above change.
362 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
364 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
365 InsetExternal::Params.
366 Added operator==() and operator!=() for the Params struct.
368 2001-03-29 Juergen Vigna <jug@sad.it>
370 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
373 * insetminipage.C: removed widthp_ and all it's functions and changed
374 to use new %-lengths of LyXLength.
376 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
378 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
380 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
382 * insetgraphicsParams.C (operator!=): new function, needed by the
383 ControlGraphics class.
385 2001-03-28 Juergen Vigna <jug@sad.it>
387 * insettext.C (InsetButtonPress): only enter !inset if button == 2
388 (checkAndActivateInset): don't use the values returned from
389 call to bv->checkInsetHit.
391 * insetminipage.C (Clone): set special minipage values.
393 * insetcollapsable.C (draw): changed to draw the button in the
394 upper left corner outside the textinset.
395 (ascent): changed because of different drawing
399 (InsetButtonPress): ditto
400 (InsetButtonRelease): ditto
401 (InsetMotionNotify): ditto
403 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
405 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
409 2001-03-26 Juergen Vigna <jug@sad.it>
411 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
413 * insettext.C (ShowInsetDialog): implemented above function.
415 * insettabular.C (ShowInsetDialog): ditto
417 * insetminipage.C (ShowInsetDialog): ditto
419 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
421 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
422 InsetInclude::Params. Don't store a buffer * in Params. Store the
423 master file name instead.
425 2001-03-23 Juergen Vigna <jug@sad.it>
427 * insetcollapsable.C (InsetMotionNotify):
428 (InsetButtonRelease):
429 (InsetButtonPress): fixed y-offset (minipages).
431 * insettext.C (draw): force a FULL update if cleared == true.
433 * insetcollapsable.C (draw): Lars forgotten entry for changing this
434 routine to draw the minipages on its position-flag.
435 (InsetInInsetY): give back the right y position, because of minipage
438 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
441 * insetfloat.C (DocBook): docbook export code.
443 2001-03-22 Juergen Vigna <jug@sad.it>
445 * insetminipage.C (getMaxWidth): added function to set the drawing
447 (Read): should work now!
449 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
450 if we create a new inset.
452 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
454 * figinset.C (fl_set_preemptive_callback): moved definition outside
457 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
459 * insetminipage.C (Read): prepare for reading of minipage arguments.
461 2001-03-18 Baruch Even <baruch@lyx.org>
463 * insetgraphics.C: Minor cleanups of the comments and code.
465 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
467 * insetminipage.C (InsetMinipage): default to not collapsed
469 2001-03-16 Juergen Vigna <jug@sad.it>
471 * insetminipage.C (width): modified with to be a string
472 (widthp): added widthp (for % width) support functions.
473 (InsetButtonRelease): added to open the options dialog on button==3.
474 (~InsetMinipage): added to hide the dialog.
476 * insetminipage.h: added hideDialog signal
478 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
480 * insetminipage.h: change the order or Position to match
481 LyXParagraph::MINIPAGE_ALIGNMENT
483 * several files: remvoe CXX_WORKING_NAMESPACES
485 * ExternalTemplate.h: noncopyable is in namespace boost
486 * insetinclude.h: ditto
487 * insetcommand.h: ditto
489 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
491 * insettext.C (Edit): #else# -> #else.
492 * insettoc.C: added using directive.
494 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
496 * insetminipage.h: add pos, inner_pos, width and height. + getters
497 and setters for all of them.
499 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
501 * insetinclude.C (Latex): Do not exit when the textclass of the
502 included file differ from the textclass of the parent file.
504 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
506 * ExternalTemplate.C (read): the reading of external insets now checks
507 for \end_inset and removes it form the input stream.
509 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
511 * ExternalTemplate.h:
512 * ExternalTemplate.C:
514 * insetexternal.C: move form to GUII
516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
519 * insetinclude.C: add InsetIncludeParams, use
520 composition rather than derivation of InsetCommand
522 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
524 * insettoc.C (Ascii): use the Buffer typedefs
526 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
528 * insettoc.C (Ascii): implement for dynamic number of lists
530 * insetcaption.[Ch]: update from new_insets branch
531 * insetfloat.[Ch]: ditto
533 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
536 * figinset.C: use new File Dialog
538 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
540 * insettext.C: changes becuase of ParagraphParameters.
542 2001-02-28 Baruch Even <baruch@ev-en.org>
544 * insetgraphics.C (updateInset): Changed due to the change in
547 2001-02-26 Juergen Vigna <jug@sad.it>
549 * insettext.C (SetFont): Set Undo only if we have selection (as it is
552 2001-02-23 Juergen Vigna <jug@sad.it>
554 * insettext.C (draw): some small repainting fixes.
555 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
557 * inset.C (LocalDispatch): changed action to be a kb_action (as it
558 should be) and not an int.
560 * insettabular.C (LocalDispatch): ditto
562 * insettext.C (LocalDispatch): ditto
564 * insetcollapsable.C (LocalDispatch): ditto
566 2001-02-22 Juergen Vigna <jug@sad.it>
568 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
569 DISPATCH it and we don't have a locking_inset.
571 2001-02-21 Baruch Even <baruch@ev-en.org>
573 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
574 instead of GraphicsCacheItem *.
576 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
578 * insetcollapsable.C (getLyXText): add const qualifier to second
581 2001-02-22 Juergen Vigna <jug@sad.it>
583 * insettext.C (getLyXText): honor the recursive parameter.
584 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
586 * inset.C (getLyXText): added bool recursive parameter.
588 * insettext.C (SetUpdateStatus): or the update codes.
589 (draw): check need_update with &.
590 (InsetButtonPress): set no_selection to not put a selection when
591 entering an inset and it is redraws in another spot.
593 * insettext.h: made need_update an int.
595 2001-02-20 Baruch Even <baruch@ev-en.org>
598 * insetgraphisc.C: Changed to use better semantics when loading images
599 for inline view. Now it doesn't keep the pixmap itself but it's holder.
601 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
605 * insetgraphics.C: change name of "hide" signal to "hideDialog",
606 consistent with InsetTabular.
608 2001-02-19 Juergen Vigna <jug@sad.it>
610 * insettabular.C (LocalDispatch): implement PAGE up/down.
612 * insettext.C (draw): clear all of it on need_update==INIT too!
614 * insettabular.C (InsetUnlock): always clear the selection.
616 * inset.C (scroll): normally we only want to scroll the inset until
617 it is fully visible so if top_x + offset > 20 then just set scx to 0.
619 2001-02-14 Juergen Vigna <jug@sad.it>
621 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
622 (resetPos): fixed scroll behaviour.
623 (LocalDispatch): do an update if moving cursor inside a table cell
624 requests a scroll of the tabular.
626 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
628 * insettext.C (textWidth): constify local var
630 * insettabular.C: small cleanup.
632 * insetfoot.C (Latex): constify local var
634 * insetcollapsable.C: small cleanup.
636 * figinset.C (runqueue): use compare instead of strcmp
638 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
641 * insetinfo.C: remove cruft
643 2001-02-14 Juergen Vigna <jug@sad.it>
645 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
647 2001-02-13 Juergen Vigna <jug@sad.it>
649 * insettext.C (InsertInset): don't move left (is this right?)
651 * insettabular.C (LocalDispatch): use of the no_draw variable
653 * insettabular.h: new no_draw variable to stop redraw
655 * insettabular.C (TabularFeatures): fixed update for alignment change
657 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
661 * insetbib.C: move dialogs to frontends/
663 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
665 * insettext.C (LocalDispatch): Restore the language if the inset
668 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
670 * insettext.C (moveRightIntern): Update the selection cursor.
671 (moveLeftIntern): Ditto.
673 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
675 * Makefile.am: remove BoundingBox.h
677 * BoundingBox.h: removed
679 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
681 * insettext.C (LocalDispatch): Update selection cursor when moving
683 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
684 (moveLeftIntern): Ditto.
686 2001-02-05 Baruch Even <baruch.even@writeme.com>
688 * insetgraphics.C: Updated automatic image conversion, it now goes into
689 temporary directory instead of with the image itself.
691 2001-01-21 Baruch Even <baruch@ev-en.org>
693 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
694 to EPS or PNG when needed (support bitmap graphics).
696 2000-11-02 Baruch Even <baruch@ev-en.org>
699 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
700 and removal of commented out code.
702 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
704 * insetbib.C (callback): Update citations if the key has changed.
706 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
708 * insetbib.C (InsetBibKey): Better computation of default key.
709 (getScreenLabel) Show both the key and the label.
710 (getBibLabel): New method.
711 (callback): Force a redraw if the inset have been changed.
713 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
715 * insetref.C (getType, getName): Move methods from
716 src/frontends/xforms/FormRef.C.
718 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
720 * insettabular.C: Various improvements (use only one dummy position).
722 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
724 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
725 par->bibkey->width. This fixes the crashes when running without
726 gui or when having included documents.
728 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
730 * insetcommand.C (getAsString, setFromString): Cleanup.
732 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
734 * insetref.C: Add the array InsetRef::types that contains
735 information about all supported reference types.
737 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
739 * lyxinset.h: remove trailing comma in enum.
741 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
743 * insettext.C: kill LyXBell.