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