1 2001-05-28 Juergen Vigna <jug@sad.it>
3 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4 a endless-width inset (maxWidth < 0).
5 (Edit): change language only if not equal.
7 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
9 * insettext.C (draw): fixed draw/clear of InsetText-Frame
11 2001-05-16 Juergen Vigna <jug@sad.it>
13 * insettext.C (selectAll): added
14 (clearSelection): added
16 * insettabular.C (SetFont): now we may set a font on a whole selection!
17 (getSelection): added helper function.
19 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
21 * insetcite.C (Ascii): Add method.
23 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
26 * insetbib.C: fix path for OS/2 & Win32
28 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * insetfoot.C (Latex): don't use % after footnote.
32 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * insettext.C (Read): use clear
35 (SetParagraphData): use LyXParagraph copy constructor instead of clone
37 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
39 * insetfloatlist.h: add a bunch of std:: qualifiers.
41 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
44 FLOAT_LIST_CODE, renumber code list.
46 * insettoc.C (getScreenLabel): remove support for float lists
50 * insetfloatlist.[Ch]: new files
52 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
54 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
56 * insettabular.C (LocalDispatch):
57 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
60 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
62 * insettext.C: remvoe !NEW_INSETS cruft
64 * insettabular.C: remove !NEW_INSETS cruft
66 * insetcollapsable.h: remove !NEW_INSETS cruft
68 * insetbib.C: remove !NEW_INSETS cruft
70 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * insettoc.C: hack to make listof algorithm work
74 2001-04-20 Juergen Vigna <jug@sad.it>
76 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
78 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * insetquotes.C (Latex): improve the guard against
81 unwanted !` and ?` ligatures. This should really be done in
82 another place (to catch all this ligatures at low-level).
84 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
86 * insettext.C (init): remvoe leftovers from cursor_visible change
88 (LocalDispatch): dispatch LFUN_MESSAGE
90 * insettabular.C (InsetTabular): remove leftovers from
91 cursor_visible, and scoped_ptr changes
94 * insetcollapsable.C (draw): use c++ cast
96 * ExternalTemplate.h: inherit privaely from noncopyable
97 * insetcommand.h: ditto
98 * insetinclude.h: ditto
100 2001-04-16 Allan Rae <rae@lyx.org>
102 * insettoc.C (Ascii):
103 * insettext.C (draw):
104 * insettabular.C (setPos):
105 * insetminipage.C (Read):
106 * insetfloat.C (placement):
107 * insetcaption.C (Ascii, DocBook):
108 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
109 an unrecognised preprocessor directive. So ensure they're wrapped.
111 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
114 * insetexternal.C: set view on Clone. Add _ to private members.
116 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
118 * insettext.C (InsetText): fix new
119 (InsetText): reindent some, simplify deletion of par list
120 (clear): simplify deletion of par list, fix new
121 (SetParagraphData): simplify deletion of par list
123 * insettabular.[Ch] (getLabelList): implement new method
125 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
127 * lyxinset.h: do not include gettext.h...
135 * insetlatexaccent.C:
139 * inseturl.C: ... and do it here instead
141 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
145 * insettext.[Ch] (getLabelList): add std:: on vector<string>
147 * insetcollapsable.[Ch] (getLabelList): implement
149 * insettext.[Ch] (getLabelList): implement
151 * insettext.h: reindent
153 * insettabular.h: make tabular a scoped_ptr
155 * insettext.C (init): adjust for cursor_visible
156 (ToggleInsetCursor): constify asc and desc, font, adjust for
158 (ShowInsetCursor): constify asc and desc, font, adjust for
160 (HideInsetCursor): adjust for cursor_visible
162 * insettabular.C: reindent some
163 (InsetTabular): adjust for scoped_ptr and cursor_visible
164 (InsetTabular): ditto
165 (~InsetTabular): delete delete
166 (Clone): adjust for scoped_ptr
167 (Read): constify old_format, adjust for scoped_ptr, move init of
169 (draw): constify tx, localize loop vars.
170 some other localization of variables, remove double initilizatons.
172 * insetfoot.C: remove using std::ostream, add ostream where needed
174 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * lyxinset.h: some reindentaion, use initializer list for
178 UpdatableInset: make cursor_visible a private var add
179 public isCursorVisible(), add protected toggleCursorVisible() and
180 proctected setCursorVisible(bool), make scroll call the Inset::scroll
182 * insettoc.C: remvoe using decl
183 (getScreenLabel): make cmdname donst
186 (Ascii): don't use endl
188 * insetfootlike.C: remove using decl at file scope and add std::
190 * insetmarginal.C: ditto
192 * insetfoot.C: some reformatting
194 * insetfloat.C (InsetButtonRelease): adjust the hit area
196 * insetert.C (SetFont): some reformatting
198 * insetcollapsable.C: some reformatting and constification
199 (Clone): comment out.
200 * insetcollapsable.h: some reformatting
201 (Clone): comment out.
206 2001-03-30 Juergen Vigna <jug@sad.it>
208 * insetcollapsable.h: changen *inset to be a InsetText inset.
210 * some files: changed to reflect the above change.
212 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
214 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
215 InsetExternal::Params.
216 Added operator==() and operator!=() for the Params struct.
218 2001-03-29 Juergen Vigna <jug@sad.it>
220 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
223 * insetminipage.C: removed widthp_ and all it's functions and changed
224 to use new %-lengths of LyXLength.
226 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
228 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
230 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
232 * insetgraphicsParams.C (operator!=): new function, needed by the
233 ControlGraphics class.
235 2001-03-28 Juergen Vigna <jug@sad.it>
237 * insettext.C (InsetButtonPress): only enter !inset if button == 2
238 (checkAndActivateInset): don't use the values returned from
239 call to bv->checkInsetHit.
241 * insetminipage.C (Clone): set special minipage values.
243 * insetcollapsable.C (draw): changed to draw the button in the
244 upper left corner outside the textinset.
245 (ascent): changed because of different drawing
249 (InsetButtonPress): ditto
250 (InsetButtonRelease): ditto
251 (InsetMotionNotify): ditto
253 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
255 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
259 2001-03-26 Juergen Vigna <jug@sad.it>
261 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
263 * insettext.C (ShowInsetDialog): implemented above function.
265 * insettabular.C (ShowInsetDialog): ditto
267 * insetminipage.C (ShowInsetDialog): ditto
269 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
271 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
272 InsetInclude::Params. Don't store a buffer * in Params. Store the
273 master file name instead.
275 2001-03-23 Juergen Vigna <jug@sad.it>
277 * insetcollapsable.C (InsetMotionNotify):
278 (InsetButtonRelease):
279 (InsetButtonPress): fixed y-offset (minipages).
281 * insettext.C (draw): force a FULL update if cleared == true.
283 * insetcollapsable.C (draw): Lars forgotten entry for changing this
284 routine to draw the minipages on its position-flag.
285 (InsetInInsetY): give back the right y position, because of minipage
288 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
291 * insetfloat.C (DocBook): docbook export code.
293 2001-03-22 Juergen Vigna <jug@sad.it>
295 * insetminipage.C (getMaxWidth): added function to set the drawing
297 (Read): should work now!
299 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
300 if we create a new inset.
302 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
304 * figinset.C (fl_set_preemptive_callback): moved definition outside
307 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
309 * insetminipage.C (Read): prepare for reading of minipage arguments.
311 2001-03-18 Baruch Even <baruch@lyx.org>
313 * insetgraphics.C: Minor cleanups of the comments and code.
315 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
317 * insetminipage.C (InsetMinipage): default to not collapsed
319 2001-03-16 Juergen Vigna <jug@sad.it>
321 * insetminipage.C (width): modified with to be a string
322 (widthp): added widthp (for % width) support functions.
323 (InsetButtonRelease): added to open the options dialog on button==3.
324 (~InsetMinipage): added to hide the dialog.
326 * insetminipage.h: added hideDialog signal
328 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
330 * insetminipage.h: change the order or Position to match
331 LyXParagraph::MINIPAGE_ALIGNMENT
333 * several files: remvoe CXX_WORKING_NAMESPACES
335 * ExternalTemplate.h: noncopyable is in namespace boost
336 * insetinclude.h: ditto
337 * insetcommand.h: ditto
339 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
341 * insettext.C (Edit): #else# -> #else.
342 * insettoc.C: added using directive.
344 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
346 * insetminipage.h: add pos, inner_pos, width and height. + getters
347 and setters for all of them.
349 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
351 * insetinclude.C (Latex): Do not exit when the textclass of the
352 included file differ from the textclass of the parent file.
354 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
356 * ExternalTemplate.C (read): the reading of external insets now checks
357 for \end_inset and removes it form the input stream.
359 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
361 * ExternalTemplate.h:
362 * ExternalTemplate.C:
364 * insetexternal.C: move form to GUII
366 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
369 * insetinclude.C: add InsetIncludeParams, use
370 composition rather than derivation of InsetCommand
372 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
374 * insettoc.C (Ascii): use the Buffer typedefs
376 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
378 * insettoc.C (Ascii): implement for dynamic number of lists
380 * insetcaption.[Ch]: update from new_insets branch
381 * insetfloat.[Ch]: ditto
383 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
386 * figinset.C: use new File Dialog
388 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
390 * insettext.C: changes becuase of ParagraphParameters.
392 2001-02-28 Baruch Even <baruch@ev-en.org>
394 * insetgraphics.C (updateInset): Changed due to the change in
397 2001-02-26 Juergen Vigna <jug@sad.it>
399 * insettext.C (SetFont): Set Undo only if we have selection (as it is
402 2001-02-23 Juergen Vigna <jug@sad.it>
404 * insettext.C (draw): some small repainting fixes.
405 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
407 * inset.C (LocalDispatch): changed action to be a kb_action (as it
408 should be) and not an int.
410 * insettabular.C (LocalDispatch): ditto
412 * insettext.C (LocalDispatch): ditto
414 * insetcollapsable.C (LocalDispatch): ditto
416 2001-02-22 Juergen Vigna <jug@sad.it>
418 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
419 DISPATCH it and we don't have a locking_inset.
421 2001-02-21 Baruch Even <baruch@ev-en.org>
423 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
424 instead of GraphicsCacheItem *.
426 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
428 * insetcollapsable.C (getLyXText): add const qualifier to second
431 2001-02-22 Juergen Vigna <jug@sad.it>
433 * insettext.C (getLyXText): honor the recursive parameter.
434 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
436 * inset.C (getLyXText): added bool recursive parameter.
438 * insettext.C (SetUpdateStatus): or the update codes.
439 (draw): check need_update with &.
440 (InsetButtonPress): set no_selection to not put a selection when
441 entering an inset and it is redraws in another spot.
443 * insettext.h: made need_update an int.
445 2001-02-20 Baruch Even <baruch@ev-en.org>
448 * insetgraphisc.C: Changed to use better semantics when loading images
449 for inline view. Now it doesn't keep the pixmap itself but it's holder.
451 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
455 * insetgraphics.C: change name of "hide" signal to "hideDialog",
456 consistent with InsetTabular.
458 2001-02-19 Juergen Vigna <jug@sad.it>
460 * insettabular.C (LocalDispatch): implement PAGE up/down.
462 * insettext.C (draw): clear all of it on need_update==INIT too!
464 * insettabular.C (InsetUnlock): always clear the selection.
466 * inset.C (scroll): normally we only want to scroll the inset until
467 it is fully visible so if top_x + offset > 20 then just set scx to 0.
469 2001-02-14 Juergen Vigna <jug@sad.it>
471 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
472 (resetPos): fixed scroll behaviour.
473 (LocalDispatch): do an update if moving cursor inside a table cell
474 requests a scroll of the tabular.
476 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
478 * insettext.C (textWidth): constify local var
480 * insettabular.C: small cleanup.
482 * insetfoot.C (Latex): constify local var
484 * insetcollapsable.C: small cleanup.
486 * figinset.C (runqueue): use compare instead of strcmp
488 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
491 * insetinfo.C: remove cruft
493 2001-02-14 Juergen Vigna <jug@sad.it>
495 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
497 2001-02-13 Juergen Vigna <jug@sad.it>
499 * insettext.C (InsertInset): don't move left (is this right?)
501 * insettabular.C (LocalDispatch): use of the no_draw variable
503 * insettabular.h: new no_draw variable to stop redraw
505 * insettabular.C (TabularFeatures): fixed update for alignment change
507 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
511 * insetbib.C: move dialogs to frontends/
513 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
515 * insettext.C (LocalDispatch): Restore the language if the inset
518 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
520 * insettext.C (moveRightIntern): Update the selection cursor.
521 (moveLeftIntern): Ditto.
523 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * Makefile.am: remove BoundingBox.h
527 * BoundingBox.h: removed
529 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
531 * insettext.C (LocalDispatch): Update selection cursor when moving
533 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
534 (moveLeftIntern): Ditto.
536 2001-02-05 Baruch Even <baruch.even@writeme.com>
538 * insetgraphics.C: Updated automatic image conversion, it now goes into
539 temporary directory instead of with the image itself.
541 2001-01-21 Baruch Even <baruch@ev-en.org>
543 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
544 to EPS or PNG when needed (support bitmap graphics).
546 2000-11-02 Baruch Even <baruch@ev-en.org>
549 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
550 and removal of commented out code.
552 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
554 * insetbib.C (callback): Update citations if the key has changed.
556 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
558 * insetbib.C (InsetBibKey): Better computation of default key.
559 (getScreenLabel) Show both the key and the label.
560 (getBibLabel): New method.
561 (callback): Force a redraw if the inset have been changed.
563 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
565 * insetref.C (getType, getName): Move methods from
566 src/frontends/xforms/FormRef.C.
568 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
570 * insettabular.C: Various improvements (use only one dummy position).
572 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
574 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
575 par->bibkey->width. This fixes the crashes when running without
576 gui or when having included documents.
578 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
580 * insetcommand.C (getAsString, setFromString): Cleanup.
582 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
584 * insetref.C: Add the array InsetRef::types that contains
585 information about all supported reference types.
587 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
589 * lyxinset.h: remove trailing comma in enum.
591 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
593 * insettext.C: kill LyXBell.