]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
6da95bf9e98e0957a8a7ffe3c5a2b33a1c5da8f0
[lyx.git] / src / insets / ChangeLog
1 2003-03-31  John Levon  <levon@movementarian.org>
2
3         * insetgraphics.C:
4         * insetgraphicsParams.C: use_gui moved to lyx_gui
5
6 2003-03-31  John Levon  <levon@movementarian.org>
7
8         * insettext.C: Alert fix
9
10 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
11
12         * insettext.C (ascent): adjust for RowList
13         (descent): ditto
14         (draw): ditto
15         (getLyXText): adjust
16         (toggleSelection): adjust
17
18         * insetminipage.C (localDispatch): adjust for RowList
19
20         * insetert.C (localDispatch): adjust for RowList
21         (getMaxWidth): adjust for RowList
22
23 2003-03-29  John Levon  <levon@movementarian.org>
24
25         * insetert.C: Alert cleanup
26
27 2003-03-29  John Levon  <levon@movementarian.org>
28
29         * insettabular.C: Alert fix
30
31 2003-03-28  John Levon  <levon@movementarian.org>
32
33         * insetfloat.C: reset label on INSET_MODIFY
34
35 2003-03-28  John Levon  <levon@movementarian.org>
36
37         * insetgraphicsParams.C: read subcaptionText as a whole line
38         (bug 656)
39
40 2003-03-28  John Levon  <levon@movementarian.org>
41
42         * insettext.C: remove unused prototypes
43
44 2003-03-25  Angus Leeming  <leeming@lyx.org>
45
46         * insetbibitem.C (localDispatch): repaint the view after modifying
47         a bibitem inset in case the maximum InsetBibitem width has changed.
48
49 2003-03-25  John Levon  <levon@movementarian.org>
50
51         * insettext.C:
52         * insettabular.C: LyXText renamings
53
54 2003-03-24  John Levon  <levon@movementarian.org>
55
56         * insettext.C: remove some dead code. Fix bug 972 and
57           related by posting a repaint in updateLocal(), and making
58           the SEL functions set SELECTION.
59
60 2003-03-22  John Levon  <levon@movementarian.org>
61
62         * inset.h:
63         * inset.C: remove no-longer-needed topx_set
64
65         * insetcollapsable.h:
66         * insetcollapsable.C: remove dead code
67
68         * insetminipage.C:
69         * insetert.C: rebreak the rows when a possible
70           change in size is made, and reset the cursor
71           (bug 962, bug 965)
72
73         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
74
75         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
76           topx_set. Fix drawing errors for clearInset(). Remove
77           some unnecessary uses of topx, which should die.
78
79         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
80           is no longer needed. Replace it with an ugly hack.
81
82 2003-03-20  John Levon  <levon@movementarian.org>
83
84         * inset.h:
85         * insetcollapsable.h:
86         * insetcollapsable.C:
87         * insetert.h:
88         * insetert.C:
89         * insetminipage.C:
90         * insetminipage.C:
91         * insettabular.h:
92         * insettabular.C:
93         * insettext.h:
94         * insettext.C: remove spurious font parameter
95         from update(). Fix drawing of ERT insets inside
96         insets (bug 966). Remove unused mark_dirty from
97         tabular's updateLocal()
98
99 2003-03-19  John Levon  <levon@movementarian.org>
100
101         * insetfloat.h:
102         * insetfloat.C:
103         * insetinclude.h:
104         * insetinclude.C:
105         * insetminipage.h:
106         * insetminipage.C:
107         * insetwrap.h:
108         * insetwrap.C: remove unused getter/setters
109
110 2003-03-19  John Levon  <levon@movementarian.org>
111
112         * several files: bv->updateInset() doesn't take
113         a bool mark_dirty any more
114
115 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
116
117         * adjust for BufferView* arg removal from lyxtext.
118
119 2003-03-17  John Levon  <levon@movementarian.org>
120
121         * most files: remove the "cleared" parameter
122         to draw in favour of always clearing. Associated
123         code removal.
124
125 2003-03-16  John Levon  <levon@movementarian.org>
126
127         * insettext.C: remove unused s.refresh
128
129 2003-03-13  Angus Leeming  <leeming@lyx.org>
130
131         * insettext.C (edit): replace Dialogs::updateParagraph with
132         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
133
134 2003-03-13 André Pönitz <poenitz@gmx.net>
135
136         * Makefile.am: insert insetenv
137
138         * insethenv.[Ch]: new files, currently inactive
139
140 2003-03-12  John Levon  <levon@movementarian.org>
141
142         * Makefile.am:
143         * inset.h:
144         * inset.C:
145         * insetert.h:
146         * insetert.C:
147         * insetnewline.h:
148         * insetnewline.C:
149         * insetquotes.C:
150         * insettext.C: use new insetnewline
151
152 2003-03-12  John Levon  <levon@movementarian.org>
153
154         * insettext.C: readToken became readParagraph
155
156 2003-03-12  John Levon  <levon@movementarian.org>
157
158         * insettext.C: use parlist iterator for reading contents
159
160 2003-03-12  John Levon  <levon@movementarian.org>
161
162         * insettext.C: name change to readToken()
163
164 2003-03-11 André Pönitz <poenitz@gmx.net>
165
166         * Makefile.am: insert insethfill
167
168         * insethfill.[Ch]: new files
169
170 2003-03-10  Angus Leeming  <leeming@lyx.org>
171
172         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
173         BufferView * arg.
174         (hideDialog): calls the new static Dialogs::hide() method.
175
176         * insetbibitem.C (edit):
177         * insetbibtex.C (edit):
178         * insetcite.C (edit):
179         * insetcommand.C (localDispatch):
180         * inseterror.C (d-tor):
181         * insetert.C (showInsetDialog):
182         * insetexternal.C (localDispatch, edit):
183         * insetfloat.C (localDispatch, showInsetDialog):
184         * insetfloatlist.C (edit):
185         * insetgraphics.C (localDispatch, edit):
186         * insetinclude.C (localDispatch, edit):
187         * insetindex.C (edit):
188         * insetlabel.C (edit):
189         * insetminipage.C (localDispatch, showInsetDialog):
190         * insetref.C (edit):
191         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
192         resetPos, showInsetDialog, openLayoutDialog):
193         * insettoc.C (edit):
194         * inseturl.C (edit):
195         * insetwrap.C (localDispatch, showInsetDialog):
196         changes due to the changed MailInset interface.
197
198 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
199
200         * insetfloat.h: Set default placement to an empty string.
201
202 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
203
204         * insettext.C (latex): addjust call to latexParagraphs.
205
206 2003-03-10  Angus Leeming  <leeming@lyx.org>
207
208         * mailinset.C: warn the user if the BufferView has not been cached.
209
210 2003-03-10  Angus Leeming  <leeming@lyx.org>
211
212         * inset.h, insetbase.h: move cache() and view() into InsetBase.
213
214         * insetcommand.h (inset):
215         * insetert.h (inset):
216         * insetexternal.h (inset):
217         * insetfloat.h (inset):
218         * insetgraphics.h (inset):
219         * insetinclude.h (inset):
220         * insetminipage.h (inset):
221         * insettabular.h (inset):
222         * insetwrap.h (inset):
223         * mailinset.h (inset): return an InsetBase &, not an Inset &.
224
225 2003-03-10  Angus Leeming  <leeming@lyx.org>
226
227         * insetcommand.C (string2params):
228         * insetexternal.C (string2params):
229         * insetfloat.C (string2params):
230         * insetgraphics.C (string2params):
231         * insetinclude.C (string2params):
232         * insetminipage.C (string2params):
233         * insettabular.C (string2params):
234         * insetwrap.C (string2params): cure warning message about missing
235         '\end_inset'.
236
237 2003-03-09  Angus Leeming  <leeming@lyx.org>
238
239         * insettabular.[Ch]: define a new class InsetTabularMailer and use
240         it to communicate with the frontend dialogs.
241
242         * mailinset.C (hideDialog): only hide the dialog if it is showing the
243         contents of this inset!
244
245 2003-03-07  Angus Leeming  <leeming@lyx.org>
246
247         * inseterror.C (localDispatch): new method; calls edit() on
248         LFUN_MOUSE_RELEASE.
249
250 2003-03-07  Angus Leeming  <leeming@lyx.org>
251
252         * insetbibitem.C (localDispatch):
253         * insetbibtex.C (localDispatch):
254         * insetlabel.C (localDispatch):
255         rewrite as a switch.
256
257 2003-03-07  Angus Leeming  <leeming@lyx.org>
258
259         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
260         it to communicate with the frontend dialogs.
261
262 cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
263
264         * insetexternal.C: remove operator== and operator!= for
265         InsetExternal::Params. They were used only by the old controller
266         scheme.
267
268 2003-03-07  Angus Leeming  <leeming@lyx.org>
269
270         * insetcommand.C (localDispatch):
271         * insetexternal.C (localDispatch):
272         * insetfloat.C (localDispatch):
273         * insetinclude.C (localDispatch):
274         * insetminipage.C (localDispatch):
275         * insetwrap.C (localDispatch):
276         add LFUN_INSET_DIALOG_UPDATE to the switch.
277
278 2003-03-07  Angus Leeming  <leeming@lyx.org>
279
280         * insetcommand.C (string2params):
281         * insetexternal.C (string2params):
282         * insetfloat.C (string2params):
283         * insetinclude.C (string2params):
284         * insetwrap.C (string2params): use LyXLeX more.
285
286         * insetert.[Ch]:
287         * insetexternal.[Ch]:
288         * insetfloat.[Ch]:
289         * insetinclude.[Ch]:
290         * insetwrap.[Ch]: change Mailer::name_ to be static.
291
292         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
293         it to communicate with the frontend dialogs.
294
295 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
296
297         * insettext.C:
298         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
299
300 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
301
302         * insettext.C (updateLocal): un-const function
303         (updateLocal): adjust
304         (collapseParagraphs): un-const function
305         (collapseParagraphs): adjust
306
307 2003-03-05  Angus Leeming  <leeming@lyx.org>
308
309         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
310         it to communicate with the frontend dialogs.
311
312 2003-03-05  Angus Leeming  <leeming@lyx.org>
313
314         * insetcollapsable.C (draw): cache the BufferView.
315
316         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
317         it to communicate with the frontend dialogs.
318
319 2003-03-05  Angus Leeming  <leeming@lyx.org>
320
321         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
322         struct.
323
324 2003-03-05  Angus Leeming  <leeming@lyx.org>
325
326         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
327
328         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
329         it to communicate with the frontend dialogs.
330
331 2003-03-05  Angus Leeming  <leeming@lyx.org>
332
333         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
334         it to communicate with the frontend dialogs.
335
336 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
337
338         * insettext.C (collapseParagraphs): adjust
339         (appendParagraphs): make it take a Buffer* instead of a
340         BufferParams& as arg.
341         (appendParagraphs): adjust
342
343 2003-03-04  Angus Leeming  <leeming@lyx.org>
344
345         * insetbibitem.C (localDispatch):
346         * insetbibtex.C (localDispatch):
347         * insetcommand.C (localDispatch):
348         * insetert.C (localDispatch):
349         * insetlabel.C (localDispatch):
350         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
351
352 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
353
354         * insettext.C (latex): adjust for ParagraphList::iterator
355
356 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
357
358         * insetbutton.C (view): adjust for boost 1.30.0
359         * insetcollapsable.C (view): ditto
360         * insetgraphics.C (statusChanged): ditto
361
362         * insettext.h: move paragraphs to be public.
363
364 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
365
366         * insetnote.[Ch] (InsetNote): remove unused constructor
367
368 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
369
370         * insetgraphics.C: added include "format.h"
371
372 2003-02-27  Angus Leeming  <leeming@lyx.org>
373
374         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
375         thingy.
376
377 2003-02-27  Angus Leeming  <leeming@lyx.org>
378
379         * insetbibitem.C (localDispatch):
380         * insetbibtex.C (localDispatch):
381         * insetcommand.C:
382         * insetert:
383         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
384
385 2003-02-26  Angus Leeming  <leeming@lyx.org>
386
387         * insetbibitem.[Ch] (localDispatch):
388         * insetbibtex.[Ch] (localDispatch):
389         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
390
391         * insetcommand.C (localDispatch):
392         act only on receipt of LFUN_XYZ_APPLY.
393
394         * insetert.C (localDispatch): reformat.
395         add LFUN_XYZ_APPLY to the switch.
396
397 2003-02-26  John Levon  <levon@movementarian.org>
398
399         * insettext.C: use RowPainter
400
401         * inset.h: make helpers take const *
402
403 2003-02-26  Angus Leeming  <leeming@lyx.org>
404
405         * insetcommand.[Ch] (localDispatch): new method.
406
407 2003-02-26  Angus Leeming  <leeming@lyx.org>
408
409         * insetinclude.C (draw): cache the BufferView* using cache not
410         PreviewImpl::setView
411
412 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
413
414         * insetgraphics.C (draw)
415         * insetinclude.C (draw): Eliminate also the other argument (owner
416         inset inset) in the call to PreviewImage::image
417
418 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
419
420         * insetgraphics.C (draw)
421         * insetinclude.C (draw): Eliminate Buferview argument in call to
422         PreviewImage::image
423
424 2003-02-25  John Levon  <levon@movementarian.org>
425
426         * insetgraphicsParams.h:
427         * insetgraphics.C: don't start a load process if
428           the inset is set to NoDisplay (bug #920)
429
430 2003-02-22  John Levon  <levon@movementarian.org>
431
432         * insetfloat.C:
433         * insetwrap.C: TocItem changed API (bug 913)
434
435 2003-02-21  Angus Leeming  <leeming@lyx.org>
436
437         * insetcollapsable.[Ch] (cache, edit):
438         * insetbutton.[Ch] (cache, edit): new methods to cache the
439         BufferView in the draw method.
440
441         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
442         simplify comunication between InsetCommand-derived classes and
443         the Dialogs.
444
445         * insetbibitem.[Ch]:
446         * insetbibtex.[Ch]:
447         * insetcite.[Ch]:
448         * inseterror.[Ch]:
449         * insetfloatlist.[Ch]:
450         * insetindex.[Ch]:
451         * insetref.[Ch]:
452         * insettoc.[Ch]:
453         * inseturl.[Ch]: small changes to reflect the new interface to the
454         Dialogs code.
455
456         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
457         other, similar classes.
458
459         * Makefile.am: add new files.
460
461 2003-02-21  Angus Leeming  <leeming@lyx.org>
462
463         * updatableinset.h (setView, view): remove.
464         * inset.h (view, cache): to be replaced by these.
465
466         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
467         insetbibtex.[Ch]:
468
469         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
470         insetbibtex.[Ch].
471
472         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
473
474 2003-02-21  Allan Rae  <rae@lyx.org>
475
476         * insetinclude.C (loadIfNeeded): ensure loading also works when
477         child document is under version control.
478
479 2003-02-17 André Pönitz <poenitz@gmx.net>
480
481         * insetbib.[Ch]: Adjust access to bibkeys
482
483 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
484
485         * insetquotes.C (dispString): remove use of acute accent for "'"
486         right quote.
487
488 2003-02-14  John Levon  <levon@movementarian.org>
489
490         * insettabular.C: changed method names in tabular.C
491
492 2003-02-14  John Levon  <levon@movementarian.org>
493
494         * inset.h:
495         * inset.C:
496         * insetcollapsable.h:
497         * insetcollapsable.C:
498         * insettabular.h:
499         * insettabular.C:
500         * insettext.h:
501         * insettext.C: remove unused getParFromID()
502
503 2003-02-13  John Levon  <levon@movementarian.org>
504
505         * insettext.h:
506         * insettext.C: remove unused beginningofMainBody()
507
508 2003-02-08  John Levon  <levon@movementarian.org>
509
510         * inset.h:
511         * inset.C:
512         * insetcollapsable.h:
513         * insetcollapsable.C:
514         * insettabular.h:
515         * insettabular.C:
516         * insettext.h:
517         * insettext.C:
518           add nextChange(). Make allowSpellcheck() const. Add markErased().
519
520         * insetert.C: ignore deleted text
521
522         * insettabular.C: make sure to keep change  tracking working
523           properly.
524
525 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
526
527         * insetert.C:
528         * insetgraphics.C:
529         * insettabular.C:
530         * insettext.C: Use error messages with identical spelling and punctuation
531
532 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
533
534         * insetgraphics.C (draw, width): Fix spacing around graphics inset
535
536 2002-12-17  Juergen Vigna  <jug@lyx.org>
537
538         * insettext.C (localDispatch): hopefully fixed cursor up down
539         movement on leaving other insets.
540
541 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
542
543         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
544         and the like.
545
546 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
547
548         * insetgraphics.C (prepareFile): do not remove the extension of
549         the file name if it is not the default extension for the given
550         format (that is, in latex output, remove extension from foo.eps,
551         but not from foo.epsi)
552
553 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
554
555         * insettext.C (lfunMouseRelease): hackish solution to the "double
556         menu open" bug
557
558 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
559
560         * insetfloat.C (addToToc): use the floats name not its type
561         * insetwrap.C (addToToc): ditto
562
563 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
564
565         * insetnote.C (init): make label font smaller
566
567 2002-12-04  John Levon  <levon@movementarian.org>
568
569         * insetinclude.C: ressurect setting of command name
570
571 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
572
573         * insetquotes.C (dispString): disambiguate insert call
574
575 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
576
577         * several files: ws changes
578
579 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
580
581         * insetquotes.C (dispString): use string::insert for prepending a
582         char.
583
584 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
585
586         * insetparent.C (getScreenLabel): use boost::format
587
588         * insetgraphics.C (prepareFile): use boost::format
589         (ascii): ditto
590
591         * insetfloatlist.C (latex): use boost::format
592
593         * insetcaption.C (draw): use boost::format
594
595 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
596
597         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
598         columns.
599
600 2002-11-20  Juergen Vigna  <jug@sad.it>
601
602         * insettabular.C (resetPos): temporary fix for endless loop in
603         this function on a redraw.
604
605 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
606
607         * insettabular.C (copySelection): STRCONV
608
609         * insetinclude.C (uniqueID): STRCONV
610         (latexString): ditto
611
612         * insetgraphics.C: put VersionNumber inside anon namespace
613         (createLatexOptions): STRCONV
614
615         * insetcommandparams.C: include config.h
616
617 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
618
619         * insetgraphicsParams.C (Write): use lyx::float_equal.
620         Write height data correctly.
621         (Read): zero scale when reading height data.
622
623 2002-10-30  John Levon  <levon@movementarian.org>
624
625         * insetfloat.C (addToTOC): recursively traverse all
626           contents looking for captions (fix #568)
627
628 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
629
630         * insetexternal.C (doSubstitution): do not try to replace
631         environment variables, this is done when executing the command
632
633 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
634
635         * insetexternal.C (doSubstitution): change order of substitution
636         to work around ReplaceEnvironmentPath brokenness
637
638 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
639
640         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
641
642         * insetgraphicsParams.C (init, Write): associated changes
643         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
644         InsetGraphicsParams::scale.
645
646 2002-10-21  John Levon  <levon@movementarian.org>
647
648         * inset.h: remove unused DISPATCH_RESULT
649
650         * insettext.C: sgml open/close tag now in sgml namespace
651
652 2002-10-21  Angus Leeming  <leeming@lyx.org>
653
654         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
655         file path subdir/fig.eps when pasting it into a buffer in a different
656         directory.
657
658 2002-10-16  John Levon  <levon@movementarian.org>
659
660         * insetspecialchar.C: remove \\protected_separator parsing
661
662 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
663
664         * insetquote.C: fix LaTeX output of quotation marks.
665
666 2002-10-14  Juergen Vigna  <jug@sad.it>
667
668         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
669         Backspace functions which confused the Undo handling.
670
671 2002-10-09  Angus Leeming  <leeming@lyx.org>
672
673         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
674         BufferView::dispatch that turns off this optimisation when a new inset
675         is inserted.
676
677         * insetcite.C (getNatbibLabel): correct logic of when and when not to
678         reload the BibTeX keys.
679
680 2002-10-11 André Pönitz <poenitz@gmx.net>
681
682         * insettext.h: handle LFUN_PRIOR/NEXT
683
684 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
685
686         * insetfloat.C: fix bug with float settings
687         (document default != float default).
688
689 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
690
691         * insetwrap.C (addToToc): New method.
692         (InsetWrap): Set layout to caption.
693
694 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
695
696         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
697
698 2002-09-16  John Levon  <levon@movementarian.org>
699
700         * insettabular.h: hasSelection() needs to be public
701
702 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
703
704         * insetgraphicsParams.C: use empty string as default for rotateOrigin
705
706 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
707
708         * insetgraphicsParams.C: use empty string as default for rotateOrigin
709
710 2002-09-11  André Pönitz <poenitz@gmx.net>
711
712         * insettabular.C: implement LFUN_WORDSEL
713
714 2002-09-10  John Levon  <levon@movementarian.org>
715
716         * insetinclude.h: remove unused param
717
718 2002-09-09  John Levon  <levon@movementarian.org>
719
720         * insetinclude.h:
721         * insetinclude.C: remove noload, default to input
722
723 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * insetgraphics.C: disfuscated use of ']' in built output string.
726
727 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
728
729         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
730
731 2002-08-29  Juergen Vigna  <jug@sad.it>
732
733         * insettabular.C (lfunMousePress): Pay attention where you set
734         the x/y values as they depend on which inset in the tabular is
735         actually locked. So you surely have to reset them if you (un)lock
736         a inset!
737
738 2002-08-29  André Pönitz <poenitz@gmx.net>
739
740         * insetfootlike.h: rename include guard to ALL CAPS
741
742         * insettext.C: swap object and first parameter for checkInsetHit calls
743           as this functions has moved from BufferView to LyXText
744
745
746 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
747
748         * insetgraphicsParams.C: remove local displayTranslator and use
749         the one from graphics/GraphicsTypes.h.
750
751 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
752
753         * insetfloat.C (wide): add BufferParams parameter
754
755         * insetfloatlist.C (read):
756         (latex):
757         (getScreenLabel):
758         * insetfloat.C (latex):
759         (floatname):
760         * insetcaption.C (draw): use LyXTextClass::floats()
761
762 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
763
764         * insetoptarg.h: add std:: qualifier.
765
766 2002-08-26  Juergen Vigna  <jug@sad.it>
767
768         * insettext.C (localDispatch): ditto.
769
770         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
771
772 2002-08-25  John Levon  <levon@movementarian.org>
773
774         * inseturl.C: elide long URLs (bug 404)
775
776 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
777
778         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
779         remove "Format Version <version_no.>" string from inset header
780
781         * insetgraphics.C:
782         * insetgraphicsParams.[Ch]: Implement new graphics dialog
783
784         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
785         a member of "grfx::Params" anymore.
786
787         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
788
789 2002-08-24  John Levon  <levon@movementarian.org>
790
791         * insetoptarg.h:
792         * insetoptarg.C: ws, pedantry ...
793
794 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
795
796         * insettext.C (collapseParagraphs): pasteParagraph now in global
797         scope
798         (appendParagraphs): ditto
799
800 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
801
802         * insetcite.C (latex): Remove spaces only after commmas.
803
804 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
805
806         * insettext.C: remove NO_COMPABILITY stuff
807
808 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * insettext.C (edit): use ParagraphList iterators
811
812         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
813         (bibitemWidest): ditto
814
815 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * insettext.C: include <boost/bind.hpp>
818         add using std::for_each
819         (saveLyXTextState): use ParagraphsList::iterator
820         (init): use for_each on paragraphlist iterators
821         (InsetText): remove superflous setting cached_bview to 0
822         (latex): reformat a bit
823         (ascii): use paragraphlist iterators
824         (validate): use for_each + boost bind
825         (getLabelList): use paragraphlist iterators
826         (deleteLyXText): use for_each + boost::bind
827         (resizeLyXText): ditto
828         (reinitLyXText): ditto
829         (removeNewlines): use paragraphlist iterators
830         (getParFromID): ditto
831         (paragraph): use for_each + boost::bind
832         (getInsetFromID): use paragraphlist iterators
833         (getLabelList): typo fix
834
835 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
836
837         * insettext.C (read): assign tmp to paragraphs after return from
838         call to parseSingleLyXformat2Token
839
840
841 2002-08-13  Angus Leeming  <leeming@lyx.org>
842
843         * insetbib.C:
844         * insetcite.C:
845         * inseterror.C:
846         * insetert.C:
847         * insetexternal.C:
848         * insetfloat.C:
849         * insetfloatlist.C:
850         * insetgraphics.C:
851         * insetinclude.C:
852         * insetindex.C:
853         * insetminipage.C:
854         * insetparent.C:
855         * insetref.C:
856         * insettabular.C:
857         * insettext.C:
858         * insettoc.C:
859         * inseturl.C:
860         changes due to the changed LyXView interface that now returns references
861         to member variables not pointers.
862
863 2002-08-13  Angus Leeming  <leeming@lyx.org>
864
865         * inset.h:
866         * insetcollapsable.h:
867         * insetert.h:
868         * insettabular.h:
869         * insettext.h: forward-declare WordLangTuple
870         (selectNextWordToSpellcheck) constify return type.
871
872         * inset.C:
873         * insetcollapsable.C:
874         * insetert.C:
875         * insettabular.C:
876         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
877
878 2002-08-12  Angus Leeming  <leeming@lyx.org>
879
880         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
881
882 2002-08-12  Juergen Vigna  <jug@sad.it>
883
884         * insetcollapsable.C (edit): ignore if entered when pressing mouse
885         button 3.
886
887 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
888
889         * insetbib.C (bibitemMaxWidth): ParagraphList changes
890         (bibitemWidest): ditto
891         * insettext.[Ch]: ditto
892
893 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
894
895         * insettext.C, insetert.C: use Paragraph::empty where appropriate
896
897 2002-08-09  Angus Leeming  <leeming@lyx.org>
898
899         * insetinclude.C (latexString): remove fudge now that I've found out
900         how to enable LaTeX to find the file using input@path.
901
902 2002-08-09  John Levon  <levon@movementarian.org>
903
904         * insettext.h:
905         * insettext.C: remove unused xpos
906
907 2002-08-07  Juergen Vigna  <jug@lyx.org>
908
909         * insettabular.C (localDispatch): make delete not put the stuff
910         in the clipboard only do this on a cut operation.
911
912         * insettext.C (localDispatch): make delete and backspace not put
913         selected stuff to the clipboard.
914
915 2002-08-07  André Pönitz <poenitz@gmx.net>
916
917         * inset.[Ch]:
918         * insetcollapsable.[Ch]:
919         * insetert.[Ch]:
920         * insetparent.[Ch]:
921         * insetref.[Ch]:
922         * insettabular.[Ch]:
923         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
924
925 2002-08-06  John Levon  <levon@movementarian.org>
926
927         * inset.h:
928         * inset.C:
929         * insetcollapsable.h:
930         * insetcollapsable.C:
931         * insetert.h:
932         * insetert.C:
933         * insettabular.h:
934         * insettabular.C:
935         * insettext.h:
936         * insettext.C: use WordLangTuple for spellcheck
937
938 2002-08-06  Angus Leeming  <leeming@lyx.org>
939
940         * insetinclude.C: add a monitor to the previewed image, so that the
941         image is refreshed if the \input-ed file changes.
942
943 2002-08-04  John Levon  <levon@movementarian.org>
944
945         * inset.h:
946         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
947
948 2002-08-02  Angus Leeming  <leeming@lyx.org>
949
950         * insetcommandparams.[Ch] (preview): new methods returning and setting
951         a new bool preview_ flag.
952         (read): read this flag.
953         (operator==): add flag to check.
954
955         * insetinclude.C (write): output new preview() flag.
956         (previewWanted): use this flag.
957
958 2002-08-02  Angus Leeming  <leeming@lyx.org>
959
960         * insetcollapsable.[Ch] (addPreview):
961         * insettabular.[Ch] (addPreview):
962         * insettext.[Ch] (addPreview): new methods. Can now generate previews
963         for insets in insets.
964
965 2002-08-02  Angus Leeming  <leeming@lyx.org>
966
967         * insetcite.C: fix typo.
968
969         * insetgraphics.C: kill current_view and instead cache the BufferView
970         as a weak_ptr.
971
972         * insetinclude.C: kill current_view and pass the BufferView to the
973         PreviewedInset so that it can cache it.
974
975 2002-08-01  Angus Leeming  <leeming@lyx.org>
976
977         * inset.h (generatePreview): renamed as addPreview.
978         (generatePreview): new method. Allows code to be moved out of
979         math_nestinset.C and into the new PreviewedInset class.
980
981         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
982         add previews to the inset when \input-ing LaTeX.
983
984 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * several files: strip,frontStrip -> trim,ltrim,rtrim
987
988 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * insetbib.C (latex): modify because of strip changes
991         (getKeys): ditto
992         * insetnote.C (InsetNote): ditto
993
994 2002-07-26  Juergen Vigna  <jug@sad.it>
995
996         * insettabular.C (searchForward): check for lastcell if we
997         had a locking inset.
998
999 2002-07-25  Juergen Vigna  <jug@sad.it>
1000
1001         * insettabular.C (insetMotionNotify): Don't update the screen
1002         if we didn't do nothing.
1003         (searchForward): last cell was not checked.
1004
1005 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
1006
1007         * insetfloat.C (read, write): Allow default placement
1008         (floatPlacement_ is empty).
1009
1010 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1011
1012         * insetminipage.h (noFontChange):
1013         * insettabular.h (noFontChange):
1014         * insetfootlike.h (noFontChange):
1015         * insetfloat.h (noFontChange): return true
1016
1017         * inset.h (noFontChange): new method, defaulting to false
1018
1019 2002-07-22  Herbert Voss  <voss@lyx.org>
1020
1021         * insetgraphicsParams.[Ch]: support size_type for old docs
1022
1023 2002-07-22  Herbert Voss  <voss@lyx.org>
1024
1025         * insetgraphics.C:
1026         * insetgraphicsParams.[Ch]: change size_type to size_kind and
1027         other small changes
1028
1029 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1030
1031         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1032
1033         * insetlatexaccent.h: do not include "lyxlex.h"
1034
1035         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1036
1037         * insetquotes.C:
1038         * insetlatexaccent.C:
1039         * insetgraphics.C:
1040         * insetexternal.C:
1041         * insetert.C:
1042         * insetbib.C: #include "lyxlex.h"
1043
1044         * insetinclude.C:
1045         * insetfloat.C:
1046         * insetert.C:
1047         * insetbib.C:
1048         * insettext.C: use BufferParams::getLyXTextClass
1049
1050
1051         * insetfloat.C (addToToc): new method. Add to toclist the entries
1052         corresponding to Caption layouts
1053         (InsetFloat): when creating a new float, set the layout to "Caption"
1054
1055 2002-07-21  Herbert Voss  <voss@lyx.org>
1056
1057         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1058         image relevant part into graphics/GraphicsImgae.C
1059
1060 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1061
1062         * insettoc.C (ascii):
1063         * insetfloatlist.C (ascii): change to use the new Toc functions
1064         instead of stuff that was in Buffer
1065
1066 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1067
1068         * insettext.C (localDispatch): BufferView::Dispatch has been
1069         renamed to BufferView::dispatch
1070
1071 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1072
1073         * insetgraphicsParams.C (as_grfxParams): use the new
1074         keepLyXAspectRatio parameter. Note that this is an adaptation of a
1075         1.2.0 patch, and I do not really know how to adapt it to the new
1076         grfx::Cache world. Angus, please could you have a look?
1077
1078 2002-05-01  Herbert Voss  <voss@lyx.org>
1079
1080         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1081
1082 2002-07-18  Angus Leeming  <leeming@lyx.org>
1083
1084         * insetgraphics.C: clean-up comments (from Herbert).
1085         add a new checksum variable to the cache. Use it in PrepareFile.
1086         (draw): start monitoring the file for a change.
1087         (prepareFile): re-arrange a little to avoid unnecessary steps.
1088
1089 2002-07-17  Angus Leeming  <leeming@lyx.org>
1090
1091         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1092         a method rather than to the signal directly.
1093
1094 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1095
1096         * insettext.C: use view_state_changed, switchKeyMap
1097
1098 2002-07-17  Herbert Voss  <voss@perce.de>
1099
1100         * insetgraphics.C (prepareFile): keep the extension when
1101         exporting to nice file
1102
1103 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1104
1105         * insetcite.C (getNatbibLabel):
1106         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1107
1108 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
1109
1110         * insetgraphics.C: use ->isDrawable()
1111
1112 2002-07-12  Angus Leeming  <leeming@lyx.org>
1113
1114         * insetgraphics.C: use the new smart loading capabilities of the image
1115         loader.
1116
1117 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1118
1119         * insettabular.C (edit): Move into correct cell when entering a
1120         tabular in
1121
1122         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1123         RTL paragraphs.
1124
1125 2002-07-05  Angus Leeming  <leeming@lyx.org>
1126
1127         * inset.h (generatePreview): new virtual method.
1128
1129 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1130
1131         * insetcommandparams.[Ch] (operator=): move out of class
1132         (operator!): move out of class
1133
1134 2002-07-04  André Pönitz <poenitz@gmx.net>
1135
1136         * insetcommandparams.[Ch]: new files
1137
1138         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1139
1140 2002-06-15  Herbert Voss  <voss@perce.de>
1141
1142         * insetgraphics.C (prepareFile): bugfix; return always
1143         files without extension
1144
1145 2002-06-28  Angus Leeming  <leeming@lyx.org>
1146
1147         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1148         rename asGParams -> as_grfxParams.
1149
1150         * insetgraphics.C: reflect above change.
1151
1152 2002-06-26  Angus Leeming  <leeming@lyx.org>
1153
1154         * insetgraphics.h: use boost::scoped_ptr in preference to
1155         std::auto_ptr.
1156
1157 2002-06-26  Angus Leeming  <leeming@lyx.org>
1158
1159         * insetgraphics.C: moved the image loading stuff into a new class
1160         grfx::Loader. Simplifies this file enormously.
1161
1162         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1163
1164         * insetgraphicsParams.C: changes aassociated with moving
1165         grfx::DisplayType out of grfx::GParams.
1166
1167 2002-06-26  André Pönitz <poenitz@gmx.net>
1168
1169         * insetgraphics.C: use os::external_path where necesaary according to a
1170         patch from Claus Hentschel)
1171
1172 2002-06-25  Angus Leeming  <leeming@lyx.org>
1173
1174         * insetgraphics.[Ch]: The inset now assumes the responsibility for
1175         generating a pixmap once the graphics file is loaded into memory.
1176         The current_view ugliness that was in grfx::ModifiedImage has been
1177         moved here now that grfx::ModifiedImage is no more.
1178
1179 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1180
1181         * insettext.C: layout as layout
1182
1183 2002-05-28  André Pönitz <poenitz@gmx.net>
1184
1185         * insetfloatlist.h: remove source of compiler warning
1186
1187         * insetref.C: tiny whitespace
1188
1189 2002-06-15  Herbert Voss  <voss@perce.de>
1190
1191         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1192         and take always convert when no userdefined converter was
1193         found
1194         (latex) small changes in the lyxerr output
1195
1196 2002-06-15  LyX Development team <lyx@rilke>
1197
1198         * inset*.[Ch] (docbook): Added new argument to take the pernicious
1199         mixed content. Small white spaces clean.
1200
1201 2002-06-14  Angus Leeming  <leeming@lyx.org>
1202
1203         * inseetexternal.C: remove the using std::difftime declaration.
1204
1205 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
1206
1207         * insetquotes.C: change lyxfont::draw to font_metrics::draw
1208
1209 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
1210
1211         * insetquotes.C (draw): fix drawing of double quotes
1212
1213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1214
1215         * insettabular.C: s/scrollCB/scrollDocView/
1216
1217 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1218
1219         * insettext.C: change of topCursorVisible()
1220           prototype
1221
1222 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1223
1224         * insettext.h:
1225         * insettext.C: rename/change of LyXScreen
1226
1227 2002-06-07  Angus Leeming  <leeming@lyx.org>
1228
1229         Fixes needed to compile with Compaq cxx 6.5.
1230         * insetexternal.C:
1231         all c-library variables have been moved into namespace std.
1232         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1233
1234 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1235
1236         * insetinclude.C (uniqueID):
1237         * insetgraphics.C (uniqueID): renamed from unique_id, since this
1238         conflicted with some AIX headers.
1239
1240 2002-05-31  Juergen Vigna  <jug@sad.it>
1241
1242         * insetert.C (get_new_label): add '...' for multi-paragraph ert
1243         insets too
1244         (update) new method
1245
1246 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1247
1248         * insetexternal.C (clone): fix () bug when using new
1249         (updateExternal): don't only look for difftime in global scope
1250
1251 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1252
1253         * insettabular.C: add const
1254
1255 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1256
1257         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1258         file name, in case there are weird characters like ',' in there.
1259         (bug #407)
1260
1261 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1262
1263         * switch from SigC signals to boost::signals.
1264
1265 2002-05-28  André Pönitz <poenitz@gmx.net>
1266
1267         * insets/insetgraphicsParams.[Ch]:
1268           put in inset related stuff from src/graphic
1269
1270 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1271
1272         * inset.C:
1273         * inset.h:
1274         * insetbib.C:
1275         * insetbib.h:
1276         * insetcite.h:
1277         * insetcite.C:
1278         * insetcollapsable.C:
1279         * insetcollapsable.h:
1280         * inseterror.C:
1281         * inseterror.h:
1282         * insetert.C:
1283         * insetert.h:
1284         * insetexternal.C:
1285         * insetexternal.h:
1286         * insetfloatlist.C:
1287         * insetfloatlist.h:
1288         * insetgraphics.C:
1289         * insetgraphics.h:
1290         * insetinclude.C:
1291         * insetinclude.h:
1292         * insetindex.C:
1293         * insetindex.h:
1294         * insetlabel.C:
1295         * insetlabel.h:
1296         * insetparent.C:
1297         * insetparent.h:
1298         * insetref.C:
1299         * insetref.h:
1300         * insettabular.C:
1301         * insettabular.h:
1302         * insettext.C:
1303         * insettext.h:
1304         * insettoc.C:
1305         * insettoc.h:
1306         * inseturl.C:
1307         * inseturl.h: use mouse_state. Kill insetKeyPress
1308
1309 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1310
1311         * insetbib.C:
1312         * insetbutton.C:
1313         * insetcaption.C:
1314         * insetcollapsable.C:
1315         * inseterror.C:
1316         * insetgraphics.C:
1317         * insetlatexaccent.C:
1318         * insetquotes.C:
1319         * insetspecialchar.C:
1320         * insettabular.C:
1321         * insettext.C: name change for font metrics
1322
1323 2002-05-24  Juergen Vigna  <jug@sad.it>
1324
1325         * insetgraphics.h: include inset.h first (for LString.h)
1326
1327 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1328
1329         * insettext.C: screen moved
1330
1331 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1332
1333         * insetbib.C:
1334         * insetcite.C:
1335         * inseterror.C:
1336         * insetert.C:
1337         * insetexternal.C:
1338         * insetfloat.C:
1339         * insetfloatlist.C:
1340         * insetgraphics.C:
1341         * insetinclude.C:
1342         * insetindex.C:
1343         * insetminipage.C:
1344         * insetparent.C:
1345         * insetref.C:
1346         * insettabular.C:
1347         * insettext.C:
1348         * insettoc.C:
1349         * inseturl.C: LyXView moved into frontends/
1350
1351 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1352
1353         * inset.C:
1354         * insetbutton.C:
1355         * insetcaption.C:
1356         * insetcollapsable.C:
1357         * insetcommand.C:
1358         * inseterror.C:
1359         * insetgraphics.C:
1360         * insetgraphicsParams.C:
1361         * insetlatexaccent.C:
1362         * insetquotes.C:
1363         * insetspecialchar.C:
1364         * insettabular.C:
1365         * insettext.C: move Painter to frontends/
1366
1367 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1368
1369         * insettabular.h: use more specific smart_ptr header.
1370         * insettext.h: ditto
1371
1372         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1373         (draw): ditto
1374
1375 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
1376
1377         * insettext.C: clear selection on paste (bug 393)
1378
1379 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
1380
1381         * insettext.C (latex): Honor the moving_arg argument.
1382
1383 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1384
1385         * insetfoot.C (latex): if a footnote is in a title layout, then it
1386         is a \thanks. And then, its contents is a moving argument.
1387
1388 2002-05-14  Juergen Vigna  <jug@sad.it>
1389
1390         * insetcollapsable.C (InsetCollapsable): forgot to initialize
1391         first_after_edit.
1392
1393 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
1394
1395         * Insetcite.C (getNatbibLabel): don't disable natbib label support
1396         when using options "Full author list" or "Upper case".
1397
1398 2002-05-14  Herbert Voss  <voss@perce.de>
1399
1400         * insetgraphics.C (prepareFile): allow files with same name
1401         in different dirs
1402         (readFigInset): set the flags from old figinset in the right
1403         manner
1404         (findTargetFormat): more comments
1405
1406 2002-05-14  Juergen Vigna  <jug@sad.it>
1407
1408         * insettext.C (edit): tell checkAndActivateInset() that we don't
1409         have a button press.
1410         (checkAndActivateInset): if button < 0 we don't have a button press
1411         on the inset and os we won't call edit on it if it's not a Highly
1412         editable inset (then we have to enter it).
1413
1414 2002-05-13  Juergen Vigna  <jug@sad.it>
1415
1416         * insetcollapsable.C (insetButtonRelease): returned wrong return
1417         value.
1418
1419 2002-05-09  Juergen Vigna  <jug@sad.it>
1420
1421         * insetcollapsable.C (edit): first_after_edit should only be
1422         set to true if we enter this inset and it was collapsed so we
1423         open it up. This is needed to reclose it after a search/replace
1424         or spellcheck function opened it and was negative.
1425
1426 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
1427
1428         * insetfloat.C (latex): Return correct value.
1429
1430 2002-05-04  Herbert Voss  <voss@perce.de>
1431
1432         * InsetgraphicsParams.C (read): fix bug with WH
1433
1434 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
1435
1436         * insetfloat.C (latex): More sensible latex output
1437         (fix the problem with endfloat).
1438
1439 2002-05-02  José Matos  <jamatos@fep.up.pt>
1440
1441         * insetgraphics.C (validate): acess params as everyone else.
1442
1443 2002-05-03  Juergen Vigna  <jug@sad.it>
1444
1445         * insettabular.C (fitInsetCursor): recalculate the cursor position
1446         if I request it.
1447
1448 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
1449
1450         * InsetgraphicsParams.[Ch]: whitespace.
1451
1452 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
1453
1454         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1455         float type do not exist.
1456
1457 2002-04-28  Herbert Voss  <voss@perce.de>
1458
1459         * insetgraphics.C (latex): fix bug with missing file-extension.
1460         LaTeX still allows a missing "eps" or "ps".
1461
1462 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1463
1464         * insetfloat.C (c-tor, wide): translate the name of the float.
1465
1466 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
1467
1468         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1469         when using natbib and make it work efficiently. Must emphasise that the
1470         real work is Herbert's.
1471
1472 2002-04-23  Herbert Voss  <voss@perce.de>
1473
1474         * insetgraphic.C (prepareFile): fix bug with overwriting and
1475         deleting an existing *.eps-file in the doc-dir
1476
1477 2002-04-23  Juergen Vigna  <jug@sad.it>
1478
1479         * insettabular.C (drawCellSelection): fix off by 1 error.
1480
1481 2002-04-22  Juergen Vigna  <jug@sad.it>
1482
1483         * insettabular.C (setFont): rewoke full selection if it was asked,
1484         after we changed all we had to change.
1485
1486         * insettext.C (insetUnlock): code was uninitialized in some situations.
1487
1488 2002-04-19  Herbert Voss  <voss@perce.de>
1489
1490         * insetgraphic.C (prepareFile): return filename without
1491         extension if we only export without compiling
1492
1493 2002-04-19  Juergen Vigna  <jug@sad.it>
1494
1495         * insettext.C (draw): call a fullRebreak on the row where we had a
1496         change and reset the cursor and selection-cursors.
1497
1498         * insettabular.C (insetUnlock):
1499         (insetButtonPress): call an update before setting the_locking_inset = 0
1500         as otherwise we don't repaint!
1501         (update): reset the cursor position when we changed dimensions as
1502         otherwise our cursor may be on the wrong spot.
1503
1504 2002-04-18  Juergen Vigna  <jug@sad.it>
1505
1506         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1507         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1508         redraw otherwise we won't redraw.
1509
1510         * insettext.C (draw): fixed the setting of LyXText::first_y it was
1511         not really right before, but I only discovered this with the last
1512         changes to Page up/down.
1513
1514 2002-04-17  Juergen Vigna  <jug@sad.it>
1515
1516         * insettext.C (checkAndActivateInset): simplified as we now have the
1517         edit(bv, bool) call.
1518
1519         * insettext.h: changed behind variables to front variables to be
1520         equal to the one in the edit call (as it is for that they are used).
1521
1522 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1523
1524         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1525         not output anything at all!
1526
1527 2002-04-16  Juergen Vigna  <jug@sad.it>
1528
1529         * insettabular.C (insetButtonPress):
1530         (insetUnlock): call a redraw on unlocking the cell inset.
1531
1532         * insettext.C (insetButtonPress): same as below.
1533         (lockInset): new function to set initial values when inset should
1534         be locked.
1535         (insetButtonPress): use above function.
1536         (insetUnlock): don't force a repaint only set the updateStatus. The
1537         outside world should repaint if it thinks it should be done!
1538
1539         * insettabular.C (insetButtonPress): init values if not set as locked
1540         as we are locked if someone presses on us and don't call the edit()
1541         call of the InsetText to lock it do it as BufferView does it!
1542
1543         * inset.h (insetInInsetY): make func const and return an int.
1544         * insettext.C:
1545         * insettabular.C:
1546         * insetcollapsable.C: adapt the above changed function.
1547
1548 2002-04-15  Juergen Vigna  <jug@sad.it>
1549
1550         * insettext.C (getCursorPos): return relative position as to be able
1551         to give them directly to the edit() call.
1552         (edit): we have to set also x_fix as it is not set inside the
1553         setCursorFromCoordinates call!
1554         (insetMotionNotify): ditto.
1555
1556 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1557
1558         * insetbib.C (getKeys): strip leading '\t's from the line too.
1559         With thanks to Henry Pfister <hpfister@ucsd.edu>.
1560
1561 2002-04-12  Juergen Vigna  <jug@sad.it>
1562
1563         * insettext.h: added cix() helper function and use it where appropriate
1564
1565 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1566
1567         * insetgraphics.C (prepareFile): fix bug when graphics is a
1568         relative path
1569
1570 2002-04-12  Juergen Vigna  <jug@sad.it>
1571
1572         * insettext.C (insertInset): remove unneeded code!
1573         (updateLocal): fitCursor() fixes.
1574         (collapseParagraphs): fix a possible problem when having a selection
1575         and collapsing the paragraphs.
1576
1577 2002-04-08  Herbert Voss  <voss@perce.de>
1578
1579         * insetgraphic.C (write): write the rotating angle as
1580         a float as is. test only for != 0.0
1581
1582 2002-04-11  Juergen Vigna  <jug@sad.it>
1583
1584         * insettext.C: new function ciy() and use it for setting inset_y.
1585
1586         * insetert.C (draw): fix the x return for collapsed version.
1587
1588 2002-04-07  Herbert Voss  <voss@perce.de>
1589
1590         * insetgraphic.C (readFigInset): fix bug with subcaption and
1591         rotating
1592
1593 2002-04-08  Herbert Voss  <voss@lyx.org>
1594
1595         * insetgraphicsparam.C: forgot special option and delete old
1596         1.2.0 stuff
1597
1598 2002-04-05  Juergen Vigna  <jug@sad.it>
1599
1600         * insettext.C (localDispatch): make a CURSOR update if we inserted
1601         a character.
1602
1603 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1604
1605         * insetfloatlist.C (getScreenLabel):
1606         (latex): use Floating::listName
1607         (validate): new method
1608
1609 2002-04-03  José Matos  <jamatos@fep.up.pt>
1610
1611         * insetlabel.C (docbook): the anchor is an empty element in docbook.
1612
1613         * insetfoot.[Ch] (docbook): added forgotten method.
1614
1615 2002-04-03  Juergen Vigna  <jug@sad.it>
1616
1617         * insettext.C (insetButtonPress): fix insetButtonPress events the same
1618         way as in Bufferview_pimpl.
1619
1620 2002-04-03  Allan Rae  <rae@lyx.org>
1621
1622         * insetgraphics.C (latex): one % too many makes living on the bleeding
1623         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1624
1625 2002-03-28  Herbert Voss  <voss@lyx.org>
1626
1627         * insetgraphic.C (latex): simplify the code for the latex
1628         output when the file doesn't exist
1629
1630 2002-03-29  Juergen Vigna  <jug@sad.it>
1631
1632         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1633         unlocking inset.
1634
1635         * insettabular.C (edit): call fitCursor().
1636
1637         * insettext.C (insetButtonPress): change behaviour of no_selection
1638         to the one in the BufferView selection_possible and fix the spurious
1639         selection bug with it.
1640         (localDispatch): revoke selection on BREAK... functions.
1641
1642 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1643
1644         * insetfloatlist.C (getScreenLabel): translate the GUI label.
1645
1646 2002-03-28  Juergen Vigna  <jug@sad.it>
1647
1648         * insettabular.C (insetAllowed): return true as default value otherwise
1649         we're not able to insert insets inside paragraphs of an not locked
1650         insettext!
1651
1652 2002-03-27  Herbert Voss  <voss@lyx.org>
1653
1654         * insetgraphicsparam.C: change c%, p% to col%, page%
1655
1656 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1657
1658         * insetspecialchar.C (isLineSeparator): disable the nice code to
1659         allow linebreaks after hyphenation and menu separators.
1660
1661 2002-03-26  Herbert Voss  <voss@lyx.org>
1662
1663         * insetgraphics.C (figinsetRead): set the right lyxview
1664
1665 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1666
1667         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1668         $\backslash$ and pass a "string const &" to the function.
1669         (prepareFile, latex): use Path rather than MakeAbsPath.
1670
1671 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1672
1673         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1674         proper fix to the graphics cache.
1675         (latex): "really" nice output if the file is not found ;-)
1676
1677 2002-03-26  Juergen Vigna  <jug@sad.it>
1678
1679         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1680         (collapseParagraphs): fixed inserting of separator ' '
1681
1682         * insettabular.C (insertAsciiString): only check for buffer lenght
1683         not if we have \t or \n inside the buffer as if we don't have we only
1684         have 1 cell and that's it!
1685
1686         * insetert.C (close): don't collapse if inlined.
1687
1688 2002-03-25  Herbert Voss  <voss@lyx.org>
1689
1690         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1691         graphics file does not exist.
1692
1693 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
1694
1695         * insetgraphics.C (prepareFile): ensure that the file has an absolute
1696         path when preparing export.
1697
1698         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1699         no longer MakeRelPath.
1700
1701 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
1702
1703         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1704         Used to determine the absolute path to the graphics file in the
1705         graphics cache and only in the graphics cache.
1706         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1707         make graphics file name absolute if it is stored as a relative path.
1708
1709         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1710         make graphics file name absolute if it is stored as a relative path.
1711
1712         * insettext.C (edit): emit an updateParagraph signal on entering a text
1713         inset. Needs to be emitted when leaving the inset also.
1714
1715 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1716
1717         * all files: ws cleanup
1718
1719         * Makefile.am: remove ld -r stuff
1720
1721 2002-03-21  Juergen Vigna  <jug@sad.it>
1722
1723         * insettext.C (appendParagraphs): new function added to append
1724         the paragraphs to this insets paragraphs.
1725
1726 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1727
1728         * Makefile.am: special rules if partial linking
1729
1730 2002-03-19  Juergen Vigna  <jug@sad.it>
1731
1732         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1733
1734 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
1735
1736         * insetgraphics.C: Clean up Baruch's comments a little.
1737         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1738
1739 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
1740
1741         * insettabular.C:
1742         * insettheorem.C: wrap warnings
1743
1744         * insetgraphics.C: improve messages, move cached_status_
1745           setting to safer place
1746
1747 2002-03-18  Juergen Vigna  <jug@sad.it>
1748
1749         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1750         calls.
1751         (localDispatch): ditto
1752
1753         * insettext.C (edit): removed unneeded showCursor calls.
1754         (localDispatch): ditto.
1755
1756 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1757
1758         * insetgraphics.h: remove display() method.
1759
1760 2002-03-11  Juergen Vigna  <jug@sad.it>
1761
1762         * insetgraphics.C (draw): hack to fix the redrawing bug.
1763         (draw): seems this fixes #268 (force redraw of row if we changed).
1764
1765         * insettext.C (updateInsetInInset): fixed for updates in insets inside
1766         this inset text (don't know why I missed this earlier).
1767
1768 2002-03-08  Juergen Vigna  <jug@sad.it>
1769
1770         * insettabular.C (updateLocal): do a FULL update if we're not locked
1771         and only a CELL update is asked.
1772
1773         * insettext.C (updateInsetInInset): update insets inside inset also
1774         if it isn't inside the_locking_inset.
1775
1776         * insettabular.C (updateInsetInInset): ditto.
1777
1778 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1779
1780         * insetexternal.C (doSubstitution): check whether we are using a
1781         temp dir for defining $$FPath
1782
1783 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
1784
1785         * insettabular.C:
1786         * insettext.C: remove #include "WorkArea.h".
1787
1788 2002-03-06  Juergen Vigna  <jug@sad.it>
1789
1790         * insettext.C (draw): fixed frame redrawing.
1791         (clear): forgot to set the inset_owner of the paragraph.
1792
1793         * insetert.C (status): pay attention the bv can be 0 here!
1794         (getMaxWidth): add the default leftMargin
1795
1796 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1797
1798         * insetert.C (getMaxWidth): make w unsigned int.
1799
1800 2002-03-05  Juergen Vigna  <jug@sad.it>
1801
1802         * insetert.C (status): change behaviour of Inlined.
1803         (getMaxWidth): added for new inlined behaviour.
1804
1805 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1806
1807         * insetnote.h (linuxdoc, docbook): add empty methods.
1808         * insetinclude.C (validate): fix a case where buffer->niceFile was used
1809         before being initialized.
1810
1811 2002-03-05  Juergen Vigna  <jug@sad.it>
1812
1813         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1814         only that one in the inset. Should be enough.
1815         (updateLocal): set the selection cursor always if we don't have a
1816         selection to be sure it's set!
1817
1818         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1819
1820 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1821
1822         * insettext.C (clear): a gross hack to set layout on a newly
1823         created paragraph.
1824
1825 2002-03-04  Juergen Vigna  <jug@sad.it>
1826
1827         * insettabular.C (localDispatch): inserted handling of
1828         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1829         (insertAsciiString): new helper function.
1830
1831 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1832
1833         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1834         argument.
1835
1836 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1837
1838         * insettext.C (InsetText): initalize newly created par with
1839         default layout. add bufferparams parameter
1840         first -> first_y
1841
1842         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1843         * insetcollapsable.[Ch] (InsetCollapsable): ditto
1844         * insetert.[Ch] (InsetERT): ditto
1845         * insetfloat.[Ch] (InsetFloat): ditto
1846         * insetfoot.[Ch] (InsetFoot): ditto
1847         * insetfootlike.[Ch] (InsetFootLike): ditto
1848         * insetmarginal.[Ch] (InsetMarginal): ditto
1849         * insetminipage.[Ch] (InsetMinipage): ditto
1850         * insetnote.[Ch] (InsetNote): ditto
1851         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1852
1853 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1854
1855         * insettext.C: layout as string
1856
1857         * insetinclude.C: layout as string
1858
1859         * insetert.C: layout as string
1860
1861         * insetbib.C: layout as string
1862
1863 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1864
1865         * insetert.C:
1866         * insettabular.C: remove #include "lyx_gui_misc.h".
1867
1868 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1869
1870         * Makefile.am:
1871         * figinset.h:
1872         * figinset.C:
1873         * inset.h: remove figinset, yahoo !
1874
1875 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1876
1877         * insetgraphics.C (c-tors): initialise parent classes explicitly in
1878         copy c-tor and initialise member variables in the correct order.
1879
1880 2002-02-28  Juergen Vigna  <jug@sad.it>
1881
1882         * insettabular.C (localDispatch): clear selection on PgUp/Down.
1883
1884 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1885
1886         * inset.h: ... and add a better one here.
1887
1888         * insetcommand.C (insetButtonRelease): remove that one which was a
1889         bit broken...
1890
1891 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1892
1893         * insetcommand.C (insetButtonRelease): ... and move it here.
1894
1895         * inseturl.h: remove insetButtonRelease from there...
1896
1897 2002-02-26  Juergen Vigna  <jug@sad.it>
1898
1899         * inseturl.h: Added a insetButtonRelease call returning true as
1900         prove of concept.
1901
1902         * insetlabel.C (edit): Fixed wrong update handling after change I
1903         leave in the wrong code for the one who wrote it to remove and have
1904         a look what he did wrong.
1905
1906         * insettabular.C (localDispatch): force a SELECTION update if we
1907         had a selection and we passed the event down to the inset (fix #213)
1908         (localDispatch): handle font changing stuff when we have a cell
1909         selection so that the selection is not rewoked. I don't really like
1910         this fix, but it's the only way I see to do it right now.
1911
1912 2002-02-22  Juergen Vigna  <jug@sad.it>
1913
1914         * insettext.C (insetUnlock): set the cursor to the second paragraph
1915         if available and if the first one is empty (fix #191).
1916
1917 2002-02-20  Juergen Vigna  <jug@sad.it>
1918
1919         * insettext.C (getDrawFont): implemented this function to call the
1920         one of the owner if present as the owner normally knows what to do
1921         with us.
1922
1923         * insetert.C: implement getDrawFont() function and comment out all
1924         the crap for setting a special latex font inside this inset.
1925         (InsetERT): added a Lanugage parameter to this constructor.
1926
1927         * inset.h: added function getDrawFont(LyXFont & font) to be able to
1928         change the font for being drawn on screen (used only in InsetERT for
1929         now).
1930
1931         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1932         and also above (was missing).
1933         (updateLocal): don't remove the cell selection if we have one this
1934         should be done where we really want to remove it.
1935
1936 2002-02-20  José Matos  <jamatos@fep.up.pt>
1937
1938         * insetinclude.h: include_label made string const.
1939
1940         * insetinclude.C (InsetInclude): moved include_label initialization.
1941         (linuxdoc):
1942         (docbook):
1943         (validate): fix support for temporary directory, for docbook and
1944         linuxdoc.
1945
1946         * insetgraphics.h : new private member, graphic_label, that holds
1947         the entity name that defines the graphics location (SGML).
1948
1949         * insetgraphics.C (unique_id): new function to give a unique label
1950         for graphic.
1951         (docbook):
1952         (validate): the file locatation is given by an entity reference.
1953
1954 2002-02-18  Herbert Voss  <voss@lyx.org>
1955
1956         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
1957
1958 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1959
1960         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
1961         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1962
1963 2002-02-18  José Matos  <jamatos@fep.up.pt>
1964
1965         * insetinclude.C (validate): some code only applies to latex buffers,
1966         it was made conditional.
1967
1968 2002-02-12  Herbert Voss  <voss@lyx.org>
1969
1970         * insetgraphics.C: (prepareFile) do not check at this time
1971         if the file is present.
1972
1973 2002-02-12  Herbert Voss  <voss@lyx.org>
1974
1975         * insetgraphics.C: latex(), return the correct newlines
1976
1977 2002-02-13  José Matos  <jamatos@fep.up.pt>
1978
1979         * inseturl.C (docbook): escape & in url.
1980
1981 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1982
1983         * insetspecialchar.C (isLineSeparator): line breaking is allowed
1984         after HYPHENATION and MENU_SEPARATOR
1985
1986         * inset.h (isLineSeparator): new method, returns false by default.
1987
1988 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1989
1990         * insetert.C (status): do not update the text inset, but the ERT
1991         inset.
1992
1993 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
1994
1995         * insetnote.C: use notebg for background
1996
1997 2002-02-08  Herbert Voss  <voss@lyx.org>
1998
1999         * insetgraphic.C:
2000         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2001         prevent LyX from unzipping when this should be handled
2002         by latex vis the graphic.cfg.
2003         clean up the code
2004
2005 2002-02-08  Herbert Voss  <voss@lyx.org>
2006
2007         * insetgraphic.C: prepareFile(): fix bug when file doesn't
2008         exists, than return filename with extension
2009
2010 2002-02-06  Herbert Voss  <voss@lyx.org>
2011
2012         * insetgraphic.C: prepareFile(): don't convert the file, when
2013         it's not viewed in LyX. Saves a lot of time when opening a
2014         document!
2015
2016 2002-02-05  Herbert Voss  <voss@lyx.org>
2017
2018         * insetgraphic.C:
2019         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2020         and adding a rotate bool similiar to subcaption
2021
2022 2002-02-04  Herbert Voss  <voss@lyx.org>
2023
2024         * insetgraphic.C:
2025         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2026         similiar view to the LaTeX one. Get zipped files work.
2027
2028 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
2029
2030         * insetgraphicsParams.C (init): set display to DEFAULT.
2031         No longer #include "lyxrc.h".
2032
2033 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
2034
2035         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2036         for now (so that the code compiles).
2037
2038 2002-02-02  Herbert Voss  <voss@lyx.org>
2039
2040         * insetgraphic.C: delete inVariant() and some minor changes
2041         * insetgraphicsParams.[C]:
2042
2043 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
2044
2045         * insetgraphics.C (updateInset): if params.display == DEFAULT,
2046         interogate lyxrc.display_graphics before diaplaying the graphic.
2047
2048         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2049         InsetGraphicsParams::DisplayType.
2050
2051 2002-01-31  Herbert Voss  <voss@lyx.org>
2052
2053         * insetgraphic.C: (readfigInset) set display to pref-default
2054
2055 2002-01-30  Herbert Voss  <voss@lyx.org>
2056
2057         * insetgraphic.C: get the filetyp from it's contents
2058         * insetgraphicparams.C: add token scale and lyxrc.display when
2059         creating a new inset
2060
2061 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
2062
2063         * figinset.C: added using std::ios directive.
2064
2065 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2066
2067         * figinset.C (runqueue): open translation file in binary mode (for
2068         cygwin).
2069
2070 2002-01-27  Herbert Voss  <voss@lyx.org>
2071
2072         * insetgraphic.[Ch]: mostly newritten to support graphicx with
2073         all options and to be sure that the old figinsets are correct
2074         converted.
2075         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2076         structure and to support all lengths as LyXLength. The Parameter
2077         structure changed again, but reading of "old" 1.2 graphic insets
2078         is no problem.
2079
2080 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
2081
2082         * insetert.h (forceDefaultParagraphs): Added
2083
2084 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2085
2086         * insettabular.C (getMaxWidth):
2087         (forceDefaultParagraphs): use Tabular::GetCellFromInset
2088
2089 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2090
2091         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2092         of LyXLength::inPixels
2093
2094         * inset.C (latexTextWidth):
2095         * insetminipage.C (latexTextWidth): new method, which implements
2096         the equivalent of the LaTeX macro \textwidth
2097
2098         * insetminipage.C (getMaxWidth): use latexTextWidth
2099
2100 2002-01-18  Juergen Vigna  <jug@sad.it>
2101
2102         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2103
2104 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2105
2106         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2107
2108         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2109         instead of string
2110
2111 2002-01-17  Juergen Vigna  <jug@sad.it>
2112
2113         * insettabular.C (lockInsetInInset): same change as in insettext.
2114
2115         * insettext.C (draw): width() function was called without setting
2116         the right top_x which could lead to wrong insetWidth setting!
2117         (lockInsetInInset): call edit instead of calling lockInset if we
2118         have to lock an inset inside!
2119         (edit): we have to also tell the inset that we have to redraw the
2120         frame on an edit call if this inset draws a frame only if locked.
2121
2122 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2123
2124         * insetbib.C (getFiles): uncomment Path variable.
2125
2126 2002-01-16  Juergen Vigna  <jug@sad.it>
2127
2128         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2129         of wrong cell.
2130
2131 2002-01-16  Allan Rae  <rae@lyx.org>
2132
2133         * insetinclude.C (docbook): someone forgot a ";"
2134
2135 2002-01-16  José Matos  <jamatos@fep.up.pt>
2136
2137         * figinset.C (docbook): removed a old place holder "@".
2138         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2139         * insetinclude.C (linuxdoc): if include is verbatim, then export the
2140         ascii text version, clearly guarded inside a CDATA section.
2141         (docbook): in docbook 4, inlinegraphics is empty.
2142         * insettabular.C (linuxdoc): export the ascii version of the table
2143         inside a CDATA section.
2144
2145 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2146
2147         * insetparent.C (InsetParent):
2148         * insetgraphicsParams.C (Write):
2149         (Read):
2150         * insetgraphics.C (prepareFile):
2151         (readFigInset):
2152         (docbook):
2153         * insetexternal.C (executeCommand):
2154         (doSubstitution): use Buffer::filePath
2155
2156         * insetbib.C (getFiles): add a #warning for Angus
2157
2158         * insetgraphics.C: Add a remark about how filenames should be
2159         considered to be relative to buffer (but absolute is still allowed)
2160         (draw): do not try to get status if lyxrc.use_gui is false
2161
2162 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2163
2164         * inset.[Ch]:
2165         * insetcollapsable.[Ch]:
2166         * insettabular.[Ch] (searchForward, searchBackward): change the
2167         bool const & params to bool.
2168
2169         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2170         to avoid the name clash with InsetCollapsable's methods of the same
2171         names but different functionality.
2172
2173 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2174
2175         * insettext.C (ascii): use lyx::count rather than countChar.
2176
2177 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
2178
2179         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2180
2181 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2182
2183         * insetgraphics.C (updateInset): do not try to render image if
2184         lyxrc.use_gui is false (bug #104)
2185
2186         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2187         if file does not exist
2188
2189         * figinset.C (browseFile): add shortcuts to directory buttons
2190
2191         * insettext.C (updateLocal): update menubar and toolbar here too.
2192
2193 2002-01-13  Allan Rae  <rae@lyx.org>
2194
2195         * insettabular.C (InsetTabular): Both constructors now initialise
2196         all class variables.
2197
2198 2002-01-11  Juergen Vigna  <jug@sad.it>
2199
2200         * insettext.C (insetButtonPress): set the_locking_inset to 0.
2201
2202 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2203
2204         * insettabular.C (getStatus): add forgotten brace around multiline
2205         if statement.
2206
2207 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2208
2209         * insetfloat.C (validate): require "float" instead of "floats".
2210
2211 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
2212
2213         * insettabular.C (getStatus): use FuncStatus
2214
2215 2002-01-08  Juergen Vigna  <jug@sad.it>
2216
2217         * insettabular.C (insetButtonRelease): now this should work too
2218         correctly.
2219
2220         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2221         if the width is a percentage.
2222
2223         * inset.h: added isChar() function and implemented this for
2224         insetspecialchar insetquotes and insetlatexaccent.
2225         added forceDefaultParagraphs() and implemented it for insettabular.
2226
2227 2002-01-07  Juergen Vigna  <jug@sad.it>
2228
2229         * insettext.C (getLyXText): Fixed this function. An insert into the
2230         map is only done if we REALLY have a new BufferView.
2231
2232 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
2233
2234         * insettext.C: fix bug illustrated by attachment #37 of bug #59
2235
2236 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
2237
2238         * insetinclude.C: fix use of FileInfo
2239
2240 2002-01-07  Juergen Vigna  <jug@sad.it>
2241
2242         * insettabular.C (draw): fixed clearing of cell around inset.
2243
2244 2002-01-05  Juergen Vigna  <jug@sad.it>
2245
2246         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2247         variables are updated.
2248
2249         * insettabular.C (resetPos): set always the inset_y as it may be
2250         needed in another function.
2251         (searchBackward): don't draw while searching.
2252
2253 2002-01-04  Juergen Vigna  <jug@sad.it>
2254
2255         * insettext.C (lockInsetInInset): forgot to set a cursor.
2256
2257 2002-01-02  Juergen Vigna  <jug@sad.it>
2258
2259         * insettext.C (insertInset): make the correct undo informations on
2260         inserting new insets.
2261
2262 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
2263
2264         * insettabular.C: correct single-cell select vertically
2265
2266 2001-12-27  Juergen Vigna  <jug@sad.it>
2267
2268         * insettabular.C (ascii): export as tab-separated-values if the
2269         function was not called from export (f.ex.: clipboard).
2270
2271         * insetcollapsable.h: added default support for ascii, linuxdoc and
2272         docbook export (the insettext is exported by default!)
2273
2274         * insettabular.C (copySelection): suff the clipboard with the tabular
2275         data in a tab separated format, seems more naturals then with all the
2276         formating.
2277
2278 2001-12-24  Juergen Vigna  <jug@sad.it>
2279
2280         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2281         to check for REAL mouseMotion.
2282
2283 2001-12-20  Juergen Vigna  <jug@sad.it>
2284
2285         * inset.C (cursor): return the owners cursor if available instead of
2286         always only the bv->text->cursor.
2287
2288         * insettabular.C (checkLongtableSpecial): works now.
2289
2290 2001-12-19  Juergen Vigna  <jug@sad.it>
2291
2292         * insettabular.C (tabularFeatures): fix the row setting of ltt as
2293         this has to be always row + 1 as 0 means not selected!
2294         (checkLongtableSpecial): added
2295         (tabularFeatures): better longtable options support
2296
2297         * insettext.C (resizeLyXText): reinit the text always also on a
2298         empty insettext!
2299
2300 2001-12-18  Juergen Vigna  <jug@sad.it>
2301
2302         * insettext.C (updateInsetInInset): look if we have to autocollapse
2303         paragraps and return if the update is requested for ourself.
2304
2305         * insetert.C (status): update the insettext not myself as that is what
2306         we need.
2307
2308         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2309         function only return if the update was requested with myself.
2310
2311         * insettext.C (insetButtonPress): fixed stupid bug.
2312         (various functions): pay attention that lt is cleared BEFORE calling
2313         updateLocal() and try to use it in the right manner (don't use it
2314         if it's not really neccessary!)
2315         (collapseParagraphs): insert a blank between collapsing paragraphs
2316         if neccessary (not already there!).
2317
2318 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2319
2320         * insettabular.C: move includes around a bit, add a couple of
2321         consts.
2322
2323         * insettext.[Ch]: move includes around a bit, other ws changes and
2324         small stuff.
2325
2326 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2327
2328         * insettext.C (insetButtonRelease): fix compile problem
2329
2330 2001-12-17  Juergen Vigna  <jug@sad.it>
2331
2332         * insettext.C (insetButtonPress): set the selection cursor!
2333         (insetButtonPress): clear the selection (and set with that the
2334         selection.cursor) if we only hit an inset!
2335
2336         * insetert.C (read): removed piece of compatibility code only needed
2337         for 1.2.0.
2338
2339         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2340         can be opened.
2341
2342         * insetcollapsable.C (insetButtonRelease): changed so that it can
2343         open eventual existing popup dialogs on mousebutton==3.
2344
2345         * insetfloat.C (insetButtonRelease): removed not needed anymore!
2346
2347         * insetminipage.C (insetButtonRelease): removed not needed anymore!
2348
2349         * inset.C (insetButtonRelease): return a bool for telling the outer
2350         world that we opened a dialog.
2351
2352 2001-12-07  Juergen Vigna  <jug@sad.it>
2353
2354         * insettext.C (paragraph): remove the deleteing of paragraphs as
2355         it was a WRONG move!
2356
2357 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2358
2359         * insettabular.h:
2360         * insettabular.C: use new setSelection(). Allow
2361           selection of single cells.
2362
2363 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2364
2365         * insetquotes.C (latex): fix to use the local language setting at
2366         the point where the inset is inserted (different macros for
2367         different french packages)
2368
2369 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2370
2371         * inset.h: add par_owner_ member variable and parOwner
2372         setter/accessor.
2373
2374 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2375
2376         * insettabular.C (everywhere): adapt because widths are now real
2377         widths and not strings
2378
2379         * insettext.C (draw): re-introduce the calls to width(), ascent()
2380         and descent() to initialize the caching variables.
2381
2382 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2383
2384         * insettext.C (draw):
2385         (drawFrame): use insetWidth instead of last_width
2386
2387         * insettext.h: remove variable last_width (insetWidth is exactly
2388         the same) and last_height (computed but never used!)
2389
2390 2001-12-10  Allan Rae  <rae@lyx.org>
2391
2392         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2393
2394 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2395
2396         * insettext.C (insetAllowed): add comment
2397
2398 2001-12-05  Juergen Vigna  <jug@sad.it>
2399
2400         * insettext.C (insetAllowed): fixed for the case that we directly
2401         ask the insettext from its LyXText.
2402         (paragraph): fixed the crash when assigning the par->next() from
2403         the EmptyParagraphMechanism!
2404
2405 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2406
2407         * insetbib.C:
2408         * insettabular.C:
2409         * insettext.C: change "while(" to "while ("
2410
2411 2001-12-04  Juergen Vigna  <jug@sad.it>
2412
2413         * insetert.C (edit): handle Inlined status.
2414
2415         * insettext.C (insertInset): trying John's fix for the trailing cursor
2416
2417         * insetert.C (insetButtonPress): added to handle inlined status
2418         (insetMotionNotify): ditto.
2419
2420         * insettext.C (clearInset): changed Painter & in BufferView * param,
2421         to be able to call ascent,descent methods.
2422
2423 2001-12-03  Juergen Vigna  <jug@sad.it>
2424
2425         * insettext.C (updateInsetInInset): use lt variable to forbid
2426         changes of LyXText in an update call.
2427         (updateInsetInInset): fixed updating of non locked insets!
2428
2429 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2430
2431         * insettabular.C: capture some more functions to prevent
2432         selection drawing problems. Bug #451274
2433
2434 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2435
2436         * insetgraphics.C:
2437         * insetgraphicsParams.C: fix inverted sense of float_equal
2438
2439 2001-11-30  Juergen Vigna  <jug@sad.it>
2440
2441         * insettabular.C (InsetTabular): use the save_id flag to create also
2442         the tabular with the same id's.
2443
2444         * insettext.C (setParagraphData): added a same_id function for undo
2445         to set the same paragraph id's as of the paragraph we are setting.
2446
2447 2001-11-30  José Matos <jamatos@fep.up.pt>
2448
2449         * inseturl.[Ch]:
2450         * insettoc.[Ch]: DocBook -> docbook.
2451
2452 2001-11-29  André Pönitz <poenitz@gmx.net>
2453
2454         * inseterror.C:
2455         * insettext.C: further reduction of header dependencies by using
2456         lyx::layout_type and lyx::textclass_type from support/types.h
2457
2458 2001-11-29  Juergen Vigna  <jug@sad.it>
2459
2460         * insettext.C: inserted a reinitLyXText function everywhere I delete
2461         the paragraphs! This should fixe the crashes we had.
2462         Also use the new function firstRow() instead of getRowNearY(dummy_y)
2463         (paragraph): set the InsetOwner() of the new paragraphs!
2464
2465 2001-11-28  André Pönitz <poenitz@gmx.net>
2466
2467         * insetnote.C: add pos initialization that I removed without
2468           knowing what I did.
2469
2470 2001-11-28  Juergen Vigna  <jug@sad.it>
2471
2472         * insettabular.C (resetPos): hack to not crash with infinite paints.
2473
2474         * insettabular.h: insert missing function allowSpellcheck()!
2475
2476         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2477
2478 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
2479
2480         * insetfloatlist.h:
2481         * insetfloatlist.C: derive from InsetCommand so gui can use it
2482           easily
2483
2484 2001-11-26  André Pönitz <poenitz@gmx.net>
2485
2486         * insettext.[Ch]:
2487         * insetert.C:
2488         * insetnote.C: reduce header dependencies, introduce type for
2489         positions
2490
2491 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
2492
2493         * various: update for Alert.h
2494
2495 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
2496
2497         * inset.h: fix comment
2498
2499         * insettext.C: use par->isInset()
2500
2501 2001-11-22  Allan Rae  <rae@lyx.org>
2502
2503         * insetcollapsable.h:
2504         * inset.h: Changes to checkInsertChar() behaviour.
2505         Now return value indicates whether chars can be inserted.
2506
2507 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
2508
2509         * various:  updated to use the new LaTeXFeatures
2510
2511 2001-11-14  José Matos  <jamatos@fep.up.pt>
2512
2513         * insetspecialchar.C (linuxdoc):
2514         (docbook): don't give a name to a unused variable.
2515
2516         * insettext.C (docbook): removed unused variable.
2517
2518 2001-11-13  Herbert Voss  <voss@perce.de>
2519
2520         * insetgraphic.C: fix scale bug
2521
2522 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2523
2524         * inset.h (isSpace):
2525         (isLetter): new virtual methods.
2526
2527         * insetspecialchar.C (isSpace):
2528         (isLetter): implement here.
2529
2530 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
2531
2532         * inset.h: new inline helpers
2533
2534         * insettext.C: use new helpers
2535
2536 2001-11-07  José Matos  <jamatos@fep.up.pt>
2537
2538         * insettext.C (docbook): full support for paragraphs inside insettext.
2539
2540 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
2541
2542         * insetindex.C: added header file for std::ostream.
2543
2544 2001-11-03  José Matos  <jamatos@fep.up.pt>
2545
2546         * insetindex.C: added using std::ostream that I forgot yesterday.
2547
2548 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
2549
2550         * insetindex.h (docbook):
2551         * insetindex.C (docbook): added support for docbook export.
2552
2553 2001-11-02  José Matos  <jamatos@fep.up.pt>
2554
2555         * insetcaption.C(docbook): added support for docbook export.
2556
2557 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
2558
2559         * insetexternal.C (updateExternal): Do not run update command if
2560         result file exists and is up to date.
2561
2562         * ExternalTemplate.C (readFormat): Support the updateresult token.
2563
2564 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
2565
2566         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2567         external_templates) to use the buffer->fileName() but only if
2568         previewing. Generating a TeX file should make FPath return
2569         "".
2570
2571 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
2572
2573         * insetert.h:
2574         * insetert.C: fix some problems
2575
2576 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
2577
2578         * insetexternal.C (doSubstitution): Added $$FPath token
2579         to list of usable substitutions in external inset templates.
2580
2581 2001-10-24  Juergen Vigna  <jug@sad.it>
2582
2583         * insettabular.C: use new ltType struct for setting longtable
2584         header and footers also new UNSET enums.
2585
2586 2001-10-24  José Matos  <jamatos@fep.up.pt>
2587
2588         * insettabular.C (linuxdoc): Now exports the ascii's table version.
2589         (docbook): If the table is not inside a float then wrap it inside
2590         <informaltable>...</informaltable>.
2591
2592 2001-10-23  José Matos  <jamatos@fep.up.pt>
2593
2594         * insetref.C (docbook): removed / terminator to conform SGML.
2595
2596         * insetspecialchar.C (linuxdoc):
2597         (docbook): Added support for special chars, more than ascii export.
2598
2599 2001-10-22  Juergen Vigna  <jug@sad.it>
2600
2601         * insettext.C (checkInsertChar): added for REALLY checking the
2602         font of the inserted char in the right inset!
2603
2604 2001-10-19  Juergen Vigna  <jug@sad.it>
2605
2606         * inset.h: added method allowSpellcheck() so that insets who do
2607         not have anything to spellcheck can tell and so they are over-jumped.
2608         Implemented for InsetText and co.
2609
2610 2001-10-18  Juergen Vigna  <jug@sad.it>
2611
2612         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2613
2614 2001-10-15  José Matos  <jamatos@fep.up.pt>
2615
2616         * insetert.C: allow export for docbook and linuxdoc
2617
2618 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
2619
2620         * insetquotes.C (dispString): handles latin3 and latin4 quotes
2621
2622 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2623
2624         * insetquotes.C (dispString): fix handling of latin9 quotes
2625
2626 2001-10-03  Juergen Vigna  <jug@sad.it>
2627
2628         * insetert.C: ditto
2629
2630         * insetcollapsable.C: change updateInset calls to not tell BV that
2631         we have changed status.
2632
2633 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2634
2635         * insettabular.C (deletable): make const
2636
2637 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2638
2639         * insetert.C (latex): Fix the returned value
2640
2641 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
2642
2643         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2644         Returns string(), so nothing in an ERT inset is spellchecked.
2645
2646         * insetgraphics.C (draw): print the filename if not displaying the
2647         image.
2648         (width): make sure that the width and draw methods are consistent.
2649         (updateInset): don't even load the image into cache if not displaying
2650         it.
2651
2652 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
2653
2654         * various files (selectNextWord): renamed as
2655         selectNextWordToSpellcheck.
2656
2657         * insetgraphics.C (draw): remove the previous change. Right place
2658         is in imageLoaderXPM.C.
2659         (draw): don't display the image if params.display == NONE.
2660
2661 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
2662
2663         * figinset.C (runqueue):
2664         * insetgraphics.C (draw): set background colour of inset from
2665         background to the user-configurable graphicsbg.
2666
2667 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2668
2669         * insetquotes.C (InsetQuotes): when trying to decide the side of
2670         the quote, choose `left' only after a space or '('
2671
2672 2001-09-04  José Matos  <jamatos@fep.up.pt>
2673         * figinset.C
2674         * figinset.h
2675         * insetcaption.C
2676         * insetcaption.h
2677         * insetcollapsable.h
2678         * insetcommand.C
2679         * insetcommand.h
2680         * inseterror.h
2681         * insetert.C
2682         * insetert.h
2683         * insetexternal.C
2684         * insetexternal.h
2685         * insetfloat.C
2686         * insetfloat.h
2687         * insetfloatlist.h
2688         * insetgraphics.C
2689         * insetgraphics.h
2690         * inset.h
2691         * insetinclude.C
2692         * insetinclude.h
2693         * insetlabel.C
2694         * insetlabel.h
2695         * insetlatexaccent.C
2696         * insetlatexaccent.h
2697         * insetquotes.C
2698         * insetquotes.h
2699         * insetref.C
2700         * insetref.h
2701         * insetspecialchar.C
2702         * insetspecialchar.h
2703         * insettabular.C
2704         * insettabular.h
2705         * insettext.C
2706         * insettext.C (docbook): rename docBook method to docbook.
2707
2708 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
2709
2710         * inset.h (getFirstParagraph): New virtual method.
2711
2712 2001-08-20  Herbert Voss  <voss@perce.de>
2713         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2714         in the the bibtex-database-gui for inserting a line
2715         \addcontentsline...
2716
2717         If no style is given than there is no tex-output.
2718
2719 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
2720
2721         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2722         files as a vector.
2723         (getKeys): use it.
2724
2725 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
2726
2727         * insetert.C (latex): Fix output for multiple paragraphs.
2728         (write): New code for writing paragraph data.
2729         (read): Set font after reading the inset.
2730         (localDispatch): Call set_latex_font() for more cases.
2731
2732         * insetnote.h: Add empty validate method.
2733         * insetert.h: Ditto
2734
2735         * insetnote.C (InsetNote): Set language to the language of the
2736         document.
2737
2738 2001-08-16  Juergen Vigna  <jug@sad.it>
2739
2740         * insettext.C: implemented the new FINISHED states.
2741
2742         * insettabular.C: ditto
2743
2744         * inset.h: added more FINISHED states for cursor right,up,down
2745
2746 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
2747
2748         * insetfloatlist.C: use "FloatName List"
2749
2750 2001-08-14  Juergen Vigna  <jug@sad.it>
2751
2752         * insetert.C (edit): forgot to set status_ in edit calls!
2753
2754 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
2755
2756         * insettext.C: Compilation fix
2757
2758 2001-08-13  Juergen Vigna  <jug@sad.it>
2759
2760         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2761
2762         * insetcollapsable.C (edit): don't recollapse an already open inset.
2763
2764         * insettext.C: fixed problem when reinitializing LyXText by not doing
2765         it while lt is in use and post this to the next possible time in
2766         getLyXText().
2767         (searchForward): fixed not unlocking of inset if nothing found.
2768         (edit): set cursor behind right (was set -1 pos).
2769
2770         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2771
2772         * insettabular.C (tabularFeatures): fixed fix where deleting the
2773         last row didn't get the right actcell!
2774
2775 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
2776
2777         * insettext.C (localDispatch): Change language only when the inset
2778         becomes empty.
2779
2780 2001-08-10  Juergen Vigna  <jug@sad.it>
2781
2782         * insettabular.C (selectNextWordInt): use the front using edit call.
2783
2784         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2785         the parameter overwrite class variable inset.
2786
2787         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2788
2789         * insettext.C (saveLyXTextState): check for invalid cursor-par.
2790         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
2791
2792         * insettabular.C (calculate_dimensions_of_cells): let's try to call
2793         update only for fixed with cells.
2794         (resetPos): try to fix the lockup on spellchecking or s&r.
2795
2796         * insettext.C (update): comment this out as it seems first wrong
2797         and second not needed anymore!
2798         (some functions): call reinitLyXText() only in update() in all other
2799         positions set only need_update = INIT.
2800
2801 2001-08-08  Juergen Vigna  <jug@sad.it>
2802
2803         * insettabular.C (setPos): fixed wrong actrow < rows() check.
2804
2805         * insettext.C (insetUnlock): remove double-space on inset unlock.
2806
2807         * insetcollapsable.C (draw): fix returned x when label > inset-width.
2808
2809         * insettabular.C (update): fixed cursor positon after an insert.
2810         (insetAllowed): do not allow to insert insets when not inside the
2811         inset!
2812         (draw): clear below an inset too as it could have changed height.
2813
2814         * inset.C (getMaxWidth): fixed width for inset in inset.
2815
2816         * insettext.C (update): small fix.
2817
2818         * insettabular.C (tabularFeatures): added selection support to
2819         DELETE_ROW/DELETE_COLUMN.
2820
2821 2001-08-07  Juergen Vigna  <jug@sad.it>
2822
2823         * inset.C (getMaxWidth): recoded and all it's implementations!
2824
2825         * insettext.C (init,setParagraph+constructors): cleanups
2826         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2827         are new and I want do a save/restore of the cursor position which is
2828         not possible anymore.
2829
2830         * insetcollapsable.C (searchBackward): recollapse inset if not found.
2831         (searchBackward): ditto
2832         (selectNextWord): ditto
2833
2834 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
2835
2836         * insetlatexaccent.C (checkContents): Add some debug messages
2837
2838 2001-08-07  Juergen Vigna  <jug@sad.it>
2839
2840         * insetert.C (read): don't use InsetCollapsable::read as we don't
2841         write the collapsed status anymore only the status.
2842         (write): ditto.
2843
2844 2001-08-06  Juergen Vigna  <jug@sad.it>
2845
2846         * insetert.C (set_latex_font): use LyXText's setFont directly.
2847
2848         * insettext.C (drawFrame): fixed one time more the right position
2849         and size of the frame!
2850
2851         * insetert.C (~InsetERT): hide the dialog.
2852         (showInsetDialog): added implementation
2853         (open): ditto
2854         (close): ditto
2855         (status): new function for the status of the ERT inset (3-state).
2856         (write): output also the status of the inset for readback!
2857         (read): readback the status if available otherwise use collapsed_.
2858
2859         * insettext.C (edit): small fix of setting the position, which could
2860         have gone < 0.
2861
2862         * insetert.C (width): implement this function for inlined viewing.
2863         Added minimum width of 10 pixels!
2864
2865         * insetminipage.C (InsetMinipage): just change the colors a bit so
2866         that border/background is a bit more visible. We will remove this
2867         anyway for 1.2.0!
2868
2869         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2870         function for getting the important widths for drawing in various
2871         functions and in LyXText.
2872         (draw): fixed up a bit (frame drawing/clearing)
2873
2874 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2875
2876         * inset.C (convertFont): delete method. not used.
2877
2878 2001-08-03  Juergen Vigna  <jug@sad.it>
2879
2880         * insettext.C (setFont): don't call for a draw update if we're just
2881         changing the cursor font!
2882
2883 2001-08-02  Juergen Vigna  <jug@sad.it>
2884
2885         * insettext.C (draw): clear the background with the right color if
2886         needed. Update myself if x&max-width changed and return without doing
2887         anything. Let the update code handle the right stuff.
2888
2889         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2890         inside another inset.
2891
2892 2001-08-01  Juergen Vigna  <jug@sad.it>
2893
2894         * insetcollapsable.C (update): added an in_update bool so we avoid
2895         reentering.
2896
2897         * insettabular.C (update): added an in_update bool so we avoid
2898         reentering.
2899
2900         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2901         selection problem.
2902         (update): added an in_update bool so we avoid reentering.
2903
2904         * insettabular.C (localDispatch): clear col/row selection when doing
2905         something else inside an inset.
2906
2907         * insettext.C (getLyXText): fixed bug when requesting a recursive
2908         insettext!
2909
2910 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
2911
2912         * insetcite.C (latex): Paranoia check. Make sure that there is no
2913         whitespace between the citation keys.
2914
2915 2001-07-31  Juergen Vigna  <jug@sad.it>
2916
2917         * inset.h (nodraw): make the set function also const so that this
2918         can be called from inside other const functions.
2919
2920         * insetcollapsable.h: removed inline variable and moved it over
2921         to the only user InsetERT.
2922
2923         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2924         inset opening immediately therein lying insets dialogs!
2925
2926         * insetert.C (localDispatch): set the font also if we don't have any
2927         chars in this paragraph, otherwise if we delete all of em and start
2928         writing we have the wrong font.
2929         (inlined): added
2930         (draw): implemented for inline support
2931         (insetButtonRelease): ditto.
2932
2933 2001-07-30  Juergen Vigna  <jug@sad.it>
2934
2935         * insettext.C (reinitLyXText): new function to reinit the insets
2936         text after lot's of paragraph changes. Use this instead of the
2937         cache.clear() which is VERY dangerous.
2938
2939         * insetfloat.C (insetButtonRelease): we should only show the dialog
2940         if we press on the label otherwise we have problems to open mouse
2941         button 3 dialogs inside this float (f.ex. of a tabular!)
2942
2943 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2944
2945         * insetert.C: change back to "ERT"
2946
2947         * insetfloat.C: handliign of RMB on label added.
2948
2949 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2950
2951         * insetgraphicsParams.C: #include LOstream.h here.
2952
2953         * insetfoot.h: remove InsetFoot:: qualifier.
2954
2955 2001-07-29  Baruch Even  <baruch@lyx.org>
2956
2957         * ChangeLog: Hiding time travel evidence.
2958
2959         * insetgraphicsParams.h:
2960         * insetgraphicsParams.C:
2961         * insetgraphics.C: Added horizontal scale option, it actually scales both
2962         directions since it keeps image proportions.
2963
2964         * insetgraphics.C: Fixed EPS detection to be non-hacky.
2965
2966 2001-07-29  Baruch Even  <baruch@lyx.org>
2967
2968         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
2969         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
2970
2971         HACKY! Will need to add an EPS detection routine like old InsetFig does!
2972
2973 2001-07-29  Baruch Even  <baruch@lyx.org>
2974
2975         * insetgraphics.C: Added EPSI to be an alias of EPS.
2976
2977 2001-07-29  Baruch Even  <baruch@lyx.org>
2978
2979         * insetgraphics.C: Change GRAPHICS to Graphics.
2980         Changed image conversion rules (documented at the beginning of file).
2981
2982 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
2983
2984         * insetert.C (get_new_label): int -> Paragraph::size_type to get
2985         std::min working.
2986
2987         * insetgraphics.C: added a using std::endl directive.
2988
2989         * insetcommand.h (getScreenLabel): removed pure virtual function,
2990         as it duplicates that in InsetButton.
2991
2992         * insetbib.[Ch] (getScreenLabel):
2993         * insetbutton.[Ch] (getScreenLabel):
2994         * insetcite.[Ch] (getScreenLabel):
2995         * insetert.[Ch] (getScreenLabel):
2996         * insetexternal.[Ch] (getScreenLabel):
2997         * insetfloatlist.[Ch] (getScreenLabel):
2998         * insetinclude.[Ch] (getScreenLabel):
2999         * insetindex.[Ch] (getScreenLabel):
3000         * insetlabel.h (getScreenLabel):
3001         * insetparent.[Ch] (getScreenLabel):
3002         * insetref.[Ch] (getScreenLabel):
3003         * insettoc.[Ch] (getScreenLabel):
3004         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3005
3006         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3007         the label.
3008         (validate): remove check on "cite" when using natbib.
3009
3010 2001-07-26  Baruch Even  <baruch@lyx.org>
3011
3012         * insetgraphics.C (draw): changed casting to be in one place rather than
3013         all over the function.
3014
3015         * insetgraphics.h:
3016         * insetgraphics.C (read): Added compatibility reads of InsetFig.
3017
3018         * insetgraphicsParams.h:
3019         * insetgraphicsParams.C:
3020         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3021
3022 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
3023
3024         * insetfoot.C (validate): Added method to ensure that the
3025         right bit of LaTeX is emitted.
3026
3027         * insetfoot.h: Added validate method to set the correct
3028         LaTeXFeatures bit for the special footnote code.
3029
3030 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3031
3032         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3033         quotes
3034
3035 2001-07-27  Juergen Vigna  <jug@sad.it>
3036
3037         * inset.h: remove not used font variable in parameter.
3038         removed checkInsertChar in UpdatableInset as it was equal to
3039         the one in Inset and so not needed.
3040
3041         * insetert.C (checkInsertChar): implementation of function
3042         checkInsertChar.
3043
3044         * inset.h: added new function checkInsertChar.
3045
3046         * various files: added c-tor and clone() function.
3047
3048         * insetcollapsable.h: removed clone function here as this should
3049         be only realized in REAL insets and added it to all collapsable
3050         insets! (with the copy-constructor).
3051
3052 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3053
3054         * insetminipage.C (read): handle missing parameters more gracefully
3055
3056         * insetcollapsable.C (read): handel missing collapsed more gracefully
3057
3058 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3059
3060         * insetfloat.C (read): handle missing parameters.
3061
3062         * insettext.C (read): handle old latex end_inset
3063
3064         * insetert.C (setButtonLabel): new method
3065         (init): use it, to set the dynamic label correctly
3066         (read): use it
3067
3068         * Makefile.am (EXTRA_DIST): add files that is not part or the
3069         binary here.
3070
3071         * insetcollapsable.h: remove autocollapsable (no users), remove
3072         draw_label, change_label_with_text and companion code. Remove args
3073         from some methods.
3074         * insetert.[Ch]: move here instead (only user)
3075
3076         * inset.h: rename private variable name to name_, make
3077         selectNextWord return a const string. make getInsetName return a
3078         string const &. Remove bool from open, add close.
3079
3080         * Makefile.am: don't compile insetlist, insetsection
3081         and insettheorem
3082
3083 2001-07-24  Juergen Vigna  <jug@sad.it>
3084
3085         * insetert.C (InsetERT): put init after the paragraph initialization,
3086         as otherwise we don't set the draw_label right.
3087
3088         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3089         insets with the mouse without having strange selections.
3090         (edit): if the inset was collapsed and we open it here then put the
3091         cursor always at the beginning of the inset.
3092         (get_new_label): 15 instead of 10 max chars in the label.
3093
3094         * insetert.C (localDispatch): added and handle various stuff we
3095         need to handle here (font setting on paragraph break, not permitted
3096         layout setting, etc.).
3097
3098         * inset.h: added default copy-consturctor and implemented this in
3099         various insets with the change to use this in the clone function!
3100
3101 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * insetminipage.C (InsetMinipage): set background color to red :)
3104
3105 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3108         draw frame mode is LOCKED.
3109
3110         * insetcollapsable.C (edit):
3111         (insetButtonRelease): set update status to full when
3112         opening inset.
3113
3114         * insettext.C (clearInset):
3115         * insettabular.C (draw):
3116         * insetlatexaccent.C (draw): honor background color.
3117
3118         * inset.h: new member background_color_, initialized to
3119         LColor::inherit.
3120
3121         * inset.C (backgroundColor): new method.
3122         (setBackgroundColor): new method.
3123
3124         * insetert.C (init): new method, called by the ctors.
3125         (InsetERT): when inserting contents, make sure the font is
3126         ALL_INHERIT.
3127
3128         * insetnote.C (InsetNote): when inserting content, remove trailing
3129         newline
3130         (init): set background color to LColor::note
3131
3132 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3133
3134         * insetcollapsable.C: adjust
3135
3136         * insetbutton.C: adjust
3137
3138 2001-07-23  Juergen Vigna  <jug@sad.it>
3139
3140         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3141         parameter on the _collapsed function (was not needed) and call
3142         always width_collapsed().
3143
3144         * insetert.C (InsetERT): use setLabel with "true" flag.
3145
3146         * insetcollapsable.C: modified various functions to set the draw_label
3147         string right in any condition.
3148         (setLabel): added a bool parameter to set change_label_with_text.
3149
3150         * insetcollapsable.h: added draw_label string which is set to the
3151         actual drawn label-string, while label is the original static label
3152         of this collapsable inset. Added bool change_label_with_text to set
3153         if we want that the label changes to the start of the InsetText's
3154         text when collabpsed. You can set this flag with the setLabel funciton.
3155         Added bool inlined for inlined collapsable insets, but not handled
3156         yet.
3157
3158         * insetcollapsable.C (get_new_label): added should get a new label
3159         from the InsetText beginning (for now 10 chars).
3160
3161 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3162
3163         * insetquotes.C (latex): fix the handling of french double quotes
3164         when not using the french pachage.
3165
3166 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3167
3168         * insetcollapsable.h: make WidthCollapsed mutable.
3169
3170         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3171         InsetPrintIndex returns INDEX_PRINT_CODE.
3172
3173         * inset.h: add INDEX_PRINT_CODE
3174
3175         * insetcollapsable.C (draw): init widthCollapsed if necessary
3176         (width): ditto.
3177
3178         * insetquotes.C (width): use the local language, not the document
3179         language.
3180         (draw): ditto.
3181         (dispString): add additional spacing for all french languages,
3182         like fr_CA.
3183         (validate): make it work when there is no default language
3184
3185         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3186
3187         * insetnote.C (init): new method, called by the constructors
3188         (InsetNote): new constructor with contents passed as a string
3189
3190 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3191
3192         * insetfootlike.C (insetAllowed): disallow float in footlike.
3193
3194         * insetert.C (InsetERT): add collapsed argument to the constrctor
3195         with contents.
3196
3197 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3198
3199         * insetindex.h: shut off warning
3200
3201 2001-07-20  Juergen Vigna  <jug@sad.it>
3202
3203         * insetcollapsable.C (update): recoded hopefully works now!
3204
3205 2001-07-19  Juergen Vigna  <jug@sad.it>
3206
3207         * most files: implemented the below new introduced function.
3208
3209         * inset.h: added new edit(BufferView *, bool front) method to be able
3210         to enter an inset from the front/back without knowing x/y positions
3211         and baselines inside the inset. So I just can tell the inset activate
3212         me and set the cursor on the front/back of yourself.
3213
3214 2001-07-18  Juergen Vigna  <jug@sad.it>
3215
3216         * insetcollapsable.C (edit): fixed hopefully the y parameter which
3217         is given to the InsetText.
3218         (insetButtonPress): ditto
3219         (insetButtonRelease): ditto
3220         (insetMotionNotify): ditto
3221
3222 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3223
3224         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3225         LIGATURE_BREAK, since the name is so stupid.
3226
3227 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
3228
3229         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3230         the default InsetCollapsable methods. I.e., it can insert anything.
3231         (write) output the name of the inset, not some silly hack for
3232         compatability with the old InsetInfo.
3233
3234         * insetinfo.[Ch]: removed.
3235         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3236         now collapsable, but functionality is otherwise identical to InsetInfo.
3237
3238         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3239
3240 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3241
3242         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3243         reformatting
3244
3245         * insetquotes.C: general cleanup
3246         (dispString): add spaces inside french double quotes.
3247         (latex): ditto. Moreover, treat first the case where the frenchb
3248         or french options have been given.
3249
3250 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
3251
3252         * insetcite.[Ch] (latex, validate): new methods, required for natbib
3253         support.
3254
3255 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
3256
3257         * figinset.C (RegisterFigure): Print debug message only when
3258         current_view is available.
3259
3260 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3261
3262         * many files: update to match the change below
3263
3264         * inset.h (insetAllowed): renamed from insertInsetAllowed;
3265         implement the version which takes an inset here.
3266
3267         * insetcollapsable.[Ch]: implement open and isOpen
3268
3269         * inset.h: remove insertInsetAllowed from Inset
3270         (open): new method, to open or close an inset
3271         (isOpen): returns the status of an inset
3272         (isCollapsable, colapse): removed
3273
3274 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3275
3276         * insetquotes.C (dispString): display french guillemets when using
3277         ISO8859-15.
3278
3279 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3280
3281         * insetcollapsable.h: remove bogus return statements
3282
3283 2001-07-18  Juergen Vigna  <jug@sad.it>
3284
3285         * insettabular.C (selectNextWord): fixed spellchecking for the
3286         first cell of a tabular (wasn't entered!)
3287         (getLyXText): changed to enter automatically insettext and return
3288         it's LyXText if we're locked.
3289
3290 2001-07-17  Juergen Vigna  <jug@sad.it>
3291
3292         * various files: implemented the below functions.
3293
3294         * inset.h: added functions
3295         - virtual string selectNextWord(BufferView *, float & value) const;
3296         - virtual void selectSelectedWord(BufferView *) { return; }
3297         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3298         needed for spellchecking correctly!
3299
3300 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3301
3302         * insetert.C (latex): write out all paragraphs.
3303
3304 2001-07-17  Baruch Even  <baruch@lyx.org>
3305
3306         * insetgraphics.C (draw): Removed unneeded casts.
3307
3308 2001-07-16  Juergen Vigna  <jug@sad.it>
3309
3310         * insettext.C (update): fixed small oversight (reset lt to 0).
3311
3312 2001-07-14  Baruch Even  <baruch@lyx.org>
3313
3314         * insetgraphics.h:
3315         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3316
3317 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
3318
3319         Consistent use of Lsstream.h:
3320         * figinset.C: removed using std::ostringstream directive.
3321
3322         * insetgraphics.C (createLatexOptions):
3323         * insetinclude.C (unique_id):
3324         std::ostringstream -> ostringstream.
3325         * insettext.C (localDispatch): std::istringstream -> istringstream.
3326
3327 2001-07-13  Juergen Vigna  <jug@sad.it>
3328
3329         * insetfloat.C (insertInsetAllowed): added missing const_cast.
3330
3331         * insetcollapsable.C (getLockingInset): ditto.
3332
3333 2001-07-12  Juergen Vigna  <jug@sad.it>
3334
3335         * insetcollapsable.h: added implementation of new function for
3336         collapsable status.
3337
3338         * various files: added implementation of new insertInsetAllowed-func
3339         and redone the function a bit more.
3340
3341         * inset.h: added isCollapsable(), bool collapsed(),
3342         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3343
3344         * insetfloat.C (insertInsetAllowed): make a bit more checks.
3345
3346         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3347         LyXText which is marked for removal while we're using it!
3348
3349         * insettext.h: added private LyXText * lt to use it to assure we are
3350         not deleting our LyXText while we're using it!
3351
3352 2001-07-11  Juergen Vigna  <jug@sad.it>
3353
3354         * insettext.C (insertInset): check if we are before the inset after
3355         inserting it! This check IS needed. Remove the Undo-Call as it is
3356         called in LyXText::insertInset!
3357
3358         * insettext.h: added struct InnerCache.
3359
3360         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3361         that we ONLY delete the LyXText in the getLyXText() routine. So we
3362         are sure we don't delete LyXText while someone is working with it!
3363
3364 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3365
3366         * insetexternal.C: (*it). -> it->
3367         * insettext.C: ditto
3368
3369 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3370
3371         * insetcollapsable.C (edit): always open collapsed insets (even if
3372         they are not autocollapsable)
3373
3374         * insetcommand.C (operator=): simplify.
3375
3376 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3377
3378         * insetert.C (latex): handle META_NEWLINE
3379
3380 2001-07-09  Juergen Vigna  <jug@sad.it>
3381
3382         * insetert.h: a normal InsetText can insert insets, but we won't.
3383
3384         * inset.h: return default "false" on insertInsetAllowed and implement
3385         this function where a returnvalue != "false" is needed.
3386
3387 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3388
3389         * insetert.C (InsetERT): new contructor
3390
3391 2001-07-06  Juergen Vigna  <jug@sad.it>
3392
3393         * a lot of files: added implementation of the below new functions
3394         and the change to clone(). Also the call of the new undo-functions
3395         where needed.
3396
3397         * inset.h: added an inset_id, added functions getParFromID,
3398         getInsetFromID, firstParagraph, cursor and id functions, added
3399         bool same_ids to clone function.
3400
3401 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3402
3403         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3404         of BufferView * and shared_ptr<LyXText>
3405
3406 2001-07-05  Juergen Vigna  <jug@sad.it>
3407
3408         * insettext.C (clear): deleted also the cache not only LyXText.
3409         (setParagraphData): ditto.
3410
3411 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3412
3413         * insetfloat.C (latex): let the specific placement take presedence
3414         if set, otherwise choose document placement if set, otherwise just
3415         use float default placement.
3416
3417 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3418
3419         * insettext.C (localDispatch): call CutAndPaste::'s static method
3420         directly.
3421
3422 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3423
3424         * insetbib.C: no meed to include forms.h here.
3425
3426 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
3427
3428         * insettext.C: added using std::make_pair directive.
3429
3430 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3431
3432         * insettext.C (getLyXText): avoid multiple lookups, and simplify
3433         slightly
3434         (deleteLyXText): ditto
3435         (resizeLyXText): ditto
3436
3437 2001-07-02  Juergen Vigna  <jug@sad.it>
3438
3439         * insettext.C (getLyXText): introduce a cache in getLyXText so that
3440         following calls are only returned the right pointer without the over
3441         head to search in the map.
3442         (various funcs): reset the cached_bview variable as this signs that
3443         the cache is not valid anymore.
3444
3445 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3446
3447         * insettabular.C (clone): do not copy the LyXTabular twice
3448
3449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3450
3451         * insettext.h (TEXT): delete method
3452
3453 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3454
3455         * insetmarginal.C (latex):
3456         * insetfoot.C (latex): fix spacing of notes in LaTeX
3457
3458         * insettext.C (localDispatch): use .c_str() on istringstream
3459         constructor argument.
3460
3461 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
3462
3463         * insettoc.h:
3464         * insettoc.C:
3465         * inseturl.h:
3466         * inseturl.C: fix method names in these to begin
3467           with small char too, so they inherit
3468
3469 2001-06-28  Juergen Vigna  <jug@sad.it>
3470
3471         * insettext.C (setFont): fixed font settings using toggleFree()
3472         instead of setFont().
3473
3474 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3475
3476         * Change a lot of method names to begin with a small char.
3477         Changes to a lot of files because of this.
3478
3479 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3480
3481         * insetfloatlist.C (Write): std:: qualify ostream
3482         (Latex): ditto
3483
3484 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
3485
3486         * figinset.C:
3487         * inset.C:
3488         * insetgraphics.C: send debug output to Debug::INFO instead of
3489         Debug::ANY.
3490
3491 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
3492
3493         * insettabular.h:
3494         * insettabular.C (getStatus): update to use func_status
3495
3496 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
3497
3498         * insetref.C (DocBook): added support for cross-references without
3499         a name.
3500
3501 2001-06-26  The LyX Project  <jug@sad.it>
3502
3503         * insetref.C:
3504         * insetref.h:
3505         * insetlabel.C:
3506         * insetlabel.h: removed escape method and moved it to
3507         support/lstrings.h.
3508
3509 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3510
3511         * insettabular.C (getMaxWidth): do the speedup in a different way,
3512         remove dead code
3513
3514 2001-06-24  The LyX Project  <Asger>
3515
3516         * insettabular.C (getMaxWidth): We cache a mapping from
3517         inset to cell in order to speed this method up.
3518
3519 2001-06-24  The LyX Project  <Asger>
3520
3521         * insettext.C: Optimized InsetText::draw or something.
3522
3523 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
3524
3525         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3526
3527 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3528
3529         * inset.h: name change from lyxinset.h
3530
3531 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
3532
3533         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3534
3535 2001-06-14  Juergen Vigna  <jug@sad.it>
3536
3537         * insettext.C (draw): removed warnings.
3538
3539 2001-06-13  Juergen Vigna  <jug@sad.it>
3540
3541         * insettabular.C (nodraw): only go down the tree if we don't have
3542         that flag set otherwise it's obvious that we don't want to draw.
3543         (LocalDispatch): do also an update if we have an undispached result.
3544
3545 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
3546
3547         * insetcite.C:
3548         * insetgraphicsParams.C:
3549         * insettext.C: removed // -*- C++ -*- as first line.
3550
3551 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3552
3553         * lyxinset.h (resizeLyXText): shut off warning about unused
3554         parameter "force"
3555
3556 2001-06-07  Juergen Vigna  <jug@sad.it>
3557
3558         * insettext.C (resizeLyXText): honor the new force flag.
3559
3560         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3561
3562         * insettabular.C (deleteLyXText): new function
3563
3564 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
3565
3566         * insettheorem.C:
3567         * insetminipage.C:
3568         * insetlist.C:
3569         * insetfootlike.C:
3570         * insetfloat.C:
3571         * insetert.C:
3572         * insetcollapsable.C:
3573         * insetcaption.C: LColor tidy
3574
3575 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3576
3577         * figinset.C: fix typo
3578
3579 2001-06-01  Juergen Vigna  <jug@sad.it>
3580
3581         * insettabular.C (resetPos): small hack so that scroll is not set to
3582         0 when we are in the last column of a tabular. This is a problem we
3583         have because of constats 20 offset on both directions, so this can
3584         cause on the limit an endless loop.
3585
3586         * insettext.C (SetFont): forgot that we can have locking insets ;)
3587
3588 2001-05-31  Juergen Vigna  <jug@sad.it>
3589
3590         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3591
3592 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3593
3594         * figinset.C: add using std:: directive for the C functions which
3595         need that.
3596
3597 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3598
3599         * insetfloat.C (Write): write out wide info
3600         (Read): read the wide info
3601         (Latex): use the wide info when creating latex.
3602
3603         * insettext.C: adjust
3604
3605         * insetgraphics.[Ch] (statusMessage): change to return string
3606         (width): adjust
3607         (draw): adjust
3608
3609         * figinset.C (runqueue): add std::
3610         (Recompute): ditto
3611
3612 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3613
3614         * insetcite.C (Ascii): add std:: qualifier
3615
3616 2001-05-28  Juergen Vigna  <jug@sad.it>
3617
3618         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3619         a endless-width inset (maxWidth < 0).
3620         (Edit): change language only if not equal.
3621
3622         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3623
3624         * insettext.C (draw): fixed draw/clear of InsetText-Frame
3625
3626 2001-05-16  Juergen Vigna  <jug@sad.it>
3627
3628         * insettext.C (selectAll): added
3629         (clearSelection): added
3630
3631         * insettabular.C (SetFont): now we may set a font on a whole selection!
3632         (getSelection): added helper function.
3633
3634 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
3635
3636         * insetcite.C (Ascii): Add method.
3637
3638 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
3639
3640         * figinset.C:
3641         * insetbib.C: fix path for OS/2 & Win32
3642
3643 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3644
3645         * insetfoot.C (Latex): don't use % after footnote.
3646
3647 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3648
3649         * insettext.C (Read): use clear
3650         (SetParagraphData): use LyXParagraph copy constructor instead of clone
3651
3652 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3653
3654         * insetfloatlist.h: add a bunch of std:: qualifiers.
3655
3656 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3657
3658         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3659         FLOAT_LIST_CODE, renumber code list.
3660
3661         * insettoc.C (getScreenLabel): remove support for float lists
3662         (LyxCode): ditto
3663         (Ascii): ditto
3664
3665         * insetfloatlist.[Ch]: new files
3666
3667         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3668
3669 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
3670
3671         * insettabular.C (LocalDispatch):
3672         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3673         method
3674
3675 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3676
3677         * insettext.C: remvoe !NEW_INSETS cruft
3678
3679         * insettabular.C: remove !NEW_INSETS cruft
3680
3681         * insetcollapsable.h: remove !NEW_INSETS cruft
3682
3683         * insetbib.C: remove !NEW_INSETS cruft
3684
3685 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3686
3687         * insettoc.C: hack to make listof algorithm work
3688
3689 2001-04-20  Juergen Vigna  <jug@sad.it>
3690
3691         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3692
3693 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3694
3695         * insetquotes.C (Latex): improve the guard against
3696         unwanted !` and ?` ligatures. This should really be done in
3697         another place (to catch all this ligatures at low-level).
3698
3699 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3700
3701         * insettext.C (init): remvoe leftovers from cursor_visible change
3702         (draw): use c++ cast
3703         (LocalDispatch): dispatch LFUN_MESSAGE
3704
3705         * insettabular.C (InsetTabular): remove leftovers from
3706         cursor_visible, and scoped_ptr changes
3707         (draw): use c++ cast
3708
3709         * insetcollapsable.C (draw): use c++ cast
3710
3711         * ExternalTemplate.h: inherit privaely from noncopyable
3712         * insetcommand.h: ditto
3713         * insetinclude.h: ditto
3714
3715 2001-04-16  Allan Rae  <rae@lyx.org>
3716
3717         * insettoc.C (Ascii):
3718         * insettext.C (draw):
3719         * insettabular.C (setPos):
3720         * insetminipage.C (Read):
3721         * insetfloat.C (placement):
3722         * insetcaption.C (Ascii, DocBook):
3723         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3724         an unrecognised preprocessor directive.  So ensure they're wrapped.
3725
3726 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
3727
3728         * insetexternal.h:
3729         * insetexternal.C: set view on Clone. Add _ to private members.
3730
3731 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3732
3733         * insettext.C (InsetText): fix new
3734         (InsetText): reindent some, simplify deletion of par list
3735         (clear): simplify deletion of par list, fix new
3736         (SetParagraphData): simplify deletion of par list
3737
3738         * insettabular.[Ch] (getLabelList): implement new method
3739
3740 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3741
3742         * lyxinset.h: do not include gettext.h...
3743
3744         * inset.C:
3745         * insetcaption.C:
3746         * insetexternal.C:
3747         * insetgraphics.C:
3748         * insetindex.C:
3749         * insetlabel.C:
3750         * insetlatexaccent.C:
3751         * insetminipage.C:
3752         * insetquotes.C:
3753         * insettabular.C:
3754         * inseturl.C: ... and do it here instead
3755
3756 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3757
3758         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3759
3760         * insettext.[Ch] (getLabelList): add std:: on vector<string>
3761
3762         * insetcollapsable.[Ch] (getLabelList): implement
3763
3764         * insettext.[Ch] (getLabelList): implement
3765
3766         * insettext.h: reindent
3767
3768         * insettabular.h: make tabular a scoped_ptr
3769
3770         * insettext.C (init): adjust for cursor_visible
3771         (ToggleInsetCursor): constify asc and desc, font, adjust for
3772         cursor_visible
3773         (ShowInsetCursor): constify asc and desc, font, adjust for
3774         cursor_visible
3775         (HideInsetCursor): adjust for cursor_visible
3776
3777         * insettabular.C: reindent some
3778         (InsetTabular): adjust for scoped_ptr and cursor_visible
3779         (InsetTabular): ditto
3780         (~InsetTabular): delete delete
3781         (Clone): adjust for scoped_ptr
3782         (Read): constify old_format, adjust for scoped_ptr, move init of
3783         token
3784         (draw): constify tx, localize loop vars.
3785         some other localization of variables, remove double initilizatons.
3786
3787         * insetfoot.C: remove using std::ostream, add ostream where needed
3788
3789 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3790
3791         * lyxinset.h: some reindentaion, use initializer list for
3792         constructro.
3793         UpdatableInset: make cursor_visible a private var add
3794         public isCursorVisible(), add protected toggleCursorVisible() and
3795         proctected setCursorVisible(bool), make scroll call the Inset::scroll
3796
3797         * insettoc.C: remvoe using decl
3798         (getScreenLabel): make cmdname donst
3799         (LyxCode): ditto
3800         (Ascii): ditto
3801         (Ascii): don't use endl
3802
3803         * insetfootlike.C: remove using decl at file scope and add std::
3804         where needed
3805         * insetmarginal.C: ditto
3806
3807         * insetfoot.C: some reformatting
3808
3809         * insetfloat.C (InsetButtonRelease): adjust the hit area
3810
3811         * insetert.C (SetFont): some reformatting
3812
3813         * insetcollapsable.C: some reformatting and constification
3814         (Clone): comment out.
3815         * insetcollapsable.h: some reformatting
3816         (Clone): comment out.
3817
3818         * inset.C: reindent
3819         (scroll): simplify
3820
3821 2001-03-30  Juergen Vigna  <jug@sad.it>
3822
3823         * insetcollapsable.h: changen *inset to be a InsetText inset.
3824
3825         * some files: changed to reflect the above change.
3826
3827 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
3828
3829         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3830         InsetExternal::Params.
3831         Added operator==() and operator!=() for the Params struct.
3832
3833 2001-03-29  Juergen Vigna  <jug@sad.it>
3834
3835         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3836         BufferView *.
3837
3838         * insetminipage.C: removed widthp_ and all it's functions and changed
3839         to use new %-lengths of LyXLength.
3840
3841 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
3842
3843         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3844
3845 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
3846
3847         * insetgraphicsParams.C (operator!=): new function, needed by the
3848         ControlGraphics class.
3849
3850 2001-03-28  Juergen Vigna  <jug@sad.it>
3851
3852         * insettext.C (InsetButtonPress): only enter !inset if button == 2
3853         (checkAndActivateInset): don't use the values returned from
3854         call to bv->checkInsetHit.
3855
3856         * insetminipage.C (Clone): set special minipage values.
3857
3858         * insetcollapsable.C (draw): changed to draw the button in the
3859         upper left corner outside the textinset.
3860         (ascent): changed because of different drawing
3861         (descent): ditto
3862         (width): ditto
3863         (Edit): ditto
3864         (InsetButtonPress): ditto
3865         (InsetButtonRelease): ditto
3866         (InsetMotionNotify): ditto
3867
3868 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
3869
3870         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3871         contain a suffix.
3872         (Clone): ditto
3873
3874 2001-03-26  Juergen Vigna  <jug@sad.it>
3875
3876         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3877
3878         * insettext.C (ShowInsetDialog): implemented above function.
3879
3880         * insettabular.C (ShowInsetDialog): ditto
3881
3882         * insetminipage.C (ShowInsetDialog): ditto
3883
3884 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
3885
3886         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3887         InsetInclude::Params. Don't store a buffer * in Params. Store the
3888         master file name instead.
3889
3890 2001-03-23  Juergen Vigna  <jug@sad.it>
3891
3892         * insetcollapsable.C (InsetMotionNotify):
3893         (InsetButtonRelease):
3894         (InsetButtonPress): fixed y-offset (minipages).
3895
3896         * insettext.C (draw): force a FULL update if cleared == true.
3897
3898         * insetcollapsable.C (draw): Lars forgotten entry for changing this
3899         routine to draw the minipages on its position-flag.
3900         (InsetInInsetY): give back the right y position, because of minipage
3901         position-flag.
3902
3903 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
3904
3905         * insetfloat.h
3906         * insetfloat.C (DocBook): docbook export code.
3907
3908 2001-03-22  Juergen Vigna  <jug@sad.it>
3909
3910         * insetminipage.C (getMaxWidth): added function to set the drawing
3911         width!
3912         (Read): should work now!
3913
3914         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3915         if we create a new inset.
3916
3917 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
3918
3919         * figinset.C (fl_set_preemptive_callback): moved definition outside
3920         of namespace anon.
3921
3922 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3923
3924         * insetminipage.C (Read): prepare for reading of minipage arguments.
3925
3926 2001-03-18  Baruch Even  <baruch@lyx.org>
3927
3928         * insetgraphics.C: Minor cleanups of the comments and code.
3929
3930 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3931
3932         * insetminipage.C (InsetMinipage): default to not collapsed
3933
3934 2001-03-16  Juergen Vigna  <jug@sad.it>
3935
3936         * insetminipage.C (width): modified with to be a string
3937         (widthp): added widthp (for % width) support functions.
3938         (InsetButtonRelease): added to open the options dialog on button==3.
3939         (~InsetMinipage): added to hide the dialog.
3940
3941         * insetminipage.h: added hideDialog signal
3942
3943 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3944
3945         * insetminipage.h: change the order or Position to match
3946         LyXParagraph::MINIPAGE_ALIGNMENT
3947
3948         * several files: remvoe CXX_WORKING_NAMESPACES
3949
3950         * ExternalTemplate.h: noncopyable is in namespace boost
3951         * insetinclude.h: ditto
3952         * insetcommand.h: ditto
3953
3954 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
3955
3956         * insettext.C (Edit): #else# -> #else.
3957         * insettoc.C: added using directive.
3958
3959 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3960
3961         * insetminipage.h: add pos, inner_pos, width and height. + getters
3962         and setters for all of them.
3963
3964 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
3965
3966         * insetinclude.C (Latex): Do not exit when the textclass of the
3967         included file differ from the textclass of the parent file.
3968
3969 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
3970
3971         * ExternalTemplate.C (read): the reading of external insets now checks
3972         for \end_inset and removes it form the input stream.
3973
3974 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
3975
3976         * ExternalTemplate.h:
3977         * ExternalTemplate.C:
3978         * insetexternal.h:
3979         * insetexternal.C: move form to GUII
3980
3981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3982
3983         * insetinclude.h:
3984         * insetinclude.C: add InsetIncludeParams, use
3985         composition rather than derivation of InsetCommand
3986
3987 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3988
3989         * insettoc.C (Ascii): use the Buffer typedefs
3990
3991 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3992
3993         * insettoc.C (Ascii): implement for dynamic number of lists
3994
3995         * insetcaption.[Ch]: update from new_insets branch
3996         * insetfloat.[Ch]: ditto
3997
3998 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
3999
4000         * insetexternal.C:
4001         * figinset.C: use new File Dialog
4002
4003 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4004
4005         * insettext.C: changes becuase of ParagraphParameters.
4006
4007 2001-02-28  Baruch Even  <baruch@ev-en.org>
4008
4009         * insetgraphics.C (updateInset): Changed due to the change in
4010         GraphicsCache.
4011
4012 2001-02-26  Juergen Vigna  <jug@sad.it>
4013
4014         * insettext.C (SetFont): Set Undo only if we have selection (as it is
4015         handled in LyXText).
4016
4017 2001-02-23  Juergen Vigna  <jug@sad.it>
4018
4019         * insettext.C (draw): some small repainting fixes.
4020         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4021
4022         * inset.C (LocalDispatch): changed action to be a kb_action (as it
4023         should be) and not an int.
4024
4025         * insettabular.C (LocalDispatch): ditto
4026
4027         * insettext.C (LocalDispatch): ditto
4028
4029         * insetcollapsable.C (LocalDispatch): ditto
4030
4031 2001-02-22  Juergen Vigna  <jug@sad.it>
4032
4033         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4034         DISPATCH it and we don't have a locking_inset.
4035
4036 2001-02-21  Baruch Even  <baruch@ev-en.org>
4037
4038         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4039         instead of GraphicsCacheItem *.
4040
4041 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4042
4043         * insetcollapsable.C (getLyXText): add const qualifier to second
4044         parameter.
4045
4046 2001-02-22  Juergen Vigna  <jug@sad.it>
4047
4048         * insettext.C (getLyXText): honor the recursive parameter.
4049         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4050
4051         * inset.C (getLyXText): added bool recursive parameter.
4052
4053         * insettext.C (SetUpdateStatus): or the update codes.
4054         (draw): check need_update with &.
4055         (InsetButtonPress): set no_selection to not put a selection when
4056         entering an inset and it is redraws in another spot.
4057
4058         * insettext.h: made need_update an int.
4059
4060 2001-02-20  Baruch Even  <baruch@ev-en.org>
4061
4062         * insetgraphics.h:
4063         * insetgraphisc.C: Changed to use better semantics when loading images
4064         for inline view. Now it doesn't keep the pixmap itself but it's holder.
4065
4066 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
4067
4068         * insetcommand.h:
4069         * inseterror.h:
4070         * insetgraphics.C: change name of "hide" signal to "hideDialog",
4071         consistent with InsetTabular.
4072
4073 2001-02-19  Juergen Vigna  <jug@sad.it>
4074
4075         * insettabular.C (LocalDispatch): implement PAGE up/down.
4076
4077         * insettext.C (draw): clear all of it on need_update==INIT too!
4078
4079         * insettabular.C (InsetUnlock): always clear the selection.
4080
4081         * inset.C (scroll): normally we only want to scroll the inset until
4082         it is fully visible so if top_x + offset > 20 then just set scx to 0.
4083
4084 2001-02-14  Juergen Vigna  <jug@sad.it>
4085
4086         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4087         (resetPos): fixed scroll behaviour.
4088         (LocalDispatch): do an update if moving cursor inside a table cell
4089         requests a scroll of the tabular.
4090
4091 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4092
4093         * insettext.C (textWidth): constify local var
4094
4095         * insettabular.C: small cleanup.
4096
4097         * insetfoot.C (Latex): constify local var
4098
4099         * insetcollapsable.C: small cleanup.
4100
4101         * figinset.C (runqueue): use compare instead of strcmp
4102
4103 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
4104
4105         * insettext.C:
4106         * insetinfo.C: remove cruft
4107
4108 2001-02-14  Juergen Vigna  <jug@sad.it>
4109
4110         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4111
4112 2001-02-13  Juergen Vigna  <jug@sad.it>
4113
4114         * insettext.C (InsertInset): don't move left (is this right?)
4115
4116         * insettabular.C (LocalDispatch): use of the no_draw variable
4117
4118         * insettabular.h: new no_draw variable to stop redraw
4119
4120         * insettabular.C (TabularFeatures): fixed update for alignment change
4121
4122 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
4123
4124         * insetinclude.C:
4125         * insetbib.h:
4126         * insetbib.C: move dialogs to frontends/
4127
4128 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
4129
4130         * insettext.C (LocalDispatch): Restore the language if the inset
4131         becomes empty.
4132
4133 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
4134
4135         * insettext.C (moveRightIntern): Update the selection cursor.
4136         (moveLeftIntern): Ditto.
4137
4138 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4139
4140         * Makefile.am: remove BoundingBox.h
4141
4142         * BoundingBox.h: removed
4143
4144 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
4145
4146         * insettext.C (LocalDispatch): Update selection cursor when moving
4147         cursor to the right.
4148         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4149         (moveLeftIntern): Ditto.
4150
4151 2001-02-05  Baruch Even  <baruch.even@writeme.com>
4152
4153         * insetgraphics.C: Updated automatic image conversion, it now goes into
4154         temporary directory instead of with the image itself.
4155
4156 2001-01-21  Baruch Even  <baruch@ev-en.org>
4157
4158         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4159         to EPS or PNG when needed (support bitmap graphics).
4160
4161 2000-11-02  Baruch Even  <baruch@ev-en.org>
4162
4163         * insetgraphics.C:
4164         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4165         and removal of commented out code.
4166
4167 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4168
4169         * insetbib.C (callback): Update citations if the key has changed.
4170
4171 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4172
4173         * insetbib.C (InsetBibKey): Better computation of default key.
4174         (getScreenLabel) Show both the key and the label.
4175         (getBibLabel): New method.
4176         (callback): Force a redraw if the inset have been changed.
4177
4178 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4179
4180         * insetref.C (getType, getName): Move methods from
4181         src/frontends/xforms/FormRef.C.
4182
4183 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
4184
4185         * insettabular.C: Various improvements (use only one dummy position).
4186
4187 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
4188
4189         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4190         par->bibkey->width. This fixes the crashes when running without
4191         gui or when having included documents.
4192
4193 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
4194
4195         * insetcommand.C (getAsString, setFromString): Cleanup.
4196
4197 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
4198
4199         * insetref.C: Add the array InsetRef::types that contains
4200         information about all supported reference types.
4201
4202 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4203
4204         * lyxinset.h: remove trailing comma in enum.
4205
4206 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
4207
4208         * insettext.C: kill LyXBell.