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