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