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