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