1 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
4 * insetgraphicsParams.C:
5 * insettext.C: removed // -*- C++ -*- as first line.
7 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9 * lyxinset.h (resizeLyXText): shut off warning about unused
12 2001-06-07 Juergen Vigna <jug@sad.it>
14 * insettext.C (resizeLyXText): honor the new force flag.
16 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
18 * insettabular.C (deleteLyXText): new function
20 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
29 * insetcaption.C: LColor tidy
31 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * figinset.C: fix typo
35 2001-06-01 Juergen Vigna <jug@sad.it>
37 * insettabular.C (resetPos): small hack so that scroll is not set to
38 0 when we are in the last column of a tabular. This is a problem we
39 have because of constats 20 offset on both directions, so this can
40 cause on the limit an endless loop.
42 * insettext.C (SetFont): forgot that we can have locking insets ;)
44 2001-05-31 Juergen Vigna <jug@sad.it>
46 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
48 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
50 * figinset.C: add using std:: directive for the C functions which
53 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * insetfloat.C (Write): write out wide info
56 (Read): read the wide info
57 (Latex): use the wide info when creating latex.
61 * insetgraphics.[Ch] (statusMessage): change to return string
65 * figinset.C (runqueue): add std::
68 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
70 * insetcite.C (Ascii): add std:: qualifier
72 2001-05-28 Juergen Vigna <jug@sad.it>
74 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
75 a endless-width inset (maxWidth < 0).
76 (Edit): change language only if not equal.
78 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
80 * insettext.C (draw): fixed draw/clear of InsetText-Frame
82 2001-05-16 Juergen Vigna <jug@sad.it>
84 * insettext.C (selectAll): added
85 (clearSelection): added
87 * insettabular.C (SetFont): now we may set a font on a whole selection!
88 (getSelection): added helper function.
90 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
92 * insetcite.C (Ascii): Add method.
94 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
97 * insetbib.C: fix path for OS/2 & Win32
99 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * insetfoot.C (Latex): don't use % after footnote.
103 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * insettext.C (Read): use clear
106 (SetParagraphData): use LyXParagraph copy constructor instead of clone
108 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
110 * insetfloatlist.h: add a bunch of std:: qualifiers.
112 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
115 FLOAT_LIST_CODE, renumber code list.
117 * insettoc.C (getScreenLabel): remove support for float lists
121 * insetfloatlist.[Ch]: new files
123 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
125 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
127 * insettabular.C (LocalDispatch):
128 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
131 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * insettext.C: remvoe !NEW_INSETS cruft
135 * insettabular.C: remove !NEW_INSETS cruft
137 * insetcollapsable.h: remove !NEW_INSETS cruft
139 * insetbib.C: remove !NEW_INSETS cruft
141 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * insettoc.C: hack to make listof algorithm work
145 2001-04-20 Juergen Vigna <jug@sad.it>
147 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
149 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
151 * insetquotes.C (Latex): improve the guard against
152 unwanted !` and ?` ligatures. This should really be done in
153 another place (to catch all this ligatures at low-level).
155 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * insettext.C (init): remvoe leftovers from cursor_visible change
159 (LocalDispatch): dispatch LFUN_MESSAGE
161 * insettabular.C (InsetTabular): remove leftovers from
162 cursor_visible, and scoped_ptr changes
165 * insetcollapsable.C (draw): use c++ cast
167 * ExternalTemplate.h: inherit privaely from noncopyable
168 * insetcommand.h: ditto
169 * insetinclude.h: ditto
171 2001-04-16 Allan Rae <rae@lyx.org>
173 * insettoc.C (Ascii):
174 * insettext.C (draw):
175 * insettabular.C (setPos):
176 * insetminipage.C (Read):
177 * insetfloat.C (placement):
178 * insetcaption.C (Ascii, DocBook):
179 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
180 an unrecognised preprocessor directive. So ensure they're wrapped.
182 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
185 * insetexternal.C: set view on Clone. Add _ to private members.
187 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
189 * insettext.C (InsetText): fix new
190 (InsetText): reindent some, simplify deletion of par list
191 (clear): simplify deletion of par list, fix new
192 (SetParagraphData): simplify deletion of par list
194 * insettabular.[Ch] (getLabelList): implement new method
196 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
198 * lyxinset.h: do not include gettext.h...
206 * insetlatexaccent.C:
210 * inseturl.C: ... and do it here instead
212 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
214 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
216 * insettext.[Ch] (getLabelList): add std:: on vector<string>
218 * insetcollapsable.[Ch] (getLabelList): implement
220 * insettext.[Ch] (getLabelList): implement
222 * insettext.h: reindent
224 * insettabular.h: make tabular a scoped_ptr
226 * insettext.C (init): adjust for cursor_visible
227 (ToggleInsetCursor): constify asc and desc, font, adjust for
229 (ShowInsetCursor): constify asc and desc, font, adjust for
231 (HideInsetCursor): adjust for cursor_visible
233 * insettabular.C: reindent some
234 (InsetTabular): adjust for scoped_ptr and cursor_visible
235 (InsetTabular): ditto
236 (~InsetTabular): delete delete
237 (Clone): adjust for scoped_ptr
238 (Read): constify old_format, adjust for scoped_ptr, move init of
240 (draw): constify tx, localize loop vars.
241 some other localization of variables, remove double initilizatons.
243 * insetfoot.C: remove using std::ostream, add ostream where needed
245 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
247 * lyxinset.h: some reindentaion, use initializer list for
249 UpdatableInset: make cursor_visible a private var add
250 public isCursorVisible(), add protected toggleCursorVisible() and
251 proctected setCursorVisible(bool), make scroll call the Inset::scroll
253 * insettoc.C: remvoe using decl
254 (getScreenLabel): make cmdname donst
257 (Ascii): don't use endl
259 * insetfootlike.C: remove using decl at file scope and add std::
261 * insetmarginal.C: ditto
263 * insetfoot.C: some reformatting
265 * insetfloat.C (InsetButtonRelease): adjust the hit area
267 * insetert.C (SetFont): some reformatting
269 * insetcollapsable.C: some reformatting and constification
270 (Clone): comment out.
271 * insetcollapsable.h: some reformatting
272 (Clone): comment out.
277 2001-03-30 Juergen Vigna <jug@sad.it>
279 * insetcollapsable.h: changen *inset to be a InsetText inset.
281 * some files: changed to reflect the above change.
283 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
285 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
286 InsetExternal::Params.
287 Added operator==() and operator!=() for the Params struct.
289 2001-03-29 Juergen Vigna <jug@sad.it>
291 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
294 * insetminipage.C: removed widthp_ and all it's functions and changed
295 to use new %-lengths of LyXLength.
297 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
299 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
301 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
303 * insetgraphicsParams.C (operator!=): new function, needed by the
304 ControlGraphics class.
306 2001-03-28 Juergen Vigna <jug@sad.it>
308 * insettext.C (InsetButtonPress): only enter !inset if button == 2
309 (checkAndActivateInset): don't use the values returned from
310 call to bv->checkInsetHit.
312 * insetminipage.C (Clone): set special minipage values.
314 * insetcollapsable.C (draw): changed to draw the button in the
315 upper left corner outside the textinset.
316 (ascent): changed because of different drawing
320 (InsetButtonPress): ditto
321 (InsetButtonRelease): ditto
322 (InsetMotionNotify): ditto
324 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
326 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
330 2001-03-26 Juergen Vigna <jug@sad.it>
332 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
334 * insettext.C (ShowInsetDialog): implemented above function.
336 * insettabular.C (ShowInsetDialog): ditto
338 * insetminipage.C (ShowInsetDialog): ditto
340 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
342 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
343 InsetInclude::Params. Don't store a buffer * in Params. Store the
344 master file name instead.
346 2001-03-23 Juergen Vigna <jug@sad.it>
348 * insetcollapsable.C (InsetMotionNotify):
349 (InsetButtonRelease):
350 (InsetButtonPress): fixed y-offset (minipages).
352 * insettext.C (draw): force a FULL update if cleared == true.
354 * insetcollapsable.C (draw): Lars forgotten entry for changing this
355 routine to draw the minipages on its position-flag.
356 (InsetInInsetY): give back the right y position, because of minipage
359 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
362 * insetfloat.C (DocBook): docbook export code.
364 2001-03-22 Juergen Vigna <jug@sad.it>
366 * insetminipage.C (getMaxWidth): added function to set the drawing
368 (Read): should work now!
370 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
371 if we create a new inset.
373 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
375 * figinset.C (fl_set_preemptive_callback): moved definition outside
378 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
380 * insetminipage.C (Read): prepare for reading of minipage arguments.
382 2001-03-18 Baruch Even <baruch@lyx.org>
384 * insetgraphics.C: Minor cleanups of the comments and code.
386 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
388 * insetminipage.C (InsetMinipage): default to not collapsed
390 2001-03-16 Juergen Vigna <jug@sad.it>
392 * insetminipage.C (width): modified with to be a string
393 (widthp): added widthp (for % width) support functions.
394 (InsetButtonRelease): added to open the options dialog on button==3.
395 (~InsetMinipage): added to hide the dialog.
397 * insetminipage.h: added hideDialog signal
399 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
401 * insetminipage.h: change the order or Position to match
402 LyXParagraph::MINIPAGE_ALIGNMENT
404 * several files: remvoe CXX_WORKING_NAMESPACES
406 * ExternalTemplate.h: noncopyable is in namespace boost
407 * insetinclude.h: ditto
408 * insetcommand.h: ditto
410 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
412 * insettext.C (Edit): #else# -> #else.
413 * insettoc.C: added using directive.
415 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
417 * insetminipage.h: add pos, inner_pos, width and height. + getters
418 and setters for all of them.
420 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
422 * insetinclude.C (Latex): Do not exit when the textclass of the
423 included file differ from the textclass of the parent file.
425 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
427 * ExternalTemplate.C (read): the reading of external insets now checks
428 for \end_inset and removes it form the input stream.
430 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
432 * ExternalTemplate.h:
433 * ExternalTemplate.C:
435 * insetexternal.C: move form to GUII
437 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
440 * insetinclude.C: add InsetIncludeParams, use
441 composition rather than derivation of InsetCommand
443 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
445 * insettoc.C (Ascii): use the Buffer typedefs
447 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
449 * insettoc.C (Ascii): implement for dynamic number of lists
451 * insetcaption.[Ch]: update from new_insets branch
452 * insetfloat.[Ch]: ditto
454 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
457 * figinset.C: use new File Dialog
459 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
461 * insettext.C: changes becuase of ParagraphParameters.
463 2001-02-28 Baruch Even <baruch@ev-en.org>
465 * insetgraphics.C (updateInset): Changed due to the change in
468 2001-02-26 Juergen Vigna <jug@sad.it>
470 * insettext.C (SetFont): Set Undo only if we have selection (as it is
473 2001-02-23 Juergen Vigna <jug@sad.it>
475 * insettext.C (draw): some small repainting fixes.
476 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
478 * inset.C (LocalDispatch): changed action to be a kb_action (as it
479 should be) and not an int.
481 * insettabular.C (LocalDispatch): ditto
483 * insettext.C (LocalDispatch): ditto
485 * insetcollapsable.C (LocalDispatch): ditto
487 2001-02-22 Juergen Vigna <jug@sad.it>
489 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
490 DISPATCH it and we don't have a locking_inset.
492 2001-02-21 Baruch Even <baruch@ev-en.org>
494 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
495 instead of GraphicsCacheItem *.
497 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
499 * insetcollapsable.C (getLyXText): add const qualifier to second
502 2001-02-22 Juergen Vigna <jug@sad.it>
504 * insettext.C (getLyXText): honor the recursive parameter.
505 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
507 * inset.C (getLyXText): added bool recursive parameter.
509 * insettext.C (SetUpdateStatus): or the update codes.
510 (draw): check need_update with &.
511 (InsetButtonPress): set no_selection to not put a selection when
512 entering an inset and it is redraws in another spot.
514 * insettext.h: made need_update an int.
516 2001-02-20 Baruch Even <baruch@ev-en.org>
519 * insetgraphisc.C: Changed to use better semantics when loading images
520 for inline view. Now it doesn't keep the pixmap itself but it's holder.
522 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
526 * insetgraphics.C: change name of "hide" signal to "hideDialog",
527 consistent with InsetTabular.
529 2001-02-19 Juergen Vigna <jug@sad.it>
531 * insettabular.C (LocalDispatch): implement PAGE up/down.
533 * insettext.C (draw): clear all of it on need_update==INIT too!
535 * insettabular.C (InsetUnlock): always clear the selection.
537 * inset.C (scroll): normally we only want to scroll the inset until
538 it is fully visible so if top_x + offset > 20 then just set scx to 0.
540 2001-02-14 Juergen Vigna <jug@sad.it>
542 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
543 (resetPos): fixed scroll behaviour.
544 (LocalDispatch): do an update if moving cursor inside a table cell
545 requests a scroll of the tabular.
547 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
549 * insettext.C (textWidth): constify local var
551 * insettabular.C: small cleanup.
553 * insetfoot.C (Latex): constify local var
555 * insetcollapsable.C: small cleanup.
557 * figinset.C (runqueue): use compare instead of strcmp
559 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
562 * insetinfo.C: remove cruft
564 2001-02-14 Juergen Vigna <jug@sad.it>
566 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
568 2001-02-13 Juergen Vigna <jug@sad.it>
570 * insettext.C (InsertInset): don't move left (is this right?)
572 * insettabular.C (LocalDispatch): use of the no_draw variable
574 * insettabular.h: new no_draw variable to stop redraw
576 * insettabular.C (TabularFeatures): fixed update for alignment change
578 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
582 * insetbib.C: move dialogs to frontends/
584 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
586 * insettext.C (LocalDispatch): Restore the language if the inset
589 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
591 * insettext.C (moveRightIntern): Update the selection cursor.
592 (moveLeftIntern): Ditto.
594 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * Makefile.am: remove BoundingBox.h
598 * BoundingBox.h: removed
600 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
602 * insettext.C (LocalDispatch): Update selection cursor when moving
604 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
605 (moveLeftIntern): Ditto.
607 2001-02-05 Baruch Even <baruch.even@writeme.com>
609 * insetgraphics.C: Updated automatic image conversion, it now goes into
610 temporary directory instead of with the image itself.
612 2001-01-21 Baruch Even <baruch@ev-en.org>
614 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
615 to EPS or PNG when needed (support bitmap graphics).
617 2000-11-02 Baruch Even <baruch@ev-en.org>
620 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
621 and removal of commented out code.
623 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
625 * insetbib.C (callback): Update citations if the key has changed.
627 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
629 * insetbib.C (InsetBibKey): Better computation of default key.
630 (getScreenLabel) Show both the key and the label.
631 (getBibLabel): New method.
632 (callback): Force a redraw if the inset have been changed.
634 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
636 * insetref.C (getType, getName): Move methods from
637 src/frontends/xforms/FormRef.C.
639 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
641 * insettabular.C: Various improvements (use only one dummy position).
643 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
645 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
646 par->bibkey->width. This fixes the crashes when running without
647 gui or when having included documents.
649 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
651 * insetcommand.C (getAsString, setFromString): Cleanup.
653 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
655 * insetref.C: Add the array InsetRef::types that contains
656 information about all supported reference types.
658 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
660 * lyxinset.h: remove trailing comma in enum.
662 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
664 * insettext.C: kill LyXBell.