1 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insettext.C (Read): use clear
4 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 * insetfloatlist.h: add a bunch of std:: qualifiers.
10 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
13 FLOAT_LIST_CODE, renumber code list.
15 * insettoc.C (getScreenLabel): remove support for float lists
19 * insetfloatlist.[Ch]: new files
21 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
23 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
25 * insettabular.C (LocalDispatch):
26 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
29 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * insettext.C: remvoe !NEW_INSETS cruft
33 * insettabular.C: remove !NEW_INSETS cruft
35 * insetcollapsable.h: remove !NEW_INSETS cruft
37 * insetbib.C: remove !NEW_INSETS cruft
39 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * insettoc.C: hack to make listof algorithm work
43 2001-04-20 Juergen Vigna <jug@sad.it>
45 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
47 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
49 * insetquotes.C (Latex): improve the guard against
50 unwanted !` and ?` ligatures. This should really be done in
51 another place (to catch all this ligatures at low-level).
53 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * insettext.C (init): remvoe leftovers from cursor_visible change
57 (LocalDispatch): dispatch LFUN_MESSAGE
59 * insettabular.C (InsetTabular): remove leftovers from
60 cursor_visible, and scoped_ptr changes
63 * insetcollapsable.C (draw): use c++ cast
65 * ExternalTemplate.h: inherit privaely from noncopyable
66 * insetcommand.h: ditto
67 * insetinclude.h: ditto
69 2001-04-16 Allan Rae <rae@lyx.org>
73 * insettabular.C (setPos):
74 * insetminipage.C (Read):
75 * insetfloat.C (placement):
76 * insetcaption.C (Ascii, DocBook):
77 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
78 an unrecognised preprocessor directive. So ensure they're wrapped.
80 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
83 * insetexternal.C: set view on Clone. Add _ to private members.
85 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
87 * insettext.C (InsetText): fix new
88 (InsetText): reindent some, simplify deletion of par list
89 (clear): simplify deletion of par list, fix new
90 (SetParagraphData): simplify deletion of par list
92 * insettabular.[Ch] (getLabelList): implement new method
94 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
96 * lyxinset.h: do not include gettext.h...
104 * insetlatexaccent.C:
108 * inseturl.C: ... and do it here instead
110 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
112 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
114 * insettext.[Ch] (getLabelList): add std:: on vector<string>
116 * insetcollapsable.[Ch] (getLabelList): implement
118 * insettext.[Ch] (getLabelList): implement
120 * insettext.h: reindent
122 * insettabular.h: make tabular a scoped_ptr
124 * insettext.C (init): adjust for cursor_visible
125 (ToggleInsetCursor): constify asc and desc, font, adjust for
127 (ShowInsetCursor): constify asc and desc, font, adjust for
129 (HideInsetCursor): adjust for cursor_visible
131 * insettabular.C: reindent some
132 (InsetTabular): adjust for scoped_ptr and cursor_visible
133 (InsetTabular): ditto
134 (~InsetTabular): delete delete
135 (Clone): adjust for scoped_ptr
136 (Read): constify old_format, adjust for scoped_ptr, move init of
138 (draw): constify tx, localize loop vars.
139 some other localization of variables, remove double initilizatons.
141 * insetfoot.C: remove using std::ostream, add ostream where needed
143 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
145 * lyxinset.h: some reindentaion, use initializer list for
147 UpdatableInset: make cursor_visible a private var add
148 public isCursorVisible(), add protected toggleCursorVisible() and
149 proctected setCursorVisible(bool), make scroll call the Inset::scroll
151 * insettoc.C: remvoe using decl
152 (getScreenLabel): make cmdname donst
155 (Ascii): don't use endl
157 * insetfootlike.C: remove using decl at file scope and add std::
159 * insetmarginal.C: ditto
161 * insetfoot.C: some reformatting
163 * insetfloat.C (InsetButtonRelease): adjust the hit area
165 * insetert.C (SetFont): some reformatting
167 * insetcollapsable.C: some reformatting and constification
168 (Clone): comment out.
169 * insetcollapsable.h: some reformatting
170 (Clone): comment out.
175 2001-03-30 Juergen Vigna <jug@sad.it>
177 * insetcollapsable.h: changen *inset to be a InsetText inset.
179 * some files: changed to reflect the above change.
181 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
183 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
184 InsetExternal::Params.
185 Added operator==() and operator!=() for the Params struct.
187 2001-03-29 Juergen Vigna <jug@sad.it>
189 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
192 * insetminipage.C: removed widthp_ and all it's functions and changed
193 to use new %-lengths of LyXLength.
195 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
197 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
199 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
201 * insetgraphicsParams.C (operator!=): new function, needed by the
202 ControlGraphics class.
204 2001-03-28 Juergen Vigna <jug@sad.it>
206 * insettext.C (InsetButtonPress): only enter !inset if button == 2
207 (checkAndActivateInset): don't use the values returned from
208 call to bv->checkInsetHit.
210 * insetminipage.C (Clone): set special minipage values.
212 * insetcollapsable.C (draw): changed to draw the button in the
213 upper left corner outside the textinset.
214 (ascent): changed because of different drawing
218 (InsetButtonPress): ditto
219 (InsetButtonRelease): ditto
220 (InsetMotionNotify): ditto
222 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
224 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
228 2001-03-26 Juergen Vigna <jug@sad.it>
230 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
232 * insettext.C (ShowInsetDialog): implemented above function.
234 * insettabular.C (ShowInsetDialog): ditto
236 * insetminipage.C (ShowInsetDialog): ditto
238 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
240 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
241 InsetInclude::Params. Don't store a buffer * in Params. Store the
242 master file name instead.
244 2001-03-23 Juergen Vigna <jug@sad.it>
246 * insetcollapsable.C (InsetMotionNotify):
247 (InsetButtonRelease):
248 (InsetButtonPress): fixed y-offset (minipages).
250 * insettext.C (draw): force a FULL update if cleared == true.
252 * insetcollapsable.C (draw): Lars forgotten entry for changing this
253 routine to draw the minipages on its position-flag.
254 (InsetInInsetY): give back the right y position, because of minipage
257 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
260 * insetfloat.C (DocBook): docbook export code.
262 2001-03-22 Juergen Vigna <jug@sad.it>
264 * insetminipage.C (getMaxWidth): added function to set the drawing
266 (Read): should work now!
268 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
269 if we create a new inset.
271 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
273 * figinset.C (fl_set_preemptive_callback): moved definition outside
276 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
278 * insetminipage.C (Read): prepare for reading of minipage arguments.
280 2001-03-18 Baruch Even <baruch@lyx.org>
282 * insetgraphics.C: Minor cleanups of the comments and code.
284 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
286 * insetminipage.C (InsetMinipage): default to not collapsed
288 2001-03-16 Juergen Vigna <jug@sad.it>
290 * insetminipage.C (width): modified with to be a string
291 (widthp): added widthp (for % width) support functions.
292 (InsetButtonRelease): added to open the options dialog on button==3.
293 (~InsetMinipage): added to hide the dialog.
295 * insetminipage.h: added hideDialog signal
297 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
299 * insetminipage.h: change the order or Position to match
300 LyXParagraph::MINIPAGE_ALIGNMENT
302 * several files: remvoe CXX_WORKING_NAMESPACES
304 * ExternalTemplate.h: noncopyable is in namespace boost
305 * insetinclude.h: ditto
306 * insetcommand.h: ditto
308 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
310 * insettext.C (Edit): #else# -> #else.
311 * insettoc.C: added using directive.
313 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
315 * insetminipage.h: add pos, inner_pos, width and height. + getters
316 and setters for all of them.
318 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
320 * insetinclude.C (Latex): Do not exit when the textclass of the
321 included file differ from the textclass of the parent file.
323 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
325 * ExternalTemplate.C (read): the reading of external insets now checks
326 for \end_inset and removes it form the input stream.
328 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
330 * ExternalTemplate.h:
331 * ExternalTemplate.C:
333 * insetexternal.C: move form to GUII
335 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
338 * insetinclude.C: add InsetIncludeParams, use
339 composition rather than derivation of InsetCommand
341 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
343 * insettoc.C (Ascii): use the Buffer typedefs
345 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
347 * insettoc.C (Ascii): implement for dynamic number of lists
349 * insetcaption.[Ch]: update from new_insets branch
350 * insetfloat.[Ch]: ditto
352 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
355 * figinset.C: use new File Dialog
357 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
359 * insettext.C: changes becuase of ParagraphParameters.
361 2001-02-28 Baruch Even <baruch@ev-en.org>
363 * insetgraphics.C (updateInset): Changed due to the change in
366 2001-02-26 Juergen Vigna <jug@sad.it>
368 * insettext.C (SetFont): Set Undo only if we have selection (as it is
371 2001-02-23 Juergen Vigna <jug@sad.it>
373 * insettext.C (draw): some small repainting fixes.
374 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
376 * inset.C (LocalDispatch): changed action to be a kb_action (as it
377 should be) and not an int.
379 * insettabular.C (LocalDispatch): ditto
381 * insettext.C (LocalDispatch): ditto
383 * insetcollapsable.C (LocalDispatch): ditto
385 2001-02-22 Juergen Vigna <jug@sad.it>
387 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
388 DISPATCH it and we don't have a locking_inset.
390 2001-02-21 Baruch Even <baruch@ev-en.org>
392 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
393 instead of GraphicsCacheItem *.
395 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
397 * insetcollapsable.C (getLyXText): add const qualifier to second
400 2001-02-22 Juergen Vigna <jug@sad.it>
402 * insettext.C (getLyXText): honor the recursive parameter.
403 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
405 * inset.C (getLyXText): added bool recursive parameter.
407 * insettext.C (SetUpdateStatus): or the update codes.
408 (draw): check need_update with &.
409 (InsetButtonPress): set no_selection to not put a selection when
410 entering an inset and it is redraws in another spot.
412 * insettext.h: made need_update an int.
414 2001-02-20 Baruch Even <baruch@ev-en.org>
417 * insetgraphisc.C: Changed to use better semantics when loading images
418 for inline view. Now it doesn't keep the pixmap itself but it's holder.
420 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
424 * insetgraphics.C: change name of "hide" signal to "hideDialog",
425 consistent with InsetTabular.
427 2001-02-19 Juergen Vigna <jug@sad.it>
429 * insettabular.C (LocalDispatch): implement PAGE up/down.
431 * insettext.C (draw): clear all of it on need_update==INIT too!
433 * insettabular.C (InsetUnlock): always clear the selection.
435 * inset.C (scroll): normally we only want to scroll the inset until
436 it is fully visible so if top_x + offset > 20 then just set scx to 0.
438 2001-02-14 Juergen Vigna <jug@sad.it>
440 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
441 (resetPos): fixed scroll behaviour.
442 (LocalDispatch): do an update if moving cursor inside a table cell
443 requests a scroll of the tabular.
445 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
447 * insettext.C (textWidth): constify local var
449 * insettabular.C: small cleanup.
451 * insetfoot.C (Latex): constify local var
453 * insetcollapsable.C: small cleanup.
455 * figinset.C (runqueue): use compare instead of strcmp
457 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
460 * insetinfo.C: remove cruft
462 2001-02-14 Juergen Vigna <jug@sad.it>
464 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
466 2001-02-13 Juergen Vigna <jug@sad.it>
468 * insettext.C (InsertInset): don't move left (is this right?)
470 * insettabular.C (LocalDispatch): use of the no_draw variable
472 * insettabular.h: new no_draw variable to stop redraw
474 * insettabular.C (TabularFeatures): fixed update for alignment change
476 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
480 * insetbib.C: move dialogs to frontends/
482 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
484 * insettext.C (LocalDispatch): Restore the language if the inset
487 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
489 * insettext.C (moveRightIntern): Update the selection cursor.
490 (moveLeftIntern): Ditto.
492 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
494 * Makefile.am: remove BoundingBox.h
496 * BoundingBox.h: removed
498 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
500 * insettext.C (LocalDispatch): Update selection cursor when moving
502 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
503 (moveLeftIntern): Ditto.
505 2001-02-05 Baruch Even <baruch.even@writeme.com>
507 * insetgraphics.C: Updated automatic image conversion, it now goes into
508 temporary directory instead of with the image itself.
510 2001-01-21 Baruch Even <baruch@ev-en.org>
512 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
513 to EPS or PNG when needed (support bitmap graphics).
515 2000-11-02 Baruch Even <baruch@ev-en.org>
518 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
519 and removal of commented out code.
521 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
523 * insetbib.C (callback): Update citations if the key has changed.
525 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
527 * insetbib.C (InsetBibKey): Better computation of default key.
528 (getScreenLabel) Show both the key and the label.
529 (getBibLabel): New method.
530 (callback): Force a redraw if the inset have been changed.
532 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
534 * insetref.C (getType, getName): Move methods from
535 src/frontends/xforms/FormRef.C.
537 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
539 * insettabular.C: Various improvements (use only one dummy position).
541 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
543 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
544 par->bibkey->width. This fixes the crashes when running without
545 gui or when having included documents.
547 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
549 * insetcommand.C (getAsString, setFromString): Cleanup.
551 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
553 * insetref.C: Add the array InsetRef::types that contains
554 information about all supported reference types.
556 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
558 * lyxinset.h: remove trailing comma in enum.
560 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
562 * insettext.C: kill LyXBell.