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