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