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