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