]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
* insettabular.[Ch] (updateLocal): simplify logic
[lyx.git] / src / insets / ChangeLog
1
2 2003-08-05  André Pönitz  <poenitz@gmx.net>
3
4         * insetbibitem.C:
5         * insetcollapsable.[Ch]:
6         * insetcommand.C:
7         * insetert.C:
8         * insetexternal.C:
9         * insetfloat.C:
10         * insetgraphics.C:
11         * insetinclude.C:
12         * insetlabel.C:
13         * insetminipage.C:
14         * insetnote.C:
15         * insettabular.[Ch]:
16         * insettext.[Ch]:
17         * insetwrap.C:
18         * updatableinset.[Ch]: rip out "deep update"
19
20         * insettext.C (localDispatch): merge cases with default branch
21
22         * insettext.C (frame_x,y,w,h): replace member with automatic variables
23
24         * insettabular.[Ch] (updateLocal): simplify logic
25
26 2003-08-04  André Pönitz  <poenitz@gmx.net>
27
28         * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
29   is 'FULL' all the time.
30
31 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * insetert.C (get_new_label): only add ... to the (closed) label
34         when the string has been shortened
35
36 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
37
38         * Always use std::endl with lyxerr
39
40 2003-08-01      Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * insetnote.C: update \author list
43
44 2003-07-31  André Pönitz  <poenitz@gmx.net>
45
46         * insetcollapsable.h:
47         * insettabular.[Ch]:
48         * insettext.[Ch]: remove toggleSelection
49
50 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         (with help from Juergen Spitzmueller)
53         * insetnote.C: add add i18n support. Use Prefs-definable
54         colours for Comment and Greyedout.
55
56 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * insetcollapsable.[Ch]:
59         * insetnote.C:
60         * insetert.C: factor out the detection of clicking on the inset
61       button as 'hitButton'. John Levon contributed.
62
63 2003-07-30  André Pönitz  <poenitz@gmx.net>
64
65         * insetcollapsable.C:
66         * insetfootlike.C:
67         * insettabular.C: parantheses, localize vars etc.
68
69 2003-07-29      Martin Vermeer  <martin.vermeer@hut.fi>
70
71         * insetnote.C: Implement a newenvironment in preamble for
72     greyedout. Patch provided by Jürgen Spitzmüller.
73
74 2003-07-29  Angus Leeming  <leeming@lyx.org>
75
76         * insetcommand.C (localDispatch): default to
77         InsetOld::localDispatch.
78
79         * insetbibitem.C (localDispatch):
80         * insetbibtex.C (localDispatch): remove call to
81         ChangeCitationsIfUnique.
82
83         * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
84
85         * insetexternal.C (read): use pushpophelper.
86
87 2003-07-28  José Matos  <jamatos@lyx.org>
88
89         * insetext.C (read): \end_document replaces \the_end.
90
91 2003-07-28  José Matos  <jamatos@fep.up.pt>
92
93         * insetert.C (write): \layout -> \begin_layout.
94         Add missing \end_layout.
95
96 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * insetquotes.C: document a bit the format
99
100         * insettabular.C (write): remove extra space
101
102 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
103         * insetnote.C: Umpf. Hope I *now* get it right :-(
104
105 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
106         *insetnote.C: did the right fix to greyedout: \color
107         instead of \textcolor.
108
109 2003-07-28  Angus Leeming  <leeming@lyx.org>
110
111         * insetbibtex.h: remove extraneous forward declaration.
112
113         * insetbibitem.h:
114         * insetbibtex.h: Also remove long-dead Holder member class
115         and variable.
116
117 2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
118
119         * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
120         least.
121
122 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
123
124         * insetwrap.C (addToToc): adjust for lyx::toc
125
126         * insetfloatlist.C (ascii): adjust for lyx::toc
127
128         * insetfloat.C (addToToc): adjust for lyx::toc
129
130 2003-07-27  José Matos  <jamatos@fep.up.pt>
131
132         * insetnote.h (linuxdoc,docbook): update support.
133
134 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * insetfloat.C (wide): add a space to label, for consistency
137
138 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
139
140         * insettext.C (nextChange): adjust for lyx::find
141         (searchForward): ditto
142         (searchBackward): ditto
143
144 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * insetgraphicsParams.C:
147         * insetexternal.C: declare extern displayTranslator
148
149         * insetexternal.C:
150         * renderers.C: add #include "support/LAssert.h"
151
152 2003-07-27  José Matos  <jamatos@fep.up.pt>
153
154         * insetfloat.[Ch] (linuxdoc):
155         * insetgraphics.C (linuxdoc):
156         * insettabular.C (linuxdoc):
157         * insettext.[Ch] (linuxdoc): add support for tables and figures
158         (linuxdoc).
159
160 2003-07-27  José Matos  <jamatos@fep.up.pt>
161
162         * insetinclude (latex): comply with makeLaTeXFile argument change.
163
164 2003-07-26  Asger Alstrup  <alstrup@local>
165
166         * insettext.C (reinitLyXText): Get rid of updateLocal which causes
167         the undo crashes. We'll see what problems other places this will
168         cause.
169
170 2003-07-26  Angus Leeming  <leeming@lyx.org>
171
172         * insetgraphics.C: remove unused declaration of system_tempdir.
173
174 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
175
176         * rename Inset to InsetOld
177
178         * all inset files (clone): return a auto_ptr<InsetBase>
179
180 2003-07-23  Angus Leeming  <leeming@lyx.org>
181
182         * insetexternal.[Ch] (setParams): pass it a Buffer const *.
183
184 2003-07-23  Angus Leeming  <leeming@lyx.org>
185
186         * mailinset.[Ch] (inset2string):
187         * insetcommand.[Ch] (inset2string):
188         * insetert.[Ch] (inset2string):
189         * insetexternal.[Ch] (inset2string):
190         * insetfloat.[Ch] (inset2string):
191         * insetgraphics.[Ch] (inset2string):
192         * insetinclude.[Ch] (inset2string):
193         * insetminipage.[Ch] (inset2string):
194         * insetnote.[Ch] (inset2string):
195         * insettabular.[Ch] (inset2string):
196         * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
197
198         * insetexternal.[Ch]:
199         * insetgraphics.[Ch]: get rid of the view() function. Associated
200         changes to the mailers' string2params and params2string functions.
201
202 2003-07-23  Angus Leeming  <leeming@lyx.org>
203
204         * insetexternal.[Ch]: store the external file name in a FileName
205         member variable rather than a string + associated changes.
206
207 2003-07-21  Angus Leeming  <leeming@lyx.org>
208
209         * insetgraphicsParams.[Ch]: store the graphics file name in
210         a FileName member variable rather than a string.
211
212         * insetgraphics.[Ch]:
213         * insetgraphicsParams.[Ch]: Associated changes.
214
215 2003-07-21  Angus Leeming  <leeming@lyx.org>
216
217         * insetgraphics.[Ch] (string2params, params2string): passed a
218         buffer_path argument.
219         (view): new method.
220
221 2003-07-21  Angus Leeming  <leeming@lyx.org>
222
223         * insetexternal.C:
224         * insetgraphicsParams.[Ch]:
225         * insetinclude.C:
226         * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
227
228 2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * insetnote.C: fixed greyout and conditionals layout foul-ups.
231
232 2003-07-18  André Pönitz  <poenitz@gmx.net>
233
234         * insetert.[Ch]:
235         * insetminipage.[Ch]:
236         * insettabular.[Ch]:
237         * insettext.[Ch]:
238         * insetwrap.[Ch]:
239         * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
240
241 2003-07-18  André Pönitz  <poenitz@gmx.net>
242
243         * inset.[Ch]:
244         * insetbibitem.C:
245         * insetcollapsable.C:
246         * insetcommand.C:
247         * insetert.C:
248         * insetexternal.C:
249         * insetgraphics.[Ch]:
250         * insetlatexaccent.[Ch]:
251         * insetminipage.C:
252         * insetnewline.C:
253         * insetquotes.C:
254         * insetspace.C:
255         * insetspecialchar.C:
256         * insettabular.[Ch]:
257         * insettext.[Ch]:
258         * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
259
260 2003-07-17  André Pönitz  <poenitz@gmx.net>
261
262         * insetcollapsable.C:
263         * insettabular.C:
264         * insettext.C: don't call Inset::update() anymore
265
266         * insettext.[Ch]:
267         * insettabular.[Ch]: remove unneeded in_update_ members
268
269         * insettext.[Ch]: remove unneeded InsetText::old_max_width member
270
271 2003-07-16  André Pönitz  <poenitz@gmx.net>
272
273         * insettext.C (selectAll): remove
274
275 2003-07-16  John Levon  <levon@movementarian.org>
276
277         * insetnote.h:
278         * insetnote.C: implement showInsetDialog()
279
280 2003-07-15  André Pönitz  <poenitz@gmx.net>
281
282         * insettabular.C:
283         * insettext.C: refresh_status tristate -> need_update bool
284
285 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
286
287         * insettext.C: adjust call to LyXText::init
288
289 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
290
291         * insettext.C: use bufferview_funcs->replaceSelection()
292         to delete selections in some cases (bugs 441, 673, 702, 954).
293
294 2003-07-14  André Pönitz  <poenitz@gmx.net>
295
296         * insettext.C (draw): use slimmed down rowpainter interface
297
298 2003-07-14  André Pönitz  <poenitz@gmx.net>
299
300         * insetcollapsable.C:
301         * insetert.C:
302         * insettext.[Ch] (cy, ciy, setUpdateStatus):
303         remove unused BufferView * argument
304
305 2003-07-14  André Pönitz  <poenitz@gmx.net>
306
307         * insettext.[Ch]: used cached metrics a bit more
308
309 2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
310
311         * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
312
313 2003-07-10  André Pönitz  <poenitz@gmx.net>
314
315         * insettabular.C:
316         * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
317
318 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
319
320         * introduce namespace lyx::graphics
321
322 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
323
324         * introduce namespace lyx::support
325
326 2003-06-30  André Pönitz  <poenitz@gmx.net>
327
328         * insetcite.C (localDispatch): fix case of missing return value
329
330         * insetcite.C (ascii): remove unneeded temporary
331
332 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
333
334         * insetspace.h: fix \file
335
336         * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
337         * insetinclude.C (fillWithBibKeys): ditto
338
339         * insetbibitem.C: fix type const order
340
341         * inset.C (getLyXText): add varname for arg
342
343         * ExternalTemplate.h: fix type const order
344
345 2003-06-27  André Pönitz  <poenitz@gmx.net>
346
347         * insettext.C: take care of removed LyXCursor::row_ member
348
349         * insettext.[Ch]: use new TextCursor struct for sstate
350
351 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
352
353         * inseterror.[Ch]: removed
354
355 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
356
357         * insetinclude.C (docbook): use parseError instead of sgmlError
358
359 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
360
361         * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
362         of BufferList::loadLyXFile
363
364 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
365
366         * insettext.C (update): simplify
367         (updateLocal): remove commented code
368         (insetUnlock): simplify
369         (lockInset): simplify
370         (updateInsetInInset): simplify
371         (localDispatch): simplify
372         (setFont): simplify
373         (resizeLyXText): simplify
374         (collapseParagraphs): simplify
375
376         * insetert.C (get_new_label): simplify
377
378 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
379
380         * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
381         pasteSelection with index
382
383 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
386
387 2003-06-16  André Pönitz  <poenitz@gmx.net>
388
389         * insetbase.h: new virtual base function clone()
390
391         * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
392           Inset * clone()  ->  InsetBase * clone()
393
394 2003-06-13  André Pönitz  <poenitz@gmx.net>
395
396         * insettabular.[Ch]: make tabular a proper member
397
398 2003-06-12  André Pönitz  <poenitz@gmx.net>
399
400         * insettabular.[Ch]: some renaming plus whitespace
401
402 2003-06-11  Angus Leeming  <leeming@lyx.org>
403
404         * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
405         Add renderers.[Ch].
406
407         * insetbutton.[Ch]: removed.
408         * graphicinset.[Ch]: renamed as renderers.[Ch].
409
410         * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
411         Create a new class ButtonRenderer using the InsetButton::metrics() and
412         draw() functions.
413         Derive both from a common RenderedInset base class.
414
415         * insetcommand.[Ch]:
416         * insetinclude.[Ch]: derive from Inset, not InsetButton.
417         Give it a ButtonRenderer member variable. Use it.
418         Give the classes working copy c-tors.
419         No longer derive from boost::noncopyable.
420
421         * insetexternal.[Ch]: enable the inset to choose dynamically whether to
422         display its contents as a button or as a graphic.
423
424         * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
425         GraphicRenderer.
426
427 2003-06-11  Angus Leeming  <leeming@lyx.org>
428
429         * insetcite.C (localDispatch): reformat.
430
431         * insetref.C (localDispatch): enable dialog to be lauched.
432
433 2003-06-11  John Levon  <levon@movementarian.org>
434
435         * insettabular.C: correctly mark all cells as erased
436
437 2003-06-11  Angus Leeming  <leeming@lyx.org>
438
439         * insetexternal.[Ch]: InsetExternal::Params no longer stores the
440         ExternalTemplate but its name, templatename. This means that a file
441         containing a reference to an External Template not installed on the
442         current machine will be saved retaining this info rather than inserting
443         the first "valid" template from the list of templates.
444
445         As a by product, the visual statement that the Template is missing is
446         now very clear!
447
448 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
449
450         * insettext.C (appendParagraphs): remove some commented code.
451
452 2003-06-10  Angus Leeming  <leeming@lyx.org>
453
454         * graphicinset.[Ch] (view): removed the publicly accessible function to set
455         the cache.
456
457         * insetexternal.[Ch]: move tempname_ into the Params struct.
458         (Params d-tor): new function, to clean-up this temp file.
459         (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
460         (cache): removed.
461         (editExternal, doSubstitution): move out of class.
462
463 2003-06-10  Angus Leeming  <leeming@lyx.org>
464
465         * graphicinset.[Ch] (params): removed.
466         * graphicinset.h (operator=): declared private but not defined.
467         (statusMessage): made private.
468
469         * insetexternal.[Ch]: graphic_ renamed as renderer_.
470
471 2003-06-07  John Levon  <levon@movementarian.org>
472
473         * insetert.C (latex): make a newline mean just that not
474         a new par
475
476 2003-06-07  José Matos  <jamatos@fep.up.pt>
477
478         * insethfill.[Ch] (linuxdoc, docbook): implement output
479         * insetspace.C (linuxdoc, docbook): remove coments as the code
480         is correct.
481
482 2003-06-06  José Matos  <jamatos@fep.up.pt>
483
484         * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
485
486 2003-06-06  André Pönitz  <poenitz@gmx.net>
487
488         * insetwrap.[Ch]: code compactification
489
490 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
491
492         * mailinset.C (updateDialog): use Dialogs::visible
493
494 2003-06-04  Angus Leeming  <leeming@lyx.org>
495
496         * graphicinset.C (draw): add a comment for the #if 0 block.
497
498         * insetexternal.h: remove Params::parameters variable.
499         * insetexternal.C (read, write): rewrite to output new ExternalInset format
500         and read it back making full use of LyXLex.
501
502 2003-06-04  André Pönitz  <poenitz@gmx.net>
503
504         * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
505
506 2003-06-04  John Levon  <levon@movementarian.org>
507
508         * insettabular.C: back out tall table speed up. It was broken
509
510 2003-06-03  Angus Leeming  <leeming@lyx.org>
511
512         * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
513         Remove ViewCommand and UpdateCommand.
514
515         * graphicinset.C (update): bug fix. Set the params before calling the
516         loader.
517         * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
518         BufferView cache to enable the InsetExternal::editCommand to be invoked
519         from the frontends. Would not be needed if this were dispatched properly.
520         (old_ascent_): variable removed.
521
522         * insetexternal.[Ch]: large clean-up to use the converter mechanism to
523         do any necessary conversions of external material. Also use the
524         new GraphicsInset to display the inset within LyX.
525
526 2003-06-03  Angus Leeming  <leeming@lyx.org>
527
528         * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
529         and move it somewhere where InsetExternal can use it too.
530
531         * Makefile.am: add the new files.
532
533         * insetgraphics.[Ch]: make use of the new GraphicInset.
534
535 2003-06-03  John Levon  <levon@movementarian.org>
536
537         * inset.h:
538         * insetbibitem.[Ch]:
539         * insetbibtex.h:
540         * insetcite.h:
541         * insetcommand.[Ch]:
542         * insetenv.[Ch]:
543         * inseterror.h:
544         * insetert.[Ch]:
545         * insetexternal.[Ch]:
546         * insetfloat.[Ch]:
547         * insetfloatlist.h:
548         * insetfoot.[Ch]:
549         * insetgraphics.[Ch]:
550         * insethfill.h:
551         * insetinclude.[Ch]:
552         * insetindex.h:
553         * insetlabel.h:
554         * insetlatexaccent.[Ch]:
555         * insetmarginal.[Ch]:
556         * insetminipage.[Ch]:
557         * insetnewline.h:
558         * insetnote.[Ch]:
559         * insetoptarg.[Ch]:
560         * insetquotes.[Ch]:
561         * insetref.[Ch]:
562         * insetspace.[Ch]:
563         * insetspecialchar.[Ch]:
564         * insettabular.[Ch]:
565         * insettext.[Ch]:
566         * insetthereom.[Ch]:
567         * insettoc.h:
568         * inseturl.h:
569         * insetwrap.[Ch]: make clone() not take a Buffer * arg
570
571         * insetgraphics.[Ch]:
572         * insetgraphicsParams.[Ch]: always store an absolute
573         path at runtime
574
575 2003-06-02  André Pönitz  <poenitz@gmx.net>
576
577         * inseterror.C:
578         * insetgraphics.C:
579         * insetlatexaccent.C: remove duplicated call to metrics()
580
581 2003-06-02  John Levon  <levon@movementarian.org>
582
583         * insettabular.C: fix resize of column width
584
585 2003-06-02  John Levon  <levon@movementarian.org>
586
587         * Makefile.am:
588         * inset.h:
589         * insetparent.h:
590         * insetparent.C: remove insetparent
591
592 2003-06-02  André Pönitz  <poenitz@gmx.net>
593
594         * inset.[Ch]:
595         * insetbase.h:
596         * insetbibtex.[Ch]:
597         * insetbutton.[Ch]:
598         * insetcaption.C:
599         * insetcollapsable.[Ch]:
600         * inseterror.[Ch]:
601         * insetert.[Ch]:
602         * insetfootlike.C:
603         * insetgraphics.[Ch]:
604         * insetinclude.[Ch]:
605         * insetlatexaccent.[Ch]:
606         * insetminipage.[Ch]:
607         * insetnewline.[Ch]:
608         * insetquotes.[Ch]:
609         * insetspace.[Ch]:
610         * insetspecialchar.[Ch]:
611         * insettabular.[Ch]:
612         * insettext.[Ch]: unify first drawing phase
613
614         * inset.[Ch]:
615         * insetbase.h: move validate() to the base
616
617 2003-05-31  Angus Leeming  <leeming@lyx.org>
618
619         * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
620
621 2003-05-30  André Pönitz  <poenitz@gmx.net>
622
623         * inset.h:
624         * insetbase.h:
625         * insetbutton.[Ch]:
626         * insetcaption.[Ch]:
627         * insetcollapsable.[Ch]:
628         * inseterror.[Ch]:
629         * insetert.[Ch]:
630         * insetgraphics.[Ch]:
631         * insetinclude.[Ch]:
632         * insetlatexaccent.[Ch]:
633         * insetnewline.[Ch]:
634         * insetquotes.[Ch]:
635         * insetspace.[Ch]:
636         * insetspecialchar.[Ch]:
637         * insettabular.[Ch]:
638         * insettext.[Ch]:
639         * updatableinset.[Ch]: unify second drawing phase
640
641 2003-05-30  John Levon  <levon@movementarian.org>
642
643         * insetgraphics.C: fix a bformat
644
645 2003-05-29  John Levon  <levon@movementarian.org>
646
647         * insettabular.C: remove unused bufferOwner()
648
649 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
650
651         * insettext.C (lockInsetInInset): adjust
652         (getLabelList): use const_iterator, adjust
653         (getInsetFromID): use const_iterator, adjust
654         (addPreview): use const_iterator, adjust
655
656         * insetwrap.C (clone): remove const_cast
657
658         * insetnote.C (clone): remove const_cast
659
660         * insetminipage.C (clone): remove const_cast
661
662         * insetmarginal.C (clone): remove const_cast
663
664         * insetfoot.C (clone): remove const_cast
665
666         * insetfloat.C (clone): remove const_cast
667
668         * insetert.C (clone): remove const_cast
669
670         * delete commented same_id functions from a lot of files.
671
672 2003-05-28  John Levon  <levon@movementarian.org>
673
674         * insetcite.C:
675         * insetinclude.C:
676         * insetindex.C:
677         * insetparent.C:
678         * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
679
680         * insetminipage.C: fix metrics (bug 1144)
681
682 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
683
684         * insettext.C (saveLyXTextState): adjust
685         (restoreLyXTextState): adjust
686         (init): adjust
687         (lockInset): adjust
688         (unlockInsetInInset): adjust
689         (localDispatch): adjust
690         (getLyXText): adjust
691
692         * insettabular.C (insertAsciiString): adjust
693
694 2003-05-27  André Pönitz  <poenitz@gmx.net>
695
696         * insetbutton.C:
697         * insetcollapsable.C:
698         * inseterror.C:
699         * insetgraphics.C:
700         * insetlatexaccent.C:
701         * insetminipage.C:
702         * insetnewline.C:
703         * insetquotes.C:
704         * insetspace.C:
705         * insetspecialchar.C:
706         * insettabular.C:
707         * insettext.C: dim.w -> dim.wid
708
709 2003-05-26  John Levon  <levon@movementarian.org>
710
711         * insettabular.C: avoid drawing all of a long table
712         if it's not needed. A big speedup
713
714 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
715
716         * remove same_id from function signatures, adjust
717
718 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * insettext.C (InsetText): adjust
721         (clear): adjust
722         (setParagraphData): separate same_id cases, adjust
723         (appendParagraphs): adjust
724         (appendParagraphs): adjust
725
726 2003-05-23  André Pönitz  <poenitz@gmx.net>
727
728         * insetbutton.h: whitespace
729
730         * insettabular.C: more compact code
731
732         * updatableinset.C: remove const_cast
733
734
735 2003-05-23  Angus Leeming  <leeming@lyx.org>
736
737         * insetexternal.C (write): check how many lines are output.
738         (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
739         if the template has defined it.
740
741 2003-05-23  Angus Leeming  <leeming@lyx.org>
742
743         * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
744
745 2003-05-23  Angus Leeming  <leeming@lyx.org>
746
747         * insetfoot.C (latex):
748         * inseturl.C (latex): rename fragile as moving_arg.
749
750 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
751
752         * inseterror.C (localDispatch): comment out unused var.
753
754 2003-05-22  Angus Leeming  <leeming@lyx.org>
755
756         * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
757         passed through the LatexRunParams arg.
758
759 2003-05-22  Angus Leeming  <leeming@lyx.org>
760
761         * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
762         through the LatexRunParams arg.
763
764         * insetquotes.C (latex): accesses use_babel through the LatexRunParams
765         arg rather than through a global var.
766
767 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
768
769         * insetspecialchar.C (dimension): use a string.
770
771 2003-05-22  Angus Leeming  <leeming@lyx.org>
772
773         * insetbibtex.C (latex):
774         * insetgraphics.C (latex):
775         * insetinclude.C (latex): extract the buffer's 'nice'ness from
776         runparams rather than from the buffer itself.
777
778 2003-05-22  Angus Leeming  <leeming@lyx.org>
779
780         * inset*.[Ch] (latex):
781         passed a LatexRunParams parameter.
782
783         * insetgraphics.C (latex): actually use it ;-)
784
785 2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
786
787         * insetfloat.C (addToToc): trivial compile fix
788
789 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
790
791         * insettext.[Ch] (paragraph): delete unused function
792
793         * insetfloat.C (addToToc): parlist simplfication
794
795 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
796
797         * insetspace.[Ch]: added (new space insets)
798         * Makefile.am:
799         * inset.h: handle new space insets
800
801 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
802
803         * insetfloat.C (addToToc): adjust
804
805 2003-05-21  André Pönitz  <poenitz@gmx.net>
806
807         * insettext.[Ch]: fix drawing bug introduced earlier
808
809 2003-05-19  André Pönitz  <poenitz@gmx.net>
810
811         * insetspecialchar.C: fix bug introduced yesterday
812
813 2003-05-19  André Pönitz  <poenitz@gmx.net>
814
815         * inset.[Ch]:
816         * insetbutton.[Ch]:
817         * insetcollapsable.[Ch]:
818         * inseterror.[Ch]:
819         * insetert.[Ch]:
820         * insetfoot.[Ch]:
821         * insetgraphics.[Ch]:
822         * insetgraphicsParams.[Ch]:
823         * insetlatexaccent.[Ch]:
824         * insetminipage.[Ch]:
825         * insetnewline.[Ch]:
826         * insetquotes.[Ch]:
827         * insetspecialchar.[Ch]:
828         * insettabular.[Ch]:
829         * insettext.[Ch]: dimensions() instead of ascend/descend/width
830
831 2003-05-19  André Pönitz  <poenitz@gmx.net>
832
833         * insetenv.[Ch]:
834         * insettext.C: more insetenv
835
836 2003-05-16  André Pönitz  <poenitz@gmx.net>
837
838         * insetcommand.C:
839         * insetminimpage.[Ch]:
840         * insetcollapsable.[Ch]: fix #832
841
842 2003-05-16  André Pönitz  <poenitz@gmx.net>
843
844         * inset.[Ch]:
845         * insetbibitem.[Ch]:
846         * insetbibtex.[Ch]:
847         * insetbutton.[Ch]:
848         * insetcite.[Ch]:
849         * insetcollapsable.[Ch]:
850         * insetcommand.[Ch]:
851         * inseterror.[Ch]:
852         * insetert.[Ch]:
853         * insetexternal.[Ch]:
854         * insetfloatlist.[Ch]:
855         * insetgraphics.[Ch]:
856         * insetinclude.[Ch]:
857         * insetindex.[Ch]:
858         * insetlabel.[Ch]:
859         * insetlatexaccent.[Ch]:
860         * insetparent.[Ch]:
861         * insetref.[Ch]:
862         * insettabular.[Ch]:
863         * insettext.[Ch]:
864         * insettoc.[Ch]:
865         * inseturl.[Ch]:
866         * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
867
868 2003-05-13  André Pönitz <poenitz@gmx.net>
869
870         * insetbibitem.C:
871         * insetcollapsable.C:
872         * insetert.C:
873         * insetfloat.C:
874         * insetinclude.C:
875         * insetwrap.C: tostr from own header
876
877         * insetcommand.C:
878         * insetexternal.C:
879         * insetfloat.C:
880         * insetfloat.h:
881         * insetgraphics.C:
882         * insetinclude.C:
883         * insetminipage.C:
884         * insetparent.C:
885         * insettabular.C:
886         * insettext.C:
887         * insetwrap.C: STRCONV
888
889
890 2003-05-12  André Pönitz <poenitz@gmx.net>
891
892         * insetcaption.C:
893         * insetexternal.C:
894         * insetfloat.C:
895         * insetfloatlist.C:
896         * insetgraphics.C:
897         * insetinclude.C:
898         * insetminipage.C:
899         * insetminipage.C:
900         * insettabular.C:
901         * insettext.C:
902         * insetwwrap.C:  boost::format -> bformat  all over the place
903
904 2003-05-05  André Pönitz <poenitz@gmx.net>
905
906         * insettext.h: add missing #include <map>
907
908 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
909
910         * insettext.C (InsetText): parlist cleanup
911         (clear): ditto
912         (edit): ditto
913         (insetUnlock): ditto
914         (lockInset): ditto
915         (lockInsetInInset): ditto
916         (cx): ditto
917         (cix): ditto
918         (getLyXText): ditto
919         (searchBackward): ditto
920         (collapseParagraphs): ditto
921
922 2003-05-06  John Levon  <levon@movementarian.org>
923
924         * insetcaption.C: don't cast wrap inset to InsetFloat
925
926         * insetfloat.h:
927         * insetfloat.C: remove unneeded type() function
928
929 2003-05-05  André Pönitz <poenitz@gmx.net>
930
931         * inset.h:
932         * insettext.[Ch]:
933         * insettabular.[Ch]:
934         * insetcollapsable.[Ch]: remove unused function firstParagraph()
935         replace getFirstParagraph() by getParagraphs()
936
937 2003-05-03  John Levon  <levon@movementarian.org>
938
939         * insetcollapsable.h:
940         * insetcollapsable.C:
941         * insettabular.h:
942         * insettabular.C:
943         * insettext.h:
944         * insettext.C:
945         * updatableinset.h:
946         * updatableinset.C: remove cursor_visible_, showInsetCursor(),
947         hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
948         getCursor(). Remove explicit cursor hides.
949
950 2003-05-02  André Pönitz <poenitz@gmx.net>
951
952         * insettext.C: remove unneeded &*
953
954 2003-04-30  John Levon  <levon@movementarian.org>
955
956         * insettabular.C: fix edit message
957
958 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
959
960         * insettext.C (setFont): do not convert iterator -> pointer
961
962         * insettabular.C (localDispatch): do not convert iterator -> pointer
963         (setFont): ditto
964         (tabularFeatures): ditto
965
966 2003-04-29  André Pönitz <poenitz@gmx.net>
967
968         * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
969
970 2003-04-28  André Pönitz <poenitz@gmx.net>
971
972         * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
973           Changes
974
975 2003-04-25 André Pönitz <poenitz@gmx.net>
976
977         * insetenv.C: derive from InsetText instead of InsetCollapsable
978
979 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
980
981         * insetexternal.C (string2params): dont do anything if the string
982         is empty.
983         * insetgraphics.C (string2params): ditto
984         * insetcommand.C (string2params): ditto
985         * insetert.C (string2params): ditto
986         * insetfloat.C (string2params): ditto
987         * insetinclude.C (string2params): ditto
988         * insetminipage.C (string2params): ditto
989         * insettabular.C (string2params): ditto
990         * insetwrap.C (string2params): ditto
991
992 2003-04-24  André Pönitz <poenitz@gmx.net>
993
994         * insetref.C: support for eqref
995
996 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
997
998         * insetert.C (read): use ParagraphList::iterator.
999
1000 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1001
1002         * insetquotes.C (latex): comment some code and add warnings.
1003
1004 2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
1005
1006         * insetexternal.C (localDispatch): added a missing DISPATCHED
1007
1008 2003-04-12  John Levon  <levon@movementarian.org>
1009
1010         * insetwrap.C (addToToc): fix a crash, conversion
1011         from while to for loop forgot to remove the explicit
1012         increment
1013
1014 2003-04-10  John Levon  <levon@movementarian.org>
1015
1016         * insettabular.C (tabularFeature): make sure
1017         to update the dialog when we change something
1018         (bug 1036).
1019
1020         (getStatus): don't disable some lfuns (bug 939)
1021
1022 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1023
1024         * insettext.C (saveLyXTextState): adjust
1025         (localDispatch): adjust
1026         (setFont): adjust
1027         (cx): adjust
1028         (cix): adjust
1029         (cpar): adjust
1030
1031         * insettabular.C (localDispatch): adjust
1032         (setFont): adjust
1033         (tabularFeatures): adjust
1034
1035 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * insettabular.C (searchForward,searchBackward): fix bug 782
1038
1039 2003-04-07  John Levon  <levon@movementarian.org>
1040
1041         * insettabular.C:
1042         * insettext.C: clear status message on inset exit
1043
1044 2003-04-03  John Levon  <levon@movementarian.org>
1045
1046         * insetcommand.C: return dispatched on DIALOG_UPDATE
1047
1048 2003-04-02  John Levon  <levon@movementarian.org>
1049
1050         * insettabular.C: tab lfuns renamed
1051
1052 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1053
1054         * insettext.C (update): move towards ParagraphList
1055         (updateLocal): ditto
1056         (edit): ditto
1057         (insetUnlock): ditto
1058         (lockInset): ditto
1059         (lockInsetInInset): ditto
1060         (updateInsetInInset): ditto
1061         (localDispatch): ditto
1062         (docbook): ditto
1063         (setFont): ditto
1064         (resizeLyXText): ditto
1065         (searchBackward): ditto
1066         (collapseParagraphs): ditto
1067         (addPreview): ditto
1068
1069         * insetwrap.C (InsetWrap): adjust
1070         (addToToc): adjust and rewrite loop
1071
1072         * insettext.[Ch] (paragraph): delete function
1073
1074         * insettabular.C (moveNextCell): adjust
1075         (movePrevCell): adjust
1076         (insertAsciiString): adjust
1077
1078         * insetfloat.C (InsetFloat): adjust
1079         (addToToc): adjust
1080
1081         * insetert.C (InsetERT): adjust
1082         (write): adjust, and rewrite loop
1083         (latex): adjust, and rewrite loop
1084         (linuxdoc): adjust, and rewrite loop
1085         (docbook): adjust, and rewrite loop
1086         (localDispatch): adjust
1087         (get_new_label): adjust
1088
1089 2003-04-01  John Levon  <levon@movementarian.org>
1090
1091         From Alfredo Braunstein
1092
1093         * insetbutton.h:
1094         * insetbutton.C: add localDispatch()
1095
1096         * insetcommand.C: return DISPATCHED when edit() called
1097
1098         * insettext.C: fix bug 967
1099
1100 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1101
1102         * insettext.C: adjust
1103
1104 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * insettext.C (draw): adjust
1107         (crow): return a RowList::iterator not a Row*
1108
1109         * insetminipage.C (localDispatch): adjust
1110
1111         * insetert.C (localDispatch): adjust
1112
1113 2003-03-31  John Levon  <levon@movementarian.org>
1114
1115         * insetgraphics.C:
1116         * insetgraphicsParams.C: use_gui moved to lyx_gui
1117
1118 2003-03-31  John Levon  <levon@movementarian.org>
1119
1120         * insettext.C: Alert fix
1121
1122 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * insettext.C (ascent): adjust for RowList
1125         (descent): ditto
1126         (draw): ditto
1127         (getLyXText): adjust
1128         (toggleSelection): adjust
1129
1130         * insetminipage.C (localDispatch): adjust for RowList
1131
1132         * insetert.C (localDispatch): adjust for RowList
1133         (getMaxWidth): adjust for RowList
1134
1135 2003-03-29  John Levon  <levon@movementarian.org>
1136
1137         * insetert.C: Alert cleanup
1138
1139 2003-03-29  John Levon  <levon@movementarian.org>
1140
1141         * insettabular.C: Alert fix
1142
1143 2003-03-28  John Levon  <levon@movementarian.org>
1144
1145         * insetfloat.C: reset label on INSET_MODIFY
1146
1147 2003-03-28  John Levon  <levon@movementarian.org>
1148
1149         * insetgraphicsParams.C: read subcaptionText as a whole line
1150         (bug 656)
1151
1152 2003-03-28  John Levon  <levon@movementarian.org>
1153
1154         * insettext.C: remove unused prototypes
1155
1156 2003-03-25  Angus Leeming  <leeming@lyx.org>
1157
1158         * insetbibitem.C (localDispatch): repaint the view after modifying
1159         a bibitem inset in case the maximum InsetBibitem width has changed.
1160
1161 2003-03-25  John Levon  <levon@movementarian.org>
1162
1163         * insettext.C:
1164         * insettabular.C: LyXText renamings
1165
1166 2003-03-24  John Levon  <levon@movementarian.org>
1167
1168         * insettext.C: remove some dead code. Fix bug 972 and
1169           related by posting a repaint in updateLocal(), and making
1170           the SEL functions set SELECTION.
1171
1172 2003-03-22  John Levon  <levon@movementarian.org>
1173
1174         * inset.h:
1175         * inset.C: remove no-longer-needed topx_set
1176
1177         * insetcollapsable.h:
1178         * insetcollapsable.C: remove dead code
1179
1180         * insetminipage.C:
1181         * insetert.C: rebreak the rows when a possible
1182           change in size is made, and reset the cursor
1183           (bug 962, bug 965)
1184
1185         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1186
1187         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1188           topx_set. Fix drawing errors for clearInset(). Remove
1189           some unnecessary uses of topx, which should die.
1190
1191         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1192           is no longer needed. Replace it with an ugly hack.
1193
1194 2003-03-20  John Levon  <levon@movementarian.org>
1195
1196         * inset.h:
1197         * insetcollapsable.h:
1198         * insetcollapsable.C:
1199         * insetert.h:
1200         * insetert.C:
1201         * insetminipage.C:
1202         * insetminipage.C:
1203         * insettabular.h:
1204         * insettabular.C:
1205         * insettext.h:
1206         * insettext.C: remove spurious font parameter
1207         from update(). Fix drawing of ERT insets inside
1208         insets (bug 966). Remove unused mark_dirty from
1209         tabular's updateLocal()
1210
1211 2003-03-19  John Levon  <levon@movementarian.org>
1212
1213         * insetfloat.h:
1214         * insetfloat.C:
1215         * insetinclude.h:
1216         * insetinclude.C:
1217         * insetminipage.h:
1218         * insetminipage.C:
1219         * insetwrap.h:
1220         * insetwrap.C: remove unused getter/setters
1221
1222 2003-03-19  John Levon  <levon@movementarian.org>
1223
1224         * several files: bv->updateInset() doesn't take
1225         a bool mark_dirty any more
1226
1227 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1228
1229         * adjust for BufferView* arg removal from lyxtext.
1230
1231 2003-03-17  John Levon  <levon@movementarian.org>
1232
1233         * most files: remove the "cleared" parameter
1234         to draw in favour of always clearing. Associated
1235         code removal.
1236
1237 2003-03-16  John Levon  <levon@movementarian.org>
1238
1239         * insettext.C: remove unused s.refresh
1240
1241 2003-03-13  Angus Leeming  <leeming@lyx.org>
1242
1243         * insettext.C (edit): replace Dialogs::updateParagraph with
1244         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1245
1246 2003-03-13  André Pönitz <poenitz@gmx.net>
1247
1248         * Makefile.am: insert insetenv
1249
1250         * insethenv.[Ch]: new files, currently inactive
1251
1252 2003-03-12  John Levon  <levon@movementarian.org>
1253
1254         * Makefile.am:
1255         * inset.h:
1256         * inset.C:
1257         * insetert.h:
1258         * insetert.C:
1259         * insetnewline.h:
1260         * insetnewline.C:
1261         * insetquotes.C:
1262         * insettext.C: use new insetnewline
1263
1264 2003-03-12  John Levon  <levon@movementarian.org>
1265
1266         * insettext.C: readToken became readParagraph
1267
1268 2003-03-12  John Levon  <levon@movementarian.org>
1269
1270         * insettext.C: use parlist iterator for reading contents
1271
1272 2003-03-12  John Levon  <levon@movementarian.org>
1273
1274         * insettext.C: name change to readToken()
1275
1276 2003-03-11  André Pönitz <poenitz@gmx.net>
1277
1278         * Makefile.am: insert insethfill
1279
1280         * insethfill.[Ch]: new files
1281
1282 2003-03-10  Angus Leeming  <leeming@lyx.org>
1283
1284         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1285         BufferView * arg.
1286         (hideDialog): calls the new static Dialogs::hide() method.
1287
1288         * insetbibitem.C (edit):
1289         * insetbibtex.C (edit):
1290         * insetcite.C (edit):
1291         * insetcommand.C (localDispatch):
1292         * inseterror.C (d-tor):
1293         * insetert.C (showInsetDialog):
1294         * insetexternal.C (localDispatch, edit):
1295         * insetfloat.C (localDispatch, showInsetDialog):
1296         * insetfloatlist.C (edit):
1297         * insetgraphics.C (localDispatch, edit):
1298         * insetinclude.C (localDispatch, edit):
1299         * insetindex.C (edit):
1300         * insetlabel.C (edit):
1301         * insetminipage.C (localDispatch, showInsetDialog):
1302         * insetref.C (edit):
1303         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1304         resetPos, showInsetDialog, openLayoutDialog):
1305         * insettoc.C (edit):
1306         * inseturl.C (edit):
1307         * insetwrap.C (localDispatch, showInsetDialog):
1308         changes due to the changed MailInset interface.
1309
1310 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
1311
1312         * insetfloat.h: Set default placement to an empty string.
1313
1314 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1315
1316         * insettext.C (latex): adjust call to latexParagraphs.
1317
1318 2003-03-10  Angus Leeming  <leeming@lyx.org>
1319
1320         * mailinset.C: warn the user if the BufferView has not been cached.
1321
1322 2003-03-10  Angus Leeming  <leeming@lyx.org>
1323
1324         * inset.h, insetbase.h: move cache() and view() into InsetBase.
1325
1326         * insetcommand.h (inset):
1327         * insetert.h (inset):
1328         * insetexternal.h (inset):
1329         * insetfloat.h (inset):
1330         * insetgraphics.h (inset):
1331         * insetinclude.h (inset):
1332         * insetminipage.h (inset):
1333         * insettabular.h (inset):
1334         * insetwrap.h (inset):
1335         * mailinset.h (inset): return an InsetBase &, not an Inset &.
1336
1337 2003-03-10  Angus Leeming  <leeming@lyx.org>
1338
1339         * insetcommand.C (string2params):
1340         * insetexternal.C (string2params):
1341         * insetfloat.C (string2params):
1342         * insetgraphics.C (string2params):
1343         * insetinclude.C (string2params):
1344         * insetminipage.C (string2params):
1345         * insettabular.C (string2params):
1346         * insetwrap.C (string2params): cure warning message about missing
1347         '\end_inset'.
1348
1349 2003-03-09  Angus Leeming  <leeming@lyx.org>
1350
1351         * insettabular.[Ch]: define a new class InsetTabularMailer and use
1352         it to communicate with the frontend dialogs.
1353
1354         * mailinset.C (hideDialog): only hide the dialog if it is showing the
1355         contents of this inset!
1356
1357 2003-03-07  Angus Leeming  <leeming@lyx.org>
1358
1359         * inseterror.C (localDispatch): new method; calls edit() on
1360         LFUN_MOUSE_RELEASE.
1361
1362 2003-03-07  Angus Leeming  <leeming@lyx.org>
1363
1364         * insetbibitem.C (localDispatch):
1365         * insetbibtex.C (localDispatch):
1366         * insetlabel.C (localDispatch):
1367         rewrite as a switch.
1368
1369 2003-03-07  Angus Leeming  <leeming@lyx.org>
1370
1371         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1372         it to communicate with the frontend dialogs.
1373
1374 2003-03-07  Angus Leeming  <leeming@lyx.org>
1375
1376         * insetexternal.C: remove operator== and operator!= for
1377         InsetExternal::Params. They were used only by the old controller
1378         scheme.
1379
1380 2003-03-07  Angus Leeming  <leeming@lyx.org>
1381
1382         * insetcommand.C (localDispatch):
1383         * insetexternal.C (localDispatch):
1384         * insetfloat.C (localDispatch):
1385         * insetinclude.C (localDispatch):
1386         * insetminipage.C (localDispatch):
1387         * insetwrap.C (localDispatch):
1388         add LFUN_INSET_DIALOG_UPDATE to the switch.
1389
1390 2003-03-07  Angus Leeming  <leeming@lyx.org>
1391
1392         * insetcommand.C (string2params):
1393         * insetexternal.C (string2params):
1394         * insetfloat.C (string2params):
1395         * insetinclude.C (string2params):
1396         * insetwrap.C (string2params): use LyXLeX more.
1397
1398         * insetert.[Ch]:
1399         * insetexternal.[Ch]:
1400         * insetfloat.[Ch]:
1401         * insetinclude.[Ch]:
1402         * insetwrap.[Ch]: change Mailer::name_ to be static.
1403
1404         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1405         it to communicate with the frontend dialogs.
1406
1407 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
1408
1409         * insettext.C:
1410         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1411
1412 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1413
1414         * insettext.C (updateLocal): un-const function
1415         (updateLocal): adjust
1416         (collapseParagraphs): un-const function
1417         (collapseParagraphs): adjust
1418
1419 2003-03-05  Angus Leeming  <leeming@lyx.org>
1420
1421         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1422         it to communicate with the frontend dialogs.
1423
1424 2003-03-05  Angus Leeming  <leeming@lyx.org>
1425
1426         * insetcollapsable.C (draw): cache the BufferView.
1427
1428         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1429         it to communicate with the frontend dialogs.
1430
1431 2003-03-05  Angus Leeming  <leeming@lyx.org>
1432
1433         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1434         struct.
1435
1436 2003-03-05  Angus Leeming  <leeming@lyx.org>
1437
1438         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1439
1440         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1441         it to communicate with the frontend dialogs.
1442
1443 2003-03-05  Angus Leeming  <leeming@lyx.org>
1444
1445         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1446         it to communicate with the frontend dialogs.
1447
1448 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1449
1450         * insettext.C (collapseParagraphs): adjust
1451         (appendParagraphs): make it take a Buffer* instead of a
1452         BufferParams& as arg.
1453         (appendParagraphs): adjust
1454
1455 2003-03-04  Angus Leeming  <leeming@lyx.org>
1456
1457         * insetbibitem.C (localDispatch):
1458         * insetbibtex.C (localDispatch):
1459         * insetcommand.C (localDispatch):
1460         * insetert.C (localDispatch):
1461         * insetlabel.C (localDispatch):
1462         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1463
1464 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1465
1466         * insettext.C (latex): adjust for ParagraphList::iterator
1467
1468 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * insetbutton.C (view): adjust for boost 1.30.0
1471         * insetcollapsable.C (view): ditto
1472         * insetgraphics.C (statusChanged): ditto
1473
1474         * insettext.h: move paragraphs to be public.
1475
1476 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1477
1478         * insetnote.[Ch] (InsetNote): remove unused constructor
1479
1480 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
1481
1482         * insetgraphics.C: added include "format.h"
1483
1484 2003-02-27  Angus Leeming  <leeming@lyx.org>
1485
1486         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1487         thingy.
1488
1489 2003-02-27  Angus Leeming  <leeming@lyx.org>
1490
1491         * insetbibitem.C (localDispatch):
1492         * insetbibtex.C (localDispatch):
1493         * insetcommand.C:
1494         * insetert:
1495         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1496
1497 2003-02-26  Angus Leeming  <leeming@lyx.org>
1498
1499         * insetbibitem.[Ch] (localDispatch):
1500         * insetbibtex.[Ch] (localDispatch):
1501         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1502
1503         * insetcommand.C (localDispatch):
1504         act only on receipt of LFUN_XYZ_APPLY.
1505
1506         * insetert.C (localDispatch): reformat.
1507         add LFUN_XYZ_APPLY to the switch.
1508
1509 2003-02-26  John Levon  <levon@movementarian.org>
1510
1511         * insettext.C: use RowPainter
1512
1513         * inset.h: make helpers take const *
1514
1515 2003-02-26  Angus Leeming  <leeming@lyx.org>
1516
1517         * insetcommand.[Ch] (localDispatch): new method.
1518
1519 2003-02-26  Angus Leeming  <leeming@lyx.org>
1520
1521         * insetinclude.C (draw): cache the BufferView* using cache not
1522         PreviewImpl::setView
1523
1524 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
1525
1526         * insetgraphics.C (draw)
1527         * insetinclude.C (draw): Eliminate also the other argument (owner
1528         inset inset) in the call to PreviewImage::image
1529
1530 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1531
1532         * insetgraphics.C (draw)
1533         * insetinclude.C (draw): Eliminate Buferview argument in call to
1534         PreviewImage::image
1535
1536 2003-02-25  John Levon  <levon@movementarian.org>
1537
1538         * insetgraphicsParams.h:
1539         * insetgraphics.C: don't start a load process if
1540           the inset is set to NoDisplay (bug #920)
1541
1542 2003-02-22  John Levon  <levon@movementarian.org>
1543
1544         * insetfloat.C:
1545         * insetwrap.C: TocItem changed API (bug 913)
1546
1547 2003-02-21  Angus Leeming  <leeming@lyx.org>
1548
1549         * insetcollapsable.[Ch] (cache, edit):
1550         * insetbutton.[Ch] (cache, edit): new methods to cache the
1551         BufferView in the draw method.
1552
1553         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1554         simplify comunication between InsetCommand-derived classes and
1555         the Dialogs.
1556
1557         * insetbibitem.[Ch]:
1558         * insetbibtex.[Ch]:
1559         * insetcite.[Ch]:
1560         * inseterror.[Ch]:
1561         * insetfloatlist.[Ch]:
1562         * insetindex.[Ch]:
1563         * insetref.[Ch]:
1564         * insettoc.[Ch]:
1565         * inseturl.[Ch]: small changes to reflect the new interface to the
1566         Dialogs code.
1567
1568         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1569         other, similar classes.
1570
1571         * Makefile.am: add new files.
1572
1573 2003-02-21  Angus Leeming  <leeming@lyx.org>
1574
1575         * updatableinset.h (setView, view): remove.
1576         * inset.h (view, cache): to be replaced by these.
1577
1578         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
1579         insetbibtex.[Ch]:
1580
1581         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
1582         insetbibtex.[Ch].
1583
1584         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
1585
1586 2003-02-21  Allan Rae  <rae@lyx.org>
1587
1588         * insetinclude.C (loadIfNeeded): ensure loading also works when
1589         child document is under version control.
1590
1591 2003-02-17  André Pönitz <poenitz@gmx.net>
1592
1593         * insetbib.[Ch]: Adjust access to bibkeys
1594
1595 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1596
1597         * insetquotes.C (dispString): remove use of acute accent for "'"
1598         right quote.
1599
1600 2003-02-14  John Levon  <levon@movementarian.org>
1601
1602         * insettabular.C: changed method names in tabular.C
1603
1604 2003-02-14  John Levon  <levon@movementarian.org>
1605
1606         * inset.h:
1607         * inset.C:
1608         * insetcollapsable.h:
1609         * insetcollapsable.C:
1610         * insettabular.h:
1611         * insettabular.C:
1612         * insettext.h:
1613         * insettext.C: remove unused getParFromID()
1614
1615 2003-02-13  John Levon  <levon@movementarian.org>
1616
1617         * insettext.h:
1618         * insettext.C: remove unused beginningofMainBody()
1619
1620 2003-02-08  John Levon  <levon@movementarian.org>
1621
1622         * inset.h:
1623         * inset.C:
1624         * insetcollapsable.h:
1625         * insetcollapsable.C:
1626         * insettabular.h:
1627         * insettabular.C:
1628         * insettext.h:
1629         * insettext.C:
1630           add nextChange(). Make allowSpellcheck() const. Add markErased().
1631
1632         * insetert.C: ignore deleted text
1633
1634         * insettabular.C: make sure to keep change  tracking working
1635           properly.
1636
1637 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
1638
1639         * insetert.C:
1640         * insetgraphics.C:
1641         * insettabular.C:
1642         * insettext.C: Use error messages with identical spelling and punctuation
1643
1644 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
1645
1646         * insetgraphics.C (draw, width): Fix spacing around graphics inset
1647
1648 2002-12-17  Juergen Vigna  <jug@lyx.org>
1649
1650         * insettext.C (localDispatch): hopefully fixed cursor up down
1651         movement on leaving other insets.
1652
1653 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
1654
1655         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1656         and the like.
1657
1658 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1659
1660         * insetgraphics.C (prepareFile): do not remove the extension of
1661         the file name if it is not the default extension for the given
1662         format (that is, in latex output, remove extension from foo.eps,
1663         but not from foo.epsi)
1664
1665 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
1666
1667         * insettext.C (lfunMouseRelease): hackish solution to the "double
1668         menu open" bug
1669
1670 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * insetfloat.C (addToToc): use the floats name not its type
1673         * insetwrap.C (addToToc): ditto
1674
1675 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1676
1677         * insetnote.C (init): make label font smaller
1678
1679 2002-12-04  John Levon  <levon@movementarian.org>
1680
1681         * insetinclude.C: ressurect setting of command name
1682
1683 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1684
1685         * insetquotes.C (dispString): disambiguate insert call
1686
1687 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1688
1689         * several files: ws changes
1690
1691 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * insetquotes.C (dispString): use string::insert for prepending a
1694         char.
1695
1696 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1697
1698         * insetparent.C (getScreenLabel): use boost::format
1699
1700         * insetgraphics.C (prepareFile): use boost::format
1701         (ascii): ditto
1702
1703         * insetfloatlist.C (latex): use boost::format
1704
1705         * insetcaption.C (draw): use boost::format
1706
1707 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
1708
1709         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1710         columns.
1711
1712 2002-11-20  Juergen Vigna  <jug@sad.it>
1713
1714         * insettabular.C (resetPos): temporary fix for endless loop in
1715         this function on a redraw.
1716
1717 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * insettabular.C (copySelection): STRCONV
1720
1721         * insetinclude.C (uniqueID): STRCONV
1722         (latexString): ditto
1723
1724         * insetgraphics.C: put VersionNumber inside anon namespace
1725         (createLatexOptions): STRCONV
1726
1727         * insetcommandparams.C: include config.h
1728
1729 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
1730
1731         * insetgraphicsParams.C (Write): use lyx::float_equal.
1732         Write height data correctly.
1733         (Read): zero scale when reading height data.
1734
1735 2002-10-30  John Levon  <levon@movementarian.org>
1736
1737         * insetfloat.C (addToTOC): recursively traverse all
1738           contents looking for captions (fix #568)
1739
1740 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1741
1742         * insetexternal.C (doSubstitution): do not try to replace
1743         environment variables, this is done when executing the command
1744
1745 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1746
1747         * insetexternal.C (doSubstitution): change order of substitution
1748         to work around ReplaceEnvironmentPath brokenness
1749
1750 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
1751
1752         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1753
1754         * insetgraphicsParams.C (init, Write): associated changes
1755         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1756         InsetGraphicsParams::scale.
1757
1758 2002-10-21  John Levon  <levon@movementarian.org>
1759
1760         * inset.h: remove unused DISPATCH_RESULT
1761
1762         * insettext.C: sgml open/close tag now in sgml namespace
1763
1764 2002-10-21  Angus Leeming  <leeming@lyx.org>
1765
1766         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1767         file path subdir/fig.eps when pasting it into a buffer in a different
1768         directory.
1769
1770 2002-10-16  John Levon  <levon@movementarian.org>
1771
1772         * insetspecialchar.C: remove \\protected_separator parsing
1773
1774 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1775
1776         * insetquote.C: fix LaTeX output of quotation marks.
1777
1778 2002-10-14  Juergen Vigna  <jug@sad.it>
1779
1780         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1781         Backspace functions which confused the Undo handling.
1782
1783 2002-10-09  Angus Leeming  <leeming@lyx.org>
1784
1785         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1786         BufferView::dispatch that turns off this optimisation when a new inset
1787         is inserted.
1788
1789         * insetcite.C (getNatbibLabel): correct logic of when and when not to
1790         reload the BibTeX keys.
1791
1792 2002-10-11  André Pönitz <poenitz@gmx.net>
1793
1794         * insettext.h: handle LFUN_PRIOR/NEXT
1795
1796 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
1797
1798         * insetfloat.C: fix bug with float settings
1799         (document default != float default).
1800
1801 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
1802
1803         * insetwrap.C (addToToc): New method.
1804         (InsetWrap): Set layout to caption.
1805
1806 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1807
1808         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1809
1810 2002-09-16  John Levon  <levon@movementarian.org>
1811
1812         * insettabular.h: hasSelection() needs to be public
1813
1814 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
1815
1816         * insetgraphicsParams.C: use empty string as default for rotateOrigin
1817
1818 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1819
1820         * insetgraphicsParams.C: use empty string as default for rotateOrigin
1821
1822 2002-09-11  André Pönitz <poenitz@gmx.net>
1823
1824         * insettabular.C: implement LFUN_WORDSEL
1825
1826 2002-09-10  John Levon  <levon@movementarian.org>
1827
1828         * insetinclude.h: remove unused param
1829
1830 2002-09-09  John Levon  <levon@movementarian.org>
1831
1832         * insetinclude.h:
1833         * insetinclude.C: remove noload, default to input
1834
1835 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
1836
1837         * insetgraphics.C: disfuscated use of ']' in built output string.
1838
1839 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1842
1843 2002-08-29  Juergen Vigna  <jug@sad.it>
1844
1845         * insettabular.C (lfunMousePress): Pay attention where you set
1846         the x/y values as they depend on which inset in the tabular is
1847         actually locked. So you surely have to reset them if you (un)lock
1848         a inset!
1849
1850 2002-08-29  André Pönitz <poenitz@gmx.net>
1851
1852         * insetfootlike.h: rename include guard to ALL CAPS
1853
1854         * insettext.C: swap object and first parameter for checkInsetHit calls
1855           as this functions has moved from BufferView to LyXText
1856
1857
1858 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
1859
1860         * insetgraphicsParams.C: remove local displayTranslator and use
1861         the one from graphics/GraphicsTypes.h.
1862
1863 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1864
1865         * insetfloat.C (wide): add BufferParams parameter
1866
1867         * insetfloatlist.C (read):
1868         (latex):
1869         (getScreenLabel):
1870         * insetfloat.C (latex):
1871         (floatname):
1872         * insetcaption.C (draw): use LyXTextClass::floats()
1873
1874 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1875
1876         * insetoptarg.h: add std:: qualifier.
1877
1878 2002-08-26  Juergen Vigna  <jug@sad.it>
1879
1880         * insettext.C (localDispatch): ditto.
1881
1882         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1883
1884 2002-08-25  John Levon  <levon@movementarian.org>
1885
1886         * inseturl.C: elide long URLs (bug 404)
1887
1888 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
1889
1890         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1891         remove "Format Version <version_no.>" string from inset header
1892
1893         * insetgraphics.C:
1894         * insetgraphicsParams.[Ch]: Implement new graphics dialog
1895
1896         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1897         a member of "grfx::Params" anymore.
1898
1899         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1900
1901 2002-08-24  John Levon  <levon@movementarian.org>
1902
1903         * insetoptarg.h:
1904         * insetoptarg.C: ws, pedantry ...
1905
1906 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1907
1908         * insettext.C (collapseParagraphs): pasteParagraph now in global
1909         scope
1910         (appendParagraphs): ditto
1911
1912 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
1913
1914         * insetcite.C (latex): Remove spaces only after commmas.
1915
1916 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * insettext.C: remove NO_COMPABILITY stuff
1919
1920 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * insettext.C (edit): use ParagraphList iterators
1923
1924         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1925         (bibitemWidest): ditto
1926
1927 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * insettext.C: include <boost/bind.hpp>
1930         add using std::for_each
1931         (saveLyXTextState): use ParagraphsList::iterator
1932         (init): use for_each on paragraphlist iterators
1933         (InsetText): remove superflous setting cached_bview to 0
1934         (latex): reformat a bit
1935         (ascii): use paragraphlist iterators
1936         (validate): use for_each + boost bind
1937         (getLabelList): use paragraphlist iterators
1938         (deleteLyXText): use for_each + boost::bind
1939         (resizeLyXText): ditto
1940         (reinitLyXText): ditto
1941         (removeNewlines): use paragraphlist iterators
1942         (getParFromID): ditto
1943         (paragraph): use for_each + boost::bind
1944         (getInsetFromID): use paragraphlist iterators
1945         (getLabelList): typo fix
1946
1947 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * insettext.C (read): assign tmp to paragraphs after return from
1950         call to parseSingleLyXformat2Token
1951
1952
1953 2002-08-13  Angus Leeming  <leeming@lyx.org>
1954
1955         * insetbib.C:
1956         * insetcite.C:
1957         * inseterror.C:
1958         * insetert.C:
1959         * insetexternal.C:
1960         * insetfloat.C:
1961         * insetfloatlist.C:
1962         * insetgraphics.C:
1963         * insetinclude.C:
1964         * insetindex.C:
1965         * insetminipage.C:
1966         * insetparent.C:
1967         * insetref.C:
1968         * insettabular.C:
1969         * insettext.C:
1970         * insettoc.C:
1971         * inseturl.C:
1972         changes due to the changed LyXView interface that now returns references
1973         to member variables not pointers.
1974
1975 2002-08-13  Angus Leeming  <leeming@lyx.org>
1976
1977         * inset.h:
1978         * insetcollapsable.h:
1979         * insetert.h:
1980         * insettabular.h:
1981         * insettext.h: forward-declare WordLangTuple
1982         (selectNextWordToSpellcheck) constify return type.
1983
1984         * inset.C:
1985         * insetcollapsable.C:
1986         * insetert.C:
1987         * insettabular.C:
1988         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1989
1990 2002-08-12  Angus Leeming  <leeming@lyx.org>
1991
1992         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1993
1994 2002-08-12  Juergen Vigna  <jug@sad.it>
1995
1996         * insetcollapsable.C (edit): ignore if entered when pressing mouse
1997         button 3.
1998
1999 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2000
2001         * insetbib.C (bibitemMaxWidth): ParagraphList changes
2002         (bibitemWidest): ditto
2003         * insettext.[Ch]: ditto
2004
2005 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2006
2007         * insettext.C, insetert.C: use Paragraph::empty where appropriate
2008
2009 2002-08-09  Angus Leeming  <leeming@lyx.org>
2010
2011         * insetinclude.C (latexString): remove fudge now that I've found out
2012         how to enable LaTeX to find the file using input@path.
2013
2014 2002-08-09  John Levon  <levon@movementarian.org>
2015
2016         * insettext.h:
2017         * insettext.C: remove unused xpos
2018
2019 2002-08-07  Juergen Vigna  <jug@lyx.org>
2020
2021         * insettabular.C (localDispatch): make delete not put the stuff
2022         in the clipboard only do this on a cut operation.
2023
2024         * insettext.C (localDispatch): make delete and backspace not put
2025         selected stuff to the clipboard.
2026
2027 2002-08-07  André Pönitz <poenitz@gmx.net>
2028
2029         * inset.[Ch]:
2030         * insetcollapsable.[Ch]:
2031         * insetert.[Ch]:
2032         * insetparent.[Ch]:
2033         * insetref.[Ch]:
2034         * insettabular.[Ch]:
2035         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
2036
2037 2002-08-06  John Levon  <levon@movementarian.org>
2038
2039         * inset.h:
2040         * inset.C:
2041         * insetcollapsable.h:
2042         * insetcollapsable.C:
2043         * insetert.h:
2044         * insetert.C:
2045         * insettabular.h:
2046         * insettabular.C:
2047         * insettext.h:
2048         * insettext.C: use WordLangTuple for spellcheck
2049
2050 2002-08-06  Angus Leeming  <leeming@lyx.org>
2051
2052         * insetinclude.C: add a monitor to the previewed image, so that the
2053         image is refreshed if the \input-ed file changes.
2054
2055 2002-08-04  John Levon  <levon@movementarian.org>
2056
2057         * inset.h:
2058         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2059
2060 2002-08-02  Angus Leeming  <leeming@lyx.org>
2061
2062         * insetcommandparams.[Ch] (preview): new methods returning and setting
2063         a new bool preview_ flag.
2064         (read): read this flag.
2065         (operator==): add flag to check.
2066
2067         * insetinclude.C (write): output new preview() flag.
2068         (previewWanted): use this flag.
2069
2070 2002-08-02  Angus Leeming  <leeming@lyx.org>
2071
2072         * insetcollapsable.[Ch] (addPreview):
2073         * insettabular.[Ch] (addPreview):
2074         * insettext.[Ch] (addPreview): new methods. Can now generate previews
2075         for insets in insets.
2076
2077 2002-08-02  Angus Leeming  <leeming@lyx.org>
2078
2079         * insetcite.C: fix typo.
2080
2081         * insetgraphics.C: kill current_view and instead cache the BufferView
2082         as a weak_ptr.
2083
2084         * insetinclude.C: kill current_view and pass the BufferView to the
2085         PreviewedInset so that it can cache it.
2086
2087 2002-08-01  Angus Leeming  <leeming@lyx.org>
2088
2089         * inset.h (generatePreview): renamed as addPreview.
2090         (generatePreview): new method. Allows code to be moved out of
2091         math_nestinset.C and into the new PreviewedInset class.
2092
2093         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2094         add previews to the inset when \input-ing LaTeX.
2095
2096 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * several files: strip,frontStrip -> trim,ltrim,rtrim
2099
2100 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2101
2102         * insetbib.C (latex): modify because of strip changes
2103         (getKeys): ditto
2104         * insetnote.C (InsetNote): ditto
2105
2106 2002-07-26  Juergen Vigna  <jug@sad.it>
2107
2108         * insettabular.C (searchForward): check for lastcell if we
2109         had a locking inset.
2110
2111 2002-07-25  Juergen Vigna  <jug@sad.it>
2112
2113         * insettabular.C (insetMotionNotify): Don't update the screen
2114         if we didn't do nothing.
2115         (searchForward): last cell was not checked.
2116
2117 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2118
2119         * insetfloat.C (read, write): Allow default placement
2120         (floatPlacement_ is empty).
2121
2122 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2123
2124         * insetminipage.h (noFontChange):
2125         * insettabular.h (noFontChange):
2126         * insetfootlike.h (noFontChange):
2127         * insetfloat.h (noFontChange): return true
2128
2129         * inset.h (noFontChange): new method, defaulting to false
2130
2131 2002-07-22  Herbert Voss  <voss@lyx.org>
2132
2133         * insetgraphicsParams.[Ch]: support size_type for old docs
2134
2135 2002-07-22  Herbert Voss  <voss@lyx.org>
2136
2137         * insetgraphics.C:
2138         * insetgraphicsParams.[Ch]: change size_type to size_kind and
2139         other small changes
2140
2141 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2142
2143         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2144
2145         * insetlatexaccent.h: do not include "lyxlex.h"
2146
2147         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2148
2149         * insetquotes.C:
2150         * insetlatexaccent.C:
2151         * insetgraphics.C:
2152         * insetexternal.C:
2153         * insetert.C:
2154         * insetbib.C: #include "lyxlex.h"
2155
2156         * insetinclude.C:
2157         * insetfloat.C:
2158         * insetert.C:
2159         * insetbib.C:
2160         * insettext.C: use BufferParams::getLyXTextClass
2161
2162
2163         * insetfloat.C (addToToc): new method. Add to toclist the entries
2164         corresponding to Caption layouts
2165         (InsetFloat): when creating a new float, set the layout to "Caption"
2166
2167 2002-07-21  Herbert Voss  <voss@lyx.org>
2168
2169         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2170         image relevant part into graphics/GraphicsImgae.C
2171
2172 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2173
2174         * insettoc.C (ascii):
2175         * insetfloatlist.C (ascii): change to use the new Toc functions
2176         instead of stuff that was in Buffer
2177
2178 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2179
2180         * insettext.C (localDispatch): BufferView::Dispatch has been
2181         renamed to BufferView::dispatch
2182
2183 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2184
2185         * insetgraphicsParams.C (as_grfxParams): use the new
2186         keepLyXAspectRatio parameter. Note that this is an adaptation of a
2187         1.2.0 patch, and I do not really know how to adapt it to the new
2188         grfx::Cache world. Angus, please could you have a look?
2189
2190 2002-05-01  Herbert Voss  <voss@lyx.org>
2191
2192         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2193
2194 2002-07-18  Angus Leeming  <leeming@lyx.org>
2195
2196         * insetgraphics.C: clean-up comments (from Herbert).
2197         add a new checksum variable to the cache. Use it in PrepareFile.
2198         (draw): start monitoring the file for a change.
2199         (prepareFile): re-arrange a little to avoid unnecessary steps.
2200
2201 2002-07-17  Angus Leeming  <leeming@lyx.org>
2202
2203         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2204         a method rather than to the signal directly.
2205
2206 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2207
2208         * insettext.C: use view_state_changed, switchKeyMap
2209
2210 2002-07-17  Herbert Voss  <voss@perce.de>
2211
2212         * insetgraphics.C (prepareFile): keep the extension when
2213         exporting to nice file
2214
2215 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2216
2217         * insetcite.C (getNatbibLabel):
2218         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2219
2220 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
2221
2222         * insetgraphics.C: use ->isDrawable()
2223
2224 2002-07-12  Angus Leeming  <leeming@lyx.org>
2225
2226         * insetgraphics.C: use the new smart loading capabilities of the image
2227         loader.
2228
2229 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2230
2231         * insettabular.C (edit): Move into correct cell when entering a
2232         tabular in
2233
2234         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2235         RTL paragraphs.
2236
2237 2002-07-05  Angus Leeming  <leeming@lyx.org>
2238
2239         * inset.h (generatePreview): new virtual method.
2240
2241 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2242
2243         * insetcommandparams.[Ch] (operator=): move out of class
2244         (operator!): move out of class
2245
2246 2002-07-04  André Pönitz <poenitz@gmx.net>
2247
2248         * insetcommandparams.[Ch]: new files
2249
2250         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2251
2252 2002-06-15  Herbert Voss  <voss@perce.de>
2253
2254         * insetgraphics.C (prepareFile): bugfix; return always
2255         files without extension
2256
2257 2002-06-28  Angus Leeming  <leeming@lyx.org>
2258
2259         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2260         rename asGParams -> as_grfxParams.
2261
2262         * insetgraphics.C: reflect above change.
2263
2264 2002-06-26  Angus Leeming  <leeming@lyx.org>
2265
2266         * insetgraphics.h: use boost::scoped_ptr in preference to
2267         std::auto_ptr.
2268
2269 2002-06-26  Angus Leeming  <leeming@lyx.org>
2270
2271         * insetgraphics.C: moved the image loading stuff into a new class
2272         grfx::Loader. Simplifies this file enormously.
2273
2274         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2275
2276         * insetgraphicsParams.C: changes aassociated with moving
2277         grfx::DisplayType out of grfx::GParams.
2278
2279 2002-06-26  André Pönitz <poenitz@gmx.net>
2280
2281         * insetgraphics.C: use os::external_path where necesaary according to a
2282         patch from Claus Hentschel)
2283
2284 2002-06-25  Angus Leeming  <leeming@lyx.org>
2285
2286         * insetgraphics.[Ch]: The inset now assumes the responsibility for
2287         generating a pixmap once the graphics file is loaded into memory.
2288         The current_view ugliness that was in grfx::ModifiedImage has been
2289         moved here now that grfx::ModifiedImage is no more.
2290
2291 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2292
2293         * insettext.C: layout as layout
2294
2295 2002-05-28  André Pönitz <poenitz@gmx.net>
2296
2297         * insetfloatlist.h: remove source of compiler warning
2298
2299         * insetref.C: tiny whitespace
2300
2301 2002-06-15  Herbert Voss  <voss@perce.de>
2302
2303         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2304         and take always convert when no userdefined converter was
2305         found
2306         (latex) small changes in the lyxerr output
2307
2308 2002-06-15  LyX Development team <lyx@rilke>
2309
2310         * inset*.[Ch] (docbook): Added new argument to take the pernicious
2311         mixed content. Small white spaces clean.
2312
2313 2002-06-14  Angus Leeming  <leeming@lyx.org>
2314
2315         * inseetexternal.C: remove the using std::difftime declaration.
2316
2317 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
2318
2319         * insetquotes.C: change lyxfont::draw to font_metrics::draw
2320
2321 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
2322
2323         * insetquotes.C (draw): fix drawing of double quotes
2324
2325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2326
2327         * insettabular.C: s/scrollCB/scrollDocView/
2328
2329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2330
2331         * insettext.C: change of topCursorVisible()
2332           prototype
2333
2334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2335
2336         * insettext.h:
2337         * insettext.C: rename/change of LyXScreen
2338
2339 2002-06-07  Angus Leeming  <leeming@lyx.org>
2340
2341         Fixes needed to compile with Compaq cxx 6.5.
2342         * insetexternal.C:
2343         all c-library variables have been moved into namespace std.
2344         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2345
2346 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2347
2348         * insetinclude.C (uniqueID):
2349         * insetgraphics.C (uniqueID): renamed from unique_id, since this
2350         conflicted with some AIX headers.
2351
2352 2002-05-31  Juergen Vigna  <jug@sad.it>
2353
2354         * insetert.C (get_new_label): add '...' for multi-paragraph ert
2355         insets too
2356         (update) new method
2357
2358 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2359
2360         * insetexternal.C (clone): fix () bug when using new
2361         (updateExternal): don't only look for difftime in global scope
2362
2363 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
2364
2365         * insettabular.C: add const
2366
2367 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2368
2369         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2370         file name, in case there are weird characters like ',' in there.
2371         (bug #407)
2372
2373 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2374
2375         * switch from SigC signals to boost::signals.
2376
2377 2002-05-28  André Pönitz <poenitz@gmx.net>
2378
2379         * insets/insetgraphicsParams.[Ch]:
2380           put in inset related stuff from src/graphic
2381
2382 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2383
2384         * inset.C:
2385         * inset.h:
2386         * insetbib.C:
2387         * insetbib.h:
2388         * insetcite.h:
2389         * insetcite.C:
2390         * insetcollapsable.C:
2391         * insetcollapsable.h:
2392         * inseterror.C:
2393         * inseterror.h:
2394         * insetert.C:
2395         * insetert.h:
2396         * insetexternal.C:
2397         * insetexternal.h:
2398         * insetfloatlist.C:
2399         * insetfloatlist.h:
2400         * insetgraphics.C:
2401         * insetgraphics.h:
2402         * insetinclude.C:
2403         * insetinclude.h:
2404         * insetindex.C:
2405         * insetindex.h:
2406         * insetlabel.C:
2407         * insetlabel.h:
2408         * insetparent.C:
2409         * insetparent.h:
2410         * insetref.C:
2411         * insetref.h:
2412         * insettabular.C:
2413         * insettabular.h:
2414         * insettext.C:
2415         * insettext.h:
2416         * insettoc.C:
2417         * insettoc.h:
2418         * inseturl.C:
2419         * inseturl.h: use mouse_state. Kill insetKeyPress
2420
2421 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
2422
2423         * insetbib.C:
2424         * insetbutton.C:
2425         * insetcaption.C:
2426         * insetcollapsable.C:
2427         * inseterror.C:
2428         * insetgraphics.C:
2429         * insetlatexaccent.C:
2430         * insetquotes.C:
2431         * insetspecialchar.C:
2432         * insettabular.C:
2433         * insettext.C: name change for font metrics
2434
2435 2002-05-24  Juergen Vigna  <jug@sad.it>
2436
2437         * insetgraphics.h: include inset.h first (for LString.h)
2438
2439 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2440
2441         * insettext.C: screen moved
2442
2443 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2444
2445         * insetbib.C:
2446         * insetcite.C:
2447         * inseterror.C:
2448         * insetert.C:
2449         * insetexternal.C:
2450         * insetfloat.C:
2451         * insetfloatlist.C:
2452         * insetgraphics.C:
2453         * insetinclude.C:
2454         * insetindex.C:
2455         * insetminipage.C:
2456         * insetparent.C:
2457         * insetref.C:
2458         * insettabular.C:
2459         * insettext.C:
2460         * insettoc.C:
2461         * inseturl.C: LyXView moved into frontends/
2462
2463 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2464
2465         * inset.C:
2466         * insetbutton.C:
2467         * insetcaption.C:
2468         * insetcollapsable.C:
2469         * insetcommand.C:
2470         * inseterror.C:
2471         * insetgraphics.C:
2472         * insetgraphicsParams.C:
2473         * insetlatexaccent.C:
2474         * insetquotes.C:
2475         * insetspecialchar.C:
2476         * insettabular.C:
2477         * insettext.C: move Painter to frontends/
2478
2479 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2480
2481         * insettabular.h: use more specific smart_ptr header.
2482         * insettext.h: ditto
2483
2484         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2485         (draw): ditto
2486
2487 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
2488
2489         * insettext.C: clear selection on paste (bug 393)
2490
2491 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
2492
2493         * insettext.C (latex): Honor the moving_arg argument.
2494
2495 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2496
2497         * insetfoot.C (latex): if a footnote is in a title layout, then it
2498         is a \thanks. And then, its contents is a moving argument.
2499
2500 2002-05-14  Juergen Vigna  <jug@sad.it>
2501
2502         * insetcollapsable.C (InsetCollapsable): forgot to initialize
2503         first_after_edit.
2504
2505 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
2506
2507         * Insetcite.C (getNatbibLabel): don't disable natbib label support
2508         when using options "Full author list" or "Upper case".
2509
2510 2002-05-14  Herbert Voss  <voss@perce.de>
2511
2512         * insetgraphics.C (prepareFile): allow files with same name
2513         in different dirs
2514         (readFigInset): set the flags from old figinset in the right
2515         manner
2516         (findTargetFormat): more comments
2517
2518 2002-05-14  Juergen Vigna  <jug@sad.it>
2519
2520         * insettext.C (edit): tell checkAndActivateInset() that we don't
2521         have a button press.
2522         (checkAndActivateInset): if button < 0 we don't have a button press
2523         on the inset and os we won't call edit on it if it's not a Highly
2524         editable inset (then we have to enter it).
2525
2526 2002-05-13  Juergen Vigna  <jug@sad.it>
2527
2528         * insetcollapsable.C (insetButtonRelease): returned wrong return
2529         value.
2530
2531 2002-05-09  Juergen Vigna  <jug@sad.it>
2532
2533         * insetcollapsable.C (edit): first_after_edit should only be
2534         set to true if we enter this inset and it was collapsed so we
2535         open it up. This is needed to reclose it after a search/replace
2536         or spellcheck function opened it and was negative.
2537
2538 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
2539
2540         * insetfloat.C (latex): Return correct value.
2541
2542 2002-05-04  Herbert Voss  <voss@perce.de>
2543
2544         * InsetgraphicsParams.C (read): fix bug with WH
2545
2546 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
2547
2548         * insetfloat.C (latex): More sensible latex output
2549         (fix the problem with endfloat).
2550
2551 2002-05-02  José Matos  <jamatos@fep.up.pt>
2552
2553         * insetgraphics.C (validate): acess params as everyone else.
2554
2555 2002-05-03  Juergen Vigna  <jug@sad.it>
2556
2557         * insettabular.C (fitInsetCursor): recalculate the cursor position
2558         if I request it.
2559
2560 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
2561
2562         * InsetgraphicsParams.[Ch]: whitespace.
2563
2564 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
2565
2566         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2567         float type do not exist.
2568
2569 2002-04-28  Herbert Voss  <voss@perce.de>
2570
2571         * insetgraphics.C (latex): fix bug with missing file-extension.
2572         LaTeX still allows a missing "eps" or "ps".
2573
2574 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2575
2576         * insetfloat.C (c-tor, wide): translate the name of the float.
2577
2578 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
2579
2580         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
2581         when using natbib and make it work efficiently. Must emphasise that the
2582         real work is Herbert's.
2583
2584 2002-04-23  Herbert Voss  <voss@perce.de>
2585
2586         * insetgraphic.C (prepareFile): fix bug with overwriting and
2587         deleting an existing *.eps-file in the doc-dir
2588
2589 2002-04-23  Juergen Vigna  <jug@sad.it>
2590
2591         * insettabular.C (drawCellSelection): fix off by 1 error.
2592
2593 2002-04-22  Juergen Vigna  <jug@sad.it>
2594
2595         * insettabular.C (setFont): rewoke full selection if it was asked,
2596         after we changed all we had to change.
2597
2598         * insettext.C (insetUnlock): code was uninitialized in some situations.
2599
2600 2002-04-19  Herbert Voss  <voss@perce.de>
2601
2602         * insetgraphic.C (prepareFile): return filename without
2603         extension if we only export without compiling
2604
2605 2002-04-19  Juergen Vigna  <jug@sad.it>
2606
2607         * insettext.C (draw): call a fullRebreak on the row where we had a
2608         change and reset the cursor and selection-cursors.
2609
2610         * insettabular.C (insetUnlock):
2611         (insetButtonPress): call an update before setting the_locking_inset = 0
2612         as otherwise we don't repaint!
2613         (update): reset the cursor position when we changed dimensions as
2614         otherwise our cursor may be on the wrong spot.
2615
2616 2002-04-18  Juergen Vigna  <jug@sad.it>
2617
2618         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
2619         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
2620         redraw otherwise we won't redraw.
2621
2622         * insettext.C (draw): fixed the setting of LyXText::first_y it was
2623         not really right before, but I only discovered this with the last
2624         changes to Page up/down.
2625
2626 2002-04-17  Juergen Vigna  <jug@sad.it>
2627
2628         * insettext.C (checkAndActivateInset): simplified as we now have the
2629         edit(bv, bool) call.
2630
2631         * insettext.h: changed behind variables to front variables to be
2632         equal to the one in the edit call (as it is for that they are used).
2633
2634 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2635
2636         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
2637         not output anything at all!
2638
2639 2002-04-16  Juergen Vigna  <jug@sad.it>
2640
2641         * insettabular.C (insetButtonPress):
2642         (insetUnlock): call a redraw on unlocking the cell inset.
2643
2644         * insettext.C (insetButtonPress): same as below.
2645         (lockInset): new function to set initial values when inset should
2646         be locked.
2647         (insetButtonPress): use above function.
2648         (insetUnlock): don't force a repaint only set the updateStatus. The
2649         outside world should repaint if it thinks it should be done!
2650
2651         * insettabular.C (insetButtonPress): init values if not set as locked
2652         as we are locked if someone presses on us and don't call the edit()
2653         call of the InsetText to lock it do it as BufferView does it!
2654
2655         * inset.h (insetInInsetY): make func const and return an int.
2656         * insettext.C:
2657         * insettabular.C:
2658         * insetcollapsable.C: adapt the above changed function.
2659
2660 2002-04-15  Juergen Vigna  <jug@sad.it>
2661
2662         * insettext.C (getCursorPos): return relative position as to be able
2663         to give them directly to the edit() call.
2664         (edit): we have to set also x_fix as it is not set inside the
2665         setCursorFromCoordinates call!
2666         (insetMotionNotify): ditto.
2667
2668 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2669
2670         * insetbib.C (getKeys): strip leading '\t's from the line too.
2671         With thanks to Henry Pfister <hpfister@ucsd.edu>.
2672
2673 2002-04-12  Juergen Vigna  <jug@sad.it>
2674
2675         * insettext.h: added cix() helper function and use it where appropriate
2676
2677 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2678
2679         * insetgraphics.C (prepareFile): fix bug when graphics is a
2680         relative path
2681
2682 2002-04-12  Juergen Vigna  <jug@sad.it>
2683
2684         * insettext.C (insertInset): remove unneeded code!
2685         (updateLocal): fitCursor() fixes.
2686         (collapseParagraphs): fix a possible problem when having a selection
2687         and collapsing the paragraphs.
2688
2689 2002-04-08  Herbert Voss  <voss@perce.de>
2690
2691         * insetgraphic.C (write): write the rotating angle as
2692         a float as is. test only for != 0.0
2693
2694 2002-04-11  Juergen Vigna  <jug@sad.it>
2695
2696         * insettext.C: new function ciy() and use it for setting inset_y.
2697
2698         * insetert.C (draw): fix the x return for collapsed version.
2699
2700 2002-04-07  Herbert Voss  <voss@perce.de>
2701
2702         * insetgraphic.C (readFigInset): fix bug with subcaption and
2703         rotating
2704
2705 2002-04-08  Herbert Voss  <voss@lyx.org>
2706
2707         * insetgraphicsparam.C: forgot special option and delete old
2708         1.2.0 stuff
2709
2710 2002-04-05  Juergen Vigna  <jug@sad.it>
2711
2712         * insettext.C (localDispatch): make a CURSOR update if we inserted
2713         a character.
2714
2715 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2716
2717         * insetfloatlist.C (getScreenLabel):
2718         (latex): use Floating::listName
2719         (validate): new method
2720
2721 2002-04-03  José Matos  <jamatos@fep.up.pt>
2722
2723         * insetlabel.C (docbook): the anchor is an empty element in docbook.
2724
2725         * insetfoot.[Ch] (docbook): added forgotten method.
2726
2727 2002-04-03  Juergen Vigna  <jug@sad.it>
2728
2729         * insettext.C (insetButtonPress): fix insetButtonPress events the same
2730         way as in Bufferview_pimpl.
2731
2732 2002-04-03  Allan Rae  <rae@lyx.org>
2733
2734         * insetgraphics.C (latex): one % too many makes living on the bleeding
2735         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2736
2737 2002-03-28  Herbert Voss  <voss@lyx.org>
2738
2739         * insetgraphic.C (latex): simplify the code for the latex
2740         output when the file doesn't exist
2741
2742 2002-03-29  Juergen Vigna  <jug@sad.it>
2743
2744         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2745         unlocking inset.
2746
2747         * insettabular.C (edit): call fitCursor().
2748
2749         * insettext.C (insetButtonPress): change behaviour of no_selection
2750         to the one in the BufferView selection_possible and fix the spurious
2751         selection bug with it.
2752         (localDispatch): revoke selection on BREAK... functions.
2753
2754 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2755
2756         * insetfloatlist.C (getScreenLabel): translate the GUI label.
2757
2758 2002-03-28  Juergen Vigna  <jug@sad.it>
2759
2760         * insettabular.C (insetAllowed): return true as default value otherwise
2761         we're not able to insert insets inside paragraphs of an not locked
2762         insettext!
2763
2764 2002-03-27  Herbert Voss  <voss@lyx.org>
2765
2766         * insetgraphicsparam.C: change c%, p% to col%, page%
2767
2768 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2769
2770         * insetspecialchar.C (isLineSeparator): disable the nice code to
2771         allow linebreaks after hyphenation and menu separators.
2772
2773 2002-03-26  Herbert Voss  <voss@lyx.org>
2774
2775         * insetgraphics.C (figinsetRead): set the right lyxview
2776
2777 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
2778
2779         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2780         $\backslash$ and pass a "string const &" to the function.
2781         (prepareFile, latex): use Path rather than MakeAbsPath.
2782
2783 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
2784
2785         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2786         proper fix to the graphics cache.
2787         (latex): "really" nice output if the file is not found ;-)
2788
2789 2002-03-26  Juergen Vigna  <jug@sad.it>
2790
2791         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2792         (collapseParagraphs): fixed inserting of separator ' '
2793
2794         * insettabular.C (insertAsciiString): only check for buffer lenght
2795         not if we have \t or \n inside the buffer as if we don't have we only
2796         have 1 cell and that's it!
2797
2798         * insetert.C (close): don't collapse if inlined.
2799
2800 2002-03-25  Herbert Voss  <voss@lyx.org>
2801
2802         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
2803         graphics file does not exist.
2804
2805 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
2806
2807         * insetgraphics.C (prepareFile): ensure that the file has an absolute
2808         path when preparing export.
2809
2810         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2811         no longer MakeRelPath.
2812
2813 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
2814
2815         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2816         Used to determine the absolute path to the graphics file in the
2817         graphics cache and only in the graphics cache.
2818         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2819         make graphics file name absolute if it is stored as a relative path.
2820
2821         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2822         make graphics file name absolute if it is stored as a relative path.
2823
2824         * insettext.C (edit): emit an updateParagraph signal on entering a text
2825         inset. Needs to be emitted when leaving the inset also.
2826
2827 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2828
2829         * all files: ws cleanup
2830
2831         * Makefile.am: remove ld -r stuff
2832
2833 2002-03-21  Juergen Vigna  <jug@sad.it>
2834
2835         * insettext.C (appendParagraphs): new function added to append
2836         the paragraphs to this insets paragraphs.
2837
2838 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2839
2840         * Makefile.am: special rules if partial linking
2841
2842 2002-03-19  Juergen Vigna  <jug@sad.it>
2843
2844         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2845
2846 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
2847
2848         * insetgraphics.C: Clean up Baruch's comments a little.
2849         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2850
2851 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
2852
2853         * insettabular.C:
2854         * insettheorem.C: wrap warnings
2855
2856         * insetgraphics.C: improve messages, move cached_status_
2857           setting to safer place
2858
2859 2002-03-18  Juergen Vigna  <jug@sad.it>
2860
2861         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2862         calls.
2863         (localDispatch): ditto
2864
2865         * insettext.C (edit): removed unneeded showCursor calls.
2866         (localDispatch): ditto.
2867
2868 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2869
2870         * insetgraphics.h: remove display() method.
2871
2872 2002-03-11  Juergen Vigna  <jug@sad.it>
2873
2874         * insetgraphics.C (draw): hack to fix the redrawing bug.
2875         (draw): seems this fixes #268 (force redraw of row if we changed).
2876
2877         * insettext.C (updateInsetInInset): fixed for updates in insets inside
2878         this inset text (don't know why I missed this earlier).
2879
2880 2002-03-08  Juergen Vigna  <jug@sad.it>
2881
2882         * insettabular.C (updateLocal): do a FULL update if we're not locked
2883         and only a CELL update is asked.
2884
2885         * insettext.C (updateInsetInInset): update insets inside inset also
2886         if it isn't inside the_locking_inset.
2887
2888         * insettabular.C (updateInsetInInset): ditto.
2889
2890 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2891
2892         * insetexternal.C (doSubstitution): check whether we are using a
2893         temp dir for defining $$FPath
2894
2895 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
2896
2897         * insettabular.C:
2898         * insettext.C: remove #include "WorkArea.h".
2899
2900 2002-03-06  Juergen Vigna  <jug@sad.it>
2901
2902         * insettext.C (draw): fixed frame redrawing.
2903         (clear): forgot to set the inset_owner of the paragraph.
2904
2905         * insetert.C (status): pay attention the bv can be 0 here!
2906         (getMaxWidth): add the default leftMargin
2907
2908 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2909
2910         * insetert.C (getMaxWidth): make w unsigned int.
2911
2912 2002-03-05  Juergen Vigna  <jug@sad.it>
2913
2914         * insetert.C (status): change behaviour of Inlined.
2915         (getMaxWidth): added for new inlined behaviour.
2916
2917 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2918
2919         * insetnote.h (linuxdoc, docbook): add empty methods.
2920         * insetinclude.C (validate): fix a case where buffer->niceFile was used
2921         before being initialized.
2922
2923 2002-03-05  Juergen Vigna  <jug@sad.it>
2924
2925         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2926         only that one in the inset. Should be enough.
2927         (updateLocal): set the selection cursor always if we don't have a
2928         selection to be sure it's set!
2929
2930         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2931
2932 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2933
2934         * insettext.C (clear): a gross hack to set layout on a newly
2935         created paragraph.
2936
2937 2002-03-04  Juergen Vigna  <jug@sad.it>
2938
2939         * insettabular.C (localDispatch): inserted handling of
2940         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2941         (insertAsciiString): new helper function.
2942
2943 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2944
2945         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2946         argument.
2947
2948 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2949
2950         * insettext.C (InsetText): initalize newly created par with
2951         default layout. add bufferparams parameter
2952         first -> first_y
2953
2954         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2955         * insetcollapsable.[Ch] (InsetCollapsable): ditto
2956         * insetert.[Ch] (InsetERT): ditto
2957         * insetfloat.[Ch] (InsetFloat): ditto
2958         * insetfoot.[Ch] (InsetFoot): ditto
2959         * insetfootlike.[Ch] (InsetFootLike): ditto
2960         * insetmarginal.[Ch] (InsetMarginal): ditto
2961         * insetminipage.[Ch] (InsetMinipage): ditto
2962         * insetnote.[Ch] (InsetNote): ditto
2963         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2964
2965 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2966
2967         * insettext.C: layout as string
2968
2969         * insetinclude.C: layout as string
2970
2971         * insetert.C: layout as string
2972
2973         * insetbib.C: layout as string
2974
2975 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
2976
2977         * insetert.C:
2978         * insettabular.C: remove #include "lyx_gui_misc.h".
2979
2980 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
2981
2982         * Makefile.am:
2983         * figinset.h:
2984         * figinset.C:
2985         * inset.h: remove figinset, yahoo !
2986
2987 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
2988
2989         * insetgraphics.C (c-tors): initialise parent classes explicitly in
2990         copy c-tor and initialise member variables in the correct order.
2991
2992 2002-02-28  Juergen Vigna  <jug@sad.it>
2993
2994         * insettabular.C (localDispatch): clear selection on PgUp/Down.
2995
2996 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2997
2998         * inset.h: ... and add a better one here.
2999
3000         * insetcommand.C (insetButtonRelease): remove that one which was a
3001         bit broken...
3002
3003 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3004
3005         * insetcommand.C (insetButtonRelease): ... and move it here.
3006
3007         * inseturl.h: remove insetButtonRelease from there...
3008
3009 2002-02-26  Juergen Vigna  <jug@sad.it>
3010
3011         * inseturl.h: Added a insetButtonRelease call returning true as
3012         prove of concept.
3013
3014         * insetlabel.C (edit): Fixed wrong update handling after change I
3015         leave in the wrong code for the one who wrote it to remove and have
3016         a look what he did wrong.
3017
3018         * insettabular.C (localDispatch): force a SELECTION update if we
3019         had a selection and we passed the event down to the inset (fix #213)
3020         (localDispatch): handle font changing stuff when we have a cell
3021         selection so that the selection is not rewoked. I don't really like
3022         this fix, but it's the only way I see to do it right now.
3023
3024 2002-02-22  Juergen Vigna  <jug@sad.it>
3025
3026         * insettext.C (insetUnlock): set the cursor to the second paragraph
3027         if available and if the first one is empty (fix #191).
3028
3029 2002-02-20  Juergen Vigna  <jug@sad.it>
3030
3031         * insettext.C (getDrawFont): implemented this function to call the
3032         one of the owner if present as the owner normally knows what to do
3033         with us.
3034
3035         * insetert.C: implement getDrawFont() function and comment out all
3036         the crap for setting a special latex font inside this inset.
3037         (InsetERT): added a Lanugage parameter to this constructor.
3038
3039         * inset.h: added function getDrawFont(LyXFont & font) to be able to
3040         change the font for being drawn on screen (used only in InsetERT for
3041         now).
3042
3043         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3044         and also above (was missing).
3045         (updateLocal): don't remove the cell selection if we have one this
3046         should be done where we really want to remove it.
3047
3048 2002-02-20  José Matos  <jamatos@fep.up.pt>
3049
3050         * insetinclude.h: include_label made string const.
3051
3052         * insetinclude.C (InsetInclude): moved include_label initialization.
3053         (linuxdoc):
3054         (docbook):
3055         (validate): fix support for temporary directory, for docbook and
3056         linuxdoc.
3057
3058         * insetgraphics.h : new private member, graphic_label, that holds
3059         the entity name that defines the graphics location (SGML).
3060
3061         * insetgraphics.C (unique_id): new function to give a unique label
3062         for graphic.
3063         (docbook):
3064         (validate): the file locatation is given by an entity reference.
3065
3066 2002-02-18  Herbert Voss  <voss@lyx.org>
3067
3068         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3069
3070 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
3071
3072         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3073         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3074
3075 2002-02-18  José Matos  <jamatos@fep.up.pt>
3076
3077         * insetinclude.C (validate): some code only applies to latex buffers,
3078         it was made conditional.
3079
3080 2002-02-12  Herbert Voss  <voss@lyx.org>
3081
3082         * insetgraphics.C: (prepareFile) do not check at this time
3083         if the file is present.
3084
3085 2002-02-12  Herbert Voss  <voss@lyx.org>
3086
3087         * insetgraphics.C: latex(), return the correct newlines
3088
3089 2002-02-13  José Matos  <jamatos@fep.up.pt>
3090
3091         * inseturl.C (docbook): escape & in url.
3092
3093 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3094
3095         * insetspecialchar.C (isLineSeparator): line breaking is allowed
3096         after HYPHENATION and MENU_SEPARATOR
3097
3098         * inset.h (isLineSeparator): new method, returns false by default.
3099
3100 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3101
3102         * insetert.C (status): do not update the text inset, but the ERT
3103         inset.
3104
3105 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
3106
3107         * insetnote.C: use notebg for background
3108
3109 2002-02-08  Herbert Voss  <voss@lyx.org>
3110
3111         * insetgraphic.C:
3112         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3113         prevent LyX from unzipping when this should be handled
3114         by latex vis the graphic.cfg.
3115         clean up the code
3116
3117 2002-02-08  Herbert Voss  <voss@lyx.org>
3118
3119         * insetgraphic.C: prepareFile(): fix bug when file doesn't
3120         exists, than return filename with extension
3121
3122 2002-02-06  Herbert Voss  <voss@lyx.org>
3123
3124         * insetgraphic.C: prepareFile(): don't convert the file, when
3125         it's not viewed in LyX. Saves a lot of time when opening a
3126         document!
3127
3128 2002-02-05  Herbert Voss  <voss@lyx.org>
3129
3130         * insetgraphic.C:
3131         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3132         and adding a rotate bool similiar to subcaption
3133
3134 2002-02-04  Herbert Voss  <voss@lyx.org>
3135
3136         * insetgraphic.C:
3137         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3138         similiar view to the LaTeX one. Get zipped files work.
3139
3140 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3141
3142         * insetgraphicsParams.C (init): set display to DEFAULT.
3143         No longer #include "lyxrc.h".
3144
3145 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3146
3147         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3148         for now (so that the code compiles).
3149
3150 2002-02-02  Herbert Voss  <voss@lyx.org>
3151
3152         * insetgraphic.C: delete inVariant() and some minor changes
3153         * insetgraphicsParams.[C]:
3154
3155 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
3156
3157         * insetgraphics.C (updateInset): if params.display == DEFAULT,
3158         interogate lyxrc.display_graphics before diaplaying the graphic.
3159
3160         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3161         InsetGraphicsParams::DisplayType.
3162
3163 2002-01-31  Herbert Voss  <voss@lyx.org>
3164
3165         * insetgraphic.C: (readfigInset) set display to pref-default
3166
3167 2002-01-30  Herbert Voss  <voss@lyx.org>
3168
3169         * insetgraphic.C: get the filetyp from it's contents
3170         * insetgraphicparams.C: add token scale and lyxrc.display when
3171         creating a new inset
3172
3173 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
3174
3175         * figinset.C: added using std::ios directive.
3176
3177 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3178
3179         * figinset.C (runqueue): open translation file in binary mode (for
3180         cygwin).
3181
3182 2002-01-27  Herbert Voss  <voss@lyx.org>
3183
3184         * insetgraphic.[Ch]: mostly newritten to support graphicx with
3185         all options and to be sure that the old figinsets are correct
3186         converted.
3187         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3188         structure and to support all lengths as LyXLength. The Parameter
3189         structure changed again, but reading of "old" 1.2 graphic insets
3190         is no problem.
3191
3192 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
3193
3194         * insetert.h (forceDefaultParagraphs): Added
3195
3196 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3197
3198         * insettabular.C (getMaxWidth):
3199         (forceDefaultParagraphs): use Tabular::GetCellFromInset
3200
3201 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3202
3203         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3204         of LyXLength::inPixels
3205
3206         * inset.C (latexTextWidth):
3207         * insetminipage.C (latexTextWidth): new method, which implements
3208         the equivalent of the LaTeX macro \textwidth
3209
3210         * insetminipage.C (getMaxWidth): use latexTextWidth
3211
3212 2002-01-18  Juergen Vigna  <jug@sad.it>
3213
3214         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3215
3216 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3217
3218         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3219
3220         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3221         instead of string
3222
3223 2002-01-17  Juergen Vigna  <jug@sad.it>
3224
3225         * insettabular.C (lockInsetInInset): same change as in insettext.
3226
3227         * insettext.C (draw): width() function was called without setting
3228         the right top_x which could lead to wrong insetWidth setting!
3229         (lockInsetInInset): call edit instead of calling lockInset if we
3230         have to lock an inset inside!
3231         (edit): we have to also tell the inset that we have to redraw the
3232         frame on an edit call if this inset draws a frame only if locked.
3233
3234 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3235
3236         * insetbib.C (getFiles): uncomment Path variable.
3237
3238 2002-01-16  Juergen Vigna  <jug@sad.it>
3239
3240         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3241         of wrong cell.
3242
3243 2002-01-16  Allan Rae  <rae@lyx.org>
3244
3245         * insetinclude.C (docbook): someone forgot a ";"
3246
3247 2002-01-16  José Matos  <jamatos@fep.up.pt>
3248
3249         * figinset.C (docbook): removed a old place holder "@".
3250         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3251         * insetinclude.C (linuxdoc): if include is verbatim, then export the
3252         ascii text version, clearly guarded inside a CDATA section.
3253         (docbook): in docbook 4, inlinegraphics is empty.
3254         * insettabular.C (linuxdoc): export the ascii version of the table
3255         inside a CDATA section.
3256
3257 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3258
3259         * insetparent.C (InsetParent):
3260         * insetgraphicsParams.C (Write):
3261         (Read):
3262         * insetgraphics.C (prepareFile):
3263         (readFigInset):
3264         (docbook):
3265         * insetexternal.C (executeCommand):
3266         (doSubstitution): use Buffer::filePath
3267
3268         * insetbib.C (getFiles): add a #warning for Angus
3269
3270         * insetgraphics.C: Add a remark about how filenames should be
3271         considered to be relative to buffer (but absolute is still allowed)
3272         (draw): do not try to get status if lyxrc.use_gui is false
3273
3274 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3275
3276         * inset.[Ch]:
3277         * insetcollapsable.[Ch]:
3278         * insettabular.[Ch] (searchForward, searchBackward): change the
3279         bool const & params to bool.
3280
3281         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3282         to avoid the name clash with InsetCollapsable's methods of the same
3283         names but different functionality.
3284
3285 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3286
3287         * insettext.C (ascii): use lyx::count rather than countChar.
3288
3289 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
3290
3291         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3292
3293 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3294
3295         * insetgraphics.C (updateInset): do not try to render image if
3296         lyxrc.use_gui is false (bug #104)
3297
3298         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3299         if file does not exist
3300
3301         * figinset.C (browseFile): add shortcuts to directory buttons
3302
3303         * insettext.C (updateLocal): update menubar and toolbar here too.
3304
3305 2002-01-13  Allan Rae  <rae@lyx.org>
3306
3307         * insettabular.C (InsetTabular): Both constructors now initialise
3308         all class variables.
3309
3310 2002-01-11  Juergen Vigna  <jug@sad.it>
3311
3312         * insettext.C (insetButtonPress): set the_locking_inset to 0.
3313
3314 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3315
3316         * insettabular.C (getStatus): add forgotten brace around multiline
3317         if statement.
3318
3319 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3320
3321         * insetfloat.C (validate): require "float" instead of "floats".
3322
3323 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
3324
3325         * insettabular.C (getStatus): use FuncStatus
3326
3327 2002-01-08  Juergen Vigna  <jug@sad.it>
3328
3329         * insettabular.C (insetButtonRelease): now this should work too
3330         correctly.
3331
3332         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3333         if the width is a percentage.
3334
3335         * inset.h: added isChar() function and implemented this for
3336         insetspecialchar insetquotes and insetlatexaccent.
3337         added forceDefaultParagraphs() and implemented it for insettabular.
3338
3339 2002-01-07  Juergen Vigna  <jug@sad.it>
3340
3341         * insettext.C (getLyXText): Fixed this function. An insert into the
3342         map is only done if we REALLY have a new BufferView.
3343
3344 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
3345
3346         * insettext.C: fix bug illustrated by attachment #37 of bug #59
3347
3348 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
3349
3350         * insetinclude.C: fix use of FileInfo
3351
3352 2002-01-07  Juergen Vigna  <jug@sad.it>
3353
3354         * insettabular.C (draw): fixed clearing of cell around inset.
3355
3356 2002-01-05  Juergen Vigna  <jug@sad.it>
3357
3358         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3359         variables are updated.
3360
3361         * insettabular.C (resetPos): set always the inset_y as it may be
3362         needed in another function.
3363         (searchBackward): don't draw while searching.
3364
3365 2002-01-04  Juergen Vigna  <jug@sad.it>
3366
3367         * insettext.C (lockInsetInInset): forgot to set a cursor.
3368
3369 2002-01-02  Juergen Vigna  <jug@sad.it>
3370
3371         * insettext.C (insertInset): make the correct undo informations on
3372         inserting new insets.
3373
3374 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
3375
3376         * insettabular.C: correct single-cell select vertically
3377
3378 2001-12-27  Juergen Vigna  <jug@sad.it>
3379
3380         * insettabular.C (ascii): export as tab-separated-values if the
3381         function was not called from export (f.ex.: clipboard).
3382
3383         * insetcollapsable.h: added default support for ascii, linuxdoc and
3384         docbook export (the insettext is exported by default!)
3385
3386         * insettabular.C (copySelection): suff the clipboard with the tabular
3387         data in a tab separated format, seems more naturals then with all the
3388         formating.
3389
3390 2001-12-24  Juergen Vigna  <jug@sad.it>
3391
3392         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3393         to check for REAL mouseMotion.
3394
3395 2001-12-20  Juergen Vigna  <jug@sad.it>
3396
3397         * inset.C (cursor): return the owners cursor if available instead of
3398         always only the bv->text->cursor.
3399
3400         * insettabular.C (checkLongtableSpecial): works now.
3401
3402 2001-12-19  Juergen Vigna  <jug@sad.it>
3403
3404         * insettabular.C (tabularFeatures): fix the row setting of ltt as
3405         this has to be always row + 1 as 0 means not selected!
3406         (checkLongtableSpecial): added
3407         (tabularFeatures): better longtable options support
3408
3409         * insettext.C (resizeLyXText): reinit the text always also on a
3410         empty insettext!
3411
3412 2001-12-18  Juergen Vigna  <jug@sad.it>
3413
3414         * insettext.C (updateInsetInInset): look if we have to autocollapse
3415         paragraps and return if the update is requested for ourself.
3416
3417         * insetert.C (status): update the insettext not myself as that is what
3418         we need.
3419
3420         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3421         function only return if the update was requested with myself.
3422
3423         * insettext.C (insetButtonPress): fixed stupid bug.
3424         (various functions): pay attention that lt is cleared BEFORE calling
3425         updateLocal() and try to use it in the right manner (don't use it
3426         if it's not really neccessary!)
3427         (collapseParagraphs): insert a blank between collapsing paragraphs
3428         if neccessary (not already there!).
3429
3430 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3431
3432         * insettabular.C: move includes around a bit, add a couple of
3433         consts.
3434
3435         * insettext.[Ch]: move includes around a bit, other ws changes and
3436         small stuff.
3437
3438 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3439
3440         * insettext.C (insetButtonRelease): fix compile problem
3441
3442 2001-12-17  Juergen Vigna  <jug@sad.it>
3443
3444         * insettext.C (insetButtonPress): set the selection cursor!
3445         (insetButtonPress): clear the selection (and set with that the
3446         selection.cursor) if we only hit an inset!
3447
3448         * insetert.C (read): removed piece of compatibility code only needed
3449         for 1.2.0.
3450
3451         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3452         can be opened.
3453
3454         * insetcollapsable.C (insetButtonRelease): changed so that it can
3455         open eventual existing popup dialogs on mousebutton==3.
3456
3457         * insetfloat.C (insetButtonRelease): removed not needed anymore!
3458
3459         * insetminipage.C (insetButtonRelease): removed not needed anymore!
3460
3461         * inset.C (insetButtonRelease): return a bool for telling the outer
3462         world that we opened a dialog.
3463
3464 2001-12-07  Juergen Vigna  <jug@sad.it>
3465
3466         * insettext.C (paragraph): remove the deleteing of paragraphs as
3467         it was a WRONG move!
3468
3469 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3470
3471         * insettabular.h:
3472         * insettabular.C: use new setSelection(). Allow
3473           selection of single cells.
3474
3475 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3476
3477         * insetquotes.C (latex): fix to use the local language setting at
3478         the point where the inset is inserted (different macros for
3479         different french packages)
3480
3481 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3482
3483         * inset.h: add par_owner_ member variable and parOwner
3484         setter/accessor.
3485
3486 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3487
3488         * insettabular.C (everywhere): adapt because widths are now real
3489         widths and not strings
3490
3491         * insettext.C (draw): re-introduce the calls to width(), ascent()
3492         and descent() to initialize the caching variables.
3493
3494 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3495
3496         * insettext.C (draw):
3497         (drawFrame): use insetWidth instead of last_width
3498
3499         * insettext.h: remove variable last_width (insetWidth is exactly
3500         the same) and last_height (computed but never used!)
3501
3502 2001-12-10  Allan Rae  <rae@lyx.org>
3503
3504         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3505
3506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3507
3508         * insettext.C (insetAllowed): add comment
3509
3510 2001-12-05  Juergen Vigna  <jug@sad.it>
3511
3512         * insettext.C (insetAllowed): fixed for the case that we directly
3513         ask the insettext from its LyXText.
3514         (paragraph): fixed the crash when assigning the par->next() from
3515         the EmptyParagraphMechanism!
3516
3517 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3518
3519         * insetbib.C:
3520         * insettabular.C:
3521         * insettext.C: change "while(" to "while ("
3522
3523 2001-12-04  Juergen Vigna  <jug@sad.it>
3524
3525         * insetert.C (edit): handle Inlined status.
3526
3527         * insettext.C (insertInset): trying John's fix for the trailing cursor
3528
3529         * insetert.C (insetButtonPress): added to handle inlined status
3530         (insetMotionNotify): ditto.
3531
3532         * insettext.C (clearInset): changed Painter & in BufferView * param,
3533         to be able to call ascent,descent methods.
3534
3535 2001-12-03  Juergen Vigna  <jug@sad.it>
3536
3537         * insettext.C (updateInsetInInset): use lt variable to forbid
3538         changes of LyXText in an update call.
3539         (updateInsetInInset): fixed updating of non locked insets!
3540
3541 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
3542
3543         * insettabular.C: capture some more functions to prevent
3544         selection drawing problems. Bug #451274
3545
3546 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
3547
3548         * insetgraphics.C:
3549         * insetgraphicsParams.C: fix inverted sense of float_equal
3550
3551 2001-11-30  Juergen Vigna  <jug@sad.it>
3552
3553         * insettabular.C (InsetTabular): use the save_id flag to create also
3554         the tabular with the same id's.
3555
3556         * insettext.C (setParagraphData): added a same_id function for undo
3557         to set the same paragraph id's as of the paragraph we are setting.
3558
3559 2001-11-30  José Matos <jamatos@fep.up.pt>
3560
3561         * inseturl.[Ch]:
3562         * insettoc.[Ch]: DocBook -> docbook.
3563
3564 2001-11-29  André Pönitz <poenitz@gmx.net>
3565
3566         * inseterror.C:
3567         * insettext.C: further reduction of header dependencies by using
3568         lyx::layout_type and lyx::textclass_type from support/types.h
3569
3570 2001-11-29  Juergen Vigna  <jug@sad.it>
3571
3572         * insettext.C: inserted a reinitLyXText function everywhere I delete
3573         the paragraphs! This should fixe the crashes we had.
3574         Also use the new function firstRow() instead of getRowNearY(dummy_y)
3575         (paragraph): set the InsetOwner() of the new paragraphs!
3576
3577 2001-11-28  André Pönitz <poenitz@gmx.net>
3578
3579         * insetnote.C: add pos initialization that I removed without
3580           knowing what I did.
3581
3582 2001-11-28  Juergen Vigna  <jug@sad.it>
3583
3584         * insettabular.C (resetPos): hack to not crash with infinite paints.
3585
3586         * insettabular.h: insert missing function allowSpellcheck()!
3587
3588         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
3589
3590 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
3591
3592         * insetfloatlist.h:
3593         * insetfloatlist.C: derive from InsetCommand so gui can use it
3594           easily
3595
3596 2001-11-26  André Pönitz <poenitz@gmx.net>
3597
3598         * insettext.[Ch]:
3599         * insetert.C:
3600         * insetnote.C: reduce header dependencies, introduce type for
3601         positions
3602
3603 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3604
3605         * various: update for Alert.h
3606
3607 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
3608
3609         * inset.h: fix comment
3610
3611         * insettext.C: use par->isInset()
3612
3613 2001-11-22  Allan Rae  <rae@lyx.org>
3614
3615         * insetcollapsable.h:
3616         * inset.h: Changes to checkInsertChar() behaviour.
3617         Now return value indicates whether chars can be inserted.
3618
3619 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
3620
3621         * various:  updated to use the new LaTeXFeatures
3622
3623 2001-11-14  José Matos  <jamatos@fep.up.pt>
3624
3625         * insetspecialchar.C (linuxdoc):
3626         (docbook): don't give a name to a unused variable.
3627
3628         * insettext.C (docbook): removed unused variable.
3629
3630 2001-11-13  Herbert Voss  <voss@perce.de>
3631
3632         * insetgraphic.C: fix scale bug
3633
3634 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3635
3636         * inset.h (isSpace):
3637         (isLetter): new virtual methods.
3638
3639         * insetspecialchar.C (isSpace):
3640         (isLetter): implement here.
3641
3642 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
3643
3644         * inset.h: new inline helpers
3645
3646         * insettext.C: use new helpers
3647
3648 2001-11-07  José Matos  <jamatos@fep.up.pt>
3649
3650         * insettext.C (docbook): full support for paragraphs inside insettext.
3651
3652 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
3653
3654         * insetindex.C: added header file for std::ostream.
3655
3656 2001-11-03  José Matos  <jamatos@fep.up.pt>
3657
3658         * insetindex.C: added using std::ostream that I forgot yesterday.
3659
3660 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
3661
3662         * insetindex.h (docbook):
3663         * insetindex.C (docbook): added support for docbook export.
3664
3665 2001-11-02  José Matos  <jamatos@fep.up.pt>
3666
3667         * insetcaption.C(docbook): added support for docbook export.
3668
3669 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
3670
3671         * insetexternal.C (updateExternal): Do not run update command if
3672         result file exists and is up to date.
3673
3674         * ExternalTemplate.C (readFormat): Support the updateresult token.
3675
3676 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
3677
3678         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3679         external_templates) to use the buffer->fileName() but only if
3680         previewing. Generating a TeX file should make FPath return
3681         "".
3682
3683 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
3684
3685         * insetert.h:
3686         * insetert.C: fix some problems
3687
3688 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
3689
3690         * insetexternal.C (doSubstitution): Added $$FPath token
3691         to list of usable substitutions in external inset templates.
3692
3693 2001-10-24  Juergen Vigna  <jug@sad.it>
3694
3695         * insettabular.C: use new ltType struct for setting longtable
3696         header and footers also new UNSET enums.
3697
3698 2001-10-24  José Matos  <jamatos@fep.up.pt>
3699
3700         * insettabular.C (linuxdoc): Now exports the ascii's table version.
3701         (docbook): If the table is not inside a float then wrap it inside
3702         <informaltable>...</informaltable>.
3703
3704 2001-10-23  José Matos  <jamatos@fep.up.pt>
3705
3706         * insetref.C (docbook): removed / terminator to conform SGML.
3707
3708         * insetspecialchar.C (linuxdoc):
3709         (docbook): Added support for special chars, more than ascii export.
3710
3711 2001-10-22  Juergen Vigna  <jug@sad.it>
3712
3713         * insettext.C (checkInsertChar): added for REALLY checking the
3714         font of the inserted char in the right inset!
3715
3716 2001-10-19  Juergen Vigna  <jug@sad.it>
3717
3718         * inset.h: added method allowSpellcheck() so that insets who do
3719         not have anything to spellcheck can tell and so they are over-jumped.
3720         Implemented for InsetText and co.
3721
3722 2001-10-18  Juergen Vigna  <jug@sad.it>
3723
3724         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3725
3726 2001-10-15  José Matos  <jamatos@fep.up.pt>
3727
3728         * insetert.C: allow export for docbook and linuxdoc
3729
3730 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
3731
3732         * insetquotes.C (dispString): handles latin3 and latin4 quotes
3733
3734 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3735
3736         * insetquotes.C (dispString): fix handling of latin9 quotes
3737
3738 2001-10-03  Juergen Vigna  <jug@sad.it>
3739
3740         * insetert.C: ditto
3741
3742         * insetcollapsable.C: change updateInset calls to not tell BV that
3743         we have changed status.
3744
3745 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3746
3747         * insettabular.C (deletable): make const
3748
3749 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
3750
3751         * insetert.C (latex): Fix the returned value
3752
3753 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
3754
3755         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3756         Returns string(), so nothing in an ERT inset is spellchecked.
3757
3758         * insetgraphics.C (draw): print the filename if not displaying the
3759         image.
3760         (width): make sure that the width and draw methods are consistent.
3761         (updateInset): don't even load the image into cache if not displaying
3762         it.
3763
3764 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
3765
3766         * various files (selectNextWord): renamed as
3767         selectNextWordToSpellcheck.
3768
3769         * insetgraphics.C (draw): remove the previous change. Right place
3770         is in imageLoaderXPM.C.
3771         (draw): don't display the image if params.display == NONE.
3772
3773 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
3774
3775         * figinset.C (runqueue):
3776         * insetgraphics.C (draw): set background colour of inset from
3777         background to the user-configurable graphicsbg.
3778
3779 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3780
3781         * insetquotes.C (InsetQuotes): when trying to decide the side of
3782         the quote, choose `left' only after a space or '('
3783
3784 2001-09-04  José Matos  <jamatos@fep.up.pt>
3785         * figinset.C
3786         * figinset.h
3787         * insetcaption.C
3788         * insetcaption.h
3789         * insetcollapsable.h
3790         * insetcommand.C
3791         * insetcommand.h
3792         * inseterror.h
3793         * insetert.C
3794         * insetert.h
3795         * insetexternal.C
3796         * insetexternal.h
3797         * insetfloat.C
3798         * insetfloat.h
3799         * insetfloatlist.h
3800         * insetgraphics.C
3801         * insetgraphics.h
3802         * inset.h
3803         * insetinclude.C
3804         * insetinclude.h
3805         * insetlabel.C
3806         * insetlabel.h
3807         * insetlatexaccent.C
3808         * insetlatexaccent.h
3809         * insetquotes.C
3810         * insetquotes.h
3811         * insetref.C
3812         * insetref.h
3813         * insetspecialchar.C
3814         * insetspecialchar.h
3815         * insettabular.C
3816         * insettabular.h
3817         * insettext.C
3818         * insettext.C (docbook): rename docBook method to docbook.
3819
3820 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
3821
3822         * inset.h (getFirstParagraph): New virtual method.
3823
3824 2001-08-20  Herbert Voss  <voss@perce.de>
3825         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3826         in the the bibtex-database-gui for inserting a line
3827         \addcontentsline...
3828
3829         If no style is given than there is no tex-output.
3830
3831 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
3832
3833         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3834         files as a vector.
3835         (getKeys): use it.
3836
3837 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
3838
3839         * insetert.C (latex): Fix output for multiple paragraphs.
3840         (write): New code for writing paragraph data.
3841         (read): Set font after reading the inset.
3842         (localDispatch): Call set_latex_font() for more cases.
3843
3844         * insetnote.h: Add empty validate method.
3845         * insetert.h: Ditto
3846
3847         * insetnote.C (InsetNote): Set language to the language of the
3848         document.
3849
3850 2001-08-16  Juergen Vigna  <jug@sad.it>
3851
3852         * insettext.C: implemented the new FINISHED states.
3853
3854         * insettabular.C: ditto
3855
3856         * inset.h: added more FINISHED states for cursor right,up,down
3857
3858 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3859
3860         * insetfloatlist.C: use "FloatName List"
3861
3862 2001-08-14  Juergen Vigna  <jug@sad.it>
3863
3864         * insetert.C (edit): forgot to set status_ in edit calls!
3865
3866 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
3867
3868         * insettext.C: Compilation fix
3869
3870 2001-08-13  Juergen Vigna  <jug@sad.it>
3871
3872         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3873
3874         * insetcollapsable.C (edit): don't recollapse an already open inset.
3875
3876         * insettext.C: fixed problem when reinitializing LyXText by not doing
3877         it while lt is in use and post this to the next possible time in
3878         getLyXText().
3879         (searchForward): fixed not unlocking of inset if nothing found.
3880         (edit): set cursor behind right (was set -1 pos).
3881
3882         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3883
3884         * insettabular.C (tabularFeatures): fixed fix where deleting the
3885         last row didn't get the right actcell!
3886
3887 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
3888
3889         * insettext.C (localDispatch): Change language only when the inset
3890         becomes empty.
3891
3892 2001-08-10  Juergen Vigna  <jug@sad.it>
3893
3894         * insettabular.C (selectNextWordInt): use the front using edit call.
3895
3896         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3897         the parameter overwrite class variable inset.
3898
3899         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3900
3901         * insettext.C (saveLyXTextState): check for invalid cursor-par.
3902         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3903
3904         * insettabular.C (calculate_dimensions_of_cells): let's try to call
3905         update only for fixed with cells.
3906         (resetPos): try to fix the lockup on spellchecking or s&r.
3907
3908         * insettext.C (update): comment this out as it seems first wrong
3909         and second not needed anymore!
3910         (some functions): call reinitLyXText() only in update() in all other
3911         positions set only need_update = INIT.
3912
3913 2001-08-08  Juergen Vigna  <jug@sad.it>
3914
3915         * insettabular.C (setPos): fixed wrong actrow < rows() check.
3916
3917         * insettext.C (insetUnlock): remove double-space on inset unlock.
3918
3919         * insetcollapsable.C (draw): fix returned x when label > inset-width.
3920
3921         * insettabular.C (update): fixed cursor positon after an insert.
3922         (insetAllowed): do not allow to insert insets when not inside the
3923         inset!
3924         (draw): clear below an inset too as it could have changed height.
3925
3926         * inset.C (getMaxWidth): fixed width for inset in inset.
3927
3928         * insettext.C (update): small fix.
3929
3930         * insettabular.C (tabularFeatures): added selection support to
3931         DELETE_ROW/DELETE_COLUMN.
3932
3933 2001-08-07  Juergen Vigna  <jug@sad.it>
3934
3935         * inset.C (getMaxWidth): recoded and all it's implementations!
3936
3937         * insettext.C (init,setParagraph+constructors): cleanups
3938         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3939         are new and I want do a save/restore of the cursor position which is
3940         not possible anymore.
3941
3942         * insetcollapsable.C (searchBackward): recollapse inset if not found.
3943         (searchBackward): ditto
3944         (selectNextWord): ditto
3945
3946 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
3947
3948         * insetlatexaccent.C (checkContents): Add some debug messages
3949
3950 2001-08-07  Juergen Vigna  <jug@sad.it>
3951
3952         * insetert.C (read): don't use InsetCollapsable::read as we don't
3953         write the collapsed status anymore only the status.
3954         (write): ditto.
3955
3956 2001-08-06  Juergen Vigna  <jug@sad.it>
3957
3958         * insetert.C (set_latex_font): use LyXText's setFont directly.
3959
3960         * insettext.C (drawFrame): fixed one time more the right position
3961         and size of the frame!
3962
3963         * insetert.C (~InsetERT): hide the dialog.
3964         (showInsetDialog): added implementation
3965         (open): ditto
3966         (close): ditto
3967         (status): new function for the status of the ERT inset (3-state).
3968         (write): output also the status of the inset for readback!
3969         (read): readback the status if available otherwise use collapsed_.
3970
3971         * insettext.C (edit): small fix of setting the position, which could
3972         have gone < 0.
3973
3974         * insetert.C (width): implement this function for inlined viewing.
3975         Added minimum width of 10 pixels!
3976
3977         * insetminipage.C (InsetMinipage): just change the colors a bit so
3978         that border/background is a bit more visible. We will remove this
3979         anyway for 1.2.0!
3980
3981         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3982         function for getting the important widths for drawing in various
3983         functions and in LyXText.
3984         (draw): fixed up a bit (frame drawing/clearing)
3985
3986 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3987
3988         * inset.C (convertFont): delete method. not used.
3989
3990 2001-08-03  Juergen Vigna  <jug@sad.it>
3991
3992         * insettext.C (setFont): don't call for a draw update if we're just
3993         changing the cursor font!
3994
3995 2001-08-02  Juergen Vigna  <jug@sad.it>
3996
3997         * insettext.C (draw): clear the background with the right color if
3998         needed. Update myself if x&max-width changed and return without doing
3999         anything. Let the update code handle the right stuff.
4000
4001         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4002         inside another inset.
4003
4004 2001-08-01  Juergen Vigna  <jug@sad.it>
4005
4006         * insetcollapsable.C (update): added an in_update bool so we avoid
4007         reentering.
4008
4009         * insettabular.C (update): added an in_update bool so we avoid
4010         reentering.
4011
4012         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4013         selection problem.
4014         (update): added an in_update bool so we avoid reentering.
4015
4016         * insettabular.C (localDispatch): clear col/row selection when doing
4017         something else inside an inset.
4018
4019         * insettext.C (getLyXText): fixed bug when requesting a recursive
4020         insettext!
4021
4022 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
4023
4024         * insetcite.C (latex): Paranoia check. Make sure that there is no
4025         whitespace between the citation keys.
4026
4027 2001-07-31  Juergen Vigna  <jug@sad.it>
4028
4029         * inset.h (nodraw): make the set function also const so that this
4030         can be called from inside other const functions.
4031
4032         * insetcollapsable.h: removed inline variable and moved it over
4033         to the only user InsetERT.
4034
4035         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4036         inset opening immediately therein lying insets dialogs!
4037
4038         * insetert.C (localDispatch): set the font also if we don't have any
4039         chars in this paragraph, otherwise if we delete all of em and start
4040         writing we have the wrong font.
4041         (inlined): added
4042         (draw): implemented for inline support
4043         (insetButtonRelease): ditto.
4044
4045 2001-07-30  Juergen Vigna  <jug@sad.it>
4046
4047         * insettext.C (reinitLyXText): new function to reinit the insets
4048         text after lot's of paragraph changes. Use this instead of the
4049         cache.clear() which is VERY dangerous.
4050
4051         * insetfloat.C (insetButtonRelease): we should only show the dialog
4052         if we press on the label otherwise we have problems to open mouse
4053         button 3 dialogs inside this float (f.ex. of a tabular!)
4054
4055 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4056
4057         * insetert.C: change back to "ERT"
4058
4059         * insetfloat.C: handliign of RMB on label added.
4060
4061 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4062
4063         * insetgraphicsParams.C: #include LOstream.h here.
4064
4065         * insetfoot.h: remove InsetFoot:: qualifier.
4066
4067 2001-07-29  Baruch Even  <baruch@lyx.org>
4068
4069         * ChangeLog: Hiding time travel evidence.
4070
4071         * insetgraphicsParams.h:
4072         * insetgraphicsParams.C:
4073         * insetgraphics.C: Added horizontal scale option, it actually scales both
4074         directions since it keeps image proportions.
4075
4076         * insetgraphics.C: Fixed EPS detection to be non-hacky.
4077
4078 2001-07-29  Baruch Even  <baruch@lyx.org>
4079
4080         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4081         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4082
4083         HACKY! Will need to add an EPS detection routine like old InsetFig does!
4084
4085 2001-07-29  Baruch Even  <baruch@lyx.org>
4086
4087         * insetgraphics.C: Added EPSI to be an alias of EPS.
4088
4089 2001-07-29  Baruch Even  <baruch@lyx.org>
4090
4091         * insetgraphics.C: Change GRAPHICS to Graphics.
4092         Changed image conversion rules (documented at the beginning of file).
4093
4094 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
4095
4096         * insetert.C (get_new_label): int -> Paragraph::size_type to get
4097         std::min working.
4098
4099         * insetgraphics.C: added a using std::endl directive.
4100
4101         * insetcommand.h (getScreenLabel): removed pure virtual function,
4102         as it duplicates that in InsetButton.
4103
4104         * insetbib.[Ch] (getScreenLabel):
4105         * insetbutton.[Ch] (getScreenLabel):
4106         * insetcite.[Ch] (getScreenLabel):
4107         * insetert.[Ch] (getScreenLabel):
4108         * insetexternal.[Ch] (getScreenLabel):
4109         * insetfloatlist.[Ch] (getScreenLabel):
4110         * insetinclude.[Ch] (getScreenLabel):
4111         * insetindex.[Ch] (getScreenLabel):
4112         * insetlabel.h (getScreenLabel):
4113         * insetparent.[Ch] (getScreenLabel):
4114         * insetref.[Ch] (getScreenLabel):
4115         * insettoc.[Ch] (getScreenLabel):
4116         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4117
4118         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4119         the label.
4120         (validate): remove check on "cite" when using natbib.
4121
4122 2001-07-26  Baruch Even  <baruch@lyx.org>
4123
4124         * insetgraphics.C (draw): changed casting to be in one place rather than
4125         all over the function.
4126
4127         * insetgraphics.h:
4128         * insetgraphics.C (read): Added compatibility reads of InsetFig.
4129
4130         * insetgraphicsParams.h:
4131         * insetgraphicsParams.C:
4132         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4133
4134 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
4135
4136         * insetfoot.C (validate): Added method to ensure that the
4137         right bit of LaTeX is emitted.
4138
4139         * insetfoot.h: Added validate method to set the correct
4140         LaTeXFeatures bit for the special footnote code.
4141
4142 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4143
4144         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4145         quotes
4146
4147 2001-07-27  Juergen Vigna  <jug@sad.it>
4148
4149         * inset.h: remove not used font variable in parameter.
4150         removed checkInsertChar in UpdatableInset as it was equal to
4151         the one in Inset and so not needed.
4152
4153         * insetert.C (checkInsertChar): implementation of function
4154         checkInsertChar.
4155
4156         * inset.h: added new function checkInsertChar.
4157
4158         * various files: added c-tor and clone() function.
4159
4160         * insetcollapsable.h: removed clone function here as this should
4161         be only realized in REAL insets and added it to all collapsable
4162         insets! (with the copy-constructor).
4163
4164 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4165
4166         * insetminipage.C (read): handle missing parameters more gracefully
4167
4168         * insetcollapsable.C (read): handel missing collapsed more gracefully
4169
4170 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4171
4172         * insetfloat.C (read): handle missing parameters.
4173
4174         * insettext.C (read): handle old latex end_inset
4175
4176         * insetert.C (setButtonLabel): new method
4177         (init): use it, to set the dynamic label correctly
4178         (read): use it
4179
4180         * Makefile.am (EXTRA_DIST): add files that is not part or the
4181         binary here.
4182
4183         * insetcollapsable.h: remove autocollapsable (no users), remove
4184         draw_label, change_label_with_text and companion code. Remove args
4185         from some methods.
4186         * insetert.[Ch]: move here instead (only user)
4187
4188         * inset.h: rename private variable name to name_, make
4189         selectNextWord return a const string. make getInsetName return a
4190         string const &. Remove bool from open, add close.
4191
4192         * Makefile.am: don't compile insetlist, insetsection
4193         and insettheorem
4194
4195 2001-07-24  Juergen Vigna  <jug@sad.it>
4196
4197         * insetert.C (InsetERT): put init after the paragraph initialization,
4198         as otherwise we don't set the draw_label right.
4199
4200         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4201         insets with the mouse without having strange selections.
4202         (edit): if the inset was collapsed and we open it here then put the
4203         cursor always at the beginning of the inset.
4204         (get_new_label): 15 instead of 10 max chars in the label.
4205
4206         * insetert.C (localDispatch): added and handle various stuff we
4207         need to handle here (font setting on paragraph break, not permitted
4208         layout setting, etc.).
4209
4210         * inset.h: added default copy-consturctor and implemented this in
4211         various insets with the change to use this in the clone function!
4212
4213 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4214
4215         * insetminipage.C (InsetMinipage): set background color to red :)
4216
4217 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4218
4219         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4220         draw frame mode is LOCKED.
4221
4222         * insetcollapsable.C (edit):
4223         (insetButtonRelease): set update status to full when
4224         opening inset.
4225
4226         * insettext.C (clearInset):
4227         * insettabular.C (draw):
4228         * insetlatexaccent.C (draw): honor background color.
4229
4230         * inset.h: new member background_color_, initialized to
4231         LColor::inherit.
4232
4233         * inset.C (backgroundColor): new method.
4234         (setBackgroundColor): new method.
4235
4236         * insetert.C (init): new method, called by the ctors.
4237         (InsetERT): when inserting contents, make sure the font is
4238         ALL_INHERIT.
4239
4240         * insetnote.C (InsetNote): when inserting content, remove trailing
4241         newline
4242         (init): set background color to LColor::note
4243
4244 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4245
4246         * insetcollapsable.C: adjust
4247
4248         * insetbutton.C: adjust
4249
4250 2001-07-23  Juergen Vigna  <jug@sad.it>
4251
4252         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4253         parameter on the _collapsed function (was not needed) and call
4254         always width_collapsed().
4255
4256         * insetert.C (InsetERT): use setLabel with "true" flag.
4257
4258         * insetcollapsable.C: modified various functions to set the draw_label
4259         string right in any condition.
4260         (setLabel): added a bool parameter to set change_label_with_text.
4261
4262         * insetcollapsable.h: added draw_label string which is set to the
4263         actual drawn label-string, while label is the original static label
4264         of this collapsable inset. Added bool change_label_with_text to set
4265         if we want that the label changes to the start of the InsetText's
4266         text when collabpsed. You can set this flag with the setLabel funciton.
4267         Added bool inlined for inlined collapsable insets, but not handled
4268         yet.
4269
4270         * insetcollapsable.C (get_new_label): added should get a new label
4271         from the InsetText beginning (for now 10 chars).
4272
4273 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4274
4275         * insetquotes.C (latex): fix the handling of french double quotes
4276         when not using the french pachage.
4277
4278 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4279
4280         * insetcollapsable.h: make WidthCollapsed mutable.
4281
4282         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4283         InsetPrintIndex returns INDEX_PRINT_CODE.
4284
4285         * inset.h: add INDEX_PRINT_CODE
4286
4287         * insetcollapsable.C (draw): init widthCollapsed if necessary
4288         (width): ditto.
4289
4290         * insetquotes.C (width): use the local language, not the document
4291         language.
4292         (draw): ditto.
4293         (dispString): add additional spacing for all french languages,
4294         like fr_CA.
4295         (validate): make it work when there is no default language
4296
4297         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4298
4299         * insetnote.C (init): new method, called by the constructors
4300         (InsetNote): new constructor with contents passed as a string
4301
4302 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4303
4304         * insetfootlike.C (insetAllowed): disallow float in footlike.
4305
4306         * insetert.C (InsetERT): add collapsed argument to the constrctor
4307         with contents.
4308
4309 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4310
4311         * insetindex.h: shut off warning
4312
4313 2001-07-20  Juergen Vigna  <jug@sad.it>
4314
4315         * insetcollapsable.C (update): recoded hopefully works now!
4316
4317 2001-07-19  Juergen Vigna  <jug@sad.it>
4318
4319         * most files: implemented the below new introduced function.
4320
4321         * inset.h: added new edit(BufferView *, bool front) method to be able
4322         to enter an inset from the front/back without knowing x/y positions
4323         and baselines inside the inset. So I just can tell the inset activate
4324         me and set the cursor on the front/back of yourself.
4325
4326 2001-07-18  Juergen Vigna  <jug@sad.it>
4327
4328         * insetcollapsable.C (edit): fixed hopefully the y parameter which
4329         is given to the InsetText.
4330         (insetButtonPress): ditto
4331         (insetButtonRelease): ditto
4332         (insetMotionNotify): ditto
4333
4334 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4335
4336         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4337         LIGATURE_BREAK, since the name is so stupid.
4338
4339 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4340
4341         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4342         the default InsetCollapsable methods. I.e., it can insert anything.
4343         (write) output the name of the inset, not some silly hack for
4344         compatability with the old InsetInfo.
4345
4346         * insetinfo.[Ch]: removed.
4347         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4348         now collapsable, but functionality is otherwise identical to InsetInfo.
4349
4350         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4351
4352 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4353
4354         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4355         reformatting
4356
4357         * insetquotes.C: general cleanup
4358         (dispString): add spaces inside french double quotes.
4359         (latex): ditto. Moreover, treat first the case where the frenchb
4360         or french options have been given.
4361
4362 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
4363
4364         * insetcite.[Ch] (latex, validate): new methods, required for natbib
4365         support.
4366
4367 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
4368
4369         * figinset.C (RegisterFigure): Print debug message only when
4370         current_view is available.
4371
4372 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4373
4374         * many files: update to match the change below
4375
4376         * inset.h (insetAllowed): renamed from insertInsetAllowed;
4377         implement the version which takes an inset here.
4378
4379         * insetcollapsable.[Ch]: implement open and isOpen
4380
4381         * inset.h: remove insertInsetAllowed from Inset
4382         (open): new method, to open or close an inset
4383         (isOpen): returns the status of an inset
4384         (isCollapsable, colapse): removed
4385
4386 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4387
4388         * insetquotes.C (dispString): display french guillemets when using
4389         ISO8859-15.
4390
4391 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4392
4393         * insetcollapsable.h: remove bogus return statements
4394
4395 2001-07-18  Juergen Vigna  <jug@sad.it>
4396
4397         * insettabular.C (selectNextWord): fixed spellchecking for the
4398         first cell of a tabular (wasn't entered!)
4399         (getLyXText): changed to enter automatically insettext and return
4400         it's LyXText if we're locked.
4401
4402 2001-07-17  Juergen Vigna  <jug@sad.it>
4403
4404         * various files: implemented the below functions.
4405
4406         * inset.h: added functions
4407         - virtual string selectNextWord(BufferView *, float & value) const;
4408         - virtual void selectSelectedWord(BufferView *) { return; }
4409         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4410         needed for spellchecking correctly!
4411
4412 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4413
4414         * insetert.C (latex): write out all paragraphs.
4415
4416 2001-07-17  Baruch Even  <baruch@lyx.org>
4417
4418         * insetgraphics.C (draw): Removed unneeded casts.
4419
4420 2001-07-16  Juergen Vigna  <jug@sad.it>
4421
4422         * insettext.C (update): fixed small oversight (reset lt to 0).
4423
4424 2001-07-14  Baruch Even  <baruch@lyx.org>
4425
4426         * insetgraphics.h:
4427         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4428
4429 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
4430
4431         Consistent use of Lsstream.h:
4432         * figinset.C: removed using std::ostringstream directive.
4433
4434         * insetgraphics.C (createLatexOptions):
4435         * insetinclude.C (unique_id):
4436         std::ostringstream -> ostringstream.
4437         * insettext.C (localDispatch): std::istringstream -> istringstream.
4438
4439 2001-07-13  Juergen Vigna  <jug@sad.it>
4440
4441         * insetfloat.C (insertInsetAllowed): added missing const_cast.
4442
4443         * insetcollapsable.C (getLockingInset): ditto.
4444
4445 2001-07-12  Juergen Vigna  <jug@sad.it>
4446
4447         * insetcollapsable.h: added implementation of new function for
4448         collapsable status.
4449
4450         * various files: added implementation of new insertInsetAllowed-func
4451         and redone the function a bit more.
4452
4453         * inset.h: added isCollapsable(), bool collapsed(),
4454         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4455
4456         * insetfloat.C (insertInsetAllowed): make a bit more checks.
4457
4458         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4459         LyXText which is marked for removal while we're using it!
4460
4461         * insettext.h: added private LyXText * lt to use it to assure we are
4462         not deleting our LyXText while we're using it!
4463
4464 2001-07-11  Juergen Vigna  <jug@sad.it>
4465
4466         * insettext.C (insertInset): check if we are before the inset after
4467         inserting it! This check IS needed. Remove the Undo-Call as it is
4468         called in LyXText::insertInset!
4469
4470         * insettext.h: added struct InnerCache.
4471
4472         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4473         that we ONLY delete the LyXText in the getLyXText() routine. So we
4474         are sure we don't delete LyXText while someone is working with it!
4475
4476 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4477
4478         * insetexternal.C: (*it). -> it->
4479         * insettext.C: ditto
4480
4481 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4482
4483         * insetcollapsable.C (edit): always open collapsed insets (even if
4484         they are not autocollapsable)
4485
4486         * insetcommand.C (operator=): simplify.
4487
4488 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4489
4490         * insetert.C (latex): handle META_NEWLINE
4491
4492 2001-07-09  Juergen Vigna  <jug@sad.it>
4493
4494         * insetert.h: a normal InsetText can insert insets, but we won't.
4495
4496         * inset.h: return default "false" on insertInsetAllowed and implement
4497         this function where a returnvalue != "false" is needed.
4498
4499 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4500
4501         * insetert.C (InsetERT): new contructor
4502
4503 2001-07-06  Juergen Vigna  <jug@sad.it>
4504
4505         * a lot of files: added implementation of the below new functions
4506         and the change to clone(). Also the call of the new undo-functions
4507         where needed.
4508
4509         * inset.h: added an inset_id, added functions getParFromID,
4510         getInsetFromID, firstParagraph, cursor and id functions, added
4511         bool same_ids to clone function.
4512
4513 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4514
4515         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4516         of BufferView * and shared_ptr<LyXText>
4517
4518 2001-07-05  Juergen Vigna  <jug@sad.it>
4519
4520         * insettext.C (clear): deleted also the cache not only LyXText.
4521         (setParagraphData): ditto.
4522
4523 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4524
4525         * insetfloat.C (latex): let the specific placement take presedence
4526         if set, otherwise choose document placement if set, otherwise just
4527         use float default placement.
4528
4529 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4530
4531         * insettext.C (localDispatch): call CutAndPaste::'s static method
4532         directly.
4533
4534 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4535
4536         * insetbib.C: no meed to include forms.h here.
4537
4538 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
4539
4540         * insettext.C: added using std::make_pair directive.
4541
4542 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4543
4544         * insettext.C (getLyXText): avoid multiple lookups, and simplify
4545         slightly
4546         (deleteLyXText): ditto
4547         (resizeLyXText): ditto
4548
4549 2001-07-02  Juergen Vigna  <jug@sad.it>
4550
4551         * insettext.C (getLyXText): introduce a cache in getLyXText so that
4552         following calls are only returned the right pointer without the over
4553         head to search in the map.
4554         (various funcs): reset the cached_bview variable as this signs that
4555         the cache is not valid anymore.
4556
4557 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4558
4559         * insettabular.C (clone): do not copy the LyXTabular twice
4560
4561 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4562
4563         * insettext.h (TEXT): delete method
4564
4565 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4566
4567         * insetmarginal.C (latex):
4568         * insetfoot.C (latex): fix spacing of notes in LaTeX
4569
4570         * insettext.C (localDispatch): use .c_str() on istringstream
4571         constructor argument.
4572
4573 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
4574
4575         * insettoc.h:
4576         * insettoc.C:
4577         * inseturl.h:
4578         * inseturl.C: fix method names in these to begin
4579           with small char too, so they inherit
4580
4581 2001-06-28  Juergen Vigna  <jug@sad.it>
4582
4583         * insettext.C (setFont): fixed font settings using toggleFree()
4584         instead of setFont().
4585
4586 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4587
4588         * Change a lot of method names to begin with a small char.
4589         Changes to a lot of files because of this.
4590
4591 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4592
4593         * insetfloatlist.C (Write): std:: qualify ostream
4594         (Latex): ditto
4595
4596 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
4597
4598         * figinset.C:
4599         * inset.C:
4600         * insetgraphics.C: send debug output to Debug::INFO instead of
4601         Debug::ANY.
4602
4603 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
4604
4605         * insettabular.h:
4606         * insettabular.C (getStatus): update to use func_status
4607
4608 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
4609
4610         * insetref.C (DocBook): added support for cross-references without
4611         a name.
4612
4613 2001-06-26  The LyX Project  <jug@sad.it>
4614
4615         * insetref.C:
4616         * insetref.h:
4617         * insetlabel.C:
4618         * insetlabel.h: removed escape method and moved it to
4619         support/lstrings.h.
4620
4621 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4622
4623         * insettabular.C (getMaxWidth): do the speedup in a different way,
4624         remove dead code
4625
4626 2001-06-24  The LyX Project  <Asger>
4627
4628         * insettabular.C (getMaxWidth): We cache a mapping from
4629         inset to cell in order to speed this method up.
4630
4631 2001-06-24  The LyX Project  <Asger>
4632
4633         * insettext.C: Optimized InsetText::draw or something.
4634
4635 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
4636
4637         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
4638
4639 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4640
4641         * inset.h: name change from lyxinset.h
4642
4643 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
4644
4645         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
4646
4647 2001-06-14  Juergen Vigna  <jug@sad.it>
4648
4649         * insettext.C (draw): removed warnings.
4650
4651 2001-06-13  Juergen Vigna  <jug@sad.it>
4652
4653         * insettabular.C (nodraw): only go down the tree if we don't have
4654         that flag set otherwise it's obvious that we don't want to draw.
4655         (LocalDispatch): do also an update if we have an undispached result.
4656
4657 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
4658
4659         * insetcite.C:
4660         * insetgraphicsParams.C:
4661         * insettext.C: removed // -*- C++ -*- as first line.
4662
4663 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4664
4665         * lyxinset.h (resizeLyXText): shut off warning about unused
4666         parameter "force"
4667
4668 2001-06-07  Juergen Vigna  <jug@sad.it>
4669
4670         * insettext.C (resizeLyXText): honor the new force flag.
4671
4672         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4673
4674         * insettabular.C (deleteLyXText): new function
4675
4676 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4677
4678         * insettheorem.C:
4679         * insetminipage.C:
4680         * insetlist.C:
4681         * insetfootlike.C:
4682         * insetfloat.C:
4683         * insetert.C:
4684         * insetcollapsable.C:
4685         * insetcaption.C: LColor tidy
4686
4687 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4688
4689         * figinset.C: fix typo
4690
4691 2001-06-01  Juergen Vigna  <jug@sad.it>
4692
4693         * insettabular.C (resetPos): small hack so that scroll is not set to
4694         0 when we are in the last column of a tabular. This is a problem we
4695         have because of constats 20 offset on both directions, so this can
4696         cause on the limit an endless loop.
4697
4698         * insettext.C (SetFont): forgot that we can have locking insets ;)
4699
4700 2001-05-31  Juergen Vigna  <jug@sad.it>
4701
4702         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4703
4704 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4705
4706         * figinset.C: add using std:: directive for the C functions which
4707         need that.
4708
4709 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4710
4711         * insetfloat.C (Write): write out wide info
4712         (Read): read the wide info
4713         (Latex): use the wide info when creating latex.
4714
4715         * insettext.C: adjust
4716
4717         * insetgraphics.[Ch] (statusMessage): change to return string
4718         (width): adjust
4719         (draw): adjust
4720
4721         * figinset.C (runqueue): add std::
4722         (Recompute): ditto
4723
4724 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4725
4726         * insetcite.C (Ascii): add std:: qualifier
4727
4728 2001-05-28  Juergen Vigna  <jug@sad.it>
4729
4730         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4731         a endless-width inset (maxWidth < 0).
4732         (Edit): change language only if not equal.
4733
4734         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4735
4736         * insettext.C (draw): fixed draw/clear of InsetText-Frame
4737
4738 2001-05-16  Juergen Vigna  <jug@sad.it>
4739
4740         * insettext.C (selectAll): added
4741         (clearSelection): added
4742
4743         * insettabular.C (SetFont): now we may set a font on a whole selection!
4744         (getSelection): added helper function.
4745
4746 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
4747
4748         * insetcite.C (Ascii): Add method.
4749
4750 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
4751
4752         * figinset.C:
4753         * insetbib.C: fix path for OS/2 & Win32
4754
4755 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4756
4757         * insetfoot.C (Latex): don't use % after footnote.
4758
4759 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4760
4761         * insettext.C (Read): use clear
4762         (SetParagraphData): use LyXParagraph copy constructor instead of clone
4763
4764 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4765
4766         * insetfloatlist.h: add a bunch of std:: qualifiers.
4767
4768 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4769
4770         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4771         FLOAT_LIST_CODE, renumber code list.
4772
4773         * insettoc.C (getScreenLabel): remove support for float lists
4774         (LyxCode): ditto
4775         (Ascii): ditto
4776
4777         * insetfloatlist.[Ch]: new files
4778
4779         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4780
4781 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
4782
4783         * insettabular.C (LocalDispatch):
4784         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4785         method
4786
4787 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4788
4789         * insettext.C: remvoe !NEW_INSETS cruft
4790
4791         * insettabular.C: remove !NEW_INSETS cruft
4792
4793         * insetcollapsable.h: remove !NEW_INSETS cruft
4794
4795         * insetbib.C: remove !NEW_INSETS cruft
4796
4797 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4798
4799         * insettoc.C: hack to make listof algorithm work
4800
4801 2001-04-20  Juergen Vigna  <jug@sad.it>
4802
4803         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
4804
4805 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4806
4807         * insetquotes.C (Latex): improve the guard against
4808         unwanted !` and ?` ligatures. This should really be done in
4809         another place (to catch all this ligatures at low-level).
4810
4811 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4812
4813         * insettext.C (init): remvoe leftovers from cursor_visible change
4814         (draw): use c++ cast
4815         (LocalDispatch): dispatch LFUN_MESSAGE
4816
4817         * insettabular.C (InsetTabular): remove leftovers from
4818         cursor_visible, and scoped_ptr changes
4819         (draw): use c++ cast
4820
4821         * insetcollapsable.C (draw): use c++ cast
4822
4823         * ExternalTemplate.h: inherit privaely from noncopyable
4824         * insetcommand.h: ditto
4825         * insetinclude.h: ditto
4826
4827 2001-04-16  Allan Rae  <rae@lyx.org>
4828
4829         * insettoc.C (Ascii):
4830         * insettext.C (draw):
4831         * insettabular.C (setPos):
4832         * insetminipage.C (Read):
4833         * insetfloat.C (placement):
4834         * insetcaption.C (Ascii, DocBook):
4835         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4836         an unrecognised preprocessor directive.  So ensure they're wrapped.
4837
4838 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
4839
4840         * insetexternal.h:
4841         * insetexternal.C: set view on Clone. Add _ to private members.
4842
4843 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4844
4845         * insettext.C (InsetText): fix new
4846         (InsetText): reindent some, simplify deletion of par list
4847         (clear): simplify deletion of par list, fix new
4848         (SetParagraphData): simplify deletion of par list
4849
4850         * insettabular.[Ch] (getLabelList): implement new method
4851
4852 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4853
4854         * lyxinset.h: do not include gettext.h...
4855
4856         * inset.C:
4857         * insetcaption.C:
4858         * insetexternal.C:
4859         * insetgraphics.C:
4860         * insetindex.C:
4861         * insetlabel.C:
4862         * insetlatexaccent.C:
4863         * insetminipage.C:
4864         * insetquotes.C:
4865         * insettabular.C:
4866         * inseturl.C: ... and do it here instead
4867
4868 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4869
4870         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4871
4872         * insettext.[Ch] (getLabelList): add std:: on vector<string>
4873
4874         * insetcollapsable.[Ch] (getLabelList): implement
4875
4876         * insettext.[Ch] (getLabelList): implement
4877
4878         * insettext.h: reindent
4879
4880         * insettabular.h: make tabular a scoped_ptr
4881
4882         * insettext.C (init): adjust for cursor_visible
4883         (ToggleInsetCursor): constify asc and desc, font, adjust for
4884         cursor_visible
4885         (ShowInsetCursor): constify asc and desc, font, adjust for
4886         cursor_visible
4887         (HideInsetCursor): adjust for cursor_visible
4888
4889         * insettabular.C: reindent some
4890         (InsetTabular): adjust for scoped_ptr and cursor_visible
4891         (InsetTabular): ditto
4892         (~InsetTabular): delete delete
4893         (Clone): adjust for scoped_ptr
4894         (Read): constify old_format, adjust for scoped_ptr, move init of
4895         token
4896         (draw): constify tx, localize loop vars.
4897         some other localization of variables, remove double initilizatons.
4898
4899         * insetfoot.C: remove using std::ostream, add ostream where needed
4900
4901 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4902
4903         * lyxinset.h: some reindentaion, use initializer list for
4904         constructro.
4905         UpdatableInset: make cursor_visible a private var add
4906         public isCursorVisible(), add protected toggleCursorVisible() and
4907         proctected setCursorVisible(bool), make scroll call the Inset::scroll
4908
4909         * insettoc.C: remvoe using decl
4910         (getScreenLabel): make cmdname donst
4911         (LyxCode): ditto
4912         (Ascii): ditto
4913         (Ascii): don't use endl
4914
4915         * insetfootlike.C: remove using decl at file scope and add std::
4916         where needed
4917         * insetmarginal.C: ditto
4918
4919         * insetfoot.C: some reformatting
4920
4921         * insetfloat.C (InsetButtonRelease): adjust the hit area
4922
4923         * insetert.C (SetFont): some reformatting
4924
4925         * insetcollapsable.C: some reformatting and constification
4926         (Clone): comment out.
4927         * insetcollapsable.h: some reformatting
4928         (Clone): comment out.
4929
4930         * inset.C: reindent
4931         (scroll): simplify
4932
4933 2001-03-30  Juergen Vigna  <jug@sad.it>
4934
4935         * insetcollapsable.h: changen *inset to be a InsetText inset.
4936
4937         * some files: changed to reflect the above change.
4938
4939 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
4940
4941         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4942         InsetExternal::Params.
4943         Added operator==() and operator!=() for the Params struct.
4944
4945 2001-03-29  Juergen Vigna  <jug@sad.it>
4946
4947         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4948         BufferView *.
4949
4950         * insetminipage.C: removed widthp_ and all it's functions and changed
4951         to use new %-lengths of LyXLength.
4952
4953 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
4954
4955         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4956
4957 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
4958
4959         * insetgraphicsParams.C (operator!=): new function, needed by the
4960         ControlGraphics class.
4961
4962 2001-03-28  Juergen Vigna  <jug@sad.it>
4963
4964         * insettext.C (InsetButtonPress): only enter !inset if button == 2
4965         (checkAndActivateInset): don't use the values returned from
4966         call to bv->checkInsetHit.
4967
4968         * insetminipage.C (Clone): set special minipage values.
4969
4970         * insetcollapsable.C (draw): changed to draw the button in the
4971         upper left corner outside the textinset.
4972         (ascent): changed because of different drawing
4973         (descent): ditto
4974         (width): ditto
4975         (Edit): ditto
4976         (InsetButtonPress): ditto
4977         (InsetButtonRelease): ditto
4978         (InsetMotionNotify): ditto
4979
4980 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
4981
4982         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4983         contain a suffix.
4984         (Clone): ditto
4985
4986 2001-03-26  Juergen Vigna  <jug@sad.it>
4987
4988         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4989
4990         * insettext.C (ShowInsetDialog): implemented above function.
4991
4992         * insettabular.C (ShowInsetDialog): ditto
4993
4994         * insetminipage.C (ShowInsetDialog): ditto
4995
4996 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
4997
4998         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4999         InsetInclude::Params. Don't store a buffer * in Params. Store the
5000         master file name instead.
5001
5002 2001-03-23  Juergen Vigna  <jug@sad.it>
5003
5004         * insetcollapsable.C (InsetMotionNotify):
5005         (InsetButtonRelease):
5006         (InsetButtonPress): fixed y-offset (minipages).
5007
5008         * insettext.C (draw): force a FULL update if cleared == true.
5009
5010         * insetcollapsable.C (draw): Lars forgotten entry for changing this
5011         routine to draw the minipages on its position-flag.
5012         (InsetInInsetY): give back the right y position, because of minipage
5013         position-flag.
5014
5015 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
5016
5017         * insetfloat.h
5018         * insetfloat.C (DocBook): docbook export code.
5019
5020 2001-03-22  Juergen Vigna  <jug@sad.it>
5021
5022         * insetminipage.C (getMaxWidth): added function to set the drawing
5023         width!
5024         (Read): should work now!
5025
5026         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5027         if we create a new inset.
5028
5029 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
5030
5031         * figinset.C (fl_set_preemptive_callback): moved definition outside
5032         of namespace anon.
5033
5034 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5035
5036         * insetminipage.C (Read): prepare for reading of minipage arguments.
5037
5038 2001-03-18  Baruch Even  <baruch@lyx.org>
5039
5040         * insetgraphics.C: Minor cleanups of the comments and code.
5041
5042 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5043
5044         * insetminipage.C (InsetMinipage): default to not collapsed
5045
5046 2001-03-16  Juergen Vigna  <jug@sad.it>
5047
5048         * insetminipage.C (width): modified with to be a string
5049         (widthp): added widthp (for % width) support functions.
5050         (InsetButtonRelease): added to open the options dialog on button==3.
5051         (~InsetMinipage): added to hide the dialog.
5052
5053         * insetminipage.h: added hideDialog signal
5054
5055 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5056
5057         * insetminipage.h: change the order or Position to match
5058         LyXParagraph::MINIPAGE_ALIGNMENT
5059
5060         * several files: remvoe CXX_WORKING_NAMESPACES
5061
5062         * ExternalTemplate.h: noncopyable is in namespace boost
5063         * insetinclude.h: ditto
5064         * insetcommand.h: ditto
5065
5066 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5067
5068         * insettext.C (Edit): #else# -> #else.
5069         * insettoc.C: added using directive.
5070
5071 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5072
5073         * insetminipage.h: add pos, inner_pos, width and height. + getters
5074         and setters for all of them.
5075
5076 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
5077
5078         * insetinclude.C (Latex): Do not exit when the textclass of the
5079         included file differ from the textclass of the parent file.
5080
5081 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
5082
5083         * ExternalTemplate.C (read): the reading of external insets now checks
5084         for \end_inset and removes it form the input stream.
5085
5086 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
5087
5088         * ExternalTemplate.h:
5089         * ExternalTemplate.C:
5090         * insetexternal.h:
5091         * insetexternal.C: move form to GUII
5092
5093 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5094
5095         * insetinclude.h:
5096         * insetinclude.C: add InsetIncludeParams, use
5097         composition rather than derivation of InsetCommand
5098
5099 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5100
5101         * insettoc.C (Ascii): use the Buffer typedefs
5102
5103 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5104
5105         * insettoc.C (Ascii): implement for dynamic number of lists
5106
5107         * insetcaption.[Ch]: update from new_insets branch
5108         * insetfloat.[Ch]: ditto
5109
5110 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
5111
5112         * insetexternal.C:
5113         * figinset.C: use new File Dialog
5114
5115 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5116
5117         * insettext.C: changes becuase of ParagraphParameters.
5118
5119 2001-02-28  Baruch Even  <baruch@ev-en.org>
5120
5121         * insetgraphics.C (updateInset): Changed due to the change in
5122         GraphicsCache.
5123
5124 2001-02-26  Juergen Vigna  <jug@sad.it>
5125
5126         * insettext.C (SetFont): Set Undo only if we have selection (as it is
5127         handled in LyXText).
5128
5129 2001-02-23  Juergen Vigna  <jug@sad.it>
5130
5131         * insettext.C (draw): some small repainting fixes.
5132         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5133
5134         * inset.C (LocalDispatch): changed action to be a kb_action (as it
5135         should be) and not an int.
5136
5137         * insettabular.C (LocalDispatch): ditto
5138
5139         * insettext.C (LocalDispatch): ditto
5140
5141         * insetcollapsable.C (LocalDispatch): ditto
5142
5143 2001-02-22  Juergen Vigna  <jug@sad.it>
5144
5145         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5146         DISPATCH it and we don't have a locking_inset.
5147
5148 2001-02-21  Baruch Even  <baruch@ev-en.org>
5149
5150         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5151         instead of GraphicsCacheItem *.
5152
5153 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5154
5155         * insetcollapsable.C (getLyXText): add const qualifier to second
5156         parameter.
5157
5158 2001-02-22  Juergen Vigna  <jug@sad.it>
5159
5160         * insettext.C (getLyXText): honor the recursive parameter.
5161         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5162
5163         * inset.C (getLyXText): added bool recursive parameter.
5164
5165         * insettext.C (SetUpdateStatus): or the update codes.
5166         (draw): check need_update with &.
5167         (InsetButtonPress): set no_selection to not put a selection when
5168         entering an inset and it is redraws in another spot.
5169
5170         * insettext.h: made need_update an int.
5171
5172 2001-02-20  Baruch Even  <baruch@ev-en.org>
5173
5174         * insetgraphics.h:
5175         * insetgraphisc.C: Changed to use better semantics when loading images
5176         for inline view. Now it doesn't keep the pixmap itself but it's holder.
5177
5178 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
5179
5180         * insetcommand.h:
5181         * inseterror.h:
5182         * insetgraphics.C: change name of "hide" signal to "hideDialog",
5183         consistent with InsetTabular.
5184
5185 2001-02-19  Juergen Vigna  <jug@sad.it>
5186
5187         * insettabular.C (LocalDispatch): implement PAGE up/down.
5188
5189         * insettext.C (draw): clear all of it on need_update==INIT too!
5190
5191         * insettabular.C (InsetUnlock): always clear the selection.
5192
5193         * inset.C (scroll): normally we only want to scroll the inset until
5194         it is fully visible so if top_x + offset > 20 then just set scx to 0.
5195
5196 2001-02-14  Juergen Vigna  <jug@sad.it>
5197
5198         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5199         (resetPos): fixed scroll behaviour.
5200         (LocalDispatch): do an update if moving cursor inside a table cell
5201         requests a scroll of the tabular.
5202
5203 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
5204
5205         * insettext.C (textWidth): constify local var
5206
5207         * insettabular.C: small cleanup.
5208
5209         * insetfoot.C (Latex): constify local var
5210
5211         * insetcollapsable.C: small cleanup.
5212
5213         * figinset.C (runqueue): use compare instead of strcmp
5214
5215 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
5216
5217         * insettext.C:
5218         * insetinfo.C: remove cruft
5219
5220 2001-02-14  Juergen Vigna  <jug@sad.it>
5221
5222         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5223
5224 2001-02-13  Juergen Vigna  <jug@sad.it>
5225
5226         * insettext.C (InsertInset): don't move left (is this right?)
5227
5228         * insettabular.C (LocalDispatch): use of the no_draw variable
5229
5230         * insettabular.h: new no_draw variable to stop redraw
5231
5232         * insettabular.C (TabularFeatures): fixed update for alignment change
5233
5234 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
5235
5236         * insetinclude.C:
5237         * insetbib.h:
5238         * insetbib.C: move dialogs to frontends/
5239
5240 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
5241
5242         * insettext.C (LocalDispatch): Restore the language if the inset
5243         becomes empty.
5244
5245 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
5246
5247         * insettext.C (moveRightIntern): Update the selection cursor.
5248         (moveLeftIntern): Ditto.
5249
5250 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5251
5252         * Makefile.am: remove BoundingBox.h
5253
5254         * BoundingBox.h: removed
5255
5256 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
5257
5258         * insettext.C (LocalDispatch): Update selection cursor when moving
5259         cursor to the right.
5260         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5261         (moveLeftIntern): Ditto.
5262
5263 2001-02-05  Baruch Even  <baruch.even@writeme.com>
5264
5265         * insetgraphics.C: Updated automatic image conversion, it now goes into
5266         temporary directory instead of with the image itself.
5267
5268 2001-01-21  Baruch Even  <baruch@ev-en.org>
5269
5270         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5271         to EPS or PNG when needed (support bitmap graphics).
5272
5273 2000-11-02  Baruch Even  <baruch@ev-en.org>
5274
5275         * insetgraphics.C:
5276         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5277         and removal of commented out code.
5278
5279 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5280
5281         * insetbib.C (callback): Update citations if the key has changed.
5282
5283 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5284
5285         * insetbib.C (InsetBibKey): Better computation of default key.
5286         (getScreenLabel) Show both the key and the label.
5287         (getBibLabel): New method.
5288         (callback): Force a redraw if the inset have been changed.
5289
5290 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5291
5292         * insetref.C (getType, getName): Move methods from
5293         src/frontends/xforms/FormRef.C.
5294
5295 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
5296
5297         * insettabular.C: Various improvements (use only one dummy position).
5298
5299 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
5300
5301         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5302         par->bibkey->width. This fixes the crashes when running without
5303         gui or when having included documents.
5304
5305 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
5306
5307         * insetcommand.C (getAsString, setFromString): Cleanup.
5308
5309 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
5310
5311         * insetref.C: Add the array InsetRef::types that contains
5312         information about all supported reference types.
5313
5314 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5315
5316         * lyxinset.h: remove trailing comma in enum.
5317
5318 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
5319
5320         * insettext.C: kill LyXBell.