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