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