]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
inlined open submode, in the hope someone will actually test it. Easy take it back...
[lyx.git] / src / insets / ChangeLog
1 2004-03-09  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open 
4         submode.
5
6 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * insetcite.[Ch]: support jurabib.
9
10 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * insetcite.C: Support second \cite option.
13         
14         * insetcommand.[Ch]:
15         * insetcommandparams.[Ch]: add second optional argument.
16
17 2004-03-03  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * insetcollapsable.C (lfunMouseRelease): right mouse button only
20         shows the inset dialog.
21
22 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
23
24         * insetlabel.[Ch]: remove them
25         * Makefile.am: adjust
26
27 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
28
29         * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
30         temp dir
31         * insetinclude.C (latex): show a GUI warning if textclasses don't
32         match
33         * insetinclude.C: use mangledFilename() for temp files
34         * insetgraphics.C (readInsetGraphics): remove version check, since
35         the graphics inset has no own fileformat number anymore
36
37 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * insetquotes.[Ch]: added new member that allows direct access
40         to single/double quotation marks.
41         * insetnewline.[Ch]:
42         * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
43
44 2004-02-16  André Pönitz  <poenitz@gmx.net>
45
46         * insetbase.C:
47         * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
48           implicitly assume 'DispatchResult(true, true) with exception of
49           InsetBase::priv_dispatch which does the equivalent of 
50           'retrun DispatchResult(false)'
51
52         * inset*.[Ch] (priv_dispatch): adjust
53
54         * insettabular.[Ch]: remove remains of the 'update' mechanism,
55           simplify cursor moving function,
56           re-enable horizontal scrolling for large tables
57
58 2004-02-13  André Pönitz  <poenitz@gmx.net>
59
60         * insettabular.[Ch]: some work after IU
61
62 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * inset.C (setPosCache): switch to absolute coords in insets
65         * insettext.[Ch] (draw, drawFrame): adjust
66         * insetcollapsable.C (draw): adjust
67         (edit): adjust
68
69 2004-02-04  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * insettext.C (edit): 
72         (updateLocal): use the cur argument instead of the global cursor
73         * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
74
75 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
78
79         * insetfloat.C (validate): "H" -> 'H' in call to contains
80
81         * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
82
83 2004-01-30  André Pönitz  <poenitz@gmx.net>
84         * inset.[Ch]:
85         * insetbase.[Ch]:
86         * insetcharstyle.C:
87         * insetcollapsable.[Ch]:
88         * insetcommand.C:
89         * insetexternal.C:
90         * insetgraphics.[Ch]:
91         * insetinclude.C:
92         * insettabular.[Ch]:
93         * insettext.[Ch]:
94         * insetvspace.C:
95         * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
96          coordinate
97
98 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
99
100         * insettabular.C: add using statement for std::vector, remove
101         std:: where using was already used.
102
103 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * insetgraphics.C, insetinclude.C: use runparams.nice instead of
106         buffer->niceFile()
107         * insetinclude.C (validate): use feautures.nice() instead of
108         buffer->niceFile()
109
110 2004-01-20  André Pönitz  <poenitz@gmx.net>
111
112         * inset.h:
113         * insetbase.[Ch]: move stuff from mathcursor here.
114
115         * insetbibitem.[Ch]:
116         * insetbibtex.[Ch]:
117         * insetbox.[Ch]:
118         * insetbranch.[Ch]:
119         * insetcharstyle.[Ch]:
120         * insetcollapsable.[Ch]:
121         * insetcommand.[Ch]:
122         * insetert.[Ch]:
123         * insetexternal.[Ch]:
124         * insetfloat.[Ch]:
125         * insetgraphics.[Ch]:
126         * insetinclude.[Ch]:
127         * insetlabel.[Ch]:
128         * insetnote.[Ch]:
129         * insetref.[Ch]:
130         * insettabular.[Ch]:
131         * insettext.[Ch]:
132         * insetvspace.[Ch]:
133         * insetwrap.[Ch]:
134         * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
135
136 2004-01-15  André Pönitz  <poenitz@gmx.net>
137
138         * insetbase.[Ch]:
139         * insetbibitem.[Ch]:
140         * insetbibtex.[Ch]:
141         * insetbox.[Ch]:
142         * insetbranch.[Ch]:
143         * insetcharstyle.[Ch]:
144         * insetcollapsable.[Ch]:
145         * insetcommand.[Ch]:
146         * insetert.[Ch]:
147         * insetexternal.[Ch]:
148         * insetfloat.[Ch]:
149         * insetgraphics.[Ch]:
150         * insetinclude.[Ch]:
151         * insetlabel.[Ch]:
152         * insetnote.[Ch]:
153         * insetref.[Ch]:
154         * insettabular.[Ch]:
155         * insettext.[Ch]:
156         * insetvspace.[Ch]:
157         * insetwrap.[Ch]:
158         * updatableinset.[Ch] (priv_dispatch et al): change signature.
159
160 2004-01-08  André Pönitz  <poenitz@gmx.net>
161
162         * insetcollapsable.[Ch]:
163         * insettabular.[Ch]:
164         * insettext.[Ch]:
165         * updatableinset.h: use cell index info from global cursor.
166
167 2004-01-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * insetnote.C (InsetNoteParams::write): write label only once
170
171 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
172
173         * insetbranch.C (isBranchSelected): use the BranchNamesEqual
174         functor
175         get rid of the SameName functor
176
177         * insettabular.C: improve the functor.
178
179 2003-12-29  Angus Leeming  <leeming@lyx.org>
180
181         * insetexternal.C (setParams): update defaultTemplateName.
182
183 2003-12-22  Michael Schmitt  <michael.schmitt@teststep.org>
184
185         * insetbox.C: Use term "Box" in button label
186
187 2003-12-16  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * insetcharstyle.C: get getDrawFont working again
190
191 2003-12-15  André Pönitz  <poenitz@gmx.net>
192
193         * insettabular.[Ch]:
194         * insettext.C: adjust to changed name in CursorItem -> CursorSlice
195
196 2003-12-12  Angus Leeming  <leeming@lyx.org>
197
198         * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
199         a string.
200         (InsetBranchParams): remove the branchlist hack.
201         (isBranchSelected): new function, used to decide whether to
202         print each output format. Also used by InsetList.
203         (read, string2params): repair my own breakage ;-)
204
205 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
206
207         * insetminipage.[Ch]: remove from repository.
208
209 2003-12-12  Michael Schmitt  <michael.schmitt@teststep.org>
210
211         * insetert.[Ch]:
212         * insetcollapsable.[Ch]: Move all CollapseStatus code from
213         insetert to insetcollapsable; introduce virtual function
214         setButtonLabel and invoke it from collapsable
215
216 2003-12-12  Angus Leeming  <leeming@lyx.org>
217
218         * insetinclude.C (draw): cache x,y and so enable the
219         dialog to be opened.
220
221 2003-12-12  Angus Leeming  <leeming@lyx.org>
222
223         * mailinset.C (print_mailer_error): tidy up the output.
224
225 2003-12-11  Angus Leeming  <leeming@lyx.org>
226
227         * mailinset.[Ch] (print_mailer_error): new helper function.
228
229         * insetcommand.[Ch]: add a mailer_name_ variable and use it when
230         calling InsetCommandMailer.
231         (InsetCommandMailer::string2params): pass the name of the dialog.
232
233         * insetbibitem.[Ch] (d-tor):
234         * insetbibtex.[Ch] (d-tor):
235         * insetcite.[Ch] (d-tor):
236         * insetfloatlist.[Ch] (d-tor):
237         * insetindex.[Ch] (d-tor):
238         * insetlabel.[Ch] (d-tor):
239         * insetref.[Ch] (d-tor):
240         * insettoc.[Ch] (d-tor):
241         * inseturl.[Ch] (d-tor): removed.
242         Hiding the dialog is handled by InsetCommand.
243
244         * insetbibtex.[Ch] (draw, metrics):
245         * insetfloatlist.[Ch] (draw, metrics):
246         * insetindex.[Ch] (draw, metrics): removed.
247         Drawing is handled by InsetCommand.
248
249         * insetbibitem.[Ch] (priv_dispatch):
250         * insetbibtex.[Ch] (priv_dispatch):
251         * insetcite.[Ch] (priv_dispatch):
252         * insetfloatlist.[Ch] (priv_dispatch):
253         * insetindex.[Ch] (priv_dispatch):
254         * insetlabel.[Ch] (priv_dispatch):
255         * insettoc.[Ch] (priv_dispatch):
256         * inseturl.[Ch] (priv_dispatch): removed or simplified.
257         let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
258         LFUN_INSET_DIALOG_SHOW.
259
260         * insetbox.C (string2params):
261         * insetbranch.C (string2params):
262         * insetert.C (string2params):
263         * insetexternal.C (string2params):
264         * insetfloat.C (string2params):
265         * insetinclude.C (string2params):
266         * insetminipage.C (string2params):
267         * insetnote.C (string2params):
268         * insetvspace.C (string2params):
269         * insetwrap.C (string2params): over-hauled.
270
271 2003-12-10  Angus Leeming  <leeming@lyx.org>
272
273         * insetexternal.[Ch]: add a draft option and respect it when
274         outputting LaTeX.
275
276 2003-12-10  Angus Leeming  <leeming@lyx.org>
277
278         * insetbox.C: (read, write): now prepend the inset contents with
279         'Box' to identify the inset as a box inset.
280
281         * insetbox.h: move the translators out of sight.
282
283 2003-12-10  Angus Leeming  <leeming@lyx.org>
284
285         * insetert.C (string2params): clean-up using the new lyxlex interface.
286
287         * insetexternal.C: ensure that InsetExternalParams has a default
288         template, 'RasterImage'.
289
290 2003-12-10  Angus Leeming  <leeming@lyx.org>
291
292         * insetnote.[Ch]: change the storage type of InsetNoteParams::type
293         to an enum. Ensuing clean-ups through out the class.
294         (read, write): now prepend the inset contents with 'Note' to identify
295         the inset as a note inset.
296
297 2003-12-10  Angus Leeming  <leeming@lyx.org>
298
299         * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
300         * insetnote.[Ch]: changes to the InsetNoteMailer interface.
301
302 2003-12-10  André Pönitz  <poenitz@gmx.net>
303
304         * inset.h:
305         * insetert.[Ch]:
306         * insettabular.[Ch]:
307         * insettext.[Ch]: remove unused insetInset()
308
309         * insetert.C: disable some  LFUNs
310
311         * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
312
313 2003-12-04  Martin Vermeer  <martin.vermee@hut.fi>
314
315         * insetcharstyle.[Ch]: Conglomerate-style CharStyles
316
317 2003-12-04  Angus Leeming  <leeming@lyx.org>
318
319         * insetexternal.C (draw): update the xo_, yo_ cache.
320
321         * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
322         function.
323         (RotationDataType): new helper struct wrapping the
324         RotationData::OriginType enum.
325
326 2003-12-03  André Pönitz  <poenitz@gmx.net>
327
328         * inset.h: remove getParagraphs()
329
330         * insetcollapsable.[Ch]:
331         * insetert.[Ch]:
332         * insetnote.[Ch]:
333         * insettabular.[Ch]:
334         * insettext.C: use getText()  instead of getParagraphs()
335
336 2003-12-03  Martin Vermeer  <martin.vermeer@hut.fi>
337
338         * insetert.C: fix label text updating bug
339
340 2003-12-02  Angus Leeming  <leeming@lyx.org>
341
342         * insetvspace.[Ch] (space): new member function. Make space_ private.
343         (read): use the new, simpler lyxlex syntax.
344
345 2003-12-01  André Pönitz  <poenitz@gmx.net>
346
347         * insetcollapsable.[Ch]:
348         * insetert.[Ch]: move 'inline' state to InsetCollapsable
349
350 2003-12-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * insetvspace.C (read): handle 'end_inset' token.
353
354 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
355
356         * insetcharstyle.[Ch]: add latexparam to CharStyle inset
357
358 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * insetcollapsable.[Ch]:
361         * insetert.[Ch]:
362         * insetcharstyle.C: place inset content on the button when
363         collapsed.
364
365 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
366
367         * insetvspace.C: remove VSpace::NONE; increase inset width
368
369 2003-12-01  André Pönitz  <poenitz@gmx.net>
370
371         * insetbase.h: whitespace
372
373         * inset.[Ch]: remove latexTextWidth
374         make setBackgroundColor virtual
375
376         * insettext.[Ch]:  move ParagraphList member to LyXText
377
378         * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
379
380         * insetcharstyle.C:
381         * insetenv.C:
382         * insetert.[Ch]:
383         * insetfloat.[Ch]:
384         * insetminipage.[Ch]:
385         * insettabular.C:
386         * insetwrap.[Ch]: adjust paragraphs and background color handling,
387
388 2003-11-28  Angus Leeming  <leeming@lyx.org>
389
390         * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
391         hiding and showing the dialog respectively.
392         (priv_dispatch): also actually update the inset contents.
393
394 2003-11-28  Angus Leeming  <leeming@lyx.org>
395
396         * insetbox.C (d-tor):
397         * insetbranch.C (d-tor):
398         * insetcite.C (d-tor):
399         * insetfloat.C (d-tor):
400         * insetfloatlist.C (d-tor):
401         * insetinclude.C (d-tor):
402         * insetindex.C (d-tor):
403         simplify the invocation of the Mailer::hideDialog() function.
404
405         * insetminipage.C (showInsetDialog):
406         simplify the invocation of the Mailer::showialog() function.
407
408 2003-11-28  André Pönitz  <poenitz@gmx.net>
409
410         * Makefile.am:
411         * insetvspace.[Ch]: new insets
412
413 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
414
415         * insetcharstyle.C: Syntax change for CharStyles
416
417 2003-11-28  André Pönitz  <poenitz@gmx.net>
418
419         * updatableinset.h: remove insetInInsetY
420
421         * insetcollapsable.[Ch]:
422         * insetnewline.C:
423         * insettabular.[Ch]:
424         * insettext.[Ch]: adjust
425
426 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * insettext.[Ch]:
429         * inset.[Ch]:
430         * insetcollapsable.[Ch]:
431         * insetert.[Ch]:
432         * insettabular.[Ch]: remove setFont
433
434 2003-11-25  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * render_graphic.[Ch]: adjust comments
437
438 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * insetgraphics.C (draw): cache xo_ & yo_
441
442 2003-11-24  André Pönitz  <poenitz@gmx.net>
443
444         * insettext.C (setViewCache): don't call LyXText::init() anymore
445
446 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
447
448         * inset.h:
449         * insetcollapsable.[Ch]:
450         * insetert.[Ch]: remove bufferview parameter in methods
451         open, close, status, and updateStatus.
452
453 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
454
455         * insetcollapsable.[Ch]:
456         * insettabular.[Ch]:
457         * insettext.[Ch] (getCursorDim): squash unused variable
458
459 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
460
461         * insettext.C (edit): x0_,y0_ -> xo_,yo_
462
463 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
464
465         * insettext.C (draw): sets LyXText absolute coordinates
466
467 2003-11-20  Angus Leeming  <leeming@lyx.org>
468
469         * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
470         about unused parameters.
471
472         * insetcollapsable.C (open):
473         * insettabular.C (pasteSelection):
474         * insettoc.C (draw): ditto.
475
476 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * insetcollapsable.C:
479         * insettext.C:
480         * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
481         remove mouse_x mouse_y etc.
482
483 2003-11-17  André Pönitz  <poenitz@gmx.net>
484
485         * insettext.[Ch] (cx, cy): remove
486
487         * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
488
489 2003-11-13  André Pönitz  <poenitz@gmx.net>
490
491         * inset.h:
492         * insetcollapsable.[Ch]:
493         * insettabular.[Ch]:
494         * insettext.[Ch] (deleteLyXText): remove
495
496 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * insetcollapsable.[Ch] (fitInsetCursor): remove
499         * insettabular.[Ch] (fitInsetCursor): remove
500         * insettext.[Ch] (fitInsetCursor): remove
501         * updatableinset.[Ch] (fitInsetCursor): remove
502         (getCursorDIm): add virtual
503
504 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
505
506         * src/insets/Makefile.am:
507         * src/insets/inset.h:
508         * src/insets/insetcharstyle.C:
509         * src/insets/insetcharstyle.h: The Character Style /XML short
510         element patch.
511
512 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
513
514         * insettext.C: remove all update calls
515         * insetcollapsable.C: remove all update calls
516
517 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
518
519         * insettext.C (updateLocal, insertInset, setFont): remove
520         fitCursor calls
521
522 2003-11-10  André Pönitz  <poenitz@gmx.net>
523
524         * inset.h: remove Inset::id_
525
526         * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
527         * *.[Ch]: adjust
528
529 2003-11-10  André Pönitz  <poenitz@gmx.net>
530
531         * inset.[Ch]:
532         * insetbox.[Ch]:
533         * insetcollapsable.[Ch]:
534         * insetert.C:
535         * insetfloat.C:
536         * insetminipage.C:
537         * insettabular.[Ch]:
538         * insettext.[Ch]:
539         * insetwrap.C:
540         * updatableinset.[Ch]: remove inset locking & adjust
541
542 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
543
544         * inset.h (allowSpellCheck): add (return true)
545         * insetert.h (allowSpellCheck): add (return false)
546
547 2003-11-05  José Matos  <jamatos@lyx.org>
548
549         * inset.h:
550         * insetbibtex.[Ch]:
551         * insetbox.[Ch]:
552         * insetbranch.[Ch]:
553         * insetcaption.[Ch]:
554         * insetcite.[Ch]:
555         * insetcollapsable.[Ch]:
556         * insetcommand.[Ch]:
557         * insetenv.[Ch]:
558         * insetert.[Ch]:
559         * insetexternal.[Ch]:
560         * insetfloat.[Ch]:
561         * insetfloatlist.[Ch]:
562         * insetfoot.[Ch]:
563         * insetgraphics.[Ch]:
564         * insethfill.[Ch]:
565         * insetinclude.[Ch]:
566         * insetindex.[Ch]:
567         * insetlabel.[Ch]:
568         * insetlatexaccent.[Ch]:
569         * insetline.[Ch]:
570         * insetlist.[Ch]:
571         * insetmarginal.[Ch]:
572         * insetminipage.[Ch]:
573         * insetnewline.[Ch]:
574         * insetnote.[Ch]:
575         * insetoptarg.[Ch]:
576         * insetpagebreak.[Ch]:
577         * insetquotes.[Ch]:
578         * insetref.[Ch]:
579         * insetspace.[Ch]:
580         * insetspecialchar.[Ch]:
581         * insettabular.[Ch]:
582         * insettext.[Ch]:
583         * insettheorem.[Ch]:
584         * insettoc.[Ch]:
585         * inseturl.[Ch]:
586         * insetwrap.[Ch]: rename ascii to plaintext
587         and LatexRunParams to OutputParams.
588
589 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
590
591         * insetcollapsable.C (edit): add open() all
592         * insettext.C (edit): add setViewCache call
593
594 2003-11-04  André Pönitz  <poenitz@gmx.net>
595
596         * inset.h (edit): move locking code from dispatch() to edit()
597
598         * insetbase.[Ch]:
599         * insetbibitem.C:
600         * insetbranch.[Ch]:
601         * insetcite.[Ch]:
602         * insetcollapsable.[Ch]:
603         * insetcommand.C:
604         * insetert.[Ch]:
605         * insetexternal.[Ch]:
606         * insetgraphics.[Ch]:
607         * insetindex.[Ch]:
608         * insetlabel.C:
609         * insetnote.[Ch]:
610         * insetref.C:
611         * insettabular.[Ch]:
612         * insettext.[Ch]: adjust
613
614 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
615
616         * inset.h:
617         * insetcollapsable.[Ch]:
618         * insetert.[Ch]:
619         * insettabular.[Ch]:
620         * insettext.[Ch]:
621         * updatableinset.[Ch]: remove dead search code
622
623 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
624
625         * inset.h:
626         * insetcollapsable.[Ch]:
627         * insetert.[Ch]:
628         * insettabular.[Ch]:
629         * insettext.[Ch]:
630         * updatableinset.[Ch]: remove dead spellcheck code
631
632 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
633
634         * insettabular.C (lockInsetInInset): small fix
635
636 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
637
638         * insettext.C (priv_dispatch): some DispatchResult type cleanup,
639         don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
640         from here. Be stricter on DispatchResult returned.
641
642 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
643
644         * Inset::dispatch's: adjust for new DispatchResult semantics.
645
646 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * render_base.h: make clone return an auto_ptr
649         * render_button.C (clone): adjust
650         * render_graphic.C (clone): adjust
651         * render_preview.C (clone): adjust
652
653         * insettheorem.C (clone): return an auto_ptr
654
655         * insettext.C (priv_dispatch): exception safety
656
657         * insettabular.C: store the file scope variable paste_tabular in a
658         scoped_ptr, adjust usage.
659
660         * insetexternal.C (setParams): exception safety
661
662         * insetbibitem.C (clone): exception safety
663
664 2003-11-03  André Pönitz  <poenitz@gmx.net>
665
666         * inset.[Ch]:
667         * insetcollapsable.[Ch]:
668         * insettabular.[Ch]:
669         * insettext.[Ch]: remove Inset::id and related functions
670
671 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
672
673         * insets: adjust for DispatchResult changes.
674
675 2003-11-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
676
677         * insetpagebreak.C: fix screen representation & ascii output.
678
679 2003-11-01  Alfredo Braunstein  <abraunst@libero.it>
680
681         * inset.[Ch]:
682         * insettext.[Ch]:
683         * insettabular.[Ch]:
684         * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
685
686 2003-10-31  José Matos  <jamatos@lyx.org>
687
688         * inset.h (ascii, linuxdoc, docbook):
689         * insetbox.[Ch] (ascii, linuxdoc, docbook):
690         * insetbranch.[Ch] (ascii, linuxdoc, docbook):
691         * insetcaption.[Ch] (ascii, docbook):
692         * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
693         * insetcommand.[Ch] (ascii, linuxdoc, docbook):
694         * insetert.[Ch] (ascii, linuxdoc, docbook):
695         * insetexternal.[Ch] (ascii, linuxdoc, docbook):
696         * insetfloat.[Ch] (linuxdoc, docbook):
697         * insetfloatlist.[Ch] (ascii):
698         * insetfoot.[Ch] (docbook):
699         * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
700         * insethfill.[Ch] (ascii, linuxdoc, docbook):
701         * insetinclude.[Ch] (ascii, linuxdoc, docbook):
702         * insetindex.[Ch] (docbook):
703         * insetlabel.[Ch] (ascii, linuxdoc, docbook):
704         * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
705         * insetline.[Ch] (ascii, linuxdoc, docbook):
706         * insetnewline.[Ch] (ascii, linuxdoc, docbook):
707         * insetnote.[Ch] (ascii, linuxdoc, docbook):
708         * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
709         * insetquotes.[Ch] (ascii, linuxdoc, docbook):
710         * insetref.[Ch] (ascii, linuxdoc, docbook):
711         * insetspace.[Ch] (ascii, linuxdoc, docbook):
712         * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
713         * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
714         * insettext.[Ch] (ascii, linuxdoc, docbook):
715         * insettoc.[Ch] (ascii, linuxdoc, docbook):
716         * inseturl.[Ch] (ascii, linuxdoc, docbook):
717         * insetwrap.[Ch] (docbook):
718         add LatexRunParams argument.
719
720 2003-10-30  José Matos  <jamatos@lyx.org>
721
722         * insettext.C (linuxdoc, docbook): use new pagraph generation code.
723
724 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * updatableinset.C (priv_dispatch):
727         * insetwrap.C (priv_dispatch):
728         * inseturl.C (priv_dispatch):
729         * insettoc.C (priv_dispatch):
730         * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
731         (moveLeftIntern, moveUp, moveDown):
732         * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
733         (moveLeft, moveUp, moveDown):
734         * insetref.C (priv_dispatch):
735         * insetnote.C (priv_dispatch):
736         * insetminipage.C (priv_dispatch):
737         * insetlabel.C (priv_dispatch):
738         * insetindex.C (priv_dispatch):
739         * insetinclude.C (priv_dispatch):
740         * insetgraphics.C (priv_dispatch):
741         * insetfloatlist.C (priv_dispatch):
742         * insetfloat.C (priv_dispatch):
743         * insetexternal.C (priv_dispatch):
744         * insetert.C (priv_dispatch):
745         * insetcommand.C (priv_dispatch):
746         * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
747         * insetcite.C (priv_dispatch):
748         * insetbranch.C (priv_dispatch):
749         * insetbox.C (priv_dispatch):
750         * insetbibtex.C (priv_dispatch):
751         * insetbibitem.C (priv_dispatch):
752         * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
753
754 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
755
756     * insettext.C: small refactoring of docbook stuff
757
758 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
761         (priv_dispatch): adjust for operator dispatch_result_t removal
762
763         * insettabular.C (lfunMouseRelease): put the result of a dispatch
764         in a DispatchResult, adjust accordingly.
765         (priv_dispatch): use strange >= construct... (will be removed later)
766
767         * most insets: dispatch_result -> DispatchResult
768
769         * insetbase.h: move DispatchResult out to dispatchresult.h
770
771 2003-10-27  André Pönitz  <poenitz@gmx.net>
772
773         * insetpagebreak.[Ch]: new inset for page breaks
774
775         * insetline.[Ch]: new inset for vertical lines
776
777         * Makefile.am:
778         * inset.h: adjust
779
780 2003-10-25  Angus Leeming  <leeming@lyx.org>
781
782         * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
783         new virtual member functions, specialised...
784         * render_button.h (asButton):
785         * render_graphic.h (asGraphic):
786         * render_preview.h (asPreview, asMonitoredPreview): ... here.
787
788         * insetexternal.C: use these new functions rather than dynamic_cast.
789         Various other small simplifications.
790
791 2003-10-22  Angus Leeming  <leeming@lyx.org>
792
793         * insetexternal.[Ch]: add the ability to 'preview' the external file
794         if so desired.
795
796         * insetinclude.C: changes due to the changes in the RenderPreview
797         interface.
798
799         * render_preview.[Ch]: Lots of small changes. Display a diagnostic
800         message if the preview image is not available. Only initiate the
801         loading of the preview from draw(). Ditto, start the monitoring
802         of an external file from RenderMonitoredPreview::draw.
803
804 2003-10-22  Angus Leeming  <leeming@lyx.org>
805
806         * insetcite.[Ch] (setLoadingBuffer): removed.
807         (getNatbibLabel): use the new Buffer::fully_loaded member function to
808         ascertain whether to proceed with the (expensive) task of computing
809         the natbib-style label. Remove the home-grown hack providing
810         similar functionality.
811
812 2003-10-22  Angus Leeming  <leeming@lyx.org>
813
814         * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
815         class and into an anonymous namespace.
816
817 2003-10-22  Angus Leeming  <leeming@lyx.org>
818
819         * insetcommand.h: remove the display method.
820
821         * insetbibtex.h:
822         * insetfloatlist.h:
823         * insetindex.h (InsetPrintIndex):
824         * insettoc.h: add a display method, returning true.
825
826 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
827
828         * insetcollapsable.h:
829         * insetcommand.h:
830         * insetfloat.h:
831         * insetfootlike.h:
832         * insetinclude.h: (1) finish off the inset display() work;
833         (2) fix the "is a bit silly" bug (accessing char
834         past end of par).
835
836 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * inset.h:
839         * insetfloat.h:
840         * insetfootlike.h: re-introduce display() for insets,
841         fixing the various bugs (stretch of line above, math inset
842         positioning, ...)
843
844 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
845
846         * insetbase.C (dispatch): new func
847         (priv_dispatch): new func replaces...
848         (localDispatch): this, deleted.
849
850         * all insets with dispatch modified for new code.
851
852 2003-10-15  André Pönitz  <poenitz@gmx.net>
853
854         * insetcollapsable.[Ch]
855         * insettabular.[Ch]
856         * inset.h: re-add some edit(bv, index) method called by undo
857
858 2003-10-14  Angus Leeming  <leeming@lyx.org>
859
860         * insetexternal.[Ch] (view, cache, view_):
861         * insetgraphics.[Ch] (view, cache, view_):
862         * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
863         (statusChanged): call LyX::cref().updateInset.
864
865         * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
866         the BufferView cache.
867
868         * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
869         earlier clean-up.
870
871 2003-10-14  Angus Leeming  <leeming@lyx.org>
872
873         * insetinclude.C (metrics, draw): only draw the preview when previews
874         are activated.
875
876 2003-10-14  André Pönitz  <poenitz@gmx.net>
877
878         * insetcollapsable.[Ch]:
879         * insettabular.[Ch]:
880         * insettext.[Ch]:
881         * inset.h: getText() as alternative to getParagraphs()
882
883 2003-10-13  Angus Leeming  <leeming@lyx.org>
884
885         * insetexternal.C:
886         * insetgraphicsParams.C: displayTranslator is now a function.
887
888 2003-10-13  Angus Leeming  <leeming@lyx.org>
889
890         * insetinclude.C: remove #include "PreviewImage.h".
891
892 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
893
894         * ExternalSupport.C:
895         * ExternalTransforms.C:
896         * insetbox.C:
897         * insetbox.h: ws changes only
898
899 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
900
901         * insetinclude.C (localDispatch): do not call
902         InsetOld::localDispatch, just return UNDISPATCHED
903         * insetgraphics.C (localDispatch): ditto
904         * insetcommand.C (localDispatch): ditto
905
906 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * inset.h: get rid of RESULT typedef for dispatch_result
909
910         * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
911         * insetert.[Ch] (localDispatch): ditto
912         * insettabular.[Ch] (localDispatch): ditto
913         (moveRight): ditto
914         (moveLeft): ditto
915         (moveUp): ditto
916         (moveDown): ditto
917         * insettext.[Ch] (localDispatch): ditto
918         (moveRight): ditto
919         (moveLeft): ditto
920         (moveRightIntern): ditto
921         (moveLeftIntern): ditto
922         (moveUp): ditto
923         (moveDown): ditto
924         * updatableinset.[Ch] (localDispatch): ditto
925
926 2003-10-12  Angus Leeming  <leeming@lyx.org>
927
928         * renderbase.h (view, view_): removed.
929         * renderbase.C: removed.
930         * Makefile.am: remove render_base.C. The shortest lived file in
931         history?
932
933         * renderbutton.C (draw):
934         * render_graphic.C (draw): don't cache the BufferView.
935
936         * insetabase.h (cache, view): removed.
937
938         * inset.h (generatePreview) removed.
939
940         * insetcallapsable.[Ch] (cache, view, view_): removed.
941
942         * insetcollapsable.C (draw): don't cache the BufferView.
943
944         * insetcommand.[Ch] (view): removed.
945
946         * insetexternal.[Ch] (cache, view, view_):
947         * insetgraphics.[Ch] (cache, view, view_):
948         * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
949
950         * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
951         when you have direct access to it. In fact, don't use the cache at all.
952
953 2003-10-10  Angus Leeming  <leeming@lyx.org>
954
955         * insetinclude.C (metrics): use preview_->metrics.
956         (draw): use preview_->draw.
957
958         * render_preview.[Ch] (pimage): removed.
959
960 2003-10-10  Angus Leeming  <leeming@lyx.org>
961
962         * renderers.[Ch]: removed.
963
964         * render_base.[Ch]:
965         * render_button.[Ch]:
966         * render_graphic.[Ch]:
967         * render_preview.[Ch]: new files. The first three are split out of
968         renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
969         contains a re-worked InsetInclude::PreviewImpl also.
970
971         * Makefile.am: reflect the changed files.
972
973         * insetcommand.h:
974         * insetexternal.[Ch]:
975         * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
976
977         * insetinclude.[Ch]: changes reflecting the change from
978         InsetInclude::PreviewImpl to RenderMonitoredPreview.
979
980         * insethfill.C:
981         * insetindex.C:
982         * insetlabel.C:
983         * insettoc.C:
984         * inseturl.C: add #include "support/std_ostream.h"
985
986 2003-10-09  Angus Leeming  <leeming@lyx.org>
987
988         * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
989         to PreviewedInset::previewReady.
990
991 2003-10-09  Angus Leeming  <leeming@lyx.org>
992
993         * insetexternal.[Ch] (statusChanged):
994         * insetgraphics.[Ch] (statusChanged): make a const member function.
995
996         * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
997         PreviewedInset.
998
999 2003-10-09  Angus Leeming  <leeming@lyx.org>
1000
1001         * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1002         to PreviewedInset's previewReady and removePreview member functions.
1003
1004 2003-10-08  André Pönitz  <poenitz@gmx.net>
1005
1006         * insetcollapsable.C:
1007         * insettext.[Ch]: saner 'init' structure
1008
1009         * updatableinset.[Ch]: remove unneeded code
1010
1011 2003-10-08  Angus Leeming  <leeming@lyx.org>
1012
1013         Fix doxygen warnings.
1014
1015         * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1016         * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1017
1018 2003-10-07  Angus Leeming  <leeming@lyx.org>
1019
1020         * ExternalTransforms.[Ch]: new files, detailing transforms that can
1021         be applied to InsetExternal.
1022
1023         * Makefile.am: add these new files.
1024
1025         * ExternalTemplate.[Ch]: add a list of available transforms to
1026         class Template and a list of factory functions for transformer classes
1027         that can act on this data to class Format.
1028
1029         * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1030
1031         * ExternalSupport.C: Add code to replace transform placeholders
1032         with appropriate output.
1033
1034 2003-10-07  Angus Leeming  <leeming@lyx.org>
1035
1036         * ExternalSupport.[Ch]: new files, moving the private member functions
1037         and namespace anon functions out of insetexternal.C to here, so making
1038         it easier to understand what is going on in insetexternal itself.
1039
1040         * Makefile.am: add new files.
1041
1042         * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1043         allowing the class to be forward declared. (Also consistent with
1044         all other Params classes.)
1045         (write): moved out of the class. Move this function and those in
1046         namespace anon to ExternalSupport.[Ch].
1047
1048 2003-10-07  Angus Leeming  <leeming@lyx.org>
1049
1050         * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1051         non-const member function.
1052
1053 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * Makefile.am:
1056         * inset.h:
1057         * insetbox.C:
1058         * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1059
1060 2003-10-02  André Pönitz  <poenitz@gmx.net>
1061
1062         * insettext.C (read): make sure there is at least one par
1063           in the text after reading.
1064
1065 2003-10-01  José Matos  <jamatos@lyx.org>
1066
1067         * insetbranch.C (linuxdoc, docbook): minor fix.
1068
1069 2003-10-01  Angus Leeming  <leeming@lyx.org>
1070
1071         * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1072
1073         * insetexternal.[Ch]: changes due to the introduction of
1074         namespace lyx::external.
1075
1076 2003-09-30  Angus Leeming  <leeming@lyx.org>
1077
1078         * insetexternal.[Ch] (Params::read, write): new member functions.
1079
1080 2003-09-25  Angus Leeming  <leeming@lyx.org>
1081
1082         * insetexternal.[Ch] (TempName): new (private) nested struct with
1083         fake copy semantics. Enables us to use the generated copy c-tor
1084         in the Params struct.
1085         (Params::templatename, Params::tempname): use accessor functions.
1086
1087 2003-09-25  Angus Leeming  <leeming@lyx.org>
1088
1089         * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1090         function, returning a const pointer.
1091
1092 2003-09-23  Angus Leeming  <leeming@lyx.org>
1093
1094         * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1095         store them in a vector, preambleNames.
1096
1097         * insetexternal.C (validate): loop over all preambleNames and call
1098         LaTeXFeatures::addExternalPreamble with each.
1099
1100 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * insetbranch.C: bug fix in branches
1103
1104 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * insetnote.C: small clean-up.
1107
1108 2003-09-19  Angus Leeming  <leeming@lyx.org>
1109
1110         * inset.h (generatePreview): passed a 'Buffer const &' arg.
1111
1112         * insetcommand.C (string2params): clear params using the default c-tor.
1113
1114         * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1115         InsetInclude::Params. No more data in this struct than in
1116         InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1117         (c-tor): no need to pass a 'Buffer const &' arg anymore.
1118         (clone): remove #warning as it's now redundant.
1119         (set): add a 'Buffer const &' arg. Make private.
1120         (loadIfNeeded) move out of the class definition and into namespace anon.
1121         (getMasterFilename, getFileName): ditto.
1122
1123 2003-09-18  Angus Leeming  <leeming@lyx.org>
1124
1125         * insetcommand.C (setParams): use the params' copy constructor.
1126
1127 2003-09-18  Angus Leeming  <leeming@lyx.org>
1128
1129         * insetinsetbase.h (getLabelList):
1130         * insetinsetcollapsable.[Ch] (getLabelList):
1131         * insetinsetinclude.[Ch] (getLabelList):
1132         * insetinsetlabel.[Ch] (getLabelList):
1133         * insetinsettabular.[Ch] (getLabelList):
1134         * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1135         * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1136
1137 2003-09-18  Angus Leeming  <leeming@lyx.org>
1138
1139         * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1140         redundant baggage from yesteryear.
1141         Remove Params::flag as it is redundant; the info is present in
1142         getCmdName.
1143
1144 2003-09-18  Angus Leeming  <leeming@lyx.org>
1145
1146         * insetinclude.C (latexString): add a Buffer const & arg.
1147
1148 2003-09-18  Angus Leeming  <leeming@lyx.org>
1149
1150         * inset.C:
1151         * inset.h:
1152         * insettext.C:
1153         * insettext.h: rename EnumLColor as LColor_color.
1154
1155 2003-09-18  Angus Leeming  <leeming@lyx.org>
1156
1157         * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1158         * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1159
1160 2003-09-16  Angus Leeming  <leeming@lyx.org>
1161
1162         * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1163         set before trying to generate a preview, else we trigger an assert.
1164
1165 2003-09-16  Angus Leeming  <leeming@lyx.org>
1166
1167         * insetinclude.C (PreviewImpl::parent): return a const reference.
1168
1169 2003-09-16  Angus Leeming  <leeming@lyx.org>
1170
1171         * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1172
1173         * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1174         labelfont directly.
1175         (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1176         InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1177
1178         * insetminipage.C (metrics):
1179         * insetnote.C (metrics):
1180         * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1181         access collapsed_ directly.
1182
1183 2003-09-16  Angus Leeming  <leeming@lyx.org>
1184
1185         * insetbibitem.C: add #include "lyxfont.h".
1186
1187 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1188
1189         * insetgraphics.C:
1190         * insetbibtex.C: use namespace alias for lyx::support::os
1191
1192 2003-09-16  Angus Leeming  <leeming@lyx.org>
1193
1194         * insetcollapsable.h: remove unused framecolor variable.
1195         Remove #include "LColor.h".
1196
1197         * insetcollapsable.C: remove unused framecolor variable.
1198
1199         * insetcaption.C:
1200         * insetcollapsable.C:
1201         * insetert.C:
1202         * insetfloat.C:
1203         * insetfootlike.C:
1204         * insetminipage.C:
1205         * insetnote.C:
1206         * insetoptarg.C:
1207         * insetwrap.C:
1208         Add #include "LColor.h".
1209
1210 2003-09-16  Angus Leeming  <leeming@lyx.org>
1211
1212         * insettext.[Ch] (frameColor): new accessor function.
1213         (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1214         insettext.h
1215
1216         * insetbranch.C:
1217         * insettabular.C:
1218         * insettext.C:
1219         add #include "LColor.h".
1220
1221         * insetcollapsable.h: add #include "LColor.h"
1222         (for its framecolor member variable).
1223
1224 2003-09-16  Angus Leeming  <leeming@lyx.org>
1225
1226         * insetenv.C (constructor): use accessor functions to access InsetText variables.
1227
1228         * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1229         rename frame_color as frame_color_. Make private.
1230
1231         * insettext.C: associated changes.
1232
1233 2003-09-16  Angus Leeming  <leeming@lyx.org>
1234
1235         * inset.h: store background_color_ as an int, not as an LColor::color to
1236         get LColor.h out of the header file.
1237
1238         * inset.C:
1239         * insetlatexaccent.C:
1240         * insetnewline.C:
1241         * insetspace.C:
1242         * insetspecialchar.C:
1243         * renderers.C:
1244         add #include "LColor.h".
1245
1246 2003-09-16  Angus Leeming  <leeming@lyx.org>
1247
1248         * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
1249         calls together.
1250
1251 2003-09-15  Angus Leeming  <leeming@lyx.org>
1252
1253         * inset.[Ch] (setBackgroundColor, backgroundColor):
1254         * insettext.[Ch] (setFrameColor):
1255         pass EnumLColor args, rather than LColor::color ones.
1256
1257 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * insetcommand.C
1260         * insetexternal.C
1261         * insetfloat.C
1262         * insetgraphics.C
1263         * insetinclude.C
1264         * insetminipage.C
1265         * insetnote.C
1266         * insettabular.C
1267         * insetwrap.C: remove usage of STRCONV
1268
1269 2003-09-15  Angus Leeming  <leeming@lyx.org>
1270
1271         * renderers.C (draw):
1272         * insetlatexaccent.C (draw): explicitly define the color passed to
1273         the painter.
1274
1275 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
1276
1277         * insettext.C: remove block causing problems in lockInsetInInset
1278         (mentioned erroneously under Bug #1366)
1279
1280 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
1281
1282         * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1283         in the process
1284
1285 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1286
1287         * several files: change Assert to BOOST_ASSERT
1288
1289 2003-09-09  Martin Vermeer  <martin.vermeer@hut.fi>
1290
1291         * insettext.[Ch]: remove drawText[XY]Offset
1292
1293 2003-09-08  Angus Leeming  <leeming@lyx.org>
1294
1295         * insetcollapsable.C:
1296         * insetenv.C:
1297         * insetinclude.C:
1298         * insetlabel.C:
1299         * insetoptarg.C:
1300         * insetspecialchar.C:
1301         * insettabular.C:
1302         * insettext.C:
1303         * insettoc.C: remove redundant using directives.
1304
1305 2003-09-07  Angus Leeming  <leeming@lyx.org>
1306
1307         * insetspace.h:
1308         * insetspecialchar.h: remove #include "support/std_string.h".
1309
1310 2003-09-06  Angus Leeming  <leeming@lyx.org>
1311
1312         * renderers.C: add #include "insets/inset.h"
1313
1314 2003-09-05  Angus Leeming  <leeming@lyx.org>
1315
1316         * *.C: strip out redundant #includes. (193 in total.)
1317
1318 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1319
1320         * insets/insetbibtex.[Ch]:
1321         * insets/insetcommand.h:
1322         * insets/insetfloatlist.[Ch]:
1323         * insets/insetinclude.[Ch]:
1324         * insets/insettoc.[Ch]: Restricts the mouse click functionality
1325         of insets like bibtex, include, toc and floatlist to the visible
1326         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1327         up the dialogs. Cursor has to be in front of the inset (i.e.
1328         start of row) for this to function.
1329
1330 2003-09-04  Angus Leeming  <leeming@lyx.org>
1331
1332         * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1333         structure outside of the Format struct. Format::preambleName refers to
1334         an item in the map of all preamble snippets.
1335         Make use of the new Debug::EXTERNAL flag.
1336
1337         * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1338         (validate): Small change due to the changed storage of preamble snippets.
1339
1340 2003-09-04  Angus Leeming  <leeming@lyx.org>
1341
1342         * insetgraphics.C: #include "support/os.h"
1343
1344         * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1345         * insettabular.h: move #include "FuncStatus.h" out of the header file.
1346         * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1347
1348         * insetcollapsable.h:
1349         * insetbranch.C:
1350         * insetnote.C: move #include "funcrequest.h" out of the header file.
1351
1352 2003-09-03  Angus Leeming  <leeming@lyx.org>
1353
1354         * insetexternal.C (updateExternal):
1355         * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1356         latex.
1357
1358 2003-09-03  Angus Leeming  <leeming@lyx.org>
1359
1360         * insetexternal.C: don't bring namespace lyx::support into the global
1361         namespace.
1362
1363 2003-09-02  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * insetbranch.C: Add Branch: to label
1366
1367 2003-09-02  John Levon  <levon@movementarian.org>
1368
1369         * insettext.h:
1370         * insettext.C: remove cursor.i[xy]()
1371
1372 2003-08-28  Angus Leeming  <leeming@lyx.org>
1373
1374         * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1375         "sh ", enabling the conversion to be carried out even if the script
1376         is not executable.
1377
1378 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1379
1380         * most files: change to use const Buffer refs
1381
1382 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
1383
1384         * insetfootlike.C: whitespace.
1385
1386 2003-08-26  John Levon  <levon@movementarian.org>
1387
1388         * insetenv.h:
1389         * insetcaption.h:
1390         * insetindex.h: remove remaining mentions of needFullRow()
1391
1392 2003-08-26  André Pönitz  <poenitz@gmx.net>
1393
1394         * insetfoot.C:
1395         * insetnewline.C:
1396         * insetquotes.C:
1397         * insettabular.C:
1398         * inset.[Ch]: remove InsetOld::par_owner_ & handling
1399
1400 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * insetbranch.C: Small fix to prevent a crash on loading.
1403
1404 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * inset.h:
1407         * insetbibtex.[Ch]:
1408         * insetbranch.[Ch]:
1409         * insetcollapsable.h:
1410         * insetert.[Ch]:
1411         * insetfloatlist.[Ch]:
1412         * insetfootlike.[Ch]:
1413         * insetinclude.[Ch]:
1414         * insetindex.[Ch]:
1415         * insetindex.h:
1416         * insetminipage.h:
1417         * insetnote.[Ch]:
1418         * insettext.C:
1419         * insettheorem.[Ch]:
1420         * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1421         altogether, putting the logic in metrics/draw in the insets.=20
1422         Draws short single row insets with more or less realistic metrics.
1423
1424 2003-08-19  André Pönitz  <poenitz@gmx.net>
1425
1426         * insettext.C: use new RowPainter interface
1427
1428 2003-08-18  John Levon  <levon@movementarian.org>
1429
1430         * insetref.C: require amsmath for eqref
1431
1432 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * Makefile.am:
1435         * inset.h:
1436         * insetbranch.[Ch]: implements the 'branch inset'
1437         idea. This allows the output of various versions of a document
1438         from a single source version, selectively outputing or suppressing
1439         output of parts of the text.
1440         This implementation contains a 'branch list editor' in a separate
1441         tab of the document settings dialog. Branches are user definable
1442         and have a "display colour" to distinguish them on-screen.
1443
1444         ColorHandler was somewhat cleaned up.
1445         (1) make possible a dynamically growing LColor list by allowing
1446         the graphic context cache to grow along (vector);
1447         (2) eliminate an IMHO unnecessary step in colour allocation.
1448
1449 2003-08-15  André Pönitz  <poenitz@gmx.net>
1450
1451         * insettext.[Ch]: adjust after rowlist split
1452
1453 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1454
1455         * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1456           rename valign-center to valign-middle;
1457           rename VALIGN_CENTER to VALIGN_MIDDLE
1458
1459 2003-08-11  André Pönitz  <poenitz@gmx.net>
1460
1461         * inset.h: remove resizeLyXText
1462
1463         * insetcaption.C:
1464         * insetcollapsable.[Ch]:
1465         * insetminipage.C:
1466         * insettabular.[Ch]: adjust
1467
1468         * insettext.[Ch]: remove saveLyXTextState,
1469          restoreLyXTextStat, sstate, reinitLyXText
1470
1471 2003-08-07  André Pönitz  <poenitz@gmx.net>
1472
1473         * inset.[Ch]: move non-crucial functions out-of-line
1474
1475         * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1476         remove duplicated code.
1477
1478 2003-08-05  André Pönitz  <poenitz@gmx.net>
1479
1480         * insetbibitem.C:
1481         * insetcollapsable.[Ch]:
1482         * insetcommand.C:
1483         * insetert.C:
1484         * insetexternal.C:
1485         * insetfloat.C:
1486         * insetgraphics.C:
1487         * insetinclude.C:
1488         * insetlabel.C:
1489         * insetminipage.C:
1490         * insetnote.C:
1491         * insettabular.[Ch]:
1492         * insettext.[Ch]:
1493         * insetwrap.C:
1494         * updatableinset.[Ch]: rip out "deep update"
1495
1496         * insettext.C (localDispatch): merge cases with default branch
1497
1498         * insettext.C (frame_x,y,w,h): replace member with automatic variables
1499
1500         * insettabular.[Ch] (updateLocal): simplify logic
1501
1502 2003-08-04  André Pönitz  <poenitz@gmx.net>
1503
1504         * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1505   is 'FULL' all the time.
1506
1507 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * insetert.C (get_new_label): only add ... to the (closed) label
1510         when the string has been shortened
1511
1512 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1513
1514         * Always use std::endl with lyxerr
1515
1516 2003-08-01      Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * insetnote.C: update \author list
1519
1520 2003-07-31  André Pönitz  <poenitz@gmx.net>
1521
1522         * insetcollapsable.h:
1523         * insettabular.[Ch]:
1524         * insettext.[Ch]: remove toggleSelection
1525
1526 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1527
1528         (with help from Juergen Spitzmueller)
1529         * insetnote.C: add add i18n support. Use Prefs-definable
1530         colours for Comment and Greyedout.
1531
1532 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1533
1534         * insetcollapsable.[Ch]:
1535         * insetnote.C:
1536         * insetert.C: factor out the detection of clicking on the inset
1537       button as 'hitButton'. John Levon contributed.
1538
1539 2003-07-30  André Pönitz  <poenitz@gmx.net>
1540
1541         * insetcollapsable.C:
1542         * insetfootlike.C:
1543         * insettabular.C: parantheses, localize vars etc.
1544
1545 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1546
1547         * insetnote.C: Implement a newenvironment in preamble for
1548         greyedout. Patch provided by Jürgen Spitzmüller.
1549
1550 2003-07-29  Angus Leeming  <leeming@lyx.org>
1551
1552         * insetcommand.C (localDispatch): default to
1553         InsetOld::localDispatch.
1554
1555         * insetbibitem.C (localDispatch):
1556         * insetbibtex.C (localDispatch): remove call to
1557         ChangeCitationsIfUnique.
1558
1559         * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1560
1561         * insetexternal.C (read): use pushpophelper.
1562
1563 2003-07-28  José Matos  <jamatos@lyx.org>
1564
1565         * insetext.C (read): \end_document replaces \the_end.
1566
1567 2003-07-28  José Matos  <jamatos@fep.up.pt>
1568
1569         * insetert.C (write): \layout -> \begin_layout.
1570         Add missing \end_layout.
1571
1572 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1573
1574         * insetquotes.C: document a bit the format
1575
1576         * insettabular.C (write): remove extra space
1577
1578 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
1579         * insetnote.C: Umpf. Hope I *now* get it right :-(
1580
1581 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
1582         *insetnote.C: did the right fix to greyedout: \color
1583         instead of \textcolor.
1584
1585 2003-07-28  Angus Leeming  <leeming@lyx.org>
1586
1587         * insetbibtex.h: remove extraneous forward declaration.
1588
1589         * insetbibitem.h:
1590         * insetbibtex.h: Also remove long-dead Holder member class
1591         and variable.
1592
1593 2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
1594
1595         * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1596         least.
1597
1598 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * insetwrap.C (addToToc): adjust for lyx::toc
1601
1602         * insetfloatlist.C (ascii): adjust for lyx::toc
1603
1604         * insetfloat.C (addToToc): adjust for lyx::toc
1605
1606 2003-07-27  José Matos  <jamatos@fep.up.pt>
1607
1608         * insetnote.h (linuxdoc,docbook): update support.
1609
1610 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1611
1612         * insetfloat.C (wide): add a space to label, for consistency
1613
1614 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1615
1616         * insettext.C (nextChange): adjust for lyx::find
1617         (searchForward): ditto
1618         (searchBackward): ditto
1619
1620 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * insetgraphicsParams.C:
1623         * insetexternal.C: declare extern displayTranslator
1624
1625         * insetexternal.C:
1626         * renderers.C: add #include "support/LAssert.h"
1627
1628 2003-07-27  José Matos  <jamatos@fep.up.pt>
1629
1630         * insetfloat.[Ch] (linuxdoc):
1631         * insetgraphics.C (linuxdoc):
1632         * insettabular.C (linuxdoc):
1633         * insettext.[Ch] (linuxdoc): add support for tables and figures
1634         (linuxdoc).
1635
1636 2003-07-27  José Matos  <jamatos@fep.up.pt>
1637
1638         * insetinclude (latex): comply with makeLaTeXFile argument change.
1639
1640 2003-07-26  Asger Alstrup  <alstrup@local>
1641
1642         * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1643         the undo crashes. We'll see what problems other places this will
1644         cause.
1645
1646 2003-07-26  Angus Leeming  <leeming@lyx.org>
1647
1648         * insetgraphics.C: remove unused declaration of system_tempdir.
1649
1650 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1651
1652         * rename Inset to InsetOld
1653
1654         * all inset files (clone): return a auto_ptr<InsetBase>
1655
1656 2003-07-23  Angus Leeming  <leeming@lyx.org>
1657
1658         * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1659
1660 2003-07-23  Angus Leeming  <leeming@lyx.org>
1661
1662         * mailinset.[Ch] (inset2string):
1663         * insetcommand.[Ch] (inset2string):
1664         * insetert.[Ch] (inset2string):
1665         * insetexternal.[Ch] (inset2string):
1666         * insetfloat.[Ch] (inset2string):
1667         * insetgraphics.[Ch] (inset2string):
1668         * insetinclude.[Ch] (inset2string):
1669         * insetminipage.[Ch] (inset2string):
1670         * insetnote.[Ch] (inset2string):
1671         * insettabular.[Ch] (inset2string):
1672         * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1673
1674         * insetexternal.[Ch]:
1675         * insetgraphics.[Ch]: get rid of the view() function. Associated
1676         changes to the mailers' string2params and params2string functions.
1677
1678 2003-07-23  Angus Leeming  <leeming@lyx.org>
1679
1680         * insetexternal.[Ch]: store the external file name in a FileName
1681         member variable rather than a string + associated changes.
1682
1683 2003-07-21  Angus Leeming  <leeming@lyx.org>
1684
1685         * insetgraphicsParams.[Ch]: store the graphics file name in
1686         a FileName member variable rather than a string.
1687
1688         * insetgraphics.[Ch]:
1689         * insetgraphicsParams.[Ch]: Associated changes.
1690
1691 2003-07-21  Angus Leeming  <leeming@lyx.org>
1692
1693         * insetgraphics.[Ch] (string2params, params2string): passed a
1694         buffer_path argument.
1695         (view): new method.
1696
1697 2003-07-21  Angus Leeming  <leeming@lyx.org>
1698
1699         * insetexternal.C:
1700         * insetgraphicsParams.[Ch]:
1701         * insetinclude.C:
1702         * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1703
1704 2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
1705
1706         * insetnote.C: fixed greyout and conditionals layout foul-ups.
1707
1708 2003-07-18  André Pönitz  <poenitz@gmx.net>
1709
1710         * insetert.[Ch]:
1711         * insetminipage.[Ch]:
1712         * insettabular.[Ch]:
1713         * insettext.[Ch]:
1714         * insetwrap.[Ch]:
1715         * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1716
1717 2003-07-18  André Pönitz  <poenitz@gmx.net>
1718
1719         * inset.[Ch]:
1720         * insetbibitem.C:
1721         * insetcollapsable.C:
1722         * insetcommand.C:
1723         * insetert.C:
1724         * insetexternal.C:
1725         * insetgraphics.[Ch]:
1726         * insetlatexaccent.[Ch]:
1727         * insetminipage.C:
1728         * insetnewline.C:
1729         * insetquotes.C:
1730         * insetspace.C:
1731         * insetspecialchar.C:
1732         * insettabular.[Ch]:
1733         * insettext.[Ch]:
1734         * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1735
1736 2003-07-17  André Pönitz  <poenitz@gmx.net>
1737
1738         * insetcollapsable.C:
1739         * insettabular.C:
1740         * insettext.C: don't call Inset::update() anymore
1741
1742         * insettext.[Ch]:
1743         * insettabular.[Ch]: remove unneeded in_update_ members
1744
1745         * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1746
1747 2003-07-16  André Pönitz  <poenitz@gmx.net>
1748
1749         * insettext.C (selectAll): remove
1750
1751 2003-07-16  John Levon  <levon@movementarian.org>
1752
1753         * insetnote.h:
1754         * insetnote.C: implement showInsetDialog()
1755
1756 2003-07-15  André Pönitz  <poenitz@gmx.net>
1757
1758         * insettabular.C:
1759         * insettext.C: refresh_status tristate -> need_update bool
1760
1761 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1762
1763         * insettext.C: adjust call to LyXText::init
1764
1765 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1766
1767         * insettext.C: use bufferview_funcs->replaceSelection()
1768         to delete selections in some cases (bugs 441, 673, 702, 954).
1769
1770 2003-07-14  André Pönitz  <poenitz@gmx.net>
1771
1772         * insettext.C (draw): use slimmed down rowpainter interface
1773
1774 2003-07-14  André Pönitz  <poenitz@gmx.net>
1775
1776         * insetcollapsable.C:
1777         * insetert.C:
1778         * insettext.[Ch] (cy, ciy, setUpdateStatus):
1779         remove unused BufferView * argument
1780
1781 2003-07-14  André Pönitz  <poenitz@gmx.net>
1782
1783         * insettext.[Ch]: used cached metrics a bit more
1784
1785 2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
1786
1787         * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1788
1789 2003-07-10  André Pönitz  <poenitz@gmx.net>
1790
1791         * insettabular.C:
1792         * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1793
1794 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * introduce namespace lyx::graphics
1797
1798 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * introduce namespace lyx::support
1801
1802 2003-06-30  André Pönitz  <poenitz@gmx.net>
1803
1804         * insetcite.C (localDispatch): fix case of missing return value
1805
1806         * insetcite.C (ascii): remove unneeded temporary
1807
1808 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1809
1810         * insetspace.h: fix \file
1811
1812         * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1813         * insetinclude.C (fillWithBibKeys): ditto
1814
1815         * insetbibitem.C: fix type const order
1816
1817         * inset.C (getLyXText): add varname for arg
1818
1819         * ExternalTemplate.h: fix type const order
1820
1821 2003-06-27  André Pönitz  <poenitz@gmx.net>
1822
1823         * insettext.C: take care of removed LyXCursor::row_ member
1824
1825         * insettext.[Ch]: use new TextCursor struct for sstate
1826
1827 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1828
1829         * inseterror.[Ch]: removed
1830
1831 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1832
1833         * insetinclude.C (docbook): use parseError instead of sgmlError
1834
1835 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1838         of BufferList::loadLyXFile
1839
1840 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1841
1842         * insettext.C (update): simplify
1843         (updateLocal): remove commented code
1844         (insetUnlock): simplify
1845         (lockInset): simplify
1846         (updateInsetInInset): simplify
1847         (localDispatch): simplify
1848         (setFont): simplify
1849         (resizeLyXText): simplify
1850         (collapseParagraphs): simplify
1851
1852         * insetert.C (get_new_label): simplify
1853
1854 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1855
1856         * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1857         pasteSelection with index
1858
1859 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1862
1863 2003-06-16  André Pönitz  <poenitz@gmx.net>
1864
1865         * insetbase.h: new virtual base function clone()
1866
1867         * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1868           Inset * clone()  ->  InsetBase * clone()
1869
1870 2003-06-13  André Pönitz  <poenitz@gmx.net>
1871
1872         * insettabular.[Ch]: make tabular a proper member
1873
1874 2003-06-12  André Pönitz  <poenitz@gmx.net>
1875
1876         * insettabular.[Ch]: some renaming plus whitespace
1877
1878 2003-06-11  Angus Leeming  <leeming@lyx.org>
1879
1880         * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1881         Add renderers.[Ch].
1882
1883         * insetbutton.[Ch]: removed.
1884         * graphicinset.[Ch]: renamed as renderers.[Ch].
1885
1886         * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1887         Create a new class ButtonRenderer using the InsetButton::metrics() and
1888         draw() functions.
1889         Derive both from a common RenderedInset base class.
1890
1891         * insetcommand.[Ch]:
1892         * insetinclude.[Ch]: derive from Inset, not InsetButton.
1893         Give it a ButtonRenderer member variable. Use it.
1894         Give the classes working copy c-tors.
1895         No longer derive from boost::noncopyable.
1896
1897         * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1898         display its contents as a button or as a graphic.
1899
1900         * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1901         GraphicRenderer.
1902
1903 2003-06-11  Angus Leeming  <leeming@lyx.org>
1904
1905         * insetcite.C (localDispatch): reformat.
1906
1907         * insetref.C (localDispatch): enable dialog to be lauched.
1908
1909 2003-06-11  John Levon  <levon@movementarian.org>
1910
1911         * insettabular.C: correctly mark all cells as erased
1912
1913 2003-06-11  Angus Leeming  <leeming@lyx.org>
1914
1915         * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1916         ExternalTemplate but its name, templatename. This means that a file
1917         containing a reference to an External Template not installed on the
1918         current machine will be saved retaining this info rather than inserting
1919         the first "valid" template from the list of templates.
1920
1921         As a by product, the visual statement that the Template is missing is
1922         now very clear!
1923
1924 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1925
1926         * insettext.C (appendParagraphs): remove some commented code.
1927
1928 2003-06-10  Angus Leeming  <leeming@lyx.org>
1929
1930         * graphicinset.[Ch] (view): removed the publicly accessible function to set
1931         the cache.
1932
1933         * insetexternal.[Ch]: move tempname_ into the Params struct.
1934         (Params d-tor): new function, to clean-up this temp file.
1935         (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1936         (cache): removed.
1937         (editExternal, doSubstitution): move out of class.
1938
1939 2003-06-10  Angus Leeming  <leeming@lyx.org>
1940
1941         * graphicinset.[Ch] (params): removed.
1942         * graphicinset.h (operator=): declared private but not defined.
1943         (statusMessage): made private.
1944
1945         * insetexternal.[Ch]: graphic_ renamed as renderer_.
1946
1947 2003-06-07  John Levon  <levon@movementarian.org>
1948
1949         * insetert.C (latex): make a newline mean just that not
1950         a new par
1951
1952 2003-06-07  José Matos  <jamatos@fep.up.pt>
1953
1954         * insethfill.[Ch] (linuxdoc, docbook): implement output
1955         * insetspace.C (linuxdoc, docbook): remove coments as the code
1956         is correct.
1957
1958 2003-06-06  José Matos  <jamatos@fep.up.pt>
1959
1960         * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1961
1962 2003-06-06  André Pönitz  <poenitz@gmx.net>
1963
1964         * insetwrap.[Ch]: code compactification
1965
1966 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1967
1968         * mailinset.C (updateDialog): use Dialogs::visible
1969
1970 2003-06-04  Angus Leeming  <leeming@lyx.org>
1971
1972         * graphicinset.C (draw): add a comment for the #if 0 block.
1973
1974         * insetexternal.h: remove Params::parameters variable.
1975         * insetexternal.C (read, write): rewrite to output new ExternalInset format
1976         and read it back making full use of LyXLex.
1977
1978 2003-06-04  André Pönitz  <poenitz@gmx.net>
1979
1980         * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1981
1982 2003-06-04  John Levon  <levon@movementarian.org>
1983
1984         * insettabular.C: back out tall table speed up. It was broken
1985
1986 2003-06-03  Angus Leeming  <leeming@lyx.org>
1987
1988         * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1989         Remove ViewCommand and UpdateCommand.
1990
1991         * graphicinset.C (update): bug fix. Set the params before calling the
1992         loader.
1993         * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1994         BufferView cache to enable the InsetExternal::editCommand to be invoked
1995         from the frontends. Would not be needed if this were dispatched properly.
1996         (old_ascent_): variable removed.
1997
1998         * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1999         do any necessary conversions of external material. Also use the
2000         new GraphicsInset to display the inset within LyX.
2001
2002 2003-06-03  Angus Leeming  <leeming@lyx.org>
2003
2004         * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2005         and move it somewhere where InsetExternal can use it too.
2006
2007         * Makefile.am: add the new files.
2008
2009         * insetgraphics.[Ch]: make use of the new GraphicInset.
2010
2011 2003-06-03  John Levon  <levon@movementarian.org>
2012
2013         * inset.h:
2014         * insetbibitem.[Ch]:
2015         * insetbibtex.h:
2016         * insetcite.h:
2017         * insetcommand.[Ch]:
2018         * insetenv.[Ch]:
2019         * inseterror.h:
2020         * insetert.[Ch]:
2021         * insetexternal.[Ch]:
2022         * insetfloat.[Ch]:
2023         * insetfloatlist.h:
2024         * insetfoot.[Ch]:
2025         * insetgraphics.[Ch]:
2026         * insethfill.h:
2027         * insetinclude.[Ch]:
2028         * insetindex.h:
2029         * insetlabel.h:
2030         * insetlatexaccent.[Ch]:
2031         * insetmarginal.[Ch]:
2032         * insetminipage.[Ch]:
2033         * insetnewline.h:
2034         * insetnote.[Ch]:
2035         * insetoptarg.[Ch]:
2036         * insetquotes.[Ch]:
2037         * insetref.[Ch]:
2038         * insetspace.[Ch]:
2039         * insetspecialchar.[Ch]:
2040         * insettabular.[Ch]:
2041         * insettext.[Ch]:
2042         * insetthereom.[Ch]:
2043         * insettoc.h:
2044         * inseturl.h:
2045         * insetwrap.[Ch]: make clone() not take a Buffer * arg
2046
2047         * insetgraphics.[Ch]:
2048         * insetgraphicsParams.[Ch]: always store an absolute
2049         path at runtime
2050
2051 2003-06-02  André Pönitz  <poenitz@gmx.net>
2052
2053         * inseterror.C:
2054         * insetgraphics.C:
2055         * insetlatexaccent.C: remove duplicated call to metrics()
2056
2057 2003-06-02  John Levon  <levon@movementarian.org>
2058
2059         * insettabular.C: fix resize of column width
2060
2061 2003-06-02  John Levon  <levon@movementarian.org>
2062
2063         * Makefile.am:
2064         * inset.h:
2065         * insetparent.h:
2066         * insetparent.C: remove insetparent
2067
2068 2003-06-02  André Pönitz  <poenitz@gmx.net>
2069
2070         * inset.[Ch]:
2071         * insetbase.h:
2072         * insetbibtex.[Ch]:
2073         * insetbutton.[Ch]:
2074         * insetcaption.C:
2075         * insetcollapsable.[Ch]:
2076         * inseterror.[Ch]:
2077         * insetert.[Ch]:
2078         * insetfootlike.C:
2079         * insetgraphics.[Ch]:
2080         * insetinclude.[Ch]:
2081         * insetlatexaccent.[Ch]:
2082         * insetminipage.[Ch]:
2083         * insetnewline.[Ch]:
2084         * insetquotes.[Ch]:
2085         * insetspace.[Ch]:
2086         * insetspecialchar.[Ch]:
2087         * insettabular.[Ch]:
2088         * insettext.[Ch]: unify first drawing phase
2089
2090         * inset.[Ch]:
2091         * insetbase.h: move validate() to the base
2092
2093 2003-05-31  Angus Leeming  <leeming@lyx.org>
2094
2095         * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2096
2097 2003-05-30  André Pönitz  <poenitz@gmx.net>
2098
2099         * inset.h:
2100         * insetbase.h:
2101         * insetbutton.[Ch]:
2102         * insetcaption.[Ch]:
2103         * insetcollapsable.[Ch]:
2104         * inseterror.[Ch]:
2105         * insetert.[Ch]:
2106         * insetgraphics.[Ch]:
2107         * insetinclude.[Ch]:
2108         * insetlatexaccent.[Ch]:
2109         * insetnewline.[Ch]:
2110         * insetquotes.[Ch]:
2111         * insetspace.[Ch]:
2112         * insetspecialchar.[Ch]:
2113         * insettabular.[Ch]:
2114         * insettext.[Ch]:
2115         * updatableinset.[Ch]: unify second drawing phase
2116
2117 2003-05-30  John Levon  <levon@movementarian.org>
2118
2119         * insetgraphics.C: fix a bformat
2120
2121 2003-05-29  John Levon  <levon@movementarian.org>
2122
2123         * insettabular.C: remove unused bufferOwner()
2124
2125 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * insettext.C (lockInsetInInset): adjust
2128         (getLabelList): use const_iterator, adjust
2129         (getInsetFromID): use const_iterator, adjust
2130         (addPreview): use const_iterator, adjust
2131
2132         * insetwrap.C (clone): remove const_cast
2133
2134         * insetnote.C (clone): remove const_cast
2135
2136         * insetminipage.C (clone): remove const_cast
2137
2138         * insetmarginal.C (clone): remove const_cast
2139
2140         * insetfoot.C (clone): remove const_cast
2141
2142         * insetfloat.C (clone): remove const_cast
2143
2144         * insetert.C (clone): remove const_cast
2145
2146         * delete commented same_id functions from a lot of files.
2147
2148 2003-05-28  John Levon  <levon@movementarian.org>
2149
2150         * insetcite.C:
2151         * insetinclude.C:
2152         * insetindex.C:
2153         * insetparent.C:
2154         * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2155
2156         * insetminipage.C: fix metrics (bug 1144)
2157
2158 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * insettext.C (saveLyXTextState): adjust
2161         (restoreLyXTextState): adjust
2162         (init): adjust
2163         (lockInset): adjust
2164         (unlockInsetInInset): adjust
2165         (localDispatch): adjust
2166         (getLyXText): adjust
2167
2168         * insettabular.C (insertAsciiString): adjust
2169
2170 2003-05-27  André Pönitz  <poenitz@gmx.net>
2171
2172         * insetbutton.C:
2173         * insetcollapsable.C:
2174         * inseterror.C:
2175         * insetgraphics.C:
2176         * insetlatexaccent.C:
2177         * insetminipage.C:
2178         * insetnewline.C:
2179         * insetquotes.C:
2180         * insetspace.C:
2181         * insetspecialchar.C:
2182         * insettabular.C:
2183         * insettext.C: dim.w -> dim.wid
2184
2185 2003-05-26  John Levon  <levon@movementarian.org>
2186
2187         * insettabular.C: avoid drawing all of a long table
2188         if it's not needed. A big speedup
2189
2190 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * remove same_id from function signatures, adjust
2193
2194 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2195
2196         * insettext.C (InsetText): adjust
2197         (clear): adjust
2198         (setParagraphData): separate same_id cases, adjust
2199         (appendParagraphs): adjust
2200         (appendParagraphs): adjust
2201
2202 2003-05-23  André Pönitz  <poenitz@gmx.net>
2203
2204         * insetbutton.h: whitespace
2205
2206         * insettabular.C: more compact code
2207
2208         * updatableinset.C: remove const_cast
2209
2210
2211 2003-05-23  Angus Leeming  <leeming@lyx.org>
2212
2213         * insetexternal.C (write): check how many lines are output.
2214         (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2215         if the template has defined it.
2216
2217 2003-05-23  Angus Leeming  <leeming@lyx.org>
2218
2219         * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2220
2221 2003-05-23  Angus Leeming  <leeming@lyx.org>
2222
2223         * insetfoot.C (latex):
2224         * inseturl.C (latex): rename fragile as moving_arg.
2225
2226 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * inseterror.C (localDispatch): comment out unused var.
2229
2230 2003-05-22  Angus Leeming  <leeming@lyx.org>
2231
2232         * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2233         passed through the LatexRunParams arg.
2234
2235 2003-05-22  Angus Leeming  <leeming@lyx.org>
2236
2237         * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2238         through the LatexRunParams arg.
2239
2240         * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2241         arg rather than through a global var.
2242
2243 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2244
2245         * insetspecialchar.C (dimension): use a string.
2246
2247 2003-05-22  Angus Leeming  <leeming@lyx.org>
2248
2249         * insetbibtex.C (latex):
2250         * insetgraphics.C (latex):
2251         * insetinclude.C (latex): extract the buffer's 'nice'ness from
2252         runparams rather than from the buffer itself.
2253
2254 2003-05-22  Angus Leeming  <leeming@lyx.org>
2255
2256         * inset*.[Ch] (latex):
2257         passed a LatexRunParams parameter.
2258
2259         * insetgraphics.C (latex): actually use it ;-)
2260
2261 2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
2262
2263         * insetfloat.C (addToToc): trivial compile fix
2264
2265 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * insettext.[Ch] (paragraph): delete unused function
2268
2269         * insetfloat.C (addToToc): parlist simplfication
2270
2271 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2272
2273         * insetspace.[Ch]: added (new space insets)
2274         * Makefile.am:
2275         * inset.h: handle new space insets
2276
2277 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * insetfloat.C (addToToc): adjust
2280
2281 2003-05-21  André Pönitz  <poenitz@gmx.net>
2282
2283         * insettext.[Ch]: fix drawing bug introduced earlier
2284
2285 2003-05-19  André Pönitz  <poenitz@gmx.net>
2286
2287         * insetspecialchar.C: fix bug introduced yesterday
2288
2289 2003-05-19  André Pönitz  <poenitz@gmx.net>
2290
2291         * inset.[Ch]:
2292         * insetbutton.[Ch]:
2293         * insetcollapsable.[Ch]:
2294         * inseterror.[Ch]:
2295         * insetert.[Ch]:
2296         * insetfoot.[Ch]:
2297         * insetgraphics.[Ch]:
2298         * insetgraphicsParams.[Ch]:
2299         * insetlatexaccent.[Ch]:
2300         * insetminipage.[Ch]:
2301         * insetnewline.[Ch]:
2302         * insetquotes.[Ch]:
2303         * insetspecialchar.[Ch]:
2304         * insettabular.[Ch]:
2305         * insettext.[Ch]: dimensions() instead of ascend/descend/width
2306
2307 2003-05-19  André Pönitz  <poenitz@gmx.net>
2308
2309         * insetenv.[Ch]:
2310         * insettext.C: more insetenv
2311
2312 2003-05-16  André Pönitz  <poenitz@gmx.net>
2313
2314         * insetcommand.C:
2315         * insetminimpage.[Ch]:
2316         * insetcollapsable.[Ch]: fix #832
2317
2318 2003-05-16  André Pönitz  <poenitz@gmx.net>
2319
2320         * inset.[Ch]:
2321         * insetbibitem.[Ch]:
2322         * insetbibtex.[Ch]:
2323         * insetbutton.[Ch]:
2324         * insetcite.[Ch]:
2325         * insetcollapsable.[Ch]:
2326         * insetcommand.[Ch]:
2327         * inseterror.[Ch]:
2328         * insetert.[Ch]:
2329         * insetexternal.[Ch]:
2330         * insetfloatlist.[Ch]:
2331         * insetgraphics.[Ch]:
2332         * insetinclude.[Ch]:
2333         * insetindex.[Ch]:
2334         * insetlabel.[Ch]:
2335         * insetlatexaccent.[Ch]:
2336         * insetparent.[Ch]:
2337         * insetref.[Ch]:
2338         * insettabular.[Ch]:
2339         * insettext.[Ch]:
2340         * insettoc.[Ch]:
2341         * inseturl.[Ch]:
2342         * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2343
2344 2003-05-13  André Pönitz <poenitz@gmx.net>
2345
2346         * insetbibitem.C:
2347         * insetcollapsable.C:
2348         * insetert.C:
2349         * insetfloat.C:
2350         * insetinclude.C:
2351         * insetwrap.C: tostr from own header
2352
2353         * insetcommand.C:
2354         * insetexternal.C:
2355         * insetfloat.C:
2356         * insetfloat.h:
2357         * insetgraphics.C:
2358         * insetinclude.C:
2359         * insetminipage.C:
2360         * insetparent.C:
2361         * insettabular.C:
2362         * insettext.C:
2363         * insetwrap.C: STRCONV
2364
2365
2366 2003-05-12  André Pönitz <poenitz@gmx.net>
2367
2368         * insetcaption.C:
2369         * insetexternal.C:
2370         * insetfloat.C:
2371         * insetfloatlist.C:
2372         * insetgraphics.C:
2373         * insetinclude.C:
2374         * insetminipage.C:
2375         * insetminipage.C:
2376         * insettabular.C:
2377         * insettext.C:
2378         * insetwwrap.C:  boost::format -> bformat  all over the place
2379
2380 2003-05-05  André Pönitz <poenitz@gmx.net>
2381
2382         * insettext.h: add missing #include <map>
2383
2384 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * insettext.C (InsetText): parlist cleanup
2387         (clear): ditto
2388         (edit): ditto
2389         (insetUnlock): ditto
2390         (lockInset): ditto
2391         (lockInsetInInset): ditto
2392         (cx): ditto
2393         (cix): ditto
2394         (getLyXText): ditto
2395         (searchBackward): ditto
2396         (collapseParagraphs): ditto
2397
2398 2003-05-06  John Levon  <levon@movementarian.org>
2399
2400         * insetcaption.C: don't cast wrap inset to InsetFloat
2401
2402         * insetfloat.h:
2403         * insetfloat.C: remove unneeded type() function
2404
2405 2003-05-05  André Pönitz <poenitz@gmx.net>
2406
2407         * inset.h:
2408         * insettext.[Ch]:
2409         * insettabular.[Ch]:
2410         * insetcollapsable.[Ch]: remove unused function firstParagraph()
2411         replace getFirstParagraph() by getParagraphs()
2412
2413 2003-05-03  John Levon  <levon@movementarian.org>
2414
2415         * insetcollapsable.h:
2416         * insetcollapsable.C:
2417         * insettabular.h:
2418         * insettabular.C:
2419         * insettext.h:
2420         * insettext.C:
2421         * updatableinset.h:
2422         * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2423         hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2424         getCursor(). Remove explicit cursor hides.
2425
2426 2003-05-02  André Pönitz <poenitz@gmx.net>
2427
2428         * insettext.C: remove unneeded &*
2429
2430 2003-04-30  John Levon  <levon@movementarian.org>
2431
2432         * insettabular.C: fix edit message
2433
2434 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2435
2436         * insettext.C (setFont): do not convert iterator -> pointer
2437
2438         * insettabular.C (localDispatch): do not convert iterator -> pointer
2439         (setFont): ditto
2440         (tabularFeatures): ditto
2441
2442 2003-04-29  André Pönitz <poenitz@gmx.net>
2443
2444         * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2445
2446 2003-04-28  André Pönitz <poenitz@gmx.net>
2447
2448         * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2449           Changes
2450
2451 2003-04-25 André Pönitz <poenitz@gmx.net>
2452
2453         * insetenv.C: derive from InsetText instead of InsetCollapsable
2454
2455 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * insetexternal.C (string2params): dont do anything if the string
2458         is empty.
2459         * insetgraphics.C (string2params): ditto
2460         * insetcommand.C (string2params): ditto
2461         * insetert.C (string2params): ditto
2462         * insetfloat.C (string2params): ditto
2463         * insetinclude.C (string2params): ditto
2464         * insetminipage.C (string2params): ditto
2465         * insettabular.C (string2params): ditto
2466         * insetwrap.C (string2params): ditto
2467
2468 2003-04-24  André Pönitz <poenitz@gmx.net>
2469
2470         * insetref.C: support for eqref
2471
2472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * insetert.C (read): use ParagraphList::iterator.
2475
2476 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * insetquotes.C (latex): comment some code and add warnings.
2479
2480 2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * insetexternal.C (localDispatch): added a missing DISPATCHED
2483
2484 2003-04-12  John Levon  <levon@movementarian.org>
2485
2486         * insetwrap.C (addToToc): fix a crash, conversion
2487         from while to for loop forgot to remove the explicit
2488         increment
2489
2490 2003-04-10  John Levon  <levon@movementarian.org>
2491
2492         * insettabular.C (tabularFeature): make sure
2493         to update the dialog when we change something
2494         (bug 1036).
2495
2496         (getStatus): don't disable some lfuns (bug 939)
2497
2498 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * insettext.C (saveLyXTextState): adjust
2501         (localDispatch): adjust
2502         (setFont): adjust
2503         (cx): adjust
2504         (cix): adjust
2505         (cpar): adjust
2506
2507         * insettabular.C (localDispatch): adjust
2508         (setFont): adjust
2509         (tabularFeatures): adjust
2510
2511 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * insettabular.C (searchForward,searchBackward): fix bug 782
2514
2515 2003-04-07  John Levon  <levon@movementarian.org>
2516
2517         * insettabular.C:
2518         * insettext.C: clear status message on inset exit
2519
2520 2003-04-03  John Levon  <levon@movementarian.org>
2521
2522         * insetcommand.C: return dispatched on DIALOG_UPDATE
2523
2524 2003-04-02  John Levon  <levon@movementarian.org>
2525
2526         * insettabular.C: tab lfuns renamed
2527
2528 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2529
2530         * insettext.C (update): move towards ParagraphList
2531         (updateLocal): ditto
2532         (edit): ditto
2533         (insetUnlock): ditto
2534         (lockInset): ditto
2535         (lockInsetInInset): ditto
2536         (updateInsetInInset): ditto
2537         (localDispatch): ditto
2538         (docbook): ditto
2539         (setFont): ditto
2540         (resizeLyXText): ditto
2541         (searchBackward): ditto
2542         (collapseParagraphs): ditto
2543         (addPreview): ditto
2544
2545         * insetwrap.C (InsetWrap): adjust
2546         (addToToc): adjust and rewrite loop
2547
2548         * insettext.[Ch] (paragraph): delete function
2549
2550         * insettabular.C (moveNextCell): adjust
2551         (movePrevCell): adjust
2552         (insertAsciiString): adjust
2553
2554         * insetfloat.C (InsetFloat): adjust
2555         (addToToc): adjust
2556
2557         * insetert.C (InsetERT): adjust
2558         (write): adjust, and rewrite loop
2559         (latex): adjust, and rewrite loop
2560         (linuxdoc): adjust, and rewrite loop
2561         (docbook): adjust, and rewrite loop
2562         (localDispatch): adjust
2563         (get_new_label): adjust
2564
2565 2003-04-01  John Levon  <levon@movementarian.org>
2566
2567         From Alfredo Braunstein
2568
2569         * insetbutton.h:
2570         * insetbutton.C: add localDispatch()
2571
2572         * insetcommand.C: return DISPATCHED when edit() called
2573
2574         * insettext.C: fix bug 967
2575
2576 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2577
2578         * insettext.C: adjust
2579
2580 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2581
2582         * insettext.C (draw): adjust
2583         (crow): return a RowList::iterator not a Row*
2584
2585         * insetminipage.C (localDispatch): adjust
2586
2587         * insetert.C (localDispatch): adjust
2588
2589 2003-03-31  John Levon  <levon@movementarian.org>
2590
2591         * insetgraphics.C:
2592         * insetgraphicsParams.C: use_gui moved to lyx_gui
2593
2594 2003-03-31  John Levon  <levon@movementarian.org>
2595
2596         * insettext.C: Alert fix
2597
2598 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2599
2600         * insettext.C (ascent): adjust for RowList
2601         (descent): ditto
2602         (draw): ditto
2603         (getLyXText): adjust
2604         (toggleSelection): adjust
2605
2606         * insetminipage.C (localDispatch): adjust for RowList
2607
2608         * insetert.C (localDispatch): adjust for RowList
2609         (getMaxWidth): adjust for RowList
2610
2611 2003-03-29  John Levon  <levon@movementarian.org>
2612
2613         * insetert.C: Alert cleanup
2614
2615 2003-03-29  John Levon  <levon@movementarian.org>
2616
2617         * insettabular.C: Alert fix
2618
2619 2003-03-28  John Levon  <levon@movementarian.org>
2620
2621         * insetfloat.C: reset label on INSET_MODIFY
2622
2623 2003-03-28  John Levon  <levon@movementarian.org>
2624
2625         * insetgraphicsParams.C: read subcaptionText as a whole line
2626         (bug 656)
2627
2628 2003-03-28  John Levon  <levon@movementarian.org>
2629
2630         * insettext.C: remove unused prototypes
2631
2632 2003-03-25  Angus Leeming  <leeming@lyx.org>
2633
2634         * insetbibitem.C (localDispatch): repaint the view after modifying
2635         a bibitem inset in case the maximum InsetBibitem width has changed.
2636
2637 2003-03-25  John Levon  <levon@movementarian.org>
2638
2639         * insettext.C:
2640         * insettabular.C: LyXText renamings
2641
2642 2003-03-24  John Levon  <levon@movementarian.org>
2643
2644         * insettext.C: remove some dead code. Fix bug 972 and
2645           related by posting a repaint in updateLocal(), and making
2646           the SEL functions set SELECTION.
2647
2648 2003-03-22  John Levon  <levon@movementarian.org>
2649
2650         * inset.h:
2651         * inset.C: remove no-longer-needed topx_set
2652
2653         * insetcollapsable.h:
2654         * insetcollapsable.C: remove dead code
2655
2656         * insetminipage.C:
2657         * insetert.C: rebreak the rows when a possible
2658           change in size is made, and reset the cursor
2659           (bug 962, bug 965)
2660
2661         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2662
2663         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2664           topx_set. Fix drawing errors for clearInset(). Remove
2665           some unnecessary uses of topx, which should die.
2666
2667         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2668           is no longer needed. Replace it with an ugly hack.
2669
2670 2003-03-20  John Levon  <levon@movementarian.org>
2671
2672         * inset.h:
2673         * insetcollapsable.h:
2674         * insetcollapsable.C:
2675         * insetert.h:
2676         * insetert.C:
2677         * insetminipage.C:
2678         * insetminipage.C:
2679         * insettabular.h:
2680         * insettabular.C:
2681         * insettext.h:
2682         * insettext.C: remove spurious font parameter
2683         from update(). Fix drawing of ERT insets inside
2684         insets (bug 966). Remove unused mark_dirty from
2685         tabular's updateLocal()
2686
2687 2003-03-19  John Levon  <levon@movementarian.org>
2688
2689         * insetfloat.h:
2690         * insetfloat.C:
2691         * insetinclude.h:
2692         * insetinclude.C:
2693         * insetminipage.h:
2694         * insetminipage.C:
2695         * insetwrap.h:
2696         * insetwrap.C: remove unused getter/setters
2697
2698 2003-03-19  John Levon  <levon@movementarian.org>
2699
2700         * several files: bv->updateInset() doesn't take
2701         a bool mark_dirty any more
2702
2703 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * adjust for BufferView* arg removal from lyxtext.
2706
2707 2003-03-17  John Levon  <levon@movementarian.org>
2708
2709         * most files: remove the "cleared" parameter
2710         to draw in favour of always clearing. Associated
2711         code removal.
2712
2713 2003-03-16  John Levon  <levon@movementarian.org>
2714
2715         * insettext.C: remove unused s.refresh
2716
2717 2003-03-13  Angus Leeming  <leeming@lyx.org>
2718
2719         * insettext.C (edit): replace Dialogs::updateParagraph with
2720         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2721
2722 2003-03-13  André Pönitz <poenitz@gmx.net>
2723
2724         * Makefile.am: insert insetenv
2725
2726         * insethenv.[Ch]: new files, currently inactive
2727
2728 2003-03-12  John Levon  <levon@movementarian.org>
2729
2730         * Makefile.am:
2731         * inset.h:
2732         * inset.C:
2733         * insetert.h:
2734         * insetert.C:
2735         * insetnewline.h:
2736         * insetnewline.C:
2737         * insetquotes.C:
2738         * insettext.C: use new insetnewline
2739
2740 2003-03-12  John Levon  <levon@movementarian.org>
2741
2742         * insettext.C: readToken became readParagraph
2743
2744 2003-03-12  John Levon  <levon@movementarian.org>
2745
2746         * insettext.C: use parlist iterator for reading contents
2747
2748 2003-03-12  John Levon  <levon@movementarian.org>
2749
2750         * insettext.C: name change to readToken()
2751
2752 2003-03-11  André Pönitz <poenitz@gmx.net>
2753
2754         * Makefile.am: insert insethfill
2755
2756         * insethfill.[Ch]: new files
2757
2758 2003-03-10  Angus Leeming  <leeming@lyx.org>
2759
2760         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2761         BufferView * arg.
2762         (hideDialog): calls the new static Dialogs::hide() method.
2763
2764         * insetbibitem.C (edit):
2765         * insetbibtex.C (edit):
2766         * insetcite.C (edit):
2767         * insetcommand.C (localDispatch):
2768         * inseterror.C (d-tor):
2769         * insetert.C (showInsetDialog):
2770         * insetexternal.C (localDispatch, edit):
2771         * insetfloat.C (localDispatch, showInsetDialog):
2772         * insetfloatlist.C (edit):
2773         * insetgraphics.C (localDispatch, edit):
2774         * insetinclude.C (localDispatch, edit):
2775         * insetindex.C (edit):
2776         * insetlabel.C (edit):
2777         * insetminipage.C (localDispatch, showInsetDialog):
2778         * insetref.C (edit):
2779         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2780         resetPos, showInsetDialog, openLayoutDialog):
2781         * insettoc.C (edit):
2782         * inseturl.C (edit):
2783         * insetwrap.C (localDispatch, showInsetDialog):
2784         changes due to the changed MailInset interface.
2785
2786 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
2787
2788         * insetfloat.h: Set default placement to an empty string.
2789
2790 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2791
2792         * insettext.C (latex): adjust call to latexParagraphs.
2793
2794 2003-03-10  Angus Leeming  <leeming@lyx.org>
2795
2796         * mailinset.C: warn the user if the BufferView has not been cached.
2797
2798 2003-03-10  Angus Leeming  <leeming@lyx.org>
2799
2800         * inset.h, insetbase.h: move cache() and view() into InsetBase.
2801
2802         * insetcommand.h (inset):
2803         * insetert.h (inset):
2804         * insetexternal.h (inset):
2805         * insetfloat.h (inset):
2806         * insetgraphics.h (inset):
2807         * insetinclude.h (inset):
2808         * insetminipage.h (inset):
2809         * insettabular.h (inset):
2810         * insetwrap.h (inset):
2811         * mailinset.h (inset): return an InsetBase &, not an Inset &.
2812
2813 2003-03-10  Angus Leeming  <leeming@lyx.org>
2814
2815         * insetcommand.C (string2params):
2816         * insetexternal.C (string2params):
2817         * insetfloat.C (string2params):
2818         * insetgraphics.C (string2params):
2819         * insetinclude.C (string2params):
2820         * insetminipage.C (string2params):
2821         * insettabular.C (string2params):
2822         * insetwrap.C (string2params): cure warning message about missing
2823         '\end_inset'.
2824
2825 2003-03-09  Angus Leeming  <leeming@lyx.org>
2826
2827         * insettabular.[Ch]: define a new class InsetTabularMailer and use
2828         it to communicate with the frontend dialogs.
2829
2830         * mailinset.C (hideDialog): only hide the dialog if it is showing the
2831         contents of this inset!
2832
2833 2003-03-07  Angus Leeming  <leeming@lyx.org>
2834
2835         * inseterror.C (localDispatch): new method; calls edit() on
2836         LFUN_MOUSE_RELEASE.
2837
2838 2003-03-07  Angus Leeming  <leeming@lyx.org>
2839
2840         * insetbibitem.C (localDispatch):
2841         * insetbibtex.C (localDispatch):
2842         * insetlabel.C (localDispatch):
2843         rewrite as a switch.
2844
2845 2003-03-07  Angus Leeming  <leeming@lyx.org>
2846
2847         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2848         it to communicate with the frontend dialogs.
2849
2850 2003-03-07  Angus Leeming  <leeming@lyx.org>
2851
2852         * insetexternal.C: remove operator== and operator!= for
2853         InsetExternal::Params. They were used only by the old controller
2854         scheme.
2855
2856 2003-03-07  Angus Leeming  <leeming@lyx.org>
2857
2858         * insetcommand.C (localDispatch):
2859         * insetexternal.C (localDispatch):
2860         * insetfloat.C (localDispatch):
2861         * insetinclude.C (localDispatch):
2862         * insetminipage.C (localDispatch):
2863         * insetwrap.C (localDispatch):
2864         add LFUN_INSET_DIALOG_UPDATE to the switch.
2865
2866 2003-03-07  Angus Leeming  <leeming@lyx.org>
2867
2868         * insetcommand.C (string2params):
2869         * insetexternal.C (string2params):
2870         * insetfloat.C (string2params):
2871         * insetinclude.C (string2params):
2872         * insetwrap.C (string2params): use LyXLeX more.
2873
2874         * insetert.[Ch]:
2875         * insetexternal.[Ch]:
2876         * insetfloat.[Ch]:
2877         * insetinclude.[Ch]:
2878         * insetwrap.[Ch]: change Mailer::name_ to be static.
2879
2880         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2881         it to communicate with the frontend dialogs.
2882
2883 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * insettext.C:
2886         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2887
2888 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * insettext.C (updateLocal): un-const function
2891         (updateLocal): adjust
2892         (collapseParagraphs): un-const function
2893         (collapseParagraphs): adjust
2894
2895 2003-03-05  Angus Leeming  <leeming@lyx.org>
2896
2897         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2898         it to communicate with the frontend dialogs.
2899
2900 2003-03-05  Angus Leeming  <leeming@lyx.org>
2901
2902         * insetcollapsable.C (draw): cache the BufferView.
2903
2904         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2905         it to communicate with the frontend dialogs.
2906
2907 2003-03-05  Angus Leeming  <leeming@lyx.org>
2908
2909         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2910         struct.
2911
2912 2003-03-05  Angus Leeming  <leeming@lyx.org>
2913
2914         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2915
2916         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2917         it to communicate with the frontend dialogs.
2918
2919 2003-03-05  Angus Leeming  <leeming@lyx.org>
2920
2921         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2922         it to communicate with the frontend dialogs.
2923
2924 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * insettext.C (collapseParagraphs): adjust
2927         (appendParagraphs): make it take a Buffer* instead of a
2928         BufferParams& as arg.
2929         (appendParagraphs): adjust
2930
2931 2003-03-04  Angus Leeming  <leeming@lyx.org>
2932
2933         * insetbibitem.C (localDispatch):
2934         * insetbibtex.C (localDispatch):
2935         * insetcommand.C (localDispatch):
2936         * insetert.C (localDispatch):
2937         * insetlabel.C (localDispatch):
2938         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2939
2940 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2941
2942         * insettext.C (latex): adjust for ParagraphList::iterator
2943
2944 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * insetbutton.C (view): adjust for boost 1.30.0
2947         * insetcollapsable.C (view): ditto
2948         * insetgraphics.C (statusChanged): ditto
2949
2950         * insettext.h: move paragraphs to be public.
2951
2952 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * insetnote.[Ch] (InsetNote): remove unused constructor
2955
2956 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * insetgraphics.C: added include "format.h"
2959
2960 2003-02-27  Angus Leeming  <leeming@lyx.org>
2961
2962         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2963         thingy.
2964
2965 2003-02-27  Angus Leeming  <leeming@lyx.org>
2966
2967         * insetbibitem.C (localDispatch):
2968         * insetbibtex.C (localDispatch):
2969         * insetcommand.C:
2970         * insetert:
2971         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2972
2973 2003-02-26  Angus Leeming  <leeming@lyx.org>
2974
2975         * insetbibitem.[Ch] (localDispatch):
2976         * insetbibtex.[Ch] (localDispatch):
2977         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2978
2979         * insetcommand.C (localDispatch):
2980         act only on receipt of LFUN_XYZ_APPLY.
2981
2982         * insetert.C (localDispatch): reformat.
2983         add LFUN_XYZ_APPLY to the switch.
2984
2985 2003-02-26  John Levon  <levon@movementarian.org>
2986
2987         * insettext.C: use RowPainter
2988
2989         * inset.h: make helpers take const *
2990
2991 2003-02-26  Angus Leeming  <leeming@lyx.org>
2992
2993         * insetcommand.[Ch] (localDispatch): new method.
2994
2995 2003-02-26  Angus Leeming  <leeming@lyx.org>
2996
2997         * insetinclude.C (draw): cache the BufferView* using cache not
2998         PreviewImpl::setView
2999
3000 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
3001
3002         * insetgraphics.C (draw)
3003         * insetinclude.C (draw): Eliminate also the other argument (owner
3004         inset inset) in the call to PreviewImage::image
3005
3006 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
3007
3008         * insetgraphics.C (draw)
3009         * insetinclude.C (draw): Eliminate Buferview argument in call to
3010         PreviewImage::image
3011
3012 2003-02-25  John Levon  <levon@movementarian.org>
3013
3014         * insetgraphicsParams.h:
3015         * insetgraphics.C: don't start a load process if
3016           the inset is set to NoDisplay (bug #920)
3017
3018 2003-02-22  John Levon  <levon@movementarian.org>
3019
3020         * insetfloat.C:
3021         * insetwrap.C: TocItem changed API (bug 913)
3022
3023 2003-02-21  Angus Leeming  <leeming@lyx.org>
3024
3025         * insetcollapsable.[Ch] (cache, edit):
3026         * insetbutton.[Ch] (cache, edit): new methods to cache the
3027         BufferView in the draw method.
3028
3029         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3030         simplify comunication between InsetCommand-derived classes and
3031         the Dialogs.
3032
3033         * insetbibitem.[Ch]:
3034         * insetbibtex.[Ch]:
3035         * insetcite.[Ch]:
3036         * inseterror.[Ch]:
3037         * insetfloatlist.[Ch]:
3038         * insetindex.[Ch]:
3039         * insetref.[Ch]:
3040         * insettoc.[Ch]:
3041         * inseturl.[Ch]: small changes to reflect the new interface to the
3042         Dialogs code.
3043
3044         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3045         other, similar classes.
3046
3047         * Makefile.am: add new files.
3048
3049 2003-02-21  Angus Leeming  <leeming@lyx.org>
3050
3051         * updatableinset.h (setView, view): remove.
3052         * inset.h (view, cache): to be replaced by these.
3053
3054         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3055         insetbibtex.[Ch]:
3056
3057         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3058         insetbibtex.[Ch].
3059
3060         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3061
3062 2003-02-21  Allan Rae  <rae@lyx.org>
3063
3064         * insetinclude.C (loadIfNeeded): ensure loading also works when
3065         child document is under version control.
3066
3067 2003-02-17  André Pönitz <poenitz@gmx.net>
3068
3069         * insetbib.[Ch]: Adjust access to bibkeys
3070
3071 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3072
3073         * insetquotes.C (dispString): remove use of acute accent for "'"
3074         right quote.
3075
3076 2003-02-14  John Levon  <levon@movementarian.org>
3077
3078         * insettabular.C: changed method names in tabular.C
3079
3080 2003-02-14  John Levon  <levon@movementarian.org>
3081
3082         * inset.h:
3083         * inset.C:
3084         * insetcollapsable.h:
3085         * insetcollapsable.C:
3086         * insettabular.h:
3087         * insettabular.C:
3088         * insettext.h:
3089         * insettext.C: remove unused getParFromID()
3090
3091 2003-02-13  John Levon  <levon@movementarian.org>
3092
3093         * insettext.h:
3094         * insettext.C: remove unused beginningofMainBody()
3095
3096 2003-02-08  John Levon  <levon@movementarian.org>
3097
3098         * inset.h:
3099         * inset.C:
3100         * insetcollapsable.h:
3101         * insetcollapsable.C:
3102         * insettabular.h:
3103         * insettabular.C:
3104         * insettext.h:
3105         * insettext.C:
3106           add nextChange(). Make allowSpellcheck() const. Add markErased().
3107
3108         * insetert.C: ignore deleted text
3109
3110         * insettabular.C: make sure to keep change  tracking working
3111           properly.
3112
3113 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3114
3115         * insetert.C:
3116         * insetgraphics.C:
3117         * insettabular.C:
3118         * insettext.C: Use error messages with identical spelling and punctuation
3119
3120 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
3121
3122         * insetgraphics.C (draw, width): Fix spacing around graphics inset
3123
3124 2002-12-17  Juergen Vigna  <jug@lyx.org>
3125
3126         * insettext.C (localDispatch): hopefully fixed cursor up down
3127         movement on leaving other insets.
3128
3129 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3130
3131         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3132         and the like.
3133
3134 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3135
3136         * insetgraphics.C (prepareFile): do not remove the extension of
3137         the file name if it is not the default extension for the given
3138         format (that is, in latex output, remove extension from foo.eps,
3139         but not from foo.epsi)
3140
3141 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3142
3143         * insettext.C (lfunMouseRelease): hackish solution to the "double
3144         menu open" bug
3145
3146 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * insetfloat.C (addToToc): use the floats name not its type
3149         * insetwrap.C (addToToc): ditto
3150
3151 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3152
3153         * insetnote.C (init): make label font smaller
3154
3155 2002-12-04  John Levon  <levon@movementarian.org>
3156
3157         * insetinclude.C: ressurect setting of command name
3158
3159 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * insetquotes.C (dispString): disambiguate insert call
3162
3163 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * several files: ws changes
3166
3167 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * insetquotes.C (dispString): use string::insert for prepending a
3170         char.
3171
3172 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3173
3174         * insetparent.C (getScreenLabel): use boost::format
3175
3176         * insetgraphics.C (prepareFile): use boost::format
3177         (ascii): ditto
3178
3179         * insetfloatlist.C (latex): use boost::format
3180
3181         * insetcaption.C (draw): use boost::format
3182
3183 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3184
3185         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3186         columns.
3187
3188 2002-11-20  Juergen Vigna  <jug@sad.it>
3189
3190         * insettabular.C (resetPos): temporary fix for endless loop in
3191         this function on a redraw.
3192
3193 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * insettabular.C (copySelection): STRCONV
3196
3197         * insetinclude.C (uniqueID): STRCONV
3198         (latexString): ditto
3199
3200         * insetgraphics.C: put VersionNumber inside anon namespace
3201         (createLatexOptions): STRCONV
3202
3203         * insetcommandparams.C: include config.h
3204
3205 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
3206
3207         * insetgraphicsParams.C (Write): use lyx::float_equal.
3208         Write height data correctly.
3209         (Read): zero scale when reading height data.
3210
3211 2002-10-30  John Levon  <levon@movementarian.org>
3212
3213         * insetfloat.C (addToTOC): recursively traverse all
3214           contents looking for captions (fix #568)
3215
3216 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3217
3218         * insetexternal.C (doSubstitution): do not try to replace
3219         environment variables, this is done when executing the command
3220
3221 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3222
3223         * insetexternal.C (doSubstitution): change order of substitution
3224         to work around ReplaceEnvironmentPath brokenness
3225
3226 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
3227
3228         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3229
3230         * insetgraphicsParams.C (init, Write): associated changes
3231         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3232         InsetGraphicsParams::scale.
3233
3234 2002-10-21  John Levon  <levon@movementarian.org>
3235
3236         * inset.h: remove unused DISPATCH_RESULT
3237
3238         * insettext.C: sgml open/close tag now in sgml namespace
3239
3240 2002-10-21  Angus Leeming  <leeming@lyx.org>
3241
3242         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3243         file path subdir/fig.eps when pasting it into a buffer in a different
3244         directory.
3245
3246 2002-10-16  John Levon  <levon@movementarian.org>
3247
3248         * insetspecialchar.C: remove \\protected_separator parsing
3249
3250 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3251
3252         * insetquote.C: fix LaTeX output of quotation marks.
3253
3254 2002-10-14  Juergen Vigna  <jug@sad.it>
3255
3256         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3257         Backspace functions which confused the Undo handling.
3258
3259 2002-10-09  Angus Leeming  <leeming@lyx.org>
3260
3261         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3262         BufferView::dispatch that turns off this optimisation when a new inset
3263         is inserted.
3264
3265         * insetcite.C (getNatbibLabel): correct logic of when and when not to
3266         reload the BibTeX keys.
3267
3268 2002-10-11  André Pönitz <poenitz@gmx.net>
3269
3270         * insettext.h: handle LFUN_PRIOR/NEXT
3271
3272 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
3273
3274         * insetfloat.C: fix bug with float settings
3275         (document default != float default).
3276
3277 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
3278
3279         * insetwrap.C (addToToc): New method.
3280         (InsetWrap): Set layout to caption.
3281
3282 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3285
3286 2002-09-16  John Levon  <levon@movementarian.org>
3287
3288         * insettabular.h: hasSelection() needs to be public
3289
3290 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
3291
3292         * insetgraphicsParams.C: use empty string as default for rotateOrigin
3293
3294 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3295
3296         * insetgraphicsParams.C: use empty string as default for rotateOrigin
3297
3298 2002-09-11  André Pönitz <poenitz@gmx.net>
3299
3300         * insettabular.C: implement LFUN_WORDSEL
3301
3302 2002-09-10  John Levon  <levon@movementarian.org>
3303
3304         * insetinclude.h: remove unused param
3305
3306 2002-09-09  John Levon  <levon@movementarian.org>
3307
3308         * insetinclude.h:
3309         * insetinclude.C: remove noload, default to input
3310
3311 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
3312
3313         * insetgraphics.C: disfuscated use of ']' in built output string.
3314
3315 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3318
3319 2002-08-29  Juergen Vigna  <jug@sad.it>
3320
3321         * insettabular.C (lfunMousePress): Pay attention where you set
3322         the x/y values as they depend on which inset in the tabular is
3323         actually locked. So you surely have to reset them if you (un)lock
3324         a inset!
3325
3326 2002-08-29  André Pönitz <poenitz@gmx.net>
3327
3328         * insetfootlike.h: rename include guard to ALL CAPS
3329
3330         * insettext.C: swap object and first parameter for checkInsetHit calls
3331           as this functions has moved from BufferView to LyXText
3332
3333
3334 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
3335
3336         * insetgraphicsParams.C: remove local displayTranslator and use
3337         the one from graphics/GraphicsTypes.h.
3338
3339 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3340
3341         * insetfloat.C (wide): add BufferParams parameter
3342
3343         * insetfloatlist.C (read):
3344         (latex):
3345         (getScreenLabel):
3346         * insetfloat.C (latex):
3347         (floatname):
3348         * insetcaption.C (draw): use LyXTextClass::floats()
3349
3350 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3351
3352         * insetoptarg.h: add std:: qualifier.
3353
3354 2002-08-26  Juergen Vigna  <jug@sad.it>
3355
3356         * insettext.C (localDispatch): ditto.
3357
3358         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3359
3360 2002-08-25  John Levon  <levon@movementarian.org>
3361
3362         * inseturl.C: elide long URLs (bug 404)
3363
3364 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
3365
3366         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3367         remove "Format Version <version_no.>" string from inset header
3368
3369         * insetgraphics.C:
3370         * insetgraphicsParams.[Ch]: Implement new graphics dialog
3371
3372         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3373         a member of "grfx::Params" anymore.
3374
3375         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3376
3377 2002-08-24  John Levon  <levon@movementarian.org>
3378
3379         * insetoptarg.h:
3380         * insetoptarg.C: ws, pedantry ...
3381
3382 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3383
3384         * insettext.C (collapseParagraphs): pasteParagraph now in global
3385         scope
3386         (appendParagraphs): ditto
3387
3388 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
3389
3390         * insetcite.C (latex): Remove spaces only after commmas.
3391
3392 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * insettext.C: remove NO_COMPABILITY stuff
3395
3396 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * insettext.C (edit): use ParagraphList iterators
3399
3400         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3401         (bibitemWidest): ditto
3402
3403 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3404
3405         * insettext.C: include <boost/bind.hpp>
3406         add using std::for_each
3407         (saveLyXTextState): use ParagraphsList::iterator
3408         (init): use for_each on paragraphlist iterators
3409         (InsetText): remove superflous setting cached_bview to 0
3410         (latex): reformat a bit
3411         (ascii): use paragraphlist iterators
3412         (validate): use for_each + boost bind
3413         (getLabelList): use paragraphlist iterators
3414         (deleteLyXText): use for_each + boost::bind
3415         (resizeLyXText): ditto
3416         (reinitLyXText): ditto
3417         (removeNewlines): use paragraphlist iterators
3418         (getParFromID): ditto
3419         (paragraph): use for_each + boost::bind
3420         (getInsetFromID): use paragraphlist iterators
3421         (getLabelList): typo fix
3422
3423 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * insettext.C (read): assign tmp to paragraphs after return from
3426         call to parseSingleLyXformat2Token
3427
3428
3429 2002-08-13  Angus Leeming  <leeming@lyx.org>
3430
3431         * insetbib.C:
3432         * insetcite.C:
3433         * inseterror.C:
3434         * insetert.C:
3435         * insetexternal.C:
3436         * insetfloat.C:
3437         * insetfloatlist.C:
3438         * insetgraphics.C:
3439         * insetinclude.C:
3440         * insetindex.C:
3441         * insetminipage.C:
3442         * insetparent.C:
3443         * insetref.C:
3444         * insettabular.C:
3445         * insettext.C:
3446         * insettoc.C:
3447         * inseturl.C:
3448         changes due to the changed LyXView interface that now returns references
3449         to member variables not pointers.
3450
3451 2002-08-13  Angus Leeming  <leeming@lyx.org>
3452
3453         * inset.h:
3454         * insetcollapsable.h:
3455         * insetert.h:
3456         * insettabular.h:
3457         * insettext.h: forward-declare WordLangTuple
3458         (selectNextWordToSpellcheck) constify return type.
3459
3460         * inset.C:
3461         * insetcollapsable.C:
3462         * insetert.C:
3463         * insettabular.C:
3464         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3465
3466 2002-08-12  Angus Leeming  <leeming@lyx.org>
3467
3468         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3469
3470 2002-08-12  Juergen Vigna  <jug@sad.it>
3471
3472         * insetcollapsable.C (edit): ignore if entered when pressing mouse
3473         button 3.
3474
3475 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * insetbib.C (bibitemMaxWidth): ParagraphList changes
3478         (bibitemWidest): ditto
3479         * insettext.[Ch]: ditto
3480
3481 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * insettext.C, insetert.C: use Paragraph::empty where appropriate
3484
3485 2002-08-09  Angus Leeming  <leeming@lyx.org>
3486
3487         * insetinclude.C (latexString): remove fudge now that I've found out
3488         how to enable LaTeX to find the file using input@path.
3489
3490 2002-08-09  John Levon  <levon@movementarian.org>
3491
3492         * insettext.h:
3493         * insettext.C: remove unused xpos
3494
3495 2002-08-07  Juergen Vigna  <jug@lyx.org>
3496
3497         * insettabular.C (localDispatch): make delete not put the stuff
3498         in the clipboard only do this on a cut operation.
3499
3500         * insettext.C (localDispatch): make delete and backspace not put
3501         selected stuff to the clipboard.
3502
3503 2002-08-07  André Pönitz <poenitz@gmx.net>
3504
3505         * inset.[Ch]:
3506         * insetcollapsable.[Ch]:
3507         * insetert.[Ch]:
3508         * insetparent.[Ch]:
3509         * insetref.[Ch]:
3510         * insettabular.[Ch]:
3511         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
3512
3513 2002-08-06  John Levon  <levon@movementarian.org>
3514
3515         * inset.h:
3516         * inset.C:
3517         * insetcollapsable.h:
3518         * insetcollapsable.C:
3519         * insetert.h:
3520         * insetert.C:
3521         * insettabular.h:
3522         * insettabular.C:
3523         * insettext.h:
3524         * insettext.C: use WordLangTuple for spellcheck
3525
3526 2002-08-06  Angus Leeming  <leeming@lyx.org>
3527
3528         * insetinclude.C: add a monitor to the previewed image, so that the
3529         image is refreshed if the \input-ed file changes.
3530
3531 2002-08-04  John Levon  <levon@movementarian.org>
3532
3533         * inset.h:
3534         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3535
3536 2002-08-02  Angus Leeming  <leeming@lyx.org>
3537
3538         * insetcommandparams.[Ch] (preview): new methods returning and setting
3539         a new bool preview_ flag.
3540         (read): read this flag.
3541         (operator==): add flag to check.
3542
3543         * insetinclude.C (write): output new preview() flag.
3544         (previewWanted): use this flag.
3545
3546 2002-08-02  Angus Leeming  <leeming@lyx.org>
3547
3548         * insetcollapsable.[Ch] (addPreview):
3549         * insettabular.[Ch] (addPreview):
3550         * insettext.[Ch] (addPreview): new methods. Can now generate previews
3551         for insets in insets.
3552
3553 2002-08-02  Angus Leeming  <leeming@lyx.org>
3554
3555         * insetcite.C: fix typo.
3556
3557         * insetgraphics.C: kill current_view and instead cache the BufferView
3558         as a weak_ptr.
3559
3560         * insetinclude.C: kill current_view and pass the BufferView to the
3561         PreviewedInset so that it can cache it.
3562
3563 2002-08-01  Angus Leeming  <leeming@lyx.org>
3564
3565         * inset.h (generatePreview): renamed as addPreview.
3566         (generatePreview): new method. Allows code to be moved out of
3567         math_nestinset.C and into the new PreviewedInset class.
3568
3569         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3570         add previews to the inset when \input-ing LaTeX.
3571
3572 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * several files: strip,frontStrip -> trim,ltrim,rtrim
3575
3576 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * insetbib.C (latex): modify because of strip changes
3579         (getKeys): ditto
3580         * insetnote.C (InsetNote): ditto
3581
3582 2002-07-26  Juergen Vigna  <jug@sad.it>
3583
3584         * insettabular.C (searchForward): check for lastcell if we
3585         had a locking inset.
3586
3587 2002-07-25  Juergen Vigna  <jug@sad.it>
3588
3589         * insettabular.C (insetMotionNotify): Don't update the screen
3590         if we didn't do nothing.
3591         (searchForward): last cell was not checked.
3592
3593 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
3594
3595         * insetfloat.C (read, write): Allow default placement
3596         (floatPlacement_ is empty).
3597
3598 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3599
3600         * insetminipage.h (noFontChange):
3601         * insettabular.h (noFontChange):
3602         * insetfootlike.h (noFontChange):
3603         * insetfloat.h (noFontChange): return true
3604
3605         * inset.h (noFontChange): new method, defaulting to false
3606
3607 2002-07-22  Herbert Voss  <voss@lyx.org>
3608
3609         * insetgraphicsParams.[Ch]: support size_type for old docs
3610
3611 2002-07-22  Herbert Voss  <voss@lyx.org>
3612
3613         * insetgraphics.C:
3614         * insetgraphicsParams.[Ch]: change size_type to size_kind and
3615         other small changes
3616
3617 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3618
3619         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3620
3621         * insetlatexaccent.h: do not include "lyxlex.h"
3622
3623         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3624
3625         * insetquotes.C:
3626         * insetlatexaccent.C:
3627         * insetgraphics.C:
3628         * insetexternal.C:
3629         * insetert.C:
3630         * insetbib.C: #include "lyxlex.h"
3631
3632         * insetinclude.C:
3633         * insetfloat.C:
3634         * insetert.C:
3635         * insetbib.C:
3636         * insettext.C: use BufferParams::getLyXTextClass
3637
3638
3639         * insetfloat.C (addToToc): new method. Add to toclist the entries
3640         corresponding to Caption layouts
3641         (InsetFloat): when creating a new float, set the layout to "Caption"
3642
3643 2002-07-21  Herbert Voss  <voss@lyx.org>
3644
3645         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3646         image relevant part into graphics/GraphicsImgae.C
3647
3648 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3649
3650         * insettoc.C (ascii):
3651         * insetfloatlist.C (ascii): change to use the new Toc functions
3652         instead of stuff that was in Buffer
3653
3654 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3655
3656         * insettext.C (localDispatch): BufferView::Dispatch has been
3657         renamed to BufferView::dispatch
3658
3659 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3660
3661         * insetgraphicsParams.C (as_grfxParams): use the new
3662         keepLyXAspectRatio parameter. Note that this is an adaptation of a
3663         1.2.0 patch, and I do not really know how to adapt it to the new
3664         grfx::Cache world. Angus, please could you have a look?
3665
3666 2002-05-01  Herbert Voss  <voss@lyx.org>
3667
3668         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3669
3670 2002-07-18  Angus Leeming  <leeming@lyx.org>
3671
3672         * insetgraphics.C: clean-up comments (from Herbert).
3673         add a new checksum variable to the cache. Use it in PrepareFile.
3674         (draw): start monitoring the file for a change.
3675         (prepareFile): re-arrange a little to avoid unnecessary steps.
3676
3677 2002-07-17  Angus Leeming  <leeming@lyx.org>
3678
3679         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3680         a method rather than to the signal directly.
3681
3682 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
3683
3684         * insettext.C: use view_state_changed, switchKeyMap
3685
3686 2002-07-17  Herbert Voss  <voss@perce.de>
3687
3688         * insetgraphics.C (prepareFile): keep the extension when
3689         exporting to nice file
3690
3691 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3692
3693         * insetcite.C (getNatbibLabel):
3694         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3695
3696 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
3697
3698         * insetgraphics.C: use ->isDrawable()
3699
3700 2002-07-12  Angus Leeming  <leeming@lyx.org>
3701
3702         * insetgraphics.C: use the new smart loading capabilities of the image
3703         loader.
3704
3705 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
3706
3707         * insettabular.C (edit): Move into correct cell when entering a
3708         tabular in
3709
3710         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3711         RTL paragraphs.
3712
3713 2002-07-05  Angus Leeming  <leeming@lyx.org>
3714
3715         * inset.h (generatePreview): new virtual method.
3716
3717 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3718
3719         * insetcommandparams.[Ch] (operator=): move out of class
3720         (operator!): move out of class
3721
3722 2002-07-04  André Pönitz <poenitz@gmx.net>
3723
3724         * insetcommandparams.[Ch]: new files
3725
3726         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3727
3728 2002-06-15  Herbert Voss  <voss@perce.de>
3729
3730         * insetgraphics.C (prepareFile): bugfix; return always
3731         files without extension
3732
3733 2002-06-28  Angus Leeming  <leeming@lyx.org>
3734
3735         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3736         rename asGParams -> as_grfxParams.
3737
3738         * insetgraphics.C: reflect above change.
3739
3740 2002-06-26  Angus Leeming  <leeming@lyx.org>
3741
3742         * insetgraphics.h: use boost::scoped_ptr in preference to
3743         std::auto_ptr.
3744
3745 2002-06-26  Angus Leeming  <leeming@lyx.org>
3746
3747         * insetgraphics.C: moved the image loading stuff into a new class
3748         grfx::Loader. Simplifies this file enormously.
3749
3750         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3751
3752         * insetgraphicsParams.C: changes aassociated with moving
3753         grfx::DisplayType out of grfx::GParams.
3754
3755 2002-06-26  André Pönitz <poenitz@gmx.net>
3756
3757         * insetgraphics.C: use os::external_path where necesaary according to a
3758         patch from Claus Hentschel)
3759
3760 2002-06-25  Angus Leeming  <leeming@lyx.org>
3761
3762         * insetgraphics.[Ch]: The inset now assumes the responsibility for
3763         generating a pixmap once the graphics file is loaded into memory.
3764         The current_view ugliness that was in grfx::ModifiedImage has been
3765         moved here now that grfx::ModifiedImage is no more.
3766
3767 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3768
3769         * insettext.C: layout as layout
3770
3771 2002-05-28  André Pönitz <poenitz@gmx.net>
3772
3773         * insetfloatlist.h: remove source of compiler warning
3774
3775         * insetref.C: tiny whitespace
3776
3777 2002-06-15  Herbert Voss  <voss@perce.de>
3778
3779         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3780         and take always convert when no userdefined converter was
3781         found
3782         (latex) small changes in the lyxerr output
3783
3784 2002-06-15  LyX Development team <lyx@rilke>
3785
3786         * inset*.[Ch] (docbook): Added new argument to take the pernicious
3787         mixed content. Small white spaces clean.
3788
3789 2002-06-14  Angus Leeming  <leeming@lyx.org>
3790
3791         * inseetexternal.C: remove the using std::difftime declaration.
3792
3793 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
3794
3795         * insetquotes.C: change lyxfont::draw to font_metrics::draw
3796
3797 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
3798
3799         * insetquotes.C (draw): fix drawing of double quotes
3800
3801 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3802
3803         * insettabular.C: s/scrollCB/scrollDocView/
3804
3805 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3806
3807         * insettext.C: change of topCursorVisible()
3808           prototype
3809
3810 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3811
3812         * insettext.h:
3813         * insettext.C: rename/change of LyXScreen
3814
3815 2002-06-07  Angus Leeming  <leeming@lyx.org>
3816
3817         Fixes needed to compile with Compaq cxx 6.5.
3818         * insetexternal.C:
3819         all c-library variables have been moved into namespace std.
3820         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3821
3822 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3823
3824         * insetinclude.C (uniqueID):
3825         * insetgraphics.C (uniqueID): renamed from unique_id, since this
3826         conflicted with some AIX headers.
3827
3828 2002-05-31  Juergen Vigna  <jug@sad.it>
3829
3830         * insetert.C (get_new_label): add '...' for multi-paragraph ert
3831         insets too
3832         (update) new method
3833
3834 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3835
3836         * insetexternal.C (clone): fix () bug when using new
3837         (updateExternal): don't only look for difftime in global scope
3838
3839 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3840
3841         * insettabular.C: add const
3842
3843 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3844
3845         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3846         file name, in case there are weird characters like ',' in there.
3847         (bug #407)
3848
3849 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3850
3851         * switch from SigC signals to boost::signals.
3852
3853 2002-05-28  André Pönitz <poenitz@gmx.net>
3854
3855         * insets/insetgraphicsParams.[Ch]:
3856           put in inset related stuff from src/graphic
3857
3858 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3859
3860         * inset.C:
3861         * inset.h:
3862         * insetbib.C:
3863         * insetbib.h:
3864         * insetcite.h:
3865         * insetcite.C:
3866         * insetcollapsable.C:
3867         * insetcollapsable.h:
3868         * inseterror.C:
3869         * inseterror.h:
3870         * insetert.C:
3871         * insetert.h:
3872         * insetexternal.C:
3873         * insetexternal.h:
3874         * insetfloatlist.C:
3875         * insetfloatlist.h:
3876         * insetgraphics.C:
3877         * insetgraphics.h:
3878         * insetinclude.C:
3879         * insetinclude.h:
3880         * insetindex.C:
3881         * insetindex.h:
3882         * insetlabel.C:
3883         * insetlabel.h:
3884         * insetparent.C:
3885         * insetparent.h:
3886         * insetref.C:
3887         * insetref.h:
3888         * insettabular.C:
3889         * insettabular.h:
3890         * insettext.C:
3891         * insettext.h:
3892         * insettoc.C:
3893         * insettoc.h:
3894         * inseturl.C:
3895         * inseturl.h: use mouse_state. Kill insetKeyPress
3896
3897 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3898
3899         * insetbib.C:
3900         * insetbutton.C:
3901         * insetcaption.C:
3902         * insetcollapsable.C:
3903         * inseterror.C:
3904         * insetgraphics.C:
3905         * insetlatexaccent.C:
3906         * insetquotes.C:
3907         * insetspecialchar.C:
3908         * insettabular.C:
3909         * insettext.C: name change for font metrics
3910
3911 2002-05-24  Juergen Vigna  <jug@sad.it>
3912
3913         * insetgraphics.h: include inset.h first (for LString.h)
3914
3915 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3916
3917         * insettext.C: screen moved
3918
3919 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3920
3921         * insetbib.C:
3922         * insetcite.C:
3923         * inseterror.C:
3924         * insetert.C:
3925         * insetexternal.C:
3926         * insetfloat.C:
3927         * insetfloatlist.C:
3928         * insetgraphics.C:
3929         * insetinclude.C:
3930         * insetindex.C:
3931         * insetminipage.C:
3932         * insetparent.C:
3933         * insetref.C:
3934         * insettabular.C:
3935         * insettext.C:
3936         * insettoc.C:
3937         * inseturl.C: LyXView moved into frontends/
3938
3939 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3940
3941         * inset.C:
3942         * insetbutton.C:
3943         * insetcaption.C:
3944         * insetcollapsable.C:
3945         * insetcommand.C:
3946         * inseterror.C:
3947         * insetgraphics.C:
3948         * insetgraphicsParams.C:
3949         * insetlatexaccent.C:
3950         * insetquotes.C:
3951         * insetspecialchar.C:
3952         * insettabular.C:
3953         * insettext.C: move Painter to frontends/
3954
3955 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3956
3957         * insettabular.h: use more specific smart_ptr header.
3958         * insettext.h: ditto
3959
3960         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3961         (draw): ditto
3962
3963 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3964
3965         * insettext.C: clear selection on paste (bug 393)
3966
3967 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3968
3969         * insettext.C (latex): Honor the moving_arg argument.
3970
3971 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3972
3973         * insetfoot.C (latex): if a footnote is in a title layout, then it
3974         is a \thanks. And then, its contents is a moving argument.
3975
3976 2002-05-14  Juergen Vigna  <jug@sad.it>
3977
3978         * insetcollapsable.C (InsetCollapsable): forgot to initialize
3979         first_after_edit.
3980
3981 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
3982
3983         * Insetcite.C (getNatbibLabel): don't disable natbib label support
3984         when using options "Full author list" or "Upper case".
3985
3986 2002-05-14  Herbert Voss  <voss@perce.de>
3987
3988         * insetgraphics.C (prepareFile): allow files with same name
3989         in different dirs
3990         (readFigInset): set the flags from old figinset in the right
3991         manner
3992         (findTargetFormat): more comments
3993
3994 2002-05-14  Juergen Vigna  <jug@sad.it>
3995
3996         * insettext.C (edit): tell checkAndActivateInset() that we don't
3997         have a button press.
3998         (checkAndActivateInset): if button < 0 we don't have a button press
3999         on the inset and os we won't call edit on it if it's not a Highly
4000         editable inset (then we have to enter it).
4001
4002 2002-05-13  Juergen Vigna  <jug@sad.it>
4003
4004         * insetcollapsable.C (insetButtonRelease): returned wrong return
4005         value.
4006
4007 2002-05-09  Juergen Vigna  <jug@sad.it>
4008
4009         * insetcollapsable.C (edit): first_after_edit should only be
4010         set to true if we enter this inset and it was collapsed so we
4011         open it up. This is needed to reclose it after a search/replace
4012         or spellcheck function opened it and was negative.
4013
4014 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
4015
4016         * insetfloat.C (latex): Return correct value.
4017
4018 2002-05-04  Herbert Voss  <voss@perce.de>
4019
4020         * InsetgraphicsParams.C (read): fix bug with WH
4021
4022 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
4023
4024         * insetfloat.C (latex): More sensible latex output
4025         (fix the problem with endfloat).
4026
4027 2002-05-02  José Matos  <jamatos@fep.up.pt>
4028
4029         * insetgraphics.C (validate): acess params as everyone else.
4030
4031 2002-05-03  Juergen Vigna  <jug@sad.it>
4032
4033         * insettabular.C (fitInsetCursor): recalculate the cursor position
4034         if I request it.
4035
4036 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
4037
4038         * InsetgraphicsParams.[Ch]: whitespace.
4039
4040 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
4041
4042         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4043         float type do not exist.
4044
4045 2002-04-28  Herbert Voss  <voss@perce.de>
4046
4047         * insetgraphics.C (latex): fix bug with missing file-extension.
4048         LaTeX still allows a missing "eps" or "ps".
4049
4050 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
4051
4052         * insetfloat.C (c-tor, wide): translate the name of the float.
4053
4054 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
4055
4056         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4057         when using natbib and make it work efficiently. Must emphasise that the
4058         real work is Herbert's.
4059
4060 2002-04-23  Herbert Voss  <voss@perce.de>
4061
4062         * insetgraphic.C (prepareFile): fix bug with overwriting and
4063         deleting an existing *.eps-file in the doc-dir
4064
4065 2002-04-23  Juergen Vigna  <jug@sad.it>
4066
4067         * insettabular.C (drawCellSelection): fix off by 1 error.
4068
4069 2002-04-22  Juergen Vigna  <jug@sad.it>
4070
4071         * insettabular.C (setFont): rewoke full selection if it was asked,
4072         after we changed all we had to change.
4073
4074         * insettext.C (insetUnlock): code was uninitialized in some situations.
4075
4076 2002-04-19  Herbert Voss  <voss@perce.de>
4077
4078         * insetgraphic.C (prepareFile): return filename without
4079         extension if we only export without compiling
4080
4081 2002-04-19  Juergen Vigna  <jug@sad.it>
4082
4083         * insettext.C (draw): call a fullRebreak on the row where we had a
4084         change and reset the cursor and selection-cursors.
4085
4086         * insettabular.C (insetUnlock):
4087         (insetButtonPress): call an update before setting the_locking_inset = 0
4088         as otherwise we don't repaint!
4089         (update): reset the cursor position when we changed dimensions as
4090         otherwise our cursor may be on the wrong spot.
4091
4092 2002-04-18  Juergen Vigna  <jug@sad.it>
4093
4094         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4095         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4096         redraw otherwise we won't redraw.
4097
4098         * insettext.C (draw): fixed the setting of LyXText::first_y it was
4099         not really right before, but I only discovered this with the last
4100         changes to Page up/down.
4101
4102 2002-04-17  Juergen Vigna  <jug@sad.it>
4103
4104         * insettext.C (checkAndActivateInset): simplified as we now have the
4105         edit(bv, bool) call.
4106
4107         * insettext.h: changed behind variables to front variables to be
4108         equal to the one in the edit call (as it is for that they are used).
4109
4110 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
4111
4112         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4113         not output anything at all!
4114
4115 2002-04-16  Juergen Vigna  <jug@sad.it>
4116
4117         * insettabular.C (insetButtonPress):
4118         (insetUnlock): call a redraw on unlocking the cell inset.
4119
4120         * insettext.C (insetButtonPress): same as below.
4121         (lockInset): new function to set initial values when inset should
4122         be locked.
4123         (insetButtonPress): use above function.
4124         (insetUnlock): don't force a repaint only set the updateStatus. The
4125         outside world should repaint if it thinks it should be done!
4126
4127         * insettabular.C (insetButtonPress): init values if not set as locked
4128         as we are locked if someone presses on us and don't call the edit()
4129         call of the InsetText to lock it do it as BufferView does it!
4130
4131         * inset.h (insetInInsetY): make func const and return an int.
4132         * insettext.C:
4133         * insettabular.C:
4134         * insetcollapsable.C: adapt the above changed function.
4135
4136 2002-04-15  Juergen Vigna  <jug@sad.it>
4137
4138         * insettext.C (getCursorPos): return relative position as to be able
4139         to give them directly to the edit() call.
4140         (edit): we have to set also x_fix as it is not set inside the
4141         setCursorFromCoordinates call!
4142         (insetMotionNotify): ditto.
4143
4144 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
4145
4146         * insetbib.C (getKeys): strip leading '\t's from the line too.
4147         With thanks to Henry Pfister <hpfister@ucsd.edu>.
4148
4149 2002-04-12  Juergen Vigna  <jug@sad.it>
4150
4151         * insettext.h: added cix() helper function and use it where appropriate
4152
4153 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4154
4155         * insetgraphics.C (prepareFile): fix bug when graphics is a
4156         relative path
4157
4158 2002-04-12  Juergen Vigna  <jug@sad.it>
4159
4160         * insettext.C (insertInset): remove unneeded code!
4161         (updateLocal): fitCursor() fixes.
4162         (collapseParagraphs): fix a possible problem when having a selection
4163         and collapsing the paragraphs.
4164
4165 2002-04-08  Herbert Voss  <voss@perce.de>
4166
4167         * insetgraphic.C (write): write the rotating angle as
4168         a float as is. test only for != 0.0
4169
4170 2002-04-11  Juergen Vigna  <jug@sad.it>
4171
4172         * insettext.C: new function ciy() and use it for setting inset_y.
4173
4174         * insetert.C (draw): fix the x return for collapsed version.
4175
4176 2002-04-07  Herbert Voss  <voss@perce.de>
4177
4178         * insetgraphic.C (readFigInset): fix bug with subcaption and
4179         rotating
4180
4181 2002-04-08  Herbert Voss  <voss@lyx.org>
4182
4183         * insetgraphicsparam.C: forgot special option and delete old
4184         1.2.0 stuff
4185
4186 2002-04-05  Juergen Vigna  <jug@sad.it>
4187
4188         * insettext.C (localDispatch): make a CURSOR update if we inserted
4189         a character.
4190
4191 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4192
4193         * insetfloatlist.C (getScreenLabel):
4194         (latex): use Floating::listName
4195         (validate): new method
4196
4197 2002-04-03  José Matos  <jamatos@fep.up.pt>
4198
4199         * insetlabel.C (docbook): the anchor is an empty element in docbook.
4200
4201         * insetfoot.[Ch] (docbook): added forgotten method.
4202
4203 2002-04-03  Juergen Vigna  <jug@sad.it>
4204
4205         * insettext.C (insetButtonPress): fix insetButtonPress events the same
4206         way as in Bufferview_pimpl.
4207
4208 2002-04-03  Allan Rae  <rae@lyx.org>
4209
4210         * insetgraphics.C (latex): one % too many makes living on the bleeding
4211         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4212
4213 2002-03-28  Herbert Voss  <voss@lyx.org>
4214
4215         * insetgraphic.C (latex): simplify the code for the latex
4216         output when the file doesn't exist
4217
4218 2002-03-29  Juergen Vigna  <jug@sad.it>
4219
4220         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4221         unlocking inset.
4222
4223         * insettabular.C (edit): call fitCursor().
4224
4225         * insettext.C (insetButtonPress): change behaviour of no_selection
4226         to the one in the BufferView selection_possible and fix the spurious
4227         selection bug with it.
4228         (localDispatch): revoke selection on BREAK... functions.
4229
4230 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4231
4232         * insetfloatlist.C (getScreenLabel): translate the GUI label.
4233
4234 2002-03-28  Juergen Vigna  <jug@sad.it>
4235
4236         * insettabular.C (insetAllowed): return true as default value otherwise
4237         we're not able to insert insets inside paragraphs of an not locked
4238         insettext!
4239
4240 2002-03-27  Herbert Voss  <voss@lyx.org>
4241
4242         * insetgraphicsparam.C: change c%, p% to col%, page%
4243
4244 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4245
4246         * insetspecialchar.C (isLineSeparator): disable the nice code to
4247         allow linebreaks after hyphenation and menu separators.
4248
4249 2002-03-26  Herbert Voss  <voss@lyx.org>
4250
4251         * insetgraphics.C (figinsetRead): set the right lyxview
4252
4253 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
4254
4255         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4256         $\backslash$ and pass a "string const &" to the function.
4257         (prepareFile, latex): use Path rather than MakeAbsPath.
4258
4259 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
4260
4261         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4262         proper fix to the graphics cache.
4263         (latex): "really" nice output if the file is not found ;-)
4264
4265 2002-03-26  Juergen Vigna  <jug@sad.it>
4266
4267         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4268         (collapseParagraphs): fixed inserting of separator ' '
4269
4270         * insettabular.C (insertAsciiString): only check for buffer lenght
4271         not if we have \t or \n inside the buffer as if we don't have we only
4272         have 1 cell and that's it!
4273
4274         * insetert.C (close): don't collapse if inlined.
4275
4276 2002-03-25  Herbert Voss  <voss@lyx.org>
4277
4278         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4279         graphics file does not exist.
4280
4281 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
4282
4283         * insetgraphics.C (prepareFile): ensure that the file has an absolute
4284         path when preparing export.
4285
4286         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4287         no longer MakeRelPath.
4288
4289 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
4290
4291         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4292         Used to determine the absolute path to the graphics file in the
4293         graphics cache and only in the graphics cache.
4294         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4295         make graphics file name absolute if it is stored as a relative path.
4296
4297         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4298         make graphics file name absolute if it is stored as a relative path.
4299
4300         * insettext.C (edit): emit an updateParagraph signal on entering a text
4301         inset. Needs to be emitted when leaving the inset also.
4302
4303 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4304
4305         * all files: ws cleanup
4306
4307         * Makefile.am: remove ld -r stuff
4308
4309 2002-03-21  Juergen Vigna  <jug@sad.it>
4310
4311         * insettext.C (appendParagraphs): new function added to append
4312         the paragraphs to this insets paragraphs.
4313
4314 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4315
4316         * Makefile.am: special rules if partial linking
4317
4318 2002-03-19  Juergen Vigna  <jug@sad.it>
4319
4320         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4321
4322 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
4323
4324         * insetgraphics.C: Clean up Baruch's comments a little.
4325         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4326
4327 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
4328
4329         * insettabular.C:
4330         * insettheorem.C: wrap warnings
4331
4332         * insetgraphics.C: improve messages, move cached_status_
4333           setting to safer place
4334
4335 2002-03-18  Juergen Vigna  <jug@sad.it>
4336
4337         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4338         calls.
4339         (localDispatch): ditto
4340
4341         * insettext.C (edit): removed unneeded showCursor calls.
4342         (localDispatch): ditto.
4343
4344 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4345
4346         * insetgraphics.h: remove display() method.
4347
4348 2002-03-11  Juergen Vigna  <jug@sad.it>
4349
4350         * insetgraphics.C (draw): hack to fix the redrawing bug.
4351         (draw): seems this fixes #268 (force redraw of row if we changed).
4352
4353         * insettext.C (updateInsetInInset): fixed for updates in insets inside
4354         this inset text (don't know why I missed this earlier).
4355
4356 2002-03-08  Juergen Vigna  <jug@sad.it>
4357
4358         * insettabular.C (updateLocal): do a FULL update if we're not locked
4359         and only a CELL update is asked.
4360
4361         * insettext.C (updateInsetInInset): update insets inside inset also
4362         if it isn't inside the_locking_inset.
4363
4364         * insettabular.C (updateInsetInInset): ditto.
4365
4366 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4367
4368         * insetexternal.C (doSubstitution): check whether we are using a
4369         temp dir for defining $$FPath
4370
4371 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
4372
4373         * insettabular.C:
4374         * insettext.C: remove #include "WorkArea.h".
4375
4376 2002-03-06  Juergen Vigna  <jug@sad.it>
4377
4378         * insettext.C (draw): fixed frame redrawing.
4379         (clear): forgot to set the inset_owner of the paragraph.
4380
4381         * insetert.C (status): pay attention the bv can be 0 here!
4382         (getMaxWidth): add the default leftMargin
4383
4384 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4385
4386         * insetert.C (getMaxWidth): make w unsigned int.
4387
4388 2002-03-05  Juergen Vigna  <jug@sad.it>
4389
4390         * insetert.C (status): change behaviour of Inlined.
4391         (getMaxWidth): added for new inlined behaviour.
4392
4393 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4394
4395         * insetnote.h (linuxdoc, docbook): add empty methods.
4396         * insetinclude.C (validate): fix a case where buffer->niceFile was used
4397         before being initialized.
4398
4399 2002-03-05  Juergen Vigna  <jug@sad.it>
4400
4401         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4402         only that one in the inset. Should be enough.
4403         (updateLocal): set the selection cursor always if we don't have a
4404         selection to be sure it's set!
4405
4406         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4407
4408 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4409
4410         * insettext.C (clear): a gross hack to set layout on a newly
4411         created paragraph.
4412
4413 2002-03-04  Juergen Vigna  <jug@sad.it>
4414
4415         * insettabular.C (localDispatch): inserted handling of
4416         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4417         (insertAsciiString): new helper function.
4418
4419 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4420
4421         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4422         argument.
4423
4424 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4425
4426         * insettext.C (InsetText): initalize newly created par with
4427         default layout. add bufferparams parameter
4428         first -> first_y
4429
4430         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4431         * insetcollapsable.[Ch] (InsetCollapsable): ditto
4432         * insetert.[Ch] (InsetERT): ditto
4433         * insetfloat.[Ch] (InsetFloat): ditto
4434         * insetfoot.[Ch] (InsetFoot): ditto
4435         * insetfootlike.[Ch] (InsetFootLike): ditto
4436         * insetmarginal.[Ch] (InsetMarginal): ditto
4437         * insetminipage.[Ch] (InsetMinipage): ditto
4438         * insetnote.[Ch] (InsetNote): ditto
4439         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4440
4441 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4442
4443         * insettext.C: layout as string
4444
4445         * insetinclude.C: layout as string
4446
4447         * insetert.C: layout as string
4448
4449         * insetbib.C: layout as string
4450
4451 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4452
4453         * insetert.C:
4454         * insettabular.C: remove #include "lyx_gui_misc.h".
4455
4456 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4457
4458         * Makefile.am:
4459         * figinset.h:
4460         * figinset.C:
4461         * inset.h: remove figinset, yahoo !
4462
4463 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4464
4465         * insetgraphics.C (c-tors): initialise parent classes explicitly in
4466         copy c-tor and initialise member variables in the correct order.
4467
4468 2002-02-28  Juergen Vigna  <jug@sad.it>
4469
4470         * insettabular.C (localDispatch): clear selection on PgUp/Down.
4471
4472 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4473
4474         * inset.h: ... and add a better one here.
4475
4476         * insetcommand.C (insetButtonRelease): remove that one which was a
4477         bit broken...
4478
4479 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4480
4481         * insetcommand.C (insetButtonRelease): ... and move it here.
4482
4483         * inseturl.h: remove insetButtonRelease from there...
4484
4485 2002-02-26  Juergen Vigna  <jug@sad.it>
4486
4487         * inseturl.h: Added a insetButtonRelease call returning true as
4488         prove of concept.
4489
4490         * insetlabel.C (edit): Fixed wrong update handling after change I
4491         leave in the wrong code for the one who wrote it to remove and have
4492         a look what he did wrong.
4493
4494         * insettabular.C (localDispatch): force a SELECTION update if we
4495         had a selection and we passed the event down to the inset (fix #213)
4496         (localDispatch): handle font changing stuff when we have a cell
4497         selection so that the selection is not rewoked. I don't really like
4498         this fix, but it's the only way I see to do it right now.
4499
4500 2002-02-22  Juergen Vigna  <jug@sad.it>
4501
4502         * insettext.C (insetUnlock): set the cursor to the second paragraph
4503         if available and if the first one is empty (fix #191).
4504
4505 2002-02-20  Juergen Vigna  <jug@sad.it>
4506
4507         * insettext.C (getDrawFont): implemented this function to call the
4508         one of the owner if present as the owner normally knows what to do
4509         with us.
4510
4511         * insetert.C: implement getDrawFont() function and comment out all
4512         the crap for setting a special latex font inside this inset.
4513         (InsetERT): added a Lanugage parameter to this constructor.
4514
4515         * inset.h: added function getDrawFont(LyXFont & font) to be able to
4516         change the font for being drawn on screen (used only in InsetERT for
4517         now).
4518
4519         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4520         and also above (was missing).
4521         (updateLocal): don't remove the cell selection if we have one this
4522         should be done where we really want to remove it.
4523
4524 2002-02-20  José Matos  <jamatos@fep.up.pt>
4525
4526         * insetinclude.h: include_label made string const.
4527
4528         * insetinclude.C (InsetInclude): moved include_label initialization.
4529         (linuxdoc):
4530         (docbook):
4531         (validate): fix support for temporary directory, for docbook and
4532         linuxdoc.
4533
4534         * insetgraphics.h : new private member, graphic_label, that holds
4535         the entity name that defines the graphics location (SGML).
4536
4537         * insetgraphics.C (unique_id): new function to give a unique label
4538         for graphic.
4539         (docbook):
4540         (validate): the file locatation is given by an entity reference.
4541
4542 2002-02-18  Herbert Voss  <voss@lyx.org>
4543
4544         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4545
4546 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
4547
4548         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4549         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4550
4551 2002-02-18  José Matos  <jamatos@fep.up.pt>
4552
4553         * insetinclude.C (validate): some code only applies to latex buffers,
4554         it was made conditional.
4555
4556 2002-02-12  Herbert Voss  <voss@lyx.org>
4557
4558         * insetgraphics.C: (prepareFile) do not check at this time
4559         if the file is present.
4560
4561 2002-02-12  Herbert Voss  <voss@lyx.org>
4562
4563         * insetgraphics.C: latex(), return the correct newlines
4564
4565 2002-02-13  José Matos  <jamatos@fep.up.pt>
4566
4567         * inseturl.C (docbook): escape & in url.
4568
4569 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4570
4571         * insetspecialchar.C (isLineSeparator): line breaking is allowed
4572         after HYPHENATION and MENU_SEPARATOR
4573
4574         * inset.h (isLineSeparator): new method, returns false by default.
4575
4576 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4577
4578         * insetert.C (status): do not update the text inset, but the ERT
4579         inset.
4580
4581 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
4582
4583         * insetnote.C: use notebg for background
4584
4585 2002-02-08  Herbert Voss  <voss@lyx.org>
4586
4587         * insetgraphic.C:
4588         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4589         prevent LyX from unzipping when this should be handled
4590         by latex vis the graphic.cfg.
4591         clean up the code
4592
4593 2002-02-08  Herbert Voss  <voss@lyx.org>
4594
4595         * insetgraphic.C: prepareFile(): fix bug when file doesn't
4596         exists, than return filename with extension
4597
4598 2002-02-06  Herbert Voss  <voss@lyx.org>
4599
4600         * insetgraphic.C: prepareFile(): don't convert the file, when
4601         it's not viewed in LyX. Saves a lot of time when opening a
4602         document!
4603
4604 2002-02-05  Herbert Voss  <voss@lyx.org>
4605
4606         * insetgraphic.C:
4607         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4608         and adding a rotate bool similiar to subcaption
4609
4610 2002-02-04  Herbert Voss  <voss@lyx.org>
4611
4612         * insetgraphic.C:
4613         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4614         similiar view to the LaTeX one. Get zipped files work.
4615
4616 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
4617
4618         * insetgraphicsParams.C (init): set display to DEFAULT.
4619         No longer #include "lyxrc.h".
4620
4621 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
4622
4623         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4624         for now (so that the code compiles).
4625
4626 2002-02-02  Herbert Voss  <voss@lyx.org>
4627
4628         * insetgraphic.C: delete inVariant() and some minor changes
4629         * insetgraphicsParams.[C]:
4630
4631 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
4632
4633         * insetgraphics.C (updateInset): if params.display == DEFAULT,
4634         interogate lyxrc.display_graphics before diaplaying the graphic.
4635
4636         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4637         InsetGraphicsParams::DisplayType.
4638
4639 2002-01-31  Herbert Voss  <voss@lyx.org>
4640
4641         * insetgraphic.C: (readfigInset) set display to pref-default
4642
4643 2002-01-30  Herbert Voss  <voss@lyx.org>
4644
4645         * insetgraphic.C: get the filetyp from it's contents
4646         * insetgraphicparams.C: add token scale and lyxrc.display when
4647         creating a new inset
4648
4649 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
4650
4651         * figinset.C: added using std::ios directive.
4652
4653 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4654
4655         * figinset.C (runqueue): open translation file in binary mode (for
4656         cygwin).
4657
4658 2002-01-27  Herbert Voss  <voss@lyx.org>
4659
4660         * insetgraphic.[Ch]: mostly newritten to support graphicx with
4661         all options and to be sure that the old figinsets are correct
4662         converted.
4663         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4664         structure and to support all lengths as LyXLength. The Parameter
4665         structure changed again, but reading of "old" 1.2 graphic insets
4666         is no problem.
4667
4668 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
4669
4670         * insetert.h (forceDefaultParagraphs): Added
4671
4672 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4673
4674         * insettabular.C (getMaxWidth):
4675         (forceDefaultParagraphs): use Tabular::GetCellFromInset
4676
4677 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4678
4679         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4680         of LyXLength::inPixels
4681
4682         * inset.C (latexTextWidth):
4683         * insetminipage.C (latexTextWidth): new method, which implements
4684         the equivalent of the LaTeX macro \textwidth
4685
4686         * insetminipage.C (getMaxWidth): use latexTextWidth
4687
4688 2002-01-18  Juergen Vigna  <jug@sad.it>
4689
4690         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4691
4692 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4693
4694         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4695
4696         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4697         instead of string
4698
4699 2002-01-17  Juergen Vigna  <jug@sad.it>
4700
4701         * insettabular.C (lockInsetInInset): same change as in insettext.
4702
4703         * insettext.C (draw): width() function was called without setting
4704         the right top_x which could lead to wrong insetWidth setting!
4705         (lockInsetInInset): call edit instead of calling lockInset if we
4706         have to lock an inset inside!
4707         (edit): we have to also tell the inset that we have to redraw the
4708         frame on an edit call if this inset draws a frame only if locked.
4709
4710 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4711
4712         * insetbib.C (getFiles): uncomment Path variable.
4713
4714 2002-01-16  Juergen Vigna  <jug@sad.it>
4715
4716         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4717         of wrong cell.
4718
4719 2002-01-16  Allan Rae  <rae@lyx.org>
4720
4721         * insetinclude.C (docbook): someone forgot a ";"
4722
4723 2002-01-16  José Matos  <jamatos@fep.up.pt>
4724
4725         * figinset.C (docbook): removed a old place holder "@".
4726         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4727         * insetinclude.C (linuxdoc): if include is verbatim, then export the
4728         ascii text version, clearly guarded inside a CDATA section.
4729         (docbook): in docbook 4, inlinegraphics is empty.
4730         * insettabular.C (linuxdoc): export the ascii version of the table
4731         inside a CDATA section.
4732
4733 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4734
4735         * insetparent.C (InsetParent):
4736         * insetgraphicsParams.C (Write):
4737         (Read):
4738         * insetgraphics.C (prepareFile):
4739         (readFigInset):
4740         (docbook):
4741         * insetexternal.C (executeCommand):
4742         (doSubstitution): use Buffer::filePath
4743
4744         * insetbib.C (getFiles): add a #warning for Angus
4745
4746         * insetgraphics.C: Add a remark about how filenames should be
4747         considered to be relative to buffer (but absolute is still allowed)
4748         (draw): do not try to get status if lyxrc.use_gui is false
4749
4750 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4751
4752         * inset.[Ch]:
4753         * insetcollapsable.[Ch]:
4754         * insettabular.[Ch] (searchForward, searchBackward): change the
4755         bool const & params to bool.
4756
4757         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4758         to avoid the name clash with InsetCollapsable's methods of the same
4759         names but different functionality.
4760
4761 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4762
4763         * insettext.C (ascii): use lyx::count rather than countChar.
4764
4765 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
4766
4767         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4768
4769 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4770
4771         * insetgraphics.C (updateInset): do not try to render image if
4772         lyxrc.use_gui is false (bug #104)
4773
4774         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4775         if file does not exist
4776
4777         * figinset.C (browseFile): add shortcuts to directory buttons
4778
4779         * insettext.C (updateLocal): update menubar and toolbar here too.
4780
4781 2002-01-13  Allan Rae  <rae@lyx.org>
4782
4783         * insettabular.C (InsetTabular): Both constructors now initialise
4784         all class variables.
4785
4786 2002-01-11  Juergen Vigna  <jug@sad.it>
4787
4788         * insettext.C (insetButtonPress): set the_locking_inset to 0.
4789
4790 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4791
4792         * insettabular.C (getStatus): add forgotten brace around multiline
4793         if statement.
4794
4795 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4796
4797         * insetfloat.C (validate): require "float" instead of "floats".
4798
4799 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
4800
4801         * insettabular.C (getStatus): use FuncStatus
4802
4803 2002-01-08  Juergen Vigna  <jug@sad.it>
4804
4805         * insettabular.C (insetButtonRelease): now this should work too
4806         correctly.
4807
4808         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4809         if the width is a percentage.
4810
4811         * inset.h: added isChar() function and implemented this for
4812         insetspecialchar insetquotes and insetlatexaccent.
4813         added forceDefaultParagraphs() and implemented it for insettabular.
4814
4815 2002-01-07  Juergen Vigna  <jug@sad.it>
4816
4817         * insettext.C (getLyXText): Fixed this function. An insert into the
4818         map is only done if we REALLY have a new BufferView.
4819
4820 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
4821
4822         * insettext.C: fix bug illustrated by attachment #37 of bug #59
4823
4824 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
4825
4826         * insetinclude.C: fix use of FileInfo
4827
4828 2002-01-07  Juergen Vigna  <jug@sad.it>
4829
4830         * insettabular.C (draw): fixed clearing of cell around inset.
4831
4832 2002-01-05  Juergen Vigna  <jug@sad.it>
4833
4834         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4835         variables are updated.
4836
4837         * insettabular.C (resetPos): set always the inset_y as it may be
4838         needed in another function.
4839         (searchBackward): don't draw while searching.
4840
4841 2002-01-04  Juergen Vigna  <jug@sad.it>
4842
4843         * insettext.C (lockInsetInInset): forgot to set a cursor.
4844
4845 2002-01-02  Juergen Vigna  <jug@sad.it>
4846
4847         * insettext.C (insertInset): make the correct undo informations on
4848         inserting new insets.
4849
4850 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
4851
4852         * insettabular.C: correct single-cell select vertically
4853
4854 2001-12-27  Juergen Vigna  <jug@sad.it>
4855
4856         * insettabular.C (ascii): export as tab-separated-values if the
4857         function was not called from export (f.ex.: clipboard).
4858
4859         * insetcollapsable.h: added default support for ascii, linuxdoc and
4860         docbook export (the insettext is exported by default!)
4861
4862         * insettabular.C (copySelection): suff the clipboard with the tabular
4863         data in a tab separated format, seems more naturals then with all the
4864         formating.
4865
4866 2001-12-24  Juergen Vigna  <jug@sad.it>
4867
4868         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4869         to check for REAL mouseMotion.
4870
4871 2001-12-20  Juergen Vigna  <jug@sad.it>
4872
4873         * inset.C (cursor): return the owners cursor if available instead of
4874         always only the bv->text->cursor.
4875
4876         * insettabular.C (checkLongtableSpecial): works now.
4877
4878 2001-12-19  Juergen Vigna  <jug@sad.it>
4879
4880         * insettabular.C (tabularFeatures): fix the row setting of ltt as
4881         this has to be always row + 1 as 0 means not selected!
4882         (checkLongtableSpecial): added
4883         (tabularFeatures): better longtable options support
4884
4885         * insettext.C (resizeLyXText): reinit the text always also on a
4886         empty insettext!
4887
4888 2001-12-18  Juergen Vigna  <jug@sad.it>
4889
4890         * insettext.C (updateInsetInInset): look if we have to autocollapse
4891         paragraps and return if the update is requested for ourself.
4892
4893         * insetert.C (status): update the insettext not myself as that is what
4894         we need.
4895
4896         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4897         function only return if the update was requested with myself.
4898
4899         * insettext.C (insetButtonPress): fixed stupid bug.
4900         (various functions): pay attention that lt is cleared BEFORE calling
4901         updateLocal() and try to use it in the right manner (don't use it
4902         if it's not really neccessary!)
4903         (collapseParagraphs): insert a blank between collapsing paragraphs
4904         if neccessary (not already there!).
4905
4906 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4907
4908         * insettabular.C: move includes around a bit, add a couple of
4909         consts.
4910
4911         * insettext.[Ch]: move includes around a bit, other ws changes and
4912         small stuff.
4913
4914 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4915
4916         * insettext.C (insetButtonRelease): fix compile problem
4917
4918 2001-12-17  Juergen Vigna  <jug@sad.it>
4919
4920         * insettext.C (insetButtonPress): set the selection cursor!
4921         (insetButtonPress): clear the selection (and set with that the
4922         selection.cursor) if we only hit an inset!
4923
4924         * insetert.C (read): removed piece of compatibility code only needed
4925         for 1.2.0.
4926
4927         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4928         can be opened.
4929
4930         * insetcollapsable.C (insetButtonRelease): changed so that it can
4931         open eventual existing popup dialogs on mousebutton==3.
4932
4933         * insetfloat.C (insetButtonRelease): removed not needed anymore!
4934
4935         * insetminipage.C (insetButtonRelease): removed not needed anymore!
4936
4937         * inset.C (insetButtonRelease): return a bool for telling the outer
4938         world that we opened a dialog.
4939
4940 2001-12-07  Juergen Vigna  <jug@sad.it>
4941
4942         * insettext.C (paragraph): remove the deleteing of paragraphs as
4943         it was a WRONG move!
4944
4945 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4946
4947         * insettabular.h:
4948         * insettabular.C: use new setSelection(). Allow
4949           selection of single cells.
4950
4951 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4952
4953         * insetquotes.C (latex): fix to use the local language setting at
4954         the point where the inset is inserted (different macros for
4955         different french packages)
4956
4957 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4958
4959         * inset.h: add par_owner_ member variable and parOwner
4960         setter/accessor.
4961
4962 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4963
4964         * insettabular.C (everywhere): adapt because widths are now real
4965         widths and not strings
4966
4967         * insettext.C (draw): re-introduce the calls to width(), ascent()
4968         and descent() to initialize the caching variables.
4969
4970 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4971
4972         * insettext.C (draw):
4973         (drawFrame): use insetWidth instead of last_width
4974
4975         * insettext.h: remove variable last_width (insetWidth is exactly
4976         the same) and last_height (computed but never used!)
4977
4978 2001-12-10  Allan Rae  <rae@lyx.org>
4979
4980         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4981
4982 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4983
4984         * insettext.C (insetAllowed): add comment
4985
4986 2001-12-05  Juergen Vigna  <jug@sad.it>
4987
4988         * insettext.C (insetAllowed): fixed for the case that we directly
4989         ask the insettext from its LyXText.
4990         (paragraph): fixed the crash when assigning the par->next() from
4991         the EmptyParagraphMechanism!
4992
4993 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4994
4995         * insetbib.C:
4996         * insettabular.C:
4997         * insettext.C: change "while(" to "while ("
4998
4999 2001-12-04  Juergen Vigna  <jug@sad.it>
5000
5001         * insetert.C (edit): handle Inlined status.
5002
5003         * insettext.C (insertInset): trying John's fix for the trailing cursor
5004
5005         * insetert.C (insetButtonPress): added to handle inlined status
5006         (insetMotionNotify): ditto.
5007
5008         * insettext.C (clearInset): changed Painter & in BufferView * param,
5009         to be able to call ascent,descent methods.
5010
5011 2001-12-03  Juergen Vigna  <jug@sad.it>
5012
5013         * insettext.C (updateInsetInInset): use lt variable to forbid
5014         changes of LyXText in an update call.
5015         (updateInsetInInset): fixed updating of non locked insets!
5016
5017 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
5018
5019         * insettabular.C: capture some more functions to prevent
5020         selection drawing problems. Bug #451274
5021
5022 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
5023
5024         * insetgraphics.C:
5025         * insetgraphicsParams.C: fix inverted sense of float_equal
5026
5027 2001-11-30  Juergen Vigna  <jug@sad.it>
5028
5029         * insettabular.C (InsetTabular): use the save_id flag to create also
5030         the tabular with the same id's.
5031
5032         * insettext.C (setParagraphData): added a same_id function for undo
5033         to set the same paragraph id's as of the paragraph we are setting.
5034
5035 2001-11-30  José Matos <jamatos@fep.up.pt>
5036
5037         * inseturl.[Ch]:
5038         * insettoc.[Ch]: DocBook -> docbook.
5039
5040 2001-11-29  André Pönitz <poenitz@gmx.net>
5041
5042         * inseterror.C:
5043         * insettext.C: further reduction of header dependencies by using
5044         lyx::layout_type and lyx::textclass_type from support/types.h
5045
5046 2001-11-29  Juergen Vigna  <jug@sad.it>
5047
5048         * insettext.C: inserted a reinitLyXText function everywhere I delete
5049         the paragraphs! This should fixe the crashes we had.
5050         Also use the new function firstRow() instead of getRowNearY(dummy_y)
5051         (paragraph): set the InsetOwner() of the new paragraphs!
5052
5053 2001-11-28  André Pönitz <poenitz@gmx.net>
5054
5055         * insetnote.C: add pos initialization that I removed without
5056           knowing what I did.
5057
5058 2001-11-28  Juergen Vigna  <jug@sad.it>
5059
5060         * insettabular.C (resetPos): hack to not crash with infinite paints.
5061
5062         * insettabular.h: insert missing function allowSpellcheck()!
5063
5064         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5065
5066 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
5067
5068         * insetfloatlist.h:
5069         * insetfloatlist.C: derive from InsetCommand so gui can use it
5070           easily
5071
5072 2001-11-26  André Pönitz <poenitz@gmx.net>
5073
5074         * insettext.[Ch]:
5075         * insetert.C:
5076         * insetnote.C: reduce header dependencies, introduce type for
5077         positions
5078
5079 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
5080
5081         * various: update for Alert.h
5082
5083 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
5084
5085         * inset.h: fix comment
5086
5087         * insettext.C: use par->isInset()
5088
5089 2001-11-22  Allan Rae  <rae@lyx.org>
5090
5091         * insetcollapsable.h:
5092         * inset.h: Changes to checkInsertChar() behaviour.
5093         Now return value indicates whether chars can be inserted.
5094
5095 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
5096
5097         * various:  updated to use the new LaTeXFeatures
5098
5099 2001-11-14  José Matos  <jamatos@fep.up.pt>
5100
5101         * insetspecialchar.C (linuxdoc):
5102         (docbook): don't give a name to a unused variable.
5103
5104         * insettext.C (docbook): removed unused variable.
5105
5106 2001-11-13  Herbert Voss  <voss@perce.de>
5107
5108         * insetgraphic.C: fix scale bug
5109
5110 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5111
5112         * inset.h (isSpace):
5113         (isLetter): new virtual methods.
5114
5115         * insetspecialchar.C (isSpace):
5116         (isLetter): implement here.
5117
5118 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
5119
5120         * inset.h: new inline helpers
5121
5122         * insettext.C: use new helpers
5123
5124 2001-11-07  José Matos  <jamatos@fep.up.pt>
5125
5126         * insettext.C (docbook): full support for paragraphs inside insettext.
5127
5128 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
5129
5130         * insetindex.C: added header file for std::ostream.
5131
5132 2001-11-03  José Matos  <jamatos@fep.up.pt>
5133
5134         * insetindex.C: added using std::ostream that I forgot yesterday.
5135
5136 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
5137
5138         * insetindex.h (docbook):
5139         * insetindex.C (docbook): added support for docbook export.
5140
5141 2001-11-02  José Matos  <jamatos@fep.up.pt>
5142
5143         * insetcaption.C(docbook): added support for docbook export.
5144
5145 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
5146
5147         * insetexternal.C (updateExternal): Do not run update command if
5148         result file exists and is up to date.
5149
5150         * ExternalTemplate.C (readFormat): Support the updateresult token.
5151
5152 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
5153
5154         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5155         external_templates) to use the buffer->fileName() but only if
5156         previewing. Generating a TeX file should make FPath return
5157         "".
5158
5159 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
5160
5161         * insetert.h:
5162         * insetert.C: fix some problems
5163
5164 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
5165
5166         * insetexternal.C (doSubstitution): Added $$FPath token
5167         to list of usable substitutions in external inset templates.
5168
5169 2001-10-24  Juergen Vigna  <jug@sad.it>
5170
5171         * insettabular.C: use new ltType struct for setting longtable
5172         header and footers also new UNSET enums.
5173
5174 2001-10-24  José Matos  <jamatos@fep.up.pt>
5175
5176         * insettabular.C (linuxdoc): Now exports the ascii's table version.
5177         (docbook): If the table is not inside a float then wrap it inside
5178         <informaltable>...</informaltable>.
5179
5180 2001-10-23  José Matos  <jamatos@fep.up.pt>
5181
5182         * insetref.C (docbook): removed / terminator to conform SGML.
5183
5184         * insetspecialchar.C (linuxdoc):
5185         (docbook): Added support for special chars, more than ascii export.
5186
5187 2001-10-22  Juergen Vigna  <jug@sad.it>
5188
5189         * insettext.C (checkInsertChar): added for REALLY checking the
5190         font of the inserted char in the right inset!
5191
5192 2001-10-19  Juergen Vigna  <jug@sad.it>
5193
5194         * inset.h: added method allowSpellcheck() so that insets who do
5195         not have anything to spellcheck can tell and so they are over-jumped.
5196         Implemented for InsetText and co.
5197
5198 2001-10-18  Juergen Vigna  <jug@sad.it>
5199
5200         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5201
5202 2001-10-15  José Matos  <jamatos@fep.up.pt>
5203
5204         * insetert.C: allow export for docbook and linuxdoc
5205
5206 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
5207
5208         * insetquotes.C (dispString): handles latin3 and latin4 quotes
5209
5210 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5211
5212         * insetquotes.C (dispString): fix handling of latin9 quotes
5213
5214 2001-10-03  Juergen Vigna  <jug@sad.it>
5215
5216         * insetert.C: ditto
5217
5218         * insetcollapsable.C: change updateInset calls to not tell BV that
5219         we have changed status.
5220
5221 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5222
5223         * insettabular.C (deletable): make const
5224
5225 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
5226
5227         * insetert.C (latex): Fix the returned value
5228
5229 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
5230
5231         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5232         Returns string(), so nothing in an ERT inset is spellchecked.
5233
5234         * insetgraphics.C (draw): print the filename if not displaying the
5235         image.
5236         (width): make sure that the width and draw methods are consistent.
5237         (updateInset): don't even load the image into cache if not displaying
5238         it.
5239
5240 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
5241
5242         * various files (selectNextWord): renamed as
5243         selectNextWordToSpellcheck.
5244
5245         * insetgraphics.C (draw): remove the previous change. Right place
5246         is in imageLoaderXPM.C.
5247         (draw): don't display the image if params.display == NONE.
5248
5249 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
5250
5251         * figinset.C (runqueue):
5252         * insetgraphics.C (draw): set background colour of inset from
5253         background to the user-configurable graphicsbg.
5254
5255 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5256
5257         * insetquotes.C (InsetQuotes): when trying to decide the side of
5258         the quote, choose `left' only after a space or '('
5259
5260 2001-09-04  José Matos  <jamatos@fep.up.pt>
5261         * figinset.C
5262         * figinset.h
5263         * insetcaption.C
5264         * insetcaption.h
5265         * insetcollapsable.h
5266         * insetcommand.C
5267         * insetcommand.h
5268         * inseterror.h
5269         * insetert.C
5270         * insetert.h
5271         * insetexternal.C
5272         * insetexternal.h
5273         * insetfloat.C
5274         * insetfloat.h
5275         * insetfloatlist.h
5276         * insetgraphics.C
5277         * insetgraphics.h
5278         * inset.h
5279         * insetinclude.C
5280         * insetinclude.h
5281         * insetlabel.C
5282         * insetlabel.h
5283         * insetlatexaccent.C
5284         * insetlatexaccent.h
5285         * insetquotes.C
5286         * insetquotes.h
5287         * insetref.C
5288         * insetref.h
5289         * insetspecialchar.C
5290         * insetspecialchar.h
5291         * insettabular.C
5292         * insettabular.h
5293         * insettext.C
5294         * insettext.C (docbook): rename docBook method to docbook.
5295
5296 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
5297
5298         * inset.h (getFirstParagraph): New virtual method.
5299
5300 2001-08-20  Herbert Voss  <voss@perce.de>
5301         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5302         in the the bibtex-database-gui for inserting a line
5303         \addcontentsline...
5304
5305         If no style is given than there is no tex-output.
5306
5307 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
5308
5309         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5310         files as a vector.
5311         (getKeys): use it.
5312
5313 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5314
5315         * insetert.C (latex): Fix output for multiple paragraphs.
5316         (write): New code for writing paragraph data.
5317         (read): Set font after reading the inset.
5318         (localDispatch): Call set_latex_font() for more cases.
5319
5320         * insetnote.h: Add empty validate method.
5321         * insetert.h: Ditto
5322
5323         * insetnote.C (InsetNote): Set language to the language of the
5324         document.
5325
5326 2001-08-16  Juergen Vigna  <jug@sad.it>
5327
5328         * insettext.C: implemented the new FINISHED states.
5329
5330         * insettabular.C: ditto
5331
5332         * inset.h: added more FINISHED states for cursor right,up,down
5333
5334 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
5335
5336         * insetfloatlist.C: use "FloatName List"
5337
5338 2001-08-14  Juergen Vigna  <jug@sad.it>
5339
5340         * insetert.C (edit): forgot to set status_ in edit calls!
5341
5342 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
5343
5344         * insettext.C: Compilation fix
5345
5346 2001-08-13  Juergen Vigna  <jug@sad.it>
5347
5348         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5349
5350         * insetcollapsable.C (edit): don't recollapse an already open inset.
5351
5352         * insettext.C: fixed problem when reinitializing LyXText by not doing
5353         it while lt is in use and post this to the next possible time in
5354         getLyXText().
5355         (searchForward): fixed not unlocking of inset if nothing found.
5356         (edit): set cursor behind right (was set -1 pos).
5357
5358         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5359
5360         * insettabular.C (tabularFeatures): fixed fix where deleting the
5361         last row didn't get the right actcell!
5362
5363 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
5364
5365         * insettext.C (localDispatch): Change language only when the inset
5366         becomes empty.
5367
5368 2001-08-10  Juergen Vigna  <jug@sad.it>
5369
5370         * insettabular.C (selectNextWordInt): use the front using edit call.
5371
5372         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5373         the parameter overwrite class variable inset.
5374
5375         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5376
5377         * insettext.C (saveLyXTextState): check for invalid cursor-par.
5378         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5379
5380         * insettabular.C (calculate_dimensions_of_cells): let's try to call
5381         update only for fixed with cells.
5382         (resetPos): try to fix the lockup on spellchecking or s&r.
5383
5384         * insettext.C (update): comment this out as it seems first wrong
5385         and second not needed anymore!
5386         (some functions): call reinitLyXText() only in update() in all other
5387         positions set only need_update = INIT.
5388
5389 2001-08-08  Juergen Vigna  <jug@sad.it>
5390
5391         * insettabular.C (setPos): fixed wrong actrow < rows() check.
5392
5393         * insettext.C (insetUnlock): remove double-space on inset unlock.
5394
5395         * insetcollapsable.C (draw): fix returned x when label > inset-width.
5396
5397         * insettabular.C (update): fixed cursor positon after an insert.
5398         (insetAllowed): do not allow to insert insets when not inside the
5399         inset!
5400         (draw): clear below an inset too as it could have changed height.
5401
5402         * inset.C (getMaxWidth): fixed width for inset in inset.
5403
5404         * insettext.C (update): small fix.
5405
5406         * insettabular.C (tabularFeatures): added selection support to
5407         DELETE_ROW/DELETE_COLUMN.
5408
5409 2001-08-07  Juergen Vigna  <jug@sad.it>
5410
5411         * inset.C (getMaxWidth): recoded and all it's implementations!
5412
5413         * insettext.C (init,setParagraph+constructors): cleanups
5414         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5415         are new and I want do a save/restore of the cursor position which is
5416         not possible anymore.
5417
5418         * insetcollapsable.C (searchBackward): recollapse inset if not found.
5419         (searchBackward): ditto
5420         (selectNextWord): ditto
5421
5422 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
5423
5424         * insetlatexaccent.C (checkContents): Add some debug messages
5425
5426 2001-08-07  Juergen Vigna  <jug@sad.it>
5427
5428         * insetert.C (read): don't use InsetCollapsable::read as we don't
5429         write the collapsed status anymore only the status.
5430         (write): ditto.
5431
5432 2001-08-06  Juergen Vigna  <jug@sad.it>
5433
5434         * insetert.C (set_latex_font): use LyXText's setFont directly.
5435
5436         * insettext.C (drawFrame): fixed one time more the right position
5437         and size of the frame!
5438
5439         * insetert.C (~InsetERT): hide the dialog.
5440         (showInsetDialog): added implementation
5441         (open): ditto
5442         (close): ditto
5443         (status): new function for the status of the ERT inset (3-state).
5444         (write): output also the status of the inset for readback!
5445         (read): readback the status if available otherwise use collapsed_.
5446
5447         * insettext.C (edit): small fix of setting the position, which could
5448         have gone < 0.
5449
5450         * insetert.C (width): implement this function for inlined viewing.
5451         Added minimum width of 10 pixels!
5452
5453         * insetminipage.C (InsetMinipage): just change the colors a bit so
5454         that border/background is a bit more visible. We will remove this
5455         anyway for 1.2.0!
5456
5457         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5458         function for getting the important widths for drawing in various
5459         functions and in LyXText.
5460         (draw): fixed up a bit (frame drawing/clearing)
5461
5462 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5463
5464         * inset.C (convertFont): delete method. not used.
5465
5466 2001-08-03  Juergen Vigna  <jug@sad.it>
5467
5468         * insettext.C (setFont): don't call for a draw update if we're just
5469         changing the cursor font!
5470
5471 2001-08-02  Juergen Vigna  <jug@sad.it>
5472
5473         * insettext.C (draw): clear the background with the right color if
5474         needed. Update myself if x&max-width changed and return without doing
5475         anything. Let the update code handle the right stuff.
5476
5477         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5478         inside another inset.
5479
5480 2001-08-01  Juergen Vigna  <jug@sad.it>
5481
5482         * insetcollapsable.C (update): added an in_update bool so we avoid
5483         reentering.
5484
5485         * insettabular.C (update): added an in_update bool so we avoid
5486         reentering.
5487
5488         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5489         selection problem.
5490         (update): added an in_update bool so we avoid reentering.
5491
5492         * insettabular.C (localDispatch): clear col/row selection when doing
5493         something else inside an inset.
5494
5495         * insettext.C (getLyXText): fixed bug when requesting a recursive
5496         insettext!
5497
5498 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
5499
5500         * insetcite.C (latex): Paranoia check. Make sure that there is no
5501         whitespace between the citation keys.
5502
5503 2001-07-31  Juergen Vigna  <jug@sad.it>
5504
5505         * inset.h (nodraw): make the set function also const so that this
5506         can be called from inside other const functions.
5507
5508         * insetcollapsable.h: removed inline variable and moved it over
5509         to the only user InsetERT.
5510
5511         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5512         inset opening immediately therein lying insets dialogs!
5513
5514         * insetert.C (localDispatch): set the font also if we don't have any
5515         chars in this paragraph, otherwise if we delete all of em and start
5516         writing we have the wrong font.
5517         (inlined): added
5518         (draw): implemented for inline support
5519         (insetButtonRelease): ditto.
5520
5521 2001-07-30  Juergen Vigna  <jug@sad.it>
5522
5523         * insettext.C (reinitLyXText): new function to reinit the insets
5524         text after lot's of paragraph changes. Use this instead of the
5525         cache.clear() which is VERY dangerous.
5526
5527         * insetfloat.C (insetButtonRelease): we should only show the dialog
5528         if we press on the label otherwise we have problems to open mouse
5529         button 3 dialogs inside this float (f.ex. of a tabular!)
5530
5531 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5532
5533         * insetert.C: change back to "ERT"
5534
5535         * insetfloat.C: handliign of RMB on label added.
5536
5537 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5538
5539         * insetgraphicsParams.C: #include LOstream.h here.
5540
5541         * insetfoot.h: remove InsetFoot:: qualifier.
5542
5543 2001-07-29  Baruch Even  <baruch@lyx.org>
5544
5545         * ChangeLog: Hiding time travel evidence.
5546
5547         * insetgraphicsParams.h:
5548         * insetgraphicsParams.C:
5549         * insetgraphics.C: Added horizontal scale option, it actually scales both
5550         directions since it keeps image proportions.
5551
5552         * insetgraphics.C: Fixed EPS detection to be non-hacky.
5553
5554 2001-07-29  Baruch Even  <baruch@lyx.org>
5555
5556         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5557         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5558
5559         HACKY! Will need to add an EPS detection routine like old InsetFig does!
5560
5561 2001-07-29  Baruch Even  <baruch@lyx.org>
5562
5563         * insetgraphics.C: Added EPSI to be an alias of EPS.
5564
5565 2001-07-29  Baruch Even  <baruch@lyx.org>
5566
5567         * insetgraphics.C: Change GRAPHICS to Graphics.
5568         Changed image conversion rules (documented at the beginning of file).
5569
5570 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
5571
5572         * insetert.C (get_new_label): int -> Paragraph::size_type to get
5573         std::min working.
5574
5575         * insetgraphics.C: added a using std::endl directive.
5576
5577         * insetcommand.h (getScreenLabel): removed pure virtual function,
5578         as it duplicates that in InsetButton.
5579
5580         * insetbib.[Ch] (getScreenLabel):
5581         * insetbutton.[Ch] (getScreenLabel):
5582         * insetcite.[Ch] (getScreenLabel):
5583         * insetert.[Ch] (getScreenLabel):
5584         * insetexternal.[Ch] (getScreenLabel):
5585         * insetfloatlist.[Ch] (getScreenLabel):
5586         * insetinclude.[Ch] (getScreenLabel):
5587         * insetindex.[Ch] (getScreenLabel):
5588         * insetlabel.h (getScreenLabel):
5589         * insetparent.[Ch] (getScreenLabel):
5590         * insetref.[Ch] (getScreenLabel):
5591         * insettoc.[Ch] (getScreenLabel):
5592         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5593
5594         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5595         the label.
5596         (validate): remove check on "cite" when using natbib.
5597
5598 2001-07-26  Baruch Even  <baruch@lyx.org>
5599
5600         * insetgraphics.C (draw): changed casting to be in one place rather than
5601         all over the function.
5602
5603         * insetgraphics.h:
5604         * insetgraphics.C (read): Added compatibility reads of InsetFig.
5605
5606         * insetgraphicsParams.h:
5607         * insetgraphicsParams.C:
5608         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5609
5610 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5611
5612         * insetfoot.C (validate): Added method to ensure that the
5613         right bit of LaTeX is emitted.
5614
5615         * insetfoot.h: Added validate method to set the correct
5616         LaTeXFeatures bit for the special footnote code.
5617
5618 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5619
5620         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5621         quotes
5622
5623 2001-07-27  Juergen Vigna  <jug@sad.it>
5624
5625         * inset.h: remove not used font variable in parameter.
5626         removed checkInsertChar in UpdatableInset as it was equal to
5627         the one in Inset and so not needed.
5628
5629         * insetert.C (checkInsertChar): implementation of function
5630         checkInsertChar.
5631
5632         * inset.h: added new function checkInsertChar.
5633
5634         * various files: added c-tor and clone() function.
5635
5636         * insetcollapsable.h: removed clone function here as this should
5637         be only realized in REAL insets and added it to all collapsable
5638         insets! (with the copy-constructor).
5639
5640 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5641
5642         * insetminipage.C (read): handle missing parameters more gracefully
5643
5644         * insetcollapsable.C (read): handel missing collapsed more gracefully
5645
5646 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5647
5648         * insetfloat.C (read): handle missing parameters.
5649
5650         * insettext.C (read): handle old latex end_inset
5651
5652         * insetert.C (setButtonLabel): new method
5653         (init): use it, to set the dynamic label correctly
5654         (read): use it
5655
5656         * Makefile.am (EXTRA_DIST): add files that is not part or the
5657         binary here.
5658
5659         * insetcollapsable.h: remove autocollapsable (no users), remove
5660         draw_label, change_label_with_text and companion code. Remove args
5661         from some methods.
5662         * insetert.[Ch]: move here instead (only user)
5663
5664         * inset.h: rename private variable name to name_, make
5665         selectNextWord return a const string. make getInsetName return a
5666         string const &. Remove bool from open, add close.
5667
5668         * Makefile.am: don't compile insetlist, insetsection
5669         and insettheorem
5670
5671 2001-07-24  Juergen Vigna  <jug@sad.it>
5672
5673         * insetert.C (InsetERT): put init after the paragraph initialization,
5674         as otherwise we don't set the draw_label right.
5675
5676         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5677         insets with the mouse without having strange selections.
5678         (edit): if the inset was collapsed and we open it here then put the
5679         cursor always at the beginning of the inset.
5680         (get_new_label): 15 instead of 10 max chars in the label.
5681
5682         * insetert.C (localDispatch): added and handle various stuff we
5683         need to handle here (font setting on paragraph break, not permitted
5684         layout setting, etc.).
5685
5686         * inset.h: added default copy-consturctor and implemented this in
5687         various insets with the change to use this in the clone function!
5688
5689 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5690
5691         * insetminipage.C (InsetMinipage): set background color to red :)
5692
5693 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5694
5695         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5696         draw frame mode is LOCKED.
5697
5698         * insetcollapsable.C (edit):
5699         (insetButtonRelease): set update status to full when
5700         opening inset.
5701
5702         * insettext.C (clearInset):
5703         * insettabular.C (draw):
5704         * insetlatexaccent.C (draw): honor background color.
5705
5706         * inset.h: new member background_color_, initialized to
5707         LColor::inherit.
5708
5709         * inset.C (backgroundColor): new method.
5710         (setBackgroundColor): new method.
5711
5712         * insetert.C (init): new method, called by the ctors.
5713         (InsetERT): when inserting contents, make sure the font is
5714         ALL_INHERIT.
5715
5716         * insetnote.C (InsetNote): when inserting content, remove trailing
5717         newline
5718         (init): set background color to LColor::note
5719
5720 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5721
5722         * insetcollapsable.C: adjust
5723
5724         * insetbutton.C: adjust
5725
5726 2001-07-23  Juergen Vigna  <jug@sad.it>
5727
5728         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5729         parameter on the _collapsed function (was not needed) and call
5730         always width_collapsed().
5731
5732         * insetert.C (InsetERT): use setLabel with "true" flag.
5733
5734         * insetcollapsable.C: modified various functions to set the draw_label
5735         string right in any condition.
5736         (setLabel): added a bool parameter to set change_label_with_text.
5737
5738         * insetcollapsable.h: added draw_label string which is set to the
5739         actual drawn label-string, while label is the original static label
5740         of this collapsable inset. Added bool change_label_with_text to set
5741         if we want that the label changes to the start of the InsetText's
5742         text when collabpsed. You can set this flag with the setLabel funciton.
5743         Added bool inlined for inlined collapsable insets, but not handled
5744         yet.
5745
5746         * insetcollapsable.C (get_new_label): added should get a new label
5747         from the InsetText beginning (for now 10 chars).
5748
5749 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5750
5751         * insetquotes.C (latex): fix the handling of french double quotes
5752         when not using the french pachage.
5753
5754 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5755
5756         * insetcollapsable.h: make WidthCollapsed mutable.
5757
5758         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5759         InsetPrintIndex returns INDEX_PRINT_CODE.
5760
5761         * inset.h: add INDEX_PRINT_CODE
5762
5763         * insetcollapsable.C (draw): init widthCollapsed if necessary
5764         (width): ditto.
5765
5766         * insetquotes.C (width): use the local language, not the document
5767         language.
5768         (draw): ditto.
5769         (dispString): add additional spacing for all french languages,
5770         like fr_CA.
5771         (validate): make it work when there is no default language
5772
5773         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5774
5775         * insetnote.C (init): new method, called by the constructors
5776         (InsetNote): new constructor with contents passed as a string
5777
5778 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5779
5780         * insetfootlike.C (insetAllowed): disallow float in footlike.
5781
5782         * insetert.C (InsetERT): add collapsed argument to the constrctor
5783         with contents.
5784
5785 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5786
5787         * insetindex.h: shut off warning
5788
5789 2001-07-20  Juergen Vigna  <jug@sad.it>
5790
5791         * insetcollapsable.C (update): recoded hopefully works now!
5792
5793 2001-07-19  Juergen Vigna  <jug@sad.it>
5794
5795         * most files: implemented the below new introduced function.
5796
5797         * inset.h: added new edit(BufferView *, bool front) method to be able
5798         to enter an inset from the front/back without knowing x/y positions
5799         and baselines inside the inset. So I just can tell the inset activate
5800         me and set the cursor on the front/back of yourself.
5801
5802 2001-07-18  Juergen Vigna  <jug@sad.it>
5803
5804         * insetcollapsable.C (edit): fixed hopefully the y parameter which
5805         is given to the InsetText.
5806         (insetButtonPress): ditto
5807         (insetButtonRelease): ditto
5808         (insetMotionNotify): ditto
5809
5810 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5811
5812         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5813         LIGATURE_BREAK, since the name is so stupid.
5814
5815 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
5816
5817         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5818         the default InsetCollapsable methods. I.e., it can insert anything.
5819         (write) output the name of the inset, not some silly hack for
5820         compatability with the old InsetInfo.
5821
5822         * insetinfo.[Ch]: removed.
5823         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5824         now collapsable, but functionality is otherwise identical to InsetInfo.
5825
5826         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5827
5828 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5829
5830         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5831         reformatting
5832
5833         * insetquotes.C: general cleanup
5834         (dispString): add spaces inside french double quotes.
5835         (latex): ditto. Moreover, treat first the case where the frenchb
5836         or french options have been given.
5837
5838 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
5839
5840         * insetcite.[Ch] (latex, validate): new methods, required for natbib
5841         support.
5842
5843 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5844
5845         * figinset.C (RegisterFigure): Print debug message only when
5846         current_view is available.
5847
5848 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5849
5850         * many files: update to match the change below
5851
5852         * inset.h (insetAllowed): renamed from insertInsetAllowed;
5853         implement the version which takes an inset here.
5854
5855         * insetcollapsable.[Ch]: implement open and isOpen
5856
5857         * inset.h: remove insertInsetAllowed from Inset
5858         (open): new method, to open or close an inset
5859         (isOpen): returns the status of an inset
5860         (isCollapsable, colapse): removed
5861
5862 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5863
5864         * insetquotes.C (dispString): display french guillemets when using
5865         ISO8859-15.
5866
5867 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5868
5869         * insetcollapsable.h: remove bogus return statements
5870
5871 2001-07-18  Juergen Vigna  <jug@sad.it>
5872
5873         * insettabular.C (selectNextWord): fixed spellchecking for the
5874         first cell of a tabular (wasn't entered!)
5875         (getLyXText): changed to enter automatically insettext and return
5876         it's LyXText if we're locked.
5877
5878 2001-07-17  Juergen Vigna  <jug@sad.it>
5879
5880         * various files: implemented the below functions.
5881
5882         * inset.h: added functions
5883         - virtual string selectNextWord(BufferView *, float & value) const;
5884         - virtual void selectSelectedWord(BufferView *) { return; }
5885         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5886         needed for spellchecking correctly!
5887
5888 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5889
5890         * insetert.C (latex): write out all paragraphs.
5891
5892 2001-07-17  Baruch Even  <baruch@lyx.org>
5893
5894         * insetgraphics.C (draw): Removed unneeded casts.
5895
5896 2001-07-16  Juergen Vigna  <jug@sad.it>
5897
5898         * insettext.C (update): fixed small oversight (reset lt to 0).
5899
5900 2001-07-14  Baruch Even  <baruch@lyx.org>
5901
5902         * insetgraphics.h:
5903         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5904
5905 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
5906
5907         Consistent use of Lsstream.h:
5908         * figinset.C: removed using std::ostringstream directive.
5909
5910         * insetgraphics.C (createLatexOptions):
5911         * insetinclude.C (unique_id):
5912         std::ostringstream -> ostringstream.
5913         * insettext.C (localDispatch): std::istringstream -> istringstream.
5914
5915 2001-07-13  Juergen Vigna  <jug@sad.it>
5916
5917         * insetfloat.C (insertInsetAllowed): added missing const_cast.
5918
5919         * insetcollapsable.C (getLockingInset): ditto.
5920
5921 2001-07-12  Juergen Vigna  <jug@sad.it>
5922
5923         * insetcollapsable.h: added implementation of new function for
5924         collapsable status.
5925
5926         * various files: added implementation of new insertInsetAllowed-func
5927         and redone the function a bit more.
5928
5929         * inset.h: added isCollapsable(), bool collapsed(),
5930         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5931
5932         * insetfloat.C (insertInsetAllowed): make a bit more checks.
5933
5934         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5935         LyXText which is marked for removal while we're using it!
5936
5937         * insettext.h: added private LyXText * lt to use it to assure we are
5938         not deleting our LyXText while we're using it!
5939
5940 2001-07-11  Juergen Vigna  <jug@sad.it>
5941
5942         * insettext.C (insertInset): check if we are before the inset after
5943         inserting it! This check IS needed. Remove the Undo-Call as it is
5944         called in LyXText::insertInset!
5945
5946         * insettext.h: added struct InnerCache.
5947
5948         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5949         that we ONLY delete the LyXText in the getLyXText() routine. So we
5950         are sure we don't delete LyXText while someone is working with it!
5951
5952 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5953
5954         * insetexternal.C: (*it). -> it->
5955         * insettext.C: ditto
5956
5957 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5958
5959         * insetcollapsable.C (edit): always open collapsed insets (even if
5960         they are not autocollapsable)
5961
5962         * insetcommand.C (operator=): simplify.
5963
5964 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5965
5966         * insetert.C (latex): handle META_NEWLINE
5967
5968 2001-07-09  Juergen Vigna  <jug@sad.it>
5969
5970         * insetert.h: a normal InsetText can insert insets, but we won't.
5971
5972         * inset.h: return default "false" on insertInsetAllowed and implement
5973         this function where a returnvalue != "false" is needed.
5974
5975 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5976
5977         * insetert.C (InsetERT): new contructor
5978
5979 2001-07-06  Juergen Vigna  <jug@sad.it>
5980
5981         * a lot of files: added implementation of the below new functions
5982         and the change to clone(). Also the call of the new undo-functions
5983         where needed.
5984
5985         * inset.h: added an inset_id, added functions getParFromID,
5986         getInsetFromID, firstParagraph, cursor and id functions, added
5987         bool same_ids to clone function.
5988
5989 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5990
5991         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5992         of BufferView * and shared_ptr<LyXText>
5993
5994 2001-07-05  Juergen Vigna  <jug@sad.it>
5995
5996         * insettext.C (clear): deleted also the cache not only LyXText.
5997         (setParagraphData): ditto.
5998
5999 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6000
6001         * insetfloat.C (latex): let the specific placement take presedence
6002         if set, otherwise choose document placement if set, otherwise just
6003         use float default placement.
6004
6005 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6006
6007         * insettext.C (localDispatch): call CutAndPaste::'s static method
6008         directly.
6009
6010 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6011
6012         * insetbib.C: no meed to include forms.h here.
6013
6014 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
6015
6016         * insettext.C: added using std::make_pair directive.
6017
6018 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6019
6020         * insettext.C (getLyXText): avoid multiple lookups, and simplify
6021         slightly
6022         (deleteLyXText): ditto
6023         (resizeLyXText): ditto
6024
6025 2001-07-02  Juergen Vigna  <jug@sad.it>
6026
6027         * insettext.C (getLyXText): introduce a cache in getLyXText so that
6028         following calls are only returned the right pointer without the over
6029         head to search in the map.
6030         (various funcs): reset the cached_bview variable as this signs that
6031         the cache is not valid anymore.
6032
6033 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6034
6035         * insettabular.C (clone): do not copy the LyXTabular twice
6036
6037 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6038
6039         * insettext.h (TEXT): delete method
6040
6041 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6042
6043         * insetmarginal.C (latex):
6044         * insetfoot.C (latex): fix spacing of notes in LaTeX
6045
6046         * insettext.C (localDispatch): use .c_str() on istringstream
6047         constructor argument.
6048
6049 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
6050
6051         * insettoc.h:
6052         * insettoc.C:
6053         * inseturl.h:
6054         * inseturl.C: fix method names in these to begin
6055           with small char too, so they inherit
6056
6057 2001-06-28  Juergen Vigna  <jug@sad.it>
6058
6059         * insettext.C (setFont): fixed font settings using toggleFree()
6060         instead of setFont().
6061
6062 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6063
6064         * Change a lot of method names to begin with a small char.
6065         Changes to a lot of files because of this.
6066
6067 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6068
6069         * insetfloatlist.C (Write): std:: qualify ostream
6070         (Latex): ditto
6071
6072 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
6073
6074         * figinset.C:
6075         * inset.C:
6076         * insetgraphics.C: send debug output to Debug::INFO instead of
6077         Debug::ANY.
6078
6079 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
6080
6081         * insettabular.h:
6082         * insettabular.C (getStatus): update to use func_status
6083
6084 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
6085
6086         * insetref.C (DocBook): added support for cross-references without
6087         a name.
6088
6089 2001-06-26  The LyX Project  <jug@sad.it>
6090
6091         * insetref.C:
6092         * insetref.h:
6093         * insetlabel.C:
6094         * insetlabel.h: removed escape method and moved it to
6095         support/lstrings.h.
6096
6097 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6098
6099         * insettabular.C (getMaxWidth): do the speedup in a different way,
6100         remove dead code
6101
6102 2001-06-24  The LyX Project  <Asger>
6103
6104         * insettabular.C (getMaxWidth): We cache a mapping from
6105         inset to cell in order to speed this method up.
6106
6107 2001-06-24  The LyX Project  <Asger>
6108
6109         * insettext.C: Optimized InsetText::draw or something.
6110
6111 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
6112
6113         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6114
6115 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6116
6117         * inset.h: name change from lyxinset.h
6118
6119 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
6120
6121         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6122
6123 2001-06-14  Juergen Vigna  <jug@sad.it>
6124
6125         * insettext.C (draw): removed warnings.
6126
6127 2001-06-13  Juergen Vigna  <jug@sad.it>
6128
6129         * insettabular.C (nodraw): only go down the tree if we don't have
6130         that flag set otherwise it's obvious that we don't want to draw.
6131         (LocalDispatch): do also an update if we have an undispached result.
6132
6133 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
6134
6135         * insetcite.C:
6136         * insetgraphicsParams.C:
6137         * insettext.C: removed // -*- C++ -*- as first line.
6138
6139 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6140
6141         * lyxinset.h (resizeLyXText): shut off warning about unused
6142         parameter "force"
6143
6144 2001-06-07  Juergen Vigna  <jug@sad.it>
6145
6146         * insettext.C (resizeLyXText): honor the new force flag.
6147
6148         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6149
6150         * insettabular.C (deleteLyXText): new function
6151
6152 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
6153
6154         * insettheorem.C:
6155         * insetminipage.C:
6156         * insetlist.C:
6157         * insetfootlike.C:
6158         * insetfloat.C:
6159         * insetert.C:
6160         * insetcollapsable.C:
6161         * insetcaption.C: LColor tidy
6162
6163 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6164
6165         * figinset.C: fix typo
6166
6167 2001-06-01  Juergen Vigna  <jug@sad.it>
6168
6169         * insettabular.C (resetPos): small hack so that scroll is not set to
6170         0 when we are in the last column of a tabular. This is a problem we
6171         have because of constats 20 offset on both directions, so this can
6172         cause on the limit an endless loop.
6173
6174         * insettext.C (SetFont): forgot that we can have locking insets ;)
6175
6176 2001-05-31  Juergen Vigna  <jug@sad.it>
6177
6178         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6179
6180 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6181
6182         * figinset.C: add using std:: directive for the C functions which
6183         need that.
6184
6185 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6186
6187         * insetfloat.C (Write): write out wide info
6188         (Read): read the wide info
6189         (Latex): use the wide info when creating latex.
6190
6191         * insettext.C: adjust
6192
6193         * insetgraphics.[Ch] (statusMessage): change to return string
6194         (width): adjust
6195         (draw): adjust
6196
6197         * figinset.C (runqueue): add std::
6198         (Recompute): ditto
6199
6200 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6201
6202         * insetcite.C (Ascii): add std:: qualifier
6203
6204 2001-05-28  Juergen Vigna  <jug@sad.it>
6205
6206         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6207         a endless-width inset (maxWidth < 0).
6208         (Edit): change language only if not equal.
6209
6210         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6211
6212         * insettext.C (draw): fixed draw/clear of InsetText-Frame
6213
6214 2001-05-16  Juergen Vigna  <jug@sad.it>
6215
6216         * insettext.C (selectAll): added
6217         (clearSelection): added
6218
6219         * insettabular.C (SetFont): now we may set a font on a whole selection!
6220         (getSelection): added helper function.
6221
6222 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
6223
6224         * insetcite.C (Ascii): Add method.
6225
6226 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
6227
6228         * figinset.C:
6229         * insetbib.C: fix path for OS/2 & Win32
6230
6231 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6232
6233         * insetfoot.C (Latex): don't use % after footnote.
6234
6235 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6236
6237         * insettext.C (Read): use clear
6238         (SetParagraphData): use LyXParagraph copy constructor instead of clone
6239
6240 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * insetfloatlist.h: add a bunch of std:: qualifiers.
6243
6244 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6245
6246         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6247         FLOAT_LIST_CODE, renumber code list.
6248
6249         * insettoc.C (getScreenLabel): remove support for float lists
6250         (LyxCode): ditto
6251         (Ascii): ditto
6252
6253         * insetfloatlist.[Ch]: new files
6254
6255         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6256
6257 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
6258
6259         * insettabular.C (LocalDispatch):
6260         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6261         method
6262
6263 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6264
6265         * insettext.C: remvoe !NEW_INSETS cruft
6266
6267         * insettabular.C: remove !NEW_INSETS cruft
6268
6269         * insetcollapsable.h: remove !NEW_INSETS cruft
6270
6271         * insetbib.C: remove !NEW_INSETS cruft
6272
6273 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6274
6275         * insettoc.C: hack to make listof algorithm work
6276
6277 2001-04-20  Juergen Vigna  <jug@sad.it>
6278
6279         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6280
6281 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6282
6283         * insetquotes.C (Latex): improve the guard against
6284         unwanted !` and ?` ligatures. This should really be done in
6285         another place (to catch all this ligatures at low-level).
6286
6287 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6288
6289         * insettext.C (init): remvoe leftovers from cursor_visible change
6290         (draw): use c++ cast
6291         (LocalDispatch): dispatch LFUN_MESSAGE
6292
6293         * insettabular.C (InsetTabular): remove leftovers from
6294         cursor_visible, and scoped_ptr changes
6295         (draw): use c++ cast
6296
6297         * insetcollapsable.C (draw): use c++ cast
6298
6299         * ExternalTemplate.h: inherit privaely from noncopyable
6300         * insetcommand.h: ditto
6301         * insetinclude.h: ditto
6302
6303 2001-04-16  Allan Rae  <rae@lyx.org>
6304
6305         * insettoc.C (Ascii):
6306         * insettext.C (draw):
6307         * insettabular.C (setPos):
6308         * insetminipage.C (Read):
6309         * insetfloat.C (placement):
6310         * insetcaption.C (Ascii, DocBook):
6311         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6312         an unrecognised preprocessor directive.  So ensure they're wrapped.
6313
6314 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
6315
6316         * insetexternal.h:
6317         * insetexternal.C: set view on Clone. Add _ to private members.
6318
6319 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6320
6321         * insettext.C (InsetText): fix new
6322         (InsetText): reindent some, simplify deletion of par list
6323         (clear): simplify deletion of par list, fix new
6324         (SetParagraphData): simplify deletion of par list
6325
6326         * insettabular.[Ch] (getLabelList): implement new method
6327
6328 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6329
6330         * lyxinset.h: do not include gettext.h...
6331
6332         * inset.C:
6333         * insetcaption.C:
6334         * insetexternal.C:
6335         * insetgraphics.C:
6336         * insetindex.C:
6337         * insetlabel.C:
6338         * insetlatexaccent.C:
6339         * insetminipage.C:
6340         * insetquotes.C:
6341         * insettabular.C:
6342         * inseturl.C: ... and do it here instead
6343
6344 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6345
6346         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6347
6348         * insettext.[Ch] (getLabelList): add std:: on vector<string>
6349
6350         * insetcollapsable.[Ch] (getLabelList): implement
6351
6352         * insettext.[Ch] (getLabelList): implement
6353
6354         * insettext.h: reindent
6355
6356         * insettabular.h: make tabular a scoped_ptr
6357
6358         * insettext.C (init): adjust for cursor_visible
6359         (ToggleInsetCursor): constify asc and desc, font, adjust for
6360         cursor_visible
6361         (ShowInsetCursor): constify asc and desc, font, adjust for
6362         cursor_visible
6363         (HideInsetCursor): adjust for cursor_visible
6364
6365         * insettabular.C: reindent some
6366         (InsetTabular): adjust for scoped_ptr and cursor_visible
6367         (InsetTabular): ditto
6368         (~InsetTabular): delete delete
6369         (Clone): adjust for scoped_ptr
6370         (Read): constify old_format, adjust for scoped_ptr, move init of
6371         token
6372         (draw): constify tx, localize loop vars.
6373         some other localization of variables, remove double initilizatons.
6374
6375         * insetfoot.C: remove using std::ostream, add ostream where needed
6376
6377 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6378
6379         * lyxinset.h: some reindentaion, use initializer list for
6380         constructro.
6381         UpdatableInset: make cursor_visible a private var add
6382         public isCursorVisible(), add protected toggleCursorVisible() and
6383         proctected setCursorVisible(bool), make scroll call the Inset::scroll
6384
6385         * insettoc.C: remvoe using decl
6386         (getScreenLabel): make cmdname donst
6387         (LyxCode): ditto
6388         (Ascii): ditto
6389         (Ascii): don't use endl
6390
6391         * insetfootlike.C: remove using decl at file scope and add std::
6392         where needed
6393         * insetmarginal.C: ditto
6394
6395         * insetfoot.C: some reformatting
6396
6397         * insetfloat.C (InsetButtonRelease): adjust the hit area
6398
6399         * insetert.C (SetFont): some reformatting
6400
6401         * insetcollapsable.C: some reformatting and constification
6402         (Clone): comment out.
6403         * insetcollapsable.h: some reformatting
6404         (Clone): comment out.
6405
6406         * inset.C: reindent
6407         (scroll): simplify
6408
6409 2001-03-30  Juergen Vigna  <jug@sad.it>
6410
6411         * insetcollapsable.h: changen *inset to be a InsetText inset.
6412
6413         * some files: changed to reflect the above change.
6414
6415 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
6416
6417         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6418         InsetExternal::Params.
6419         Added operator==() and operator!=() for the Params struct.
6420
6421 2001-03-29  Juergen Vigna  <jug@sad.it>
6422
6423         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6424         BufferView *.
6425
6426         * insetminipage.C: removed widthp_ and all it's functions and changed
6427         to use new %-lengths of LyXLength.
6428
6429 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
6430
6431         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6432
6433 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
6434
6435         * insetgraphicsParams.C (operator!=): new function, needed by the
6436         ControlGraphics class.
6437
6438 2001-03-28  Juergen Vigna  <jug@sad.it>
6439
6440         * insettext.C (InsetButtonPress): only enter !inset if button == 2
6441         (checkAndActivateInset): don't use the values returned from
6442         call to bv->checkInsetHit.
6443
6444         * insetminipage.C (Clone): set special minipage values.
6445
6446         * insetcollapsable.C (draw): changed to draw the button in the
6447         upper left corner outside the textinset.
6448         (ascent): changed because of different drawing
6449         (descent): ditto
6450         (width): ditto
6451         (Edit): ditto
6452         (InsetButtonPress): ditto
6453         (InsetButtonRelease): ditto
6454         (InsetMotionNotify): ditto
6455
6456 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
6457
6458         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6459         contain a suffix.
6460         (Clone): ditto
6461
6462 2001-03-26  Juergen Vigna  <jug@sad.it>
6463
6464         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6465
6466         * insettext.C (ShowInsetDialog): implemented above function.
6467
6468         * insettabular.C (ShowInsetDialog): ditto
6469
6470         * insetminipage.C (ShowInsetDialog): ditto
6471
6472 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
6473
6474         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6475         InsetInclude::Params. Don't store a buffer * in Params. Store the
6476         master file name instead.
6477
6478 2001-03-23  Juergen Vigna  <jug@sad.it>
6479
6480         * insetcollapsable.C (InsetMotionNotify):
6481         (InsetButtonRelease):
6482         (InsetButtonPress): fixed y-offset (minipages).
6483
6484         * insettext.C (draw): force a FULL update if cleared == true.
6485
6486         * insetcollapsable.C (draw): Lars forgotten entry for changing this
6487         routine to draw the minipages on its position-flag.
6488         (InsetInInsetY): give back the right y position, because of minipage
6489         position-flag.
6490
6491 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
6492
6493         * insetfloat.h
6494         * insetfloat.C (DocBook): docbook export code.
6495
6496 2001-03-22  Juergen Vigna  <jug@sad.it>
6497
6498         * insetminipage.C (getMaxWidth): added function to set the drawing
6499         width!
6500         (Read): should work now!
6501
6502         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6503         if we create a new inset.
6504
6505 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
6506
6507         * figinset.C (fl_set_preemptive_callback): moved definition outside
6508         of namespace anon.
6509
6510 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6511
6512         * insetminipage.C (Read): prepare for reading of minipage arguments.
6513
6514 2001-03-18  Baruch Even  <baruch@lyx.org>
6515
6516         * insetgraphics.C: Minor cleanups of the comments and code.
6517
6518 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6519
6520         * insetminipage.C (InsetMinipage): default to not collapsed
6521
6522 2001-03-16  Juergen Vigna  <jug@sad.it>
6523
6524         * insetminipage.C (width): modified with to be a string
6525         (widthp): added widthp (for % width) support functions.
6526         (InsetButtonRelease): added to open the options dialog on button==3.
6527         (~InsetMinipage): added to hide the dialog.
6528
6529         * insetminipage.h: added hideDialog signal
6530
6531 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6532
6533         * insetminipage.h: change the order or Position to match
6534         LyXParagraph::MINIPAGE_ALIGNMENT
6535
6536         * several files: remvoe CXX_WORKING_NAMESPACES
6537
6538         * ExternalTemplate.h: noncopyable is in namespace boost
6539         * insetinclude.h: ditto
6540         * insetcommand.h: ditto
6541
6542 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
6543
6544         * insettext.C (Edit): #else# -> #else.
6545         * insettoc.C: added using directive.
6546
6547 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6548
6549         * insetminipage.h: add pos, inner_pos, width and height. + getters
6550         and setters for all of them.
6551
6552 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
6553
6554         * insetinclude.C (Latex): Do not exit when the textclass of the
6555         included file differ from the textclass of the parent file.
6556
6557 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
6558
6559         * ExternalTemplate.C (read): the reading of external insets now checks
6560         for \end_inset and removes it form the input stream.
6561
6562 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
6563
6564         * ExternalTemplate.h:
6565         * ExternalTemplate.C:
6566         * insetexternal.h:
6567         * insetexternal.C: move form to GUII
6568
6569 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
6570
6571         * insetinclude.h:
6572         * insetinclude.C: add InsetIncludeParams, use
6573         composition rather than derivation of InsetCommand
6574
6575 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6576
6577         * insettoc.C (Ascii): use the Buffer typedefs
6578
6579 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6580
6581         * insettoc.C (Ascii): implement for dynamic number of lists
6582
6583         * insetcaption.[Ch]: update from new_insets branch
6584         * insetfloat.[Ch]: ditto
6585
6586 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
6587
6588         * insetexternal.C:
6589         * figinset.C: use new File Dialog
6590
6591 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6592
6593         * insettext.C: changes becuase of ParagraphParameters.
6594
6595 2001-02-28  Baruch Even  <baruch@ev-en.org>
6596
6597         * insetgraphics.C (updateInset): Changed due to the change in
6598         GraphicsCache.
6599
6600 2001-02-26  Juergen Vigna  <jug@sad.it>
6601
6602         * insettext.C (SetFont): Set Undo only if we have selection (as it is
6603         handled in LyXText).
6604
6605 2001-02-23  Juergen Vigna  <jug@sad.it>
6606
6607         * insettext.C (draw): some small repainting fixes.
6608         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6609
6610         * inset.C (LocalDispatch): changed action to be a kb_action (as it
6611         should be) and not an int.
6612
6613         * insettabular.C (LocalDispatch): ditto
6614
6615         * insettext.C (LocalDispatch): ditto
6616
6617         * insetcollapsable.C (LocalDispatch): ditto
6618
6619 2001-02-22  Juergen Vigna  <jug@sad.it>
6620
6621         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6622         DISPATCH it and we don't have a locking_inset.
6623
6624 2001-02-21  Baruch Even  <baruch@ev-en.org>
6625
6626         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6627         instead of GraphicsCacheItem *.
6628
6629 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6630
6631         * insetcollapsable.C (getLyXText): add const qualifier to second
6632         parameter.
6633
6634 2001-02-22  Juergen Vigna  <jug@sad.it>
6635
6636         * insettext.C (getLyXText): honor the recursive parameter.
6637         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6638
6639         * inset.C (getLyXText): added bool recursive parameter.
6640
6641         * insettext.C (SetUpdateStatus): or the update codes.
6642         (draw): check need_update with &.
6643         (InsetButtonPress): set no_selection to not put a selection when
6644         entering an inset and it is redraws in another spot.
6645
6646         * insettext.h: made need_update an int.
6647
6648 2001-02-20  Baruch Even  <baruch@ev-en.org>
6649
6650         * insetgraphics.h:
6651         * insetgraphisc.C: Changed to use better semantics when loading images
6652         for inline view. Now it doesn't keep the pixmap itself but it's holder.
6653
6654 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
6655
6656         * insetcommand.h:
6657         * inseterror.h:
6658         * insetgraphics.C: change name of "hide" signal to "hideDialog",
6659         consistent with InsetTabular.
6660
6661 2001-02-19  Juergen Vigna  <jug@sad.it>
6662
6663         * insettabular.C (LocalDispatch): implement PAGE up/down.
6664
6665         * insettext.C (draw): clear all of it on need_update==INIT too!
6666
6667         * insettabular.C (InsetUnlock): always clear the selection.
6668
6669         * inset.C (scroll): normally we only want to scroll the inset until
6670         it is fully visible so if top_x + offset > 20 then just set scx to 0.
6671
6672 2001-02-14  Juergen Vigna  <jug@sad.it>
6673
6674         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6675         (resetPos): fixed scroll behaviour.
6676         (LocalDispatch): do an update if moving cursor inside a table cell
6677         requests a scroll of the tabular.
6678
6679 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6680
6681         * insettext.C (textWidth): constify local var
6682
6683         * insettabular.C: small cleanup.
6684
6685         * insetfoot.C (Latex): constify local var
6686
6687         * insetcollapsable.C: small cleanup.
6688
6689         * figinset.C (runqueue): use compare instead of strcmp
6690
6691 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
6692
6693         * insettext.C:
6694         * insetinfo.C: remove cruft
6695
6696 2001-02-14  Juergen Vigna  <jug@sad.it>
6697
6698         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6699
6700 2001-02-13  Juergen Vigna  <jug@sad.it>
6701
6702         * insettext.C (InsertInset): don't move left (is this right?)
6703
6704         * insettabular.C (LocalDispatch): use of the no_draw variable
6705
6706         * insettabular.h: new no_draw variable to stop redraw
6707
6708         * insettabular.C (TabularFeatures): fixed update for alignment change
6709
6710 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
6711
6712         * insetinclude.C:
6713         * insetbib.h:
6714         * insetbib.C: move dialogs to frontends/
6715
6716 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
6717
6718         * insettext.C (LocalDispatch): Restore the language if the inset
6719         becomes empty.
6720
6721 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
6722
6723         * insettext.C (moveRightIntern): Update the selection cursor.
6724         (moveLeftIntern): Ditto.
6725
6726 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6727
6728         * Makefile.am: remove BoundingBox.h
6729
6730         * BoundingBox.h: removed
6731
6732 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
6733
6734         * insettext.C (LocalDispatch): Update selection cursor when moving
6735         cursor to the right.
6736         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6737         (moveLeftIntern): Ditto.
6738
6739 2001-02-05  Baruch Even  <baruch.even@writeme.com>
6740
6741         * insetgraphics.C: Updated automatic image conversion, it now goes into
6742         temporary directory instead of with the image itself.
6743
6744 2001-01-21  Baruch Even  <baruch@ev-en.org>
6745
6746         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6747         to EPS or PNG when needed (support bitmap graphics).
6748
6749 2000-11-02  Baruch Even  <baruch@ev-en.org>
6750
6751         * insetgraphics.C:
6752         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6753         and removal of commented out code.
6754
6755 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
6756
6757         * insetbib.C (callback): Update citations if the key has changed.
6758
6759 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * insetbib.C (InsetBibKey): Better computation of default key.
6762         (getScreenLabel) Show both the key and the label.
6763         (getBibLabel): New method.
6764         (callback): Force a redraw if the inset have been changed.
6765
6766 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
6767
6768         * insetref.C (getType, getName): Move methods from
6769         src/frontends/xforms/FormRef.C.
6770
6771 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
6772
6773         * insettabular.C: Various improvements (use only one dummy position).
6774
6775 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6778         par->bibkey->width. This fixes the crashes when running without
6779         gui or when having included documents.
6780
6781 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
6782
6783         * insetcommand.C (getAsString, setFromString): Cleanup.
6784
6785 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
6786
6787         * insetref.C: Add the array InsetRef::types that contains
6788         information about all supported reference types.
6789
6790 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6791
6792         * lyxinset.h: remove trailing comma in enum.
6793
6794 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * insettext.C: kill LyXBell.