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