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