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