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