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