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