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