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-06 John Levon <moz@compsoc.man.ac.uk>
41 * insetexternal.C: set view on Clone. Add _ to private members.
43 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * insettext.C (InsetText): fix new
46 (InsetText): reindent some, simplify deletion of par list
47 (clear): simplify deletion of par list, fix new
48 (SetParagraphData): simplify deletion of par list
50 * insettabular.[Ch] (getLabelList): implement new method
52 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * lyxinset.h: do not include gettext.h...
66 * inseturl.C: ... and do it here instead
68 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
70 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
72 * insettext.[Ch] (getLabelList): add std:: on vector<string>
74 * insetcollapsable.[Ch] (getLabelList): implement
76 * insettext.[Ch] (getLabelList): implement
78 * insettext.h: reindent
80 * insettabular.h: make tabular a scoped_ptr
82 * insettext.C (init): adjust for cursor_visible
83 (ToggleInsetCursor): constify asc and desc, font, adjust for
85 (ShowInsetCursor): constify asc and desc, font, adjust for
87 (HideInsetCursor): adjust for cursor_visible
89 * insettabular.C: reindent some
90 (InsetTabular): adjust for scoped_ptr and cursor_visible
92 (~InsetTabular): delete delete
93 (Clone): adjust for scoped_ptr
94 (Read): constify old_format, adjust for scoped_ptr, move init of
96 (draw): constify tx, localize loop vars.
97 some other localization of variables, remove double initilizatons.
99 * insetfoot.C: remove using std::ostream, add ostream where needed
101 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * lyxinset.h: some reindentaion, use initializer list for
105 UpdatableInset: make cursor_visible a private var add
106 public isCursorVisible(), add protected toggleCursorVisible() and
107 proctected setCursorVisible(bool), make scroll call the Inset::scroll
109 * insettoc.C: remvoe using decl
110 (getScreenLabel): make cmdname donst
113 (Ascii): don't use endl
115 * insetfootlike.C: remove using decl at file scope and add std::
117 * insetmarginal.C: ditto
119 * insetfoot.C: some reformatting
121 * insetfloat.C (InsetButtonRelease): adjust the hit area
123 * insetert.C (SetFont): some reformatting
125 * insetcollapsable.C: some reformatting and constification
126 (Clone): comment out.
127 * insetcollapsable.h: some reformatting
128 (Clone): comment out.
133 2001-03-30 Juergen Vigna <jug@sad.it>
135 * insetcollapsable.h: changen *inset to be a InsetText inset.
137 * some files: changed to reflect the above change.
139 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
141 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
142 InsetExternal::Params.
143 Added operator==() and operator!=() for the Params struct.
145 2001-03-29 Juergen Vigna <jug@sad.it>
147 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
150 * insetminipage.C: removed widthp_ and all it's functions and changed
151 to use new %-lengths of LyXLength.
153 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
155 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
157 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
159 * insetgraphicsParams.C (operator!=): new function, needed by the
160 ControlGraphics class.
162 2001-03-28 Juergen Vigna <jug@sad.it>
164 * insettext.C (InsetButtonPress): only enter !inset if button == 2
165 (checkAndActivateInset): don't use the values returned from
166 call to bv->checkInsetHit.
168 * insetminipage.C (Clone): set special minipage values.
170 * insetcollapsable.C (draw): changed to draw the button in the
171 upper left corner outside the textinset.
172 (ascent): changed because of different drawing
176 (InsetButtonPress): ditto
177 (InsetButtonRelease): ditto
178 (InsetMotionNotify): ditto
180 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
182 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
186 2001-03-26 Juergen Vigna <jug@sad.it>
188 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
190 * insettext.C (ShowInsetDialog): implemented above function.
192 * insettabular.C (ShowInsetDialog): ditto
194 * insetminipage.C (ShowInsetDialog): ditto
196 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
198 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
199 InsetInclude::Params. Don't store a buffer * in Params. Store the
200 master file name instead.
202 2001-03-23 Juergen Vigna <jug@sad.it>
204 * insetcollapsable.C (InsetMotionNotify):
205 (InsetButtonRelease):
206 (InsetButtonPress): fixed y-offset (minipages).
208 * insettext.C (draw): force a FULL update if cleared == true.
210 * insetcollapsable.C (draw): Lars forgotten entry for changing this
211 routine to draw the minipages on its position-flag.
212 (InsetInInsetY): give back the right y position, because of minipage
215 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
218 * insetfloat.C (DocBook): docbook export code.
220 2001-03-22 Juergen Vigna <jug@sad.it>
222 * insetminipage.C (getMaxWidth): added function to set the drawing
224 (Read): should work now!
226 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
227 if we create a new inset.
229 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
231 * figinset.C (fl_set_preemptive_callback): moved definition outside
234 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
236 * insetminipage.C (Read): prepare for reading of minipage arguments.
238 2001-03-18 Baruch Even <baruch@lyx.org>
240 * insetgraphics.C: Minor cleanups of the comments and code.
242 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
244 * insetminipage.C (InsetMinipage): default to not collapsed
246 2001-03-16 Juergen Vigna <jug@sad.it>
248 * insetminipage.C (width): modified with to be a string
249 (widthp): added widthp (for % width) support functions.
250 (InsetButtonRelease): added to open the options dialog on button==3.
251 (~InsetMinipage): added to hide the dialog.
253 * insetminipage.h: added hideDialog signal
255 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
257 * insetminipage.h: change the order or Position to match
258 LyXParagraph::MINIPAGE_ALIGNMENT
260 * several files: remvoe CXX_WORKING_NAMESPACES
262 * ExternalTemplate.h: noncopyable is in namespace boost
263 * insetinclude.h: ditto
264 * insetcommand.h: ditto
266 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
268 * insettext.C (Edit): #else# -> #else.
269 * insettoc.C: added using directive.
271 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
273 * insetminipage.h: add pos, inner_pos, width and height. + getters
274 and setters for all of them.
276 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
278 * insetinclude.C (Latex): Do not exit when the textclass of the
279 included file differ from the textclass of the parent file.
281 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
283 * ExternalTemplate.C (read): the reading of external insets now checks
284 for \end_inset and removes it form the input stream.
286 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
288 * ExternalTemplate.h:
289 * ExternalTemplate.C:
291 * insetexternal.C: move form to GUII
293 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
296 * insetinclude.C: add InsetIncludeParams, use
297 composition rather than derivation of InsetCommand
299 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
301 * insettoc.C (Ascii): use the Buffer typedefs
303 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
305 * insettoc.C (Ascii): implement for dynamic number of lists
307 * insetcaption.[Ch]: update from new_insets branch
308 * insetfloat.[Ch]: ditto
310 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
313 * figinset.C: use new File Dialog
315 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
317 * insettext.C: changes becuase of ParagraphParameters.
319 2001-02-28 Baruch Even <baruch@ev-en.org>
321 * insetgraphics.C (updateInset): Changed due to the change in
324 2001-02-26 Juergen Vigna <jug@sad.it>
326 * insettext.C (SetFont): Set Undo only if we have selection (as it is
329 2001-02-23 Juergen Vigna <jug@sad.it>
331 * insettext.C (draw): some small repainting fixes.
332 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
334 * inset.C (LocalDispatch): changed action to be a kb_action (as it
335 should be) and not an int.
337 * insettabular.C (LocalDispatch): ditto
339 * insettext.C (LocalDispatch): ditto
341 * insetcollapsable.C (LocalDispatch): ditto
343 2001-02-22 Juergen Vigna <jug@sad.it>
345 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
346 DISPATCH it and we don't have a locking_inset.
348 2001-02-21 Baruch Even <baruch@ev-en.org>
350 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
351 instead of GraphicsCacheItem *.
353 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
355 * insetcollapsable.C (getLyXText): add const qualifier to second
358 2001-02-22 Juergen Vigna <jug@sad.it>
360 * insettext.C (getLyXText): honor the recursive parameter.
361 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
363 * inset.C (getLyXText): added bool recursive parameter.
365 * insettext.C (SetUpdateStatus): or the update codes.
366 (draw): check need_update with &.
367 (InsetButtonPress): set no_selection to not put a selection when
368 entering an inset and it is redraws in another spot.
370 * insettext.h: made need_update an int.
372 2001-02-20 Baruch Even <baruch@ev-en.org>
375 * insetgraphisc.C: Changed to use better semantics when loading images
376 for inline view. Now it doesn't keep the pixmap itself but it's holder.
378 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
382 * insetgraphics.C: change name of "hide" signal to "hideDialog",
383 consistent with InsetTabular.
385 2001-02-19 Juergen Vigna <jug@sad.it>
387 * insettabular.C (LocalDispatch): implement PAGE up/down.
389 * insettext.C (draw): clear all of it on need_update==INIT too!
391 * insettabular.C (InsetUnlock): always clear the selection.
393 * inset.C (scroll): normally we only want to scroll the inset until
394 it is fully visible so if top_x + offset > 20 then just set scx to 0.
396 2001-02-14 Juergen Vigna <jug@sad.it>
398 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
399 (resetPos): fixed scroll behaviour.
400 (LocalDispatch): do an update if moving cursor inside a table cell
401 requests a scroll of the tabular.
403 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
405 * insettext.C (textWidth): constify local var
407 * insettabular.C: small cleanup.
409 * insetfoot.C (Latex): constify local var
411 * insetcollapsable.C: small cleanup.
413 * figinset.C (runqueue): use compare instead of strcmp
415 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
418 * insetinfo.C: remove cruft
420 2001-02-14 Juergen Vigna <jug@sad.it>
422 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
424 2001-02-13 Juergen Vigna <jug@sad.it>
426 * insettext.C (InsertInset): don't move left (is this right?)
428 * insettabular.C (LocalDispatch): use of the no_draw variable
430 * insettabular.h: new no_draw variable to stop redraw
432 * insettabular.C (TabularFeatures): fixed update for alignment change
434 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
438 * insetbib.C: move dialogs to frontends/
440 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
442 * insettext.C (LocalDispatch): Restore the language if the inset
445 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
447 * insettext.C (moveRightIntern): Update the selection cursor.
448 (moveLeftIntern): Ditto.
450 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
452 * Makefile.am: remove BoundingBox.h
454 * BoundingBox.h: removed
456 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
458 * insettext.C (LocalDispatch): Update selection cursor when moving
460 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
461 (moveLeftIntern): Ditto.
463 2001-02-05 Baruch Even <baruch.even@writeme.com>
465 * insetgraphics.C: Updated automatic image conversion, it now goes into
466 temporary directory instead of with the image itself.
468 2001-01-21 Baruch Even <baruch@ev-en.org>
470 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
471 to EPS or PNG when needed (support bitmap graphics).
473 2000-11-02 Baruch Even <baruch@ev-en.org>
476 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
477 and removal of commented out code.
479 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
481 * insetbib.C (callback): Update citations if the key has changed.
483 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
485 * insetbib.C (InsetBibKey): Better computation of default key.
486 (getScreenLabel) Show both the key and the label.
487 (getBibLabel): New method.
488 (callback): Force a redraw if the inset have been changed.
490 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
492 * insetref.C (getType, getName): Move methods from
493 src/frontends/xforms/FormRef.C.
495 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
497 * insettabular.C: Various improvements (use only one dummy position).
499 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
501 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
502 par->bibkey->width. This fixes the crashes when running without
503 gui or when having included documents.
505 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
507 * insetcommand.C (getAsString, setFromString): Cleanup.
509 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
511 * insetref.C: Add the array InsetRef::types that contains
512 information about all supported reference types.
514 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
516 * lyxinset.h: remove trailing comma in enum.
518 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
520 * insettext.C: kill LyXBell.