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