1 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Change a lot of method names to begin with a small char.
4 Changes to a lot of files because of this.
6 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * insetfloatlist.C (Write): std:: qualify ostream
11 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15 * insetgraphics.C: send debug output to Debug::INFO instead of
18 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
21 * insettabular.C (getStatus): update to use func_status
23 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
25 * insetref.C (DocBook): added support for cross-references without
28 2001-06-26 The LyX Project <jug@sad.it>
33 * insetlabel.h: removed escape method and moved it to
36 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
38 * insettabular.C (getMaxWidth): do the speedup in a different way,
41 2001-06-24 The LyX Project <Asger>
43 * insettabular.C (getMaxWidth): We cache a mapping from
44 inset to cell in order to speed this method up.
46 2001-06-24 The LyX Project <Asger>
48 * insettext.C: Optimized InsetText::draw or something.
50 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
52 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
54 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
56 * inset.h: name change from lyxinset.h
58 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
60 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
62 2001-06-14 Juergen Vigna <jug@sad.it>
64 * insettext.C (draw): removed warnings.
66 2001-06-13 Juergen Vigna <jug@sad.it>
68 * insettabular.C (nodraw): only go down the tree if we don't have
69 that flag set otherwise it's obvious that we don't want to draw.
70 (LocalDispatch): do also an update if we have an undispached result.
72 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
75 * insetgraphicsParams.C:
76 * insettext.C: removed // -*- C++ -*- as first line.
78 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * lyxinset.h (resizeLyXText): shut off warning about unused
83 2001-06-07 Juergen Vigna <jug@sad.it>
85 * insettext.C (resizeLyXText): honor the new force flag.
87 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
89 * insettabular.C (deleteLyXText): new function
91 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
100 * insetcaption.C: LColor tidy
102 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
104 * figinset.C: fix typo
106 2001-06-01 Juergen Vigna <jug@sad.it>
108 * insettabular.C (resetPos): small hack so that scroll is not set to
109 0 when we are in the last column of a tabular. This is a problem we
110 have because of constats 20 offset on both directions, so this can
111 cause on the limit an endless loop.
113 * insettext.C (SetFont): forgot that we can have locking insets ;)
115 2001-05-31 Juergen Vigna <jug@sad.it>
117 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
119 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * figinset.C: add using std:: directive for the C functions which
124 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * insetfloat.C (Write): write out wide info
127 (Read): read the wide info
128 (Latex): use the wide info when creating latex.
130 * insettext.C: adjust
132 * insetgraphics.[Ch] (statusMessage): change to return string
136 * figinset.C (runqueue): add std::
139 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
141 * insetcite.C (Ascii): add std:: qualifier
143 2001-05-28 Juergen Vigna <jug@sad.it>
145 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
146 a endless-width inset (maxWidth < 0).
147 (Edit): change language only if not equal.
149 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
151 * insettext.C (draw): fixed draw/clear of InsetText-Frame
153 2001-05-16 Juergen Vigna <jug@sad.it>
155 * insettext.C (selectAll): added
156 (clearSelection): added
158 * insettabular.C (SetFont): now we may set a font on a whole selection!
159 (getSelection): added helper function.
161 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
163 * insetcite.C (Ascii): Add method.
165 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
168 * insetbib.C: fix path for OS/2 & Win32
170 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
172 * insetfoot.C (Latex): don't use % after footnote.
174 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * insettext.C (Read): use clear
177 (SetParagraphData): use LyXParagraph copy constructor instead of clone
179 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
181 * insetfloatlist.h: add a bunch of std:: qualifiers.
183 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
186 FLOAT_LIST_CODE, renumber code list.
188 * insettoc.C (getScreenLabel): remove support for float lists
192 * insetfloatlist.[Ch]: new files
194 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
196 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
198 * insettabular.C (LocalDispatch):
199 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
202 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * insettext.C: remvoe !NEW_INSETS cruft
206 * insettabular.C: remove !NEW_INSETS cruft
208 * insetcollapsable.h: remove !NEW_INSETS cruft
210 * insetbib.C: remove !NEW_INSETS cruft
212 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
214 * insettoc.C: hack to make listof algorithm work
216 2001-04-20 Juergen Vigna <jug@sad.it>
218 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
220 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
222 * insetquotes.C (Latex): improve the guard against
223 unwanted !` and ?` ligatures. This should really be done in
224 another place (to catch all this ligatures at low-level).
226 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * insettext.C (init): remvoe leftovers from cursor_visible change
230 (LocalDispatch): dispatch LFUN_MESSAGE
232 * insettabular.C (InsetTabular): remove leftovers from
233 cursor_visible, and scoped_ptr changes
236 * insetcollapsable.C (draw): use c++ cast
238 * ExternalTemplate.h: inherit privaely from noncopyable
239 * insetcommand.h: ditto
240 * insetinclude.h: ditto
242 2001-04-16 Allan Rae <rae@lyx.org>
244 * insettoc.C (Ascii):
245 * insettext.C (draw):
246 * insettabular.C (setPos):
247 * insetminipage.C (Read):
248 * insetfloat.C (placement):
249 * insetcaption.C (Ascii, DocBook):
250 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
251 an unrecognised preprocessor directive. So ensure they're wrapped.
253 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
256 * insetexternal.C: set view on Clone. Add _ to private members.
258 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
260 * insettext.C (InsetText): fix new
261 (InsetText): reindent some, simplify deletion of par list
262 (clear): simplify deletion of par list, fix new
263 (SetParagraphData): simplify deletion of par list
265 * insettabular.[Ch] (getLabelList): implement new method
267 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
269 * lyxinset.h: do not include gettext.h...
277 * insetlatexaccent.C:
281 * inseturl.C: ... and do it here instead
283 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
285 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
287 * insettext.[Ch] (getLabelList): add std:: on vector<string>
289 * insetcollapsable.[Ch] (getLabelList): implement
291 * insettext.[Ch] (getLabelList): implement
293 * insettext.h: reindent
295 * insettabular.h: make tabular a scoped_ptr
297 * insettext.C (init): adjust for cursor_visible
298 (ToggleInsetCursor): constify asc and desc, font, adjust for
300 (ShowInsetCursor): constify asc and desc, font, adjust for
302 (HideInsetCursor): adjust for cursor_visible
304 * insettabular.C: reindent some
305 (InsetTabular): adjust for scoped_ptr and cursor_visible
306 (InsetTabular): ditto
307 (~InsetTabular): delete delete
308 (Clone): adjust for scoped_ptr
309 (Read): constify old_format, adjust for scoped_ptr, move init of
311 (draw): constify tx, localize loop vars.
312 some other localization of variables, remove double initilizatons.
314 * insetfoot.C: remove using std::ostream, add ostream where needed
316 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
318 * lyxinset.h: some reindentaion, use initializer list for
320 UpdatableInset: make cursor_visible a private var add
321 public isCursorVisible(), add protected toggleCursorVisible() and
322 proctected setCursorVisible(bool), make scroll call the Inset::scroll
324 * insettoc.C: remvoe using decl
325 (getScreenLabel): make cmdname donst
328 (Ascii): don't use endl
330 * insetfootlike.C: remove using decl at file scope and add std::
332 * insetmarginal.C: ditto
334 * insetfoot.C: some reformatting
336 * insetfloat.C (InsetButtonRelease): adjust the hit area
338 * insetert.C (SetFont): some reformatting
340 * insetcollapsable.C: some reformatting and constification
341 (Clone): comment out.
342 * insetcollapsable.h: some reformatting
343 (Clone): comment out.
348 2001-03-30 Juergen Vigna <jug@sad.it>
350 * insetcollapsable.h: changen *inset to be a InsetText inset.
352 * some files: changed to reflect the above change.
354 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
356 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
357 InsetExternal::Params.
358 Added operator==() and operator!=() for the Params struct.
360 2001-03-29 Juergen Vigna <jug@sad.it>
362 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
365 * insetminipage.C: removed widthp_ and all it's functions and changed
366 to use new %-lengths of LyXLength.
368 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
370 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
372 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
374 * insetgraphicsParams.C (operator!=): new function, needed by the
375 ControlGraphics class.
377 2001-03-28 Juergen Vigna <jug@sad.it>
379 * insettext.C (InsetButtonPress): only enter !inset if button == 2
380 (checkAndActivateInset): don't use the values returned from
381 call to bv->checkInsetHit.
383 * insetminipage.C (Clone): set special minipage values.
385 * insetcollapsable.C (draw): changed to draw the button in the
386 upper left corner outside the textinset.
387 (ascent): changed because of different drawing
391 (InsetButtonPress): ditto
392 (InsetButtonRelease): ditto
393 (InsetMotionNotify): ditto
395 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
397 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
401 2001-03-26 Juergen Vigna <jug@sad.it>
403 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
405 * insettext.C (ShowInsetDialog): implemented above function.
407 * insettabular.C (ShowInsetDialog): ditto
409 * insetminipage.C (ShowInsetDialog): ditto
411 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
413 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
414 InsetInclude::Params. Don't store a buffer * in Params. Store the
415 master file name instead.
417 2001-03-23 Juergen Vigna <jug@sad.it>
419 * insetcollapsable.C (InsetMotionNotify):
420 (InsetButtonRelease):
421 (InsetButtonPress): fixed y-offset (minipages).
423 * insettext.C (draw): force a FULL update if cleared == true.
425 * insetcollapsable.C (draw): Lars forgotten entry for changing this
426 routine to draw the minipages on its position-flag.
427 (InsetInInsetY): give back the right y position, because of minipage
430 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
433 * insetfloat.C (DocBook): docbook export code.
435 2001-03-22 Juergen Vigna <jug@sad.it>
437 * insetminipage.C (getMaxWidth): added function to set the drawing
439 (Read): should work now!
441 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
442 if we create a new inset.
444 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
446 * figinset.C (fl_set_preemptive_callback): moved definition outside
449 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
451 * insetminipage.C (Read): prepare for reading of minipage arguments.
453 2001-03-18 Baruch Even <baruch@lyx.org>
455 * insetgraphics.C: Minor cleanups of the comments and code.
457 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
459 * insetminipage.C (InsetMinipage): default to not collapsed
461 2001-03-16 Juergen Vigna <jug@sad.it>
463 * insetminipage.C (width): modified with to be a string
464 (widthp): added widthp (for % width) support functions.
465 (InsetButtonRelease): added to open the options dialog on button==3.
466 (~InsetMinipage): added to hide the dialog.
468 * insetminipage.h: added hideDialog signal
470 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
472 * insetminipage.h: change the order or Position to match
473 LyXParagraph::MINIPAGE_ALIGNMENT
475 * several files: remvoe CXX_WORKING_NAMESPACES
477 * ExternalTemplate.h: noncopyable is in namespace boost
478 * insetinclude.h: ditto
479 * insetcommand.h: ditto
481 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
483 * insettext.C (Edit): #else# -> #else.
484 * insettoc.C: added using directive.
486 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
488 * insetminipage.h: add pos, inner_pos, width and height. + getters
489 and setters for all of them.
491 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
493 * insetinclude.C (Latex): Do not exit when the textclass of the
494 included file differ from the textclass of the parent file.
496 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
498 * ExternalTemplate.C (read): the reading of external insets now checks
499 for \end_inset and removes it form the input stream.
501 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
503 * ExternalTemplate.h:
504 * ExternalTemplate.C:
506 * insetexternal.C: move form to GUII
508 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
511 * insetinclude.C: add InsetIncludeParams, use
512 composition rather than derivation of InsetCommand
514 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
516 * insettoc.C (Ascii): use the Buffer typedefs
518 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
520 * insettoc.C (Ascii): implement for dynamic number of lists
522 * insetcaption.[Ch]: update from new_insets branch
523 * insetfloat.[Ch]: ditto
525 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
528 * figinset.C: use new File Dialog
530 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
532 * insettext.C: changes becuase of ParagraphParameters.
534 2001-02-28 Baruch Even <baruch@ev-en.org>
536 * insetgraphics.C (updateInset): Changed due to the change in
539 2001-02-26 Juergen Vigna <jug@sad.it>
541 * insettext.C (SetFont): Set Undo only if we have selection (as it is
544 2001-02-23 Juergen Vigna <jug@sad.it>
546 * insettext.C (draw): some small repainting fixes.
547 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
549 * inset.C (LocalDispatch): changed action to be a kb_action (as it
550 should be) and not an int.
552 * insettabular.C (LocalDispatch): ditto
554 * insettext.C (LocalDispatch): ditto
556 * insetcollapsable.C (LocalDispatch): ditto
558 2001-02-22 Juergen Vigna <jug@sad.it>
560 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
561 DISPATCH it and we don't have a locking_inset.
563 2001-02-21 Baruch Even <baruch@ev-en.org>
565 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
566 instead of GraphicsCacheItem *.
568 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
570 * insetcollapsable.C (getLyXText): add const qualifier to second
573 2001-02-22 Juergen Vigna <jug@sad.it>
575 * insettext.C (getLyXText): honor the recursive parameter.
576 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
578 * inset.C (getLyXText): added bool recursive parameter.
580 * insettext.C (SetUpdateStatus): or the update codes.
581 (draw): check need_update with &.
582 (InsetButtonPress): set no_selection to not put a selection when
583 entering an inset and it is redraws in another spot.
585 * insettext.h: made need_update an int.
587 2001-02-20 Baruch Even <baruch@ev-en.org>
590 * insetgraphisc.C: Changed to use better semantics when loading images
591 for inline view. Now it doesn't keep the pixmap itself but it's holder.
593 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
597 * insetgraphics.C: change name of "hide" signal to "hideDialog",
598 consistent with InsetTabular.
600 2001-02-19 Juergen Vigna <jug@sad.it>
602 * insettabular.C (LocalDispatch): implement PAGE up/down.
604 * insettext.C (draw): clear all of it on need_update==INIT too!
606 * insettabular.C (InsetUnlock): always clear the selection.
608 * inset.C (scroll): normally we only want to scroll the inset until
609 it is fully visible so if top_x + offset > 20 then just set scx to 0.
611 2001-02-14 Juergen Vigna <jug@sad.it>
613 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
614 (resetPos): fixed scroll behaviour.
615 (LocalDispatch): do an update if moving cursor inside a table cell
616 requests a scroll of the tabular.
618 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
620 * insettext.C (textWidth): constify local var
622 * insettabular.C: small cleanup.
624 * insetfoot.C (Latex): constify local var
626 * insetcollapsable.C: small cleanup.
628 * figinset.C (runqueue): use compare instead of strcmp
630 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
633 * insetinfo.C: remove cruft
635 2001-02-14 Juergen Vigna <jug@sad.it>
637 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
639 2001-02-13 Juergen Vigna <jug@sad.it>
641 * insettext.C (InsertInset): don't move left (is this right?)
643 * insettabular.C (LocalDispatch): use of the no_draw variable
645 * insettabular.h: new no_draw variable to stop redraw
647 * insettabular.C (TabularFeatures): fixed update for alignment change
649 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
653 * insetbib.C: move dialogs to frontends/
655 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
657 * insettext.C (LocalDispatch): Restore the language if the inset
660 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
662 * insettext.C (moveRightIntern): Update the selection cursor.
663 (moveLeftIntern): Ditto.
665 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
667 * Makefile.am: remove BoundingBox.h
669 * BoundingBox.h: removed
671 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
673 * insettext.C (LocalDispatch): Update selection cursor when moving
675 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
676 (moveLeftIntern): Ditto.
678 2001-02-05 Baruch Even <baruch.even@writeme.com>
680 * insetgraphics.C: Updated automatic image conversion, it now goes into
681 temporary directory instead of with the image itself.
683 2001-01-21 Baruch Even <baruch@ev-en.org>
685 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
686 to EPS or PNG when needed (support bitmap graphics).
688 2000-11-02 Baruch Even <baruch@ev-en.org>
691 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
692 and removal of commented out code.
694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
696 * insetbib.C (callback): Update citations if the key has changed.
698 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
700 * insetbib.C (InsetBibKey): Better computation of default key.
701 (getScreenLabel) Show both the key and the label.
702 (getBibLabel): New method.
703 (callback): Force a redraw if the inset have been changed.
705 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
707 * insetref.C (getType, getName): Move methods from
708 src/frontends/xforms/FormRef.C.
710 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
712 * insettabular.C: Various improvements (use only one dummy position).
714 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
716 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
717 par->bibkey->width. This fixes the crashes when running without
718 gui or when having included documents.
720 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
722 * insetcommand.C (getAsString, setFromString): Cleanup.
724 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
726 * insetref.C: Add the array InsetRef::types that contains
727 information about all supported reference types.
729 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
731 * lyxinset.h: remove trailing comma in enum.
733 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
735 * insettext.C: kill LyXBell.