1 2001-04-20 Juergen Vigna <jug@sad.it>
3 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * insetquotes.C (Latex): improve the guard against
8 unwanted !` and ?` ligatures. This should really be done in
9 another place (to catch all this ligatures at low-level).
11 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * insettext.C (init): remvoe leftovers from cursor_visible change
15 (LocalDispatch): dispatch LFUN_MESSAGE
17 * insettabular.C (InsetTabular): remove leftovers from
18 cursor_visible, and scoped_ptr changes
21 * insetcollapsable.C (draw): use c++ cast
23 * ExternalTemplate.h: inherit privaely from noncopyable
24 * insetcommand.h: ditto
25 * insetinclude.h: ditto
27 2001-04-16 Allan Rae <rae@lyx.org>
31 * insettabular.C (setPos):
32 * insetminipage.C (Read):
33 * insetfloat.C (placement):
34 * insetcaption.C (Ascii, DocBook):
35 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
36 an unrecognised preprocessor directive. So ensure they're wrapped.
38 2001-04-13 Juergen Vigna <jug@sad.it>
40 * insettext.C: tried to avoid unneeded redraws.
41 (doClearArea): return true also if I need a FULL|INIT redraw.
43 * insettabular.C: tried to avoid unneeded redraws. Still one
44 problem with scrolling remains (resetPos).
45 (doClearArea): return true also if I need a FULL|INIT redraw.
47 * lyxinset.h: changed the scroll() function behaviour a bit.
48 Added nodraw() function so that I can block unneeded redraws.
49 Implemented the above 2 functions correctly in InsetText,
50 InsetTabular and InsetCollapsable. Now only the topmost Inset
51 owner is scrolled (as it should be) if a child inset requests this!
53 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
56 * insetexternal.C: set view on Clone. Add _ to private members.
58 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
60 * insettext.C (InsetText): fix new
61 (InsetText): reindent some, simplify deletion of par list
62 (clear): simplify deletion of par list, fix new
63 (SetParagraphData): simplify deletion of par list
65 * insettabular.[Ch] (getLabelList): implement new method
67 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
69 * lyxinset.h: do not include gettext.h...
81 * inseturl.C: ... and do it here instead
83 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
85 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
87 * insettext.[Ch] (getLabelList): add std:: on vector<string>
89 * insetcollapsable.[Ch] (getLabelList): implement
91 * insettext.[Ch] (getLabelList): implement
93 * insettext.h: reindent
95 * insettabular.h: make tabular a scoped_ptr
97 * insettext.C (init): adjust for cursor_visible
98 (ToggleInsetCursor): constify asc and desc, font, adjust for
100 (ShowInsetCursor): constify asc and desc, font, adjust for
102 (HideInsetCursor): adjust for cursor_visible
104 * insettabular.C: reindent some
105 (InsetTabular): adjust for scoped_ptr and cursor_visible
106 (InsetTabular): ditto
107 (~InsetTabular): delete delete
108 (Clone): adjust for scoped_ptr
109 (Read): constify old_format, adjust for scoped_ptr, move init of
111 (draw): constify tx, localize loop vars.
112 some other localization of variables, remove double initilizatons.
114 * insetfoot.C: remove using std::ostream, add ostream where needed
116 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
118 * lyxinset.h: some reindentaion, use initializer list for
120 UpdatableInset: make cursor_visible a private var add
121 public isCursorVisible(), add protected toggleCursorVisible() and
122 proctected setCursorVisible(bool), make scroll call the Inset::scroll
124 * insettoc.C: remvoe using decl
125 (getScreenLabel): make cmdname donst
128 (Ascii): don't use endl
130 * insetfootlike.C: remove using decl at file scope and add std::
132 * insetmarginal.C: ditto
134 * insetfoot.C: some reformatting
136 * insetfloat.C (InsetButtonRelease): adjust the hit area
138 * insetert.C (SetFont): some reformatting
140 * insetcollapsable.C: some reformatting and constification
141 (Clone): comment out.
142 * insetcollapsable.h: some reformatting
143 (Clone): comment out.
148 2001-03-30 Juergen Vigna <jug@sad.it>
150 * insetcollapsable.h: changen *inset to be a InsetText inset.
152 * some files: changed to reflect the above change.
154 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
156 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
157 InsetExternal::Params.
158 Added operator==() and operator!=() for the Params struct.
160 2001-03-29 Juergen Vigna <jug@sad.it>
162 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
165 * insetminipage.C: removed widthp_ and all it's functions and changed
166 to use new %-lengths of LyXLength.
168 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
170 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
172 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
174 * insetgraphicsParams.C (operator!=): new function, needed by the
175 ControlGraphics class.
177 2001-03-28 Juergen Vigna <jug@sad.it>
179 * insettext.C (InsetButtonPress): only enter !inset if button == 2
180 (checkAndActivateInset): don't use the values returned from
181 call to bv->checkInsetHit.
183 * insetminipage.C (Clone): set special minipage values.
185 * insetcollapsable.C (draw): changed to draw the button in the
186 upper left corner outside the textinset.
187 (ascent): changed because of different drawing
191 (InsetButtonPress): ditto
192 (InsetButtonRelease): ditto
193 (InsetMotionNotify): ditto
195 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
197 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
201 2001-03-26 Juergen Vigna <jug@sad.it>
203 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
205 * insettext.C (ShowInsetDialog): implemented above function.
207 * insettabular.C (ShowInsetDialog): ditto
209 * insetminipage.C (ShowInsetDialog): ditto
211 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
213 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
214 InsetInclude::Params. Don't store a buffer * in Params. Store the
215 master file name instead.
217 2001-03-23 Juergen Vigna <jug@sad.it>
219 * insetcollapsable.C (InsetMotionNotify):
220 (InsetButtonRelease):
221 (InsetButtonPress): fixed y-offset (minipages).
223 * insettext.C (draw): force a FULL update if cleared == true.
225 * insetcollapsable.C (draw): Lars forgotten entry for changing this
226 routine to draw the minipages on its position-flag.
227 (InsetInInsetY): give back the right y position, because of minipage
230 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
233 * insetfloat.C (DocBook): docbook export code.
235 2001-03-22 Juergen Vigna <jug@sad.it>
237 * insetminipage.C (getMaxWidth): added function to set the drawing
239 (Read): should work now!
241 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
242 if we create a new inset.
244 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
246 * figinset.C (fl_set_preemptive_callback): moved definition outside
249 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
251 * insetminipage.C (Read): prepare for reading of minipage arguments.
253 2001-03-18 Baruch Even <baruch@lyx.org>
255 * insetgraphics.C: Minor cleanups of the comments and code.
257 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
259 * insetminipage.C (InsetMinipage): default to not collapsed
261 2001-03-16 Juergen Vigna <jug@sad.it>
263 * insetminipage.C (width): modified with to be a string
264 (widthp): added widthp (for % width) support functions.
265 (InsetButtonRelease): added to open the options dialog on button==3.
266 (~InsetMinipage): added to hide the dialog.
268 * insetminipage.h: added hideDialog signal
270 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
272 * insetminipage.h: change the order or Position to match
273 LyXParagraph::MINIPAGE_ALIGNMENT
275 * several files: remvoe CXX_WORKING_NAMESPACES
277 * ExternalTemplate.h: noncopyable is in namespace boost
278 * insetinclude.h: ditto
279 * insetcommand.h: ditto
281 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
283 * insettext.C (Edit): #else# -> #else.
284 * insettoc.C: added using directive.
286 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
288 * insetminipage.h: add pos, inner_pos, width and height. + getters
289 and setters for all of them.
291 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
293 * insetinclude.C (Latex): Do not exit when the textclass of the
294 included file differ from the textclass of the parent file.
296 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
298 * ExternalTemplate.C (read): the reading of external insets now checks
299 for \end_inset and removes it form the input stream.
301 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
303 * ExternalTemplate.h:
304 * ExternalTemplate.C:
306 * insetexternal.C: move form to GUII
308 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
311 * insetinclude.C: add InsetIncludeParams, use
312 composition rather than derivation of InsetCommand
314 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
316 * insettoc.C (Ascii): use the Buffer typedefs
318 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
320 * insettoc.C (Ascii): implement for dynamic number of lists
322 * insetcaption.[Ch]: update from new_insets branch
323 * insetfloat.[Ch]: ditto
325 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
328 * figinset.C: use new File Dialog
330 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
332 * insettext.C: changes becuase of ParagraphParameters.
334 2001-02-28 Baruch Even <baruch@ev-en.org>
336 * insetgraphics.C (updateInset): Changed due to the change in
339 2001-02-26 Juergen Vigna <jug@sad.it>
341 * insettext.C (SetFont): Set Undo only if we have selection (as it is
344 2001-02-23 Juergen Vigna <jug@sad.it>
346 * insettext.C (draw): some small repainting fixes.
347 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
349 * inset.C (LocalDispatch): changed action to be a kb_action (as it
350 should be) and not an int.
352 * insettabular.C (LocalDispatch): ditto
354 * insettext.C (LocalDispatch): ditto
356 * insetcollapsable.C (LocalDispatch): ditto
358 2001-02-22 Juergen Vigna <jug@sad.it>
360 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
361 DISPATCH it and we don't have a locking_inset.
363 2001-02-21 Baruch Even <baruch@ev-en.org>
365 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
366 instead of GraphicsCacheItem *.
368 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
370 * insetcollapsable.C (getLyXText): add const qualifier to second
373 2001-02-22 Juergen Vigna <jug@sad.it>
375 * insettext.C (getLyXText): honor the recursive parameter.
376 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
378 * inset.C (getLyXText): added bool recursive parameter.
380 * insettext.C (SetUpdateStatus): or the update codes.
381 (draw): check need_update with &.
382 (InsetButtonPress): set no_selection to not put a selection when
383 entering an inset and it is redraws in another spot.
385 * insettext.h: made need_update an int.
387 2001-02-20 Baruch Even <baruch@ev-en.org>
390 * insetgraphisc.C: Changed to use better semantics when loading images
391 for inline view. Now it doesn't keep the pixmap itself but it's holder.
393 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
397 * insetgraphics.C: change name of "hide" signal to "hideDialog",
398 consistent with InsetTabular.
400 2001-02-19 Juergen Vigna <jug@sad.it>
402 * insettabular.C (LocalDispatch): implement PAGE up/down.
404 * insettext.C (draw): clear all of it on need_update==INIT too!
406 * insettabular.C (InsetUnlock): always clear the selection.
408 * inset.C (scroll): normally we only want to scroll the inset until
409 it is fully visible so if top_x + offset > 20 then just set scx to 0.
411 2001-02-14 Juergen Vigna <jug@sad.it>
413 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
414 (resetPos): fixed scroll behaviour.
415 (LocalDispatch): do an update if moving cursor inside a table cell
416 requests a scroll of the tabular.
418 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
420 * insettext.C (textWidth): constify local var
422 * insettabular.C: small cleanup.
424 * insetfoot.C (Latex): constify local var
426 * insetcollapsable.C: small cleanup.
428 * figinset.C (runqueue): use compare instead of strcmp
430 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
433 * insetinfo.C: remove cruft
435 2001-02-14 Juergen Vigna <jug@sad.it>
437 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
439 2001-02-13 Juergen Vigna <jug@sad.it>
441 * insettext.C (InsertInset): don't move left (is this right?)
443 * insettabular.C (LocalDispatch): use of the no_draw variable
445 * insettabular.h: new no_draw variable to stop redraw
447 * insettabular.C (TabularFeatures): fixed update for alignment change
449 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
453 * insetbib.C: move dialogs to frontends/
455 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
457 * insettext.C (LocalDispatch): Restore the language if the inset
460 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
462 * insettext.C (moveRightIntern): Update the selection cursor.
463 (moveLeftIntern): Ditto.
465 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
467 * Makefile.am: remove BoundingBox.h
469 * BoundingBox.h: removed
471 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
473 * insettext.C (LocalDispatch): Update selection cursor when moving
475 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
476 (moveLeftIntern): Ditto.
478 2001-02-05 Baruch Even <baruch.even@writeme.com>
480 * insetgraphics.C: Updated automatic image conversion, it now goes into
481 temporary directory instead of with the image itself.
483 2001-01-21 Baruch Even <baruch@ev-en.org>
485 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
486 to EPS or PNG when needed (support bitmap graphics).
488 2000-11-02 Baruch Even <baruch@ev-en.org>
491 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
492 and removal of commented out code.
494 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
496 * insetbib.C (callback): Update citations if the key has changed.
498 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
500 * insetbib.C (InsetBibKey): Better computation of default key.
501 (getScreenLabel) Show both the key and the label.
502 (getBibLabel): New method.
503 (callback): Force a redraw if the inset have been changed.
505 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
507 * insetref.C (getType, getName): Move methods from
508 src/frontends/xforms/FormRef.C.
510 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
512 * insettabular.C: Various improvements (use only one dummy position).
514 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
516 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
517 par->bibkey->width. This fixes the crashes when running without
518 gui or when having included documents.
520 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
522 * insetcommand.C (getAsString, setFromString): Cleanup.
524 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
526 * insetref.C: Add the array InsetRef::types that contains
527 information about all supported reference types.
529 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
531 * lyxinset.h: remove trailing comma in enum.
533 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
535 * insettext.C: kill LyXBell.