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