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