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