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