]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
c3750d95d56fd9504c9620d2bd4734ad91a4cfdf
[lyx.git] / src / insets / ChangeLog
1 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * insetminipage.C (InsetMinipage): set background color to red :)
4
5 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
8         draw frame mode is LOCKED.
9
10         * insetcollapsable.C (edit): 
11         (insetButtonRelease): set update status to full when
12         opening inset.
13
14         * insettext.C (clearInset): 
15         * insettabular.C (draw): 
16         * insetlatexaccent.C (draw): honor background color.
17
18         * inset.h: new member background_color_, initialized to
19         LColor::inherit.
20
21         * inset.C (backgroundColor): new method.
22         (setBackgroundColor): new method.
23
24         * insetert.C (init): new method, called by the ctors.
25         (InsetERT): when inserting contents, make sure the font is
26         ALL_INHERIT.
27
28         * insetnote.C (InsetNote): when inserting content, remove trailing
29         newline
30         (init): set background color to LColor::note
31
32 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
33
34         * insetcollapsable.C: adjust
35
36         * insetbutton.C: adjust
37
38 2001-07-23  Juergen Vigna  <jug@sad.it>
39
40         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
41         parameter on the _collapsed function (was not needed) and call
42         always width_collapsed().
43
44         * insetert.C (InsetERT): use setLabel with "true" flag.
45
46         * insetcollapsable.C: modified various functions to set the draw_label
47         string right in any condition.
48         (setLabel): added a bool parameter to set change_label_with_text.
49
50         * insetcollapsable.h: added draw_label string which is set to the
51         actual drawn label-string, while label is the original static label
52         of this collapsable inset. Added bool change_label_with_text to set
53         if we want that the label changes to the start of the InsetText's
54         text when collabpsed. You can set this flag with the setLabel funciton.
55         Added bool inlined for inlined collapsable insets, but not handled
56         yet.
57
58         * insetcollapsable.C (get_new_label): added should get a new label
59         from the InsetText beginning (for now 10 chars).
60
61 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
62
63         * insetquotes.C (latex): fix the handling of french double quotes
64         when not using the french pachage.
65
66 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * insetcollapsable.h: make WidthCollapsed mutable.
69
70         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
71         InsetPrintIndex returns INDEX_PRINT_CODE.
72
73         * inset.h: add INDEX_PRINT_CODE
74
75         * insetcollapsable.C (draw): init widthCollapsed if necessary
76         (width): ditto.
77
78         * insetquotes.C (width): use the local language, not the document
79         language.
80         (draw): ditto.
81         (dispString): add additional spacing for all french languages,
82         like fr_CA.
83         (validate): make it work when there is no default language
84
85         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
86
87         * insetnote.C (init): new method, called by the constructors
88         (InsetNote): new constructor with contents passed as a string
89
90 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * insetfootlike.C (insetAllowed): disallow float in footlike.
93
94         * insetert.C (InsetERT): add collapsed argument to the constrctor
95         with contents.
96
97 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
98
99         * insetindex.h: shut off warning
100
101 2001-07-20  Juergen Vigna  <jug@sad.it>
102
103         * insetcollapsable.C (update): recoded hopefully works now!
104
105 2001-07-19  Juergen Vigna  <jug@sad.it>
106
107         * most files: implemented the below new introduced function.
108         
109         * inset.h: added new edit(BufferView *, bool front) method to be able
110         to enter an inset from the front/back without knowing x/y positions
111         and baselines inside the inset. So I just can tell the inset activate
112         me and set the cursor on the front/back of yourself.
113
114 2001-07-18  Juergen Vigna  <jug@sad.it>
115
116         * insetcollapsable.C (edit): fixed hopefully the y parameter which
117         is givven to the InsetText.
118         (insetButtonPress): ditto
119         (insetButtonRelease): ditto
120         (insetMotionNotify): ditto
121
122 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
123
124         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
125         LIGATURE_BREAK, since the name is so stupid.
126
127 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
128
129         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
130         the default InsetCollapsable methods. I.e., it can insert anything.
131         (write) output the name of the inset, not some silly hack for
132         compatability with the old InsetInfo.
133         
134         * insetinfo.[Ch]: removed.
135         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
136         now collapsable, but functionality is otherwise identical to InsetInfo.
137
138         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
139
140 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
143         reformatting
144
145         * insetquotes.C: general cleanup
146         (dispString): add spaces inside french double quotes.
147         (latex): ditto. Moreover, treat first the case where the frenchb
148         or french options have been given.
149
150 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
151
152         * insetcite.[Ch] (latex, validate): new methods, required for natbib
153         support.
154
155 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
156
157         * figinset.C (RegisterFigure): Print debug message only when
158         current_view is available.
159
160 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * many files: update to match the change below
163
164         * inset.h (insetAllowed): renamed from insertInsetAllowed;
165         implement the version which takes an inset here.
166
167         * insetcollapsable.[Ch]: implement open and isOpen
168
169         * inset.h: remove insertInsetAllowed from Inset
170         (open): new method, to open or close an inset
171         (isOpen): returns the status of an inset
172         (isCollapsable, colapse): removed
173
174 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
175
176         * insetquotes.C (dispString): display french guillemets when using
177         ISO8859-15.
178
179 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
180
181         * insetcollapsable.h: remove bogus return statements
182
183 2001-07-18  Juergen Vigna  <jug@sad.it>
184
185         * insettabular.C (selectNextWord): fixed spellchecking for the
186         first cell of a tabular (wasn't entered!)
187         (getLyXText): changed to enter automatically insettext and return
188         it's LyXText if we're locked.
189
190 2001-07-17  Juergen Vigna  <jug@sad.it>
191
192         * various files: implemented the below functions.
193         
194         * inset.h: added functions
195         - virtual string selectNextWord(BufferView *, float & value) const;
196         - virtual void selectSelectedWord(BufferView *) { return; }
197         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
198         needed for spellchecking correctly!
199
200 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
201
202         * insetert.C (latex): write out all paragraphs.
203
204 2001-07-17  Baruch Even  <baruch@lyx.org>
205
206         * insetgraphics.C (draw): Removed unneeded casts.
207
208 2001-07-16  Juergen Vigna  <jug@sad.it>
209
210         * insettext.C (update): fixed small oversight (reset lt to 0).
211
212 2001-07-14  Baruch Even  <baruch@lyx.org>
213
214         * insetgraphics.h:
215         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
216
217 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
218
219         Consistent use of Lsstream.h:
220         * figinset.C: removed using std::ostringstream directive.
221
222         * insetgraphics.C (createLatexOptions):
223         * insetinclude.C (unique_id):
224         std::ostringstream -> ostringstream.
225         * insettext.C (localDispatch): std::istringstream -> istringstream.
226
227 2001-07-13  Juergen Vigna  <jug@sad.it>
228
229         * insetfloat.C (insertInsetAllowed): added missing const_cast.
230
231         * insetcollapsable.C (getLockingInset): ditto.
232
233 2001-07-12  Juergen Vigna  <jug@sad.it>
234
235         * insetcollapsable.h: added implementation of new function for
236         collapsable status.
237
238         * various files: added implementation of new insertInsetAllowed-func
239         and redone the function a bit more.
240         
241         * inset.h: added isCollapsable(), bool collapsed(),
242         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
243
244         * insetfloat.C (insertInsetAllowed): make a bit more checks.
245
246         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
247         LyXText which is marked for removal while we're using it!
248
249         * insettext.h: added private LyXText * lt to use it to assure we are
250         not deleting our LyXText while we're using it!
251
252 2001-07-11  Juergen Vigna  <jug@sad.it>
253
254         * insettext.C (insertInset): check if we are before the inset after
255         inserting it! This check IS needed. Remove the Undo-Call as it is
256         called in LyXText::insertInset!
257
258         * insettext.h: added struct InnerCache.
259
260         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
261         that we ONLY delete the LyXText in the getLyXText() routine. So we
262         are sure we don't delete LyXText while someone is working with it!
263
264 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
265
266         * insetexternal.C: (*it). -> it->
267         * insettext.C: ditto
268
269 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
270
271         * insetcollapsable.C (edit): always open collapsed insets (even if
272         they are not autocollapsable)
273
274         * insetcommand.C (operator=): simplify.
275
276 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
277
278         * insetert.C (latex): handle META_NEWLINE
279
280 2001-07-09  Juergen Vigna  <jug@sad.it>
281
282         * insetert.h: a normal InsetText can insert insets, but we won't.
283
284         * inset.h: return default "false" on insertInsetAllowed and implement
285         this function where a returnvalue != "false" is needed.
286
287 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
288
289         * insetert.C (InsetERT): new contructor
290
291 2001-07-06  Juergen Vigna  <jug@sad.it>
292
293         * a lot of files: added implementation of the below new functions
294         and the change to clone(). Also the call of the new undo-functions
295         where needed.
296         
297         * inset.h: added an inset_id, added functions getParFromID,
298         getInsetFromID, firstParagraph, cursor and id functions, added
299         bool same_ids to clone function.
300
301 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
302
303         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
304         of BufferView * and shared_ptr<LyXText>
305
306 2001-07-05  Juergen Vigna  <jug@sad.it>
307
308         * insettext.C (clear): deleted also the cache not only LyXText.
309         (setParagraphData): ditto.
310
311 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
312
313         * insetfloat.C (latex): let the specific placement take presedence
314         if set, otherwise choose document placement if set, otherwise just
315         use float default placement.
316
317 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
318
319         * insettext.C (localDispatch): call CutAndPaste::'s static method
320         directly. 
321
322 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
323
324         * insetbib.C: no meed to include forms.h here.
325
326 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
327
328         * insettext.C: added using std::make_pair directive.
329
330 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
331
332         * insettext.C (getLyXText): avoid multiple lookups, and simplify
333         slightly
334         (deleteLyXText): ditto
335         (resizeLyXText): ditto
336
337 2001-07-02  Juergen Vigna  <jug@sad.it>
338
339         * insettext.C (getLyXText): introduce a cache in getLyXText so that
340         following calls are only returned the right pointer without the over
341         head to search in the map.
342         (various funcs): reset the cached_bview variable as this signs that
343         the cache is not valid anymore.
344
345 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
346
347         * insettabular.C (clone): do not copy the LyXTabular twice
348
349 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
350
351         * insettext.h (TEXT): delete method
352
353 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
354
355         * insetmarginal.C (latex): 
356         * insetfoot.C (latex): fix spacing of notes in LaTeX
357
358         * insettext.C (localDispatch): use .c_str() on istringstream
359         constructor argument.
360
361 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
362
363         * insettoc.h:
364         * insettoc.C:
365         * inseturl.h:
366         * inseturl.C: fix method names in these to begin
367           with small char too, so they inherit
368  
369 2001-06-28  Juergen Vigna  <jug@sad.it>
370
371         * insettext.C (setFont): fixed font settings using toggleFree()
372         instead of setFont().
373
374 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
375
376         * Change a lot of method names to begin with a small char.
377         Changes to a lot of files because of this.
378
379 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
380
381         * insetfloatlist.C (Write): std:: qualify ostream
382         (Latex): ditto
383
384 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
385
386         * figinset.C:
387         * inset.C:
388         * insetgraphics.C: send debug output to Debug::INFO instead of
389         Debug::ANY.
390
391 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
392
393         * insettabular.h:
394         * insettabular.C (getStatus): update to use func_status
395
396 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
397
398         * insetref.C (DocBook): added support for cross-references without
399         a name.
400
401 2001-06-26  The LyX Project  <jug@sad.it>
402
403         * insetref.C:
404         * insetref.h:
405         * insetlabel.C:
406         * insetlabel.h: removed escape method and moved it to
407         support/lstrings.h.
408
409 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
410
411         * insettabular.C (getMaxWidth): do the speedup in a different way,
412         remove dead code
413
414 2001-06-24  The LyX Project  <Asger>
415
416         * insettabular.C (getMaxWidth): We cache a mapping from
417         inset to cell in order to speed this method up.
418
419 2001-06-24  The LyX Project  <Asger>
420
421         * insettext.C: Optimized InsetText::draw or something.
422
423 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
424
425         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
426
427 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
428
429         * inset.h: name change from lyxinset.h
430
431 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
432
433         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
434
435 2001-06-14  Juergen Vigna  <jug@sad.it>
436
437         * insettext.C (draw): removed warnings.
438
439 2001-06-13  Juergen Vigna  <jug@sad.it>
440
441         * insettabular.C (nodraw): only go down the tree if we don't have
442         that flag set otherwise it's obvious that we don't want to draw.
443         (LocalDispatch): do also an update if we have an undispached result.
444
445 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
446
447         * insetcite.C:
448         * insetgraphicsParams.C:
449         * insettext.C: removed // -*- C++ -*- as first line.
450
451 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
452
453         * lyxinset.h (resizeLyXText): shut off warning about unused
454         parameter "force" 
455
456 2001-06-07  Juergen Vigna  <jug@sad.it>
457
458         * insettext.C (resizeLyXText): honor the new force flag.
459
460         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
461
462         * insettabular.C (deleteLyXText): new function
463
464 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
465
466         * insettheorem.C:
467         * insetminipage.C:
468         * insetlist.C:
469         * insetfootlike.C:
470         * insetfloat.C:
471         * insetert.C:
472         * insetcollapsable.C:
473         * insetcaption.C: LColor tidy
474          
475 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
476
477         * figinset.C: fix typo
478
479 2001-06-01  Juergen Vigna  <jug@sad.it>
480
481         * insettabular.C (resetPos): small hack so that scroll is not set to
482         0 when we are in the last column of a tabular. This is a problem we
483         have because of constats 20 offset on both directions, so this can
484         cause on the limit an endless loop.
485
486         * insettext.C (SetFont): forgot that we can have locking insets ;)
487
488 2001-05-31  Juergen Vigna  <jug@sad.it>
489
490         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
491
492 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
493
494         * figinset.C: add using std:: directive for the C functions which
495         need that.
496
497 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
498
499         * insetfloat.C (Write): write out wide info
500         (Read): read the wide info
501         (Latex): use the wide info when creating latex.
502
503         * insettext.C: adjust
504
505         * insetgraphics.[Ch] (statusMessage): change to return string
506         (width): adjust
507         (draw): adjust
508
509         * figinset.C (runqueue): add std::
510         (Recompute): ditto
511
512 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
513
514         * insetcite.C (Ascii): add std:: qualifier
515
516 2001-05-28  Juergen Vigna  <jug@sad.it>
517
518         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
519         a endless-width inset (maxWidth < 0).
520         (Edit): change language only if not equal.
521
522         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
523
524         * insettext.C (draw): fixed draw/clear of InsetText-Frame
525
526 2001-05-16  Juergen Vigna  <jug@sad.it>
527
528         * insettext.C (selectAll): added
529         (clearSelection): added
530
531         * insettabular.C (SetFont): now we may set a font on a whole selection!
532         (getSelection): added helper function.
533
534 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
535
536         * insetcite.C (Ascii): Add method.
537
538 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
539
540         * figinset.C:
541         * insetbib.C: fix path for OS/2 & Win32
542
543 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
544
545         * insetfoot.C (Latex): don't use % after footnote.
546
547 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
548
549         * insettext.C (Read): use clear
550         (SetParagraphData): use LyXParagraph copy constructor instead of clone
551
552 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
553
554         * insetfloatlist.h: add a bunch of std:: qualifiers.
555
556 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
557
558         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
559         FLOAT_LIST_CODE, renumber code list.
560
561         * insettoc.C (getScreenLabel): remove support for float lists
562         (LyxCode): ditto
563         (Ascii): ditto
564
565         * insetfloatlist.[Ch]: new files
566
567         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
568
569 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
570
571         * insettabular.C (LocalDispatch):
572         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
573         method 
574
575 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
576
577         * insettext.C: remvoe !NEW_INSETS cruft
578
579         * insettabular.C: remove !NEW_INSETS cruft
580
581         * insetcollapsable.h: remove !NEW_INSETS cruft
582
583         * insetbib.C: remove !NEW_INSETS cruft
584
585 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
586
587         * insettoc.C: hack to make listof algorithm work
588
589 2001-04-20  Juergen Vigna  <jug@sad.it>
590
591         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
592
593 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
594
595         * insetquotes.C (Latex): improve the guard against
596         unwanted !` and ?` ligatures. This should really be done in
597         another place (to catch all this ligatures at low-level).
598
599 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
600
601         * insettext.C (init): remvoe leftovers from cursor_visible change
602         (draw): use c++ cast
603         (LocalDispatch): dispatch LFUN_MESSAGE
604
605         * insettabular.C (InsetTabular): remove leftovers from
606         cursor_visible, and scoped_ptr changes
607         (draw): use c++ cast
608
609         * insetcollapsable.C (draw): use c++ cast
610
611         * ExternalTemplate.h: inherit privaely from noncopyable
612         * insetcommand.h: ditto
613         * insetinclude.h: ditto
614
615 2001-04-16  Allan Rae  <rae@lyx.org>
616
617         * insettoc.C (Ascii): 
618         * insettext.C (draw): 
619         * insettabular.C (setPos): 
620         * insetminipage.C (Read): 
621         * insetfloat.C (placement): 
622         * insetcaption.C (Ascii, DocBook): 
623         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
624         an unrecognised preprocessor directive.  So ensure they're wrapped. 
625
626 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
627
628         * insetexternal.h:
629         * insetexternal.C: set view on Clone. Add _ to private members.
630
631 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
632
633         * insettext.C (InsetText): fix new
634         (InsetText): reindent some, simplify deletion of par list 
635         (clear): simplify deletion of par list, fix new
636         (SetParagraphData): simplify deletion of par list
637
638         * insettabular.[Ch] (getLabelList): implement new method
639
640 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
641
642         * lyxinset.h: do not include gettext.h...
643
644         * inset.C:
645         * insetcaption.C:
646         * insetexternal.C:
647         * insetgraphics.C:
648         * insetindex.C:
649         * insetlabel.C:
650         * insetlatexaccent.C:
651         * insetminipage.C:
652         * insetquotes.C:
653         * insettabular.C:
654         * inseturl.C: ... and do it here instead
655
656 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
657
658         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
659
660         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
661
662         * insetcollapsable.[Ch] (getLabelList): implement
663
664         * insettext.[Ch] (getLabelList): implement
665
666         * insettext.h: reindent
667
668         * insettabular.h: make tabular a scoped_ptr
669
670         * insettext.C (init): adjust for cursor_visible
671         (ToggleInsetCursor): constify asc and desc, font, adjust for
672         cursor_visible
673         (ShowInsetCursor): constify asc and desc, font, adjust for
674         cursor_visible
675         (HideInsetCursor): adjust for cursor_visible
676
677         * insettabular.C: reindent some
678         (InsetTabular): adjust for scoped_ptr and cursor_visible
679         (InsetTabular): ditto
680         (~InsetTabular): delete delete
681         (Clone): adjust for scoped_ptr
682         (Read): constify old_format, adjust for scoped_ptr, move init of
683         token
684         (draw): constify tx, localize loop vars.
685         some other localization of variables, remove double initilizatons.
686         
687         * insetfoot.C: remove using std::ostream, add ostream where needed
688
689 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
690
691         * lyxinset.h: some reindentaion, use initializer list for
692         constructro.
693         UpdatableInset: make cursor_visible a private var add
694         public isCursorVisible(), add protected toggleCursorVisible() and
695         proctected setCursorVisible(bool), make scroll call the Inset::scroll
696
697         * insettoc.C: remvoe using decl
698         (getScreenLabel): make cmdname donst
699         (LyxCode): ditto
700         (Ascii): ditto
701         (Ascii): don't use endl
702
703         * insetfootlike.C: remove using decl at file scope and add std::
704         where needed
705         * insetmarginal.C: ditto
706
707         * insetfoot.C: some reformatting
708
709         * insetfloat.C (InsetButtonRelease): adjust the hit area
710
711         * insetert.C (SetFont): some reformatting
712
713         * insetcollapsable.C: some reformatting and constification
714         (Clone): comment out.
715         * insetcollapsable.h: some reformatting
716         (Clone): comment out.
717         
718         * inset.C: reindent
719         (scroll): simplify
720
721 2001-03-30  Juergen Vigna  <jug@sad.it>
722
723         * insetcollapsable.h: changen *inset to be a InsetText inset.
724         
725         * some files: changed to reflect the above change.
726
727 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
728
729         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
730         InsetExternal::Params.
731         Added operator==() and operator!=() for the Params struct.
732
733 2001-03-29  Juergen Vigna  <jug@sad.it>
734
735         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
736         BufferView *.
737
738         * insetminipage.C: removed widthp_ and all it's functions and changed
739         to use new %-lengths of LyXLength.
740
741 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
742
743         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
744
745 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
746
747         * insetgraphicsParams.C (operator!=): new function, needed by the
748         ControlGraphics class.
749
750 2001-03-28  Juergen Vigna  <jug@sad.it>
751
752         * insettext.C (InsetButtonPress): only enter !inset if button == 2
753         (checkAndActivateInset): don't use the values returned from
754         call to bv->checkInsetHit.
755
756         * insetminipage.C (Clone): set special minipage values.
757
758         * insetcollapsable.C (draw): changed to draw the button in the
759         upper left corner outside the textinset.
760         (ascent): changed because of different drawing 
761         (descent): ditto
762         (width): ditto
763         (Edit): ditto
764         (InsetButtonPress): ditto
765         (InsetButtonRelease): ditto
766         (InsetMotionNotify): ditto
767
768 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
769
770         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
771         contain a suffix.
772         (Clone): ditto
773
774 2001-03-26  Juergen Vigna  <jug@sad.it>
775
776         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
777
778         * insettext.C (ShowInsetDialog): implemented above function.
779
780         * insettabular.C (ShowInsetDialog): ditto
781
782         * insetminipage.C (ShowInsetDialog): ditto
783
784 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
785
786         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
787         InsetInclude::Params. Don't store a buffer * in Params. Store the
788         master file name instead.
789
790 2001-03-23  Juergen Vigna  <jug@sad.it>
791
792         * insetcollapsable.C (InsetMotionNotify):
793         (InsetButtonRelease): 
794         (InsetButtonPress): fixed y-offset (minipages).
795
796         * insettext.C (draw): force a FULL update if cleared == true.
797
798         * insetcollapsable.C (draw): Lars forgotten entry for changing this
799         routine to draw the minipages on its position-flag.
800         (InsetInInsetY): give back the right y position, because of minipage
801         position-flag.
802
803 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
804
805         * insetfloat.h
806         * insetfloat.C (DocBook): docbook export code.
807
808 2001-03-22  Juergen Vigna  <jug@sad.it>
809
810         * insetminipage.C (getMaxWidth): added function to set the drawing
811         width!
812         (Read): should work now!
813
814         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
815         if we create a new inset.
816
817 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
818
819         * figinset.C (fl_set_preemptive_callback): moved definition outside
820         of namespace anon.
821
822 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
823
824         * insetminipage.C (Read): prepare for reading of minipage arguments.
825
826 2001-03-18  Baruch Even  <baruch@lyx.org>
827
828         * insetgraphics.C: Minor cleanups of the comments and code.
829
830 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
831
832         * insetminipage.C (InsetMinipage): default to not collapsed
833
834 2001-03-16  Juergen Vigna  <jug@sad.it>
835
836         * insetminipage.C (width): modified with to be a string
837         (widthp): added widthp (for % width) support functions.
838         (InsetButtonRelease): added to open the options dialog on button==3.
839         (~InsetMinipage): added to hide the dialog.
840
841         * insetminipage.h: added hideDialog signal
842
843 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
844
845         * insetminipage.h: change the order or Position to match
846         LyXParagraph::MINIPAGE_ALIGNMENT
847
848         * several files: remvoe CXX_WORKING_NAMESPACES
849
850         * ExternalTemplate.h: noncopyable is in namespace boost
851         * insetinclude.h: ditto
852         * insetcommand.h: ditto
853
854 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
855
856         * insettext.C (Edit): #else# -> #else.
857         * insettoc.C: added using directive.
858
859 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
860
861         * insetminipage.h: add pos, inner_pos, width and height. + getters
862         and setters for all of them.
863
864 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
865
866         * insetinclude.C (Latex): Do not exit when the textclass of the
867         included file differ from the textclass of the parent file.
868
869 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
870
871         * ExternalTemplate.C (read): the reading of external insets now checks
872         for \end_inset and removes it form the input stream.
873
874 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
875
876         * ExternalTemplate.h:
877         * ExternalTemplate.C:
878         * insetexternal.h:
879         * insetexternal.C: move form to GUII
880
881 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
882
883         * insetinclude.h:
884         * insetinclude.C: add InsetIncludeParams, use
885         composition rather than derivation of InsetCommand
886
887 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
888
889         * insettoc.C (Ascii): use the Buffer typedefs
890
891 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
892
893         * insettoc.C (Ascii): implement for dynamic number of lists
894
895         * insetcaption.[Ch]: update from new_insets branch
896         * insetfloat.[Ch]: ditto
897         
898 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
899
900         * insetexternal.C:
901         * figinset.C: use new File Dialog
902
903 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
904
905         * insettext.C: changes becuase of ParagraphParameters.
906
907 2001-02-28  Baruch Even  <baruch@ev-en.org>
908
909         * insetgraphics.C (updateInset): Changed due to the change in
910         GraphicsCache.
911
912 2001-02-26  Juergen Vigna  <jug@sad.it>
913
914         * insettext.C (SetFont): Set Undo only if we have selection (as it is
915         handled in LyXText).
916
917 2001-02-23  Juergen Vigna  <jug@sad.it>
918
919         * insettext.C (draw): some small repainting fixes.
920         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
921
922         * inset.C (LocalDispatch): changed action to be a kb_action (as it
923         should be) and not an int.
924         
925         * insettabular.C (LocalDispatch): ditto
926
927         * insettext.C (LocalDispatch): ditto
928
929         * insetcollapsable.C (LocalDispatch): ditto
930
931 2001-02-22  Juergen Vigna  <jug@sad.it>
932
933         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
934         DISPATCH it and we don't have a locking_inset.
935
936 2001-02-21  Baruch Even  <baruch@ev-en.org>
937
938         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
939         instead of GraphicsCacheItem *.
940
941 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
942
943         * insetcollapsable.C (getLyXText): add const qualifier to second
944         parameter. 
945
946 2001-02-22  Juergen Vigna  <jug@sad.it>
947
948         * insettext.C (getLyXText): honor the recursive parameter.
949         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
950
951         * inset.C (getLyXText): added bool recursive parameter.
952
953         * insettext.C (SetUpdateStatus): or the update codes.
954         (draw): check need_update with &.
955         (InsetButtonPress): set no_selection to not put a selection when
956         entering an inset and it is redraws in another spot.
957
958         * insettext.h: made need_update an int.
959
960 2001-02-20  Baruch Even  <baruch@ev-en.org>
961
962         * insetgraphics.h:
963         * insetgraphisc.C: Changed to use better semantics when loading images
964         for inline view. Now it doesn't keep the pixmap itself but it's holder.
965
966 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
967
968         * insetcommand.h:
969         * inseterror.h:
970         * insetgraphics.C: change name of "hide" signal to "hideDialog",
971         consistent with InsetTabular.
972         
973 2001-02-19  Juergen Vigna  <jug@sad.it>
974
975         * insettabular.C (LocalDispatch): implement PAGE up/down.
976
977         * insettext.C (draw): clear all of it on need_update==INIT too!
978
979         * insettabular.C (InsetUnlock): always clear the selection.
980
981         * inset.C (scroll): normally we only want to scroll the inset until
982         it is fully visible so if top_x + offset > 20 then just set scx to 0.
983
984 2001-02-14  Juergen Vigna  <jug@sad.it>
985
986         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
987         (resetPos): fixed scroll behaviour.
988         (LocalDispatch): do an update if moving cursor inside a table cell
989         requests a scroll of the tabular.
990
991 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
992
993         * insettext.C (textWidth): constify local var
994
995         * insettabular.C: small cleanup.
996
997         * insetfoot.C (Latex): constify local var
998
999         * insetcollapsable.C: small cleanup.
1000
1001         * figinset.C (runqueue): use compare instead of strcmp
1002
1003 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1004
1005         * insettext.C:
1006         * insetinfo.C: remove cruft
1007
1008 2001-02-14  Juergen Vigna  <jug@sad.it>
1009
1010         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1011
1012 2001-02-13  Juergen Vigna  <jug@sad.it>
1013
1014         * insettext.C (InsertInset): don't move left (is this right?)
1015
1016         * insettabular.C (LocalDispatch): use of the no_draw variable
1017
1018         * insettabular.h: new no_draw variable to stop redraw
1019
1020         * insettabular.C (TabularFeatures): fixed update for alignment change
1021
1022 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1023
1024         * insetinclude.C:
1025         * insetbib.h:
1026         * insetbib.C: move dialogs to frontends/
1027
1028 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1029
1030         * insettext.C (LocalDispatch): Restore the language if the inset
1031         becomes empty.
1032
1033 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1034
1035         * insettext.C (moveRightIntern): Update the selection cursor.
1036         (moveLeftIntern): Ditto.
1037
1038 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1039
1040         * Makefile.am: remove BoundingBox.h
1041
1042         * BoundingBox.h: removed
1043
1044 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
1045         
1046         * insettext.C (LocalDispatch): Update selection cursor when moving 
1047         cursor to the right.
1048         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1049         (moveLeftIntern): Ditto.
1050
1051 2001-02-05  Baruch Even  <baruch.even@writeme.com>
1052
1053         * insetgraphics.C: Updated automatic image conversion, it now goes into
1054         temporary directory instead of with the image itself.
1055
1056 2001-01-21  Baruch Even  <baruch@ev-en.org>
1057
1058         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1059         to EPS or PNG when needed (support bitmap graphics).
1060
1061 2000-11-02  Baruch Even  <baruch@ev-en.org>
1062
1063         * insetgraphics.C:
1064         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1065         and removal of commented out code.
1066
1067 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1068
1069         * insetbib.C (callback): Update citations if the key has changed.
1070
1071 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1072
1073         * insetbib.C (InsetBibKey): Better computation of default key.
1074         (getScreenLabel) Show both the key and the label.
1075         (getBibLabel): New method.
1076         (callback): Force a redraw if the inset have been changed.
1077
1078 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1079
1080         * insetref.C (getType, getName): Move methods from 
1081         src/frontends/xforms/FormRef.C.
1082
1083 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1084
1085         * insettabular.C: Various improvements (use only one dummy position).
1086
1087 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
1088
1089         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1090         par->bibkey->width. This fixes the crashes when running without
1091         gui or when having included documents.
1092
1093 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
1094
1095         * insetcommand.C (getAsString, setFromString): Cleanup.
1096
1097 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
1098
1099         * insetref.C: Add the array InsetRef::types that contains
1100         information about all supported reference types.
1101
1102 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1103
1104         * lyxinset.h: remove trailing comma in enum.
1105
1106 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
1107
1108         * insettext.C: kill LyXBell.