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