1 2001-06-07 Juergen Vigna <jug@sad.it>
3 * insettext.C (resizeLyXText): honor the new force flag.
5 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7 * insettabular.C (deleteLyXText): new function
9 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
18 * insetcaption.C: LColor tidy
20 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * figinset.C: fix typo
24 2001-06-01 Juergen Vigna <jug@sad.it>
26 * insettabular.C (resetPos): small hack so that scroll is not set to
27 0 when we are in the last column of a tabular. This is a problem we
28 have because of constats 20 offset on both directions, so this can
29 cause on the limit an endless loop.
31 * insettext.C (SetFont): forgot that we can have locking insets ;)
33 2001-05-31 Juergen Vigna <jug@sad.it>
35 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
37 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
39 * figinset.C: add using std:: directive for the C functions which
42 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
44 * insetfloat.C (Write): write out wide info
45 (Read): read the wide info
46 (Latex): use the wide info when creating latex.
50 * insetgraphics.[Ch] (statusMessage): change to return string
54 * figinset.C (runqueue): add std::
57 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * insetcite.C (Ascii): add std:: qualifier
61 2001-05-28 Juergen Vigna <jug@sad.it>
63 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
64 a endless-width inset (maxWidth < 0).
65 (Edit): change language only if not equal.
67 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
69 * insettext.C (draw): fixed draw/clear of InsetText-Frame
71 2001-05-16 Juergen Vigna <jug@sad.it>
73 * insettext.C (selectAll): added
74 (clearSelection): added
76 * insettabular.C (SetFont): now we may set a font on a whole selection!
77 (getSelection): added helper function.
79 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
81 * insetcite.C (Ascii): Add method.
83 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
86 * insetbib.C: fix path for OS/2 & Win32
88 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * insetfoot.C (Latex): don't use % after footnote.
92 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
94 * insettext.C (Read): use clear
95 (SetParagraphData): use LyXParagraph copy constructor instead of clone
97 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
99 * insetfloatlist.h: add a bunch of std:: qualifiers.
101 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
104 FLOAT_LIST_CODE, renumber code list.
106 * insettoc.C (getScreenLabel): remove support for float lists
110 * insetfloatlist.[Ch]: new files
112 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
114 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
116 * insettabular.C (LocalDispatch):
117 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
120 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * insettext.C: remvoe !NEW_INSETS cruft
124 * insettabular.C: remove !NEW_INSETS cruft
126 * insetcollapsable.h: remove !NEW_INSETS cruft
128 * insetbib.C: remove !NEW_INSETS cruft
130 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * insettoc.C: hack to make listof algorithm work
134 2001-04-20 Juergen Vigna <jug@sad.it>
136 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
138 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
140 * insetquotes.C (Latex): improve the guard against
141 unwanted !` and ?` ligatures. This should really be done in
142 another place (to catch all this ligatures at low-level).
144 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
146 * insettext.C (init): remvoe leftovers from cursor_visible change
148 (LocalDispatch): dispatch LFUN_MESSAGE
150 * insettabular.C (InsetTabular): remove leftovers from
151 cursor_visible, and scoped_ptr changes
154 * insetcollapsable.C (draw): use c++ cast
156 * ExternalTemplate.h: inherit privaely from noncopyable
157 * insetcommand.h: ditto
158 * insetinclude.h: ditto
160 2001-04-16 Allan Rae <rae@lyx.org>
162 * insettoc.C (Ascii):
163 * insettext.C (draw):
164 * insettabular.C (setPos):
165 * insetminipage.C (Read):
166 * insetfloat.C (placement):
167 * insetcaption.C (Ascii, DocBook):
168 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
169 an unrecognised preprocessor directive. So ensure they're wrapped.
171 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
174 * insetexternal.C: set view on Clone. Add _ to private members.
176 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * insettext.C (InsetText): fix new
179 (InsetText): reindent some, simplify deletion of par list
180 (clear): simplify deletion of par list, fix new
181 (SetParagraphData): simplify deletion of par list
183 * insettabular.[Ch] (getLabelList): implement new method
185 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
187 * lyxinset.h: do not include gettext.h...
195 * insetlatexaccent.C:
199 * inseturl.C: ... and do it here instead
201 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
205 * insettext.[Ch] (getLabelList): add std:: on vector<string>
207 * insetcollapsable.[Ch] (getLabelList): implement
209 * insettext.[Ch] (getLabelList): implement
211 * insettext.h: reindent
213 * insettabular.h: make tabular a scoped_ptr
215 * insettext.C (init): adjust for cursor_visible
216 (ToggleInsetCursor): constify asc and desc, font, adjust for
218 (ShowInsetCursor): constify asc and desc, font, adjust for
220 (HideInsetCursor): adjust for cursor_visible
222 * insettabular.C: reindent some
223 (InsetTabular): adjust for scoped_ptr and cursor_visible
224 (InsetTabular): ditto
225 (~InsetTabular): delete delete
226 (Clone): adjust for scoped_ptr
227 (Read): constify old_format, adjust for scoped_ptr, move init of
229 (draw): constify tx, localize loop vars.
230 some other localization of variables, remove double initilizatons.
232 * insetfoot.C: remove using std::ostream, add ostream where needed
234 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * lyxinset.h: some reindentaion, use initializer list for
238 UpdatableInset: make cursor_visible a private var add
239 public isCursorVisible(), add protected toggleCursorVisible() and
240 proctected setCursorVisible(bool), make scroll call the Inset::scroll
242 * insettoc.C: remvoe using decl
243 (getScreenLabel): make cmdname donst
246 (Ascii): don't use endl
248 * insetfootlike.C: remove using decl at file scope and add std::
250 * insetmarginal.C: ditto
252 * insetfoot.C: some reformatting
254 * insetfloat.C (InsetButtonRelease): adjust the hit area
256 * insetert.C (SetFont): some reformatting
258 * insetcollapsable.C: some reformatting and constification
259 (Clone): comment out.
260 * insetcollapsable.h: some reformatting
261 (Clone): comment out.
266 2001-03-30 Juergen Vigna <jug@sad.it>
268 * insetcollapsable.h: changen *inset to be a InsetText inset.
270 * some files: changed to reflect the above change.
272 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
274 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
275 InsetExternal::Params.
276 Added operator==() and operator!=() for the Params struct.
278 2001-03-29 Juergen Vigna <jug@sad.it>
280 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
283 * insetminipage.C: removed widthp_ and all it's functions and changed
284 to use new %-lengths of LyXLength.
286 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
288 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
290 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
292 * insetgraphicsParams.C (operator!=): new function, needed by the
293 ControlGraphics class.
295 2001-03-28 Juergen Vigna <jug@sad.it>
297 * insettext.C (InsetButtonPress): only enter !inset if button == 2
298 (checkAndActivateInset): don't use the values returned from
299 call to bv->checkInsetHit.
301 * insetminipage.C (Clone): set special minipage values.
303 * insetcollapsable.C (draw): changed to draw the button in the
304 upper left corner outside the textinset.
305 (ascent): changed because of different drawing
309 (InsetButtonPress): ditto
310 (InsetButtonRelease): ditto
311 (InsetMotionNotify): ditto
313 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
315 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
319 2001-03-26 Juergen Vigna <jug@sad.it>
321 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
323 * insettext.C (ShowInsetDialog): implemented above function.
325 * insettabular.C (ShowInsetDialog): ditto
327 * insetminipage.C (ShowInsetDialog): ditto
329 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
331 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
332 InsetInclude::Params. Don't store a buffer * in Params. Store the
333 master file name instead.
335 2001-03-23 Juergen Vigna <jug@sad.it>
337 * insetcollapsable.C (InsetMotionNotify):
338 (InsetButtonRelease):
339 (InsetButtonPress): fixed y-offset (minipages).
341 * insettext.C (draw): force a FULL update if cleared == true.
343 * insetcollapsable.C (draw): Lars forgotten entry for changing this
344 routine to draw the minipages on its position-flag.
345 (InsetInInsetY): give back the right y position, because of minipage
348 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
351 * insetfloat.C (DocBook): docbook export code.
353 2001-03-22 Juergen Vigna <jug@sad.it>
355 * insetminipage.C (getMaxWidth): added function to set the drawing
357 (Read): should work now!
359 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
360 if we create a new inset.
362 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
364 * figinset.C (fl_set_preemptive_callback): moved definition outside
367 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
369 * insetminipage.C (Read): prepare for reading of minipage arguments.
371 2001-03-18 Baruch Even <baruch@lyx.org>
373 * insetgraphics.C: Minor cleanups of the comments and code.
375 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
377 * insetminipage.C (InsetMinipage): default to not collapsed
379 2001-03-16 Juergen Vigna <jug@sad.it>
381 * insetminipage.C (width): modified with to be a string
382 (widthp): added widthp (for % width) support functions.
383 (InsetButtonRelease): added to open the options dialog on button==3.
384 (~InsetMinipage): added to hide the dialog.
386 * insetminipage.h: added hideDialog signal
388 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
390 * insetminipage.h: change the order or Position to match
391 LyXParagraph::MINIPAGE_ALIGNMENT
393 * several files: remvoe CXX_WORKING_NAMESPACES
395 * ExternalTemplate.h: noncopyable is in namespace boost
396 * insetinclude.h: ditto
397 * insetcommand.h: ditto
399 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
401 * insettext.C (Edit): #else# -> #else.
402 * insettoc.C: added using directive.
404 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
406 * insetminipage.h: add pos, inner_pos, width and height. + getters
407 and setters for all of them.
409 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
411 * insetinclude.C (Latex): Do not exit when the textclass of the
412 included file differ from the textclass of the parent file.
414 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
416 * ExternalTemplate.C (read): the reading of external insets now checks
417 for \end_inset and removes it form the input stream.
419 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
421 * ExternalTemplate.h:
422 * ExternalTemplate.C:
424 * insetexternal.C: move form to GUII
426 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
429 * insetinclude.C: add InsetIncludeParams, use
430 composition rather than derivation of InsetCommand
432 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
434 * insettoc.C (Ascii): use the Buffer typedefs
436 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
438 * insettoc.C (Ascii): implement for dynamic number of lists
440 * insetcaption.[Ch]: update from new_insets branch
441 * insetfloat.[Ch]: ditto
443 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
446 * figinset.C: use new File Dialog
448 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
450 * insettext.C: changes becuase of ParagraphParameters.
452 2001-02-28 Baruch Even <baruch@ev-en.org>
454 * insetgraphics.C (updateInset): Changed due to the change in
457 2001-02-26 Juergen Vigna <jug@sad.it>
459 * insettext.C (SetFont): Set Undo only if we have selection (as it is
462 2001-02-23 Juergen Vigna <jug@sad.it>
464 * insettext.C (draw): some small repainting fixes.
465 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
467 * inset.C (LocalDispatch): changed action to be a kb_action (as it
468 should be) and not an int.
470 * insettabular.C (LocalDispatch): ditto
472 * insettext.C (LocalDispatch): ditto
474 * insetcollapsable.C (LocalDispatch): ditto
476 2001-02-22 Juergen Vigna <jug@sad.it>
478 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
479 DISPATCH it and we don't have a locking_inset.
481 2001-02-21 Baruch Even <baruch@ev-en.org>
483 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
484 instead of GraphicsCacheItem *.
486 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
488 * insetcollapsable.C (getLyXText): add const qualifier to second
491 2001-02-22 Juergen Vigna <jug@sad.it>
493 * insettext.C (getLyXText): honor the recursive parameter.
494 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
496 * inset.C (getLyXText): added bool recursive parameter.
498 * insettext.C (SetUpdateStatus): or the update codes.
499 (draw): check need_update with &.
500 (InsetButtonPress): set no_selection to not put a selection when
501 entering an inset and it is redraws in another spot.
503 * insettext.h: made need_update an int.
505 2001-02-20 Baruch Even <baruch@ev-en.org>
508 * insetgraphisc.C: Changed to use better semantics when loading images
509 for inline view. Now it doesn't keep the pixmap itself but it's holder.
511 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
515 * insetgraphics.C: change name of "hide" signal to "hideDialog",
516 consistent with InsetTabular.
518 2001-02-19 Juergen Vigna <jug@sad.it>
520 * insettabular.C (LocalDispatch): implement PAGE up/down.
522 * insettext.C (draw): clear all of it on need_update==INIT too!
524 * insettabular.C (InsetUnlock): always clear the selection.
526 * inset.C (scroll): normally we only want to scroll the inset until
527 it is fully visible so if top_x + offset > 20 then just set scx to 0.
529 2001-02-14 Juergen Vigna <jug@sad.it>
531 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
532 (resetPos): fixed scroll behaviour.
533 (LocalDispatch): do an update if moving cursor inside a table cell
534 requests a scroll of the tabular.
536 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
538 * insettext.C (textWidth): constify local var
540 * insettabular.C: small cleanup.
542 * insetfoot.C (Latex): constify local var
544 * insetcollapsable.C: small cleanup.
546 * figinset.C (runqueue): use compare instead of strcmp
548 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
551 * insetinfo.C: remove cruft
553 2001-02-14 Juergen Vigna <jug@sad.it>
555 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
557 2001-02-13 Juergen Vigna <jug@sad.it>
559 * insettext.C (InsertInset): don't move left (is this right?)
561 * insettabular.C (LocalDispatch): use of the no_draw variable
563 * insettabular.h: new no_draw variable to stop redraw
565 * insettabular.C (TabularFeatures): fixed update for alignment change
567 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
571 * insetbib.C: move dialogs to frontends/
573 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
575 * insettext.C (LocalDispatch): Restore the language if the inset
578 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
580 * insettext.C (moveRightIntern): Update the selection cursor.
581 (moveLeftIntern): Ditto.
583 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * Makefile.am: remove BoundingBox.h
587 * BoundingBox.h: removed
589 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
591 * insettext.C (LocalDispatch): Update selection cursor when moving
593 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
594 (moveLeftIntern): Ditto.
596 2001-02-05 Baruch Even <baruch.even@writeme.com>
598 * insetgraphics.C: Updated automatic image conversion, it now goes into
599 temporary directory instead of with the image itself.
601 2001-01-21 Baruch Even <baruch@ev-en.org>
603 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
604 to EPS or PNG when needed (support bitmap graphics).
606 2000-11-02 Baruch Even <baruch@ev-en.org>
609 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
610 and removal of commented out code.
612 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
614 * insetbib.C (callback): Update citations if the key has changed.
616 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
618 * insetbib.C (InsetBibKey): Better computation of default key.
619 (getScreenLabel) Show both the key and the label.
620 (getBibLabel): New method.
621 (callback): Force a redraw if the inset have been changed.
623 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
625 * insetref.C (getType, getName): Move methods from
626 src/frontends/xforms/FormRef.C.
628 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
630 * insettabular.C: Various improvements (use only one dummy position).
632 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
634 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
635 par->bibkey->width. This fixes the crashes when running without
636 gui or when having included documents.
638 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
640 * insetcommand.C (getAsString, setFromString): Cleanup.
642 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
644 * insetref.C: Add the array InsetRef::types that contains
645 information about all supported reference types.
647 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
649 * lyxinset.h: remove trailing comma in enum.
651 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
653 * insettext.C: kill LyXBell.