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