1 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insettext.C (localDispatch): use .c_str() on istringstream
6 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
11 * inseturl.C: fix method names in these to begin
12 with small char too, so they inherit
14 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * Change a lot of method names to begin with a small char.
17 Changes to a lot of files because of this.
19 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
21 * insetfloatlist.C (Write): std:: qualify ostream
24 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
28 * insetgraphics.C: send debug output to Debug::INFO instead of
31 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
34 * insettabular.C (getStatus): update to use func_status
36 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
38 * insetref.C (DocBook): added support for cross-references without
41 2001-06-26 The LyX Project <jug@sad.it>
46 * insetlabel.h: removed escape method and moved it to
49 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * insettabular.C (getMaxWidth): do the speedup in a different way,
54 2001-06-24 The LyX Project <Asger>
56 * insettabular.C (getMaxWidth): We cache a mapping from
57 inset to cell in order to speed this method up.
59 2001-06-24 The LyX Project <Asger>
61 * insettext.C: Optimized InsetText::draw or something.
63 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
65 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
67 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * inset.h: name change from lyxinset.h
71 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
73 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
75 2001-06-14 Juergen Vigna <jug@sad.it>
77 * insettext.C (draw): removed warnings.
79 2001-06-13 Juergen Vigna <jug@sad.it>
81 * insettabular.C (nodraw): only go down the tree if we don't have
82 that flag set otherwise it's obvious that we don't want to draw.
83 (LocalDispatch): do also an update if we have an undispached result.
85 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
88 * insetgraphicsParams.C:
89 * insettext.C: removed // -*- C++ -*- as first line.
91 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * lyxinset.h (resizeLyXText): shut off warning about unused
96 2001-06-07 Juergen Vigna <jug@sad.it>
98 * insettext.C (resizeLyXText): honor the new force flag.
100 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
102 * insettabular.C (deleteLyXText): new function
104 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
112 * insetcollapsable.C:
113 * insetcaption.C: LColor tidy
115 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * figinset.C: fix typo
119 2001-06-01 Juergen Vigna <jug@sad.it>
121 * insettabular.C (resetPos): small hack so that scroll is not set to
122 0 when we are in the last column of a tabular. This is a problem we
123 have because of constats 20 offset on both directions, so this can
124 cause on the limit an endless loop.
126 * insettext.C (SetFont): forgot that we can have locking insets ;)
128 2001-05-31 Juergen Vigna <jug@sad.it>
130 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
132 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
134 * figinset.C: add using std:: directive for the C functions which
137 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
139 * insetfloat.C (Write): write out wide info
140 (Read): read the wide info
141 (Latex): use the wide info when creating latex.
143 * insettext.C: adjust
145 * insetgraphics.[Ch] (statusMessage): change to return string
149 * figinset.C (runqueue): add std::
152 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
154 * insetcite.C (Ascii): add std:: qualifier
156 2001-05-28 Juergen Vigna <jug@sad.it>
158 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
159 a endless-width inset (maxWidth < 0).
160 (Edit): change language only if not equal.
162 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
164 * insettext.C (draw): fixed draw/clear of InsetText-Frame
166 2001-05-16 Juergen Vigna <jug@sad.it>
168 * insettext.C (selectAll): added
169 (clearSelection): added
171 * insettabular.C (SetFont): now we may set a font on a whole selection!
172 (getSelection): added helper function.
174 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
176 * insetcite.C (Ascii): Add method.
178 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
181 * insetbib.C: fix path for OS/2 & Win32
183 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
185 * insetfoot.C (Latex): don't use % after footnote.
187 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
189 * insettext.C (Read): use clear
190 (SetParagraphData): use LyXParagraph copy constructor instead of clone
192 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
194 * insetfloatlist.h: add a bunch of std:: qualifiers.
196 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
199 FLOAT_LIST_CODE, renumber code list.
201 * insettoc.C (getScreenLabel): remove support for float lists
205 * insetfloatlist.[Ch]: new files
207 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
209 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
211 * insettabular.C (LocalDispatch):
212 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
215 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
217 * insettext.C: remvoe !NEW_INSETS cruft
219 * insettabular.C: remove !NEW_INSETS cruft
221 * insetcollapsable.h: remove !NEW_INSETS cruft
223 * insetbib.C: remove !NEW_INSETS cruft
225 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * insettoc.C: hack to make listof algorithm work
229 2001-04-20 Juergen Vigna <jug@sad.it>
231 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
233 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
235 * insetquotes.C (Latex): improve the guard against
236 unwanted !` and ?` ligatures. This should really be done in
237 another place (to catch all this ligatures at low-level).
239 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * insettext.C (init): remvoe leftovers from cursor_visible change
243 (LocalDispatch): dispatch LFUN_MESSAGE
245 * insettabular.C (InsetTabular): remove leftovers from
246 cursor_visible, and scoped_ptr changes
249 * insetcollapsable.C (draw): use c++ cast
251 * ExternalTemplate.h: inherit privaely from noncopyable
252 * insetcommand.h: ditto
253 * insetinclude.h: ditto
255 2001-04-16 Allan Rae <rae@lyx.org>
257 * insettoc.C (Ascii):
258 * insettext.C (draw):
259 * insettabular.C (setPos):
260 * insetminipage.C (Read):
261 * insetfloat.C (placement):
262 * insetcaption.C (Ascii, DocBook):
263 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
264 an unrecognised preprocessor directive. So ensure they're wrapped.
266 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
269 * insetexternal.C: set view on Clone. Add _ to private members.
271 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * insettext.C (InsetText): fix new
274 (InsetText): reindent some, simplify deletion of par list
275 (clear): simplify deletion of par list, fix new
276 (SetParagraphData): simplify deletion of par list
278 * insettabular.[Ch] (getLabelList): implement new method
280 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * lyxinset.h: do not include gettext.h...
290 * insetlatexaccent.C:
294 * inseturl.C: ... and do it here instead
296 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
298 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
300 * insettext.[Ch] (getLabelList): add std:: on vector<string>
302 * insetcollapsable.[Ch] (getLabelList): implement
304 * insettext.[Ch] (getLabelList): implement
306 * insettext.h: reindent
308 * insettabular.h: make tabular a scoped_ptr
310 * insettext.C (init): adjust for cursor_visible
311 (ToggleInsetCursor): constify asc and desc, font, adjust for
313 (ShowInsetCursor): constify asc and desc, font, adjust for
315 (HideInsetCursor): adjust for cursor_visible
317 * insettabular.C: reindent some
318 (InsetTabular): adjust for scoped_ptr and cursor_visible
319 (InsetTabular): ditto
320 (~InsetTabular): delete delete
321 (Clone): adjust for scoped_ptr
322 (Read): constify old_format, adjust for scoped_ptr, move init of
324 (draw): constify tx, localize loop vars.
325 some other localization of variables, remove double initilizatons.
327 * insetfoot.C: remove using std::ostream, add ostream where needed
329 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
331 * lyxinset.h: some reindentaion, use initializer list for
333 UpdatableInset: make cursor_visible a private var add
334 public isCursorVisible(), add protected toggleCursorVisible() and
335 proctected setCursorVisible(bool), make scroll call the Inset::scroll
337 * insettoc.C: remvoe using decl
338 (getScreenLabel): make cmdname donst
341 (Ascii): don't use endl
343 * insetfootlike.C: remove using decl at file scope and add std::
345 * insetmarginal.C: ditto
347 * insetfoot.C: some reformatting
349 * insetfloat.C (InsetButtonRelease): adjust the hit area
351 * insetert.C (SetFont): some reformatting
353 * insetcollapsable.C: some reformatting and constification
354 (Clone): comment out.
355 * insetcollapsable.h: some reformatting
356 (Clone): comment out.
361 2001-03-30 Juergen Vigna <jug@sad.it>
363 * insetcollapsable.h: changen *inset to be a InsetText inset.
365 * some files: changed to reflect the above change.
367 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
369 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
370 InsetExternal::Params.
371 Added operator==() and operator!=() for the Params struct.
373 2001-03-29 Juergen Vigna <jug@sad.it>
375 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
378 * insetminipage.C: removed widthp_ and all it's functions and changed
379 to use new %-lengths of LyXLength.
381 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
383 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
385 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
387 * insetgraphicsParams.C (operator!=): new function, needed by the
388 ControlGraphics class.
390 2001-03-28 Juergen Vigna <jug@sad.it>
392 * insettext.C (InsetButtonPress): only enter !inset if button == 2
393 (checkAndActivateInset): don't use the values returned from
394 call to bv->checkInsetHit.
396 * insetminipage.C (Clone): set special minipage values.
398 * insetcollapsable.C (draw): changed to draw the button in the
399 upper left corner outside the textinset.
400 (ascent): changed because of different drawing
404 (InsetButtonPress): ditto
405 (InsetButtonRelease): ditto
406 (InsetMotionNotify): ditto
408 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
410 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
414 2001-03-26 Juergen Vigna <jug@sad.it>
416 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
418 * insettext.C (ShowInsetDialog): implemented above function.
420 * insettabular.C (ShowInsetDialog): ditto
422 * insetminipage.C (ShowInsetDialog): ditto
424 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
426 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
427 InsetInclude::Params. Don't store a buffer * in Params. Store the
428 master file name instead.
430 2001-03-23 Juergen Vigna <jug@sad.it>
432 * insetcollapsable.C (InsetMotionNotify):
433 (InsetButtonRelease):
434 (InsetButtonPress): fixed y-offset (minipages).
436 * insettext.C (draw): force a FULL update if cleared == true.
438 * insetcollapsable.C (draw): Lars forgotten entry for changing this
439 routine to draw the minipages on its position-flag.
440 (InsetInInsetY): give back the right y position, because of minipage
443 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
446 * insetfloat.C (DocBook): docbook export code.
448 2001-03-22 Juergen Vigna <jug@sad.it>
450 * insetminipage.C (getMaxWidth): added function to set the drawing
452 (Read): should work now!
454 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
455 if we create a new inset.
457 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
459 * figinset.C (fl_set_preemptive_callback): moved definition outside
462 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
464 * insetminipage.C (Read): prepare for reading of minipage arguments.
466 2001-03-18 Baruch Even <baruch@lyx.org>
468 * insetgraphics.C: Minor cleanups of the comments and code.
470 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
472 * insetminipage.C (InsetMinipage): default to not collapsed
474 2001-03-16 Juergen Vigna <jug@sad.it>
476 * insetminipage.C (width): modified with to be a string
477 (widthp): added widthp (for % width) support functions.
478 (InsetButtonRelease): added to open the options dialog on button==3.
479 (~InsetMinipage): added to hide the dialog.
481 * insetminipage.h: added hideDialog signal
483 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
485 * insetminipage.h: change the order or Position to match
486 LyXParagraph::MINIPAGE_ALIGNMENT
488 * several files: remvoe CXX_WORKING_NAMESPACES
490 * ExternalTemplate.h: noncopyable is in namespace boost
491 * insetinclude.h: ditto
492 * insetcommand.h: ditto
494 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
496 * insettext.C (Edit): #else# -> #else.
497 * insettoc.C: added using directive.
499 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
501 * insetminipage.h: add pos, inner_pos, width and height. + getters
502 and setters for all of them.
504 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
506 * insetinclude.C (Latex): Do not exit when the textclass of the
507 included file differ from the textclass of the parent file.
509 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
511 * ExternalTemplate.C (read): the reading of external insets now checks
512 for \end_inset and removes it form the input stream.
514 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
516 * ExternalTemplate.h:
517 * ExternalTemplate.C:
519 * insetexternal.C: move form to GUII
521 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
524 * insetinclude.C: add InsetIncludeParams, use
525 composition rather than derivation of InsetCommand
527 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
529 * insettoc.C (Ascii): use the Buffer typedefs
531 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
533 * insettoc.C (Ascii): implement for dynamic number of lists
535 * insetcaption.[Ch]: update from new_insets branch
536 * insetfloat.[Ch]: ditto
538 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
541 * figinset.C: use new File Dialog
543 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
545 * insettext.C: changes becuase of ParagraphParameters.
547 2001-02-28 Baruch Even <baruch@ev-en.org>
549 * insetgraphics.C (updateInset): Changed due to the change in
552 2001-02-26 Juergen Vigna <jug@sad.it>
554 * insettext.C (SetFont): Set Undo only if we have selection (as it is
557 2001-02-23 Juergen Vigna <jug@sad.it>
559 * insettext.C (draw): some small repainting fixes.
560 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
562 * inset.C (LocalDispatch): changed action to be a kb_action (as it
563 should be) and not an int.
565 * insettabular.C (LocalDispatch): ditto
567 * insettext.C (LocalDispatch): ditto
569 * insetcollapsable.C (LocalDispatch): ditto
571 2001-02-22 Juergen Vigna <jug@sad.it>
573 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
574 DISPATCH it and we don't have a locking_inset.
576 2001-02-21 Baruch Even <baruch@ev-en.org>
578 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
579 instead of GraphicsCacheItem *.
581 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * insetcollapsable.C (getLyXText): add const qualifier to second
586 2001-02-22 Juergen Vigna <jug@sad.it>
588 * insettext.C (getLyXText): honor the recursive parameter.
589 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
591 * inset.C (getLyXText): added bool recursive parameter.
593 * insettext.C (SetUpdateStatus): or the update codes.
594 (draw): check need_update with &.
595 (InsetButtonPress): set no_selection to not put a selection when
596 entering an inset and it is redraws in another spot.
598 * insettext.h: made need_update an int.
600 2001-02-20 Baruch Even <baruch@ev-en.org>
603 * insetgraphisc.C: Changed to use better semantics when loading images
604 for inline view. Now it doesn't keep the pixmap itself but it's holder.
606 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
610 * insetgraphics.C: change name of "hide" signal to "hideDialog",
611 consistent with InsetTabular.
613 2001-02-19 Juergen Vigna <jug@sad.it>
615 * insettabular.C (LocalDispatch): implement PAGE up/down.
617 * insettext.C (draw): clear all of it on need_update==INIT too!
619 * insettabular.C (InsetUnlock): always clear the selection.
621 * inset.C (scroll): normally we only want to scroll the inset until
622 it is fully visible so if top_x + offset > 20 then just set scx to 0.
624 2001-02-14 Juergen Vigna <jug@sad.it>
626 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
627 (resetPos): fixed scroll behaviour.
628 (LocalDispatch): do an update if moving cursor inside a table cell
629 requests a scroll of the tabular.
631 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
633 * insettext.C (textWidth): constify local var
635 * insettabular.C: small cleanup.
637 * insetfoot.C (Latex): constify local var
639 * insetcollapsable.C: small cleanup.
641 * figinset.C (runqueue): use compare instead of strcmp
643 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
646 * insetinfo.C: remove cruft
648 2001-02-14 Juergen Vigna <jug@sad.it>
650 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
652 2001-02-13 Juergen Vigna <jug@sad.it>
654 * insettext.C (InsertInset): don't move left (is this right?)
656 * insettabular.C (LocalDispatch): use of the no_draw variable
658 * insettabular.h: new no_draw variable to stop redraw
660 * insettabular.C (TabularFeatures): fixed update for alignment change
662 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
666 * insetbib.C: move dialogs to frontends/
668 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
670 * insettext.C (LocalDispatch): Restore the language if the inset
673 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
675 * insettext.C (moveRightIntern): Update the selection cursor.
676 (moveLeftIntern): Ditto.
678 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
680 * Makefile.am: remove BoundingBox.h
682 * BoundingBox.h: removed
684 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
686 * insettext.C (LocalDispatch): Update selection cursor when moving
688 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
689 (moveLeftIntern): Ditto.
691 2001-02-05 Baruch Even <baruch.even@writeme.com>
693 * insetgraphics.C: Updated automatic image conversion, it now goes into
694 temporary directory instead of with the image itself.
696 2001-01-21 Baruch Even <baruch@ev-en.org>
698 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
699 to EPS or PNG when needed (support bitmap graphics).
701 2000-11-02 Baruch Even <baruch@ev-en.org>
704 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
705 and removal of commented out code.
707 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
709 * insetbib.C (callback): Update citations if the key has changed.
711 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
713 * insetbib.C (InsetBibKey): Better computation of default key.
714 (getScreenLabel) Show both the key and the label.
715 (getBibLabel): New method.
716 (callback): Force a redraw if the inset have been changed.
718 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
720 * insetref.C (getType, getName): Move methods from
721 src/frontends/xforms/FormRef.C.
723 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
725 * insettabular.C: Various improvements (use only one dummy position).
727 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
729 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
730 par->bibkey->width. This fixes the crashes when running without
731 gui or when having included documents.
733 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
735 * insetcommand.C (getAsString, setFromString): Cleanup.
737 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
739 * insetref.C: Add the array InsetRef::types that contains
740 information about all supported reference types.
742 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
744 * lyxinset.h: remove trailing comma in enum.
746 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
748 * insettext.C: kill LyXBell.