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