1 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * insetcite.C (Ascii): add std:: qualifier
5 2001-05-28 Juergen Vigna <jug@sad.it>
7 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
8 a endless-width inset (maxWidth < 0).
9 (Edit): change language only if not equal.
11 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
13 * insettext.C (draw): fixed draw/clear of InsetText-Frame
15 2001-05-16 Juergen Vigna <jug@sad.it>
17 * insettext.C (selectAll): added
18 (clearSelection): added
20 * insettabular.C (SetFont): now we may set a font on a whole selection!
21 (getSelection): added helper function.
23 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
25 * insetcite.C (Ascii): Add method.
27 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
30 * insetbib.C: fix path for OS/2 & Win32
32 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * insetfoot.C (Latex): don't use % after footnote.
36 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
38 * insettext.C (Read): use clear
39 (SetParagraphData): use LyXParagraph copy constructor instead of clone
41 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
43 * insetfloatlist.h: add a bunch of std:: qualifiers.
45 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
48 FLOAT_LIST_CODE, renumber code list.
50 * insettoc.C (getScreenLabel): remove support for float lists
54 * insetfloatlist.[Ch]: new files
56 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
58 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
60 * insettabular.C (LocalDispatch):
61 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
64 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
66 * insettext.C: remvoe !NEW_INSETS cruft
68 * insettabular.C: remove !NEW_INSETS cruft
70 * insetcollapsable.h: remove !NEW_INSETS cruft
72 * insetbib.C: remove !NEW_INSETS cruft
74 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * insettoc.C: hack to make listof algorithm work
78 2001-04-20 Juergen Vigna <jug@sad.it>
80 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
82 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
84 * insetquotes.C (Latex): improve the guard against
85 unwanted !` and ?` ligatures. This should really be done in
86 another place (to catch all this ligatures at low-level).
88 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
90 * insettext.C (init): remvoe leftovers from cursor_visible change
92 (LocalDispatch): dispatch LFUN_MESSAGE
94 * insettabular.C (InsetTabular): remove leftovers from
95 cursor_visible, and scoped_ptr changes
98 * insetcollapsable.C (draw): use c++ cast
100 * ExternalTemplate.h: inherit privaely from noncopyable
101 * insetcommand.h: ditto
102 * insetinclude.h: ditto
104 2001-04-16 Allan Rae <rae@lyx.org>
106 * insettoc.C (Ascii):
107 * insettext.C (draw):
108 * insettabular.C (setPos):
109 * insetminipage.C (Read):
110 * insetfloat.C (placement):
111 * insetcaption.C (Ascii, DocBook):
112 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
113 an unrecognised preprocessor directive. So ensure they're wrapped.
115 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
118 * insetexternal.C: set view on Clone. Add _ to private members.
120 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * insettext.C (InsetText): fix new
123 (InsetText): reindent some, simplify deletion of par list
124 (clear): simplify deletion of par list, fix new
125 (SetParagraphData): simplify deletion of par list
127 * insettabular.[Ch] (getLabelList): implement new method
129 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
131 * lyxinset.h: do not include gettext.h...
139 * insetlatexaccent.C:
143 * inseturl.C: ... and do it here instead
145 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
147 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
149 * insettext.[Ch] (getLabelList): add std:: on vector<string>
151 * insetcollapsable.[Ch] (getLabelList): implement
153 * insettext.[Ch] (getLabelList): implement
155 * insettext.h: reindent
157 * insettabular.h: make tabular a scoped_ptr
159 * insettext.C (init): adjust for cursor_visible
160 (ToggleInsetCursor): constify asc and desc, font, adjust for
162 (ShowInsetCursor): constify asc and desc, font, adjust for
164 (HideInsetCursor): adjust for cursor_visible
166 * insettabular.C: reindent some
167 (InsetTabular): adjust for scoped_ptr and cursor_visible
168 (InsetTabular): ditto
169 (~InsetTabular): delete delete
170 (Clone): adjust for scoped_ptr
171 (Read): constify old_format, adjust for scoped_ptr, move init of
173 (draw): constify tx, localize loop vars.
174 some other localization of variables, remove double initilizatons.
176 * insetfoot.C: remove using std::ostream, add ostream where needed
178 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * lyxinset.h: some reindentaion, use initializer list for
182 UpdatableInset: make cursor_visible a private var add
183 public isCursorVisible(), add protected toggleCursorVisible() and
184 proctected setCursorVisible(bool), make scroll call the Inset::scroll
186 * insettoc.C: remvoe using decl
187 (getScreenLabel): make cmdname donst
190 (Ascii): don't use endl
192 * insetfootlike.C: remove using decl at file scope and add std::
194 * insetmarginal.C: ditto
196 * insetfoot.C: some reformatting
198 * insetfloat.C (InsetButtonRelease): adjust the hit area
200 * insetert.C (SetFont): some reformatting
202 * insetcollapsable.C: some reformatting and constification
203 (Clone): comment out.
204 * insetcollapsable.h: some reformatting
205 (Clone): comment out.
210 2001-03-30 Juergen Vigna <jug@sad.it>
212 * insetcollapsable.h: changen *inset to be a InsetText inset.
214 * some files: changed to reflect the above change.
216 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
218 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
219 InsetExternal::Params.
220 Added operator==() and operator!=() for the Params struct.
222 2001-03-29 Juergen Vigna <jug@sad.it>
224 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
227 * insetminipage.C: removed widthp_ and all it's functions and changed
228 to use new %-lengths of LyXLength.
230 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
232 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
234 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
236 * insetgraphicsParams.C (operator!=): new function, needed by the
237 ControlGraphics class.
239 2001-03-28 Juergen Vigna <jug@sad.it>
241 * insettext.C (InsetButtonPress): only enter !inset if button == 2
242 (checkAndActivateInset): don't use the values returned from
243 call to bv->checkInsetHit.
245 * insetminipage.C (Clone): set special minipage values.
247 * insetcollapsable.C (draw): changed to draw the button in the
248 upper left corner outside the textinset.
249 (ascent): changed because of different drawing
253 (InsetButtonPress): ditto
254 (InsetButtonRelease): ditto
255 (InsetMotionNotify): ditto
257 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
259 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
263 2001-03-26 Juergen Vigna <jug@sad.it>
265 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
267 * insettext.C (ShowInsetDialog): implemented above function.
269 * insettabular.C (ShowInsetDialog): ditto
271 * insetminipage.C (ShowInsetDialog): ditto
273 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
275 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
276 InsetInclude::Params. Don't store a buffer * in Params. Store the
277 master file name instead.
279 2001-03-23 Juergen Vigna <jug@sad.it>
281 * insetcollapsable.C (InsetMotionNotify):
282 (InsetButtonRelease):
283 (InsetButtonPress): fixed y-offset (minipages).
285 * insettext.C (draw): force a FULL update if cleared == true.
287 * insetcollapsable.C (draw): Lars forgotten entry for changing this
288 routine to draw the minipages on its position-flag.
289 (InsetInInsetY): give back the right y position, because of minipage
292 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
295 * insetfloat.C (DocBook): docbook export code.
297 2001-03-22 Juergen Vigna <jug@sad.it>
299 * insetminipage.C (getMaxWidth): added function to set the drawing
301 (Read): should work now!
303 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
304 if we create a new inset.
306 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
308 * figinset.C (fl_set_preemptive_callback): moved definition outside
311 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
313 * insetminipage.C (Read): prepare for reading of minipage arguments.
315 2001-03-18 Baruch Even <baruch@lyx.org>
317 * insetgraphics.C: Minor cleanups of the comments and code.
319 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
321 * insetminipage.C (InsetMinipage): default to not collapsed
323 2001-03-16 Juergen Vigna <jug@sad.it>
325 * insetminipage.C (width): modified with to be a string
326 (widthp): added widthp (for % width) support functions.
327 (InsetButtonRelease): added to open the options dialog on button==3.
328 (~InsetMinipage): added to hide the dialog.
330 * insetminipage.h: added hideDialog signal
332 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
334 * insetminipage.h: change the order or Position to match
335 LyXParagraph::MINIPAGE_ALIGNMENT
337 * several files: remvoe CXX_WORKING_NAMESPACES
339 * ExternalTemplate.h: noncopyable is in namespace boost
340 * insetinclude.h: ditto
341 * insetcommand.h: ditto
343 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
345 * insettext.C (Edit): #else# -> #else.
346 * insettoc.C: added using directive.
348 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
350 * insetminipage.h: add pos, inner_pos, width and height. + getters
351 and setters for all of them.
353 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
355 * insetinclude.C (Latex): Do not exit when the textclass of the
356 included file differ from the textclass of the parent file.
358 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
360 * ExternalTemplate.C (read): the reading of external insets now checks
361 for \end_inset and removes it form the input stream.
363 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
365 * ExternalTemplate.h:
366 * ExternalTemplate.C:
368 * insetexternal.C: move form to GUII
370 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
373 * insetinclude.C: add InsetIncludeParams, use
374 composition rather than derivation of InsetCommand
376 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
378 * insettoc.C (Ascii): use the Buffer typedefs
380 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
382 * insettoc.C (Ascii): implement for dynamic number of lists
384 * insetcaption.[Ch]: update from new_insets branch
385 * insetfloat.[Ch]: ditto
387 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
390 * figinset.C: use new File Dialog
392 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
394 * insettext.C: changes becuase of ParagraphParameters.
396 2001-02-28 Baruch Even <baruch@ev-en.org>
398 * insetgraphics.C (updateInset): Changed due to the change in
401 2001-02-26 Juergen Vigna <jug@sad.it>
403 * insettext.C (SetFont): Set Undo only if we have selection (as it is
406 2001-02-23 Juergen Vigna <jug@sad.it>
408 * insettext.C (draw): some small repainting fixes.
409 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
411 * inset.C (LocalDispatch): changed action to be a kb_action (as it
412 should be) and not an int.
414 * insettabular.C (LocalDispatch): ditto
416 * insettext.C (LocalDispatch): ditto
418 * insetcollapsable.C (LocalDispatch): ditto
420 2001-02-22 Juergen Vigna <jug@sad.it>
422 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
423 DISPATCH it and we don't have a locking_inset.
425 2001-02-21 Baruch Even <baruch@ev-en.org>
427 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
428 instead of GraphicsCacheItem *.
430 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
432 * insetcollapsable.C (getLyXText): add const qualifier to second
435 2001-02-22 Juergen Vigna <jug@sad.it>
437 * insettext.C (getLyXText): honor the recursive parameter.
438 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
440 * inset.C (getLyXText): added bool recursive parameter.
442 * insettext.C (SetUpdateStatus): or the update codes.
443 (draw): check need_update with &.
444 (InsetButtonPress): set no_selection to not put a selection when
445 entering an inset and it is redraws in another spot.
447 * insettext.h: made need_update an int.
449 2001-02-20 Baruch Even <baruch@ev-en.org>
452 * insetgraphisc.C: Changed to use better semantics when loading images
453 for inline view. Now it doesn't keep the pixmap itself but it's holder.
455 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
459 * insetgraphics.C: change name of "hide" signal to "hideDialog",
460 consistent with InsetTabular.
462 2001-02-19 Juergen Vigna <jug@sad.it>
464 * insettabular.C (LocalDispatch): implement PAGE up/down.
466 * insettext.C (draw): clear all of it on need_update==INIT too!
468 * insettabular.C (InsetUnlock): always clear the selection.
470 * inset.C (scroll): normally we only want to scroll the inset until
471 it is fully visible so if top_x + offset > 20 then just set scx to 0.
473 2001-02-14 Juergen Vigna <jug@sad.it>
475 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
476 (resetPos): fixed scroll behaviour.
477 (LocalDispatch): do an update if moving cursor inside a table cell
478 requests a scroll of the tabular.
480 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
482 * insettext.C (textWidth): constify local var
484 * insettabular.C: small cleanup.
486 * insetfoot.C (Latex): constify local var
488 * insetcollapsable.C: small cleanup.
490 * figinset.C (runqueue): use compare instead of strcmp
492 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
495 * insetinfo.C: remove cruft
497 2001-02-14 Juergen Vigna <jug@sad.it>
499 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
501 2001-02-13 Juergen Vigna <jug@sad.it>
503 * insettext.C (InsertInset): don't move left (is this right?)
505 * insettabular.C (LocalDispatch): use of the no_draw variable
507 * insettabular.h: new no_draw variable to stop redraw
509 * insettabular.C (TabularFeatures): fixed update for alignment change
511 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
515 * insetbib.C: move dialogs to frontends/
517 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
519 * insettext.C (LocalDispatch): Restore the language if the inset
522 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
524 * insettext.C (moveRightIntern): Update the selection cursor.
525 (moveLeftIntern): Ditto.
527 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
529 * Makefile.am: remove BoundingBox.h
531 * BoundingBox.h: removed
533 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
535 * insettext.C (LocalDispatch): Update selection cursor when moving
537 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
538 (moveLeftIntern): Ditto.
540 2001-02-05 Baruch Even <baruch.even@writeme.com>
542 * insetgraphics.C: Updated automatic image conversion, it now goes into
543 temporary directory instead of with the image itself.
545 2001-01-21 Baruch Even <baruch@ev-en.org>
547 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
548 to EPS or PNG when needed (support bitmap graphics).
550 2000-11-02 Baruch Even <baruch@ev-en.org>
553 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
554 and removal of commented out code.
556 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
558 * insetbib.C (callback): Update citations if the key has changed.
560 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
562 * insetbib.C (InsetBibKey): Better computation of default key.
563 (getScreenLabel) Show both the key and the label.
564 (getBibLabel): New method.
565 (callback): Force a redraw if the inset have been changed.
567 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
569 * insetref.C (getType, getName): Move methods from
570 src/frontends/xforms/FormRef.C.
572 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
574 * insettabular.C: Various improvements (use only one dummy position).
576 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
578 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
579 par->bibkey->width. This fixes the crashes when running without
580 gui or when having included documents.
582 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
584 * insetcommand.C (getAsString, setFromString): Cleanup.
586 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
588 * insetref.C: Add the array InsetRef::types that contains
589 information about all supported reference types.
591 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
593 * lyxinset.h: remove trailing comma in enum.
595 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
597 * insettext.C: kill LyXBell.