1 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insetquotes.C (Latex): improve the guard against
4 unwanted !` and ?` ligatures. This should really be done in
5 another place (to catch all this ligatures at low-level).
7 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * insettext.C (init): remvoe leftovers from cursor_visible change
11 (LocalDispatch): dispatch LFUN_MESSAGE
13 * insettabular.C (InsetTabular): remove leftovers from
14 cursor_visible, and scoped_ptr changes
17 * insetcollapsable.C (draw): use c++ cast
19 * ExternalTemplate.h: inherit privaely from noncopyable
20 * insetcommand.h: ditto
21 * insetinclude.h: ditto
23 2001-04-16 Allan Rae <rae@lyx.org>
27 * insettabular.C (setPos):
28 * insetminipage.C (Read):
29 * insetfloat.C (placement):
30 * insetcaption.C (Ascii, DocBook):
31 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
32 an unrecognised preprocessor directive. So ensure they're wrapped.
34 2001-04-13 Juergen Vigna <jug@sad.it>
36 * insettext.C: tried to avoid unneeded redraws.
37 (doClearArea): return true also if I need a FULL|INIT redraw.
39 * insettabular.C: tried to avoid unneeded redraws. Still one
40 problem with scrolling remains (resetPos).
41 (doClearArea): return true also if I need a FULL|INIT redraw.
43 * lyxinset.h: changed the scroll() function behaviour a bit.
44 Added nodraw() function so that I can block unneeded redraws.
45 Implemented the above 2 functions correctly in InsetText,
46 InsetTabular and InsetCollapsable. Now only the topmost Inset
47 owner is scrolled (as it should be) if a child inset requests this!
49 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
52 * insetexternal.C: set view on Clone. Add _ to private members.
54 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
56 * insettext.C (InsetText): fix new
57 (InsetText): reindent some, simplify deletion of par list
58 (clear): simplify deletion of par list, fix new
59 (SetParagraphData): simplify deletion of par list
61 * insettabular.[Ch] (getLabelList): implement new method
63 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
65 * lyxinset.h: do not include gettext.h...
77 * inseturl.C: ... and do it here instead
79 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
83 * insettext.[Ch] (getLabelList): add std:: on vector<string>
85 * insetcollapsable.[Ch] (getLabelList): implement
87 * insettext.[Ch] (getLabelList): implement
89 * insettext.h: reindent
91 * insettabular.h: make tabular a scoped_ptr
93 * insettext.C (init): adjust for cursor_visible
94 (ToggleInsetCursor): constify asc and desc, font, adjust for
96 (ShowInsetCursor): constify asc and desc, font, adjust for
98 (HideInsetCursor): adjust for cursor_visible
100 * insettabular.C: reindent some
101 (InsetTabular): adjust for scoped_ptr and cursor_visible
102 (InsetTabular): ditto
103 (~InsetTabular): delete delete
104 (Clone): adjust for scoped_ptr
105 (Read): constify old_format, adjust for scoped_ptr, move init of
107 (draw): constify tx, localize loop vars.
108 some other localization of variables, remove double initilizatons.
110 * insetfoot.C: remove using std::ostream, add ostream where needed
112 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
114 * lyxinset.h: some reindentaion, use initializer list for
116 UpdatableInset: make cursor_visible a private var add
117 public isCursorVisible(), add protected toggleCursorVisible() and
118 proctected setCursorVisible(bool), make scroll call the Inset::scroll
120 * insettoc.C: remvoe using decl
121 (getScreenLabel): make cmdname donst
124 (Ascii): don't use endl
126 * insetfootlike.C: remove using decl at file scope and add std::
128 * insetmarginal.C: ditto
130 * insetfoot.C: some reformatting
132 * insetfloat.C (InsetButtonRelease): adjust the hit area
134 * insetert.C (SetFont): some reformatting
136 * insetcollapsable.C: some reformatting and constification
137 (Clone): comment out.
138 * insetcollapsable.h: some reformatting
139 (Clone): comment out.
144 2001-03-30 Juergen Vigna <jug@sad.it>
146 * insetcollapsable.h: changen *inset to be a InsetText inset.
148 * some files: changed to reflect the above change.
150 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
152 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
153 InsetExternal::Params.
154 Added operator==() and operator!=() for the Params struct.
156 2001-03-29 Juergen Vigna <jug@sad.it>
158 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
161 * insetminipage.C: removed widthp_ and all it's functions and changed
162 to use new %-lengths of LyXLength.
164 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
166 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
168 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
170 * insetgraphicsParams.C (operator!=): new function, needed by the
171 ControlGraphics class.
173 2001-03-28 Juergen Vigna <jug@sad.it>
175 * insettext.C (InsetButtonPress): only enter !inset if button == 2
176 (checkAndActivateInset): don't use the values returned from
177 call to bv->checkInsetHit.
179 * insetminipage.C (Clone): set special minipage values.
181 * insetcollapsable.C (draw): changed to draw the button in the
182 upper left corner outside the textinset.
183 (ascent): changed because of different drawing
187 (InsetButtonPress): ditto
188 (InsetButtonRelease): ditto
189 (InsetMotionNotify): ditto
191 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
193 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
197 2001-03-26 Juergen Vigna <jug@sad.it>
199 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
201 * insettext.C (ShowInsetDialog): implemented above function.
203 * insettabular.C (ShowInsetDialog): ditto
205 * insetminipage.C (ShowInsetDialog): ditto
207 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
209 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
210 InsetInclude::Params. Don't store a buffer * in Params. Store the
211 master file name instead.
213 2001-03-23 Juergen Vigna <jug@sad.it>
215 * insetcollapsable.C (InsetMotionNotify):
216 (InsetButtonRelease):
217 (InsetButtonPress): fixed y-offset (minipages).
219 * insettext.C (draw): force a FULL update if cleared == true.
221 * insetcollapsable.C (draw): Lars forgotten entry for changing this
222 routine to draw the minipages on its position-flag.
223 (InsetInInsetY): give back the right y position, because of minipage
226 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
229 * insetfloat.C (DocBook): docbook export code.
231 2001-03-22 Juergen Vigna <jug@sad.it>
233 * insetminipage.C (getMaxWidth): added function to set the drawing
235 (Read): should work now!
237 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
238 if we create a new inset.
240 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
242 * figinset.C (fl_set_preemptive_callback): moved definition outside
245 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
247 * insetminipage.C (Read): prepare for reading of minipage arguments.
249 2001-03-18 Baruch Even <baruch@lyx.org>
251 * insetgraphics.C: Minor cleanups of the comments and code.
253 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
255 * insetminipage.C (InsetMinipage): default to not collapsed
257 2001-03-16 Juergen Vigna <jug@sad.it>
259 * insetminipage.C (width): modified with to be a string
260 (widthp): added widthp (for % width) support functions.
261 (InsetButtonRelease): added to open the options dialog on button==3.
262 (~InsetMinipage): added to hide the dialog.
264 * insetminipage.h: added hideDialog signal
266 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
268 * insetminipage.h: change the order or Position to match
269 LyXParagraph::MINIPAGE_ALIGNMENT
271 * several files: remvoe CXX_WORKING_NAMESPACES
273 * ExternalTemplate.h: noncopyable is in namespace boost
274 * insetinclude.h: ditto
275 * insetcommand.h: ditto
277 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
279 * insettext.C (Edit): #else# -> #else.
280 * insettoc.C: added using directive.
282 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
284 * insetminipage.h: add pos, inner_pos, width and height. + getters
285 and setters for all of them.
287 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
289 * insetinclude.C (Latex): Do not exit when the textclass of the
290 included file differ from the textclass of the parent file.
292 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
294 * ExternalTemplate.C (read): the reading of external insets now checks
295 for \end_inset and removes it form the input stream.
297 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
299 * ExternalTemplate.h:
300 * ExternalTemplate.C:
302 * insetexternal.C: move form to GUII
304 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
307 * insetinclude.C: add InsetIncludeParams, use
308 composition rather than derivation of InsetCommand
310 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
312 * insettoc.C (Ascii): use the Buffer typedefs
314 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
316 * insettoc.C (Ascii): implement for dynamic number of lists
318 * insetcaption.[Ch]: update from new_insets branch
319 * insetfloat.[Ch]: ditto
321 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
324 * figinset.C: use new File Dialog
326 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
328 * insettext.C: changes becuase of ParagraphParameters.
330 2001-02-28 Baruch Even <baruch@ev-en.org>
332 * insetgraphics.C (updateInset): Changed due to the change in
335 2001-02-26 Juergen Vigna <jug@sad.it>
337 * insettext.C (SetFont): Set Undo only if we have selection (as it is
340 2001-02-23 Juergen Vigna <jug@sad.it>
342 * insettext.C (draw): some small repainting fixes.
343 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
345 * inset.C (LocalDispatch): changed action to be a kb_action (as it
346 should be) and not an int.
348 * insettabular.C (LocalDispatch): ditto
350 * insettext.C (LocalDispatch): ditto
352 * insetcollapsable.C (LocalDispatch): ditto
354 2001-02-22 Juergen Vigna <jug@sad.it>
356 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
357 DISPATCH it and we don't have a locking_inset.
359 2001-02-21 Baruch Even <baruch@ev-en.org>
361 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
362 instead of GraphicsCacheItem *.
364 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
366 * insetcollapsable.C (getLyXText): add const qualifier to second
369 2001-02-22 Juergen Vigna <jug@sad.it>
371 * insettext.C (getLyXText): honor the recursive parameter.
372 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
374 * inset.C (getLyXText): added bool recursive parameter.
376 * insettext.C (SetUpdateStatus): or the update codes.
377 (draw): check need_update with &.
378 (InsetButtonPress): set no_selection to not put a selection when
379 entering an inset and it is redraws in another spot.
381 * insettext.h: made need_update an int.
383 2001-02-20 Baruch Even <baruch@ev-en.org>
386 * insetgraphisc.C: Changed to use better semantics when loading images
387 for inline view. Now it doesn't keep the pixmap itself but it's holder.
389 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
393 * insetgraphics.C: change name of "hide" signal to "hideDialog",
394 consistent with InsetTabular.
396 2001-02-19 Juergen Vigna <jug@sad.it>
398 * insettabular.C (LocalDispatch): implement PAGE up/down.
400 * insettext.C (draw): clear all of it on need_update==INIT too!
402 * insettabular.C (InsetUnlock): always clear the selection.
404 * inset.C (scroll): normally we only want to scroll the inset until
405 it is fully visible so if top_x + offset > 20 then just set scx to 0.
407 2001-02-14 Juergen Vigna <jug@sad.it>
409 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
410 (resetPos): fixed scroll behaviour.
411 (LocalDispatch): do an update if moving cursor inside a table cell
412 requests a scroll of the tabular.
414 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
416 * insettext.C (textWidth): constify local var
418 * insettabular.C: small cleanup.
420 * insetfoot.C (Latex): constify local var
422 * insetcollapsable.C: small cleanup.
424 * figinset.C (runqueue): use compare instead of strcmp
426 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
429 * insetinfo.C: remove cruft
431 2001-02-14 Juergen Vigna <jug@sad.it>
433 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
435 2001-02-13 Juergen Vigna <jug@sad.it>
437 * insettext.C (InsertInset): don't move left (is this right?)
439 * insettabular.C (LocalDispatch): use of the no_draw variable
441 * insettabular.h: new no_draw variable to stop redraw
443 * insettabular.C (TabularFeatures): fixed update for alignment change
445 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
449 * insetbib.C: move dialogs to frontends/
451 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
453 * insettext.C (LocalDispatch): Restore the language if the inset
456 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
458 * insettext.C (moveRightIntern): Update the selection cursor.
459 (moveLeftIntern): Ditto.
461 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
463 * Makefile.am: remove BoundingBox.h
465 * BoundingBox.h: removed
467 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
469 * insettext.C (LocalDispatch): Update selection cursor when moving
471 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
472 (moveLeftIntern): Ditto.
474 2001-02-05 Baruch Even <baruch.even@writeme.com>
476 * insetgraphics.C: Updated automatic image conversion, it now goes into
477 temporary directory instead of with the image itself.
479 2001-01-21 Baruch Even <baruch@ev-en.org>
481 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
482 to EPS or PNG when needed (support bitmap graphics).
484 2000-11-02 Baruch Even <baruch@ev-en.org>
487 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
488 and removal of commented out code.
490 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
492 * insetbib.C (callback): Update citations if the key has changed.
494 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
496 * insetbib.C (InsetBibKey): Better computation of default key.
497 (getScreenLabel) Show both the key and the label.
498 (getBibLabel): New method.
499 (callback): Force a redraw if the inset have been changed.
501 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
503 * insetref.C (getType, getName): Move methods from
504 src/frontends/xforms/FormRef.C.
506 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
508 * insettabular.C: Various improvements (use only one dummy position).
510 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
512 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
513 par->bibkey->width. This fixes the crashes when running without
514 gui or when having included documents.
516 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
518 * insetcommand.C (getAsString, setFromString): Cleanup.
520 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
522 * insetref.C: Add the array InsetRef::types that contains
523 information about all supported reference types.
525 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * lyxinset.h: remove trailing comma in enum.
529 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
531 * insettext.C: kill LyXBell.