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