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