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