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