1 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetfloat.C (Write): write out wide info
4 (Read): read the wide info
5 (Latex): use the wide info when creating latex.
9 * insetgraphics.[Ch] (statusMessage): change to return string
13 * figinset.C (runqueue): add std::
16 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18 * insetcite.C (Ascii): add std:: qualifier
20 2001-05-28 Juergen Vigna <jug@sad.it>
22 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
23 a endless-width inset (maxWidth < 0).
24 (Edit): change language only if not equal.
26 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
28 * insettext.C (draw): fixed draw/clear of InsetText-Frame
30 2001-05-16 Juergen Vigna <jug@sad.it>
32 * insettext.C (selectAll): added
33 (clearSelection): added
35 * insettabular.C (SetFont): now we may set a font on a whole selection!
36 (getSelection): added helper function.
38 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
40 * insetcite.C (Ascii): Add method.
42 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
45 * insetbib.C: fix path for OS/2 & Win32
47 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * insetfoot.C (Latex): don't use % after footnote.
51 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
53 * insettext.C (Read): use clear
54 (SetParagraphData): use LyXParagraph copy constructor instead of clone
56 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * insetfloatlist.h: add a bunch of std:: qualifiers.
60 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
62 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
63 FLOAT_LIST_CODE, renumber code list.
65 * insettoc.C (getScreenLabel): remove support for float lists
69 * insetfloatlist.[Ch]: new files
71 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
73 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
75 * insettabular.C (LocalDispatch):
76 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
79 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * insettext.C: remvoe !NEW_INSETS cruft
83 * insettabular.C: remove !NEW_INSETS cruft
85 * insetcollapsable.h: remove !NEW_INSETS cruft
87 * insetbib.C: remove !NEW_INSETS cruft
89 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
91 * insettoc.C: hack to make listof algorithm work
93 2001-04-20 Juergen Vigna <jug@sad.it>
95 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
97 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
99 * insetquotes.C (Latex): improve the guard against
100 unwanted !` and ?` ligatures. This should really be done in
101 another place (to catch all this ligatures at low-level).
103 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
105 * insettext.C (init): remvoe leftovers from cursor_visible change
107 (LocalDispatch): dispatch LFUN_MESSAGE
109 * insettabular.C (InsetTabular): remove leftovers from
110 cursor_visible, and scoped_ptr changes
113 * insetcollapsable.C (draw): use c++ cast
115 * ExternalTemplate.h: inherit privaely from noncopyable
116 * insetcommand.h: ditto
117 * insetinclude.h: ditto
119 2001-04-16 Allan Rae <rae@lyx.org>
121 * insettoc.C (Ascii):
122 * insettext.C (draw):
123 * insettabular.C (setPos):
124 * insetminipage.C (Read):
125 * insetfloat.C (placement):
126 * insetcaption.C (Ascii, DocBook):
127 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
128 an unrecognised preprocessor directive. So ensure they're wrapped.
130 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
133 * insetexternal.C: set view on Clone. Add _ to private members.
135 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
137 * insettext.C (InsetText): fix new
138 (InsetText): reindent some, simplify deletion of par list
139 (clear): simplify deletion of par list, fix new
140 (SetParagraphData): simplify deletion of par list
142 * insettabular.[Ch] (getLabelList): implement new method
144 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
146 * lyxinset.h: do not include gettext.h...
154 * insetlatexaccent.C:
158 * inseturl.C: ... and do it here instead
160 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
162 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
164 * insettext.[Ch] (getLabelList): add std:: on vector<string>
166 * insetcollapsable.[Ch] (getLabelList): implement
168 * insettext.[Ch] (getLabelList): implement
170 * insettext.h: reindent
172 * insettabular.h: make tabular a scoped_ptr
174 * insettext.C (init): adjust for cursor_visible
175 (ToggleInsetCursor): constify asc and desc, font, adjust for
177 (ShowInsetCursor): constify asc and desc, font, adjust for
179 (HideInsetCursor): adjust for cursor_visible
181 * insettabular.C: reindent some
182 (InsetTabular): adjust for scoped_ptr and cursor_visible
183 (InsetTabular): ditto
184 (~InsetTabular): delete delete
185 (Clone): adjust for scoped_ptr
186 (Read): constify old_format, adjust for scoped_ptr, move init of
188 (draw): constify tx, localize loop vars.
189 some other localization of variables, remove double initilizatons.
191 * insetfoot.C: remove using std::ostream, add ostream where needed
193 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
195 * lyxinset.h: some reindentaion, use initializer list for
197 UpdatableInset: make cursor_visible a private var add
198 public isCursorVisible(), add protected toggleCursorVisible() and
199 proctected setCursorVisible(bool), make scroll call the Inset::scroll
201 * insettoc.C: remvoe using decl
202 (getScreenLabel): make cmdname donst
205 (Ascii): don't use endl
207 * insetfootlike.C: remove using decl at file scope and add std::
209 * insetmarginal.C: ditto
211 * insetfoot.C: some reformatting
213 * insetfloat.C (InsetButtonRelease): adjust the hit area
215 * insetert.C (SetFont): some reformatting
217 * insetcollapsable.C: some reformatting and constification
218 (Clone): comment out.
219 * insetcollapsable.h: some reformatting
220 (Clone): comment out.
225 2001-03-30 Juergen Vigna <jug@sad.it>
227 * insetcollapsable.h: changen *inset to be a InsetText inset.
229 * some files: changed to reflect the above change.
231 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
233 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
234 InsetExternal::Params.
235 Added operator==() and operator!=() for the Params struct.
237 2001-03-29 Juergen Vigna <jug@sad.it>
239 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
242 * insetminipage.C: removed widthp_ and all it's functions and changed
243 to use new %-lengths of LyXLength.
245 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
247 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
249 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
251 * insetgraphicsParams.C (operator!=): new function, needed by the
252 ControlGraphics class.
254 2001-03-28 Juergen Vigna <jug@sad.it>
256 * insettext.C (InsetButtonPress): only enter !inset if button == 2
257 (checkAndActivateInset): don't use the values returned from
258 call to bv->checkInsetHit.
260 * insetminipage.C (Clone): set special minipage values.
262 * insetcollapsable.C (draw): changed to draw the button in the
263 upper left corner outside the textinset.
264 (ascent): changed because of different drawing
268 (InsetButtonPress): ditto
269 (InsetButtonRelease): ditto
270 (InsetMotionNotify): ditto
272 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
274 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
278 2001-03-26 Juergen Vigna <jug@sad.it>
280 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
282 * insettext.C (ShowInsetDialog): implemented above function.
284 * insettabular.C (ShowInsetDialog): ditto
286 * insetminipage.C (ShowInsetDialog): ditto
288 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
290 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
291 InsetInclude::Params. Don't store a buffer * in Params. Store the
292 master file name instead.
294 2001-03-23 Juergen Vigna <jug@sad.it>
296 * insetcollapsable.C (InsetMotionNotify):
297 (InsetButtonRelease):
298 (InsetButtonPress): fixed y-offset (minipages).
300 * insettext.C (draw): force a FULL update if cleared == true.
302 * insetcollapsable.C (draw): Lars forgotten entry for changing this
303 routine to draw the minipages on its position-flag.
304 (InsetInInsetY): give back the right y position, because of minipage
307 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
310 * insetfloat.C (DocBook): docbook export code.
312 2001-03-22 Juergen Vigna <jug@sad.it>
314 * insetminipage.C (getMaxWidth): added function to set the drawing
316 (Read): should work now!
318 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
319 if we create a new inset.
321 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
323 * figinset.C (fl_set_preemptive_callback): moved definition outside
326 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
328 * insetminipage.C (Read): prepare for reading of minipage arguments.
330 2001-03-18 Baruch Even <baruch@lyx.org>
332 * insetgraphics.C: Minor cleanups of the comments and code.
334 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
336 * insetminipage.C (InsetMinipage): default to not collapsed
338 2001-03-16 Juergen Vigna <jug@sad.it>
340 * insetminipage.C (width): modified with to be a string
341 (widthp): added widthp (for % width) support functions.
342 (InsetButtonRelease): added to open the options dialog on button==3.
343 (~InsetMinipage): added to hide the dialog.
345 * insetminipage.h: added hideDialog signal
347 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
349 * insetminipage.h: change the order or Position to match
350 LyXParagraph::MINIPAGE_ALIGNMENT
352 * several files: remvoe CXX_WORKING_NAMESPACES
354 * ExternalTemplate.h: noncopyable is in namespace boost
355 * insetinclude.h: ditto
356 * insetcommand.h: ditto
358 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
360 * insettext.C (Edit): #else# -> #else.
361 * insettoc.C: added using directive.
363 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
365 * insetminipage.h: add pos, inner_pos, width and height. + getters
366 and setters for all of them.
368 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
370 * insetinclude.C (Latex): Do not exit when the textclass of the
371 included file differ from the textclass of the parent file.
373 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
375 * ExternalTemplate.C (read): the reading of external insets now checks
376 for \end_inset and removes it form the input stream.
378 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
380 * ExternalTemplate.h:
381 * ExternalTemplate.C:
383 * insetexternal.C: move form to GUII
385 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
388 * insetinclude.C: add InsetIncludeParams, use
389 composition rather than derivation of InsetCommand
391 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
393 * insettoc.C (Ascii): use the Buffer typedefs
395 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
397 * insettoc.C (Ascii): implement for dynamic number of lists
399 * insetcaption.[Ch]: update from new_insets branch
400 * insetfloat.[Ch]: ditto
402 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
405 * figinset.C: use new File Dialog
407 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
409 * insettext.C: changes becuase of ParagraphParameters.
411 2001-02-28 Baruch Even <baruch@ev-en.org>
413 * insetgraphics.C (updateInset): Changed due to the change in
416 2001-02-26 Juergen Vigna <jug@sad.it>
418 * insettext.C (SetFont): Set Undo only if we have selection (as it is
421 2001-02-23 Juergen Vigna <jug@sad.it>
423 * insettext.C (draw): some small repainting fixes.
424 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
426 * inset.C (LocalDispatch): changed action to be a kb_action (as it
427 should be) and not an int.
429 * insettabular.C (LocalDispatch): ditto
431 * insettext.C (LocalDispatch): ditto
433 * insetcollapsable.C (LocalDispatch): ditto
435 2001-02-22 Juergen Vigna <jug@sad.it>
437 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
438 DISPATCH it and we don't have a locking_inset.
440 2001-02-21 Baruch Even <baruch@ev-en.org>
442 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
443 instead of GraphicsCacheItem *.
445 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * insetcollapsable.C (getLyXText): add const qualifier to second
450 2001-02-22 Juergen Vigna <jug@sad.it>
452 * insettext.C (getLyXText): honor the recursive parameter.
453 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
455 * inset.C (getLyXText): added bool recursive parameter.
457 * insettext.C (SetUpdateStatus): or the update codes.
458 (draw): check need_update with &.
459 (InsetButtonPress): set no_selection to not put a selection when
460 entering an inset and it is redraws in another spot.
462 * insettext.h: made need_update an int.
464 2001-02-20 Baruch Even <baruch@ev-en.org>
467 * insetgraphisc.C: Changed to use better semantics when loading images
468 for inline view. Now it doesn't keep the pixmap itself but it's holder.
470 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
474 * insetgraphics.C: change name of "hide" signal to "hideDialog",
475 consistent with InsetTabular.
477 2001-02-19 Juergen Vigna <jug@sad.it>
479 * insettabular.C (LocalDispatch): implement PAGE up/down.
481 * insettext.C (draw): clear all of it on need_update==INIT too!
483 * insettabular.C (InsetUnlock): always clear the selection.
485 * inset.C (scroll): normally we only want to scroll the inset until
486 it is fully visible so if top_x + offset > 20 then just set scx to 0.
488 2001-02-14 Juergen Vigna <jug@sad.it>
490 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
491 (resetPos): fixed scroll behaviour.
492 (LocalDispatch): do an update if moving cursor inside a table cell
493 requests a scroll of the tabular.
495 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
497 * insettext.C (textWidth): constify local var
499 * insettabular.C: small cleanup.
501 * insetfoot.C (Latex): constify local var
503 * insetcollapsable.C: small cleanup.
505 * figinset.C (runqueue): use compare instead of strcmp
507 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
510 * insetinfo.C: remove cruft
512 2001-02-14 Juergen Vigna <jug@sad.it>
514 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
516 2001-02-13 Juergen Vigna <jug@sad.it>
518 * insettext.C (InsertInset): don't move left (is this right?)
520 * insettabular.C (LocalDispatch): use of the no_draw variable
522 * insettabular.h: new no_draw variable to stop redraw
524 * insettabular.C (TabularFeatures): fixed update for alignment change
526 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
530 * insetbib.C: move dialogs to frontends/
532 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
534 * insettext.C (LocalDispatch): Restore the language if the inset
537 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
539 * insettext.C (moveRightIntern): Update the selection cursor.
540 (moveLeftIntern): Ditto.
542 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
544 * Makefile.am: remove BoundingBox.h
546 * BoundingBox.h: removed
548 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
550 * insettext.C (LocalDispatch): Update selection cursor when moving
552 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
553 (moveLeftIntern): Ditto.
555 2001-02-05 Baruch Even <baruch.even@writeme.com>
557 * insetgraphics.C: Updated automatic image conversion, it now goes into
558 temporary directory instead of with the image itself.
560 2001-01-21 Baruch Even <baruch@ev-en.org>
562 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
563 to EPS or PNG when needed (support bitmap graphics).
565 2000-11-02 Baruch Even <baruch@ev-en.org>
568 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
569 and removal of commented out code.
571 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
573 * insetbib.C (callback): Update citations if the key has changed.
575 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
577 * insetbib.C (InsetBibKey): Better computation of default key.
578 (getScreenLabel) Show both the key and the label.
579 (getBibLabel): New method.
580 (callback): Force a redraw if the inset have been changed.
582 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
584 * insetref.C (getType, getName): Move methods from
585 src/frontends/xforms/FormRef.C.
587 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
589 * insettabular.C: Various improvements (use only one dummy position).
591 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
593 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
594 par->bibkey->width. This fixes the crashes when running without
595 gui or when having included documents.
597 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
599 * insetcommand.C (getAsString, setFromString): Cleanup.
601 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
603 * insetref.C: Add the array InsetRef::types that contains
604 information about all supported reference types.
606 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * lyxinset.h: remove trailing comma in enum.
610 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
612 * insettext.C: kill LyXBell.