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