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