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