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