1 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * lyxinset.h (resizeLyXText): shut off warning about unused
6 2001-06-07 Juergen Vigna <jug@sad.it>
8 * insettext.C (resizeLyXText): honor the new force flag.
10 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
12 * insettabular.C (deleteLyXText): new function
14 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
23 * insetcaption.C: LColor tidy
25 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
27 * figinset.C: fix typo
29 2001-06-01 Juergen Vigna <jug@sad.it>
31 * insettabular.C (resetPos): small hack so that scroll is not set to
32 0 when we are in the last column of a tabular. This is a problem we
33 have because of constats 20 offset on both directions, so this can
34 cause on the limit an endless loop.
36 * insettext.C (SetFont): forgot that we can have locking insets ;)
38 2001-05-31 Juergen Vigna <jug@sad.it>
40 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
42 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
44 * figinset.C: add using std:: directive for the C functions which
47 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * insetfloat.C (Write): write out wide info
50 (Read): read the wide info
51 (Latex): use the wide info when creating latex.
55 * insetgraphics.[Ch] (statusMessage): change to return string
59 * figinset.C (runqueue): add std::
62 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
64 * insetcite.C (Ascii): add std:: qualifier
66 2001-05-28 Juergen Vigna <jug@sad.it>
68 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
69 a endless-width inset (maxWidth < 0).
70 (Edit): change language only if not equal.
72 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
74 * insettext.C (draw): fixed draw/clear of InsetText-Frame
76 2001-05-16 Juergen Vigna <jug@sad.it>
78 * insettext.C (selectAll): added
79 (clearSelection): added
81 * insettabular.C (SetFont): now we may set a font on a whole selection!
82 (getSelection): added helper function.
84 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
86 * insetcite.C (Ascii): Add method.
88 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
91 * insetbib.C: fix path for OS/2 & Win32
93 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * insetfoot.C (Latex): don't use % after footnote.
97 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * insettext.C (Read): use clear
100 (SetParagraphData): use LyXParagraph copy constructor instead of clone
102 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
104 * insetfloatlist.h: add a bunch of std:: qualifiers.
106 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
108 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
109 FLOAT_LIST_CODE, renumber code list.
111 * insettoc.C (getScreenLabel): remove support for float lists
115 * insetfloatlist.[Ch]: new files
117 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
119 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
121 * insettabular.C (LocalDispatch):
122 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
125 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
127 * insettext.C: remvoe !NEW_INSETS cruft
129 * insettabular.C: remove !NEW_INSETS cruft
131 * insetcollapsable.h: remove !NEW_INSETS cruft
133 * insetbib.C: remove !NEW_INSETS cruft
135 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
137 * insettoc.C: hack to make listof algorithm work
139 2001-04-20 Juergen Vigna <jug@sad.it>
141 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
143 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
145 * insetquotes.C (Latex): improve the guard against
146 unwanted !` and ?` ligatures. This should really be done in
147 another place (to catch all this ligatures at low-level).
149 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
151 * insettext.C (init): remvoe leftovers from cursor_visible change
153 (LocalDispatch): dispatch LFUN_MESSAGE
155 * insettabular.C (InsetTabular): remove leftovers from
156 cursor_visible, and scoped_ptr changes
159 * insetcollapsable.C (draw): use c++ cast
161 * ExternalTemplate.h: inherit privaely from noncopyable
162 * insetcommand.h: ditto
163 * insetinclude.h: ditto
165 2001-04-16 Allan Rae <rae@lyx.org>
167 * insettoc.C (Ascii):
168 * insettext.C (draw):
169 * insettabular.C (setPos):
170 * insetminipage.C (Read):
171 * insetfloat.C (placement):
172 * insetcaption.C (Ascii, DocBook):
173 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
174 an unrecognised preprocessor directive. So ensure they're wrapped.
176 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
179 * insetexternal.C: set view on Clone. Add _ to private members.
181 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
183 * insettext.C (InsetText): fix new
184 (InsetText): reindent some, simplify deletion of par list
185 (clear): simplify deletion of par list, fix new
186 (SetParagraphData): simplify deletion of par list
188 * insettabular.[Ch] (getLabelList): implement new method
190 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
192 * lyxinset.h: do not include gettext.h...
200 * insetlatexaccent.C:
204 * inseturl.C: ... and do it here instead
206 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
208 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
210 * insettext.[Ch] (getLabelList): add std:: on vector<string>
212 * insetcollapsable.[Ch] (getLabelList): implement
214 * insettext.[Ch] (getLabelList): implement
216 * insettext.h: reindent
218 * insettabular.h: make tabular a scoped_ptr
220 * insettext.C (init): adjust for cursor_visible
221 (ToggleInsetCursor): constify asc and desc, font, adjust for
223 (ShowInsetCursor): constify asc and desc, font, adjust for
225 (HideInsetCursor): adjust for cursor_visible
227 * insettabular.C: reindent some
228 (InsetTabular): adjust for scoped_ptr and cursor_visible
229 (InsetTabular): ditto
230 (~InsetTabular): delete delete
231 (Clone): adjust for scoped_ptr
232 (Read): constify old_format, adjust for scoped_ptr, move init of
234 (draw): constify tx, localize loop vars.
235 some other localization of variables, remove double initilizatons.
237 * insetfoot.C: remove using std::ostream, add ostream where needed
239 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * lyxinset.h: some reindentaion, use initializer list for
243 UpdatableInset: make cursor_visible a private var add
244 public isCursorVisible(), add protected toggleCursorVisible() and
245 proctected setCursorVisible(bool), make scroll call the Inset::scroll
247 * insettoc.C: remvoe using decl
248 (getScreenLabel): make cmdname donst
251 (Ascii): don't use endl
253 * insetfootlike.C: remove using decl at file scope and add std::
255 * insetmarginal.C: ditto
257 * insetfoot.C: some reformatting
259 * insetfloat.C (InsetButtonRelease): adjust the hit area
261 * insetert.C (SetFont): some reformatting
263 * insetcollapsable.C: some reformatting and constification
264 (Clone): comment out.
265 * insetcollapsable.h: some reformatting
266 (Clone): comment out.
271 2001-03-30 Juergen Vigna <jug@sad.it>
273 * insetcollapsable.h: changen *inset to be a InsetText inset.
275 * some files: changed to reflect the above change.
277 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
279 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
280 InsetExternal::Params.
281 Added operator==() and operator!=() for the Params struct.
283 2001-03-29 Juergen Vigna <jug@sad.it>
285 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
288 * insetminipage.C: removed widthp_ and all it's functions and changed
289 to use new %-lengths of LyXLength.
291 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
293 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
295 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
297 * insetgraphicsParams.C (operator!=): new function, needed by the
298 ControlGraphics class.
300 2001-03-28 Juergen Vigna <jug@sad.it>
302 * insettext.C (InsetButtonPress): only enter !inset if button == 2
303 (checkAndActivateInset): don't use the values returned from
304 call to bv->checkInsetHit.
306 * insetminipage.C (Clone): set special minipage values.
308 * insetcollapsable.C (draw): changed to draw the button in the
309 upper left corner outside the textinset.
310 (ascent): changed because of different drawing
314 (InsetButtonPress): ditto
315 (InsetButtonRelease): ditto
316 (InsetMotionNotify): ditto
318 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
320 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
324 2001-03-26 Juergen Vigna <jug@sad.it>
326 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
328 * insettext.C (ShowInsetDialog): implemented above function.
330 * insettabular.C (ShowInsetDialog): ditto
332 * insetminipage.C (ShowInsetDialog): ditto
334 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
336 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
337 InsetInclude::Params. Don't store a buffer * in Params. Store the
338 master file name instead.
340 2001-03-23 Juergen Vigna <jug@sad.it>
342 * insetcollapsable.C (InsetMotionNotify):
343 (InsetButtonRelease):
344 (InsetButtonPress): fixed y-offset (minipages).
346 * insettext.C (draw): force a FULL update if cleared == true.
348 * insetcollapsable.C (draw): Lars forgotten entry for changing this
349 routine to draw the minipages on its position-flag.
350 (InsetInInsetY): give back the right y position, because of minipage
353 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
356 * insetfloat.C (DocBook): docbook export code.
358 2001-03-22 Juergen Vigna <jug@sad.it>
360 * insetminipage.C (getMaxWidth): added function to set the drawing
362 (Read): should work now!
364 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
365 if we create a new inset.
367 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
369 * figinset.C (fl_set_preemptive_callback): moved definition outside
372 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
374 * insetminipage.C (Read): prepare for reading of minipage arguments.
376 2001-03-18 Baruch Even <baruch@lyx.org>
378 * insetgraphics.C: Minor cleanups of the comments and code.
380 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
382 * insetminipage.C (InsetMinipage): default to not collapsed
384 2001-03-16 Juergen Vigna <jug@sad.it>
386 * insetminipage.C (width): modified with to be a string
387 (widthp): added widthp (for % width) support functions.
388 (InsetButtonRelease): added to open the options dialog on button==3.
389 (~InsetMinipage): added to hide the dialog.
391 * insetminipage.h: added hideDialog signal
393 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
395 * insetminipage.h: change the order or Position to match
396 LyXParagraph::MINIPAGE_ALIGNMENT
398 * several files: remvoe CXX_WORKING_NAMESPACES
400 * ExternalTemplate.h: noncopyable is in namespace boost
401 * insetinclude.h: ditto
402 * insetcommand.h: ditto
404 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
406 * insettext.C (Edit): #else# -> #else.
407 * insettoc.C: added using directive.
409 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
411 * insetminipage.h: add pos, inner_pos, width and height. + getters
412 and setters for all of them.
414 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
416 * insetinclude.C (Latex): Do not exit when the textclass of the
417 included file differ from the textclass of the parent file.
419 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
421 * ExternalTemplate.C (read): the reading of external insets now checks
422 for \end_inset and removes it form the input stream.
424 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
426 * ExternalTemplate.h:
427 * ExternalTemplate.C:
429 * insetexternal.C: move form to GUII
431 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
434 * insetinclude.C: add InsetIncludeParams, use
435 composition rather than derivation of InsetCommand
437 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
439 * insettoc.C (Ascii): use the Buffer typedefs
441 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
443 * insettoc.C (Ascii): implement for dynamic number of lists
445 * insetcaption.[Ch]: update from new_insets branch
446 * insetfloat.[Ch]: ditto
448 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
451 * figinset.C: use new File Dialog
453 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
455 * insettext.C: changes becuase of ParagraphParameters.
457 2001-02-28 Baruch Even <baruch@ev-en.org>
459 * insetgraphics.C (updateInset): Changed due to the change in
462 2001-02-26 Juergen Vigna <jug@sad.it>
464 * insettext.C (SetFont): Set Undo only if we have selection (as it is
467 2001-02-23 Juergen Vigna <jug@sad.it>
469 * insettext.C (draw): some small repainting fixes.
470 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
472 * inset.C (LocalDispatch): changed action to be a kb_action (as it
473 should be) and not an int.
475 * insettabular.C (LocalDispatch): ditto
477 * insettext.C (LocalDispatch): ditto
479 * insetcollapsable.C (LocalDispatch): ditto
481 2001-02-22 Juergen Vigna <jug@sad.it>
483 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
484 DISPATCH it and we don't have a locking_inset.
486 2001-02-21 Baruch Even <baruch@ev-en.org>
488 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
489 instead of GraphicsCacheItem *.
491 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
493 * insetcollapsable.C (getLyXText): add const qualifier to second
496 2001-02-22 Juergen Vigna <jug@sad.it>
498 * insettext.C (getLyXText): honor the recursive parameter.
499 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
501 * inset.C (getLyXText): added bool recursive parameter.
503 * insettext.C (SetUpdateStatus): or the update codes.
504 (draw): check need_update with &.
505 (InsetButtonPress): set no_selection to not put a selection when
506 entering an inset and it is redraws in another spot.
508 * insettext.h: made need_update an int.
510 2001-02-20 Baruch Even <baruch@ev-en.org>
513 * insetgraphisc.C: Changed to use better semantics when loading images
514 for inline view. Now it doesn't keep the pixmap itself but it's holder.
516 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
520 * insetgraphics.C: change name of "hide" signal to "hideDialog",
521 consistent with InsetTabular.
523 2001-02-19 Juergen Vigna <jug@sad.it>
525 * insettabular.C (LocalDispatch): implement PAGE up/down.
527 * insettext.C (draw): clear all of it on need_update==INIT too!
529 * insettabular.C (InsetUnlock): always clear the selection.
531 * inset.C (scroll): normally we only want to scroll the inset until
532 it is fully visible so if top_x + offset > 20 then just set scx to 0.
534 2001-02-14 Juergen Vigna <jug@sad.it>
536 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
537 (resetPos): fixed scroll behaviour.
538 (LocalDispatch): do an update if moving cursor inside a table cell
539 requests a scroll of the tabular.
541 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
543 * insettext.C (textWidth): constify local var
545 * insettabular.C: small cleanup.
547 * insetfoot.C (Latex): constify local var
549 * insetcollapsable.C: small cleanup.
551 * figinset.C (runqueue): use compare instead of strcmp
553 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
556 * insetinfo.C: remove cruft
558 2001-02-14 Juergen Vigna <jug@sad.it>
560 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
562 2001-02-13 Juergen Vigna <jug@sad.it>
564 * insettext.C (InsertInset): don't move left (is this right?)
566 * insettabular.C (LocalDispatch): use of the no_draw variable
568 * insettabular.h: new no_draw variable to stop redraw
570 * insettabular.C (TabularFeatures): fixed update for alignment change
572 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
576 * insetbib.C: move dialogs to frontends/
578 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
580 * insettext.C (LocalDispatch): Restore the language if the inset
583 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
585 * insettext.C (moveRightIntern): Update the selection cursor.
586 (moveLeftIntern): Ditto.
588 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * Makefile.am: remove BoundingBox.h
592 * BoundingBox.h: removed
594 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
596 * insettext.C (LocalDispatch): Update selection cursor when moving
598 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
599 (moveLeftIntern): Ditto.
601 2001-02-05 Baruch Even <baruch.even@writeme.com>
603 * insetgraphics.C: Updated automatic image conversion, it now goes into
604 temporary directory instead of with the image itself.
606 2001-01-21 Baruch Even <baruch@ev-en.org>
608 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
609 to EPS or PNG when needed (support bitmap graphics).
611 2000-11-02 Baruch Even <baruch@ev-en.org>
614 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
615 and removal of commented out code.
617 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
619 * insetbib.C (callback): Update citations if the key has changed.
621 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
623 * insetbib.C (InsetBibKey): Better computation of default key.
624 (getScreenLabel) Show both the key and the label.
625 (getBibLabel): New method.
626 (callback): Force a redraw if the inset have been changed.
628 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
630 * insetref.C (getType, getName): Move methods from
631 src/frontends/xforms/FormRef.C.
633 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
635 * insettabular.C: Various improvements (use only one dummy position).
637 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
639 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
640 par->bibkey->width. This fixes the crashes when running without
641 gui or when having included documents.
643 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
645 * insetcommand.C (getAsString, setFromString): Cleanup.
647 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
649 * insetref.C: Add the array InsetRef::types that contains
650 information about all supported reference types.
652 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * lyxinset.h: remove trailing comma in enum.
656 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
658 * insettext.C: kill LyXBell.