1 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
3 * insettabular.C (LocalDispatch):
4 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * insettext.C: remvoe !NEW_INSETS cruft
11 * insettabular.C: remove !NEW_INSETS cruft
13 * insetcollapsable.h: remove !NEW_INSETS cruft
15 * insetbib.C: remove !NEW_INSETS cruft
17 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
19 * insettoc.C: hack to make listof algorithm work
21 2001-04-20 Juergen Vigna <jug@sad.it>
23 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
25 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
27 * insetquotes.C (Latex): improve the guard against
28 unwanted !` and ?` ligatures. This should really be done in
29 another place (to catch all this ligatures at low-level).
31 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * insettext.C (init): remvoe leftovers from cursor_visible change
35 (LocalDispatch): dispatch LFUN_MESSAGE
37 * insettabular.C (InsetTabular): remove leftovers from
38 cursor_visible, and scoped_ptr changes
41 * insetcollapsable.C (draw): use c++ cast
43 * ExternalTemplate.h: inherit privaely from noncopyable
44 * insetcommand.h: ditto
45 * insetinclude.h: ditto
47 2001-04-16 Allan Rae <rae@lyx.org>
51 * insettabular.C (setPos):
52 * insetminipage.C (Read):
53 * insetfloat.C (placement):
54 * insetcaption.C (Ascii, DocBook):
55 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
56 an unrecognised preprocessor directive. So ensure they're wrapped.
58 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
61 * insetexternal.C: set view on Clone. Add _ to private members.
63 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * insettext.C (InsetText): fix new
66 (InsetText): reindent some, simplify deletion of par list
67 (clear): simplify deletion of par list, fix new
68 (SetParagraphData): simplify deletion of par list
70 * insettabular.[Ch] (getLabelList): implement new method
72 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
74 * lyxinset.h: do not include gettext.h...
86 * inseturl.C: ... and do it here instead
88 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
92 * insettext.[Ch] (getLabelList): add std:: on vector<string>
94 * insetcollapsable.[Ch] (getLabelList): implement
96 * insettext.[Ch] (getLabelList): implement
98 * insettext.h: reindent
100 * insettabular.h: make tabular a scoped_ptr
102 * insettext.C (init): adjust for cursor_visible
103 (ToggleInsetCursor): constify asc and desc, font, adjust for
105 (ShowInsetCursor): constify asc and desc, font, adjust for
107 (HideInsetCursor): adjust for cursor_visible
109 * insettabular.C: reindent some
110 (InsetTabular): adjust for scoped_ptr and cursor_visible
111 (InsetTabular): ditto
112 (~InsetTabular): delete delete
113 (Clone): adjust for scoped_ptr
114 (Read): constify old_format, adjust for scoped_ptr, move init of
116 (draw): constify tx, localize loop vars.
117 some other localization of variables, remove double initilizatons.
119 * insetfoot.C: remove using std::ostream, add ostream where needed
121 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * lyxinset.h: some reindentaion, use initializer list for
125 UpdatableInset: make cursor_visible a private var add
126 public isCursorVisible(), add protected toggleCursorVisible() and
127 proctected setCursorVisible(bool), make scroll call the Inset::scroll
129 * insettoc.C: remvoe using decl
130 (getScreenLabel): make cmdname donst
133 (Ascii): don't use endl
135 * insetfootlike.C: remove using decl at file scope and add std::
137 * insetmarginal.C: ditto
139 * insetfoot.C: some reformatting
141 * insetfloat.C (InsetButtonRelease): adjust the hit area
143 * insetert.C (SetFont): some reformatting
145 * insetcollapsable.C: some reformatting and constification
146 (Clone): comment out.
147 * insetcollapsable.h: some reformatting
148 (Clone): comment out.
153 2001-03-30 Juergen Vigna <jug@sad.it>
155 * insetcollapsable.h: changen *inset to be a InsetText inset.
157 * some files: changed to reflect the above change.
159 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
161 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
162 InsetExternal::Params.
163 Added operator==() and operator!=() for the Params struct.
165 2001-03-29 Juergen Vigna <jug@sad.it>
167 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
170 * insetminipage.C: removed widthp_ and all it's functions and changed
171 to use new %-lengths of LyXLength.
173 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
175 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
177 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
179 * insetgraphicsParams.C (operator!=): new function, needed by the
180 ControlGraphics class.
182 2001-03-28 Juergen Vigna <jug@sad.it>
184 * insettext.C (InsetButtonPress): only enter !inset if button == 2
185 (checkAndActivateInset): don't use the values returned from
186 call to bv->checkInsetHit.
188 * insetminipage.C (Clone): set special minipage values.
190 * insetcollapsable.C (draw): changed to draw the button in the
191 upper left corner outside the textinset.
192 (ascent): changed because of different drawing
196 (InsetButtonPress): ditto
197 (InsetButtonRelease): ditto
198 (InsetMotionNotify): ditto
200 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
202 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
206 2001-03-26 Juergen Vigna <jug@sad.it>
208 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
210 * insettext.C (ShowInsetDialog): implemented above function.
212 * insettabular.C (ShowInsetDialog): ditto
214 * insetminipage.C (ShowInsetDialog): ditto
216 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
218 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
219 InsetInclude::Params. Don't store a buffer * in Params. Store the
220 master file name instead.
222 2001-03-23 Juergen Vigna <jug@sad.it>
224 * insetcollapsable.C (InsetMotionNotify):
225 (InsetButtonRelease):
226 (InsetButtonPress): fixed y-offset (minipages).
228 * insettext.C (draw): force a FULL update if cleared == true.
230 * insetcollapsable.C (draw): Lars forgotten entry for changing this
231 routine to draw the minipages on its position-flag.
232 (InsetInInsetY): give back the right y position, because of minipage
235 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
238 * insetfloat.C (DocBook): docbook export code.
240 2001-03-22 Juergen Vigna <jug@sad.it>
242 * insetminipage.C (getMaxWidth): added function to set the drawing
244 (Read): should work now!
246 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
247 if we create a new inset.
249 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
251 * figinset.C (fl_set_preemptive_callback): moved definition outside
254 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
256 * insetminipage.C (Read): prepare for reading of minipage arguments.
258 2001-03-18 Baruch Even <baruch@lyx.org>
260 * insetgraphics.C: Minor cleanups of the comments and code.
262 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
264 * insetminipage.C (InsetMinipage): default to not collapsed
266 2001-03-16 Juergen Vigna <jug@sad.it>
268 * insetminipage.C (width): modified with to be a string
269 (widthp): added widthp (for % width) support functions.
270 (InsetButtonRelease): added to open the options dialog on button==3.
271 (~InsetMinipage): added to hide the dialog.
273 * insetminipage.h: added hideDialog signal
275 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
277 * insetminipage.h: change the order or Position to match
278 LyXParagraph::MINIPAGE_ALIGNMENT
280 * several files: remvoe CXX_WORKING_NAMESPACES
282 * ExternalTemplate.h: noncopyable is in namespace boost
283 * insetinclude.h: ditto
284 * insetcommand.h: ditto
286 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
288 * insettext.C (Edit): #else# -> #else.
289 * insettoc.C: added using directive.
291 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
293 * insetminipage.h: add pos, inner_pos, width and height. + getters
294 and setters for all of them.
296 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
298 * insetinclude.C (Latex): Do not exit when the textclass of the
299 included file differ from the textclass of the parent file.
301 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
303 * ExternalTemplate.C (read): the reading of external insets now checks
304 for \end_inset and removes it form the input stream.
306 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
308 * ExternalTemplate.h:
309 * ExternalTemplate.C:
311 * insetexternal.C: move form to GUII
313 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
316 * insetinclude.C: add InsetIncludeParams, use
317 composition rather than derivation of InsetCommand
319 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
321 * insettoc.C (Ascii): use the Buffer typedefs
323 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
325 * insettoc.C (Ascii): implement for dynamic number of lists
327 * insetcaption.[Ch]: update from new_insets branch
328 * insetfloat.[Ch]: ditto
330 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
333 * figinset.C: use new File Dialog
335 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
337 * insettext.C: changes becuase of ParagraphParameters.
339 2001-02-28 Baruch Even <baruch@ev-en.org>
341 * insetgraphics.C (updateInset): Changed due to the change in
344 2001-02-26 Juergen Vigna <jug@sad.it>
346 * insettext.C (SetFont): Set Undo only if we have selection (as it is
349 2001-02-23 Juergen Vigna <jug@sad.it>
351 * insettext.C (draw): some small repainting fixes.
352 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
354 * inset.C (LocalDispatch): changed action to be a kb_action (as it
355 should be) and not an int.
357 * insettabular.C (LocalDispatch): ditto
359 * insettext.C (LocalDispatch): ditto
361 * insetcollapsable.C (LocalDispatch): ditto
363 2001-02-22 Juergen Vigna <jug@sad.it>
365 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
366 DISPATCH it and we don't have a locking_inset.
368 2001-02-21 Baruch Even <baruch@ev-en.org>
370 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
371 instead of GraphicsCacheItem *.
373 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
375 * insetcollapsable.C (getLyXText): add const qualifier to second
378 2001-02-22 Juergen Vigna <jug@sad.it>
380 * insettext.C (getLyXText): honor the recursive parameter.
381 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
383 * inset.C (getLyXText): added bool recursive parameter.
385 * insettext.C (SetUpdateStatus): or the update codes.
386 (draw): check need_update with &.
387 (InsetButtonPress): set no_selection to not put a selection when
388 entering an inset and it is redraws in another spot.
390 * insettext.h: made need_update an int.
392 2001-02-20 Baruch Even <baruch@ev-en.org>
395 * insetgraphisc.C: Changed to use better semantics when loading images
396 for inline view. Now it doesn't keep the pixmap itself but it's holder.
398 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
402 * insetgraphics.C: change name of "hide" signal to "hideDialog",
403 consistent with InsetTabular.
405 2001-02-19 Juergen Vigna <jug@sad.it>
407 * insettabular.C (LocalDispatch): implement PAGE up/down.
409 * insettext.C (draw): clear all of it on need_update==INIT too!
411 * insettabular.C (InsetUnlock): always clear the selection.
413 * inset.C (scroll): normally we only want to scroll the inset until
414 it is fully visible so if top_x + offset > 20 then just set scx to 0.
416 2001-02-14 Juergen Vigna <jug@sad.it>
418 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
419 (resetPos): fixed scroll behaviour.
420 (LocalDispatch): do an update if moving cursor inside a table cell
421 requests a scroll of the tabular.
423 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
425 * insettext.C (textWidth): constify local var
427 * insettabular.C: small cleanup.
429 * insetfoot.C (Latex): constify local var
431 * insetcollapsable.C: small cleanup.
433 * figinset.C (runqueue): use compare instead of strcmp
435 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * insetinfo.C: remove cruft
440 2001-02-14 Juergen Vigna <jug@sad.it>
442 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
444 2001-02-13 Juergen Vigna <jug@sad.it>
446 * insettext.C (InsertInset): don't move left (is this right?)
448 * insettabular.C (LocalDispatch): use of the no_draw variable
450 * insettabular.h: new no_draw variable to stop redraw
452 * insettabular.C (TabularFeatures): fixed update for alignment change
454 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
458 * insetbib.C: move dialogs to frontends/
460 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
462 * insettext.C (LocalDispatch): Restore the language if the inset
465 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
467 * insettext.C (moveRightIntern): Update the selection cursor.
468 (moveLeftIntern): Ditto.
470 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
472 * Makefile.am: remove BoundingBox.h
474 * BoundingBox.h: removed
476 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
478 * insettext.C (LocalDispatch): Update selection cursor when moving
480 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
481 (moveLeftIntern): Ditto.
483 2001-02-05 Baruch Even <baruch.even@writeme.com>
485 * insetgraphics.C: Updated automatic image conversion, it now goes into
486 temporary directory instead of with the image itself.
488 2001-01-21 Baruch Even <baruch@ev-en.org>
490 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
491 to EPS or PNG when needed (support bitmap graphics).
493 2000-11-02 Baruch Even <baruch@ev-en.org>
496 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
497 and removal of commented out code.
499 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
501 * insetbib.C (callback): Update citations if the key has changed.
503 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
505 * insetbib.C (InsetBibKey): Better computation of default key.
506 (getScreenLabel) Show both the key and the label.
507 (getBibLabel): New method.
508 (callback): Force a redraw if the inset have been changed.
510 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
512 * insetref.C (getType, getName): Move methods from
513 src/frontends/xforms/FormRef.C.
515 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
517 * insettabular.C: Various improvements (use only one dummy position).
519 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
521 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
522 par->bibkey->width. This fixes the crashes when running without
523 gui or when having included documents.
525 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
527 * insetcommand.C (getAsString, setFromString): Cleanup.
529 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
531 * insetref.C: Add the array InsetRef::types that contains
532 information about all supported reference types.
534 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
536 * lyxinset.h: remove trailing comma in enum.
538 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
540 * insettext.C: kill LyXBell.