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