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