1 2001-06-14 Juergen Vigna <jug@sad.it>
3 * insettext.C (draw): removed warinings.
5 2001-06-13 Juergen Vigna <jug@sad.it>
7 * insettabular.C (nodraw): only go down the tree if we don't have
8 that flag set otherwise it's obvious that we don't want to draw.
9 (LocalDispatch): do also an update if we have an undispached result.
11 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
14 * insetgraphicsParams.C:
15 * insettext.C: removed // -*- C++ -*- as first line.
17 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
19 * lyxinset.h (resizeLyXText): shut off warning about unused
22 2001-06-07 Juergen Vigna <jug@sad.it>
24 * insettext.C (resizeLyXText): honor the new force flag.
26 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
28 * insettabular.C (deleteLyXText): new function
30 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
39 * insetcaption.C: LColor tidy
41 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * figinset.C: fix typo
45 2001-06-01 Juergen Vigna <jug@sad.it>
47 * insettabular.C (resetPos): small hack so that scroll is not set to
48 0 when we are in the last column of a tabular. This is a problem we
49 have because of constats 20 offset on both directions, so this can
50 cause on the limit an endless loop.
52 * insettext.C (SetFont): forgot that we can have locking insets ;)
54 2001-05-31 Juergen Vigna <jug@sad.it>
56 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
58 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
60 * figinset.C: add using std:: directive for the C functions which
63 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * insetfloat.C (Write): write out wide info
66 (Read): read the wide info
67 (Latex): use the wide info when creating latex.
71 * insetgraphics.[Ch] (statusMessage): change to return string
75 * figinset.C (runqueue): add std::
78 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * insetcite.C (Ascii): add std:: qualifier
82 2001-05-28 Juergen Vigna <jug@sad.it>
84 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
85 a endless-width inset (maxWidth < 0).
86 (Edit): change language only if not equal.
88 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
90 * insettext.C (draw): fixed draw/clear of InsetText-Frame
92 2001-05-16 Juergen Vigna <jug@sad.it>
94 * insettext.C (selectAll): added
95 (clearSelection): added
97 * insettabular.C (SetFont): now we may set a font on a whole selection!
98 (getSelection): added helper function.
100 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
102 * insetcite.C (Ascii): Add method.
104 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
107 * insetbib.C: fix path for OS/2 & Win32
109 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
111 * insetfoot.C (Latex): don't use % after footnote.
113 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * insettext.C (Read): use clear
116 (SetParagraphData): use LyXParagraph copy constructor instead of clone
118 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
120 * insetfloatlist.h: add a bunch of std:: qualifiers.
122 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
124 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
125 FLOAT_LIST_CODE, renumber code list.
127 * insettoc.C (getScreenLabel): remove support for float lists
131 * insetfloatlist.[Ch]: new files
133 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
135 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
137 * insettabular.C (LocalDispatch):
138 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
141 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * insettext.C: remvoe !NEW_INSETS cruft
145 * insettabular.C: remove !NEW_INSETS cruft
147 * insetcollapsable.h: remove !NEW_INSETS cruft
149 * insetbib.C: remove !NEW_INSETS cruft
151 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
153 * insettoc.C: hack to make listof algorithm work
155 2001-04-20 Juergen Vigna <jug@sad.it>
157 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
159 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
161 * insetquotes.C (Latex): improve the guard against
162 unwanted !` and ?` ligatures. This should really be done in
163 another place (to catch all this ligatures at low-level).
165 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * insettext.C (init): remvoe leftovers from cursor_visible change
169 (LocalDispatch): dispatch LFUN_MESSAGE
171 * insettabular.C (InsetTabular): remove leftovers from
172 cursor_visible, and scoped_ptr changes
175 * insetcollapsable.C (draw): use c++ cast
177 * ExternalTemplate.h: inherit privaely from noncopyable
178 * insetcommand.h: ditto
179 * insetinclude.h: ditto
181 2001-04-16 Allan Rae <rae@lyx.org>
183 * insettoc.C (Ascii):
184 * insettext.C (draw):
185 * insettabular.C (setPos):
186 * insetminipage.C (Read):
187 * insetfloat.C (placement):
188 * insetcaption.C (Ascii, DocBook):
189 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
190 an unrecognised preprocessor directive. So ensure they're wrapped.
192 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
195 * insetexternal.C: set view on Clone. Add _ to private members.
197 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
199 * insettext.C (InsetText): fix new
200 (InsetText): reindent some, simplify deletion of par list
201 (clear): simplify deletion of par list, fix new
202 (SetParagraphData): simplify deletion of par list
204 * insettabular.[Ch] (getLabelList): implement new method
206 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
208 * lyxinset.h: do not include gettext.h...
216 * insetlatexaccent.C:
220 * inseturl.C: ... and do it here instead
222 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
226 * insettext.[Ch] (getLabelList): add std:: on vector<string>
228 * insetcollapsable.[Ch] (getLabelList): implement
230 * insettext.[Ch] (getLabelList): implement
232 * insettext.h: reindent
234 * insettabular.h: make tabular a scoped_ptr
236 * insettext.C (init): adjust for cursor_visible
237 (ToggleInsetCursor): constify asc and desc, font, adjust for
239 (ShowInsetCursor): constify asc and desc, font, adjust for
241 (HideInsetCursor): adjust for cursor_visible
243 * insettabular.C: reindent some
244 (InsetTabular): adjust for scoped_ptr and cursor_visible
245 (InsetTabular): ditto
246 (~InsetTabular): delete delete
247 (Clone): adjust for scoped_ptr
248 (Read): constify old_format, adjust for scoped_ptr, move init of
250 (draw): constify tx, localize loop vars.
251 some other localization of variables, remove double initilizatons.
253 * insetfoot.C: remove using std::ostream, add ostream where needed
255 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
257 * lyxinset.h: some reindentaion, use initializer list for
259 UpdatableInset: make cursor_visible a private var add
260 public isCursorVisible(), add protected toggleCursorVisible() and
261 proctected setCursorVisible(bool), make scroll call the Inset::scroll
263 * insettoc.C: remvoe using decl
264 (getScreenLabel): make cmdname donst
267 (Ascii): don't use endl
269 * insetfootlike.C: remove using decl at file scope and add std::
271 * insetmarginal.C: ditto
273 * insetfoot.C: some reformatting
275 * insetfloat.C (InsetButtonRelease): adjust the hit area
277 * insetert.C (SetFont): some reformatting
279 * insetcollapsable.C: some reformatting and constification
280 (Clone): comment out.
281 * insetcollapsable.h: some reformatting
282 (Clone): comment out.
287 2001-03-30 Juergen Vigna <jug@sad.it>
289 * insetcollapsable.h: changen *inset to be a InsetText inset.
291 * some files: changed to reflect the above change.
293 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
295 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
296 InsetExternal::Params.
297 Added operator==() and operator!=() for the Params struct.
299 2001-03-29 Juergen Vigna <jug@sad.it>
301 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
304 * insetminipage.C: removed widthp_ and all it's functions and changed
305 to use new %-lengths of LyXLength.
307 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
309 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
311 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
313 * insetgraphicsParams.C (operator!=): new function, needed by the
314 ControlGraphics class.
316 2001-03-28 Juergen Vigna <jug@sad.it>
318 * insettext.C (InsetButtonPress): only enter !inset if button == 2
319 (checkAndActivateInset): don't use the values returned from
320 call to bv->checkInsetHit.
322 * insetminipage.C (Clone): set special minipage values.
324 * insetcollapsable.C (draw): changed to draw the button in the
325 upper left corner outside the textinset.
326 (ascent): changed because of different drawing
330 (InsetButtonPress): ditto
331 (InsetButtonRelease): ditto
332 (InsetMotionNotify): ditto
334 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
336 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
340 2001-03-26 Juergen Vigna <jug@sad.it>
342 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
344 * insettext.C (ShowInsetDialog): implemented above function.
346 * insettabular.C (ShowInsetDialog): ditto
348 * insetminipage.C (ShowInsetDialog): ditto
350 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
352 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
353 InsetInclude::Params. Don't store a buffer * in Params. Store the
354 master file name instead.
356 2001-03-23 Juergen Vigna <jug@sad.it>
358 * insetcollapsable.C (InsetMotionNotify):
359 (InsetButtonRelease):
360 (InsetButtonPress): fixed y-offset (minipages).
362 * insettext.C (draw): force a FULL update if cleared == true.
364 * insetcollapsable.C (draw): Lars forgotten entry for changing this
365 routine to draw the minipages on its position-flag.
366 (InsetInInsetY): give back the right y position, because of minipage
369 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
372 * insetfloat.C (DocBook): docbook export code.
374 2001-03-22 Juergen Vigna <jug@sad.it>
376 * insetminipage.C (getMaxWidth): added function to set the drawing
378 (Read): should work now!
380 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
381 if we create a new inset.
383 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
385 * figinset.C (fl_set_preemptive_callback): moved definition outside
388 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
390 * insetminipage.C (Read): prepare for reading of minipage arguments.
392 2001-03-18 Baruch Even <baruch@lyx.org>
394 * insetgraphics.C: Minor cleanups of the comments and code.
396 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
398 * insetminipage.C (InsetMinipage): default to not collapsed
400 2001-03-16 Juergen Vigna <jug@sad.it>
402 * insetminipage.C (width): modified with to be a string
403 (widthp): added widthp (for % width) support functions.
404 (InsetButtonRelease): added to open the options dialog on button==3.
405 (~InsetMinipage): added to hide the dialog.
407 * insetminipage.h: added hideDialog signal
409 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
411 * insetminipage.h: change the order or Position to match
412 LyXParagraph::MINIPAGE_ALIGNMENT
414 * several files: remvoe CXX_WORKING_NAMESPACES
416 * ExternalTemplate.h: noncopyable is in namespace boost
417 * insetinclude.h: ditto
418 * insetcommand.h: ditto
420 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
422 * insettext.C (Edit): #else# -> #else.
423 * insettoc.C: added using directive.
425 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
427 * insetminipage.h: add pos, inner_pos, width and height. + getters
428 and setters for all of them.
430 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
432 * insetinclude.C (Latex): Do not exit when the textclass of the
433 included file differ from the textclass of the parent file.
435 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
437 * ExternalTemplate.C (read): the reading of external insets now checks
438 for \end_inset and removes it form the input stream.
440 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
442 * ExternalTemplate.h:
443 * ExternalTemplate.C:
445 * insetexternal.C: move form to GUII
447 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
450 * insetinclude.C: add InsetIncludeParams, use
451 composition rather than derivation of InsetCommand
453 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
455 * insettoc.C (Ascii): use the Buffer typedefs
457 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
459 * insettoc.C (Ascii): implement for dynamic number of lists
461 * insetcaption.[Ch]: update from new_insets branch
462 * insetfloat.[Ch]: ditto
464 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
467 * figinset.C: use new File Dialog
469 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
471 * insettext.C: changes becuase of ParagraphParameters.
473 2001-02-28 Baruch Even <baruch@ev-en.org>
475 * insetgraphics.C (updateInset): Changed due to the change in
478 2001-02-26 Juergen Vigna <jug@sad.it>
480 * insettext.C (SetFont): Set Undo only if we have selection (as it is
483 2001-02-23 Juergen Vigna <jug@sad.it>
485 * insettext.C (draw): some small repainting fixes.
486 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
488 * inset.C (LocalDispatch): changed action to be a kb_action (as it
489 should be) and not an int.
491 * insettabular.C (LocalDispatch): ditto
493 * insettext.C (LocalDispatch): ditto
495 * insetcollapsable.C (LocalDispatch): ditto
497 2001-02-22 Juergen Vigna <jug@sad.it>
499 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
500 DISPATCH it and we don't have a locking_inset.
502 2001-02-21 Baruch Even <baruch@ev-en.org>
504 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
505 instead of GraphicsCacheItem *.
507 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * insetcollapsable.C (getLyXText): add const qualifier to second
512 2001-02-22 Juergen Vigna <jug@sad.it>
514 * insettext.C (getLyXText): honor the recursive parameter.
515 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
517 * inset.C (getLyXText): added bool recursive parameter.
519 * insettext.C (SetUpdateStatus): or the update codes.
520 (draw): check need_update with &.
521 (InsetButtonPress): set no_selection to not put a selection when
522 entering an inset and it is redraws in another spot.
524 * insettext.h: made need_update an int.
526 2001-02-20 Baruch Even <baruch@ev-en.org>
529 * insetgraphisc.C: Changed to use better semantics when loading images
530 for inline view. Now it doesn't keep the pixmap itself but it's holder.
532 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
536 * insetgraphics.C: change name of "hide" signal to "hideDialog",
537 consistent with InsetTabular.
539 2001-02-19 Juergen Vigna <jug@sad.it>
541 * insettabular.C (LocalDispatch): implement PAGE up/down.
543 * insettext.C (draw): clear all of it on need_update==INIT too!
545 * insettabular.C (InsetUnlock): always clear the selection.
547 * inset.C (scroll): normally we only want to scroll the inset until
548 it is fully visible so if top_x + offset > 20 then just set scx to 0.
550 2001-02-14 Juergen Vigna <jug@sad.it>
552 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
553 (resetPos): fixed scroll behaviour.
554 (LocalDispatch): do an update if moving cursor inside a table cell
555 requests a scroll of the tabular.
557 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
559 * insettext.C (textWidth): constify local var
561 * insettabular.C: small cleanup.
563 * insetfoot.C (Latex): constify local var
565 * insetcollapsable.C: small cleanup.
567 * figinset.C (runqueue): use compare instead of strcmp
569 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
572 * insetinfo.C: remove cruft
574 2001-02-14 Juergen Vigna <jug@sad.it>
576 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
578 2001-02-13 Juergen Vigna <jug@sad.it>
580 * insettext.C (InsertInset): don't move left (is this right?)
582 * insettabular.C (LocalDispatch): use of the no_draw variable
584 * insettabular.h: new no_draw variable to stop redraw
586 * insettabular.C (TabularFeatures): fixed update for alignment change
588 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
592 * insetbib.C: move dialogs to frontends/
594 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
596 * insettext.C (LocalDispatch): Restore the language if the inset
599 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
601 * insettext.C (moveRightIntern): Update the selection cursor.
602 (moveLeftIntern): Ditto.
604 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
606 * Makefile.am: remove BoundingBox.h
608 * BoundingBox.h: removed
610 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
612 * insettext.C (LocalDispatch): Update selection cursor when moving
614 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
615 (moveLeftIntern): Ditto.
617 2001-02-05 Baruch Even <baruch.even@writeme.com>
619 * insetgraphics.C: Updated automatic image conversion, it now goes into
620 temporary directory instead of with the image itself.
622 2001-01-21 Baruch Even <baruch@ev-en.org>
624 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
625 to EPS or PNG when needed (support bitmap graphics).
627 2000-11-02 Baruch Even <baruch@ev-en.org>
630 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
631 and removal of commented out code.
633 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
635 * insetbib.C (callback): Update citations if the key has changed.
637 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
639 * insetbib.C (InsetBibKey): Better computation of default key.
640 (getScreenLabel) Show both the key and the label.
641 (getBibLabel): New method.
642 (callback): Force a redraw if the inset have been changed.
644 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
646 * insetref.C (getType, getName): Move methods from
647 src/frontends/xforms/FormRef.C.
649 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
651 * insettabular.C: Various improvements (use only one dummy position).
653 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
655 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
656 par->bibkey->width. This fixes the crashes when running without
657 gui or when having included documents.
659 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
661 * insetcommand.C (getAsString, setFromString): Cleanup.
663 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
665 * insetref.C: Add the array InsetRef::types that contains
666 information about all supported reference types.
668 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
670 * lyxinset.h: remove trailing comma in enum.
672 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
674 * insettext.C: kill LyXBell.