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