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