1 2001-04-16 Allan Rae <rae@lyx.org>
5 * insettabular.C (setPos):
6 * insetminipage.C (Read):
7 * insetfloat.C (placement):
8 * insetcaption.C (Ascii, DocBook):
9 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
10 an unrecognised preprocessor directive. So ensure they're wrapped.
12 2001-04-13 Juergen Vigna <jug@sad.it>
14 * insettext.C: tried to avoid unneeded redraws.
15 (doClearArea): return true also if I need a FULL|INIT redraw.
17 * insettabular.C: tried to avoid unneeded redraws. Still one
18 problem with scrolling remains (resetPos).
19 (doClearArea): return true also if I need a FULL|INIT redraw.
21 * lyxinset.h: changed the scroll() function behaviour a bit.
22 Added nodraw() function so that I can block unneeded redraws.
23 Implemented the above 2 functions correctly in InsetText,
24 InsetTabular and InsetCollapsable. Now only the topmost Inset
25 owner is scrolled (as it should be) if a child inset requests this!
27 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
30 * insetexternal.C: set view on Clone. Add _ to private members.
32 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * insettext.C (InsetText): fix new
35 (InsetText): reindent some, simplify deletion of par list
36 (clear): simplify deletion of par list, fix new
37 (SetParagraphData): simplify deletion of par list
39 * insettabular.[Ch] (getLabelList): implement new method
41 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
43 * lyxinset.h: do not include gettext.h...
55 * inseturl.C: ... and do it here instead
57 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
61 * insettext.[Ch] (getLabelList): add std:: on vector<string>
63 * insetcollapsable.[Ch] (getLabelList): implement
65 * insettext.[Ch] (getLabelList): implement
67 * insettext.h: reindent
69 * insettabular.h: make tabular a scoped_ptr
71 * insettext.C (init): adjust for cursor_visible
72 (ToggleInsetCursor): constify asc and desc, font, adjust for
74 (ShowInsetCursor): constify asc and desc, font, adjust for
76 (HideInsetCursor): adjust for cursor_visible
78 * insettabular.C: reindent some
79 (InsetTabular): adjust for scoped_ptr and cursor_visible
81 (~InsetTabular): delete delete
82 (Clone): adjust for scoped_ptr
83 (Read): constify old_format, adjust for scoped_ptr, move init of
85 (draw): constify tx, localize loop vars.
86 some other localization of variables, remove double initilizatons.
88 * insetfoot.C: remove using std::ostream, add ostream where needed
90 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * lyxinset.h: some reindentaion, use initializer list for
94 UpdatableInset: make cursor_visible a private var add
95 public isCursorVisible(), add protected toggleCursorVisible() and
96 proctected setCursorVisible(bool), make scroll call the Inset::scroll
98 * insettoc.C: remvoe using decl
99 (getScreenLabel): make cmdname donst
102 (Ascii): don't use endl
104 * insetfootlike.C: remove using decl at file scope and add std::
106 * insetmarginal.C: ditto
108 * insetfoot.C: some reformatting
110 * insetfloat.C (InsetButtonRelease): adjust the hit area
112 * insetert.C (SetFont): some reformatting
114 * insetcollapsable.C: some reformatting and constification
115 (Clone): comment out.
116 * insetcollapsable.h: some reformatting
117 (Clone): comment out.
122 2001-03-30 Juergen Vigna <jug@sad.it>
124 * insetcollapsable.h: changen *inset to be a InsetText inset.
126 * some files: changed to reflect the above change.
128 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
130 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
131 InsetExternal::Params.
132 Added operator==() and operator!=() for the Params struct.
134 2001-03-29 Juergen Vigna <jug@sad.it>
136 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
139 * insetminipage.C: removed widthp_ and all it's functions and changed
140 to use new %-lengths of LyXLength.
142 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
144 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
146 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
148 * insetgraphicsParams.C (operator!=): new function, needed by the
149 ControlGraphics class.
151 2001-03-28 Juergen Vigna <jug@sad.it>
153 * insettext.C (InsetButtonPress): only enter !inset if button == 2
154 (checkAndActivateInset): don't use the values returned from
155 call to bv->checkInsetHit.
157 * insetminipage.C (Clone): set special minipage values.
159 * insetcollapsable.C (draw): changed to draw the button in the
160 upper left corner outside the textinset.
161 (ascent): changed because of different drawing
165 (InsetButtonPress): ditto
166 (InsetButtonRelease): ditto
167 (InsetMotionNotify): ditto
169 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
171 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
175 2001-03-26 Juergen Vigna <jug@sad.it>
177 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
179 * insettext.C (ShowInsetDialog): implemented above function.
181 * insettabular.C (ShowInsetDialog): ditto
183 * insetminipage.C (ShowInsetDialog): ditto
185 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
187 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
188 InsetInclude::Params. Don't store a buffer * in Params. Store the
189 master file name instead.
191 2001-03-23 Juergen Vigna <jug@sad.it>
193 * insetcollapsable.C (InsetMotionNotify):
194 (InsetButtonRelease):
195 (InsetButtonPress): fixed y-offset (minipages).
197 * insettext.C (draw): force a FULL update if cleared == true.
199 * insetcollapsable.C (draw): Lars forgotten entry for changing this
200 routine to draw the minipages on its position-flag.
201 (InsetInInsetY): give back the right y position, because of minipage
204 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
207 * insetfloat.C (DocBook): docbook export code.
209 2001-03-22 Juergen Vigna <jug@sad.it>
211 * insetminipage.C (getMaxWidth): added function to set the drawing
213 (Read): should work now!
215 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
216 if we create a new inset.
218 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
220 * figinset.C (fl_set_preemptive_callback): moved definition outside
223 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
225 * insetminipage.C (Read): prepare for reading of minipage arguments.
227 2001-03-18 Baruch Even <baruch@lyx.org>
229 * insetgraphics.C: Minor cleanups of the comments and code.
231 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
233 * insetminipage.C (InsetMinipage): default to not collapsed
235 2001-03-16 Juergen Vigna <jug@sad.it>
237 * insetminipage.C (width): modified with to be a string
238 (widthp): added widthp (for % width) support functions.
239 (InsetButtonRelease): added to open the options dialog on button==3.
240 (~InsetMinipage): added to hide the dialog.
242 * insetminipage.h: added hideDialog signal
244 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
246 * insetminipage.h: change the order or Position to match
247 LyXParagraph::MINIPAGE_ALIGNMENT
249 * several files: remvoe CXX_WORKING_NAMESPACES
251 * ExternalTemplate.h: noncopyable is in namespace boost
252 * insetinclude.h: ditto
253 * insetcommand.h: ditto
255 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
257 * insettext.C (Edit): #else# -> #else.
258 * insettoc.C: added using directive.
260 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
262 * insetminipage.h: add pos, inner_pos, width and height. + getters
263 and setters for all of them.
265 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
267 * insetinclude.C (Latex): Do not exit when the textclass of the
268 included file differ from the textclass of the parent file.
270 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
272 * ExternalTemplate.C (read): the reading of external insets now checks
273 for \end_inset and removes it form the input stream.
275 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
277 * ExternalTemplate.h:
278 * ExternalTemplate.C:
280 * insetexternal.C: move form to GUII
282 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
285 * insetinclude.C: add InsetIncludeParams, use
286 composition rather than derivation of InsetCommand
288 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
290 * insettoc.C (Ascii): use the Buffer typedefs
292 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
294 * insettoc.C (Ascii): implement for dynamic number of lists
296 * insetcaption.[Ch]: update from new_insets branch
297 * insetfloat.[Ch]: ditto
299 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
302 * figinset.C: use new File Dialog
304 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
306 * insettext.C: changes becuase of ParagraphParameters.
308 2001-02-28 Baruch Even <baruch@ev-en.org>
310 * insetgraphics.C (updateInset): Changed due to the change in
313 2001-02-26 Juergen Vigna <jug@sad.it>
315 * insettext.C (SetFont): Set Undo only if we have selection (as it is
318 2001-02-23 Juergen Vigna <jug@sad.it>
320 * insettext.C (draw): some small repainting fixes.
321 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
323 * inset.C (LocalDispatch): changed action to be a kb_action (as it
324 should be) and not an int.
326 * insettabular.C (LocalDispatch): ditto
328 * insettext.C (LocalDispatch): ditto
330 * insetcollapsable.C (LocalDispatch): ditto
332 2001-02-22 Juergen Vigna <jug@sad.it>
334 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
335 DISPATCH it and we don't have a locking_inset.
337 2001-02-21 Baruch Even <baruch@ev-en.org>
339 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
340 instead of GraphicsCacheItem *.
342 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * insetcollapsable.C (getLyXText): add const qualifier to second
347 2001-02-22 Juergen Vigna <jug@sad.it>
349 * insettext.C (getLyXText): honor the recursive parameter.
350 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
352 * inset.C (getLyXText): added bool recursive parameter.
354 * insettext.C (SetUpdateStatus): or the update codes.
355 (draw): check need_update with &.
356 (InsetButtonPress): set no_selection to not put a selection when
357 entering an inset and it is redraws in another spot.
359 * insettext.h: made need_update an int.
361 2001-02-20 Baruch Even <baruch@ev-en.org>
364 * insetgraphisc.C: Changed to use better semantics when loading images
365 for inline view. Now it doesn't keep the pixmap itself but it's holder.
367 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
371 * insetgraphics.C: change name of "hide" signal to "hideDialog",
372 consistent with InsetTabular.
374 2001-02-19 Juergen Vigna <jug@sad.it>
376 * insettabular.C (LocalDispatch): implement PAGE up/down.
378 * insettext.C (draw): clear all of it on need_update==INIT too!
380 * insettabular.C (InsetUnlock): always clear the selection.
382 * inset.C (scroll): normally we only want to scroll the inset until
383 it is fully visible so if top_x + offset > 20 then just set scx to 0.
385 2001-02-14 Juergen Vigna <jug@sad.it>
387 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
388 (resetPos): fixed scroll behaviour.
389 (LocalDispatch): do an update if moving cursor inside a table cell
390 requests a scroll of the tabular.
392 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
394 * insettext.C (textWidth): constify local var
396 * insettabular.C: small cleanup.
398 * insetfoot.C (Latex): constify local var
400 * insetcollapsable.C: small cleanup.
402 * figinset.C (runqueue): use compare instead of strcmp
404 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
407 * insetinfo.C: remove cruft
409 2001-02-14 Juergen Vigna <jug@sad.it>
411 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
413 2001-02-13 Juergen Vigna <jug@sad.it>
415 * insettext.C (InsertInset): don't move left (is this right?)
417 * insettabular.C (LocalDispatch): use of the no_draw variable
419 * insettabular.h: new no_draw variable to stop redraw
421 * insettabular.C (TabularFeatures): fixed update for alignment change
423 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
427 * insetbib.C: move dialogs to frontends/
429 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
431 * insettext.C (LocalDispatch): Restore the language if the inset
434 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
436 * insettext.C (moveRightIntern): Update the selection cursor.
437 (moveLeftIntern): Ditto.
439 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
441 * Makefile.am: remove BoundingBox.h
443 * BoundingBox.h: removed
445 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
447 * insettext.C (LocalDispatch): Update selection cursor when moving
449 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
450 (moveLeftIntern): Ditto.
452 2001-02-05 Baruch Even <baruch.even@writeme.com>
454 * insetgraphics.C: Updated automatic image conversion, it now goes into
455 temporary directory instead of with the image itself.
457 2001-01-21 Baruch Even <baruch@ev-en.org>
459 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
460 to EPS or PNG when needed (support bitmap graphics).
462 2000-11-02 Baruch Even <baruch@ev-en.org>
465 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
466 and removal of commented out code.
468 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
470 * insetbib.C (callback): Update citations if the key has changed.
472 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
474 * insetbib.C (InsetBibKey): Better computation of default key.
475 (getScreenLabel) Show both the key and the label.
476 (getBibLabel): New method.
477 (callback): Force a redraw if the inset have been changed.
479 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
481 * insetref.C (getType, getName): Move methods from
482 src/frontends/xforms/FormRef.C.
484 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
486 * insettabular.C: Various improvements (use only one dummy position).
488 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
490 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
491 par->bibkey->width. This fixes the crashes when running without
492 gui or when having included documents.
494 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
496 * insetcommand.C (getAsString, setFromString): Cleanup.
498 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
500 * insetref.C: Add the array InsetRef::types that contains
501 information about all supported reference types.
503 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
505 * lyxinset.h: remove trailing comma in enum.
507 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
509 * insettext.C: kill LyXBell.