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