]> git.lyx.org Git - features.git/blob - src/insets/ChangeLog
fix typo
[features.git] / src / insets / ChangeLog
1 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * insettext.C: include <boost/bind.hpp>
4         add using std::for_each
5         (saveLyXTextState): use ParagraphsList::iterator
6         (init): use for_each on paragraphlist iterators
7         (InsetText): remove superflous setting cached_bview to 0
8         (latex): reformat a bit
9         (ascii): use paragraphlist iterators
10         (validate): use for_each + boost bind
11         (getLabelList): use paragraphlist iterators
12         (deleteLyXText): use for_each + boost::bind
13         (resizeLyXText): ditto
14         (reinitLyXText): ditto
15         (removeNewlines): use paragraphlist iterators
16         (getParFromID): ditto
17         (paragraph): use for_each + boost::bind
18         (getInsetFromID): use paragraphlist iterators
19         (getLabelList): typo fix
20
21 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
22
23         * insettext.C (read): assign tmp to paragraphs after return from
24         call to parseSingleLyXformat2Token
25
26
27 2002-08-13  Angus Leeming  <leeming@lyx.org>
28
29         * insetbib.C:
30         * insetcite.C:
31         * inseterror.C:
32         * insetert.C:
33         * insetexternal.C:
34         * insetfloat.C:
35         * insetfloatlist.C:
36         * insetgraphics.C:
37         * insetinclude.C:
38         * insetindex.C:
39         * insetminipage.C:
40         * insetparent.C:
41         * insetref.C:
42         * insettabular.C:
43         * insettext.C:
44         * insettoc.C:
45         * inseturl.C:
46         changes due to the changed LyXView interface that now returns references
47         to member variables not pointers.
48
49 2002-08-13  Angus Leeming  <leeming@lyx.org>
50
51         * inset.h:
52         * insetcollapsable.h:
53         * insetert.h:
54         * insettabular.h:
55         * insettext.h: forward-declare WordLangTuple
56         (selectNextWordToSpellcheck) constify return type.
57
58         * inset.C:
59         * insetcollapsable.C:
60         * insetert.C:
61         * insettabular.C:
62         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
63
64 2002-08-12  Angus Leeming  <leeming@lyx.org>
65
66         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
67
68 2002-08-12  Juergen Vigna  <jug@sad.it>
69
70         * insetcollapsable.C (edit): ignore if entered when pressing mouse
71         button 3.
72
73 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
74
75         * insetbib.C (bibitemMaxWidth): ParagraphList changes
76         (bibitemWidest): ditto
77         * insettext.[Ch]: ditto
78
79 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
80
81         * insettext.C, insetert.C: use Paragraph::empty where appropriate
82
83 2002-08-09  Angus Leeming  <leeming@lyx.org>
84
85         * insetinclude.C (latexString): remove fudge now that I've found out
86         how to enable LaTeX to find the file using input@path.
87
88 2002-08-09  John Levon  <levon@movementarian.org>
89
90         * insettext.h:
91         * insettext.C: remove unused xpos
92
93 2002-08-07  Juergen Vigna  <jug@lyx.org>
94
95         * insettabular.C (localDispatch): make delete not put the stuff
96         in the clipboard only do this on a cut operation.
97
98         * insettext.C (localDispatch): make delete and backspace not put
99         selected stuff to the clipboard.
100
101 2002-08-07  André Pönitz <poenitz@gmx.net>
102
103         * inset.[Ch]:
104         * insetcollapsable.[Ch]:
105         * insetert.[Ch]:
106         * insetparent.[Ch]:
107         * insetref.[Ch]:
108         * insettabular.[Ch]:
109         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
110
111 2002-08-06  John Levon  <levon@movementarian.org>
112
113         * inset.h:
114         * inset.C:
115         * insetcollapsable.h:
116         * insetcollapsable.C:
117         * insetert.h:
118         * insetert.C:
119         * insettabular.h:
120         * insettabular.C:
121         * insettext.h:
122         * insettext.C: use WordLangTuple for spellcheck
123
124 2002-08-06  Angus Leeming  <leeming@lyx.org>
125
126         * insetinclude.C: add a monitor to the previewed image, so that the
127         image is refreshed if the \input-ed file changes.
128
129 2002-08-04  John Levon  <levon@movementarian.org>
130
131         * inset.h:
132         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
133
134 2002-08-02  Angus Leeming  <leeming@lyx.org>
135
136         * insetcommandparams.[Ch] (preview): new methods returning and setting
137         a new bool preview_ flag.
138         (read): read this flag.
139         (operator==): add flag to check.
140
141         * insetinclude.C (write): output new preview() flag.
142         (previewWanted): use this flag.
143
144 2002-08-02  Angus Leeming  <leeming@lyx.org>
145
146         * insetcollapsable.[Ch] (addPreview):
147         * insettabular.[Ch] (addPreview):
148         * insettext.[Ch] (addPreview): new methods. Can now generate previews
149         for insets in insets.
150
151 2002-08-02  Angus Leeming  <leeming@lyx.org>
152
153         * insetcite.C: fix typo.
154
155         * insetgraphics.C: kill current_view and instead cache the BufferView
156         as a weak_ptr.
157
158         * insetinclude.C: kill current_view and pass the BufferView to the
159         PreviewedInset so that it can cache it.
160
161 2002-08-01  Angus Leeming  <leeming@lyx.org>
162
163         * inset.h (generatePreview): renamed as addPreview.
164         (generatePreview): new method. Allows code to be moved out of
165         math_nestinset.C and into the new PreviewedInset class.
166
167         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
168         add previews to the inset when \input-ing LaTeX.
169
170 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
171
172         * several files: strip,frontStrip -> trim,ltrim,rtrim
173
174 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
175
176         * insetbib.C (latex): modify because of strip changes
177         (getKeys): ditto
178         * insetnote.C (InsetNote): ditto
179
180 2002-07-26  Juergen Vigna  <jug@sad.it>
181
182         * insettabular.C (searchForward): check for lastcell if we
183         had a locking inset.
184
185 2002-07-25  Juergen Vigna  <jug@sad.it>
186
187         * insettabular.C (insetMotionNotify): Don't update the screen
188         if we didn't do nothing.
189         (searchForward): last cell was not checked.
190
191 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
192
193         * insetfloat.C (read, write): Allow default placement
194         (floatPlacement_ is empty).
195
196 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
197
198         * insetminipage.h (noFontChange):
199         * insettabular.h (noFontChange):
200         * insetfootlike.h (noFontChange):
201         * insetfloat.h (noFontChange): return true
202
203         * inset.h (noFontChange): new method, defaulting to false
204
205 2002-07-22  Herbert Voss  <voss@lyx.org>
206
207         * insetgraphicsParams.[Ch]: support size_type for old docs
208
209 2002-07-22  Herbert Voss  <voss@lyx.org>
210
211         * insetgraphics.C:
212         * insetgraphicsParams.[Ch]: change size_type to size_kind and
213         other small changes
214
215 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
216
217         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
218
219         * insetlatexaccent.h: do not include "lyxlex.h"
220
221         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
222
223         * insetquotes.C:
224         * insetlatexaccent.C:
225         * insetgraphics.C:
226         * insetexternal.C:
227         * insetert.C:
228         * insetbib.C: #include "lyxlex.h"
229
230         * insetinclude.C:
231         * insetfloat.C:
232         * insetert.C:
233         * insetbib.C:
234         * insettext.C: use BufferParams::getLyXTextClass
235
236
237         * insetfloat.C (addToToc): new method. Add to toclist the entries
238         corresponding to Caption layouts
239         (InsetFloat): when creating a new float, set the layout to "Caption"
240
241 2002-07-21  Herbert Voss  <voss@lyx.org>
242
243         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
244         image relevant part into graphics/GraphicsImgae.C
245
246 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
247
248         * insettoc.C (ascii):
249         * insetfloatlist.C (ascii): change to use the new Toc functions
250         instead of stuff that was in Buffer
251
252 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
253
254         * insettext.C (localDispatch): BufferView::Dispatch has been
255         renamed to BufferView::dispatch
256
257 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
258
259         * insetgraphicsParams.C (as_grfxParams): use the new
260         keepLyXAspectRatio parameter. Note that this is an adaptation of a
261         1.2.0 patch, and I do not really know how to adapt it to the new
262         grfx::Cache world. Angus, please could you have a look?
263
264 2002-05-01  Herbert Voss  <voss@lyx.org>
265
266         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
267
268 2002-07-18  Angus Leeming  <leeming@lyx.org>
269
270         * insetgraphics.C: clean-up comments (from Herbert).
271         add a new checksum variable to the cache. Use it in PrepareFile.
272         (draw): start monitoring the file for a change.
273         (prepareFile): re-arrange a little to avoid unnecessary steps.
274
275 2002-07-17  Angus Leeming  <leeming@lyx.org>
276
277         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
278         a method rather than to the signal directly.
279
280 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
281
282         * insettext.C: use view_state_changed, switchKeyMap
283
284 2002-07-17  Herbert Voss  <voss@perce.de>
285
286         * insetgraphics.C (prepareFile): keep the extension when
287         exporting to nice file
288
289 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
290
291         * insetcite.C (getNatbibLabel):
292         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
293
294 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
295
296         * insetgraphics.C: use ->isDrawable()
297
298 2002-07-12  Angus Leeming  <leeming@lyx.org>
299
300         * insetgraphics.C: use the new smart loading capabilities of the image
301         loader.
302
303 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
304
305         * insettabular.C (edit): Move into correct cell when entering a
306         tabular in
307
308         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
309         RTL paragraphs.
310
311 2002-07-05  Angus Leeming  <leeming@lyx.org>
312
313         * inset.h (generatePreview): new virtual method.
314
315 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
316
317         * insetcommandparams.[Ch] (operator=): move out of class
318         (operator!): move out of class
319
320 2002-07-04  André Pönitz <poenitz@gmx.net>
321
322         * insetcommandparams.[Ch]: new files
323
324         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
325
326 2002-06-15  Herbert Voss  <voss@perce.de>
327
328         * insetgraphics.C (prepareFile): bugfix; return always
329         files without extension
330
331 2002-06-28  Angus Leeming  <leeming@lyx.org>
332
333         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
334         rename asGParams -> as_grfxParams.
335
336         * insetgraphics.C: reflect above change.
337
338 2002-06-26  Angus Leeming  <leeming@lyx.org>
339
340         * insetgraphics.h: use boost::scoped_ptr in preference to
341         std::auto_ptr.
342
343 2002-06-26  Angus Leeming  <leeming@lyx.org>
344
345         * insetgraphics.C: moved the image loading stuff into a new class
346         grfx::Loader. Simplifies this file enormously.
347
348         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
349
350         * insetgraphicsParams.C: changes aassociated with moving
351         grfx::DisplayType out of grfx::GParams.
352
353 2002-06-26  André Pönitz <poenitz@gmx.net>
354
355         * insetgraphics.C: use os::external_path where necesaary according to a
356         patch from Claus Hentschel)
357
358 2002-06-25  Angus Leeming  <leeming@lyx.org>
359
360         * insetgraphics.[Ch]: The inset now assumes the responsibility for
361         generating a pixmap once the graphics file is loaded into memory.
362         The current_view ugliness that was in grfx::ModifiedImage has been
363         moved here now that grfx::ModifiedImage is no more.
364
365 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
366
367         * insettext.C: layout as layout
368
369 2002-05-28  André Pönitz <poenitz@gmx.net>
370
371         * insetfloatlist.h: remove source of compiler warning
372
373         * insetref.C: tiny whitespace
374
375 2002-06-15  Herbert Voss  <voss@perce.de>
376
377         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
378         and take always convert when no userdefined converter was
379         found
380         (latex) small changes in the lyxerr output
381
382 2002-06-15  LyX Development team <lyx@rilke>
383
384         * inset*.[Ch] (docbook): Added new argument to take the pernicious
385         mixed content. Small white spaces clean.
386
387 2002-06-14  Angus Leeming  <leeming@lyx.org>
388
389         * inseetexternal.C: remove the using std::difftime declaration.
390
391 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
392
393         * insetquotes.C: change lyxfont::draw to font_metrics::draw
394
395 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
396
397         * insetquotes.C (draw): fix drawing of double quotes
398
399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
400
401         * insettabular.C: s/scrollCB/scrollDocView/
402
403 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
404
405         * insettext.C: change of topCursorVisible()
406           prototype
407
408 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
409
410         * insettext.h:
411         * insettext.C: rename/change of LyXScreen
412
413 2002-06-07  Angus Leeming  <leeming@lyx.org>
414
415         Fixes needed to compile with Compaq cxx 6.5.
416         * insetexternal.C:
417         all c-library variables have been moved into namespace std.
418         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
419
420 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
421
422         * insetinclude.C (uniqueID):
423         * insetgraphics.C (uniqueID): renamed from unique_id, since this
424         conflicted with some AIX headers.
425
426 2002-05-31  Juergen Vigna  <jug@sad.it>
427
428         * insetert.C (get_new_label): add '...' for multi-paragraph ert
429         insets too
430         (update) new method
431
432 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
433
434         * insetexternal.C (clone): fix () bug when using new
435         (updateExternal): don't only look for difftime in global scope
436
437 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
438
439         * insettabular.C: add const
440
441 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
442
443         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
444         file name, in case there are weird characters like ',' in there.
445         (bug #407)
446
447 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
448
449         * switch from SigC signals to boost::signals.
450
451 2002-05-28  André Pönitz <poenitz@gmx.net>
452
453         * insets/insetgraphicsParams.[Ch]:
454           put in inset related stuff from src/graphic
455
456 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
457
458         * inset.C:
459         * inset.h:
460         * insetbib.C:
461         * insetbib.h:
462         * insetcite.h:
463         * insetcite.C:
464         * insetcollapsable.C:
465         * insetcollapsable.h:
466         * inseterror.C:
467         * inseterror.h:
468         * insetert.C:
469         * insetert.h:
470         * insetexternal.C:
471         * insetexternal.h:
472         * insetfloatlist.C:
473         * insetfloatlist.h:
474         * insetgraphics.C:
475         * insetgraphics.h:
476         * insetinclude.C:
477         * insetinclude.h:
478         * insetindex.C:
479         * insetindex.h:
480         * insetlabel.C:
481         * insetlabel.h:
482         * insetparent.C:
483         * insetparent.h:
484         * insetref.C:
485         * insetref.h:
486         * insettabular.C:
487         * insettabular.h:
488         * insettext.C:
489         * insettext.h:
490         * insettoc.C:
491         * insettoc.h:
492         * inseturl.C:
493         * inseturl.h: use mouse_state. Kill insetKeyPress
494
495 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
496
497         * insetbib.C:
498         * insetbutton.C:
499         * insetcaption.C:
500         * insetcollapsable.C:
501         * inseterror.C:
502         * insetgraphics.C:
503         * insetlatexaccent.C:
504         * insetquotes.C:
505         * insetspecialchar.C:
506         * insettabular.C:
507         * insettext.C: name change for font metrics
508
509 2002-05-24  Juergen Vigna  <jug@sad.it>
510
511         * insetgraphics.h: include inset.h first (for LString.h)
512
513 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
514
515         * insettext.C: screen moved
516
517 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
518
519         * insetbib.C:
520         * insetcite.C:
521         * inseterror.C:
522         * insetert.C:
523         * insetexternal.C:
524         * insetfloat.C:
525         * insetfloatlist.C:
526         * insetgraphics.C:
527         * insetinclude.C:
528         * insetindex.C:
529         * insetminipage.C:
530         * insetparent.C:
531         * insetref.C:
532         * insettabular.C:
533         * insettext.C:
534         * insettoc.C:
535         * inseturl.C: LyXView moved into frontends/
536
537 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
538
539         * inset.C:
540         * insetbutton.C:
541         * insetcaption.C:
542         * insetcollapsable.C:
543         * insetcommand.C:
544         * inseterror.C:
545         * insetgraphics.C:
546         * insetgraphicsParams.C:
547         * insetlatexaccent.C:
548         * insetquotes.C:
549         * insetspecialchar.C:
550         * insettabular.C:
551         * insettext.C: move Painter to frontends/
552
553 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
554
555         * insettabular.h: use more specific smart_ptr header.
556         * insettext.h: ditto
557
558         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
559         (draw): ditto
560
561 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
562
563         * insettext.C: clear selection on paste (bug 393)
564
565 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
566
567         * insettext.C (latex): Honor the moving_arg argument.
568
569 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
570
571         * insetfoot.C (latex): if a footnote is in a title layout, then it
572         is a \thanks. And then, its contents is a moving argument.
573
574 2002-05-14  Juergen Vigna  <jug@sad.it>
575
576         * insetcollapsable.C (InsetCollapsable): forgot to initialize
577         first_after_edit.
578
579 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
580
581         * Insetcite.C (getNatbibLabel): don't disable natbib label support
582         when using options "Full author list" or "Upper case".
583
584 2002-05-14  Herbert Voss  <voss@perce.de>
585
586         * insetgraphics.C (prepareFile): allow files with same name
587         in different dirs
588         (readFigInset): set the flags from old figinset in the right
589         manner
590         (findTargetFormat): more comments
591
592 2002-05-14  Juergen Vigna  <jug@sad.it>
593
594         * insettext.C (edit): tell checkAndActivateInset() that we don't
595         have a button press.
596         (checkAndActivateInset): if button < 0 we don't have a button press
597         on the inset and os we won't call edit on it if it's not a Highly
598         editable inset (then we have to enter it).
599
600 2002-05-13  Juergen Vigna  <jug@sad.it>
601
602         * insetcollapsable.C (insetButtonRelease): returned wrong return
603         value.
604
605 2002-05-09  Juergen Vigna  <jug@sad.it>
606
607         * insetcollapsable.C (edit): first_after_edit should only be
608         set to true if we enter this inset and it was collapsed so we
609         open it up. This is needed to reclose it after a search/replace
610         or spellcheck function opened it and was negative.
611
612 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
613
614         * insetfloat.C (latex): Return correct value.
615
616 2002-05-04  Herbert Voss  <voss@perce.de>
617
618         * InsetgraphicsParams.C (read): fix bug with WH
619
620 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
621
622         * insetfloat.C (latex): More sensible latex output
623         (fix the problem with endfloat).
624
625 2002-05-02  José Matos  <jamatos@fep.up.pt>
626
627         * insetgraphics.C (validate): acess params as everyone else.
628
629 2002-05-03  Juergen Vigna  <jug@sad.it>
630
631         * insettabular.C (fitInsetCursor): recalculate the cursor position
632         if I request it.
633
634 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
635
636         * InsetgraphicsParams.[Ch]: whitespace.
637
638 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
639
640         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
641         float type do not exist.
642
643 2002-04-28  Herbert Voss  <voss@perce.de>
644
645         * insetgraphics.C (latex): fix bug with missing file-extension.
646         LaTeX still allows a missing "eps" or "ps".
647
648 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
649
650         * insetfloat.C (c-tor, wide): translate the name of the float.
651
652 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
653
654         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
655         when using natbib and make it work efficiently. Must emphasise that the
656         real work is Herbert's.
657
658 2002-04-23  Herbert Voss  <voss@perce.de>
659
660         * insetgraphic.C (prepareFile): fix bug with overwriting and
661         deleting an existing *.eps-file in the doc-dir
662
663 2002-04-23  Juergen Vigna  <jug@sad.it>
664
665         * insettabular.C (drawCellSelection): fix off by 1 error.
666
667 2002-04-22  Juergen Vigna  <jug@sad.it>
668
669         * insettabular.C (setFont): rewoke full selection if it was asked,
670         after we changed all we had to change.
671
672         * insettext.C (insetUnlock): code was uninitialized in some situations.
673
674 2002-04-19  Herbert Voss  <voss@perce.de>
675
676         * insetgraphic.C (prepareFile): return filename without
677         extension if we only export without compiling
678
679 2002-04-19  Juergen Vigna  <jug@sad.it>
680
681         * insettext.C (draw): call a fullRebreak on the row where we had a
682         change and reset the cursor and selection-cursors.
683
684         * insettabular.C (insetUnlock):
685         (insetButtonPress): call an update before setting the_locking_inset = 0
686         as otherwise we don't repaint!
687         (update): reset the cursor position when we changed dimensions as
688         otherwise our cursor may be on the wrong spot.
689
690 2002-04-18  Juergen Vigna  <jug@sad.it>
691
692         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
693         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
694         redraw otherwise we won't redraw.
695
696         * insettext.C (draw): fixed the setting of LyXText::first_y it was
697         not really right before, but I only discovered this with the last
698         changes to Page up/down.
699
700 2002-04-17  Juergen Vigna  <jug@sad.it>
701
702         * insettext.C (checkAndActivateInset): simplified as we now have the
703         edit(bv, bool) call.
704
705         * insettext.h: changed behind variables to front variables to be
706         equal to the one in the edit call (as it is for that they are used).
707
708 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
709
710         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
711         not output anything at all!
712
713 2002-04-16  Juergen Vigna  <jug@sad.it>
714
715         * insettabular.C (insetButtonPress):
716         (insetUnlock): call a redraw on unlocking the cell inset.
717
718         * insettext.C (insetButtonPress): same as below.
719         (lockInset): new function to set initial values when inset should
720         be locked.
721         (insetButtonPress): use above function.
722         (insetUnlock): don't force a repaint only set the updateStatus. The
723         outside world should repaint if it thinks it should be done!
724
725         * insettabular.C (insetButtonPress): init values if not set as locked
726         as we are locked if someone presses on us and don't call the edit()
727         call of the InsetText to lock it do it as BufferView does it!
728
729         * inset.h (insetInInsetY): make func const and return an int.
730         * insettext.C:
731         * insettabular.C:
732         * insetcollapsable.C: adapt the above changed function.
733
734 2002-04-15  Juergen Vigna  <jug@sad.it>
735
736         * insettext.C (getCursorPos): return relative position as to be able
737         to give them directly to the edit() call.
738         (edit): we have to set also x_fix as it is not set inside the
739         setCursorFromCoordinates call!
740         (insetMotionNotify): ditto.
741
742 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
743
744         * insetbib.C (getKeys): strip leading '\t's from the line too.
745         With thanks to Henry Pfister <hpfister@ucsd.edu>.
746
747 2002-04-12  Juergen Vigna  <jug@sad.it>
748
749         * insettext.h: added cix() helper function and use it where appropriate
750
751 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
752
753         * insetgraphics.C (prepareFile): fix bug when graphics is a
754         relative path
755
756 2002-04-12  Juergen Vigna  <jug@sad.it>
757
758         * insettext.C (insertInset): remove unneeded code!
759         (updateLocal): fitCursor() fixes.
760         (collapseParagraphs): fix a possible problem when having a selection
761         and collapsing the paragraphs.
762
763 2002-04-08  Herbert Voss  <voss@perce.de>
764
765         * insetgraphic.C (write): write the rotating angle as
766         a float as is. test only for != 0.0
767
768 2002-04-11  Juergen Vigna  <jug@sad.it>
769
770         * insettext.C: new function ciy() and use it for setting inset_y.
771
772         * insetert.C (draw): fix the x return for collapsed version.
773
774 2002-04-07  Herbert Voss  <voss@perce.de>
775
776         * insetgraphic.C (readFigInset): fix bug with subcaption and
777         rotating
778
779 2002-04-08  Herbert Voss  <voss@lyx.org>
780
781         * insetgraphicsparam.C: forgot special option and delete old
782         1.2.0 stuff
783
784 2002-04-05  Juergen Vigna  <jug@sad.it>
785
786         * insettext.C (localDispatch): make a CURSOR update if we inserted
787         a character.
788
789 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
790
791         * insetfloatlist.C (getScreenLabel):
792         (latex): use Floating::listName
793         (validate): new method
794
795 2002-04-03  José Matos  <jamatos@fep.up.pt>
796
797         * insetlabel.C (docbook): the anchor is an empty element in docbook.
798
799         * insetfoot.[Ch] (docbook): added forgotten method.
800
801 2002-04-03  Juergen Vigna  <jug@sad.it>
802
803         * insettext.C (insetButtonPress): fix insetButtonPress events the same
804         way as in Bufferview_pimpl.
805
806 2002-04-03  Allan Rae  <rae@lyx.org>
807
808         * insetgraphics.C (latex): one % too many makes living on the bleeding
809         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
810
811 2002-03-28  Herbert Voss  <voss@lyx.org>
812
813         * insetgraphic.C (latex): simplify the code for the latex
814         output when the file doesn't exist
815
816 2002-03-29  Juergen Vigna  <jug@sad.it>
817
818         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
819         unlocking inset.
820
821         * insettabular.C (edit): call fitCursor().
822
823         * insettext.C (insetButtonPress): change behaviour of no_selection
824         to the one in the BufferView selection_possible and fix the spurious
825         selection bug with it.
826         (localDispatch): revoke selection on BREAK... functions.
827
828 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
829
830         * insetfloatlist.C (getScreenLabel): translate the GUI label.
831
832 2002-03-28  Juergen Vigna  <jug@sad.it>
833
834         * insettabular.C (insetAllowed): return true as default value otherwise
835         we're not able to insert insets inside paragraphs of an not locked
836         insettext!
837
838 2002-03-27  Herbert Voss  <voss@lyx.org>
839
840         * insetgraphicsparam.C: change c%, p% to col%, page%
841
842 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
843
844         * insetspecialchar.C (isLineSeparator): disable the nice code to
845         allow linebreaks after hyphenation and menu separators.
846
847 2002-03-26  Herbert Voss  <voss@lyx.org>
848
849         * insetgraphics.C (figinsetRead): set the right lyxview
850
851 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
852
853         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
854         $\backslash$ and pass a "string const &" to the function.
855         (prepareFile, latex): use Path rather than MakeAbsPath.
856
857 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
858
859         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
860         proper fix to the graphics cache.
861         (latex): "really" nice output if the file is not found ;-)
862
863 2002-03-26  Juergen Vigna  <jug@sad.it>
864
865         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
866         (collapseParagraphs): fixed inserting of separator ' '
867
868         * insettabular.C (insertAsciiString): only check for buffer lenght
869         not if we have \t or \n inside the buffer as if we don't have we only
870         have 1 cell and that's it!
871
872         * insetert.C (close): don't collapse if inlined.
873
874 2002-03-25  Herbert Voss  <voss@lyx.org>
875
876         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
877         graphics file does not exist.
878
879 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
880
881         * insetgraphics.C (prepareFile): ensure that the file has an absolute
882         path when preparing export.
883
884         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
885         no longer MakeRelPath.
886
887 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
888
889         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
890         Used to determine the absolute path to the graphics file in the
891         graphics cache and only in the graphics cache.
892         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
893         make graphics file name absolute if it is stored as a relative path.
894
895         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
896         make graphics file name absolute if it is stored as a relative path.
897
898         * insettext.C (edit): emit an updateParagraph signal on entering a text
899         inset. Needs to be emitted when leaving the inset also.
900
901 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
902
903         * all files: ws cleanup
904
905         * Makefile.am: remove ld -r stuff
906
907 2002-03-21  Juergen Vigna  <jug@sad.it>
908
909         * insettext.C (appendParagraphs): new function added to append
910         the paragraphs to this insets paragraphs.
911
912 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
913
914         * Makefile.am: special rules if partial linking
915
916 2002-03-19  Juergen Vigna  <jug@sad.it>
917
918         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
919
920 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
921
922         * insetgraphics.C: Clean up Baruch's comments a little.
923         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
924
925 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
926
927         * insettabular.C:
928         * insettheorem.C: wrap warnings
929
930         * insetgraphics.C: improve messages, move cached_status_
931           setting to safer place
932
933 2002-03-18  Juergen Vigna  <jug@sad.it>
934
935         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
936         calls.
937         (localDispatch): ditto
938
939         * insettext.C (edit): removed unneeded showCursor calls.
940         (localDispatch): ditto.
941
942 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
943
944         * insetgraphics.h: remove display() method.
945
946 2002-03-11  Juergen Vigna  <jug@sad.it>
947
948         * insetgraphics.C (draw): hack to fix the redrawing bug.
949         (draw): seems this fixes #268 (force redraw of row if we changed).
950
951         * insettext.C (updateInsetInInset): fixed for updates in insets inside
952         this inset text (don't know why I missed this earlier).
953
954 2002-03-08  Juergen Vigna  <jug@sad.it>
955
956         * insettabular.C (updateLocal): do a FULL update if we're not locked
957         and only a CELL update is asked.
958
959         * insettext.C (updateInsetInInset): update insets inside inset also
960         if it isn't inside the_locking_inset.
961
962         * insettabular.C (updateInsetInInset): ditto.
963
964 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
965
966         * insetexternal.C (doSubstitution): check whether we are using a
967         temp dir for defining $$FPath
968
969 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
970
971         * insettabular.C:
972         * insettext.C: remove #include "WorkArea.h".
973
974 2002-03-06  Juergen Vigna  <jug@sad.it>
975
976         * insettext.C (draw): fixed frame redrawing.
977         (clear): forgot to set the inset_owner of the paragraph.
978
979         * insetert.C (status): pay attention the bv can be 0 here!
980         (getMaxWidth): add the default leftMargin
981
982 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
983
984         * insetert.C (getMaxWidth): make w unsigned int.
985
986 2002-03-05  Juergen Vigna  <jug@sad.it>
987
988         * insetert.C (status): change behaviour of Inlined.
989         (getMaxWidth): added for new inlined behaviour.
990
991 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
992
993         * insetnote.h (linuxdoc, docbook): add empty methods.
994         * insetinclude.C (validate): fix a case where buffer->niceFile was used
995         before being initialized.
996
997 2002-03-05  Juergen Vigna  <jug@sad.it>
998
999         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1000         only that one in the inset. Should be enough.
1001         (updateLocal): set the selection cursor always if we don't have a
1002         selection to be sure it's set!
1003
1004         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1005
1006 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1007
1008         * insettext.C (clear): a gross hack to set layout on a newly
1009         created paragraph.
1010
1011 2002-03-04  Juergen Vigna  <jug@sad.it>
1012
1013         * insettabular.C (localDispatch): inserted handling of
1014         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1015         (insertAsciiString): new helper function.
1016
1017 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1018
1019         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1020         argument.
1021
1022 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1023
1024         * insettext.C (InsetText): initalize newly created par with
1025         default layout. add bufferparams parameter
1026         first -> first_y
1027
1028         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1029         * insetcollapsable.[Ch] (InsetCollapsable): ditto
1030         * insetert.[Ch] (InsetERT): ditto
1031         * insetfloat.[Ch] (InsetFloat): ditto
1032         * insetfoot.[Ch] (InsetFoot): ditto
1033         * insetfootlike.[Ch] (InsetFootLike): ditto
1034         * insetmarginal.[Ch] (InsetMarginal): ditto
1035         * insetminipage.[Ch] (InsetMinipage): ditto
1036         * insetnote.[Ch] (InsetNote): ditto
1037         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1038
1039 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1040
1041         * insettext.C: layout as string
1042
1043         * insetinclude.C: layout as string
1044
1045         * insetert.C: layout as string
1046
1047         * insetbib.C: layout as string
1048
1049 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1050
1051         * insetert.C:
1052         * insettabular.C: remove #include "lyx_gui_misc.h".
1053
1054 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1055
1056         * Makefile.am:
1057         * figinset.h:
1058         * figinset.C:
1059         * inset.h: remove figinset, yahoo !
1060
1061 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1062
1063         * insetgraphics.C (c-tors): initialise parent classes explicitly in
1064         copy c-tor and initialise member variables in the correct order.
1065
1066 2002-02-28  Juergen Vigna  <jug@sad.it>
1067
1068         * insettabular.C (localDispatch): clear selection on PgUp/Down.
1069
1070 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1071
1072         * inset.h: ... and add a better one here.
1073
1074         * insetcommand.C (insetButtonRelease): remove that one which was a
1075         bit broken...
1076
1077 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1078
1079         * insetcommand.C (insetButtonRelease): ... and move it here.
1080
1081         * inseturl.h: remove insetButtonRelease from there...
1082
1083 2002-02-26  Juergen Vigna  <jug@sad.it>
1084
1085         * inseturl.h: Added a insetButtonRelease call returning true as
1086         prove of concept.
1087
1088         * insetlabel.C (edit): Fixed wrong update handling after change I
1089         leave in the wrong code for the one who wrote it to remove and have
1090         a look what he did wrong.
1091
1092         * insettabular.C (localDispatch): force a SELECTION update if we
1093         had a selection and we passed the event down to the inset (fix #213)
1094         (localDispatch): handle font changing stuff when we have a cell
1095         selection so that the selection is not rewoked. I don't really like
1096         this fix, but it's the only way I see to do it right now.
1097
1098 2002-02-22  Juergen Vigna  <jug@sad.it>
1099
1100         * insettext.C (insetUnlock): set the cursor to the second paragraph
1101         if available and if the first one is empty (fix #191).
1102
1103 2002-02-20  Juergen Vigna  <jug@sad.it>
1104
1105         * insettext.C (getDrawFont): implemented this function to call the
1106         one of the owner if present as the owner normally knows what to do
1107         with us.
1108
1109         * insetert.C: implement getDrawFont() function and comment out all
1110         the crap for setting a special latex font inside this inset.
1111         (InsetERT): added a Lanugage parameter to this constructor.
1112
1113         * inset.h: added function getDrawFont(LyXFont & font) to be able to
1114         change the font for being drawn on screen (used only in InsetERT for
1115         now).
1116
1117         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1118         and also above (was missing).
1119         (updateLocal): don't remove the cell selection if we have one this
1120         should be done where we really want to remove it.
1121
1122 2002-02-20  José Matos  <jamatos@fep.up.pt>
1123
1124         * insetinclude.h: include_label made string const.
1125
1126         * insetinclude.C (InsetInclude): moved include_label initialization.
1127         (linuxdoc):
1128         (docbook):
1129         (validate): fix support for temporary directory, for docbook and
1130         linuxdoc.
1131
1132         * insetgraphics.h : new private member, graphic_label, that holds
1133         the entity name that defines the graphics location (SGML).
1134
1135         * insetgraphics.C (unique_id): new function to give a unique label
1136         for graphic.
1137         (docbook):
1138         (validate): the file locatation is given by an entity reference.
1139
1140 2002-02-18  Herbert Voss  <voss@lyx.org>
1141
1142         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
1143
1144 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1145
1146         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
1147         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1148
1149 2002-02-18  José Matos  <jamatos@fep.up.pt>
1150
1151         * insetinclude.C (validate): some code only applies to latex buffers,
1152         it was made conditional.
1153
1154 2002-02-12  Herbert Voss  <voss@lyx.org>
1155
1156         * insetgraphics.C: (prepareFile) do not check at this time
1157         if the file is present.
1158
1159 2002-02-12  Herbert Voss  <voss@lyx.org>
1160
1161         * insetgraphics.C: latex(), return the correct newlines
1162
1163 2002-02-13  José Matos  <jamatos@fep.up.pt>
1164
1165         * inseturl.C (docbook): escape & in url.
1166
1167 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1168
1169         * insetspecialchar.C (isLineSeparator): line breaking is allowed
1170         after HYPHENATION and MENU_SEPARATOR
1171
1172         * inset.h (isLineSeparator): new method, returns false by default.
1173
1174 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1175
1176         * insetert.C (status): do not update the text inset, but the ERT
1177         inset.
1178
1179 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
1180
1181         * insetnote.C: use notebg for background
1182
1183 2002-02-08  Herbert Voss  <voss@lyx.org>
1184
1185         * insetgraphic.C:
1186         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
1187         prevent LyX from unzipping when this should be handled
1188         by latex vis the graphic.cfg.
1189         clean up the code
1190
1191 2002-02-08  Herbert Voss  <voss@lyx.org>
1192
1193         * insetgraphic.C: prepareFile(): fix bug when file doesn't
1194         exists, than return filename with extension
1195
1196 2002-02-06  Herbert Voss  <voss@lyx.org>
1197
1198         * insetgraphic.C: prepareFile(): don't convert the file, when
1199         it's not viewed in LyX. Saves a lot of time when opening a
1200         document!
1201
1202 2002-02-05  Herbert Voss  <voss@lyx.org>
1203
1204         * insetgraphic.C:
1205         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
1206         and adding a rotate bool similiar to subcaption
1207
1208 2002-02-04  Herbert Voss  <voss@lyx.org>
1209
1210         * insetgraphic.C:
1211         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
1212         similiar view to the LaTeX one. Get zipped files work.
1213
1214 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
1215
1216         * insetgraphicsParams.C (init): set display to DEFAULT.
1217         No longer #include "lyxrc.h".
1218
1219 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
1220
1221         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
1222         for now (so that the code compiles).
1223
1224 2002-02-02  Herbert Voss  <voss@lyx.org>
1225
1226         * insetgraphic.C: delete inVariant() and some minor changes
1227         * insetgraphicsParams.[C]:
1228
1229 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
1230
1231         * insetgraphics.C (updateInset): if params.display == DEFAULT,
1232         interogate lyxrc.display_graphics before diaplaying the graphic.
1233
1234         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
1235         InsetGraphicsParams::DisplayType.
1236
1237 2002-01-31  Herbert Voss  <voss@lyx.org>
1238
1239         * insetgraphic.C: (readfigInset) set display to pref-default
1240
1241 2002-01-30  Herbert Voss  <voss@lyx.org>
1242
1243         * insetgraphic.C: get the filetyp from it's contents
1244         * insetgraphicparams.C: add token scale and lyxrc.display when
1245         creating a new inset
1246
1247 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
1248
1249         * figinset.C: added using std::ios directive.
1250
1251 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1252
1253         * figinset.C (runqueue): open translation file in binary mode (for
1254         cygwin).
1255
1256 2002-01-27  Herbert Voss  <voss@lyx.org>
1257
1258         * insetgraphic.[Ch]: mostly newritten to support graphicx with
1259         all options and to be sure that the old figinsets are correct
1260         converted.
1261         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
1262         structure and to support all lengths as LyXLength. The Parameter
1263         structure changed again, but reading of "old" 1.2 graphic insets
1264         is no problem.
1265
1266 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1267
1268         * insetert.h (forceDefaultParagraphs): Added
1269
1270 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1271
1272         * insettabular.C (getMaxWidth):
1273         (forceDefaultParagraphs): use Tabular::GetCellFromInset
1274
1275 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1276
1277         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
1278         of LyXLength::inPixels
1279
1280         * inset.C (latexTextWidth):
1281         * insetminipage.C (latexTextWidth): new method, which implements
1282         the equivalent of the LaTeX macro \textwidth
1283
1284         * insetminipage.C (getMaxWidth): use latexTextWidth
1285
1286 2002-01-18  Juergen Vigna  <jug@sad.it>
1287
1288         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
1289
1290 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1291
1292         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
1293
1294         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
1295         instead of string
1296
1297 2002-01-17  Juergen Vigna  <jug@sad.it>
1298
1299         * insettabular.C (lockInsetInInset): same change as in insettext.
1300
1301         * insettext.C (draw): width() function was called without setting
1302         the right top_x which could lead to wrong insetWidth setting!
1303         (lockInsetInInset): call edit instead of calling lockInset if we
1304         have to lock an inset inside!
1305         (edit): we have to also tell the inset that we have to redraw the
1306         frame on an edit call if this inset draws a frame only if locked.
1307
1308 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1309
1310         * insetbib.C (getFiles): uncomment Path variable.
1311
1312 2002-01-16  Juergen Vigna  <jug@sad.it>
1313
1314         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
1315         of wrong cell.
1316
1317 2002-01-16  Allan Rae  <rae@lyx.org>
1318
1319         * insetinclude.C (docbook): someone forgot a ";"
1320
1321 2002-01-16  José Matos  <jamatos@fep.up.pt>
1322
1323         * figinset.C (docbook): removed a old place holder "@".
1324         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
1325         * insetinclude.C (linuxdoc): if include is verbatim, then export the
1326         ascii text version, clearly guarded inside a CDATA section.
1327         (docbook): in docbook 4, inlinegraphics is empty.
1328         * insettabular.C (linuxdoc): export the ascii version of the table
1329         inside a CDATA section.
1330
1331 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1332
1333         * insetparent.C (InsetParent):
1334         * insetgraphicsParams.C (Write):
1335         (Read):
1336         * insetgraphics.C (prepareFile):
1337         (readFigInset):
1338         (docbook):
1339         * insetexternal.C (executeCommand):
1340         (doSubstitution): use Buffer::filePath
1341
1342         * insetbib.C (getFiles): add a #warning for Angus
1343
1344         * insetgraphics.C: Add a remark about how filenames should be
1345         considered to be relative to buffer (but absolute is still allowed)
1346         (draw): do not try to get status if lyxrc.use_gui is false
1347
1348 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1349
1350         * inset.[Ch]:
1351         * insetcollapsable.[Ch]:
1352         * insettabular.[Ch] (searchForward, searchBackward): change the
1353         bool const & params to bool.
1354
1355         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
1356         to avoid the name clash with InsetCollapsable's methods of the same
1357         names but different functionality.
1358
1359 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1360
1361         * insettext.C (ascii): use lyx::count rather than countChar.
1362
1363 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
1364
1365         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1366
1367 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1368
1369         * insetgraphics.C (updateInset): do not try to render image if
1370         lyxrc.use_gui is false (bug #104)
1371
1372         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1373         if file does not exist
1374
1375         * figinset.C (browseFile): add shortcuts to directory buttons
1376
1377         * insettext.C (updateLocal): update menubar and toolbar here too.
1378
1379 2002-01-13  Allan Rae  <rae@lyx.org>
1380
1381         * insettabular.C (InsetTabular): Both constructors now initialise
1382         all class variables.
1383
1384 2002-01-11  Juergen Vigna  <jug@sad.it>
1385
1386         * insettext.C (insetButtonPress): set the_locking_inset to 0.
1387
1388 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1389
1390         * insettabular.C (getStatus): add forgotten brace around multiline
1391         if statement.
1392
1393 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1394
1395         * insetfloat.C (validate): require "float" instead of "floats".
1396
1397 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * insettabular.C (getStatus): use FuncStatus
1400
1401 2002-01-08  Juergen Vigna  <jug@sad.it>
1402
1403         * insettabular.C (insetButtonRelease): now this should work too
1404         correctly.
1405
1406         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1407         if the width is a percentage.
1408
1409         * inset.h: added isChar() function and implemented this for
1410         insetspecialchar insetquotes and insetlatexaccent.
1411         added forceDefaultParagraphs() and implemented it for insettabular.
1412
1413 2002-01-07  Juergen Vigna  <jug@sad.it>
1414
1415         * insettext.C (getLyXText): Fixed this function. An insert into the
1416         map is only done if we REALLY have a new BufferView.
1417
1418 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * insettext.C: fix bug illustrated by attachment #37 of bug #59
1421
1422 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1423
1424         * insetinclude.C: fix use of FileInfo
1425
1426 2002-01-07  Juergen Vigna  <jug@sad.it>
1427
1428         * insettabular.C (draw): fixed clearing of cell around inset.
1429
1430 2002-01-05  Juergen Vigna  <jug@sad.it>
1431
1432         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1433         variables are updated.
1434
1435         * insettabular.C (resetPos): set always the inset_y as it may be
1436         needed in another function.
1437         (searchBackward): don't draw while searching.
1438
1439 2002-01-04  Juergen Vigna  <jug@sad.it>
1440
1441         * insettext.C (lockInsetInInset): forgot to set a cursor.
1442
1443 2002-01-02  Juergen Vigna  <jug@sad.it>
1444
1445         * insettext.C (insertInset): make the correct undo informations on
1446         inserting new insets.
1447
1448 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
1449
1450         * insettabular.C: correct single-cell select vertically
1451
1452 2001-12-27  Juergen Vigna  <jug@sad.it>
1453
1454         * insettabular.C (ascii): export as tab-separated-values if the
1455         function was not called from export (f.ex.: clipboard).
1456
1457         * insetcollapsable.h: added default support for ascii, linuxdoc and
1458         docbook export (the insettext is exported by default!)
1459
1460         * insettabular.C (copySelection): suff the clipboard with the tabular
1461         data in a tab separated format, seems more naturals then with all the
1462         formating.
1463
1464 2001-12-24  Juergen Vigna  <jug@sad.it>
1465
1466         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1467         to check for REAL mouseMotion.
1468
1469 2001-12-20  Juergen Vigna  <jug@sad.it>
1470
1471         * inset.C (cursor): return the owners cursor if available instead of
1472         always only the bv->text->cursor.
1473
1474         * insettabular.C (checkLongtableSpecial): works now.
1475
1476 2001-12-19  Juergen Vigna  <jug@sad.it>
1477
1478         * insettabular.C (tabularFeatures): fix the row setting of ltt as
1479         this has to be always row + 1 as 0 means not selected!
1480         (checkLongtableSpecial): added
1481         (tabularFeatures): better longtable options support
1482
1483         * insettext.C (resizeLyXText): reinit the text always also on a
1484         empty insettext!
1485
1486 2001-12-18  Juergen Vigna  <jug@sad.it>
1487
1488         * insettext.C (updateInsetInInset): look if we have to autocollapse
1489         paragraps and return if the update is requested for ourself.
1490
1491         * insetert.C (status): update the insettext not myself as that is what
1492         we need.
1493
1494         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1495         function only return if the update was requested with myself.
1496
1497         * insettext.C (insetButtonPress): fixed stupid bug.
1498         (various functions): pay attention that lt is cleared BEFORE calling
1499         updateLocal() and try to use it in the right manner (don't use it
1500         if it's not really neccessary!)
1501         (collapseParagraphs): insert a blank between collapsing paragraphs
1502         if neccessary (not already there!).
1503
1504 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1505
1506         * insettabular.C: move includes around a bit, add a couple of
1507         consts.
1508
1509         * insettext.[Ch]: move includes around a bit, other ws changes and
1510         small stuff.
1511
1512 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1513
1514         * insettext.C (insetButtonRelease): fix compile problem
1515
1516 2001-12-17  Juergen Vigna  <jug@sad.it>
1517
1518         * insettext.C (insetButtonPress): set the selection cursor!
1519         (insetButtonPress): clear the selection (and set with that the
1520         selection.cursor) if we only hit an inset!
1521
1522         * insetert.C (read): removed piece of compatibility code only needed
1523         for 1.2.0.
1524
1525         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1526         can be opened.
1527
1528         * insetcollapsable.C (insetButtonRelease): changed so that it can
1529         open eventual existing popup dialogs on mousebutton==3.
1530
1531         * insetfloat.C (insetButtonRelease): removed not needed anymore!
1532
1533         * insetminipage.C (insetButtonRelease): removed not needed anymore!
1534
1535         * inset.C (insetButtonRelease): return a bool for telling the outer
1536         world that we opened a dialog.
1537
1538 2001-12-07  Juergen Vigna  <jug@sad.it>
1539
1540         * insettext.C (paragraph): remove the deleteing of paragraphs as
1541         it was a WRONG move!
1542
1543 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1544
1545         * insettabular.h:
1546         * insettabular.C: use new setSelection(). Allow
1547           selection of single cells.
1548
1549 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1550
1551         * insetquotes.C (latex): fix to use the local language setting at
1552         the point where the inset is inserted (different macros for
1553         different french packages)
1554
1555 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1556
1557         * inset.h: add par_owner_ member variable and parOwner
1558         setter/accessor.
1559
1560 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1561
1562         * insettabular.C (everywhere): adapt because widths are now real
1563         widths and not strings
1564
1565         * insettext.C (draw): re-introduce the calls to width(), ascent()
1566         and descent() to initialize the caching variables.
1567
1568 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1569
1570         * insettext.C (draw):
1571         (drawFrame): use insetWidth instead of last_width
1572
1573         * insettext.h: remove variable last_width (insetWidth is exactly
1574         the same) and last_height (computed but never used!)
1575
1576 2001-12-10  Allan Rae  <rae@lyx.org>
1577
1578         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1579
1580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1581
1582         * insettext.C (insetAllowed): add comment
1583
1584 2001-12-05  Juergen Vigna  <jug@sad.it>
1585
1586         * insettext.C (insetAllowed): fixed for the case that we directly
1587         ask the insettext from its LyXText.
1588         (paragraph): fixed the crash when assigning the par->next() from
1589         the EmptyParagraphMechanism!
1590
1591 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1592
1593         * insetbib.C:
1594         * insettabular.C:
1595         * insettext.C: change "while(" to "while ("
1596
1597 2001-12-04  Juergen Vigna  <jug@sad.it>
1598
1599         * insetert.C (edit): handle Inlined status.
1600
1601         * insettext.C (insertInset): trying John's fix for the trailing cursor
1602
1603         * insetert.C (insetButtonPress): added to handle inlined status
1604         (insetMotionNotify): ditto.
1605
1606         * insettext.C (clearInset): changed Painter & in BufferView * param,
1607         to be able to call ascent,descent methods.
1608
1609 2001-12-03  Juergen Vigna  <jug@sad.it>
1610
1611         * insettext.C (updateInsetInInset): use lt variable to forbid
1612         changes of LyXText in an update call.
1613         (updateInsetInInset): fixed updating of non locked insets!
1614
1615 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1616
1617         * insettabular.C: capture some more functions to prevent
1618         selection drawing problems. Bug #451274
1619
1620 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1621
1622         * insetgraphics.C:
1623         * insetgraphicsParams.C: fix inverted sense of float_equal
1624
1625 2001-11-30  Juergen Vigna  <jug@sad.it>
1626
1627         * insettabular.C (InsetTabular): use the save_id flag to create also
1628         the tabular with the same id's.
1629
1630         * insettext.C (setParagraphData): added a same_id function for undo
1631         to set the same paragraph id's as of the paragraph we are setting.
1632
1633 2001-11-30  José Matos <jamatos@fep.up.pt>
1634
1635         * inseturl.[Ch]:
1636         * insettoc.[Ch]: DocBook -> docbook.
1637
1638 2001-11-29  André Pönitz <poenitz@gmx.net>
1639
1640         * inseterror.C:
1641         * insettext.C: further reduction of header dependencies by using
1642         lyx::layout_type and lyx::textclass_type from support/types.h
1643
1644 2001-11-29  Juergen Vigna  <jug@sad.it>
1645
1646         * insettext.C: inserted a reinitLyXText function everywhere I delete
1647         the paragraphs! This should fixe the crashes we had.
1648         Also use the new function firstRow() instead of getRowNearY(dummy_y)
1649         (paragraph): set the InsetOwner() of the new paragraphs!
1650
1651 2001-11-28  André Pönitz <poenitz@gmx.net>
1652
1653         * insetnote.C: add pos initialization that I removed without
1654           knowing what I did.
1655
1656 2001-11-28  Juergen Vigna  <jug@sad.it>
1657
1658         * insettabular.C (resetPos): hack to not crash with infinite paints.
1659
1660         * insettabular.h: insert missing function allowSpellcheck()!
1661
1662         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1663
1664 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1665
1666         * insetfloatlist.h:
1667         * insetfloatlist.C: derive from InsetCommand so gui can use it
1668           easily
1669
1670 2001-11-26  André Pönitz <poenitz@gmx.net>
1671
1672         * insettext.[Ch]:
1673         * insetert.C:
1674         * insetnote.C: reduce header dependencies, introduce type for
1675         positions
1676
1677 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
1678
1679         * various: update for Alert.h
1680
1681 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
1682
1683         * inset.h: fix comment
1684
1685         * insettext.C: use par->isInset()
1686
1687 2001-11-22  Allan Rae  <rae@lyx.org>
1688
1689         * insetcollapsable.h:
1690         * inset.h: Changes to checkInsertChar() behaviour.
1691         Now return value indicates whether chars can be inserted.
1692
1693 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
1694
1695         * various:  updated to use the new LaTeXFeatures
1696
1697 2001-11-14  José Matos  <jamatos@fep.up.pt>
1698
1699         * insetspecialchar.C (linuxdoc):
1700         (docbook): don't give a name to a unused variable.
1701
1702         * insettext.C (docbook): removed unused variable.
1703
1704 2001-11-13  Herbert Voss  <voss@perce.de>
1705
1706         * insetgraphic.C: fix scale bug
1707
1708 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1709
1710         * inset.h (isSpace):
1711         (isLetter): new virtual methods.
1712
1713         * insetspecialchar.C (isSpace):
1714         (isLetter): implement here.
1715
1716 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1717
1718         * inset.h: new inline helpers
1719
1720         * insettext.C: use new helpers
1721
1722 2001-11-07  José Matos  <jamatos@fep.up.pt>
1723
1724         * insettext.C (docbook): full support for paragraphs inside insettext.
1725
1726 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
1727
1728         * insetindex.C: added header file for std::ostream.
1729
1730 2001-11-03  José Matos  <jamatos@fep.up.pt>
1731
1732         * insetindex.C: added using std::ostream that I forgot yesterday.
1733
1734 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
1735
1736         * insetindex.h (docbook):
1737         * insetindex.C (docbook): added support for docbook export.
1738
1739 2001-11-02  José Matos  <jamatos@fep.up.pt>
1740
1741         * insetcaption.C(docbook): added support for docbook export.
1742
1743 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
1744
1745         * insetexternal.C (updateExternal): Do not run update command if
1746         result file exists and is up to date.
1747
1748         * ExternalTemplate.C (readFormat): Support the updateresult token.
1749
1750 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
1751
1752         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1753         external_templates) to use the buffer->fileName() but only if
1754         previewing. Generating a TeX file should make FPath return
1755         "".
1756
1757 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
1758
1759         * insetert.h:
1760         * insetert.C: fix some problems
1761
1762 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
1763
1764         * insetexternal.C (doSubstitution): Added $$FPath token
1765         to list of usable substitutions in external inset templates.
1766
1767 2001-10-24  Juergen Vigna  <jug@sad.it>
1768
1769         * insettabular.C: use new ltType struct for setting longtable
1770         header and footers also new UNSET enums.
1771
1772 2001-10-24  José Matos  <jamatos@fep.up.pt>
1773
1774         * insettabular.C (linuxdoc): Now exports the ascii's table version.
1775         (docbook): If the table is not inside a float then wrap it inside
1776         <informaltable>...</informaltable>.
1777
1778 2001-10-23  José Matos  <jamatos@fep.up.pt>
1779
1780         * insetref.C (docbook): removed / terminator to conform SGML.
1781
1782         * insetspecialchar.C (linuxdoc):
1783         (docbook): Added support for special chars, more than ascii export.
1784
1785 2001-10-22  Juergen Vigna  <jug@sad.it>
1786
1787         * insettext.C (checkInsertChar): added for REALLY checking the
1788         font of the inserted char in the right inset!
1789
1790 2001-10-19  Juergen Vigna  <jug@sad.it>
1791
1792         * inset.h: added method allowSpellcheck() so that insets who do
1793         not have anything to spellcheck can tell and so they are over-jumped.
1794         Implemented for InsetText and co.
1795
1796 2001-10-18  Juergen Vigna  <jug@sad.it>
1797
1798         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1799
1800 2001-10-15  José Matos  <jamatos@fep.up.pt>
1801
1802         * insetert.C: allow export for docbook and linuxdoc
1803
1804 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
1805
1806         * insetquotes.C (dispString): handles latin3 and latin4 quotes
1807
1808 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1809
1810         * insetquotes.C (dispString): fix handling of latin9 quotes
1811
1812 2001-10-03  Juergen Vigna  <jug@sad.it>
1813
1814         * insetert.C: ditto
1815
1816         * insetcollapsable.C: change updateInset calls to not tell BV that
1817         we have changed status.
1818
1819 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1820
1821         * insettabular.C (deletable): make const
1822
1823 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
1824
1825         * insetert.C (latex): Fix the returned value
1826
1827 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
1828
1829         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1830         Returns string(), so nothing in an ERT inset is spellchecked.
1831
1832         * insetgraphics.C (draw): print the filename if not displaying the
1833         image.
1834         (width): make sure that the width and draw methods are consistent.
1835         (updateInset): don't even load the image into cache if not displaying
1836         it.
1837
1838 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
1839
1840         * various files (selectNextWord): renamed as
1841         selectNextWordToSpellcheck.
1842
1843         * insetgraphics.C (draw): remove the previous change. Right place
1844         is in imageLoaderXPM.C.
1845         (draw): don't display the image if params.display == NONE.
1846
1847 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
1848
1849         * figinset.C (runqueue):
1850         * insetgraphics.C (draw): set background colour of inset from
1851         background to the user-configurable graphicsbg.
1852
1853 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1854
1855         * insetquotes.C (InsetQuotes): when trying to decide the side of
1856         the quote, choose `left' only after a space or '('
1857
1858 2001-09-04  José Matos  <jamatos@fep.up.pt>
1859         * figinset.C
1860         * figinset.h
1861         * insetcaption.C
1862         * insetcaption.h
1863         * insetcollapsable.h
1864         * insetcommand.C
1865         * insetcommand.h
1866         * inseterror.h
1867         * insetert.C
1868         * insetert.h
1869         * insetexternal.C
1870         * insetexternal.h
1871         * insetfloat.C
1872         * insetfloat.h
1873         * insetfloatlist.h
1874         * insetgraphics.C
1875         * insetgraphics.h
1876         * inset.h
1877         * insetinclude.C
1878         * insetinclude.h
1879         * insetlabel.C
1880         * insetlabel.h
1881         * insetlatexaccent.C
1882         * insetlatexaccent.h
1883         * insetquotes.C
1884         * insetquotes.h
1885         * insetref.C
1886         * insetref.h
1887         * insetspecialchar.C
1888         * insetspecialchar.h
1889         * insettabular.C
1890         * insettabular.h
1891         * insettext.C
1892         * insettext.C (docbook): rename docBook method to docbook.
1893
1894 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
1895
1896         * inset.h (getFirstParagraph): New virtual method.
1897
1898 2001-08-20  Herbert Voss  <voss@perce.de>
1899         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1900         in the the bibtex-database-gui for inserting a line
1901         \addcontentsline...
1902
1903         If no style is given than there is no tex-output.
1904
1905 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
1906
1907         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1908         files as a vector.
1909         (getKeys): use it.
1910
1911 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1912
1913         * insetert.C (latex): Fix output for multiple paragraphs.
1914         (write): New code for writing paragraph data.
1915         (read): Set font after reading the inset.
1916         (localDispatch): Call set_latex_font() for more cases.
1917
1918         * insetnote.h: Add empty validate method.
1919         * insetert.h: Ditto
1920
1921         * insetnote.C (InsetNote): Set language to the language of the
1922         document.
1923
1924 2001-08-16  Juergen Vigna  <jug@sad.it>
1925
1926         * insettext.C: implemented the new FINISHED states.
1927
1928         * insettabular.C: ditto
1929
1930         * inset.h: added more FINISHED states for cursor right,up,down
1931
1932 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
1933
1934         * insetfloatlist.C: use "FloatName List"
1935
1936 2001-08-14  Juergen Vigna  <jug@sad.it>
1937
1938         * insetert.C (edit): forgot to set status_ in edit calls!
1939
1940 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
1941
1942         * insettext.C: Compilation fix
1943
1944 2001-08-13  Juergen Vigna  <jug@sad.it>
1945
1946         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1947
1948         * insetcollapsable.C (edit): don't recollapse an already open inset.
1949
1950         * insettext.C: fixed problem when reinitializing LyXText by not doing
1951         it while lt is in use and post this to the next possible time in
1952         getLyXText().
1953         (searchForward): fixed not unlocking of inset if nothing found.
1954         (edit): set cursor behind right (was set -1 pos).
1955
1956         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1957
1958         * insettabular.C (tabularFeatures): fixed fix where deleting the
1959         last row didn't get the right actcell!
1960
1961 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
1962
1963         * insettext.C (localDispatch): Change language only when the inset
1964         becomes empty.
1965
1966 2001-08-10  Juergen Vigna  <jug@sad.it>
1967
1968         * insettabular.C (selectNextWordInt): use the front using edit call.
1969
1970         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1971         the parameter overwrite class variable inset.
1972
1973         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1974
1975         * insettext.C (saveLyXTextState): check for invalid cursor-par.
1976         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1977
1978         * insettabular.C (calculate_dimensions_of_cells): let's try to call
1979         update only for fixed with cells.
1980         (resetPos): try to fix the lockup on spellchecking or s&r.
1981
1982         * insettext.C (update): comment this out as it seems first wrong
1983         and second not needed anymore!
1984         (some functions): call reinitLyXText() only in update() in all other
1985         positions set only need_update = INIT.
1986
1987 2001-08-08  Juergen Vigna  <jug@sad.it>
1988
1989         * insettabular.C (setPos): fixed wrong actrow < rows() check.
1990
1991         * insettext.C (insetUnlock): remove double-space on inset unlock.
1992
1993         * insetcollapsable.C (draw): fix returned x when label > inset-width.
1994
1995         * insettabular.C (update): fixed cursor positon after an insert.
1996         (insetAllowed): do not allow to insert insets when not inside the
1997         inset!
1998         (draw): clear below an inset too as it could have changed height.
1999
2000         * inset.C (getMaxWidth): fixed width for inset in inset.
2001
2002         * insettext.C (update): small fix.
2003
2004         * insettabular.C (tabularFeatures): added selection support to
2005         DELETE_ROW/DELETE_COLUMN.
2006
2007 2001-08-07  Juergen Vigna  <jug@sad.it>
2008
2009         * inset.C (getMaxWidth): recoded and all it's implementations!
2010
2011         * insettext.C (init,setParagraph+constructors): cleanups
2012         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2013         are new and I want do a save/restore of the cursor position which is
2014         not possible anymore.
2015
2016         * insetcollapsable.C (searchBackward): recollapse inset if not found.
2017         (searchBackward): ditto
2018         (selectNextWord): ditto
2019
2020 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
2021
2022         * insetlatexaccent.C (checkContents): Add some debug messages
2023
2024 2001-08-07  Juergen Vigna  <jug@sad.it>
2025
2026         * insetert.C (read): don't use InsetCollapsable::read as we don't
2027         write the collapsed status anymore only the status.
2028         (write): ditto.
2029
2030 2001-08-06  Juergen Vigna  <jug@sad.it>
2031
2032         * insetert.C (set_latex_font): use LyXText's setFont directly.
2033
2034         * insettext.C (drawFrame): fixed one time more the right position
2035         and size of the frame!
2036
2037         * insetert.C (~InsetERT): hide the dialog.
2038         (showInsetDialog): added implementation
2039         (open): ditto
2040         (close): ditto
2041         (status): new function for the status of the ERT inset (3-state).
2042         (write): output also the status of the inset for readback!
2043         (read): readback the status if available otherwise use collapsed_.
2044
2045         * insettext.C (edit): small fix of setting the position, which could
2046         have gone < 0.
2047
2048         * insetert.C (width): implement this function for inlined viewing.
2049         Added minimum width of 10 pixels!
2050
2051         * insetminipage.C (InsetMinipage): just change the colors a bit so
2052         that border/background is a bit more visible. We will remove this
2053         anyway for 1.2.0!
2054
2055         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2056         function for getting the important widths for drawing in various
2057         functions and in LyXText.
2058         (draw): fixed up a bit (frame drawing/clearing)
2059
2060 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2061
2062         * inset.C (convertFont): delete method. not used.
2063
2064 2001-08-03  Juergen Vigna  <jug@sad.it>
2065
2066         * insettext.C (setFont): don't call for a draw update if we're just
2067         changing the cursor font!
2068
2069 2001-08-02  Juergen Vigna  <jug@sad.it>
2070
2071         * insettext.C (draw): clear the background with the right color if
2072         needed. Update myself if x&max-width changed and return without doing
2073         anything. Let the update code handle the right stuff.
2074
2075         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2076         inside another inset.
2077
2078 2001-08-01  Juergen Vigna  <jug@sad.it>
2079
2080         * insetcollapsable.C (update): added an in_update bool so we avoid
2081         reentering.
2082
2083         * insettabular.C (update): added an in_update bool so we avoid
2084         reentering.
2085
2086         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2087         selection problem.
2088         (update): added an in_update bool so we avoid reentering.
2089
2090         * insettabular.C (localDispatch): clear col/row selection when doing
2091         something else inside an inset.
2092
2093         * insettext.C (getLyXText): fixed bug when requesting a recursive
2094         insettext!
2095
2096 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
2097
2098         * insetcite.C (latex): Paranoia check. Make sure that there is no
2099         whitespace between the citation keys.
2100
2101 2001-07-31  Juergen Vigna  <jug@sad.it>
2102
2103         * inset.h (nodraw): make the set function also const so that this
2104         can be called from inside other const functions.
2105
2106         * insetcollapsable.h: removed inline variable and moved it over
2107         to the only user InsetERT.
2108
2109         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2110         inset opening immediately therein lying insets dialogs!
2111
2112         * insetert.C (localDispatch): set the font also if we don't have any
2113         chars in this paragraph, otherwise if we delete all of em and start
2114         writing we have the wrong font.
2115         (inlined): added
2116         (draw): implemented for inline support
2117         (insetButtonRelease): ditto.
2118
2119 2001-07-30  Juergen Vigna  <jug@sad.it>
2120
2121         * insettext.C (reinitLyXText): new function to reinit the insets
2122         text after lot's of paragraph changes. Use this instead of the
2123         cache.clear() which is VERY dangerous.
2124
2125         * insetfloat.C (insetButtonRelease): we should only show the dialog
2126         if we press on the label otherwise we have problems to open mouse
2127         button 3 dialogs inside this float (f.ex. of a tabular!)
2128
2129 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2130
2131         * insetert.C: change back to "ERT"
2132
2133         * insetfloat.C: handliign of RMB on label added.
2134
2135 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2136
2137         * insetgraphicsParams.C: #include LOstream.h here.
2138
2139         * insetfoot.h: remove InsetFoot:: qualifier.
2140
2141 2001-07-29  Baruch Even  <baruch@lyx.org>
2142
2143         * ChangeLog: Hiding time travel evidence.
2144
2145         * insetgraphicsParams.h:
2146         * insetgraphicsParams.C:
2147         * insetgraphics.C: Added horizontal scale option, it actually scales both
2148         directions since it keeps image proportions.
2149
2150         * insetgraphics.C: Fixed EPS detection to be non-hacky.
2151
2152 2001-07-29  Baruch Even  <baruch@lyx.org>
2153
2154         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
2155         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
2156
2157         HACKY! Will need to add an EPS detection routine like old InsetFig does!
2158
2159 2001-07-29  Baruch Even  <baruch@lyx.org>
2160
2161         * insetgraphics.C: Added EPSI to be an alias of EPS.
2162
2163 2001-07-29  Baruch Even  <baruch@lyx.org>
2164
2165         * insetgraphics.C: Change GRAPHICS to Graphics.
2166         Changed image conversion rules (documented at the beginning of file).
2167
2168 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
2169
2170         * insetert.C (get_new_label): int -> Paragraph::size_type to get
2171         std::min working.
2172
2173         * insetgraphics.C: added a using std::endl directive.
2174
2175         * insetcommand.h (getScreenLabel): removed pure virtual function,
2176         as it duplicates that in InsetButton.
2177
2178         * insetbib.[Ch] (getScreenLabel):
2179         * insetbutton.[Ch] (getScreenLabel):
2180         * insetcite.[Ch] (getScreenLabel):
2181         * insetert.[Ch] (getScreenLabel):
2182         * insetexternal.[Ch] (getScreenLabel):
2183         * insetfloatlist.[Ch] (getScreenLabel):
2184         * insetinclude.[Ch] (getScreenLabel):
2185         * insetindex.[Ch] (getScreenLabel):
2186         * insetlabel.h (getScreenLabel):
2187         * insetparent.[Ch] (getScreenLabel):
2188         * insetref.[Ch] (getScreenLabel):
2189         * insettoc.[Ch] (getScreenLabel):
2190         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
2191
2192         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
2193         the label.
2194         (validate): remove check on "cite" when using natbib.
2195
2196 2001-07-26  Baruch Even  <baruch@lyx.org>
2197
2198         * insetgraphics.C (draw): changed casting to be in one place rather than
2199         all over the function.
2200
2201         * insetgraphics.h:
2202         * insetgraphics.C (read): Added compatibility reads of InsetFig.
2203
2204         * insetgraphicsParams.h:
2205         * insetgraphicsParams.C:
2206         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
2207
2208 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
2209
2210         * insetfoot.C (validate): Added method to ensure that the
2211         right bit of LaTeX is emitted.
2212
2213         * insetfoot.h: Added validate method to set the correct
2214         LaTeXFeatures bit for the special footnote code.
2215
2216 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2217
2218         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
2219         quotes
2220
2221 2001-07-27  Juergen Vigna  <jug@sad.it>
2222
2223         * inset.h: remove not used font variable in parameter.
2224         removed checkInsertChar in UpdatableInset as it was equal to
2225         the one in Inset and so not needed.
2226
2227         * insetert.C (checkInsertChar): implementation of function
2228         checkInsertChar.
2229
2230         * inset.h: added new function checkInsertChar.
2231
2232         * various files: added c-tor and clone() function.
2233
2234         * insetcollapsable.h: removed clone function here as this should
2235         be only realized in REAL insets and added it to all collapsable
2236         insets! (with the copy-constructor).
2237
2238 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2239
2240         * insetminipage.C (read): handle missing parameters more gracefully
2241
2242         * insetcollapsable.C (read): handel missing collapsed more gracefully
2243
2244 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2245
2246         * insetfloat.C (read): handle missing parameters.
2247
2248         * insettext.C (read): handle old latex end_inset
2249
2250         * insetert.C (setButtonLabel): new method
2251         (init): use it, to set the dynamic label correctly
2252         (read): use it
2253
2254         * Makefile.am (EXTRA_DIST): add files that is not part or the
2255         binary here.
2256
2257         * insetcollapsable.h: remove autocollapsable (no users), remove
2258         draw_label, change_label_with_text and companion code. Remove args
2259         from some methods.
2260         * insetert.[Ch]: move here instead (only user)
2261
2262         * inset.h: rename private variable name to name_, make
2263         selectNextWord return a const string. make getInsetName return a
2264         string const &. Remove bool from open, add close.
2265
2266         * Makefile.am: don't compile insetlist, insetsection
2267         and insettheorem
2268
2269 2001-07-24  Juergen Vigna  <jug@sad.it>
2270
2271         * insetert.C (InsetERT): put init after the paragraph initialization,
2272         as otherwise we don't set the draw_label right.
2273
2274         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
2275         insets with the mouse without having strange selections.
2276         (edit): if the inset was collapsed and we open it here then put the
2277         cursor always at the beginning of the inset.
2278         (get_new_label): 15 instead of 10 max chars in the label.
2279
2280         * insetert.C (localDispatch): added and handle various stuff we
2281         need to handle here (font setting on paragraph break, not permitted
2282         layout setting, etc.).
2283
2284         * inset.h: added default copy-consturctor and implemented this in
2285         various insets with the change to use this in the clone function!
2286
2287 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2288
2289         * insetminipage.C (InsetMinipage): set background color to red :)
2290
2291 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
2294         draw frame mode is LOCKED.
2295
2296         * insetcollapsable.C (edit):
2297         (insetButtonRelease): set update status to full when
2298         opening inset.
2299
2300         * insettext.C (clearInset):
2301         * insettabular.C (draw):
2302         * insetlatexaccent.C (draw): honor background color.
2303
2304         * inset.h: new member background_color_, initialized to
2305         LColor::inherit.
2306
2307         * inset.C (backgroundColor): new method.
2308         (setBackgroundColor): new method.
2309
2310         * insetert.C (init): new method, called by the ctors.
2311         (InsetERT): when inserting contents, make sure the font is
2312         ALL_INHERIT.
2313
2314         * insetnote.C (InsetNote): when inserting content, remove trailing
2315         newline
2316         (init): set background color to LColor::note
2317
2318 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2319
2320         * insetcollapsable.C: adjust
2321
2322         * insetbutton.C: adjust
2323
2324 2001-07-23  Juergen Vigna  <jug@sad.it>
2325
2326         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
2327         parameter on the _collapsed function (was not needed) and call
2328         always width_collapsed().
2329
2330         * insetert.C (InsetERT): use setLabel with "true" flag.
2331
2332         * insetcollapsable.C: modified various functions to set the draw_label
2333         string right in any condition.
2334         (setLabel): added a bool parameter to set change_label_with_text.
2335
2336         * insetcollapsable.h: added draw_label string which is set to the
2337         actual drawn label-string, while label is the original static label
2338         of this collapsable inset. Added bool change_label_with_text to set
2339         if we want that the label changes to the start of the InsetText's
2340         text when collabpsed. You can set this flag with the setLabel funciton.
2341         Added bool inlined for inlined collapsable insets, but not handled
2342         yet.
2343
2344         * insetcollapsable.C (get_new_label): added should get a new label
2345         from the InsetText beginning (for now 10 chars).
2346
2347 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2348
2349         * insetquotes.C (latex): fix the handling of french double quotes
2350         when not using the french pachage.
2351
2352 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * insetcollapsable.h: make WidthCollapsed mutable.
2355
2356         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
2357         InsetPrintIndex returns INDEX_PRINT_CODE.
2358
2359         * inset.h: add INDEX_PRINT_CODE
2360
2361         * insetcollapsable.C (draw): init widthCollapsed if necessary
2362         (width): ditto.
2363
2364         * insetquotes.C (width): use the local language, not the document
2365         language.
2366         (draw): ditto.
2367         (dispString): add additional spacing for all french languages,
2368         like fr_CA.
2369         (validate): make it work when there is no default language
2370
2371         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2372
2373         * insetnote.C (init): new method, called by the constructors
2374         (InsetNote): new constructor with contents passed as a string
2375
2376 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         * insetfootlike.C (insetAllowed): disallow float in footlike.
2379
2380         * insetert.C (InsetERT): add collapsed argument to the constrctor
2381         with contents.
2382
2383 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2384
2385         * insetindex.h: shut off warning
2386
2387 2001-07-20  Juergen Vigna  <jug@sad.it>
2388
2389         * insetcollapsable.C (update): recoded hopefully works now!
2390
2391 2001-07-19  Juergen Vigna  <jug@sad.it>
2392
2393         * most files: implemented the below new introduced function.
2394
2395         * inset.h: added new edit(BufferView *, bool front) method to be able
2396         to enter an inset from the front/back without knowing x/y positions
2397         and baselines inside the inset. So I just can tell the inset activate
2398         me and set the cursor on the front/back of yourself.
2399
2400 2001-07-18  Juergen Vigna  <jug@sad.it>
2401
2402         * insetcollapsable.C (edit): fixed hopefully the y parameter which
2403         is given to the InsetText.
2404         (insetButtonPress): ditto
2405         (insetButtonRelease): ditto
2406         (insetMotionNotify): ditto
2407
2408 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2409
2410         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2411         LIGATURE_BREAK, since the name is so stupid.
2412
2413 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2414
2415         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2416         the default InsetCollapsable methods. I.e., it can insert anything.
2417         (write) output the name of the inset, not some silly hack for
2418         compatability with the old InsetInfo.
2419
2420         * insetinfo.[Ch]: removed.
2421         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2422         now collapsable, but functionality is otherwise identical to InsetInfo.
2423
2424         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2425
2426 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2427
2428         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2429         reformatting
2430
2431         * insetquotes.C: general cleanup
2432         (dispString): add spaces inside french double quotes.
2433         (latex): ditto. Moreover, treat first the case where the frenchb
2434         or french options have been given.
2435
2436 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
2437
2438         * insetcite.[Ch] (latex, validate): new methods, required for natbib
2439         support.
2440
2441 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2442
2443         * figinset.C (RegisterFigure): Print debug message only when
2444         current_view is available.
2445
2446 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2447
2448         * many files: update to match the change below
2449
2450         * inset.h (insetAllowed): renamed from insertInsetAllowed;
2451         implement the version which takes an inset here.
2452
2453         * insetcollapsable.[Ch]: implement open and isOpen
2454
2455         * inset.h: remove insertInsetAllowed from Inset
2456         (open): new method, to open or close an inset
2457         (isOpen): returns the status of an inset
2458         (isCollapsable, colapse): removed
2459
2460 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2461
2462         * insetquotes.C (dispString): display french guillemets when using
2463         ISO8859-15.
2464
2465 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2466
2467         * insetcollapsable.h: remove bogus return statements
2468
2469 2001-07-18  Juergen Vigna  <jug@sad.it>
2470
2471         * insettabular.C (selectNextWord): fixed spellchecking for the
2472         first cell of a tabular (wasn't entered!)
2473         (getLyXText): changed to enter automatically insettext and return
2474         it's LyXText if we're locked.
2475
2476 2001-07-17  Juergen Vigna  <jug@sad.it>
2477
2478         * various files: implemented the below functions.
2479
2480         * inset.h: added functions
2481         - virtual string selectNextWord(BufferView *, float & value) const;
2482         - virtual void selectSelectedWord(BufferView *) { return; }
2483         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2484         needed for spellchecking correctly!
2485
2486 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2487
2488         * insetert.C (latex): write out all paragraphs.
2489
2490 2001-07-17  Baruch Even  <baruch@lyx.org>
2491
2492         * insetgraphics.C (draw): Removed unneeded casts.
2493
2494 2001-07-16  Juergen Vigna  <jug@sad.it>
2495
2496         * insettext.C (update): fixed small oversight (reset lt to 0).
2497
2498 2001-07-14  Baruch Even  <baruch@lyx.org>
2499
2500         * insetgraphics.h:
2501         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2502
2503 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
2504
2505         Consistent use of Lsstream.h:
2506         * figinset.C: removed using std::ostringstream directive.
2507
2508         * insetgraphics.C (createLatexOptions):
2509         * insetinclude.C (unique_id):
2510         std::ostringstream -> ostringstream.
2511         * insettext.C (localDispatch): std::istringstream -> istringstream.
2512
2513 2001-07-13  Juergen Vigna  <jug@sad.it>
2514
2515         * insetfloat.C (insertInsetAllowed): added missing const_cast.
2516
2517         * insetcollapsable.C (getLockingInset): ditto.
2518
2519 2001-07-12  Juergen Vigna  <jug@sad.it>
2520
2521         * insetcollapsable.h: added implementation of new function for
2522         collapsable status.
2523
2524         * various files: added implementation of new insertInsetAllowed-func
2525         and redone the function a bit more.
2526
2527         * inset.h: added isCollapsable(), bool collapsed(),
2528         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2529
2530         * insetfloat.C (insertInsetAllowed): make a bit more checks.
2531
2532         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2533         LyXText which is marked for removal while we're using it!
2534
2535         * insettext.h: added private LyXText * lt to use it to assure we are
2536         not deleting our LyXText while we're using it!
2537
2538 2001-07-11  Juergen Vigna  <jug@sad.it>
2539
2540         * insettext.C (insertInset): check if we are before the inset after
2541         inserting it! This check IS needed. Remove the Undo-Call as it is
2542         called in LyXText::insertInset!
2543
2544         * insettext.h: added struct InnerCache.
2545
2546         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2547         that we ONLY delete the LyXText in the getLyXText() routine. So we
2548         are sure we don't delete LyXText while someone is working with it!
2549
2550 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2551
2552         * insetexternal.C: (*it). -> it->
2553         * insettext.C: ditto
2554
2555 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2556
2557         * insetcollapsable.C (edit): always open collapsed insets (even if
2558         they are not autocollapsable)
2559
2560         * insetcommand.C (operator=): simplify.
2561
2562 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2563
2564         * insetert.C (latex): handle META_NEWLINE
2565
2566 2001-07-09  Juergen Vigna  <jug@sad.it>
2567
2568         * insetert.h: a normal InsetText can insert insets, but we won't.
2569
2570         * inset.h: return default "false" on insertInsetAllowed and implement
2571         this function where a returnvalue != "false" is needed.
2572
2573 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2574
2575         * insetert.C (InsetERT): new contructor
2576
2577 2001-07-06  Juergen Vigna  <jug@sad.it>
2578
2579         * a lot of files: added implementation of the below new functions
2580         and the change to clone(). Also the call of the new undo-functions
2581         where needed.
2582
2583         * inset.h: added an inset_id, added functions getParFromID,
2584         getInsetFromID, firstParagraph, cursor and id functions, added
2585         bool same_ids to clone function.
2586
2587 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2588
2589         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2590         of BufferView * and shared_ptr<LyXText>
2591
2592 2001-07-05  Juergen Vigna  <jug@sad.it>
2593
2594         * insettext.C (clear): deleted also the cache not only LyXText.
2595         (setParagraphData): ditto.
2596
2597 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2598
2599         * insetfloat.C (latex): let the specific placement take presedence
2600         if set, otherwise choose document placement if set, otherwise just
2601         use float default placement.
2602
2603 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2604
2605         * insettext.C (localDispatch): call CutAndPaste::'s static method
2606         directly.
2607
2608 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2609
2610         * insetbib.C: no meed to include forms.h here.
2611
2612 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
2613
2614         * insettext.C: added using std::make_pair directive.
2615
2616 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2617
2618         * insettext.C (getLyXText): avoid multiple lookups, and simplify
2619         slightly
2620         (deleteLyXText): ditto
2621         (resizeLyXText): ditto
2622
2623 2001-07-02  Juergen Vigna  <jug@sad.it>
2624
2625         * insettext.C (getLyXText): introduce a cache in getLyXText so that
2626         following calls are only returned the right pointer without the over
2627         head to search in the map.
2628         (various funcs): reset the cached_bview variable as this signs that
2629         the cache is not valid anymore.
2630
2631 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2632
2633         * insettabular.C (clone): do not copy the LyXTabular twice
2634
2635 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2636
2637         * insettext.h (TEXT): delete method
2638
2639 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2640
2641         * insetmarginal.C (latex):
2642         * insetfoot.C (latex): fix spacing of notes in LaTeX
2643
2644         * insettext.C (localDispatch): use .c_str() on istringstream
2645         constructor argument.
2646
2647 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
2648
2649         * insettoc.h:
2650         * insettoc.C:
2651         * inseturl.h:
2652         * inseturl.C: fix method names in these to begin
2653           with small char too, so they inherit
2654
2655 2001-06-28  Juergen Vigna  <jug@sad.it>
2656
2657         * insettext.C (setFont): fixed font settings using toggleFree()
2658         instead of setFont().
2659
2660 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2661
2662         * Change a lot of method names to begin with a small char.
2663         Changes to a lot of files because of this.
2664
2665 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2666
2667         * insetfloatlist.C (Write): std:: qualify ostream
2668         (Latex): ditto
2669
2670 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
2671
2672         * figinset.C:
2673         * inset.C:
2674         * insetgraphics.C: send debug output to Debug::INFO instead of
2675         Debug::ANY.
2676
2677 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
2678
2679         * insettabular.h:
2680         * insettabular.C (getStatus): update to use func_status
2681
2682 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
2683
2684         * insetref.C (DocBook): added support for cross-references without
2685         a name.
2686
2687 2001-06-26  The LyX Project  <jug@sad.it>
2688
2689         * insetref.C:
2690         * insetref.h:
2691         * insetlabel.C:
2692         * insetlabel.h: removed escape method and moved it to
2693         support/lstrings.h.
2694
2695 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2696
2697         * insettabular.C (getMaxWidth): do the speedup in a different way,
2698         remove dead code
2699
2700 2001-06-24  The LyX Project  <Asger>
2701
2702         * insettabular.C (getMaxWidth): We cache a mapping from
2703         inset to cell in order to speed this method up.
2704
2705 2001-06-24  The LyX Project  <Asger>
2706
2707         * insettext.C: Optimized InsetText::draw or something.
2708
2709 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
2710
2711         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2712
2713 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2714
2715         * inset.h: name change from lyxinset.h
2716
2717 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
2718
2719         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2720
2721 2001-06-14  Juergen Vigna  <jug@sad.it>
2722
2723         * insettext.C (draw): removed warnings.
2724
2725 2001-06-13  Juergen Vigna  <jug@sad.it>
2726
2727         * insettabular.C (nodraw): only go down the tree if we don't have
2728         that flag set otherwise it's obvious that we don't want to draw.
2729         (LocalDispatch): do also an update if we have an undispached result.
2730
2731 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
2732
2733         * insetcite.C:
2734         * insetgraphicsParams.C:
2735         * insettext.C: removed // -*- C++ -*- as first line.
2736
2737 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2738
2739         * lyxinset.h (resizeLyXText): shut off warning about unused
2740         parameter "force"
2741
2742 2001-06-07  Juergen Vigna  <jug@sad.it>
2743
2744         * insettext.C (resizeLyXText): honor the new force flag.
2745
2746         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2747
2748         * insettabular.C (deleteLyXText): new function
2749
2750 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2751
2752         * insettheorem.C:
2753         * insetminipage.C:
2754         * insetlist.C:
2755         * insetfootlike.C:
2756         * insetfloat.C:
2757         * insetert.C:
2758         * insetcollapsable.C:
2759         * insetcaption.C: LColor tidy
2760
2761 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2762
2763         * figinset.C: fix typo
2764
2765 2001-06-01  Juergen Vigna  <jug@sad.it>
2766
2767         * insettabular.C (resetPos): small hack so that scroll is not set to
2768         0 when we are in the last column of a tabular. This is a problem we
2769         have because of constats 20 offset on both directions, so this can
2770         cause on the limit an endless loop.
2771
2772         * insettext.C (SetFont): forgot that we can have locking insets ;)
2773
2774 2001-05-31  Juergen Vigna  <jug@sad.it>
2775
2776         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2777
2778 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2779
2780         * figinset.C: add using std:: directive for the C functions which
2781         need that.
2782
2783 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2784
2785         * insetfloat.C (Write): write out wide info
2786         (Read): read the wide info
2787         (Latex): use the wide info when creating latex.
2788
2789         * insettext.C: adjust
2790
2791         * insetgraphics.[Ch] (statusMessage): change to return string
2792         (width): adjust
2793         (draw): adjust
2794
2795         * figinset.C (runqueue): add std::
2796         (Recompute): ditto
2797
2798 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2799
2800         * insetcite.C (Ascii): add std:: qualifier
2801
2802 2001-05-28  Juergen Vigna  <jug@sad.it>
2803
2804         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2805         a endless-width inset (maxWidth < 0).
2806         (Edit): change language only if not equal.
2807
2808         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2809
2810         * insettext.C (draw): fixed draw/clear of InsetText-Frame
2811
2812 2001-05-16  Juergen Vigna  <jug@sad.it>
2813
2814         * insettext.C (selectAll): added
2815         (clearSelection): added
2816
2817         * insettabular.C (SetFont): now we may set a font on a whole selection!
2818         (getSelection): added helper function.
2819
2820 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2821
2822         * insetcite.C (Ascii): Add method.
2823
2824 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2825
2826         * figinset.C:
2827         * insetbib.C: fix path for OS/2 & Win32
2828
2829 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2830
2831         * insetfoot.C (Latex): don't use % after footnote.
2832
2833 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2834
2835         * insettext.C (Read): use clear
2836         (SetParagraphData): use LyXParagraph copy constructor instead of clone
2837
2838 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2839
2840         * insetfloatlist.h: add a bunch of std:: qualifiers.
2841
2842 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2843
2844         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2845         FLOAT_LIST_CODE, renumber code list.
2846
2847         * insettoc.C (getScreenLabel): remove support for float lists
2848         (LyxCode): ditto
2849         (Ascii): ditto
2850
2851         * insetfloatlist.[Ch]: new files
2852
2853         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2854
2855 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
2856
2857         * insettabular.C (LocalDispatch):
2858         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2859         method
2860
2861 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2862
2863         * insettext.C: remvoe !NEW_INSETS cruft
2864
2865         * insettabular.C: remove !NEW_INSETS cruft
2866
2867         * insetcollapsable.h: remove !NEW_INSETS cruft
2868
2869         * insetbib.C: remove !NEW_INSETS cruft
2870
2871 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2872
2873         * insettoc.C: hack to make listof algorithm work
2874
2875 2001-04-20  Juergen Vigna  <jug@sad.it>
2876
2877         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2878
2879 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2880
2881         * insetquotes.C (Latex): improve the guard against
2882         unwanted !` and ?` ligatures. This should really be done in
2883         another place (to catch all this ligatures at low-level).
2884
2885 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2886
2887         * insettext.C (init): remvoe leftovers from cursor_visible change
2888         (draw): use c++ cast
2889         (LocalDispatch): dispatch LFUN_MESSAGE
2890
2891         * insettabular.C (InsetTabular): remove leftovers from
2892         cursor_visible, and scoped_ptr changes
2893         (draw): use c++ cast
2894
2895         * insetcollapsable.C (draw): use c++ cast
2896
2897         * ExternalTemplate.h: inherit privaely from noncopyable
2898         * insetcommand.h: ditto
2899         * insetinclude.h: ditto
2900
2901 2001-04-16  Allan Rae  <rae@lyx.org>
2902
2903         * insettoc.C (Ascii):
2904         * insettext.C (draw):
2905         * insettabular.C (setPos):
2906         * insetminipage.C (Read):
2907         * insetfloat.C (placement):
2908         * insetcaption.C (Ascii, DocBook):
2909         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2910         an unrecognised preprocessor directive.  So ensure they're wrapped.
2911
2912 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
2913
2914         * insetexternal.h:
2915         * insetexternal.C: set view on Clone. Add _ to private members.
2916
2917 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2918
2919         * insettext.C (InsetText): fix new
2920         (InsetText): reindent some, simplify deletion of par list
2921         (clear): simplify deletion of par list, fix new
2922         (SetParagraphData): simplify deletion of par list
2923
2924         * insettabular.[Ch] (getLabelList): implement new method
2925
2926 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2927
2928         * lyxinset.h: do not include gettext.h...
2929
2930         * inset.C:
2931         * insetcaption.C:
2932         * insetexternal.C:
2933         * insetgraphics.C:
2934         * insetindex.C:
2935         * insetlabel.C:
2936         * insetlatexaccent.C:
2937         * insetminipage.C:
2938         * insetquotes.C:
2939         * insettabular.C:
2940         * inseturl.C: ... and do it here instead
2941
2942 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2943
2944         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2945
2946         * insettext.[Ch] (getLabelList): add std:: on vector<string>
2947
2948         * insetcollapsable.[Ch] (getLabelList): implement
2949
2950         * insettext.[Ch] (getLabelList): implement
2951
2952         * insettext.h: reindent
2953
2954         * insettabular.h: make tabular a scoped_ptr
2955
2956         * insettext.C (init): adjust for cursor_visible
2957         (ToggleInsetCursor): constify asc and desc, font, adjust for
2958         cursor_visible
2959         (ShowInsetCursor): constify asc and desc, font, adjust for
2960         cursor_visible
2961         (HideInsetCursor): adjust for cursor_visible
2962
2963         * insettabular.C: reindent some
2964         (InsetTabular): adjust for scoped_ptr and cursor_visible
2965         (InsetTabular): ditto
2966         (~InsetTabular): delete delete
2967         (Clone): adjust for scoped_ptr
2968         (Read): constify old_format, adjust for scoped_ptr, move init of
2969         token
2970         (draw): constify tx, localize loop vars.
2971         some other localization of variables, remove double initilizatons.
2972
2973         * insetfoot.C: remove using std::ostream, add ostream where needed
2974
2975 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2976
2977         * lyxinset.h: some reindentaion, use initializer list for
2978         constructro.
2979         UpdatableInset: make cursor_visible a private var add
2980         public isCursorVisible(), add protected toggleCursorVisible() and
2981         proctected setCursorVisible(bool), make scroll call the Inset::scroll
2982
2983         * insettoc.C: remvoe using decl
2984         (getScreenLabel): make cmdname donst
2985         (LyxCode): ditto
2986         (Ascii): ditto
2987         (Ascii): don't use endl
2988
2989         * insetfootlike.C: remove using decl at file scope and add std::
2990         where needed
2991         * insetmarginal.C: ditto
2992
2993         * insetfoot.C: some reformatting
2994
2995         * insetfloat.C (InsetButtonRelease): adjust the hit area
2996
2997         * insetert.C (SetFont): some reformatting
2998
2999         * insetcollapsable.C: some reformatting and constification
3000         (Clone): comment out.
3001         * insetcollapsable.h: some reformatting
3002         (Clone): comment out.
3003
3004         * inset.C: reindent
3005         (scroll): simplify
3006
3007 2001-03-30  Juergen Vigna  <jug@sad.it>
3008
3009         * insetcollapsable.h: changen *inset to be a InsetText inset.
3010
3011         * some files: changed to reflect the above change.
3012
3013 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
3014
3015         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3016         InsetExternal::Params.
3017         Added operator==() and operator!=() for the Params struct.
3018
3019 2001-03-29  Juergen Vigna  <jug@sad.it>
3020
3021         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3022         BufferView *.
3023
3024         * insetminipage.C: removed widthp_ and all it's functions and changed
3025         to use new %-lengths of LyXLength.
3026
3027 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
3028
3029         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3030
3031 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
3032
3033         * insetgraphicsParams.C (operator!=): new function, needed by the
3034         ControlGraphics class.
3035
3036 2001-03-28  Juergen Vigna  <jug@sad.it>
3037
3038         * insettext.C (InsetButtonPress): only enter !inset if button == 2
3039         (checkAndActivateInset): don't use the values returned from
3040         call to bv->checkInsetHit.
3041
3042         * insetminipage.C (Clone): set special minipage values.
3043
3044         * insetcollapsable.C (draw): changed to draw the button in the
3045         upper left corner outside the textinset.
3046         (ascent): changed because of different drawing
3047         (descent): ditto
3048         (width): ditto
3049         (Edit): ditto
3050         (InsetButtonPress): ditto
3051         (InsetButtonRelease): ditto
3052         (InsetMotionNotify): ditto
3053
3054 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
3055
3056         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3057         contain a suffix.
3058         (Clone): ditto
3059
3060 2001-03-26  Juergen Vigna  <jug@sad.it>
3061
3062         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3063
3064         * insettext.C (ShowInsetDialog): implemented above function.
3065
3066         * insettabular.C (ShowInsetDialog): ditto
3067
3068         * insetminipage.C (ShowInsetDialog): ditto
3069
3070 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
3071
3072         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3073         InsetInclude::Params. Don't store a buffer * in Params. Store the
3074         master file name instead.
3075
3076 2001-03-23  Juergen Vigna  <jug@sad.it>
3077
3078         * insetcollapsable.C (InsetMotionNotify):
3079         (InsetButtonRelease):
3080         (InsetButtonPress): fixed y-offset (minipages).
3081
3082         * insettext.C (draw): force a FULL update if cleared == true.
3083
3084         * insetcollapsable.C (draw): Lars forgotten entry for changing this
3085         routine to draw the minipages on its position-flag.
3086         (InsetInInsetY): give back the right y position, because of minipage
3087         position-flag.
3088
3089 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
3090
3091         * insetfloat.h
3092         * insetfloat.C (DocBook): docbook export code.
3093
3094 2001-03-22  Juergen Vigna  <jug@sad.it>
3095
3096         * insetminipage.C (getMaxWidth): added function to set the drawing
3097         width!
3098         (Read): should work now!
3099
3100         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3101         if we create a new inset.
3102
3103 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
3104
3105         * figinset.C (fl_set_preemptive_callback): moved definition outside
3106         of namespace anon.
3107
3108 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3109
3110         * insetminipage.C (Read): prepare for reading of minipage arguments.
3111
3112 2001-03-18  Baruch Even  <baruch@lyx.org>
3113
3114         * insetgraphics.C: Minor cleanups of the comments and code.
3115
3116 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3117
3118         * insetminipage.C (InsetMinipage): default to not collapsed
3119
3120 2001-03-16  Juergen Vigna  <jug@sad.it>
3121
3122         * insetminipage.C (width): modified with to be a string
3123         (widthp): added widthp (for % width) support functions.
3124         (InsetButtonRelease): added to open the options dialog on button==3.
3125         (~InsetMinipage): added to hide the dialog.
3126
3127         * insetminipage.h: added hideDialog signal
3128
3129 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3130
3131         * insetminipage.h: change the order or Position to match
3132         LyXParagraph::MINIPAGE_ALIGNMENT
3133
3134         * several files: remvoe CXX_WORKING_NAMESPACES
3135
3136         * ExternalTemplate.h: noncopyable is in namespace boost
3137         * insetinclude.h: ditto
3138         * insetcommand.h: ditto
3139
3140 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
3141
3142         * insettext.C (Edit): #else# -> #else.
3143         * insettoc.C: added using directive.
3144
3145 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3146
3147         * insetminipage.h: add pos, inner_pos, width and height. + getters
3148         and setters for all of them.
3149
3150 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
3151
3152         * insetinclude.C (Latex): Do not exit when the textclass of the
3153         included file differ from the textclass of the parent file.
3154
3155 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
3156
3157         * ExternalTemplate.C (read): the reading of external insets now checks
3158         for \end_inset and removes it form the input stream.
3159
3160 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
3161
3162         * ExternalTemplate.h:
3163         * ExternalTemplate.C:
3164         * insetexternal.h:
3165         * insetexternal.C: move form to GUII
3166
3167 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3168
3169         * insetinclude.h:
3170         * insetinclude.C: add InsetIncludeParams, use
3171         composition rather than derivation of InsetCommand
3172
3173 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3174
3175         * insettoc.C (Ascii): use the Buffer typedefs
3176
3177 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3178
3179         * insettoc.C (Ascii): implement for dynamic number of lists
3180
3181         * insetcaption.[Ch]: update from new_insets branch
3182         * insetfloat.[Ch]: ditto
3183
3184 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
3185
3186         * insetexternal.C:
3187         * figinset.C: use new File Dialog
3188
3189 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3190
3191         * insettext.C: changes becuase of ParagraphParameters.
3192
3193 2001-02-28  Baruch Even  <baruch@ev-en.org>
3194
3195         * insetgraphics.C (updateInset): Changed due to the change in
3196         GraphicsCache.
3197
3198 2001-02-26  Juergen Vigna  <jug@sad.it>
3199
3200         * insettext.C (SetFont): Set Undo only if we have selection (as it is
3201         handled in LyXText).
3202
3203 2001-02-23  Juergen Vigna  <jug@sad.it>
3204
3205         * insettext.C (draw): some small repainting fixes.
3206         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
3207
3208         * inset.C (LocalDispatch): changed action to be a kb_action (as it
3209         should be) and not an int.
3210
3211         * insettabular.C (LocalDispatch): ditto
3212
3213         * insettext.C (LocalDispatch): ditto
3214
3215         * insetcollapsable.C (LocalDispatch): ditto
3216
3217 2001-02-22  Juergen Vigna  <jug@sad.it>
3218
3219         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
3220         DISPATCH it and we don't have a locking_inset.
3221
3222 2001-02-21  Baruch Even  <baruch@ev-en.org>
3223
3224         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
3225         instead of GraphicsCacheItem *.
3226
3227 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3228
3229         * insetcollapsable.C (getLyXText): add const qualifier to second
3230         parameter.
3231
3232 2001-02-22  Juergen Vigna  <jug@sad.it>
3233
3234         * insettext.C (getLyXText): honor the recursive parameter.
3235         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
3236
3237         * inset.C (getLyXText): added bool recursive parameter.
3238
3239         * insettext.C (SetUpdateStatus): or the update codes.
3240         (draw): check need_update with &.
3241         (InsetButtonPress): set no_selection to not put a selection when
3242         entering an inset and it is redraws in another spot.
3243
3244         * insettext.h: made need_update an int.
3245
3246 2001-02-20  Baruch Even  <baruch@ev-en.org>
3247
3248         * insetgraphics.h:
3249         * insetgraphisc.C: Changed to use better semantics when loading images
3250         for inline view. Now it doesn't keep the pixmap itself but it's holder.
3251
3252 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
3253
3254         * insetcommand.h:
3255         * inseterror.h:
3256         * insetgraphics.C: change name of "hide" signal to "hideDialog",
3257         consistent with InsetTabular.
3258
3259 2001-02-19  Juergen Vigna  <jug@sad.it>
3260
3261         * insettabular.C (LocalDispatch): implement PAGE up/down.
3262
3263         * insettext.C (draw): clear all of it on need_update==INIT too!
3264
3265         * insettabular.C (InsetUnlock): always clear the selection.
3266
3267         * inset.C (scroll): normally we only want to scroll the inset until
3268         it is fully visible so if top_x + offset > 20 then just set scx to 0.
3269
3270 2001-02-14  Juergen Vigna  <jug@sad.it>
3271
3272         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
3273         (resetPos): fixed scroll behaviour.
3274         (LocalDispatch): do an update if moving cursor inside a table cell
3275         requests a scroll of the tabular.
3276
3277 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3278
3279         * insettext.C (textWidth): constify local var
3280
3281         * insettabular.C: small cleanup.
3282
3283         * insetfoot.C (Latex): constify local var
3284
3285         * insetcollapsable.C: small cleanup.
3286
3287         * figinset.C (runqueue): use compare instead of strcmp
3288
3289 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3290
3291         * insettext.C:
3292         * insetinfo.C: remove cruft
3293
3294 2001-02-14  Juergen Vigna  <jug@sad.it>
3295
3296         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
3297
3298 2001-02-13  Juergen Vigna  <jug@sad.it>
3299
3300         * insettext.C (InsertInset): don't move left (is this right?)
3301
3302         * insettabular.C (LocalDispatch): use of the no_draw variable
3303
3304         * insettabular.h: new no_draw variable to stop redraw
3305
3306         * insettabular.C (TabularFeatures): fixed update for alignment change
3307
3308 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
3309
3310         * insetinclude.C:
3311         * insetbib.h:
3312         * insetbib.C: move dialogs to frontends/
3313
3314 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3315
3316         * insettext.C (LocalDispatch): Restore the language if the inset
3317         becomes empty.
3318
3319 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
3320
3321         * insettext.C (moveRightIntern): Update the selection cursor.
3322         (moveLeftIntern): Ditto.
3323
3324 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3325
3326         * Makefile.am: remove BoundingBox.h
3327
3328         * BoundingBox.h: removed
3329
3330 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
3331
3332         * insettext.C (LocalDispatch): Update selection cursor when moving
3333         cursor to the right.
3334         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
3335         (moveLeftIntern): Ditto.
3336
3337 2001-02-05  Baruch Even  <baruch.even@writeme.com>
3338
3339         * insetgraphics.C: Updated automatic image conversion, it now goes into
3340         temporary directory instead of with the image itself.
3341
3342 2001-01-21  Baruch Even  <baruch@ev-en.org>
3343
3344         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
3345         to EPS or PNG when needed (support bitmap graphics).
3346
3347 2000-11-02  Baruch Even  <baruch@ev-en.org>
3348
3349         * insetgraphics.C:
3350         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
3351         and removal of commented out code.
3352
3353 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3354
3355         * insetbib.C (callback): Update citations if the key has changed.
3356
3357 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3358
3359         * insetbib.C (InsetBibKey): Better computation of default key.
3360         (getScreenLabel) Show both the key and the label.
3361         (getBibLabel): New method.
3362         (callback): Force a redraw if the inset have been changed.
3363
3364 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3365
3366         * insetref.C (getType, getName): Move methods from
3367         src/frontends/xforms/FormRef.C.
3368
3369 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
3370
3371         * insettabular.C: Various improvements (use only one dummy position).
3372
3373 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
3374
3375         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3376         par->bibkey->width. This fixes the crashes when running without
3377         gui or when having included documents.
3378
3379 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
3380
3381         * insetcommand.C (getAsString, setFromString): Cleanup.
3382
3383 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
3384
3385         * insetref.C: Add the array InsetRef::types that contains
3386         information about all supported reference types.
3387
3388 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3389
3390         * lyxinset.h: remove trailing comma in enum.
3391
3392 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
3393
3394         * insettext.C: kill LyXBell.