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