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