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