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