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