1 2001-06-24 The LyX Project <Asger>
3 * insettabular.C (getMaxWidth): We cache a mapping from
4 inset to cell in order to speed this method up.
6 2001-06-24 The LyX Project <Asger>
8 * insettext.C: Optimized InsetText::draw or something.
10 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
12 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
14 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * inset.h: name change from lyxinset.h
18 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
20 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
22 2001-06-14 Juergen Vigna <jug@sad.it>
24 * insettext.C (draw): removed warinings.
26 2001-06-13 Juergen Vigna <jug@sad.it>
28 * insettabular.C (nodraw): only go down the tree if we don't have
29 that flag set otherwise it's obvious that we don't want to draw.
30 (LocalDispatch): do also an update if we have an undispached result.
32 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
35 * insetgraphicsParams.C:
36 * insettext.C: removed // -*- C++ -*- as first line.
38 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
40 * lyxinset.h (resizeLyXText): shut off warning about unused
43 2001-06-07 Juergen Vigna <jug@sad.it>
45 * insettext.C (resizeLyXText): honor the new force flag.
47 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
49 * insettabular.C (deleteLyXText): new function
51 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
60 * insetcaption.C: LColor tidy
62 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * figinset.C: fix typo
66 2001-06-01 Juergen Vigna <jug@sad.it>
68 * insettabular.C (resetPos): small hack so that scroll is not set to
69 0 when we are in the last column of a tabular. This is a problem we
70 have because of constats 20 offset on both directions, so this can
71 cause on the limit an endless loop.
73 * insettext.C (SetFont): forgot that we can have locking insets ;)
75 2001-05-31 Juergen Vigna <jug@sad.it>
77 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
79 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
81 * figinset.C: add using std:: directive for the C functions which
84 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * insetfloat.C (Write): write out wide info
87 (Read): read the wide info
88 (Latex): use the wide info when creating latex.
92 * insetgraphics.[Ch] (statusMessage): change to return string
96 * figinset.C (runqueue): add std::
99 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * insetcite.C (Ascii): add std:: qualifier
103 2001-05-28 Juergen Vigna <jug@sad.it>
105 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
106 a endless-width inset (maxWidth < 0).
107 (Edit): change language only if not equal.
109 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
111 * insettext.C (draw): fixed draw/clear of InsetText-Frame
113 2001-05-16 Juergen Vigna <jug@sad.it>
115 * insettext.C (selectAll): added
116 (clearSelection): added
118 * insettabular.C (SetFont): now we may set a font on a whole selection!
119 (getSelection): added helper function.
121 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
123 * insetcite.C (Ascii): Add method.
125 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
128 * insetbib.C: fix path for OS/2 & Win32
130 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * insetfoot.C (Latex): don't use % after footnote.
134 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * insettext.C (Read): use clear
137 (SetParagraphData): use LyXParagraph copy constructor instead of clone
139 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
141 * insetfloatlist.h: add a bunch of std:: qualifiers.
143 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
146 FLOAT_LIST_CODE, renumber code list.
148 * insettoc.C (getScreenLabel): remove support for float lists
152 * insetfloatlist.[Ch]: new files
154 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
156 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
158 * insettabular.C (LocalDispatch):
159 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
162 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
164 * insettext.C: remvoe !NEW_INSETS cruft
166 * insettabular.C: remove !NEW_INSETS cruft
168 * insetcollapsable.h: remove !NEW_INSETS cruft
170 * insetbib.C: remove !NEW_INSETS cruft
172 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
174 * insettoc.C: hack to make listof algorithm work
176 2001-04-20 Juergen Vigna <jug@sad.it>
178 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
180 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
182 * insetquotes.C (Latex): improve the guard against
183 unwanted !` and ?` ligatures. This should really be done in
184 another place (to catch all this ligatures at low-level).
186 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
188 * insettext.C (init): remvoe leftovers from cursor_visible change
190 (LocalDispatch): dispatch LFUN_MESSAGE
192 * insettabular.C (InsetTabular): remove leftovers from
193 cursor_visible, and scoped_ptr changes
196 * insetcollapsable.C (draw): use c++ cast
198 * ExternalTemplate.h: inherit privaely from noncopyable
199 * insetcommand.h: ditto
200 * insetinclude.h: ditto
202 2001-04-16 Allan Rae <rae@lyx.org>
204 * insettoc.C (Ascii):
205 * insettext.C (draw):
206 * insettabular.C (setPos):
207 * insetminipage.C (Read):
208 * insetfloat.C (placement):
209 * insetcaption.C (Ascii, DocBook):
210 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
211 an unrecognised preprocessor directive. So ensure they're wrapped.
213 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
216 * insetexternal.C: set view on Clone. Add _ to private members.
218 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * insettext.C (InsetText): fix new
221 (InsetText): reindent some, simplify deletion of par list
222 (clear): simplify deletion of par list, fix new
223 (SetParagraphData): simplify deletion of par list
225 * insettabular.[Ch] (getLabelList): implement new method
227 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
229 * lyxinset.h: do not include gettext.h...
237 * insetlatexaccent.C:
241 * inseturl.C: ... and do it here instead
243 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
245 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
247 * insettext.[Ch] (getLabelList): add std:: on vector<string>
249 * insetcollapsable.[Ch] (getLabelList): implement
251 * insettext.[Ch] (getLabelList): implement
253 * insettext.h: reindent
255 * insettabular.h: make tabular a scoped_ptr
257 * insettext.C (init): adjust for cursor_visible
258 (ToggleInsetCursor): constify asc and desc, font, adjust for
260 (ShowInsetCursor): constify asc and desc, font, adjust for
262 (HideInsetCursor): adjust for cursor_visible
264 * insettabular.C: reindent some
265 (InsetTabular): adjust for scoped_ptr and cursor_visible
266 (InsetTabular): ditto
267 (~InsetTabular): delete delete
268 (Clone): adjust for scoped_ptr
269 (Read): constify old_format, adjust for scoped_ptr, move init of
271 (draw): constify tx, localize loop vars.
272 some other localization of variables, remove double initilizatons.
274 * insetfoot.C: remove using std::ostream, add ostream where needed
276 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
278 * lyxinset.h: some reindentaion, use initializer list for
280 UpdatableInset: make cursor_visible a private var add
281 public isCursorVisible(), add protected toggleCursorVisible() and
282 proctected setCursorVisible(bool), make scroll call the Inset::scroll
284 * insettoc.C: remvoe using decl
285 (getScreenLabel): make cmdname donst
288 (Ascii): don't use endl
290 * insetfootlike.C: remove using decl at file scope and add std::
292 * insetmarginal.C: ditto
294 * insetfoot.C: some reformatting
296 * insetfloat.C (InsetButtonRelease): adjust the hit area
298 * insetert.C (SetFont): some reformatting
300 * insetcollapsable.C: some reformatting and constification
301 (Clone): comment out.
302 * insetcollapsable.h: some reformatting
303 (Clone): comment out.
308 2001-03-30 Juergen Vigna <jug@sad.it>
310 * insetcollapsable.h: changen *inset to be a InsetText inset.
312 * some files: changed to reflect the above change.
314 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
316 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
317 InsetExternal::Params.
318 Added operator==() and operator!=() for the Params struct.
320 2001-03-29 Juergen Vigna <jug@sad.it>
322 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
325 * insetminipage.C: removed widthp_ and all it's functions and changed
326 to use new %-lengths of LyXLength.
328 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
330 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
332 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
334 * insetgraphicsParams.C (operator!=): new function, needed by the
335 ControlGraphics class.
337 2001-03-28 Juergen Vigna <jug@sad.it>
339 * insettext.C (InsetButtonPress): only enter !inset if button == 2
340 (checkAndActivateInset): don't use the values returned from
341 call to bv->checkInsetHit.
343 * insetminipage.C (Clone): set special minipage values.
345 * insetcollapsable.C (draw): changed to draw the button in the
346 upper left corner outside the textinset.
347 (ascent): changed because of different drawing
351 (InsetButtonPress): ditto
352 (InsetButtonRelease): ditto
353 (InsetMotionNotify): ditto
355 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
357 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
361 2001-03-26 Juergen Vigna <jug@sad.it>
363 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
365 * insettext.C (ShowInsetDialog): implemented above function.
367 * insettabular.C (ShowInsetDialog): ditto
369 * insetminipage.C (ShowInsetDialog): ditto
371 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
373 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
374 InsetInclude::Params. Don't store a buffer * in Params. Store the
375 master file name instead.
377 2001-03-23 Juergen Vigna <jug@sad.it>
379 * insetcollapsable.C (InsetMotionNotify):
380 (InsetButtonRelease):
381 (InsetButtonPress): fixed y-offset (minipages).
383 * insettext.C (draw): force a FULL update if cleared == true.
385 * insetcollapsable.C (draw): Lars forgotten entry for changing this
386 routine to draw the minipages on its position-flag.
387 (InsetInInsetY): give back the right y position, because of minipage
390 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
393 * insetfloat.C (DocBook): docbook export code.
395 2001-03-22 Juergen Vigna <jug@sad.it>
397 * insetminipage.C (getMaxWidth): added function to set the drawing
399 (Read): should work now!
401 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
402 if we create a new inset.
404 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
406 * figinset.C (fl_set_preemptive_callback): moved definition outside
409 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
411 * insetminipage.C (Read): prepare for reading of minipage arguments.
413 2001-03-18 Baruch Even <baruch@lyx.org>
415 * insetgraphics.C: Minor cleanups of the comments and code.
417 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
419 * insetminipage.C (InsetMinipage): default to not collapsed
421 2001-03-16 Juergen Vigna <jug@sad.it>
423 * insetminipage.C (width): modified with to be a string
424 (widthp): added widthp (for % width) support functions.
425 (InsetButtonRelease): added to open the options dialog on button==3.
426 (~InsetMinipage): added to hide the dialog.
428 * insetminipage.h: added hideDialog signal
430 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
432 * insetminipage.h: change the order or Position to match
433 LyXParagraph::MINIPAGE_ALIGNMENT
435 * several files: remvoe CXX_WORKING_NAMESPACES
437 * ExternalTemplate.h: noncopyable is in namespace boost
438 * insetinclude.h: ditto
439 * insetcommand.h: ditto
441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
443 * insettext.C (Edit): #else# -> #else.
444 * insettoc.C: added using directive.
446 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
448 * insetminipage.h: add pos, inner_pos, width and height. + getters
449 and setters for all of them.
451 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
453 * insetinclude.C (Latex): Do not exit when the textclass of the
454 included file differ from the textclass of the parent file.
456 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
458 * ExternalTemplate.C (read): the reading of external insets now checks
459 for \end_inset and removes it form the input stream.
461 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
463 * ExternalTemplate.h:
464 * ExternalTemplate.C:
466 * insetexternal.C: move form to GUII
468 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
471 * insetinclude.C: add InsetIncludeParams, use
472 composition rather than derivation of InsetCommand
474 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
476 * insettoc.C (Ascii): use the Buffer typedefs
478 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
480 * insettoc.C (Ascii): implement for dynamic number of lists
482 * insetcaption.[Ch]: update from new_insets branch
483 * insetfloat.[Ch]: ditto
485 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
488 * figinset.C: use new File Dialog
490 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
492 * insettext.C: changes becuase of ParagraphParameters.
494 2001-02-28 Baruch Even <baruch@ev-en.org>
496 * insetgraphics.C (updateInset): Changed due to the change in
499 2001-02-26 Juergen Vigna <jug@sad.it>
501 * insettext.C (SetFont): Set Undo only if we have selection (as it is
504 2001-02-23 Juergen Vigna <jug@sad.it>
506 * insettext.C (draw): some small repainting fixes.
507 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
509 * inset.C (LocalDispatch): changed action to be a kb_action (as it
510 should be) and not an int.
512 * insettabular.C (LocalDispatch): ditto
514 * insettext.C (LocalDispatch): ditto
516 * insetcollapsable.C (LocalDispatch): ditto
518 2001-02-22 Juergen Vigna <jug@sad.it>
520 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
521 DISPATCH it and we don't have a locking_inset.
523 2001-02-21 Baruch Even <baruch@ev-en.org>
525 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
526 instead of GraphicsCacheItem *.
528 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * insetcollapsable.C (getLyXText): add const qualifier to second
533 2001-02-22 Juergen Vigna <jug@sad.it>
535 * insettext.C (getLyXText): honor the recursive parameter.
536 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
538 * inset.C (getLyXText): added bool recursive parameter.
540 * insettext.C (SetUpdateStatus): or the update codes.
541 (draw): check need_update with &.
542 (InsetButtonPress): set no_selection to not put a selection when
543 entering an inset and it is redraws in another spot.
545 * insettext.h: made need_update an int.
547 2001-02-20 Baruch Even <baruch@ev-en.org>
550 * insetgraphisc.C: Changed to use better semantics when loading images
551 for inline view. Now it doesn't keep the pixmap itself but it's holder.
553 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
557 * insetgraphics.C: change name of "hide" signal to "hideDialog",
558 consistent with InsetTabular.
560 2001-02-19 Juergen Vigna <jug@sad.it>
562 * insettabular.C (LocalDispatch): implement PAGE up/down.
564 * insettext.C (draw): clear all of it on need_update==INIT too!
566 * insettabular.C (InsetUnlock): always clear the selection.
568 * inset.C (scroll): normally we only want to scroll the inset until
569 it is fully visible so if top_x + offset > 20 then just set scx to 0.
571 2001-02-14 Juergen Vigna <jug@sad.it>
573 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
574 (resetPos): fixed scroll behaviour.
575 (LocalDispatch): do an update if moving cursor inside a table cell
576 requests a scroll of the tabular.
578 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
580 * insettext.C (textWidth): constify local var
582 * insettabular.C: small cleanup.
584 * insetfoot.C (Latex): constify local var
586 * insetcollapsable.C: small cleanup.
588 * figinset.C (runqueue): use compare instead of strcmp
590 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
593 * insetinfo.C: remove cruft
595 2001-02-14 Juergen Vigna <jug@sad.it>
597 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
599 2001-02-13 Juergen Vigna <jug@sad.it>
601 * insettext.C (InsertInset): don't move left (is this right?)
603 * insettabular.C (LocalDispatch): use of the no_draw variable
605 * insettabular.h: new no_draw variable to stop redraw
607 * insettabular.C (TabularFeatures): fixed update for alignment change
609 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
613 * insetbib.C: move dialogs to frontends/
615 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
617 * insettext.C (LocalDispatch): Restore the language if the inset
620 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
622 * insettext.C (moveRightIntern): Update the selection cursor.
623 (moveLeftIntern): Ditto.
625 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
627 * Makefile.am: remove BoundingBox.h
629 * BoundingBox.h: removed
631 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
633 * insettext.C (LocalDispatch): Update selection cursor when moving
635 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
636 (moveLeftIntern): Ditto.
638 2001-02-05 Baruch Even <baruch.even@writeme.com>
640 * insetgraphics.C: Updated automatic image conversion, it now goes into
641 temporary directory instead of with the image itself.
643 2001-01-21 Baruch Even <baruch@ev-en.org>
645 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
646 to EPS or PNG when needed (support bitmap graphics).
648 2000-11-02 Baruch Even <baruch@ev-en.org>
651 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
652 and removal of commented out code.
654 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
656 * insetbib.C (callback): Update citations if the key has changed.
658 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
660 * insetbib.C (InsetBibKey): Better computation of default key.
661 (getScreenLabel) Show both the key and the label.
662 (getBibLabel): New method.
663 (callback): Force a redraw if the inset have been changed.
665 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
667 * insetref.C (getType, getName): Move methods from
668 src/frontends/xforms/FormRef.C.
670 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
672 * insettabular.C: Various improvements (use only one dummy position).
674 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
676 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
677 par->bibkey->width. This fixes the crashes when running without
678 gui or when having included documents.
680 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
682 * insetcommand.C (getAsString, setFromString): Cleanup.
684 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
686 * insetref.C: Add the array InsetRef::types that contains
687 information about all supported reference types.
689 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
691 * lyxinset.h: remove trailing comma in enum.
693 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
695 * insettext.C: kill LyXBell.