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