1 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * insetfoot.C (Latex): don't use % after footnote.
5 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * insettext.C (Read): use clear
8 (SetParagraphData): use LyXParagraph copy constructor instead of clone
10 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12 * insetfloatlist.h: add a bunch of std:: qualifiers.
14 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
17 FLOAT_LIST_CODE, renumber code list.
19 * insettoc.C (getScreenLabel): remove support for float lists
23 * insetfloatlist.[Ch]: new files
25 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
27 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
29 * insettabular.C (LocalDispatch):
30 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
33 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
35 * insettext.C: remvoe !NEW_INSETS cruft
37 * insettabular.C: remove !NEW_INSETS cruft
39 * insetcollapsable.h: remove !NEW_INSETS cruft
41 * insetbib.C: remove !NEW_INSETS cruft
43 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
45 * insettoc.C: hack to make listof algorithm work
47 2001-04-20 Juergen Vigna <jug@sad.it>
49 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
51 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * insetquotes.C (Latex): improve the guard against
54 unwanted !` and ?` ligatures. This should really be done in
55 another place (to catch all this ligatures at low-level).
57 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
59 * insettext.C (init): remvoe leftovers from cursor_visible change
61 (LocalDispatch): dispatch LFUN_MESSAGE
63 * insettabular.C (InsetTabular): remove leftovers from
64 cursor_visible, and scoped_ptr changes
67 * insetcollapsable.C (draw): use c++ cast
69 * ExternalTemplate.h: inherit privaely from noncopyable
70 * insetcommand.h: ditto
71 * insetinclude.h: ditto
73 2001-04-16 Allan Rae <rae@lyx.org>
77 * insettabular.C (setPos):
78 * insetminipage.C (Read):
79 * insetfloat.C (placement):
80 * insetcaption.C (Ascii, DocBook):
81 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
82 an unrecognised preprocessor directive. So ensure they're wrapped.
84 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
87 * insetexternal.C: set view on Clone. Add _ to private members.
89 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
91 * insettext.C (InsetText): fix new
92 (InsetText): reindent some, simplify deletion of par list
93 (clear): simplify deletion of par list, fix new
94 (SetParagraphData): simplify deletion of par list
96 * insettabular.[Ch] (getLabelList): implement new method
98 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
100 * lyxinset.h: do not include gettext.h...
108 * insetlatexaccent.C:
112 * inseturl.C: ... and do it here instead
114 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
116 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
118 * insettext.[Ch] (getLabelList): add std:: on vector<string>
120 * insetcollapsable.[Ch] (getLabelList): implement
122 * insettext.[Ch] (getLabelList): implement
124 * insettext.h: reindent
126 * insettabular.h: make tabular a scoped_ptr
128 * insettext.C (init): adjust for cursor_visible
129 (ToggleInsetCursor): constify asc and desc, font, adjust for
131 (ShowInsetCursor): constify asc and desc, font, adjust for
133 (HideInsetCursor): adjust for cursor_visible
135 * insettabular.C: reindent some
136 (InsetTabular): adjust for scoped_ptr and cursor_visible
137 (InsetTabular): ditto
138 (~InsetTabular): delete delete
139 (Clone): adjust for scoped_ptr
140 (Read): constify old_format, adjust for scoped_ptr, move init of
142 (draw): constify tx, localize loop vars.
143 some other localization of variables, remove double initilizatons.
145 * insetfoot.C: remove using std::ostream, add ostream where needed
147 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * lyxinset.h: some reindentaion, use initializer list for
151 UpdatableInset: make cursor_visible a private var add
152 public isCursorVisible(), add protected toggleCursorVisible() and
153 proctected setCursorVisible(bool), make scroll call the Inset::scroll
155 * insettoc.C: remvoe using decl
156 (getScreenLabel): make cmdname donst
159 (Ascii): don't use endl
161 * insetfootlike.C: remove using decl at file scope and add std::
163 * insetmarginal.C: ditto
165 * insetfoot.C: some reformatting
167 * insetfloat.C (InsetButtonRelease): adjust the hit area
169 * insetert.C (SetFont): some reformatting
171 * insetcollapsable.C: some reformatting and constification
172 (Clone): comment out.
173 * insetcollapsable.h: some reformatting
174 (Clone): comment out.
179 2001-03-30 Juergen Vigna <jug@sad.it>
181 * insetcollapsable.h: changen *inset to be a InsetText inset.
183 * some files: changed to reflect the above change.
185 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
187 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
188 InsetExternal::Params.
189 Added operator==() and operator!=() for the Params struct.
191 2001-03-29 Juergen Vigna <jug@sad.it>
193 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
196 * insetminipage.C: removed widthp_ and all it's functions and changed
197 to use new %-lengths of LyXLength.
199 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
201 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
203 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
205 * insetgraphicsParams.C (operator!=): new function, needed by the
206 ControlGraphics class.
208 2001-03-28 Juergen Vigna <jug@sad.it>
210 * insettext.C (InsetButtonPress): only enter !inset if button == 2
211 (checkAndActivateInset): don't use the values returned from
212 call to bv->checkInsetHit.
214 * insetminipage.C (Clone): set special minipage values.
216 * insetcollapsable.C (draw): changed to draw the button in the
217 upper left corner outside the textinset.
218 (ascent): changed because of different drawing
222 (InsetButtonPress): ditto
223 (InsetButtonRelease): ditto
224 (InsetMotionNotify): ditto
226 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
228 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
232 2001-03-26 Juergen Vigna <jug@sad.it>
234 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
236 * insettext.C (ShowInsetDialog): implemented above function.
238 * insettabular.C (ShowInsetDialog): ditto
240 * insetminipage.C (ShowInsetDialog): ditto
242 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
244 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
245 InsetInclude::Params. Don't store a buffer * in Params. Store the
246 master file name instead.
248 2001-03-23 Juergen Vigna <jug@sad.it>
250 * insetcollapsable.C (InsetMotionNotify):
251 (InsetButtonRelease):
252 (InsetButtonPress): fixed y-offset (minipages).
254 * insettext.C (draw): force a FULL update if cleared == true.
256 * insetcollapsable.C (draw): Lars forgotten entry for changing this
257 routine to draw the minipages on its position-flag.
258 (InsetInInsetY): give back the right y position, because of minipage
261 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
264 * insetfloat.C (DocBook): docbook export code.
266 2001-03-22 Juergen Vigna <jug@sad.it>
268 * insetminipage.C (getMaxWidth): added function to set the drawing
270 (Read): should work now!
272 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
273 if we create a new inset.
275 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
277 * figinset.C (fl_set_preemptive_callback): moved definition outside
280 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
282 * insetminipage.C (Read): prepare for reading of minipage arguments.
284 2001-03-18 Baruch Even <baruch@lyx.org>
286 * insetgraphics.C: Minor cleanups of the comments and code.
288 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
290 * insetminipage.C (InsetMinipage): default to not collapsed
292 2001-03-16 Juergen Vigna <jug@sad.it>
294 * insetminipage.C (width): modified with to be a string
295 (widthp): added widthp (for % width) support functions.
296 (InsetButtonRelease): added to open the options dialog on button==3.
297 (~InsetMinipage): added to hide the dialog.
299 * insetminipage.h: added hideDialog signal
301 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
303 * insetminipage.h: change the order or Position to match
304 LyXParagraph::MINIPAGE_ALIGNMENT
306 * several files: remvoe CXX_WORKING_NAMESPACES
308 * ExternalTemplate.h: noncopyable is in namespace boost
309 * insetinclude.h: ditto
310 * insetcommand.h: ditto
312 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
314 * insettext.C (Edit): #else# -> #else.
315 * insettoc.C: added using directive.
317 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
319 * insetminipage.h: add pos, inner_pos, width and height. + getters
320 and setters for all of them.
322 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
324 * insetinclude.C (Latex): Do not exit when the textclass of the
325 included file differ from the textclass of the parent file.
327 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
329 * ExternalTemplate.C (read): the reading of external insets now checks
330 for \end_inset and removes it form the input stream.
332 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
334 * ExternalTemplate.h:
335 * ExternalTemplate.C:
337 * insetexternal.C: move form to GUII
339 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
342 * insetinclude.C: add InsetIncludeParams, use
343 composition rather than derivation of InsetCommand
345 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
347 * insettoc.C (Ascii): use the Buffer typedefs
349 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
351 * insettoc.C (Ascii): implement for dynamic number of lists
353 * insetcaption.[Ch]: update from new_insets branch
354 * insetfloat.[Ch]: ditto
356 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
359 * figinset.C: use new File Dialog
361 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
363 * insettext.C: changes becuase of ParagraphParameters.
365 2001-02-28 Baruch Even <baruch@ev-en.org>
367 * insetgraphics.C (updateInset): Changed due to the change in
370 2001-02-26 Juergen Vigna <jug@sad.it>
372 * insettext.C (SetFont): Set Undo only if we have selection (as it is
375 2001-02-23 Juergen Vigna <jug@sad.it>
377 * insettext.C (draw): some small repainting fixes.
378 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
380 * inset.C (LocalDispatch): changed action to be a kb_action (as it
381 should be) and not an int.
383 * insettabular.C (LocalDispatch): ditto
385 * insettext.C (LocalDispatch): ditto
387 * insetcollapsable.C (LocalDispatch): ditto
389 2001-02-22 Juergen Vigna <jug@sad.it>
391 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
392 DISPATCH it and we don't have a locking_inset.
394 2001-02-21 Baruch Even <baruch@ev-en.org>
396 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
397 instead of GraphicsCacheItem *.
399 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
401 * insetcollapsable.C (getLyXText): add const qualifier to second
404 2001-02-22 Juergen Vigna <jug@sad.it>
406 * insettext.C (getLyXText): honor the recursive parameter.
407 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
409 * inset.C (getLyXText): added bool recursive parameter.
411 * insettext.C (SetUpdateStatus): or the update codes.
412 (draw): check need_update with &.
413 (InsetButtonPress): set no_selection to not put a selection when
414 entering an inset and it is redraws in another spot.
416 * insettext.h: made need_update an int.
418 2001-02-20 Baruch Even <baruch@ev-en.org>
421 * insetgraphisc.C: Changed to use better semantics when loading images
422 for inline view. Now it doesn't keep the pixmap itself but it's holder.
424 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
428 * insetgraphics.C: change name of "hide" signal to "hideDialog",
429 consistent with InsetTabular.
431 2001-02-19 Juergen Vigna <jug@sad.it>
433 * insettabular.C (LocalDispatch): implement PAGE up/down.
435 * insettext.C (draw): clear all of it on need_update==INIT too!
437 * insettabular.C (InsetUnlock): always clear the selection.
439 * inset.C (scroll): normally we only want to scroll the inset until
440 it is fully visible so if top_x + offset > 20 then just set scx to 0.
442 2001-02-14 Juergen Vigna <jug@sad.it>
444 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
445 (resetPos): fixed scroll behaviour.
446 (LocalDispatch): do an update if moving cursor inside a table cell
447 requests a scroll of the tabular.
449 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
451 * insettext.C (textWidth): constify local var
453 * insettabular.C: small cleanup.
455 * insetfoot.C (Latex): constify local var
457 * insetcollapsable.C: small cleanup.
459 * figinset.C (runqueue): use compare instead of strcmp
461 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
464 * insetinfo.C: remove cruft
466 2001-02-14 Juergen Vigna <jug@sad.it>
468 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
470 2001-02-13 Juergen Vigna <jug@sad.it>
472 * insettext.C (InsertInset): don't move left (is this right?)
474 * insettabular.C (LocalDispatch): use of the no_draw variable
476 * insettabular.h: new no_draw variable to stop redraw
478 * insettabular.C (TabularFeatures): fixed update for alignment change
480 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
484 * insetbib.C: move dialogs to frontends/
486 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
488 * insettext.C (LocalDispatch): Restore the language if the inset
491 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
493 * insettext.C (moveRightIntern): Update the selection cursor.
494 (moveLeftIntern): Ditto.
496 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
498 * Makefile.am: remove BoundingBox.h
500 * BoundingBox.h: removed
502 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
504 * insettext.C (LocalDispatch): Update selection cursor when moving
506 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
507 (moveLeftIntern): Ditto.
509 2001-02-05 Baruch Even <baruch.even@writeme.com>
511 * insetgraphics.C: Updated automatic image conversion, it now goes into
512 temporary directory instead of with the image itself.
514 2001-01-21 Baruch Even <baruch@ev-en.org>
516 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
517 to EPS or PNG when needed (support bitmap graphics).
519 2000-11-02 Baruch Even <baruch@ev-en.org>
522 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
523 and removal of commented out code.
525 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
527 * insetbib.C (callback): Update citations if the key has changed.
529 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
531 * insetbib.C (InsetBibKey): Better computation of default key.
532 (getScreenLabel) Show both the key and the label.
533 (getBibLabel): New method.
534 (callback): Force a redraw if the inset have been changed.
536 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
538 * insetref.C (getType, getName): Move methods from
539 src/frontends/xforms/FormRef.C.
541 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
543 * insettabular.C: Various improvements (use only one dummy position).
545 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
547 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
548 par->bibkey->width. This fixes the crashes when running without
549 gui or when having included documents.
551 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
553 * insetcommand.C (getAsString, setFromString): Cleanup.
555 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
557 * insetref.C: Add the array InsetRef::types that contains
558 information about all supported reference types.
560 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
562 * lyxinset.h: remove trailing comma in enum.
564 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
566 * insettext.C: kill LyXBell.