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