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