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