1 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5 2001-06-01 Juergen Vigna <jug@sad.it>
7 * insettabular.C (resetPos): small hack so that scroll is not set to
8 0 when we are in the last column of a tabular. This is a problem we
9 have because of constats 20 offset on both directions, so this can
10 cause on the limit an endless loop.
12 * insettext.C (SetFont): forgot that we can have locking insets ;)
14 2001-05-31 Juergen Vigna <jug@sad.it>
16 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
18 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
20 * figinset.C: add using std:: directive for the C functions which
23 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
25 * insetfloat.C (Write): write out wide info
26 (Read): read the wide info
27 (Latex): use the wide info when creating latex.
31 * insetgraphics.[Ch] (statusMessage): change to return string
35 * figinset.C (runqueue): add std::
38 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
40 * insetcite.C (Ascii): add std:: qualifier
42 2001-05-28 Juergen Vigna <jug@sad.it>
44 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
45 a endless-width inset (maxWidth < 0).
46 (Edit): change language only if not equal.
48 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
50 * insettext.C (draw): fixed draw/clear of InsetText-Frame
52 2001-05-16 Juergen Vigna <jug@sad.it>
54 * insettext.C (selectAll): added
55 (clearSelection): added
57 * insettabular.C (SetFont): now we may set a font on a whole selection!
58 (getSelection): added helper function.
60 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
62 * insetcite.C (Ascii): Add method.
64 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
67 * insetbib.C: fix path for OS/2 & Win32
69 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
71 * insetfoot.C (Latex): don't use % after footnote.
73 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * insettext.C (Read): use clear
76 (SetParagraphData): use LyXParagraph copy constructor instead of clone
78 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * insetfloatlist.h: add a bunch of std:: qualifiers.
82 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
85 FLOAT_LIST_CODE, renumber code list.
87 * insettoc.C (getScreenLabel): remove support for float lists
91 * insetfloatlist.[Ch]: new files
93 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
95 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
97 * insettabular.C (LocalDispatch):
98 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
101 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * insettext.C: remvoe !NEW_INSETS cruft
105 * insettabular.C: remove !NEW_INSETS cruft
107 * insetcollapsable.h: remove !NEW_INSETS cruft
109 * insetbib.C: remove !NEW_INSETS cruft
111 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
113 * insettoc.C: hack to make listof algorithm work
115 2001-04-20 Juergen Vigna <jug@sad.it>
117 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
119 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * insetquotes.C (Latex): improve the guard against
122 unwanted !` and ?` ligatures. This should really be done in
123 another place (to catch all this ligatures at low-level).
125 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
127 * insettext.C (init): remvoe leftovers from cursor_visible change
129 (LocalDispatch): dispatch LFUN_MESSAGE
131 * insettabular.C (InsetTabular): remove leftovers from
132 cursor_visible, and scoped_ptr changes
135 * insetcollapsable.C (draw): use c++ cast
137 * ExternalTemplate.h: inherit privaely from noncopyable
138 * insetcommand.h: ditto
139 * insetinclude.h: ditto
141 2001-04-16 Allan Rae <rae@lyx.org>
143 * insettoc.C (Ascii):
144 * insettext.C (draw):
145 * insettabular.C (setPos):
146 * insetminipage.C (Read):
147 * insetfloat.C (placement):
148 * insetcaption.C (Ascii, DocBook):
149 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
150 an unrecognised preprocessor directive. So ensure they're wrapped.
152 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
155 * insetexternal.C: set view on Clone. Add _ to private members.
157 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
159 * insettext.C (InsetText): fix new
160 (InsetText): reindent some, simplify deletion of par list
161 (clear): simplify deletion of par list, fix new
162 (SetParagraphData): simplify deletion of par list
164 * insettabular.[Ch] (getLabelList): implement new method
166 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
168 * lyxinset.h: do not include gettext.h...
176 * insetlatexaccent.C:
180 * inseturl.C: ... and do it here instead
182 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
184 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
186 * insettext.[Ch] (getLabelList): add std:: on vector<string>
188 * insetcollapsable.[Ch] (getLabelList): implement
190 * insettext.[Ch] (getLabelList): implement
192 * insettext.h: reindent
194 * insettabular.h: make tabular a scoped_ptr
196 * insettext.C (init): adjust for cursor_visible
197 (ToggleInsetCursor): constify asc and desc, font, adjust for
199 (ShowInsetCursor): constify asc and desc, font, adjust for
201 (HideInsetCursor): adjust for cursor_visible
203 * insettabular.C: reindent some
204 (InsetTabular): adjust for scoped_ptr and cursor_visible
205 (InsetTabular): ditto
206 (~InsetTabular): delete delete
207 (Clone): adjust for scoped_ptr
208 (Read): constify old_format, adjust for scoped_ptr, move init of
210 (draw): constify tx, localize loop vars.
211 some other localization of variables, remove double initilizatons.
213 * insetfoot.C: remove using std::ostream, add ostream where needed
215 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
217 * lyxinset.h: some reindentaion, use initializer list for
219 UpdatableInset: make cursor_visible a private var add
220 public isCursorVisible(), add protected toggleCursorVisible() and
221 proctected setCursorVisible(bool), make scroll call the Inset::scroll
223 * insettoc.C: remvoe using decl
224 (getScreenLabel): make cmdname donst
227 (Ascii): don't use endl
229 * insetfootlike.C: remove using decl at file scope and add std::
231 * insetmarginal.C: ditto
233 * insetfoot.C: some reformatting
235 * insetfloat.C (InsetButtonRelease): adjust the hit area
237 * insetert.C (SetFont): some reformatting
239 * insetcollapsable.C: some reformatting and constification
240 (Clone): comment out.
241 * insetcollapsable.h: some reformatting
242 (Clone): comment out.
247 2001-03-30 Juergen Vigna <jug@sad.it>
249 * insetcollapsable.h: changen *inset to be a InsetText inset.
251 * some files: changed to reflect the above change.
253 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
255 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
256 InsetExternal::Params.
257 Added operator==() and operator!=() for the Params struct.
259 2001-03-29 Juergen Vigna <jug@sad.it>
261 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
264 * insetminipage.C: removed widthp_ and all it's functions and changed
265 to use new %-lengths of LyXLength.
267 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
269 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
271 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
273 * insetgraphicsParams.C (operator!=): new function, needed by the
274 ControlGraphics class.
276 2001-03-28 Juergen Vigna <jug@sad.it>
278 * insettext.C (InsetButtonPress): only enter !inset if button == 2
279 (checkAndActivateInset): don't use the values returned from
280 call to bv->checkInsetHit.
282 * insetminipage.C (Clone): set special minipage values.
284 * insetcollapsable.C (draw): changed to draw the button in the
285 upper left corner outside the textinset.
286 (ascent): changed because of different drawing
290 (InsetButtonPress): ditto
291 (InsetButtonRelease): ditto
292 (InsetMotionNotify): ditto
294 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
296 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
300 2001-03-26 Juergen Vigna <jug@sad.it>
302 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
304 * insettext.C (ShowInsetDialog): implemented above function.
306 * insettabular.C (ShowInsetDialog): ditto
308 * insetminipage.C (ShowInsetDialog): ditto
310 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
312 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
313 InsetInclude::Params. Don't store a buffer * in Params. Store the
314 master file name instead.
316 2001-03-23 Juergen Vigna <jug@sad.it>
318 * insetcollapsable.C (InsetMotionNotify):
319 (InsetButtonRelease):
320 (InsetButtonPress): fixed y-offset (minipages).
322 * insettext.C (draw): force a FULL update if cleared == true.
324 * insetcollapsable.C (draw): Lars forgotten entry for changing this
325 routine to draw the minipages on its position-flag.
326 (InsetInInsetY): give back the right y position, because of minipage
329 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
332 * insetfloat.C (DocBook): docbook export code.
334 2001-03-22 Juergen Vigna <jug@sad.it>
336 * insetminipage.C (getMaxWidth): added function to set the drawing
338 (Read): should work now!
340 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
341 if we create a new inset.
343 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
345 * figinset.C (fl_set_preemptive_callback): moved definition outside
348 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
350 * insetminipage.C (Read): prepare for reading of minipage arguments.
352 2001-03-18 Baruch Even <baruch@lyx.org>
354 * insetgraphics.C: Minor cleanups of the comments and code.
356 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
358 * insetminipage.C (InsetMinipage): default to not collapsed
360 2001-03-16 Juergen Vigna <jug@sad.it>
362 * insetminipage.C (width): modified with to be a string
363 (widthp): added widthp (for % width) support functions.
364 (InsetButtonRelease): added to open the options dialog on button==3.
365 (~InsetMinipage): added to hide the dialog.
367 * insetminipage.h: added hideDialog signal
369 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
371 * insetminipage.h: change the order or Position to match
372 LyXParagraph::MINIPAGE_ALIGNMENT
374 * several files: remvoe CXX_WORKING_NAMESPACES
376 * ExternalTemplate.h: noncopyable is in namespace boost
377 * insetinclude.h: ditto
378 * insetcommand.h: ditto
380 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
382 * insettext.C (Edit): #else# -> #else.
383 * insettoc.C: added using directive.
385 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
387 * insetminipage.h: add pos, inner_pos, width and height. + getters
388 and setters for all of them.
390 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
392 * insetinclude.C (Latex): Do not exit when the textclass of the
393 included file differ from the textclass of the parent file.
395 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
397 * ExternalTemplate.C (read): the reading of external insets now checks
398 for \end_inset and removes it form the input stream.
400 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
402 * ExternalTemplate.h:
403 * ExternalTemplate.C:
405 * insetexternal.C: move form to GUII
407 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
410 * insetinclude.C: add InsetIncludeParams, use
411 composition rather than derivation of InsetCommand
413 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
415 * insettoc.C (Ascii): use the Buffer typedefs
417 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
419 * insettoc.C (Ascii): implement for dynamic number of lists
421 * insetcaption.[Ch]: update from new_insets branch
422 * insetfloat.[Ch]: ditto
424 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
427 * figinset.C: use new File Dialog
429 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
431 * insettext.C: changes becuase of ParagraphParameters.
433 2001-02-28 Baruch Even <baruch@ev-en.org>
435 * insetgraphics.C (updateInset): Changed due to the change in
438 2001-02-26 Juergen Vigna <jug@sad.it>
440 * insettext.C (SetFont): Set Undo only if we have selection (as it is
443 2001-02-23 Juergen Vigna <jug@sad.it>
445 * insettext.C (draw): some small repainting fixes.
446 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
448 * inset.C (LocalDispatch): changed action to be a kb_action (as it
449 should be) and not an int.
451 * insettabular.C (LocalDispatch): ditto
453 * insettext.C (LocalDispatch): ditto
455 * insetcollapsable.C (LocalDispatch): ditto
457 2001-02-22 Juergen Vigna <jug@sad.it>
459 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
460 DISPATCH it and we don't have a locking_inset.
462 2001-02-21 Baruch Even <baruch@ev-en.org>
464 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
465 instead of GraphicsCacheItem *.
467 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * insetcollapsable.C (getLyXText): add const qualifier to second
472 2001-02-22 Juergen Vigna <jug@sad.it>
474 * insettext.C (getLyXText): honor the recursive parameter.
475 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
477 * inset.C (getLyXText): added bool recursive parameter.
479 * insettext.C (SetUpdateStatus): or the update codes.
480 (draw): check need_update with &.
481 (InsetButtonPress): set no_selection to not put a selection when
482 entering an inset and it is redraws in another spot.
484 * insettext.h: made need_update an int.
486 2001-02-20 Baruch Even <baruch@ev-en.org>
489 * insetgraphisc.C: Changed to use better semantics when loading images
490 for inline view. Now it doesn't keep the pixmap itself but it's holder.
492 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
496 * insetgraphics.C: change name of "hide" signal to "hideDialog",
497 consistent with InsetTabular.
499 2001-02-19 Juergen Vigna <jug@sad.it>
501 * insettabular.C (LocalDispatch): implement PAGE up/down.
503 * insettext.C (draw): clear all of it on need_update==INIT too!
505 * insettabular.C (InsetUnlock): always clear the selection.
507 * inset.C (scroll): normally we only want to scroll the inset until
508 it is fully visible so if top_x + offset > 20 then just set scx to 0.
510 2001-02-14 Juergen Vigna <jug@sad.it>
512 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
513 (resetPos): fixed scroll behaviour.
514 (LocalDispatch): do an update if moving cursor inside a table cell
515 requests a scroll of the tabular.
517 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
519 * insettext.C (textWidth): constify local var
521 * insettabular.C: small cleanup.
523 * insetfoot.C (Latex): constify local var
525 * insetcollapsable.C: small cleanup.
527 * figinset.C (runqueue): use compare instead of strcmp
529 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
532 * insetinfo.C: remove cruft
534 2001-02-14 Juergen Vigna <jug@sad.it>
536 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
538 2001-02-13 Juergen Vigna <jug@sad.it>
540 * insettext.C (InsertInset): don't move left (is this right?)
542 * insettabular.C (LocalDispatch): use of the no_draw variable
544 * insettabular.h: new no_draw variable to stop redraw
546 * insettabular.C (TabularFeatures): fixed update for alignment change
548 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
552 * insetbib.C: move dialogs to frontends/
554 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
556 * insettext.C (LocalDispatch): Restore the language if the inset
559 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
561 * insettext.C (moveRightIntern): Update the selection cursor.
562 (moveLeftIntern): Ditto.
564 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
566 * Makefile.am: remove BoundingBox.h
568 * BoundingBox.h: removed
570 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
572 * insettext.C (LocalDispatch): Update selection cursor when moving
574 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
575 (moveLeftIntern): Ditto.
577 2001-02-05 Baruch Even <baruch.even@writeme.com>
579 * insetgraphics.C: Updated automatic image conversion, it now goes into
580 temporary directory instead of with the image itself.
582 2001-01-21 Baruch Even <baruch@ev-en.org>
584 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
585 to EPS or PNG when needed (support bitmap graphics).
587 2000-11-02 Baruch Even <baruch@ev-en.org>
590 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
591 and removal of commented out code.
593 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
595 * insetbib.C (callback): Update citations if the key has changed.
597 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
599 * insetbib.C (InsetBibKey): Better computation of default key.
600 (getScreenLabel) Show both the key and the label.
601 (getBibLabel): New method.
602 (callback): Force a redraw if the inset have been changed.
604 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
606 * insetref.C (getType, getName): Move methods from
607 src/frontends/xforms/FormRef.C.
609 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
611 * insettabular.C: Various improvements (use only one dummy position).
613 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
615 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
616 par->bibkey->width. This fixes the crashes when running without
617 gui or when having included documents.
619 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
621 * insetcommand.C (getAsString, setFromString): Cleanup.
623 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
625 * insetref.C: Add the array InsetRef::types that contains
626 information about all supported reference types.
628 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * lyxinset.h: remove trailing comma in enum.
632 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
634 * insettext.C: kill LyXBell.