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