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