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