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