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