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