1 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4 FLOAT_LIST_CODE, renumber code list.
6 * insettoc.C (getScreenLabel): remove support for float lists
10 * insetfloatlist.[Ch]: new files
12 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
14 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
16 * insettabular.C (LocalDispatch):
17 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
20 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * insettext.C: remvoe !NEW_INSETS cruft
24 * insettabular.C: remove !NEW_INSETS cruft
26 * insetcollapsable.h: remove !NEW_INSETS cruft
28 * insetbib.C: remove !NEW_INSETS cruft
30 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * insettoc.C: hack to make listof algorithm work
34 2001-04-20 Juergen Vigna <jug@sad.it>
36 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
38 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
40 * insetquotes.C (Latex): improve the guard against
41 unwanted !` and ?` ligatures. This should really be done in
42 another place (to catch all this ligatures at low-level).
44 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * insettext.C (init): remvoe leftovers from cursor_visible change
48 (LocalDispatch): dispatch LFUN_MESSAGE
50 * insettabular.C (InsetTabular): remove leftovers from
51 cursor_visible, and scoped_ptr changes
54 * insetcollapsable.C (draw): use c++ cast
56 * ExternalTemplate.h: inherit privaely from noncopyable
57 * insetcommand.h: ditto
58 * insetinclude.h: ditto
60 2001-04-16 Allan Rae <rae@lyx.org>
64 * insettabular.C (setPos):
65 * insetminipage.C (Read):
66 * insetfloat.C (placement):
67 * insetcaption.C (Ascii, DocBook):
68 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
69 an unrecognised preprocessor directive. So ensure they're wrapped.
71 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
74 * insetexternal.C: set view on Clone. Add _ to private members.
76 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * insettext.C (InsetText): fix new
79 (InsetText): reindent some, simplify deletion of par list
80 (clear): simplify deletion of par list, fix new
81 (SetParagraphData): simplify deletion of par list
83 * insettabular.[Ch] (getLabelList): implement new method
85 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
87 * lyxinset.h: do not include gettext.h...
99 * inseturl.C: ... and do it here instead
101 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
105 * insettext.[Ch] (getLabelList): add std:: on vector<string>
107 * insetcollapsable.[Ch] (getLabelList): implement
109 * insettext.[Ch] (getLabelList): implement
111 * insettext.h: reindent
113 * insettabular.h: make tabular a scoped_ptr
115 * insettext.C (init): adjust for cursor_visible
116 (ToggleInsetCursor): constify asc and desc, font, adjust for
118 (ShowInsetCursor): constify asc and desc, font, adjust for
120 (HideInsetCursor): adjust for cursor_visible
122 * insettabular.C: reindent some
123 (InsetTabular): adjust for scoped_ptr and cursor_visible
124 (InsetTabular): ditto
125 (~InsetTabular): delete delete
126 (Clone): adjust for scoped_ptr
127 (Read): constify old_format, adjust for scoped_ptr, move init of
129 (draw): constify tx, localize loop vars.
130 some other localization of variables, remove double initilizatons.
132 * insetfoot.C: remove using std::ostream, add ostream where needed
134 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * lyxinset.h: some reindentaion, use initializer list for
138 UpdatableInset: make cursor_visible a private var add
139 public isCursorVisible(), add protected toggleCursorVisible() and
140 proctected setCursorVisible(bool), make scroll call the Inset::scroll
142 * insettoc.C: remvoe using decl
143 (getScreenLabel): make cmdname donst
146 (Ascii): don't use endl
148 * insetfootlike.C: remove using decl at file scope and add std::
150 * insetmarginal.C: ditto
152 * insetfoot.C: some reformatting
154 * insetfloat.C (InsetButtonRelease): adjust the hit area
156 * insetert.C (SetFont): some reformatting
158 * insetcollapsable.C: some reformatting and constification
159 (Clone): comment out.
160 * insetcollapsable.h: some reformatting
161 (Clone): comment out.
166 2001-03-30 Juergen Vigna <jug@sad.it>
168 * insetcollapsable.h: changen *inset to be a InsetText inset.
170 * some files: changed to reflect the above change.
172 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
174 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
175 InsetExternal::Params.
176 Added operator==() and operator!=() for the Params struct.
178 2001-03-29 Juergen Vigna <jug@sad.it>
180 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
183 * insetminipage.C: removed widthp_ and all it's functions and changed
184 to use new %-lengths of LyXLength.
186 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
188 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
190 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
192 * insetgraphicsParams.C (operator!=): new function, needed by the
193 ControlGraphics class.
195 2001-03-28 Juergen Vigna <jug@sad.it>
197 * insettext.C (InsetButtonPress): only enter !inset if button == 2
198 (checkAndActivateInset): don't use the values returned from
199 call to bv->checkInsetHit.
201 * insetminipage.C (Clone): set special minipage values.
203 * insetcollapsable.C (draw): changed to draw the button in the
204 upper left corner outside the textinset.
205 (ascent): changed because of different drawing
209 (InsetButtonPress): ditto
210 (InsetButtonRelease): ditto
211 (InsetMotionNotify): ditto
213 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
215 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
219 2001-03-26 Juergen Vigna <jug@sad.it>
221 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
223 * insettext.C (ShowInsetDialog): implemented above function.
225 * insettabular.C (ShowInsetDialog): ditto
227 * insetminipage.C (ShowInsetDialog): ditto
229 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
231 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
232 InsetInclude::Params. Don't store a buffer * in Params. Store the
233 master file name instead.
235 2001-03-23 Juergen Vigna <jug@sad.it>
237 * insetcollapsable.C (InsetMotionNotify):
238 (InsetButtonRelease):
239 (InsetButtonPress): fixed y-offset (minipages).
241 * insettext.C (draw): force a FULL update if cleared == true.
243 * insetcollapsable.C (draw): Lars forgotten entry for changing this
244 routine to draw the minipages on its position-flag.
245 (InsetInInsetY): give back the right y position, because of minipage
248 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
251 * insetfloat.C (DocBook): docbook export code.
253 2001-03-22 Juergen Vigna <jug@sad.it>
255 * insetminipage.C (getMaxWidth): added function to set the drawing
257 (Read): should work now!
259 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
260 if we create a new inset.
262 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
264 * figinset.C (fl_set_preemptive_callback): moved definition outside
267 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
269 * insetminipage.C (Read): prepare for reading of minipage arguments.
271 2001-03-18 Baruch Even <baruch@lyx.org>
273 * insetgraphics.C: Minor cleanups of the comments and code.
275 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
277 * insetminipage.C (InsetMinipage): default to not collapsed
279 2001-03-16 Juergen Vigna <jug@sad.it>
281 * insetminipage.C (width): modified with to be a string
282 (widthp): added widthp (for % width) support functions.
283 (InsetButtonRelease): added to open the options dialog on button==3.
284 (~InsetMinipage): added to hide the dialog.
286 * insetminipage.h: added hideDialog signal
288 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
290 * insetminipage.h: change the order or Position to match
291 LyXParagraph::MINIPAGE_ALIGNMENT
293 * several files: remvoe CXX_WORKING_NAMESPACES
295 * ExternalTemplate.h: noncopyable is in namespace boost
296 * insetinclude.h: ditto
297 * insetcommand.h: ditto
299 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
301 * insettext.C (Edit): #else# -> #else.
302 * insettoc.C: added using directive.
304 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
306 * insetminipage.h: add pos, inner_pos, width and height. + getters
307 and setters for all of them.
309 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
311 * insetinclude.C (Latex): Do not exit when the textclass of the
312 included file differ from the textclass of the parent file.
314 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
316 * ExternalTemplate.C (read): the reading of external insets now checks
317 for \end_inset and removes it form the input stream.
319 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
321 * ExternalTemplate.h:
322 * ExternalTemplate.C:
324 * insetexternal.C: move form to GUII
326 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
329 * insetinclude.C: add InsetIncludeParams, use
330 composition rather than derivation of InsetCommand
332 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
334 * insettoc.C (Ascii): use the Buffer typedefs
336 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
338 * insettoc.C (Ascii): implement for dynamic number of lists
340 * insetcaption.[Ch]: update from new_insets branch
341 * insetfloat.[Ch]: ditto
343 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
346 * figinset.C: use new File Dialog
348 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
350 * insettext.C: changes becuase of ParagraphParameters.
352 2001-02-28 Baruch Even <baruch@ev-en.org>
354 * insetgraphics.C (updateInset): Changed due to the change in
357 2001-02-26 Juergen Vigna <jug@sad.it>
359 * insettext.C (SetFont): Set Undo only if we have selection (as it is
362 2001-02-23 Juergen Vigna <jug@sad.it>
364 * insettext.C (draw): some small repainting fixes.
365 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
367 * inset.C (LocalDispatch): changed action to be a kb_action (as it
368 should be) and not an int.
370 * insettabular.C (LocalDispatch): ditto
372 * insettext.C (LocalDispatch): ditto
374 * insetcollapsable.C (LocalDispatch): ditto
376 2001-02-22 Juergen Vigna <jug@sad.it>
378 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
379 DISPATCH it and we don't have a locking_inset.
381 2001-02-21 Baruch Even <baruch@ev-en.org>
383 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
384 instead of GraphicsCacheItem *.
386 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
388 * insetcollapsable.C (getLyXText): add const qualifier to second
391 2001-02-22 Juergen Vigna <jug@sad.it>
393 * insettext.C (getLyXText): honor the recursive parameter.
394 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
396 * inset.C (getLyXText): added bool recursive parameter.
398 * insettext.C (SetUpdateStatus): or the update codes.
399 (draw): check need_update with &.
400 (InsetButtonPress): set no_selection to not put a selection when
401 entering an inset and it is redraws in another spot.
403 * insettext.h: made need_update an int.
405 2001-02-20 Baruch Even <baruch@ev-en.org>
408 * insetgraphisc.C: Changed to use better semantics when loading images
409 for inline view. Now it doesn't keep the pixmap itself but it's holder.
411 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
415 * insetgraphics.C: change name of "hide" signal to "hideDialog",
416 consistent with InsetTabular.
418 2001-02-19 Juergen Vigna <jug@sad.it>
420 * insettabular.C (LocalDispatch): implement PAGE up/down.
422 * insettext.C (draw): clear all of it on need_update==INIT too!
424 * insettabular.C (InsetUnlock): always clear the selection.
426 * inset.C (scroll): normally we only want to scroll the inset until
427 it is fully visible so if top_x + offset > 20 then just set scx to 0.
429 2001-02-14 Juergen Vigna <jug@sad.it>
431 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
432 (resetPos): fixed scroll behaviour.
433 (LocalDispatch): do an update if moving cursor inside a table cell
434 requests a scroll of the tabular.
436 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * insettext.C (textWidth): constify local var
440 * insettabular.C: small cleanup.
442 * insetfoot.C (Latex): constify local var
444 * insetcollapsable.C: small cleanup.
446 * figinset.C (runqueue): use compare instead of strcmp
448 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
451 * insetinfo.C: remove cruft
453 2001-02-14 Juergen Vigna <jug@sad.it>
455 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
457 2001-02-13 Juergen Vigna <jug@sad.it>
459 * insettext.C (InsertInset): don't move left (is this right?)
461 * insettabular.C (LocalDispatch): use of the no_draw variable
463 * insettabular.h: new no_draw variable to stop redraw
465 * insettabular.C (TabularFeatures): fixed update for alignment change
467 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
471 * insetbib.C: move dialogs to frontends/
473 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
475 * insettext.C (LocalDispatch): Restore the language if the inset
478 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
480 * insettext.C (moveRightIntern): Update the selection cursor.
481 (moveLeftIntern): Ditto.
483 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
485 * Makefile.am: remove BoundingBox.h
487 * BoundingBox.h: removed
489 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
491 * insettext.C (LocalDispatch): Update selection cursor when moving
493 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
494 (moveLeftIntern): Ditto.
496 2001-02-05 Baruch Even <baruch.even@writeme.com>
498 * insetgraphics.C: Updated automatic image conversion, it now goes into
499 temporary directory instead of with the image itself.
501 2001-01-21 Baruch Even <baruch@ev-en.org>
503 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
504 to EPS or PNG when needed (support bitmap graphics).
506 2000-11-02 Baruch Even <baruch@ev-en.org>
509 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
510 and removal of commented out code.
512 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
514 * insetbib.C (callback): Update citations if the key has changed.
516 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
518 * insetbib.C (InsetBibKey): Better computation of default key.
519 (getScreenLabel) Show both the key and the label.
520 (getBibLabel): New method.
521 (callback): Force a redraw if the inset have been changed.
523 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
525 * insetref.C (getType, getName): Move methods from
526 src/frontends/xforms/FormRef.C.
528 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
530 * insettabular.C: Various improvements (use only one dummy position).
532 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
534 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
535 par->bibkey->width. This fixes the crashes when running without
536 gui or when having included documents.
538 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
540 * insetcommand.C (getAsString, setFromString): Cleanup.
542 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
544 * insetref.C: Add the array InsetRef::types that contains
545 information about all supported reference types.
547 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
549 * lyxinset.h: remove trailing comma in enum.
551 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
553 * insettext.C: kill LyXBell.