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