]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
e4dd04fd4b37e36d1bbaa71d73b99159fa88b65d
[lyx.git] / src / insets / ChangeLog
1 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * figinset.C (runqueue):
4         * insetgraphics.C (draw): set background colour of inset from
5         background to the user-configurable graphicsbg.
6
7 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8
9         * insetquotes.C (InsetQuotes): when trying to decide the side of
10         the quote, choose `left' only after a space or '('
11
12 2001-09-04  José Matos  <jamatos@fep.up.pt>
13         * figinset.C
14         * figinset.h
15         * insetcaption.C
16         * insetcaption.h
17         * insetcollapsable.h
18         * insetcommand.C
19         * insetcommand.h
20         * inseterror.h
21         * insetert.C
22         * insetert.h
23         * insetexternal.C
24         * insetexternal.h
25         * insetfloat.C
26         * insetfloat.h
27         * insetfloatlist.h
28         * insetgraphics.C
29         * insetgraphics.h
30         * inset.h
31         * insetinclude.C
32         * insetinclude.h
33         * insetlabel.C
34         * insetlabel.h
35         * insetlatexaccent.C
36         * insetlatexaccent.h
37         * insetquotes.C
38         * insetquotes.h
39         * insetref.C
40         * insetref.h
41         * insetspecialchar.C
42         * insetspecialchar.h
43         * insettabular.C
44         * insettabular.h
45         * insettext.C
46         * insettext.C (docbook): rename docBook method to docbook.
47
48 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
49
50         * inset.h (getFirstParagraph): New virtual method.
51
52 2001-08-20  Herbert Voss  <voss@perce.de>
53         * insetbib.C: added a option bibtotoc which is from "BIB to TOC" 
54         in the the bibtex-database-gui for inserting a line
55         \addcontentsline... 
56
57         If no style is given than there is no tex-output.
58         
59 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
60
61         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
62         files as a vector.
63         (getKeys): use it.
64
65 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
66
67         * insetert.C (latex): Fix output for multiple paragraphs.
68         (write): New code for writing paragraph data.
69         (read): Set font after reading the inset.
70         (localDispatch): Call set_latex_font() for more cases.
71
72         * insetnote.h: Add empty validate method.
73         * insetert.h: Ditto
74
75         * insetnote.C (InsetNote): Set language to the language of the 
76         document.
77
78 2001-08-16  Juergen Vigna  <jug@sad.it>
79
80         * insettext.C: implemented the new FINISHED states.
81
82         * insettabular.C: ditto 
83
84         * inset.h: added more FINISHED states for cursor right,up,down
85
86 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
87
88         * insetfloatlist.C: use "FloatName List" 
89  
90 2001-08-14  Juergen Vigna  <jug@sad.it>
91
92         * insetert.C (edit): forgot to set status_ in edit calls!
93
94 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
95
96         * insettext.C: Compilation fix
97
98 2001-08-13  Juergen Vigna  <jug@sad.it>
99
100         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
101
102         * insetcollapsable.C (edit): don't recollapse an already open inset.
103
104         * insettext.C: fixed problem when reinitializing LyXText by not doing
105         it while lt is in use and post this to the next possible time in
106         getLyXText().
107         (searchForward): fixed not unlocking of inset if nothing found.
108         (edit): set cursor behind right (was set -1 pos).
109
110         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
111
112         * insettabular.C (tabularFeatures): fixed fix where deleting the
113         last row didn't get the right actcell!
114
115 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
116
117         * insettext.C (localDispatch): Change language only when the inset 
118         becomes empty.
119
120 2001-08-10  Juergen Vigna  <jug@sad.it>
121
122         * insettabular.C (selectNextWordInt): use the front using edit call.
123
124         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
125         the parameter overwrite class variable inset.
126
127         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
128
129         * insettext.C (saveLyXTextState): check for invalid cursor-par.
130         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
131
132         * insettabular.C (calculate_dimensions_of_cells): let's try to call
133         update only for fixed with cells.
134         (resetPos): try to fix the lockup on spellchecking or s&r.
135
136         * insettext.C (update): comment this out as it seems first wrong
137         and second not needed anymore!
138         (some functions): call reinitLyXText() only in update() in all other
139         positions set only need_update = INIT.
140
141 2001-08-08  Juergen Vigna  <jug@sad.it>
142
143         * insettabular.C (setPos): fixed wrong actrow < rows() check.
144
145         * insettext.C (insetUnlock): remove double-space on inset unlock.
146
147         * insetcollapsable.C (draw): fix returned x when label > inset-width.
148
149         * insettabular.C (update): fixed cursor positon after an insert.
150         (insetAllowed): do not allow to insert insets when not inside the
151         inset!
152         (draw): clear below an inset too as it could have changed height.
153
154         * inset.C (getMaxWidth): fixed width for inset in inset.
155
156         * insettext.C (update): small fix.
157
158         * insettabular.C (tabularFeatures): added selection support to
159         DELETE_ROW/DELETE_COLUMN.
160
161 2001-08-07  Juergen Vigna  <jug@sad.it>
162
163         * inset.C (getMaxWidth): recoded and all it's implementations!
164
165         * insettext.C (init,setParagraph+constructors): cleanups
166         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
167         are new and I want do a save/restore of the cursor position which is
168         not possible anymore.
169
170         * insetcollapsable.C (searchBackward): recollapse inset if not found.
171         (searchBackward): ditto
172         (selectNextWord): ditto
173
174 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
175
176         * insetlatexaccent.C (checkContents): Add some debug messages
177
178 2001-08-07  Juergen Vigna  <jug@sad.it>
179
180         * insetert.C (read): don't use InsetCollapsable::read as we don't
181         write the collapsed status anymore only the status.
182         (write): ditto.
183
184 2001-08-06  Juergen Vigna  <jug@sad.it>
185
186         * insetert.C (set_latex_font): use LyXText's setFont directly.
187
188         * insettext.C (drawFrame): fixed one time more the right position
189         and size of the frame!
190
191         * insetert.C (~InsetERT): hide the dialog.
192         (showInsetDialog): added implementation
193         (open): ditto
194         (close): ditto
195         (status): new function for the status of the ERT inset (3-state).
196         (write): output also the status of the inset for readback!
197         (read): readback the status if available otherwise use collapsed_.
198
199         * insettext.C (edit): small fix of setting the position, which could
200         have gone < 0.
201
202         * insetert.C (width): implement this function for inlined viewing.
203         Added minimum width of 10 pixels!
204
205         * insetminipage.C (InsetMinipage): just change the colors a bit so
206         that border/background is a bit more visible. We will remove this
207         anyway for 1.2.0!
208
209         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
210         function for getting the important widths for drawing in various
211         functions and in LyXText.
212         (draw): fixed up a bit (frame drawing/clearing)
213
214 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
215
216         * inset.C (convertFont): delete method. not used. 
217
218 2001-08-03  Juergen Vigna  <jug@sad.it>
219
220         * insettext.C (setFont): don't call for a draw update if we're just
221         changing the cursor font!
222
223 2001-08-02  Juergen Vigna  <jug@sad.it>
224
225         * insettext.C (draw): clear the background with the right color if
226         needed. Update myself if x&max-width changed and return without doing
227         anything. Let the update code handle the right stuff.
228
229         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
230         inside another inset.
231
232 2001-08-01  Juergen Vigna  <jug@sad.it>
233
234         * insetcollapsable.C (update): added an in_update bool so we avoid
235         reentering.
236
237         * insettabular.C (update): added an in_update bool so we avoid
238         reentering.
239
240         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
241         selection problem.
242         (update): added an in_update bool so we avoid reentering.
243
244         * insettabular.C (localDispatch): clear col/row selection when doing
245         something else inside an inset.
246
247         * insettext.C (getLyXText): fixed bug when requesting a recursive
248         insettext!
249
250 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
251
252         * insetcite.C (latex): Paranoia check. Make sure that there is no
253         whitespace between the citation keys.
254
255 2001-07-31  Juergen Vigna  <jug@sad.it>
256
257         * inset.h (nodraw): make the set function also const so that this
258         can be called from inside other const functions.
259
260         * insetcollapsable.h: removed inline variable and moved it over
261         to the only user InsetERT.
262
263         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
264         inset opening immediately therein lying insets dialogs!
265
266         * insetert.C (localDispatch): set the font also if we don't have any
267         chars in this paragraph, otherwise if we delete all of em and start
268         writing we have the wrong font.
269         (inlined): added
270         (draw): implemented for inline support
271         (insetButtonRelease): ditto.
272
273 2001-07-30  Juergen Vigna  <jug@sad.it>
274
275         * insettext.C (reinitLyXText): new function to reinit the insets
276         text after lot's of paragraph changes. Use this instead of the
277         cache.clear() which is VERY dangerous.
278
279         * insetfloat.C (insetButtonRelease): we should only show the dialog
280         if we press on the label otherwise we have problems to open mouse
281         button 3 dialogs inside this float (f.ex. of a tabular!)
282
283 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
284
285         * insetert.C: change back to "ERT"
286
287         * insetfloat.C: handliign of RMB on label added.
288
289 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
290
291         * insetgraphicsParams.C: #include LOstream.h here.
292
293         * insetfoot.h: remove InsetFoot:: qualifier.
294
295 2001-07-29  Baruch Even  <baruch@lyx.org>
296
297         * ChangeLog: Hiding time travel evidence.
298
299         * insetgraphicsParams.h:
300         * insetgraphicsParams.C: 
301         * insetgraphics.C: Added horizontal scale option, it actually scales both
302         directions since it keeps image proportions.
303
304         * insetgraphics.C: Fixed EPS detection to be non-hacky.
305
306 2001-07-29  Baruch Even  <baruch@lyx.org>
307
308         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
309         convert PNG/GIF/JPG to EPS, assume the rest are EPS already. 
310
311         HACKY! Will need to add an EPS detection routine like old InsetFig does!
312
313 2001-07-29  Baruch Even  <baruch@lyx.org>
314
315         * insetgraphics.C: Added EPSI to be an alias of EPS.
316
317 2001-07-29  Baruch Even  <baruch@lyx.org>
318
319         * insetgraphics.C: Change GRAPHICS to Graphics.
320         Changed image conversion rules (documented at the beginning of file).
321
322 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
323
324         * insetert.C (get_new_label): int -> Paragraph::size_type to get
325         std::min working.
326
327         * insetgraphics.C: added a using std::endl directive.
328
329         * insetcommand.h (getScreenLabel): removed pure virtual function,
330         as it duplicates that in InsetButton.
331
332         * insetbib.[Ch] (getScreenLabel):
333         * insetbutton.[Ch] (getScreenLabel):
334         * insetcite.[Ch] (getScreenLabel):
335         * insetert.[Ch] (getScreenLabel):
336         * insetexternal.[Ch] (getScreenLabel):
337         * insetfloatlist.[Ch] (getScreenLabel):
338         * insetinclude.[Ch] (getScreenLabel):
339         * insetindex.[Ch] (getScreenLabel):
340         * insetlabel.h (getScreenLabel):
341         * insetparent.[Ch] (getScreenLabel):
342         * insetref.[Ch] (getScreenLabel):
343         * insettoc.[Ch] (getScreenLabel):
344         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
345
346         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
347         the label.
348         (validate): remove check on "cite" when using natbib.
349
350 2001-07-26  Baruch Even  <baruch@lyx.org>
351
352         * insetgraphics.C (draw): changed casting to be in one place rather than 
353         all over the function.
354
355         * insetgraphics.h:
356         * insetgraphics.C (read): Added compatibility reads of InsetFig.
357         
358         * insetgraphicsParams.h:
359         * insetgraphicsParams.C: 
360         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
361
362 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
363
364         * insetfoot.C (validate): Added method to ensure that the
365         right bit of LaTeX is emitted.
366
367         * insetfoot.h: Added validate method to set the correct
368         LaTeXFeatures bit for the special footnote code.
369
370 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
371
372         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
373         quotes
374
375 2001-07-27  Juergen Vigna  <jug@sad.it>
376
377         * inset.h: remove not used font variable in parameter.
378         removed checkInsertChar in UpdatableInset as it was equal to
379         the one in Inset and so not needed.
380
381         * insetert.C (checkInsertChar): implementation of function
382         checkInsertChar.
383
384         * inset.h: added new function checkInsertChar.
385
386         * various files: added c-tor and clone() function.
387         
388         * insetcollapsable.h: removed clone function here as this should
389         be only realized in REAL insets and added it to all collapsable
390         insets! (with the copy-constructor).
391
392 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
393
394         * insetminipage.C (read): handle missing parameters more gracefully
395
396         * insetcollapsable.C (read): handel missing collapsed more gracefully
397
398 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
399
400         * insetfloat.C (read): handle missing parameters.
401
402         * insettext.C (read): handle old latex end_inset
403
404         * insetert.C (setButtonLabel): new method
405         (init): use it, to set the dynamic label correctly
406         (read): use it
407
408         * Makefile.am (EXTRA_DIST): add files that is not part or the
409         binary here.
410
411         * insetcollapsable.h: remove autocollapsable (no users), remove
412         draw_label, change_label_with_text and companion code. Remove args
413         from some methods.
414         * insetert.[Ch]: move here instead (only user)
415
416         * inset.h: rename private variable name to name_, make
417         selectNextWord return a const string. make getInsetName return a
418         string const &. Remove bool from open, add close.
419
420         * Makefile.am: don't compile insetlist, insetsection
421         and insettheorem
422
423 2001-07-24  Juergen Vigna  <jug@sad.it>
424
425         * insetert.C (InsetERT): put init after the paragraph initialization,
426         as otherwise we don't set the draw_label right.
427
428         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
429         insets with the mouse without having strange selections.
430         (edit): if the inset was collapsed and we open it here then put the
431         cursor always at the beginning of the inset.
432         (get_new_label): 15 instead of 10 max chars in the label.
433
434         * insetert.C (localDispatch): added and handle various stuff we
435         need to handle here (font setting on paragraph break, not permitted
436         layout setting, etc.).
437
438         * inset.h: added default copy-consturctor and implemented this in
439         various insets with the change to use this in the clone function!
440
441 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * insetminipage.C (InsetMinipage): set background color to red :)
444
445 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
448         draw frame mode is LOCKED.
449
450         * insetcollapsable.C (edit): 
451         (insetButtonRelease): set update status to full when
452         opening inset.
453
454         * insettext.C (clearInset): 
455         * insettabular.C (draw): 
456         * insetlatexaccent.C (draw): honor background color.
457
458         * inset.h: new member background_color_, initialized to
459         LColor::inherit.
460
461         * inset.C (backgroundColor): new method.
462         (setBackgroundColor): new method.
463
464         * insetert.C (init): new method, called by the ctors.
465         (InsetERT): when inserting contents, make sure the font is
466         ALL_INHERIT.
467
468         * insetnote.C (InsetNote): when inserting content, remove trailing
469         newline
470         (init): set background color to LColor::note
471
472 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
473
474         * insetcollapsable.C: adjust
475
476         * insetbutton.C: adjust
477
478 2001-07-23  Juergen Vigna  <jug@sad.it>
479
480         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
481         parameter on the _collapsed function (was not needed) and call
482         always width_collapsed().
483
484         * insetert.C (InsetERT): use setLabel with "true" flag.
485
486         * insetcollapsable.C: modified various functions to set the draw_label
487         string right in any condition.
488         (setLabel): added a bool parameter to set change_label_with_text.
489
490         * insetcollapsable.h: added draw_label string which is set to the
491         actual drawn label-string, while label is the original static label
492         of this collapsable inset. Added bool change_label_with_text to set
493         if we want that the label changes to the start of the InsetText's
494         text when collabpsed. You can set this flag with the setLabel funciton.
495         Added bool inlined for inlined collapsable insets, but not handled
496         yet.
497
498         * insetcollapsable.C (get_new_label): added should get a new label
499         from the InsetText beginning (for now 10 chars).
500
501 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
502
503         * insetquotes.C (latex): fix the handling of french double quotes
504         when not using the french pachage.
505
506 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * insetcollapsable.h: make WidthCollapsed mutable.
509
510         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
511         InsetPrintIndex returns INDEX_PRINT_CODE.
512
513         * inset.h: add INDEX_PRINT_CODE
514
515         * insetcollapsable.C (draw): init widthCollapsed if necessary
516         (width): ditto.
517
518         * insetquotes.C (width): use the local language, not the document
519         language.
520         (draw): ditto.
521         (dispString): add additional spacing for all french languages,
522         like fr_CA.
523         (validate): make it work when there is no default language
524
525         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
526
527         * insetnote.C (init): new method, called by the constructors
528         (InsetNote): new constructor with contents passed as a string
529
530 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * insetfootlike.C (insetAllowed): disallow float in footlike.
533
534         * insetert.C (InsetERT): add collapsed argument to the constrctor
535         with contents.
536
537 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
538
539         * insetindex.h: shut off warning
540
541 2001-07-20  Juergen Vigna  <jug@sad.it>
542
543         * insetcollapsable.C (update): recoded hopefully works now!
544
545 2001-07-19  Juergen Vigna  <jug@sad.it>
546
547         * most files: implemented the below new introduced function.
548         
549         * inset.h: added new edit(BufferView *, bool front) method to be able
550         to enter an inset from the front/back without knowing x/y positions
551         and baselines inside the inset. So I just can tell the inset activate
552         me and set the cursor on the front/back of yourself.
553
554 2001-07-18  Juergen Vigna  <jug@sad.it>
555
556         * insetcollapsable.C (edit): fixed hopefully the y parameter which
557         is givven to the InsetText.
558         (insetButtonPress): ditto
559         (insetButtonRelease): ditto
560         (insetMotionNotify): ditto
561
562 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
563
564         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
565         LIGATURE_BREAK, since the name is so stupid.
566
567 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
568
569         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
570         the default InsetCollapsable methods. I.e., it can insert anything.
571         (write) output the name of the inset, not some silly hack for
572         compatability with the old InsetInfo.
573         
574         * insetinfo.[Ch]: removed.
575         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
576         now collapsable, but functionality is otherwise identical to InsetInfo.
577
578         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
579
580 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
583         reformatting
584
585         * insetquotes.C: general cleanup
586         (dispString): add spaces inside french double quotes.
587         (latex): ditto. Moreover, treat first the case where the frenchb
588         or french options have been given.
589
590 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
591
592         * insetcite.[Ch] (latex, validate): new methods, required for natbib
593         support.
594
595 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
596
597         * figinset.C (RegisterFigure): Print debug message only when
598         current_view is available.
599
600 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * many files: update to match the change below
603
604         * inset.h (insetAllowed): renamed from insertInsetAllowed;
605         implement the version which takes an inset here.
606
607         * insetcollapsable.[Ch]: implement open and isOpen
608
609         * inset.h: remove insertInsetAllowed from Inset
610         (open): new method, to open or close an inset
611         (isOpen): returns the status of an inset
612         (isCollapsable, colapse): removed
613
614 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
615
616         * insetquotes.C (dispString): display french guillemets when using
617         ISO8859-15.
618
619 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
620
621         * insetcollapsable.h: remove bogus return statements
622
623 2001-07-18  Juergen Vigna  <jug@sad.it>
624
625         * insettabular.C (selectNextWord): fixed spellchecking for the
626         first cell of a tabular (wasn't entered!)
627         (getLyXText): changed to enter automatically insettext and return
628         it's LyXText if we're locked.
629
630 2001-07-17  Juergen Vigna  <jug@sad.it>
631
632         * various files: implemented the below functions.
633         
634         * inset.h: added functions
635         - virtual string selectNextWord(BufferView *, float & value) const;
636         - virtual void selectSelectedWord(BufferView *) { return; }
637         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
638         needed for spellchecking correctly!
639
640 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
641
642         * insetert.C (latex): write out all paragraphs.
643
644 2001-07-17  Baruch Even  <baruch@lyx.org>
645
646         * insetgraphics.C (draw): Removed unneeded casts.
647
648 2001-07-16  Juergen Vigna  <jug@sad.it>
649
650         * insettext.C (update): fixed small oversight (reset lt to 0).
651
652 2001-07-14  Baruch Even  <baruch@lyx.org>
653
654         * insetgraphics.h:
655         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
656
657 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
658
659         Consistent use of Lsstream.h:
660         * figinset.C: removed using std::ostringstream directive.
661
662         * insetgraphics.C (createLatexOptions):
663         * insetinclude.C (unique_id):
664         std::ostringstream -> ostringstream.
665         * insettext.C (localDispatch): std::istringstream -> istringstream.
666
667 2001-07-13  Juergen Vigna  <jug@sad.it>
668
669         * insetfloat.C (insertInsetAllowed): added missing const_cast.
670
671         * insetcollapsable.C (getLockingInset): ditto.
672
673 2001-07-12  Juergen Vigna  <jug@sad.it>
674
675         * insetcollapsable.h: added implementation of new function for
676         collapsable status.
677
678         * various files: added implementation of new insertInsetAllowed-func
679         and redone the function a bit more.
680         
681         * inset.h: added isCollapsable(), bool collapsed(),
682         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
683
684         * insetfloat.C (insertInsetAllowed): make a bit more checks.
685
686         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
687         LyXText which is marked for removal while we're using it!
688
689         * insettext.h: added private LyXText * lt to use it to assure we are
690         not deleting our LyXText while we're using it!
691
692 2001-07-11  Juergen Vigna  <jug@sad.it>
693
694         * insettext.C (insertInset): check if we are before the inset after
695         inserting it! This check IS needed. Remove the Undo-Call as it is
696         called in LyXText::insertInset!
697
698         * insettext.h: added struct InnerCache.
699
700         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
701         that we ONLY delete the LyXText in the getLyXText() routine. So we
702         are sure we don't delete LyXText while someone is working with it!
703
704 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
705
706         * insetexternal.C: (*it). -> it->
707         * insettext.C: ditto
708
709 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
710
711         * insetcollapsable.C (edit): always open collapsed insets (even if
712         they are not autocollapsable)
713
714         * insetcommand.C (operator=): simplify.
715
716 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
717
718         * insetert.C (latex): handle META_NEWLINE
719
720 2001-07-09  Juergen Vigna  <jug@sad.it>
721
722         * insetert.h: a normal InsetText can insert insets, but we won't.
723
724         * inset.h: return default "false" on insertInsetAllowed and implement
725         this function where a returnvalue != "false" is needed.
726
727 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
728
729         * insetert.C (InsetERT): new contructor
730
731 2001-07-06  Juergen Vigna  <jug@sad.it>
732
733         * a lot of files: added implementation of the below new functions
734         and the change to clone(). Also the call of the new undo-functions
735         where needed.
736         
737         * inset.h: added an inset_id, added functions getParFromID,
738         getInsetFromID, firstParagraph, cursor and id functions, added
739         bool same_ids to clone function.
740
741 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
742
743         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
744         of BufferView * and shared_ptr<LyXText>
745
746 2001-07-05  Juergen Vigna  <jug@sad.it>
747
748         * insettext.C (clear): deleted also the cache not only LyXText.
749         (setParagraphData): ditto.
750
751 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
752
753         * insetfloat.C (latex): let the specific placement take presedence
754         if set, otherwise choose document placement if set, otherwise just
755         use float default placement.
756
757 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
758
759         * insettext.C (localDispatch): call CutAndPaste::'s static method
760         directly. 
761
762 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
763
764         * insetbib.C: no meed to include forms.h here.
765
766 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
767
768         * insettext.C: added using std::make_pair directive.
769
770 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
771
772         * insettext.C (getLyXText): avoid multiple lookups, and simplify
773         slightly
774         (deleteLyXText): ditto
775         (resizeLyXText): ditto
776
777 2001-07-02  Juergen Vigna  <jug@sad.it>
778
779         * insettext.C (getLyXText): introduce a cache in getLyXText so that
780         following calls are only returned the right pointer without the over
781         head to search in the map.
782         (various funcs): reset the cached_bview variable as this signs that
783         the cache is not valid anymore.
784
785 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
786
787         * insettabular.C (clone): do not copy the LyXTabular twice
788
789 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
790
791         * insettext.h (TEXT): delete method
792
793 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
794
795         * insetmarginal.C (latex): 
796         * insetfoot.C (latex): fix spacing of notes in LaTeX
797
798         * insettext.C (localDispatch): use .c_str() on istringstream
799         constructor argument.
800
801 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
802
803         * insettoc.h:
804         * insettoc.C:
805         * inseturl.h:
806         * inseturl.C: fix method names in these to begin
807           with small char too, so they inherit
808  
809 2001-06-28  Juergen Vigna  <jug@sad.it>
810
811         * insettext.C (setFont): fixed font settings using toggleFree()
812         instead of setFont().
813
814 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
815
816         * Change a lot of method names to begin with a small char.
817         Changes to a lot of files because of this.
818
819 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
820
821         * insetfloatlist.C (Write): std:: qualify ostream
822         (Latex): ditto
823
824 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
825
826         * figinset.C:
827         * inset.C:
828         * insetgraphics.C: send debug output to Debug::INFO instead of
829         Debug::ANY.
830
831 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
832
833         * insettabular.h:
834         * insettabular.C (getStatus): update to use func_status
835
836 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
837
838         * insetref.C (DocBook): added support for cross-references without
839         a name.
840
841 2001-06-26  The LyX Project  <jug@sad.it>
842
843         * insetref.C:
844         * insetref.h:
845         * insetlabel.C:
846         * insetlabel.h: removed escape method and moved it to
847         support/lstrings.h.
848
849 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
850
851         * insettabular.C (getMaxWidth): do the speedup in a different way,
852         remove dead code
853
854 2001-06-24  The LyX Project  <Asger>
855
856         * insettabular.C (getMaxWidth): We cache a mapping from
857         inset to cell in order to speed this method up.
858
859 2001-06-24  The LyX Project  <Asger>
860
861         * insettext.C: Optimized InsetText::draw or something.
862
863 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
864
865         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
866
867 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
868
869         * inset.h: name change from lyxinset.h
870
871 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
872
873         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
874
875 2001-06-14  Juergen Vigna  <jug@sad.it>
876
877         * insettext.C (draw): removed warnings.
878
879 2001-06-13  Juergen Vigna  <jug@sad.it>
880
881         * insettabular.C (nodraw): only go down the tree if we don't have
882         that flag set otherwise it's obvious that we don't want to draw.
883         (LocalDispatch): do also an update if we have an undispached result.
884
885 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
886
887         * insetcite.C:
888         * insetgraphicsParams.C:
889         * insettext.C: removed // -*- C++ -*- as first line.
890
891 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
892
893         * lyxinset.h (resizeLyXText): shut off warning about unused
894         parameter "force" 
895
896 2001-06-07  Juergen Vigna  <jug@sad.it>
897
898         * insettext.C (resizeLyXText): honor the new force flag.
899
900         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
901
902         * insettabular.C (deleteLyXText): new function
903
904 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
905
906         * insettheorem.C:
907         * insetminipage.C:
908         * insetlist.C:
909         * insetfootlike.C:
910         * insetfloat.C:
911         * insetert.C:
912         * insetcollapsable.C:
913         * insetcaption.C: LColor tidy
914          
915 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
916
917         * figinset.C: fix typo
918
919 2001-06-01  Juergen Vigna  <jug@sad.it>
920
921         * insettabular.C (resetPos): small hack so that scroll is not set to
922         0 when we are in the last column of a tabular. This is a problem we
923         have because of constats 20 offset on both directions, so this can
924         cause on the limit an endless loop.
925
926         * insettext.C (SetFont): forgot that we can have locking insets ;)
927
928 2001-05-31  Juergen Vigna  <jug@sad.it>
929
930         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
931
932 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
933
934         * figinset.C: add using std:: directive for the C functions which
935         need that.
936
937 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
938
939         * insetfloat.C (Write): write out wide info
940         (Read): read the wide info
941         (Latex): use the wide info when creating latex.
942
943         * insettext.C: adjust
944
945         * insetgraphics.[Ch] (statusMessage): change to return string
946         (width): adjust
947         (draw): adjust
948
949         * figinset.C (runqueue): add std::
950         (Recompute): ditto
951
952 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
953
954         * insetcite.C (Ascii): add std:: qualifier
955
956 2001-05-28  Juergen Vigna  <jug@sad.it>
957
958         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
959         a endless-width inset (maxWidth < 0).
960         (Edit): change language only if not equal.
961
962         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
963
964         * insettext.C (draw): fixed draw/clear of InsetText-Frame
965
966 2001-05-16  Juergen Vigna  <jug@sad.it>
967
968         * insettext.C (selectAll): added
969         (clearSelection): added
970
971         * insettabular.C (SetFont): now we may set a font on a whole selection!
972         (getSelection): added helper function.
973
974 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
975
976         * insetcite.C (Ascii): Add method.
977
978 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
979
980         * figinset.C:
981         * insetbib.C: fix path for OS/2 & Win32
982
983 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
984
985         * insetfoot.C (Latex): don't use % after footnote.
986
987 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
988
989         * insettext.C (Read): use clear
990         (SetParagraphData): use LyXParagraph copy constructor instead of clone
991
992 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
993
994         * insetfloatlist.h: add a bunch of std:: qualifiers.
995
996 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
997
998         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
999         FLOAT_LIST_CODE, renumber code list.
1000
1001         * insettoc.C (getScreenLabel): remove support for float lists
1002         (LyxCode): ditto
1003         (Ascii): ditto
1004
1005         * insetfloatlist.[Ch]: new files
1006
1007         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1008
1009 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
1010
1011         * insettabular.C (LocalDispatch):
1012         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1013         method 
1014
1015 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1016
1017         * insettext.C: remvoe !NEW_INSETS cruft
1018
1019         * insettabular.C: remove !NEW_INSETS cruft
1020
1021         * insetcollapsable.h: remove !NEW_INSETS cruft
1022
1023         * insetbib.C: remove !NEW_INSETS cruft
1024
1025 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1026
1027         * insettoc.C: hack to make listof algorithm work
1028
1029 2001-04-20  Juergen Vigna  <jug@sad.it>
1030
1031         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1032
1033 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1034
1035         * insetquotes.C (Latex): improve the guard against
1036         unwanted !` and ?` ligatures. This should really be done in
1037         another place (to catch all this ligatures at low-level).
1038
1039 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1040
1041         * insettext.C (init): remvoe leftovers from cursor_visible change
1042         (draw): use c++ cast
1043         (LocalDispatch): dispatch LFUN_MESSAGE
1044
1045         * insettabular.C (InsetTabular): remove leftovers from
1046         cursor_visible, and scoped_ptr changes
1047         (draw): use c++ cast
1048
1049         * insetcollapsable.C (draw): use c++ cast
1050
1051         * ExternalTemplate.h: inherit privaely from noncopyable
1052         * insetcommand.h: ditto
1053         * insetinclude.h: ditto
1054
1055 2001-04-16  Allan Rae  <rae@lyx.org>
1056
1057         * insettoc.C (Ascii): 
1058         * insettext.C (draw): 
1059         * insettabular.C (setPos): 
1060         * insetminipage.C (Read): 
1061         * insetfloat.C (placement): 
1062         * insetcaption.C (Ascii, DocBook): 
1063         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1064         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1065
1066 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
1067
1068         * insetexternal.h:
1069         * insetexternal.C: set view on Clone. Add _ to private members.
1070
1071 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1072
1073         * insettext.C (InsetText): fix new
1074         (InsetText): reindent some, simplify deletion of par list 
1075         (clear): simplify deletion of par list, fix new
1076         (SetParagraphData): simplify deletion of par list
1077
1078         * insettabular.[Ch] (getLabelList): implement new method
1079
1080 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1081
1082         * lyxinset.h: do not include gettext.h...
1083
1084         * inset.C:
1085         * insetcaption.C:
1086         * insetexternal.C:
1087         * insetgraphics.C:
1088         * insetindex.C:
1089         * insetlabel.C:
1090         * insetlatexaccent.C:
1091         * insetminipage.C:
1092         * insetquotes.C:
1093         * insettabular.C:
1094         * inseturl.C: ... and do it here instead
1095
1096 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1097
1098         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1099
1100         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
1101
1102         * insetcollapsable.[Ch] (getLabelList): implement
1103
1104         * insettext.[Ch] (getLabelList): implement
1105
1106         * insettext.h: reindent
1107
1108         * insettabular.h: make tabular a scoped_ptr
1109
1110         * insettext.C (init): adjust for cursor_visible
1111         (ToggleInsetCursor): constify asc and desc, font, adjust for
1112         cursor_visible
1113         (ShowInsetCursor): constify asc and desc, font, adjust for
1114         cursor_visible
1115         (HideInsetCursor): adjust for cursor_visible
1116
1117         * insettabular.C: reindent some
1118         (InsetTabular): adjust for scoped_ptr and cursor_visible
1119         (InsetTabular): ditto
1120         (~InsetTabular): delete delete
1121         (Clone): adjust for scoped_ptr
1122         (Read): constify old_format, adjust for scoped_ptr, move init of
1123         token
1124         (draw): constify tx, localize loop vars.
1125         some other localization of variables, remove double initilizatons.
1126         
1127         * insetfoot.C: remove using std::ostream, add ostream where needed
1128
1129 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1130
1131         * lyxinset.h: some reindentaion, use initializer list for
1132         constructro.
1133         UpdatableInset: make cursor_visible a private var add
1134         public isCursorVisible(), add protected toggleCursorVisible() and
1135         proctected setCursorVisible(bool), make scroll call the Inset::scroll
1136
1137         * insettoc.C: remvoe using decl
1138         (getScreenLabel): make cmdname donst
1139         (LyxCode): ditto
1140         (Ascii): ditto
1141         (Ascii): don't use endl
1142
1143         * insetfootlike.C: remove using decl at file scope and add std::
1144         where needed
1145         * insetmarginal.C: ditto
1146
1147         * insetfoot.C: some reformatting
1148
1149         * insetfloat.C (InsetButtonRelease): adjust the hit area
1150
1151         * insetert.C (SetFont): some reformatting
1152
1153         * insetcollapsable.C: some reformatting and constification
1154         (Clone): comment out.
1155         * insetcollapsable.h: some reformatting
1156         (Clone): comment out.
1157         
1158         * inset.C: reindent
1159         (scroll): simplify
1160
1161 2001-03-30  Juergen Vigna  <jug@sad.it>
1162
1163         * insetcollapsable.h: changen *inset to be a InsetText inset.
1164         
1165         * some files: changed to reflect the above change.
1166
1167 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1168
1169         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1170         InsetExternal::Params.
1171         Added operator==() and operator!=() for the Params struct.
1172
1173 2001-03-29  Juergen Vigna  <jug@sad.it>
1174
1175         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1176         BufferView *.
1177
1178         * insetminipage.C: removed widthp_ and all it's functions and changed
1179         to use new %-lengths of LyXLength.
1180
1181 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1182
1183         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1184
1185 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1186
1187         * insetgraphicsParams.C (operator!=): new function, needed by the
1188         ControlGraphics class.
1189
1190 2001-03-28  Juergen Vigna  <jug@sad.it>
1191
1192         * insettext.C (InsetButtonPress): only enter !inset if button == 2
1193         (checkAndActivateInset): don't use the values returned from
1194         call to bv->checkInsetHit.
1195
1196         * insetminipage.C (Clone): set special minipage values.
1197
1198         * insetcollapsable.C (draw): changed to draw the button in the
1199         upper left corner outside the textinset.
1200         (ascent): changed because of different drawing 
1201         (descent): ditto
1202         (width): ditto
1203         (Edit): ditto
1204         (InsetButtonPress): ditto
1205         (InsetButtonRelease): ditto
1206         (InsetMotionNotify): ditto
1207
1208 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
1209
1210         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1211         contain a suffix.
1212         (Clone): ditto
1213
1214 2001-03-26  Juergen Vigna  <jug@sad.it>
1215
1216         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1217
1218         * insettext.C (ShowInsetDialog): implemented above function.
1219
1220         * insettabular.C (ShowInsetDialog): ditto
1221
1222         * insetminipage.C (ShowInsetDialog): ditto
1223
1224 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1225
1226         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1227         InsetInclude::Params. Don't store a buffer * in Params. Store the
1228         master file name instead.
1229
1230 2001-03-23  Juergen Vigna  <jug@sad.it>
1231
1232         * insetcollapsable.C (InsetMotionNotify):
1233         (InsetButtonRelease): 
1234         (InsetButtonPress): fixed y-offset (minipages).
1235
1236         * insettext.C (draw): force a FULL update if cleared == true.
1237
1238         * insetcollapsable.C (draw): Lars forgotten entry for changing this
1239         routine to draw the minipages on its position-flag.
1240         (InsetInInsetY): give back the right y position, because of minipage
1241         position-flag.
1242
1243 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1244
1245         * insetfloat.h
1246         * insetfloat.C (DocBook): docbook export code.
1247
1248 2001-03-22  Juergen Vigna  <jug@sad.it>
1249
1250         * insetminipage.C (getMaxWidth): added function to set the drawing
1251         width!
1252         (Read): should work now!
1253
1254         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1255         if we create a new inset.
1256
1257 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1258
1259         * figinset.C (fl_set_preemptive_callback): moved definition outside
1260         of namespace anon.
1261
1262 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1263
1264         * insetminipage.C (Read): prepare for reading of minipage arguments.
1265
1266 2001-03-18  Baruch Even  <baruch@lyx.org>
1267
1268         * insetgraphics.C: Minor cleanups of the comments and code.
1269
1270 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1271
1272         * insetminipage.C (InsetMinipage): default to not collapsed
1273
1274 2001-03-16  Juergen Vigna  <jug@sad.it>
1275
1276         * insetminipage.C (width): modified with to be a string
1277         (widthp): added widthp (for % width) support functions.
1278         (InsetButtonRelease): added to open the options dialog on button==3.
1279         (~InsetMinipage): added to hide the dialog.
1280
1281         * insetminipage.h: added hideDialog signal
1282
1283 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1284
1285         * insetminipage.h: change the order or Position to match
1286         LyXParagraph::MINIPAGE_ALIGNMENT
1287
1288         * several files: remvoe CXX_WORKING_NAMESPACES
1289
1290         * ExternalTemplate.h: noncopyable is in namespace boost
1291         * insetinclude.h: ditto
1292         * insetcommand.h: ditto
1293
1294 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1295
1296         * insettext.C (Edit): #else# -> #else.
1297         * insettoc.C: added using directive.
1298
1299 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1300
1301         * insetminipage.h: add pos, inner_pos, width and height. + getters
1302         and setters for all of them.
1303
1304 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1305
1306         * insetinclude.C (Latex): Do not exit when the textclass of the
1307         included file differ from the textclass of the parent file.
1308
1309 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1310
1311         * ExternalTemplate.C (read): the reading of external insets now checks
1312         for \end_inset and removes it form the input stream.
1313
1314 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1315
1316         * ExternalTemplate.h:
1317         * ExternalTemplate.C:
1318         * insetexternal.h:
1319         * insetexternal.C: move form to GUII
1320
1321 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1322
1323         * insetinclude.h:
1324         * insetinclude.C: add InsetIncludeParams, use
1325         composition rather than derivation of InsetCommand
1326
1327 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1328
1329         * insettoc.C (Ascii): use the Buffer typedefs
1330
1331 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1332
1333         * insettoc.C (Ascii): implement for dynamic number of lists
1334
1335         * insetcaption.[Ch]: update from new_insets branch
1336         * insetfloat.[Ch]: ditto
1337         
1338 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1339
1340         * insetexternal.C:
1341         * figinset.C: use new File Dialog
1342
1343 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1344
1345         * insettext.C: changes becuase of ParagraphParameters.
1346
1347 2001-02-28  Baruch Even  <baruch@ev-en.org>
1348
1349         * insetgraphics.C (updateInset): Changed due to the change in
1350         GraphicsCache.
1351
1352 2001-02-26  Juergen Vigna  <jug@sad.it>
1353
1354         * insettext.C (SetFont): Set Undo only if we have selection (as it is
1355         handled in LyXText).
1356
1357 2001-02-23  Juergen Vigna  <jug@sad.it>
1358
1359         * insettext.C (draw): some small repainting fixes.
1360         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1361
1362         * inset.C (LocalDispatch): changed action to be a kb_action (as it
1363         should be) and not an int.
1364         
1365         * insettabular.C (LocalDispatch): ditto
1366
1367         * insettext.C (LocalDispatch): ditto
1368
1369         * insetcollapsable.C (LocalDispatch): ditto
1370
1371 2001-02-22  Juergen Vigna  <jug@sad.it>
1372
1373         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1374         DISPATCH it and we don't have a locking_inset.
1375
1376 2001-02-21  Baruch Even  <baruch@ev-en.org>
1377
1378         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1379         instead of GraphicsCacheItem *.
1380
1381 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1382
1383         * insetcollapsable.C (getLyXText): add const qualifier to second
1384         parameter. 
1385
1386 2001-02-22  Juergen Vigna  <jug@sad.it>
1387
1388         * insettext.C (getLyXText): honor the recursive parameter.
1389         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1390
1391         * inset.C (getLyXText): added bool recursive parameter.
1392
1393         * insettext.C (SetUpdateStatus): or the update codes.
1394         (draw): check need_update with &.
1395         (InsetButtonPress): set no_selection to not put a selection when
1396         entering an inset and it is redraws in another spot.
1397
1398         * insettext.h: made need_update an int.
1399
1400 2001-02-20  Baruch Even  <baruch@ev-en.org>
1401
1402         * insetgraphics.h:
1403         * insetgraphisc.C: Changed to use better semantics when loading images
1404         for inline view. Now it doesn't keep the pixmap itself but it's holder.
1405
1406 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1407
1408         * insetcommand.h:
1409         * inseterror.h:
1410         * insetgraphics.C: change name of "hide" signal to "hideDialog",
1411         consistent with InsetTabular.
1412         
1413 2001-02-19  Juergen Vigna  <jug@sad.it>
1414
1415         * insettabular.C (LocalDispatch): implement PAGE up/down.
1416
1417         * insettext.C (draw): clear all of it on need_update==INIT too!
1418
1419         * insettabular.C (InsetUnlock): always clear the selection.
1420
1421         * inset.C (scroll): normally we only want to scroll the inset until
1422         it is fully visible so if top_x + offset > 20 then just set scx to 0.
1423
1424 2001-02-14  Juergen Vigna  <jug@sad.it>
1425
1426         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1427         (resetPos): fixed scroll behaviour.
1428         (LocalDispatch): do an update if moving cursor inside a table cell
1429         requests a scroll of the tabular.
1430
1431 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1432
1433         * insettext.C (textWidth): constify local var
1434
1435         * insettabular.C: small cleanup.
1436
1437         * insetfoot.C (Latex): constify local var
1438
1439         * insetcollapsable.C: small cleanup.
1440
1441         * figinset.C (runqueue): use compare instead of strcmp
1442
1443 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1444
1445         * insettext.C:
1446         * insetinfo.C: remove cruft
1447
1448 2001-02-14  Juergen Vigna  <jug@sad.it>
1449
1450         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1451
1452 2001-02-13  Juergen Vigna  <jug@sad.it>
1453
1454         * insettext.C (InsertInset): don't move left (is this right?)
1455
1456         * insettabular.C (LocalDispatch): use of the no_draw variable
1457
1458         * insettabular.h: new no_draw variable to stop redraw
1459
1460         * insettabular.C (TabularFeatures): fixed update for alignment change
1461
1462 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1463
1464         * insetinclude.C:
1465         * insetbib.h:
1466         * insetbib.C: move dialogs to frontends/
1467
1468 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1469
1470         * insettext.C (LocalDispatch): Restore the language if the inset
1471         becomes empty.
1472
1473 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1474
1475         * insettext.C (moveRightIntern): Update the selection cursor.
1476         (moveLeftIntern): Ditto.
1477
1478 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1479
1480         * Makefile.am: remove BoundingBox.h
1481
1482         * BoundingBox.h: removed
1483
1484 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
1485         
1486         * insettext.C (LocalDispatch): Update selection cursor when moving 
1487         cursor to the right.
1488         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1489         (moveLeftIntern): Ditto.
1490
1491 2001-02-05  Baruch Even  <baruch.even@writeme.com>
1492
1493         * insetgraphics.C: Updated automatic image conversion, it now goes into
1494         temporary directory instead of with the image itself.
1495
1496 2001-01-21  Baruch Even  <baruch@ev-en.org>
1497
1498         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1499         to EPS or PNG when needed (support bitmap graphics).
1500
1501 2000-11-02  Baruch Even  <baruch@ev-en.org>
1502
1503         * insetgraphics.C:
1504         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1505         and removal of commented out code.
1506
1507 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1508
1509         * insetbib.C (callback): Update citations if the key has changed.
1510
1511 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1512
1513         * insetbib.C (InsetBibKey): Better computation of default key.
1514         (getScreenLabel) Show both the key and the label.
1515         (getBibLabel): New method.
1516         (callback): Force a redraw if the inset have been changed.
1517
1518 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1519
1520         * insetref.C (getType, getName): Move methods from 
1521         src/frontends/xforms/FormRef.C.
1522
1523 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1524
1525         * insettabular.C: Various improvements (use only one dummy position).
1526
1527 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
1528
1529         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1530         par->bibkey->width. This fixes the crashes when running without
1531         gui or when having included documents.
1532
1533 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
1534
1535         * insetcommand.C (getAsString, setFromString): Cleanup.
1536
1537 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
1538
1539         * insetref.C: Add the array InsetRef::types that contains
1540         information about all supported reference types.
1541
1542 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1543
1544         * lyxinset.h: remove trailing comma in enum.
1545
1546 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
1547
1548         * insettext.C: kill LyXBell.