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