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