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