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