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