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