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