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