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