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