1 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5 * insetgraphics.[Ch] (statusMessage): change to return string
9 * figinset.C (runqueue): add std::
12 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14 * insetcite.C (Ascii): add std:: qualifier
16 2001-05-28 Juergen Vigna <jug@sad.it>
18 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
19 a endless-width inset (maxWidth < 0).
20 (Edit): change language only if not equal.
22 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
24 * insettext.C (draw): fixed draw/clear of InsetText-Frame
26 2001-05-16 Juergen Vigna <jug@sad.it>
28 * insettext.C (selectAll): added
29 (clearSelection): added
31 * insettabular.C (SetFont): now we may set a font on a whole selection!
32 (getSelection): added helper function.
34 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
36 * insetcite.C (Ascii): Add method.
38 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
41 * insetbib.C: fix path for OS/2 & Win32
43 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * insetfoot.C (Latex): don't use % after footnote.
47 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * insettext.C (Read): use clear
50 (SetParagraphData): use LyXParagraph copy constructor instead of clone
52 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * insetfloatlist.h: add a bunch of std:: qualifiers.
56 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
58 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
59 FLOAT_LIST_CODE, renumber code list.
61 * insettoc.C (getScreenLabel): remove support for float lists
65 * insetfloatlist.[Ch]: new files
67 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
69 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
71 * insettabular.C (LocalDispatch):
72 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
75 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
77 * insettext.C: remvoe !NEW_INSETS cruft
79 * insettabular.C: remove !NEW_INSETS cruft
81 * insetcollapsable.h: remove !NEW_INSETS cruft
83 * insetbib.C: remove !NEW_INSETS cruft
85 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
87 * insettoc.C: hack to make listof algorithm work
89 2001-04-20 Juergen Vigna <jug@sad.it>
91 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
93 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
95 * insetquotes.C (Latex): improve the guard against
96 unwanted !` and ?` ligatures. This should really be done in
97 another place (to catch all this ligatures at low-level).
99 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * insettext.C (init): remvoe leftovers from cursor_visible change
103 (LocalDispatch): dispatch LFUN_MESSAGE
105 * insettabular.C (InsetTabular): remove leftovers from
106 cursor_visible, and scoped_ptr changes
109 * insetcollapsable.C (draw): use c++ cast
111 * ExternalTemplate.h: inherit privaely from noncopyable
112 * insetcommand.h: ditto
113 * insetinclude.h: ditto
115 2001-04-16 Allan Rae <rae@lyx.org>
117 * insettoc.C (Ascii):
118 * insettext.C (draw):
119 * insettabular.C (setPos):
120 * insetminipage.C (Read):
121 * insetfloat.C (placement):
122 * insetcaption.C (Ascii, DocBook):
123 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
124 an unrecognised preprocessor directive. So ensure they're wrapped.
126 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
129 * insetexternal.C: set view on Clone. Add _ to private members.
131 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * insettext.C (InsetText): fix new
134 (InsetText): reindent some, simplify deletion of par list
135 (clear): simplify deletion of par list, fix new
136 (SetParagraphData): simplify deletion of par list
138 * insettabular.[Ch] (getLabelList): implement new method
140 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
142 * lyxinset.h: do not include gettext.h...
150 * insetlatexaccent.C:
154 * inseturl.C: ... and do it here instead
156 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
158 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
160 * insettext.[Ch] (getLabelList): add std:: on vector<string>
162 * insetcollapsable.[Ch] (getLabelList): implement
164 * insettext.[Ch] (getLabelList): implement
166 * insettext.h: reindent
168 * insettabular.h: make tabular a scoped_ptr
170 * insettext.C (init): adjust for cursor_visible
171 (ToggleInsetCursor): constify asc and desc, font, adjust for
173 (ShowInsetCursor): constify asc and desc, font, adjust for
175 (HideInsetCursor): adjust for cursor_visible
177 * insettabular.C: reindent some
178 (InsetTabular): adjust for scoped_ptr and cursor_visible
179 (InsetTabular): ditto
180 (~InsetTabular): delete delete
181 (Clone): adjust for scoped_ptr
182 (Read): constify old_format, adjust for scoped_ptr, move init of
184 (draw): constify tx, localize loop vars.
185 some other localization of variables, remove double initilizatons.
187 * insetfoot.C: remove using std::ostream, add ostream where needed
189 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
191 * lyxinset.h: some reindentaion, use initializer list for
193 UpdatableInset: make cursor_visible a private var add
194 public isCursorVisible(), add protected toggleCursorVisible() and
195 proctected setCursorVisible(bool), make scroll call the Inset::scroll
197 * insettoc.C: remvoe using decl
198 (getScreenLabel): make cmdname donst
201 (Ascii): don't use endl
203 * insetfootlike.C: remove using decl at file scope and add std::
205 * insetmarginal.C: ditto
207 * insetfoot.C: some reformatting
209 * insetfloat.C (InsetButtonRelease): adjust the hit area
211 * insetert.C (SetFont): some reformatting
213 * insetcollapsable.C: some reformatting and constification
214 (Clone): comment out.
215 * insetcollapsable.h: some reformatting
216 (Clone): comment out.
221 2001-03-30 Juergen Vigna <jug@sad.it>
223 * insetcollapsable.h: changen *inset to be a InsetText inset.
225 * some files: changed to reflect the above change.
227 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
229 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
230 InsetExternal::Params.
231 Added operator==() and operator!=() for the Params struct.
233 2001-03-29 Juergen Vigna <jug@sad.it>
235 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
238 * insetminipage.C: removed widthp_ and all it's functions and changed
239 to use new %-lengths of LyXLength.
241 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
243 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
245 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
247 * insetgraphicsParams.C (operator!=): new function, needed by the
248 ControlGraphics class.
250 2001-03-28 Juergen Vigna <jug@sad.it>
252 * insettext.C (InsetButtonPress): only enter !inset if button == 2
253 (checkAndActivateInset): don't use the values returned from
254 call to bv->checkInsetHit.
256 * insetminipage.C (Clone): set special minipage values.
258 * insetcollapsable.C (draw): changed to draw the button in the
259 upper left corner outside the textinset.
260 (ascent): changed because of different drawing
264 (InsetButtonPress): ditto
265 (InsetButtonRelease): ditto
266 (InsetMotionNotify): ditto
268 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
270 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
274 2001-03-26 Juergen Vigna <jug@sad.it>
276 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
278 * insettext.C (ShowInsetDialog): implemented above function.
280 * insettabular.C (ShowInsetDialog): ditto
282 * insetminipage.C (ShowInsetDialog): ditto
284 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
286 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
287 InsetInclude::Params. Don't store a buffer * in Params. Store the
288 master file name instead.
290 2001-03-23 Juergen Vigna <jug@sad.it>
292 * insetcollapsable.C (InsetMotionNotify):
293 (InsetButtonRelease):
294 (InsetButtonPress): fixed y-offset (minipages).
296 * insettext.C (draw): force a FULL update if cleared == true.
298 * insetcollapsable.C (draw): Lars forgotten entry for changing this
299 routine to draw the minipages on its position-flag.
300 (InsetInInsetY): give back the right y position, because of minipage
303 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
306 * insetfloat.C (DocBook): docbook export code.
308 2001-03-22 Juergen Vigna <jug@sad.it>
310 * insetminipage.C (getMaxWidth): added function to set the drawing
312 (Read): should work now!
314 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
315 if we create a new inset.
317 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
319 * figinset.C (fl_set_preemptive_callback): moved definition outside
322 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
324 * insetminipage.C (Read): prepare for reading of minipage arguments.
326 2001-03-18 Baruch Even <baruch@lyx.org>
328 * insetgraphics.C: Minor cleanups of the comments and code.
330 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
332 * insetminipage.C (InsetMinipage): default to not collapsed
334 2001-03-16 Juergen Vigna <jug@sad.it>
336 * insetminipage.C (width): modified with to be a string
337 (widthp): added widthp (for % width) support functions.
338 (InsetButtonRelease): added to open the options dialog on button==3.
339 (~InsetMinipage): added to hide the dialog.
341 * insetminipage.h: added hideDialog signal
343 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
345 * insetminipage.h: change the order or Position to match
346 LyXParagraph::MINIPAGE_ALIGNMENT
348 * several files: remvoe CXX_WORKING_NAMESPACES
350 * ExternalTemplate.h: noncopyable is in namespace boost
351 * insetinclude.h: ditto
352 * insetcommand.h: ditto
354 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
356 * insettext.C (Edit): #else# -> #else.
357 * insettoc.C: added using directive.
359 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
361 * insetminipage.h: add pos, inner_pos, width and height. + getters
362 and setters for all of them.
364 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
366 * insetinclude.C (Latex): Do not exit when the textclass of the
367 included file differ from the textclass of the parent file.
369 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
371 * ExternalTemplate.C (read): the reading of external insets now checks
372 for \end_inset and removes it form the input stream.
374 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
376 * ExternalTemplate.h:
377 * ExternalTemplate.C:
379 * insetexternal.C: move form to GUII
381 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
384 * insetinclude.C: add InsetIncludeParams, use
385 composition rather than derivation of InsetCommand
387 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
389 * insettoc.C (Ascii): use the Buffer typedefs
391 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
393 * insettoc.C (Ascii): implement for dynamic number of lists
395 * insetcaption.[Ch]: update from new_insets branch
396 * insetfloat.[Ch]: ditto
398 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
401 * figinset.C: use new File Dialog
403 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
405 * insettext.C: changes becuase of ParagraphParameters.
407 2001-02-28 Baruch Even <baruch@ev-en.org>
409 * insetgraphics.C (updateInset): Changed due to the change in
412 2001-02-26 Juergen Vigna <jug@sad.it>
414 * insettext.C (SetFont): Set Undo only if we have selection (as it is
417 2001-02-23 Juergen Vigna <jug@sad.it>
419 * insettext.C (draw): some small repainting fixes.
420 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
422 * inset.C (LocalDispatch): changed action to be a kb_action (as it
423 should be) and not an int.
425 * insettabular.C (LocalDispatch): ditto
427 * insettext.C (LocalDispatch): ditto
429 * insetcollapsable.C (LocalDispatch): ditto
431 2001-02-22 Juergen Vigna <jug@sad.it>
433 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
434 DISPATCH it and we don't have a locking_inset.
436 2001-02-21 Baruch Even <baruch@ev-en.org>
438 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
439 instead of GraphicsCacheItem *.
441 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
443 * insetcollapsable.C (getLyXText): add const qualifier to second
446 2001-02-22 Juergen Vigna <jug@sad.it>
448 * insettext.C (getLyXText): honor the recursive parameter.
449 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
451 * inset.C (getLyXText): added bool recursive parameter.
453 * insettext.C (SetUpdateStatus): or the update codes.
454 (draw): check need_update with &.
455 (InsetButtonPress): set no_selection to not put a selection when
456 entering an inset and it is redraws in another spot.
458 * insettext.h: made need_update an int.
460 2001-02-20 Baruch Even <baruch@ev-en.org>
463 * insetgraphisc.C: Changed to use better semantics when loading images
464 for inline view. Now it doesn't keep the pixmap itself but it's holder.
466 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
470 * insetgraphics.C: change name of "hide" signal to "hideDialog",
471 consistent with InsetTabular.
473 2001-02-19 Juergen Vigna <jug@sad.it>
475 * insettabular.C (LocalDispatch): implement PAGE up/down.
477 * insettext.C (draw): clear all of it on need_update==INIT too!
479 * insettabular.C (InsetUnlock): always clear the selection.
481 * inset.C (scroll): normally we only want to scroll the inset until
482 it is fully visible so if top_x + offset > 20 then just set scx to 0.
484 2001-02-14 Juergen Vigna <jug@sad.it>
486 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
487 (resetPos): fixed scroll behaviour.
488 (LocalDispatch): do an update if moving cursor inside a table cell
489 requests a scroll of the tabular.
491 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
493 * insettext.C (textWidth): constify local var
495 * insettabular.C: small cleanup.
497 * insetfoot.C (Latex): constify local var
499 * insetcollapsable.C: small cleanup.
501 * figinset.C (runqueue): use compare instead of strcmp
503 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
506 * insetinfo.C: remove cruft
508 2001-02-14 Juergen Vigna <jug@sad.it>
510 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
512 2001-02-13 Juergen Vigna <jug@sad.it>
514 * insettext.C (InsertInset): don't move left (is this right?)
516 * insettabular.C (LocalDispatch): use of the no_draw variable
518 * insettabular.h: new no_draw variable to stop redraw
520 * insettabular.C (TabularFeatures): fixed update for alignment change
522 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
526 * insetbib.C: move dialogs to frontends/
528 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
530 * insettext.C (LocalDispatch): Restore the language if the inset
533 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
535 * insettext.C (moveRightIntern): Update the selection cursor.
536 (moveLeftIntern): Ditto.
538 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
540 * Makefile.am: remove BoundingBox.h
542 * BoundingBox.h: removed
544 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
546 * insettext.C (LocalDispatch): Update selection cursor when moving
548 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
549 (moveLeftIntern): Ditto.
551 2001-02-05 Baruch Even <baruch.even@writeme.com>
553 * insetgraphics.C: Updated automatic image conversion, it now goes into
554 temporary directory instead of with the image itself.
556 2001-01-21 Baruch Even <baruch@ev-en.org>
558 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
559 to EPS or PNG when needed (support bitmap graphics).
561 2000-11-02 Baruch Even <baruch@ev-en.org>
564 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
565 and removal of commented out code.
567 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
569 * insetbib.C (callback): Update citations if the key has changed.
571 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
573 * insetbib.C (InsetBibKey): Better computation of default key.
574 (getScreenLabel) Show both the key and the label.
575 (getBibLabel): New method.
576 (callback): Force a redraw if the inset have been changed.
578 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
580 * insetref.C (getType, getName): Move methods from
581 src/frontends/xforms/FormRef.C.
583 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
585 * insettabular.C: Various improvements (use only one dummy position).
587 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
589 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
590 par->bibkey->width. This fixes the crashes when running without
591 gui or when having included documents.
593 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
595 * insetcommand.C (getAsString, setFromString): Cleanup.
597 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
599 * insetref.C: Add the array InsetRef::types that contains
600 information about all supported reference types.
602 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
604 * lyxinset.h: remove trailing comma in enum.
606 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
608 * insettext.C: kill LyXBell.