]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
fix the <...> delimiters
[lyx.git] / src / insets / ChangeLog
1 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * insettext.C: layout as layout
4
5 2002-05-28  André Pönitz <poenitz@gmx.net>
6
7         * insetfloatlist.h: remove source of compiler warning
8
9         * insetref.C: tiny whitespace
10
11 2002-06-15  Herbert Voss  <voss@perce.de>
12
13         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
14         and take always convert when no userdefined converter was
15         found
16         (latex) small changes in the lyxerr output
17
18 2002-06-15  LyX Development team <lyx@rilke>
19
20         * inset*.[Ch] (docbook): Added new argument to take the pernicious
21         mixed content. Small white spaces clean.
22
23 2002-06-14  Angus Leeming  <leeming@lyx.org>
24
25         * inseetexternal.C: remove the using std::difftime declaration.
26
27 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
28
29         * insetquotes.C: change lyxfont::draw to font_metrics::draw
30
31 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
32
33         * insetquotes.C (draw): fix drawing of double quotes
34
35 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
36
37         * insettabular.C: s/scrollCB/scrollDocView/
38
39 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
40
41         * insettext.C: change of topCursorVisible()
42           prototype
43
44 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
45
46         * insettext.h:
47         * insettext.C: rename/change of LyXScreen
48
49 2002-06-07  Angus Leeming  <leeming@lyx.org>
50
51         Fixes needed to compile with Compaq cxx 6.5.
52         * insetexternal.C:
53         all c-library variables have been moved into namespace std.
54         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
55
56 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
57
58         * insetinclude.C (uniqueID):
59         * insetgraphics.C (uniqueID): renamed from unique_id, since this
60         conflicted with some AIX headers.
61
62 2002-05-31  Juergen Vigna  <jug@sad.it>
63
64         * insetert.C (get_new_label): add '...' for multi-paragraph ert
65         insets too
66         (update) new method
67
68 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
69
70         * insetexternal.C (clone): fix () bug when using new
71         (updateExternal): don't only look for difftime in global scope
72
73 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
74
75         * insettabular.C: add const
76
77 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
78
79         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
80         file name, in case there are weird characters like ',' in there.
81         (bug #407)
82
83 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
84
85         * switch from SigC signals to boost::signals.
86
87 2002-05-28  André Pönitz <poenitz@gmx.net>
88
89         * insets/insetgraphicsParams.[Ch]:
90           put in inset related stuff from src/graphic
91
92 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
93
94         * inset.C:
95         * inset.h:
96         * insetbib.C:
97         * insetbib.h:
98         * insetcite.h:
99         * insetcite.C:
100         * insetcollapsable.C:
101         * insetcollapsable.h:
102         * inseterror.C:
103         * inseterror.h:
104         * insetert.C:
105         * insetert.h:
106         * insetexternal.C:
107         * insetexternal.h:
108         * insetfloatlist.C:
109         * insetfloatlist.h:
110         * insetgraphics.C:
111         * insetgraphics.h:
112         * insetinclude.C:
113         * insetinclude.h:
114         * insetindex.C:
115         * insetindex.h:
116         * insetlabel.C:
117         * insetlabel.h:
118         * insetparent.C:
119         * insetparent.h:
120         * insetref.C:
121         * insetref.h:
122         * insettabular.C:
123         * insettabular.h:
124         * insettext.C:
125         * insettext.h:
126         * insettoc.C:
127         * insettoc.h:
128         * inseturl.C:
129         * inseturl.h: use mouse_state. Kill insetKeyPress
130
131 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
132
133         * insetbib.C:
134         * insetbutton.C:
135         * insetcaption.C:
136         * insetcollapsable.C:
137         * inseterror.C:
138         * insetgraphics.C:
139         * insetlatexaccent.C:
140         * insetquotes.C:
141         * insetspecialchar.C:
142         * insettabular.C:
143         * insettext.C: name change for font metrics
144
145 2002-05-24  Juergen Vigna  <jug@sad.it>
146
147         * insetgraphics.h: include inset.h first (for LString.h)
148
149 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
150
151         * insettext.C: screen moved
152
153 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
154
155         * insetbib.C:
156         * insetcite.C:
157         * inseterror.C:
158         * insetert.C:
159         * insetexternal.C:
160         * insetfloat.C:
161         * insetfloatlist.C:
162         * insetgraphics.C:
163         * insetinclude.C:
164         * insetindex.C:
165         * insetminipage.C:
166         * insetparent.C:
167         * insetref.C:
168         * insettabular.C:
169         * insettext.C:
170         * insettoc.C:
171         * inseturl.C: LyXView moved into frontends/
172
173 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
174
175         * inset.C:
176         * insetbutton.C:
177         * insetcaption.C:
178         * insetcollapsable.C:
179         * insetcommand.C:
180         * inseterror.C:
181         * insetgraphics.C:
182         * insetgraphicsParams.C:
183         * insetlatexaccent.C:
184         * insetquotes.C:
185         * insetspecialchar.C:
186         * insettabular.C:
187         * insettext.C: move Painter to frontends/
188
189 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
190
191         * insettabular.h: use more specific smart_ptr header.
192         * insettext.h: ditto
193
194         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
195         (draw): ditto
196
197 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
198
199         * insettext.C: clear selection on paste (bug 393)
200
201 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
202
203         * insettext.C (latex): Honor the moving_arg argument.
204
205 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
206
207         * insetfoot.C (latex): if a footnote is in a title layout, then it
208         is a \thanks. And then, its contents is a moving argument.
209
210 2002-05-14  Juergen Vigna  <jug@sad.it>
211
212         * insetcollapsable.C (InsetCollapsable): forgot to initialize
213         first_after_edit.
214
215 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
216
217         * Insetcite.C (getNatbibLabel): don't disable natbib label support
218         when using options "Full author list" or "Upper case".
219
220 2002-05-14  Herbert Voss  <voss@perce.de>
221
222         * insetgraphics.C (prepareFile): allow files with same name
223         in different dirs
224         (readFigInset): set the flags from old figinset in the right
225         manner
226         (findTargetFormat): more comments
227
228 2002-05-14  Juergen Vigna  <jug@sad.it>
229
230         * insettext.C (edit): tell checkAndActivateInset() that we don't
231         have a button press.
232         (checkAndActivateInset): if button < 0 we don't have a button press
233         on the inset and os we won't call edit on it if it's not a Highly
234         editable inset (then we have to enter it).
235
236 2002-05-13  Juergen Vigna  <jug@sad.it>
237
238         * insetcollapsable.C (insetButtonRelease): returned wrong return
239         value.
240
241 2002-05-09  Juergen Vigna  <jug@sad.it>
242
243         * insetcollapsable.C (edit): first_after_edit should only be
244         set to true if we enter this inset and it was collapsed so we
245         open it up. This is needed to reclose it after a search/replace
246         or spellcheck function opened it and was negative.
247
248 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
249
250         * insetfloat.C (latex): Return correct value.
251
252 2002-05-04  Herbert Voss  <voss@perce.de>
253
254         * InsetgraphicsParams.C (read): fix bug with WH
255
256 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
257
258         * insetfloat.C (latex): More sensible latex output
259         (fix the problem with endfloat).
260
261 2002-05-02  José Matos  <jamatos@fep.up.pt>
262
263         * insetgraphics.C (validate): acess params as everyone else.
264
265 2002-05-03  Juergen Vigna  <jug@sad.it>
266
267         * insettabular.C (fitInsetCursor): recalculate the cursor position
268         if I request it.
269
270 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
271
272         * InsetgraphicsParams.[Ch]: whitespace.
273
274 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
275
276         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
277         float type do not exist.
278
279 2002-04-28  Herbert Voss  <voss@perce.de>
280
281         * insetgraphics.C (latex): fix bug with missing file-extension.
282         LaTeX still allows a missing "eps" or "ps".
283
284 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
285
286         * insetfloat.C (c-tor, wide): translate the name of the float.
287
288 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
289
290         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
291         when using natbib and make it work efficiently. Must emphasise that the
292         real work is Herbert's.
293
294 2002-04-23  Herbert Voss  <voss@perce.de>
295
296         * insetgraphic.C (prepareFile): fix bug with overwriting and
297         deleting an existing *.eps-file in the doc-dir
298
299 2002-04-23  Juergen Vigna  <jug@sad.it>
300
301         * insettabular.C (drawCellSelection): fix off by 1 error.
302
303 2002-04-22  Juergen Vigna  <jug@sad.it>
304
305         * insettabular.C (setFont): rewoke full selection if it was asked,
306         after we changed all we had to change.
307
308         * insettext.C (insetUnlock): code was uninitialized in some situations.
309
310 2002-04-19  Herbert Voss  <voss@perce.de>
311
312         * insetgraphic.C (prepareFile): return filename without
313         extension if we only export without compiling
314
315 2002-04-19  Juergen Vigna  <jug@sad.it>
316
317         * insettext.C (draw): call a fullRebreak on the row where we had a
318         change and reset the cursor and selection-cursors.
319
320         * insettabular.C (insetUnlock):
321         (insetButtonPress): call an update before setting the_locking_inset = 0
322         as otherwise we don't repaint!
323         (update): reset the cursor position when we changed dimensions as
324         otherwise our cursor may be on the wrong spot.
325
326 2002-04-18  Juergen Vigna  <jug@sad.it>
327
328         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
329         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
330         redraw otherwise we won't redraw.
331
332         * insettext.C (draw): fixed the setting of LyXText::first_y it was
333         not really right before, but I only discovered this with the last
334         changes to Page up/down.
335
336 2002-04-17  Juergen Vigna  <jug@sad.it>
337
338         * insettext.C (checkAndActivateInset): simplified as we now have the
339         edit(bv, bool) call.
340
341         * insettext.h: changed behind variables to front variables to be
342         equal to the one in the edit call (as it is for that they are used).
343
344 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
345
346         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
347         not output anything at all!
348
349 2002-04-16  Juergen Vigna  <jug@sad.it>
350
351         * insettabular.C (insetButtonPress):
352         (insetUnlock): call a redraw on unlocking the cell inset.
353
354         * insettext.C (insetButtonPress): same as below.
355         (lockInset): new function to set initial values when inset should
356         be locked.
357         (insetButtonPress): use above function.
358         (insetUnlock): don't force a repaint only set the updateStatus. The
359         outside world should repaint if it thinks it should be done!
360
361         * insettabular.C (insetButtonPress): init values if not set as locked
362         as we are locked if someone presses on us and don't call the edit()
363         call of the InsetText to lock it do it as BufferView does it!
364
365         * inset.h (insetInInsetY): make func const and return an int.
366         * insettext.C:
367         * insettabular.C:
368         * insetcollapsable.C: adapt the above changed function.
369
370 2002-04-15  Juergen Vigna  <jug@sad.it>
371
372         * insettext.C (getCursorPos): return relative position as to be able
373         to give them directly to the edit() call.
374         (edit): we have to set also x_fix as it is not set inside the
375         setCursorFromCoordinates call!
376         (insetMotionNotify): ditto.
377
378 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
379
380         * insetbib.C (getKeys): strip leading '\t's from the line too.
381         With thanks to Henry Pfister <hpfister@ucsd.edu>.
382
383 2002-04-12  Juergen Vigna  <jug@sad.it>
384
385         * insettext.h: added cix() helper function and use it where appropriate
386
387 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
388
389         * insetgraphics.C (prepareFile): fix bug when graphics is a
390         relative path
391
392 2002-04-12  Juergen Vigna  <jug@sad.it>
393
394         * insettext.C (insertInset): remove unneeded code!
395         (updateLocal): fitCursor() fixes.
396         (collapseParagraphs): fix a possible problem when having a selection
397         and collapsing the paragraphs.
398
399 2002-04-08  Herbert Voss  <voss@perce.de>
400
401         * insetgraphic.C (write): write the rotating angle as
402         a float as is. test only for != 0.0
403
404 2002-04-11  Juergen Vigna  <jug@sad.it>
405
406         * insettext.C: new function ciy() and use it for setting inset_y.
407
408         * insetert.C (draw): fix the x return for collapsed version.
409
410 2002-04-07  Herbert Voss  <voss@perce.de>
411
412         * insetgraphic.C (readFigInset): fix bug with subcaption and
413         rotating
414
415 2002-04-08  Herbert Voss  <voss@lyx.org>
416
417         * insetgraphicsparam.C: forgot special option and delete old
418         1.2.0 stuff
419
420 2002-04-05  Juergen Vigna  <jug@sad.it>
421
422         * insettext.C (localDispatch): make a CURSOR update if we inserted
423         a character.
424
425 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
426
427         * insetfloatlist.C (getScreenLabel):
428         (latex): use Floating::listName
429         (validate): new method
430
431 2002-04-03  José Matos  <jamatos@fep.up.pt>
432
433         * insetlabel.C (docbook): the anchor is an empty element in docbook.
434
435         * insetfoot.[Ch] (docbook): added forgotten method.
436
437 2002-04-03  Juergen Vigna  <jug@sad.it>
438
439         * insettext.C (insetButtonPress): fix insetButtonPress events the same
440         way as in Bufferview_pimpl.
441
442 2002-04-03  Allan Rae  <rae@lyx.org>
443
444         * insetgraphics.C (latex): one % too many makes living on the bleeding
445         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
446
447 2002-03-28  Herbert Voss  <voss@lyx.org>
448
449         * insetgraphic.C (latex): simplify the code for the latex
450         output when the file doesn't exist
451
452 2002-03-29  Juergen Vigna  <jug@sad.it>
453
454         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
455         unlocking inset.
456
457         * insettabular.C (edit): call fitCursor().
458
459         * insettext.C (insetButtonPress): change behaviour of no_selection
460         to the one in the BufferView selection_possible and fix the spurious
461         selection bug with it.
462         (localDispatch): revoke selection on BREAK... functions.
463
464 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
465
466         * insetfloatlist.C (getScreenLabel): translate the GUI label.
467
468 2002-03-28  Juergen Vigna  <jug@sad.it>
469
470         * insettabular.C (insetAllowed): return true as default value otherwise
471         we're not able to insert insets inside paragraphs of an not locked
472         insettext!
473
474 2002-03-27  Herbert Voss  <voss@lyx.org>
475
476         * insetgraphicsparam.C: change c%, p% to col%, page%
477
478 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
479
480         * insetspecialchar.C (isLineSeparator): disable the nice code to
481         allow linebreaks after hyphenation and menu separators.
482
483 2002-03-26  Herbert Voss  <voss@lyx.org>
484
485         * insetgraphics.C (figinsetRead): set the right lyxview
486
487 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
488
489         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
490         $\backslash$ and pass a "string const &" to the function.
491         (prepareFile, latex): use Path rather than MakeAbsPath.
492
493 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
494
495         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
496         proper fix to the graphics cache.
497         (latex): "really" nice output if the file is not found ;-)
498
499 2002-03-26  Juergen Vigna  <jug@sad.it>
500
501         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
502         (collapseParagraphs): fixed inserting of separator ' '
503
504         * insettabular.C (insertAsciiString): only check for buffer lenght
505         not if we have \t or \n inside the buffer as if we don't have we only
506         have 1 cell and that's it!
507
508         * insetert.C (close): don't collapse if inlined.
509
510 2002-03-25  Herbert Voss  <voss@lyx.org>
511
512         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
513         graphics file does not exist.
514
515 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
516
517         * insetgraphics.C (prepareFile): ensure that the file has an absolute
518         path when preparing export.
519
520         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
521         no longer MakeRelPath.
522
523 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
524
525         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
526         Used to determine the absolute path to the graphics file in the
527         graphics cache and only in the graphics cache.
528         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
529         make graphics file name absolute if it is stored as a relative path.
530
531         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
532         make graphics file name absolute if it is stored as a relative path.
533
534         * insettext.C (edit): emit an updateParagraph signal on entering a text
535         inset. Needs to be emitted when leaving the inset also.
536
537 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
538
539         * all files: ws cleanup
540
541         * Makefile.am: remove ld -r stuff
542
543 2002-03-21  Juergen Vigna  <jug@sad.it>
544
545         * insettext.C (appendParagraphs): new function added to append
546         the paragraphs to this insets paragraphs.
547
548 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
549
550         * Makefile.am: special rules if partial linking
551
552 2002-03-19  Juergen Vigna  <jug@sad.it>
553
554         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
555
556 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
557
558         * insetgraphics.C: Clean up Baruch's comments a little.
559         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
560
561 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
562
563         * insettabular.C:
564         * insettheorem.C: wrap warnings
565
566         * insetgraphics.C: improve messages, move cached_status_
567           setting to safer place
568
569 2002-03-18  Juergen Vigna  <jug@sad.it>
570
571         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
572         calls.
573         (localDispatch): ditto
574
575         * insettext.C (edit): removed unneeded showCursor calls.
576         (localDispatch): ditto.
577
578 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
579
580         * insetgraphics.h: remove display() method.
581
582 2002-03-11  Juergen Vigna  <jug@sad.it>
583
584         * insetgraphics.C (draw): hack to fix the redrawing bug.
585         (draw): seems this fixes #268 (force redraw of row if we changed).
586
587         * insettext.C (updateInsetInInset): fixed for updates in insets inside
588         this inset text (don't know why I missed this earlier).
589
590 2002-03-08  Juergen Vigna  <jug@sad.it>
591
592         * insettabular.C (updateLocal): do a FULL update if we're not locked
593         and only a CELL update is asked.
594
595         * insettext.C (updateInsetInInset): update insets inside inset also
596         if it isn't inside the_locking_inset.
597
598         * insettabular.C (updateInsetInInset): ditto.
599
600 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
601
602         * insetexternal.C (doSubstitution): check whether we are using a
603         temp dir for defining $$FPath
604
605 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
606
607         * insettabular.C:
608         * insettext.C: remove #include "WorkArea.h".
609
610 2002-03-06  Juergen Vigna  <jug@sad.it>
611
612         * insettext.C (draw): fixed frame redrawing.
613         (clear): forgot to set the inset_owner of the paragraph.
614
615         * insetert.C (status): pay attention the bv can be 0 here!
616         (getMaxWidth): add the default leftMargin
617
618 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
619
620         * insetert.C (getMaxWidth): make w unsigned int.
621
622 2002-03-05  Juergen Vigna  <jug@sad.it>
623
624         * insetert.C (status): change behaviour of Inlined.
625         (getMaxWidth): added for new inlined behaviour.
626
627 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
628
629         * insetnote.h (linuxdoc, docbook): add empty methods.
630         * insetinclude.C (validate): fix a case where buffer->niceFile was used
631         before being initialized.
632
633 2002-03-05  Juergen Vigna  <jug@sad.it>
634
635         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
636         only that one in the inset. Should be enough.
637         (updateLocal): set the selection cursor always if we don't have a
638         selection to be sure it's set!
639
640         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
641
642 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
643
644         * insettext.C (clear): a gross hack to set layout on a newly
645         created paragraph.
646
647 2002-03-04  Juergen Vigna  <jug@sad.it>
648
649         * insettabular.C (localDispatch): inserted handling of
650         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
651         (insertAsciiString): new helper function.
652
653 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
654
655         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
656         argument.
657
658 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
659
660         * insettext.C (InsetText): initalize newly created par with
661         default layout. add bufferparams parameter
662         first -> first_y
663
664         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
665         * insetcollapsable.[Ch] (InsetCollapsable): ditto
666         * insetert.[Ch] (InsetERT): ditto
667         * insetfloat.[Ch] (InsetFloat): ditto
668         * insetfoot.[Ch] (InsetFoot): ditto
669         * insetfootlike.[Ch] (InsetFootLike): ditto
670         * insetmarginal.[Ch] (InsetMarginal): ditto
671         * insetminipage.[Ch] (InsetMinipage): ditto
672         * insetnote.[Ch] (InsetNote): ditto
673         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
674
675 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
676
677         * insettext.C: layout as string
678
679         * insetinclude.C: layout as string
680
681         * insetert.C: layout as string
682
683         * insetbib.C: layout as string
684
685 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
686
687         * insetert.C:
688         * insettabular.C: remove #include "lyx_gui_misc.h".
689
690 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
691
692         * Makefile.am:
693         * figinset.h:
694         * figinset.C:
695         * inset.h: remove figinset, yahoo !
696
697 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
698
699         * insetgraphics.C (c-tors): initialise parent classes explicitly in
700         copy c-tor and initialise member variables in the correct order.
701
702 2002-02-28  Juergen Vigna  <jug@sad.it>
703
704         * insettabular.C (localDispatch): clear selection on PgUp/Down.
705
706 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
707
708         * inset.h: ... and add a better one here.
709
710         * insetcommand.C (insetButtonRelease): remove that one which was a
711         bit broken...
712
713 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
714
715         * insetcommand.C (insetButtonRelease): ... and move it here.
716
717         * inseturl.h: remove insetButtonRelease from there...
718
719 2002-02-26  Juergen Vigna  <jug@sad.it>
720
721         * inseturl.h: Added a insetButtonRelease call returning true as
722         prove of concept.
723
724         * insetlabel.C (edit): Fixed wrong update handling after change I
725         leave in the wrong code for the one who wrote it to remove and have
726         a look what he did wrong.
727
728         * insettabular.C (localDispatch): force a SELECTION update if we
729         had a selection and we passed the event down to the inset (fix #213)
730         (localDispatch): handle font changing stuff when we have a cell
731         selection so that the selection is not rewoked. I don't really like
732         this fix, but it's the only way I see to do it right now.
733
734 2002-02-22  Juergen Vigna  <jug@sad.it>
735
736         * insettext.C (insetUnlock): set the cursor to the second paragraph
737         if available and if the first one is empty (fix #191).
738
739 2002-02-20  Juergen Vigna  <jug@sad.it>
740
741         * insettext.C (getDrawFont): implemented this function to call the
742         one of the owner if present as the owner normally knows what to do
743         with us.
744
745         * insetert.C: implement getDrawFont() function and comment out all
746         the crap for setting a special latex font inside this inset.
747         (InsetERT): added a Lanugage parameter to this constructor.
748
749         * inset.h: added function getDrawFont(LyXFont & font) to be able to
750         change the font for being drawn on screen (used only in InsetERT for
751         now).
752
753         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
754         and also above (was missing).
755         (updateLocal): don't remove the cell selection if we have one this
756         should be done where we really want to remove it.
757
758 2002-02-20  José Matos  <jamatos@fep.up.pt>
759
760         * insetinclude.h: include_label made string const.
761
762         * insetinclude.C (InsetInclude): moved include_label initialization.
763         (linuxdoc):
764         (docbook):
765         (validate): fix support for temporary directory, for docbook and
766         linuxdoc.
767
768         * insetgraphics.h : new private member, graphic_label, that holds
769         the entity name that defines the graphics location (SGML).
770
771         * insetgraphics.C (unique_id): new function to give a unique label
772         for graphic.
773         (docbook):
774         (validate): the file locatation is given by an entity reference.
775
776 2002-02-18  Herbert Voss  <voss@lyx.org>
777
778         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
779
780 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
781
782         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
783         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
784
785 2002-02-18  José Matos  <jamatos@fep.up.pt>
786
787         * insetinclude.C (validate): some code only applies to latex buffers,
788         it was made conditional.
789
790 2002-02-12  Herbert Voss  <voss@lyx.org>
791
792         * insetgraphics.C: (prepareFile) do not check at this time
793         if the file is present.
794
795 2002-02-12  Herbert Voss  <voss@lyx.org>
796
797         * insetgraphics.C: latex(), return the correct newlines
798
799 2002-02-13  José Matos  <jamatos@fep.up.pt>
800
801         * inseturl.C (docbook): escape & in url.
802
803 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
804
805         * insetspecialchar.C (isLineSeparator): line breaking is allowed
806         after HYPHENATION and MENU_SEPARATOR
807
808         * inset.h (isLineSeparator): new method, returns false by default.
809
810 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
811
812         * insetert.C (status): do not update the text inset, but the ERT
813         inset.
814
815 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
816
817         * insetnote.C: use notebg for background
818
819 2002-02-08  Herbert Voss  <voss@lyx.org>
820
821         * insetgraphic.C:
822         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
823         prevent LyX from unzipping when this should be handled
824         by latex vis the graphic.cfg.
825         clean up the code
826
827 2002-02-08  Herbert Voss  <voss@lyx.org>
828
829         * insetgraphic.C: prepareFile(): fix bug when file doesn't
830         exists, than return filename with extension
831
832 2002-02-06  Herbert Voss  <voss@lyx.org>
833
834         * insetgraphic.C: prepareFile(): don't convert the file, when
835         it's not viewed in LyX. Saves a lot of time when opening a
836         document!
837
838 2002-02-05  Herbert Voss  <voss@lyx.org>
839
840         * insetgraphic.C:
841         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
842         and adding a rotate bool similiar to subcaption
843
844 2002-02-04  Herbert Voss  <voss@lyx.org>
845
846         * insetgraphic.C:
847         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
848         similiar view to the LaTeX one. Get zipped files work.
849
850 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
851
852         * insetgraphicsParams.C (init): set display to DEFAULT.
853         No longer #include "lyxrc.h".
854
855 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
856
857         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
858         for now (so that the code compiles).
859
860 2002-02-02  Herbert Voss  <voss@lyx.org>
861
862         * insetgraphic.C: delete inVariant() and some minor changes
863         * insetgraphicsParams.[C]:
864
865 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
866
867         * insetgraphics.C (updateInset): if params.display == DEFAULT,
868         interogate lyxrc.display_graphics before diaplaying the graphic.
869
870         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
871         InsetGraphicsParams::DisplayType.
872
873 2002-01-31  Herbert Voss  <voss@lyx.org>
874
875         * insetgraphic.C: (readfigInset) set display to pref-default
876
877 2002-01-30  Herbert Voss  <voss@lyx.org>
878
879         * insetgraphic.C: get the filetyp from it's contents
880         * insetgraphicparams.C: add token scale and lyxrc.display when
881         creating a new inset
882
883 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
884
885         * figinset.C: added using std::ios directive.
886
887 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
888
889         * figinset.C (runqueue): open translation file in binary mode (for
890         cygwin).
891
892 2002-01-27  Herbert Voss  <voss@lyx.org>
893
894         * insetgraphic.[Ch]: mostly newritten to support graphicx with
895         all options and to be sure that the old figinsets are correct
896         converted.
897         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
898         structure and to support all lengths as LyXLength. The Parameter
899         structure changed again, but reading of "old" 1.2 graphic insets
900         is no problem.
901
902 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
903
904         * insetert.h (forceDefaultParagraphs): Added
905
906 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
907
908         * insettabular.C (getMaxWidth):
909         (forceDefaultParagraphs): use Tabular::GetCellFromInset
910
911 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
912
913         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
914         of LyXLength::inPixels
915
916         * inset.C (latexTextWidth):
917         * insetminipage.C (latexTextWidth): new method, which implements
918         the equivalent of the LaTeX macro \textwidth
919
920         * insetminipage.C (getMaxWidth): use latexTextWidth
921
922 2002-01-18  Juergen Vigna  <jug@sad.it>
923
924         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
925
926 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
927
928         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
929
930         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
931         instead of string
932
933 2002-01-17  Juergen Vigna  <jug@sad.it>
934
935         * insettabular.C (lockInsetInInset): same change as in insettext.
936
937         * insettext.C (draw): width() function was called without setting
938         the right top_x which could lead to wrong insetWidth setting!
939         (lockInsetInInset): call edit instead of calling lockInset if we
940         have to lock an inset inside!
941         (edit): we have to also tell the inset that we have to redraw the
942         frame on an edit call if this inset draws a frame only if locked.
943
944 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
945
946         * insetbib.C (getFiles): uncomment Path variable.
947
948 2002-01-16  Juergen Vigna  <jug@sad.it>
949
950         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
951         of wrong cell.
952
953 2002-01-16  Allan Rae  <rae@lyx.org>
954
955         * insetinclude.C (docbook): someone forgot a ";"
956
957 2002-01-16  José Matos  <jamatos@fep.up.pt>
958
959         * figinset.C (docbook): removed a old place holder "@".
960         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
961         * insetinclude.C (linuxdoc): if include is verbatim, then export the
962         ascii text version, clearly guarded inside a CDATA section.
963         (docbook): in docbook 4, inlinegraphics is empty.
964         * insettabular.C (linuxdoc): export the ascii version of the table
965         inside a CDATA section.
966
967 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
968
969         * insetparent.C (InsetParent):
970         * insetgraphicsParams.C (Write):
971         (Read):
972         * insetgraphics.C (prepareFile):
973         (readFigInset):
974         (docbook):
975         * insetexternal.C (executeCommand):
976         (doSubstitution): use Buffer::filePath
977
978         * insetbib.C (getFiles): add a #warning for Angus
979
980         * insetgraphics.C: Add a remark about how filenames should be
981         considered to be relative to buffer (but absolute is still allowed)
982         (draw): do not try to get status if lyxrc.use_gui is false
983
984 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
985
986         * inset.[Ch]:
987         * insetcollapsable.[Ch]:
988         * insettabular.[Ch] (searchForward, searchBackward): change the
989         bool const & params to bool.
990
991         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
992         to avoid the name clash with InsetCollapsable's methods of the same
993         names but different functionality.
994
995 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
996
997         * insettext.C (ascii): use lyx::count rather than countChar.
998
999 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
1000
1001         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
1002
1003 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1004
1005         * insetgraphics.C (updateInset): do not try to render image if
1006         lyxrc.use_gui is false (bug #104)
1007
1008         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
1009         if file does not exist
1010
1011         * figinset.C (browseFile): add shortcuts to directory buttons
1012
1013         * insettext.C (updateLocal): update menubar and toolbar here too.
1014
1015 2002-01-13  Allan Rae  <rae@lyx.org>
1016
1017         * insettabular.C (InsetTabular): Both constructors now initialise
1018         all class variables.
1019
1020 2002-01-11  Juergen Vigna  <jug@sad.it>
1021
1022         * insettext.C (insetButtonPress): set the_locking_inset to 0.
1023
1024 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1025
1026         * insettabular.C (getStatus): add forgotten brace around multiline
1027         if statement.
1028
1029 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1030
1031         * insetfloat.C (validate): require "float" instead of "floats".
1032
1033 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * insettabular.C (getStatus): use FuncStatus
1036
1037 2002-01-08  Juergen Vigna  <jug@sad.it>
1038
1039         * insettabular.C (insetButtonRelease): now this should work too
1040         correctly.
1041
1042         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
1043         if the width is a percentage.
1044
1045         * inset.h: added isChar() function and implemented this for
1046         insetspecialchar insetquotes and insetlatexaccent.
1047         added forceDefaultParagraphs() and implemented it for insettabular.
1048
1049 2002-01-07  Juergen Vigna  <jug@sad.it>
1050
1051         * insettext.C (getLyXText): Fixed this function. An insert into the
1052         map is only done if we REALLY have a new BufferView.
1053
1054 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * insettext.C: fix bug illustrated by attachment #37 of bug #59
1057
1058 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1059
1060         * insetinclude.C: fix use of FileInfo
1061
1062 2002-01-07  Juergen Vigna  <jug@sad.it>
1063
1064         * insettabular.C (draw): fixed clearing of cell around inset.
1065
1066 2002-01-05  Juergen Vigna  <jug@sad.it>
1067
1068         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
1069         variables are updated.
1070
1071         * insettabular.C (resetPos): set always the inset_y as it may be
1072         needed in another function.
1073         (searchBackward): don't draw while searching.
1074
1075 2002-01-04  Juergen Vigna  <jug@sad.it>
1076
1077         * insettext.C (lockInsetInInset): forgot to set a cursor.
1078
1079 2002-01-02  Juergen Vigna  <jug@sad.it>
1080
1081         * insettext.C (insertInset): make the correct undo informations on
1082         inserting new insets.
1083
1084 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
1085
1086         * insettabular.C: correct single-cell select vertically
1087
1088 2001-12-27  Juergen Vigna  <jug@sad.it>
1089
1090         * insettabular.C (ascii): export as tab-separated-values if the
1091         function was not called from export (f.ex.: clipboard).
1092
1093         * insetcollapsable.h: added default support for ascii, linuxdoc and
1094         docbook export (the insettext is exported by default!)
1095
1096         * insettabular.C (copySelection): suff the clipboard with the tabular
1097         data in a tab separated format, seems more naturals then with all the
1098         formating.
1099
1100 2001-12-24  Juergen Vigna  <jug@sad.it>
1101
1102         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
1103         to check for REAL mouseMotion.
1104
1105 2001-12-20  Juergen Vigna  <jug@sad.it>
1106
1107         * inset.C (cursor): return the owners cursor if available instead of
1108         always only the bv->text->cursor.
1109
1110         * insettabular.C (checkLongtableSpecial): works now.
1111
1112 2001-12-19  Juergen Vigna  <jug@sad.it>
1113
1114         * insettabular.C (tabularFeatures): fix the row setting of ltt as
1115         this has to be always row + 1 as 0 means not selected!
1116         (checkLongtableSpecial): added
1117         (tabularFeatures): better longtable options support
1118
1119         * insettext.C (resizeLyXText): reinit the text always also on a
1120         empty insettext!
1121
1122 2001-12-18  Juergen Vigna  <jug@sad.it>
1123
1124         * insettext.C (updateInsetInInset): look if we have to autocollapse
1125         paragraps and return if the update is requested for ourself.
1126
1127         * insetert.C (status): update the insettext not myself as that is what
1128         we need.
1129
1130         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
1131         function only return if the update was requested with myself.
1132
1133         * insettext.C (insetButtonPress): fixed stupid bug.
1134         (various functions): pay attention that lt is cleared BEFORE calling
1135         updateLocal() and try to use it in the right manner (don't use it
1136         if it's not really neccessary!)
1137         (collapseParagraphs): insert a blank between collapsing paragraphs
1138         if neccessary (not already there!).
1139
1140 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1141
1142         * insettabular.C: move includes around a bit, add a couple of
1143         consts.
1144
1145         * insettext.[Ch]: move includes around a bit, other ws changes and
1146         small stuff.
1147
1148 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1149
1150         * insettext.C (insetButtonRelease): fix compile problem
1151
1152 2001-12-17  Juergen Vigna  <jug@sad.it>
1153
1154         * insettext.C (insetButtonPress): set the selection cursor!
1155         (insetButtonPress): clear the selection (and set with that the
1156         selection.cursor) if we only hit an inset!
1157
1158         * insetert.C (read): removed piece of compatibility code only needed
1159         for 1.2.0.
1160
1161         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
1162         can be opened.
1163
1164         * insetcollapsable.C (insetButtonRelease): changed so that it can
1165         open eventual existing popup dialogs on mousebutton==3.
1166
1167         * insetfloat.C (insetButtonRelease): removed not needed anymore!
1168
1169         * insetminipage.C (insetButtonRelease): removed not needed anymore!
1170
1171         * inset.C (insetButtonRelease): return a bool for telling the outer
1172         world that we opened a dialog.
1173
1174 2001-12-07  Juergen Vigna  <jug@sad.it>
1175
1176         * insettext.C (paragraph): remove the deleteing of paragraphs as
1177         it was a WRONG move!
1178
1179 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
1180
1181         * insettabular.h:
1182         * insettabular.C: use new setSelection(). Allow
1183           selection of single cells.
1184
1185 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1186
1187         * insetquotes.C (latex): fix to use the local language setting at
1188         the point where the inset is inserted (different macros for
1189         different french packages)
1190
1191 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1192
1193         * inset.h: add par_owner_ member variable and parOwner
1194         setter/accessor.
1195
1196 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1197
1198         * insettabular.C (everywhere): adapt because widths are now real
1199         widths and not strings
1200
1201         * insettext.C (draw): re-introduce the calls to width(), ascent()
1202         and descent() to initialize the caching variables.
1203
1204 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1205
1206         * insettext.C (draw):
1207         (drawFrame): use insetWidth instead of last_width
1208
1209         * insettext.h: remove variable last_width (insetWidth is exactly
1210         the same) and last_height (computed but never used!)
1211
1212 2001-12-10  Allan Rae  <rae@lyx.org>
1213
1214         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
1215
1216 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
1217
1218         * insettext.C (insetAllowed): add comment
1219
1220 2001-12-05  Juergen Vigna  <jug@sad.it>
1221
1222         * insettext.C (insetAllowed): fixed for the case that we directly
1223         ask the insettext from its LyXText.
1224         (paragraph): fixed the crash when assigning the par->next() from
1225         the EmptyParagraphMechanism!
1226
1227 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1228
1229         * insetbib.C:
1230         * insettabular.C:
1231         * insettext.C: change "while(" to "while ("
1232
1233 2001-12-04  Juergen Vigna  <jug@sad.it>
1234
1235         * insetert.C (edit): handle Inlined status.
1236
1237         * insettext.C (insertInset): trying John's fix for the trailing cursor
1238
1239         * insetert.C (insetButtonPress): added to handle inlined status
1240         (insetMotionNotify): ditto.
1241
1242         * insettext.C (clearInset): changed Painter & in BufferView * param,
1243         to be able to call ascent,descent methods.
1244
1245 2001-12-03  Juergen Vigna  <jug@sad.it>
1246
1247         * insettext.C (updateInsetInInset): use lt variable to forbid
1248         changes of LyXText in an update call.
1249         (updateInsetInInset): fixed updating of non locked insets!
1250
1251 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1252
1253         * insettabular.C: capture some more functions to prevent
1254         selection drawing problems. Bug #451274
1255
1256 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1257
1258         * insetgraphics.C:
1259         * insetgraphicsParams.C: fix inverted sense of float_equal
1260
1261 2001-11-30  Juergen Vigna  <jug@sad.it>
1262
1263         * insettabular.C (InsetTabular): use the save_id flag to create also
1264         the tabular with the same id's.
1265
1266         * insettext.C (setParagraphData): added a same_id function for undo
1267         to set the same paragraph id's as of the paragraph we are setting.
1268
1269 2001-11-30  José Matos <jamatos@fep.up.pt>
1270
1271         * inseturl.[Ch]:
1272         * insettoc.[Ch]: DocBook -> docbook.
1273
1274 2001-11-29  André Pönitz <poenitz@gmx.net>
1275
1276         * inseterror.C:
1277         * insettext.C: further reduction of header dependencies by using
1278         lyx::layout_type and lyx::textclass_type from support/types.h
1279
1280 2001-11-29  Juergen Vigna  <jug@sad.it>
1281
1282         * insettext.C: inserted a reinitLyXText function everywhere I delete
1283         the paragraphs! This should fixe the crashes we had.
1284         Also use the new function firstRow() instead of getRowNearY(dummy_y)
1285         (paragraph): set the InsetOwner() of the new paragraphs!
1286
1287 2001-11-28  André Pönitz <poenitz@gmx.net>
1288
1289         * insetnote.C: add pos initialization that I removed without
1290           knowing what I did.
1291
1292 2001-11-28  Juergen Vigna  <jug@sad.it>
1293
1294         * insettabular.C (resetPos): hack to not crash with infinite paints.
1295
1296         * insettabular.h: insert missing function allowSpellcheck()!
1297
1298         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
1299
1300 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1301
1302         * insetfloatlist.h:
1303         * insetfloatlist.C: derive from InsetCommand so gui can use it
1304           easily
1305
1306 2001-11-26  André Pönitz <poenitz@gmx.net>
1307
1308         * insettext.[Ch]:
1309         * insetert.C:
1310         * insetnote.C: reduce header dependencies, introduce type for
1311         positions
1312
1313 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
1314
1315         * various: update for Alert.h
1316
1317 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
1318
1319         * inset.h: fix comment
1320
1321         * insettext.C: use par->isInset()
1322
1323 2001-11-22  Allan Rae  <rae@lyx.org>
1324
1325         * insetcollapsable.h:
1326         * inset.h: Changes to checkInsertChar() behaviour.
1327         Now return value indicates whether chars can be inserted.
1328
1329 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
1330
1331         * various:  updated to use the new LaTeXFeatures
1332
1333 2001-11-14  José Matos  <jamatos@fep.up.pt>
1334
1335         * insetspecialchar.C (linuxdoc):
1336         (docbook): don't give a name to a unused variable.
1337
1338         * insettext.C (docbook): removed unused variable.
1339
1340 2001-11-13  Herbert Voss  <voss@perce.de>
1341
1342         * insetgraphic.C: fix scale bug
1343
1344 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1345
1346         * inset.h (isSpace):
1347         (isLetter): new virtual methods.
1348
1349         * insetspecialchar.C (isSpace):
1350         (isLetter): implement here.
1351
1352 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1353
1354         * inset.h: new inline helpers
1355
1356         * insettext.C: use new helpers
1357
1358 2001-11-07  José Matos  <jamatos@fep.up.pt>
1359
1360         * insettext.C (docbook): full support for paragraphs inside insettext.
1361
1362 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
1363
1364         * insetindex.C: added header file for std::ostream.
1365
1366 2001-11-03  José Matos  <jamatos@fep.up.pt>
1367
1368         * insetindex.C: added using std::ostream that I forgot yesterday.
1369
1370 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
1371
1372         * insetindex.h (docbook):
1373         * insetindex.C (docbook): added support for docbook export.
1374
1375 2001-11-02  José Matos  <jamatos@fep.up.pt>
1376
1377         * insetcaption.C(docbook): added support for docbook export.
1378
1379 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
1380
1381         * insetexternal.C (updateExternal): Do not run update command if
1382         result file exists and is up to date.
1383
1384         * ExternalTemplate.C (readFormat): Support the updateresult token.
1385
1386 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
1387
1388         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
1389         external_templates) to use the buffer->fileName() but only if
1390         previewing. Generating a TeX file should make FPath return
1391         "".
1392
1393 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
1394
1395         * insetert.h:
1396         * insetert.C: fix some problems
1397
1398 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
1399
1400         * insetexternal.C (doSubstitution): Added $$FPath token
1401         to list of usable substitutions in external inset templates.
1402
1403 2001-10-24  Juergen Vigna  <jug@sad.it>
1404
1405         * insettabular.C: use new ltType struct for setting longtable
1406         header and footers also new UNSET enums.
1407
1408 2001-10-24  José Matos  <jamatos@fep.up.pt>
1409
1410         * insettabular.C (linuxdoc): Now exports the ascii's table version.
1411         (docbook): If the table is not inside a float then wrap it inside
1412         <informaltable>...</informaltable>.
1413
1414 2001-10-23  José Matos  <jamatos@fep.up.pt>
1415
1416         * insetref.C (docbook): removed / terminator to conform SGML.
1417
1418         * insetspecialchar.C (linuxdoc):
1419         (docbook): Added support for special chars, more than ascii export.
1420
1421 2001-10-22  Juergen Vigna  <jug@sad.it>
1422
1423         * insettext.C (checkInsertChar): added for REALLY checking the
1424         font of the inserted char in the right inset!
1425
1426 2001-10-19  Juergen Vigna  <jug@sad.it>
1427
1428         * inset.h: added method allowSpellcheck() so that insets who do
1429         not have anything to spellcheck can tell and so they are over-jumped.
1430         Implemented for InsetText and co.
1431
1432 2001-10-18  Juergen Vigna  <jug@sad.it>
1433
1434         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
1435
1436 2001-10-15  José Matos  <jamatos@fep.up.pt>
1437
1438         * insetert.C: allow export for docbook and linuxdoc
1439
1440 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
1441
1442         * insetquotes.C (dispString): handles latin3 and latin4 quotes
1443
1444 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1445
1446         * insetquotes.C (dispString): fix handling of latin9 quotes
1447
1448 2001-10-03  Juergen Vigna  <jug@sad.it>
1449
1450         * insetert.C: ditto
1451
1452         * insetcollapsable.C: change updateInset calls to not tell BV that
1453         we have changed status.
1454
1455 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1456
1457         * insettabular.C (deletable): make const
1458
1459 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
1460
1461         * insetert.C (latex): Fix the returned value
1462
1463 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
1464
1465         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
1466         Returns string(), so nothing in an ERT inset is spellchecked.
1467
1468         * insetgraphics.C (draw): print the filename if not displaying the
1469         image.
1470         (width): make sure that the width and draw methods are consistent.
1471         (updateInset): don't even load the image into cache if not displaying
1472         it.
1473
1474 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
1475
1476         * various files (selectNextWord): renamed as
1477         selectNextWordToSpellcheck.
1478
1479         * insetgraphics.C (draw): remove the previous change. Right place
1480         is in imageLoaderXPM.C.
1481         (draw): don't display the image if params.display == NONE.
1482
1483 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
1484
1485         * figinset.C (runqueue):
1486         * insetgraphics.C (draw): set background colour of inset from
1487         background to the user-configurable graphicsbg.
1488
1489 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1490
1491         * insetquotes.C (InsetQuotes): when trying to decide the side of
1492         the quote, choose `left' only after a space or '('
1493
1494 2001-09-04  José Matos  <jamatos@fep.up.pt>
1495         * figinset.C
1496         * figinset.h
1497         * insetcaption.C
1498         * insetcaption.h
1499         * insetcollapsable.h
1500         * insetcommand.C
1501         * insetcommand.h
1502         * inseterror.h
1503         * insetert.C
1504         * insetert.h
1505         * insetexternal.C
1506         * insetexternal.h
1507         * insetfloat.C
1508         * insetfloat.h
1509         * insetfloatlist.h
1510         * insetgraphics.C
1511         * insetgraphics.h
1512         * inset.h
1513         * insetinclude.C
1514         * insetinclude.h
1515         * insetlabel.C
1516         * insetlabel.h
1517         * insetlatexaccent.C
1518         * insetlatexaccent.h
1519         * insetquotes.C
1520         * insetquotes.h
1521         * insetref.C
1522         * insetref.h
1523         * insetspecialchar.C
1524         * insetspecialchar.h
1525         * insettabular.C
1526         * insettabular.h
1527         * insettext.C
1528         * insettext.C (docbook): rename docBook method to docbook.
1529
1530 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
1531
1532         * inset.h (getFirstParagraph): New virtual method.
1533
1534 2001-08-20  Herbert Voss  <voss@perce.de>
1535         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
1536         in the the bibtex-database-gui for inserting a line
1537         \addcontentsline...
1538
1539         If no style is given than there is no tex-output.
1540
1541 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
1542
1543         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
1544         files as a vector.
1545         (getKeys): use it.
1546
1547 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1548
1549         * insetert.C (latex): Fix output for multiple paragraphs.
1550         (write): New code for writing paragraph data.
1551         (read): Set font after reading the inset.
1552         (localDispatch): Call set_latex_font() for more cases.
1553
1554         * insetnote.h: Add empty validate method.
1555         * insetert.h: Ditto
1556
1557         * insetnote.C (InsetNote): Set language to the language of the
1558         document.
1559
1560 2001-08-16  Juergen Vigna  <jug@sad.it>
1561
1562         * insettext.C: implemented the new FINISHED states.
1563
1564         * insettabular.C: ditto
1565
1566         * inset.h: added more FINISHED states for cursor right,up,down
1567
1568 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
1569
1570         * insetfloatlist.C: use "FloatName List"
1571
1572 2001-08-14  Juergen Vigna  <jug@sad.it>
1573
1574         * insetert.C (edit): forgot to set status_ in edit calls!
1575
1576 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
1577
1578         * insettext.C: Compilation fix
1579
1580 2001-08-13  Juergen Vigna  <jug@sad.it>
1581
1582         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
1583
1584         * insetcollapsable.C (edit): don't recollapse an already open inset.
1585
1586         * insettext.C: fixed problem when reinitializing LyXText by not doing
1587         it while lt is in use and post this to the next possible time in
1588         getLyXText().
1589         (searchForward): fixed not unlocking of inset if nothing found.
1590         (edit): set cursor behind right (was set -1 pos).
1591
1592         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
1593
1594         * insettabular.C (tabularFeatures): fixed fix where deleting the
1595         last row didn't get the right actcell!
1596
1597 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
1598
1599         * insettext.C (localDispatch): Change language only when the inset
1600         becomes empty.
1601
1602 2001-08-10  Juergen Vigna  <jug@sad.it>
1603
1604         * insettabular.C (selectNextWordInt): use the front using edit call.
1605
1606         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
1607         the parameter overwrite class variable inset.
1608
1609         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
1610
1611         * insettext.C (saveLyXTextState): check for invalid cursor-par.
1612         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
1613
1614         * insettabular.C (calculate_dimensions_of_cells): let's try to call
1615         update only for fixed with cells.
1616         (resetPos): try to fix the lockup on spellchecking or s&r.
1617
1618         * insettext.C (update): comment this out as it seems first wrong
1619         and second not needed anymore!
1620         (some functions): call reinitLyXText() only in update() in all other
1621         positions set only need_update = INIT.
1622
1623 2001-08-08  Juergen Vigna  <jug@sad.it>
1624
1625         * insettabular.C (setPos): fixed wrong actrow < rows() check.
1626
1627         * insettext.C (insetUnlock): remove double-space on inset unlock.
1628
1629         * insetcollapsable.C (draw): fix returned x when label > inset-width.
1630
1631         * insettabular.C (update): fixed cursor positon after an insert.
1632         (insetAllowed): do not allow to insert insets when not inside the
1633         inset!
1634         (draw): clear below an inset too as it could have changed height.
1635
1636         * inset.C (getMaxWidth): fixed width for inset in inset.
1637
1638         * insettext.C (update): small fix.
1639
1640         * insettabular.C (tabularFeatures): added selection support to
1641         DELETE_ROW/DELETE_COLUMN.
1642
1643 2001-08-07  Juergen Vigna  <jug@sad.it>
1644
1645         * inset.C (getMaxWidth): recoded and all it's implementations!
1646
1647         * insettext.C (init,setParagraph+constructors): cleanups
1648         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
1649         are new and I want do a save/restore of the cursor position which is
1650         not possible anymore.
1651
1652         * insetcollapsable.C (searchBackward): recollapse inset if not found.
1653         (searchBackward): ditto
1654         (selectNextWord): ditto
1655
1656 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
1657
1658         * insetlatexaccent.C (checkContents): Add some debug messages
1659
1660 2001-08-07  Juergen Vigna  <jug@sad.it>
1661
1662         * insetert.C (read): don't use InsetCollapsable::read as we don't
1663         write the collapsed status anymore only the status.
1664         (write): ditto.
1665
1666 2001-08-06  Juergen Vigna  <jug@sad.it>
1667
1668         * insetert.C (set_latex_font): use LyXText's setFont directly.
1669
1670         * insettext.C (drawFrame): fixed one time more the right position
1671         and size of the frame!
1672
1673         * insetert.C (~InsetERT): hide the dialog.
1674         (showInsetDialog): added implementation
1675         (open): ditto
1676         (close): ditto
1677         (status): new function for the status of the ERT inset (3-state).
1678         (write): output also the status of the inset for readback!
1679         (read): readback the status if available otherwise use collapsed_.
1680
1681         * insettext.C (edit): small fix of setting the position, which could
1682         have gone < 0.
1683
1684         * insetert.C (width): implement this function for inlined viewing.
1685         Added minimum width of 10 pixels!
1686
1687         * insetminipage.C (InsetMinipage): just change the colors a bit so
1688         that border/background is a bit more visible. We will remove this
1689         anyway for 1.2.0!
1690
1691         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
1692         function for getting the important widths for drawing in various
1693         functions and in LyXText.
1694         (draw): fixed up a bit (frame drawing/clearing)
1695
1696 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1697
1698         * inset.C (convertFont): delete method. not used.
1699
1700 2001-08-03  Juergen Vigna  <jug@sad.it>
1701
1702         * insettext.C (setFont): don't call for a draw update if we're just
1703         changing the cursor font!
1704
1705 2001-08-02  Juergen Vigna  <jug@sad.it>
1706
1707         * insettext.C (draw): clear the background with the right color if
1708         needed. Update myself if x&max-width changed and return without doing
1709         anything. Let the update code handle the right stuff.
1710
1711         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
1712         inside another inset.
1713
1714 2001-08-01  Juergen Vigna  <jug@sad.it>
1715
1716         * insetcollapsable.C (update): added an in_update bool so we avoid
1717         reentering.
1718
1719         * insettabular.C (update): added an in_update bool so we avoid
1720         reentering.
1721
1722         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
1723         selection problem.
1724         (update): added an in_update bool so we avoid reentering.
1725
1726         * insettabular.C (localDispatch): clear col/row selection when doing
1727         something else inside an inset.
1728
1729         * insettext.C (getLyXText): fixed bug when requesting a recursive
1730         insettext!
1731
1732 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
1733
1734         * insetcite.C (latex): Paranoia check. Make sure that there is no
1735         whitespace between the citation keys.
1736
1737 2001-07-31  Juergen Vigna  <jug@sad.it>
1738
1739         * inset.h (nodraw): make the set function also const so that this
1740         can be called from inside other const functions.
1741
1742         * insetcollapsable.h: removed inline variable and moved it over
1743         to the only user InsetERT.
1744
1745         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
1746         inset opening immediately therein lying insets dialogs!
1747
1748         * insetert.C (localDispatch): set the font also if we don't have any
1749         chars in this paragraph, otherwise if we delete all of em and start
1750         writing we have the wrong font.
1751         (inlined): added
1752         (draw): implemented for inline support
1753         (insetButtonRelease): ditto.
1754
1755 2001-07-30  Juergen Vigna  <jug@sad.it>
1756
1757         * insettext.C (reinitLyXText): new function to reinit the insets
1758         text after lot's of paragraph changes. Use this instead of the
1759         cache.clear() which is VERY dangerous.
1760
1761         * insetfloat.C (insetButtonRelease): we should only show the dialog
1762         if we press on the label otherwise we have problems to open mouse
1763         button 3 dialogs inside this float (f.ex. of a tabular!)
1764
1765 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1766
1767         * insetert.C: change back to "ERT"
1768
1769         * insetfloat.C: handliign of RMB on label added.
1770
1771 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1772
1773         * insetgraphicsParams.C: #include LOstream.h here.
1774
1775         * insetfoot.h: remove InsetFoot:: qualifier.
1776
1777 2001-07-29  Baruch Even  <baruch@lyx.org>
1778
1779         * ChangeLog: Hiding time travel evidence.
1780
1781         * insetgraphicsParams.h:
1782         * insetgraphicsParams.C:
1783         * insetgraphics.C: Added horizontal scale option, it actually scales both
1784         directions since it keeps image proportions.
1785
1786         * insetgraphics.C: Fixed EPS detection to be non-hacky.
1787
1788 2001-07-29  Baruch Even  <baruch@lyx.org>
1789
1790         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
1791         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
1792
1793         HACKY! Will need to add an EPS detection routine like old InsetFig does!
1794
1795 2001-07-29  Baruch Even  <baruch@lyx.org>
1796
1797         * insetgraphics.C: Added EPSI to be an alias of EPS.
1798
1799 2001-07-29  Baruch Even  <baruch@lyx.org>
1800
1801         * insetgraphics.C: Change GRAPHICS to Graphics.
1802         Changed image conversion rules (documented at the beginning of file).
1803
1804 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
1805
1806         * insetert.C (get_new_label): int -> Paragraph::size_type to get
1807         std::min working.
1808
1809         * insetgraphics.C: added a using std::endl directive.
1810
1811         * insetcommand.h (getScreenLabel): removed pure virtual function,
1812         as it duplicates that in InsetButton.
1813
1814         * insetbib.[Ch] (getScreenLabel):
1815         * insetbutton.[Ch] (getScreenLabel):
1816         * insetcite.[Ch] (getScreenLabel):
1817         * insetert.[Ch] (getScreenLabel):
1818         * insetexternal.[Ch] (getScreenLabel):
1819         * insetfloatlist.[Ch] (getScreenLabel):
1820         * insetinclude.[Ch] (getScreenLabel):
1821         * insetindex.[Ch] (getScreenLabel):
1822         * insetlabel.h (getScreenLabel):
1823         * insetparent.[Ch] (getScreenLabel):
1824         * insetref.[Ch] (getScreenLabel):
1825         * insettoc.[Ch] (getScreenLabel):
1826         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
1827
1828         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
1829         the label.
1830         (validate): remove check on "cite" when using natbib.
1831
1832 2001-07-26  Baruch Even  <baruch@lyx.org>
1833
1834         * insetgraphics.C (draw): changed casting to be in one place rather than
1835         all over the function.
1836
1837         * insetgraphics.h:
1838         * insetgraphics.C (read): Added compatibility reads of InsetFig.
1839
1840         * insetgraphicsParams.h:
1841         * insetgraphicsParams.C:
1842         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
1843
1844 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
1845
1846         * insetfoot.C (validate): Added method to ensure that the
1847         right bit of LaTeX is emitted.
1848
1849         * insetfoot.h: Added validate method to set the correct
1850         LaTeXFeatures bit for the special footnote code.
1851
1852 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1853
1854         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
1855         quotes
1856
1857 2001-07-27  Juergen Vigna  <jug@sad.it>
1858
1859         * inset.h: remove not used font variable in parameter.
1860         removed checkInsertChar in UpdatableInset as it was equal to
1861         the one in Inset and so not needed.
1862
1863         * insetert.C (checkInsertChar): implementation of function
1864         checkInsertChar.
1865
1866         * inset.h: added new function checkInsertChar.
1867
1868         * various files: added c-tor and clone() function.
1869
1870         * insetcollapsable.h: removed clone function here as this should
1871         be only realized in REAL insets and added it to all collapsable
1872         insets! (with the copy-constructor).
1873
1874 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1875
1876         * insetminipage.C (read): handle missing parameters more gracefully
1877
1878         * insetcollapsable.C (read): handel missing collapsed more gracefully
1879
1880 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1881
1882         * insetfloat.C (read): handle missing parameters.
1883
1884         * insettext.C (read): handle old latex end_inset
1885
1886         * insetert.C (setButtonLabel): new method
1887         (init): use it, to set the dynamic label correctly
1888         (read): use it
1889
1890         * Makefile.am (EXTRA_DIST): add files that is not part or the
1891         binary here.
1892
1893         * insetcollapsable.h: remove autocollapsable (no users), remove
1894         draw_label, change_label_with_text and companion code. Remove args
1895         from some methods.
1896         * insetert.[Ch]: move here instead (only user)
1897
1898         * inset.h: rename private variable name to name_, make
1899         selectNextWord return a const string. make getInsetName return a
1900         string const &. Remove bool from open, add close.
1901
1902         * Makefile.am: don't compile insetlist, insetsection
1903         and insettheorem
1904
1905 2001-07-24  Juergen Vigna  <jug@sad.it>
1906
1907         * insetert.C (InsetERT): put init after the paragraph initialization,
1908         as otherwise we don't set the draw_label right.
1909
1910         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
1911         insets with the mouse without having strange selections.
1912         (edit): if the inset was collapsed and we open it here then put the
1913         cursor always at the beginning of the inset.
1914         (get_new_label): 15 instead of 10 max chars in the label.
1915
1916         * insetert.C (localDispatch): added and handle various stuff we
1917         need to handle here (font setting on paragraph break, not permitted
1918         layout setting, etc.).
1919
1920         * inset.h: added default copy-consturctor and implemented this in
1921         various insets with the change to use this in the clone function!
1922
1923 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * insetminipage.C (InsetMinipage): set background color to red :)
1926
1927 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
1930         draw frame mode is LOCKED.
1931
1932         * insetcollapsable.C (edit):
1933         (insetButtonRelease): set update status to full when
1934         opening inset.
1935
1936         * insettext.C (clearInset):
1937         * insettabular.C (draw):
1938         * insetlatexaccent.C (draw): honor background color.
1939
1940         * inset.h: new member background_color_, initialized to
1941         LColor::inherit.
1942
1943         * inset.C (backgroundColor): new method.
1944         (setBackgroundColor): new method.
1945
1946         * insetert.C (init): new method, called by the ctors.
1947         (InsetERT): when inserting contents, make sure the font is
1948         ALL_INHERIT.
1949
1950         * insetnote.C (InsetNote): when inserting content, remove trailing
1951         newline
1952         (init): set background color to LColor::note
1953
1954 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1955
1956         * insetcollapsable.C: adjust
1957
1958         * insetbutton.C: adjust
1959
1960 2001-07-23  Juergen Vigna  <jug@sad.it>
1961
1962         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
1963         parameter on the _collapsed function (was not needed) and call
1964         always width_collapsed().
1965
1966         * insetert.C (InsetERT): use setLabel with "true" flag.
1967
1968         * insetcollapsable.C: modified various functions to set the draw_label
1969         string right in any condition.
1970         (setLabel): added a bool parameter to set change_label_with_text.
1971
1972         * insetcollapsable.h: added draw_label string which is set to the
1973         actual drawn label-string, while label is the original static label
1974         of this collapsable inset. Added bool change_label_with_text to set
1975         if we want that the label changes to the start of the InsetText's
1976         text when collabpsed. You can set this flag with the setLabel funciton.
1977         Added bool inlined for inlined collapsable insets, but not handled
1978         yet.
1979
1980         * insetcollapsable.C (get_new_label): added should get a new label
1981         from the InsetText beginning (for now 10 chars).
1982
1983 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1984
1985         * insetquotes.C (latex): fix the handling of french double quotes
1986         when not using the french pachage.
1987
1988 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1989
1990         * insetcollapsable.h: make WidthCollapsed mutable.
1991
1992         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
1993         InsetPrintIndex returns INDEX_PRINT_CODE.
1994
1995         * inset.h: add INDEX_PRINT_CODE
1996
1997         * insetcollapsable.C (draw): init widthCollapsed if necessary
1998         (width): ditto.
1999
2000         * insetquotes.C (width): use the local language, not the document
2001         language.
2002         (draw): ditto.
2003         (dispString): add additional spacing for all french languages,
2004         like fr_CA.
2005         (validate): make it work when there is no default language
2006
2007         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
2008
2009         * insetnote.C (init): new method, called by the constructors
2010         (InsetNote): new constructor with contents passed as a string
2011
2012 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * insetfootlike.C (insetAllowed): disallow float in footlike.
2015
2016         * insetert.C (InsetERT): add collapsed argument to the constrctor
2017         with contents.
2018
2019 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2020
2021         * insetindex.h: shut off warning
2022
2023 2001-07-20  Juergen Vigna  <jug@sad.it>
2024
2025         * insetcollapsable.C (update): recoded hopefully works now!
2026
2027 2001-07-19  Juergen Vigna  <jug@sad.it>
2028
2029         * most files: implemented the below new introduced function.
2030
2031         * inset.h: added new edit(BufferView *, bool front) method to be able
2032         to enter an inset from the front/back without knowing x/y positions
2033         and baselines inside the inset. So I just can tell the inset activate
2034         me and set the cursor on the front/back of yourself.
2035
2036 2001-07-18  Juergen Vigna  <jug@sad.it>
2037
2038         * insetcollapsable.C (edit): fixed hopefully the y parameter which
2039         is given to the InsetText.
2040         (insetButtonPress): ditto
2041         (insetButtonRelease): ditto
2042         (insetMotionNotify): ditto
2043
2044 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2045
2046         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
2047         LIGATURE_BREAK, since the name is so stupid.
2048
2049 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2050
2051         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
2052         the default InsetCollapsable methods. I.e., it can insert anything.
2053         (write) output the name of the inset, not some silly hack for
2054         compatability with the old InsetInfo.
2055
2056         * insetinfo.[Ch]: removed.
2057         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
2058         now collapsable, but functionality is otherwise identical to InsetInfo.
2059
2060         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
2061
2062 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2063
2064         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
2065         reformatting
2066
2067         * insetquotes.C: general cleanup
2068         (dispString): add spaces inside french double quotes.
2069         (latex): ditto. Moreover, treat first the case where the frenchb
2070         or french options have been given.
2071
2072 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
2073
2074         * insetcite.[Ch] (latex, validate): new methods, required for natbib
2075         support.
2076
2077 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2078
2079         * figinset.C (RegisterFigure): Print debug message only when
2080         current_view is available.
2081
2082 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * many files: update to match the change below
2085
2086         * inset.h (insetAllowed): renamed from insertInsetAllowed;
2087         implement the version which takes an inset here.
2088
2089         * insetcollapsable.[Ch]: implement open and isOpen
2090
2091         * inset.h: remove insertInsetAllowed from Inset
2092         (open): new method, to open or close an inset
2093         (isOpen): returns the status of an inset
2094         (isCollapsable, colapse): removed
2095
2096 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
2097
2098         * insetquotes.C (dispString): display french guillemets when using
2099         ISO8859-15.
2100
2101 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2102
2103         * insetcollapsable.h: remove bogus return statements
2104
2105 2001-07-18  Juergen Vigna  <jug@sad.it>
2106
2107         * insettabular.C (selectNextWord): fixed spellchecking for the
2108         first cell of a tabular (wasn't entered!)
2109         (getLyXText): changed to enter automatically insettext and return
2110         it's LyXText if we're locked.
2111
2112 2001-07-17  Juergen Vigna  <jug@sad.it>
2113
2114         * various files: implemented the below functions.
2115
2116         * inset.h: added functions
2117         - virtual string selectNextWord(BufferView *, float & value) const;
2118         - virtual void selectSelectedWord(BufferView *) { return; }
2119         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
2120         needed for spellchecking correctly!
2121
2122 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2123
2124         * insetert.C (latex): write out all paragraphs.
2125
2126 2001-07-17  Baruch Even  <baruch@lyx.org>
2127
2128         * insetgraphics.C (draw): Removed unneeded casts.
2129
2130 2001-07-16  Juergen Vigna  <jug@sad.it>
2131
2132         * insettext.C (update): fixed small oversight (reset lt to 0).
2133
2134 2001-07-14  Baruch Even  <baruch@lyx.org>
2135
2136         * insetgraphics.h:
2137         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
2138
2139 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
2140
2141         Consistent use of Lsstream.h:
2142         * figinset.C: removed using std::ostringstream directive.
2143
2144         * insetgraphics.C (createLatexOptions):
2145         * insetinclude.C (unique_id):
2146         std::ostringstream -> ostringstream.
2147         * insettext.C (localDispatch): std::istringstream -> istringstream.
2148
2149 2001-07-13  Juergen Vigna  <jug@sad.it>
2150
2151         * insetfloat.C (insertInsetAllowed): added missing const_cast.
2152
2153         * insetcollapsable.C (getLockingInset): ditto.
2154
2155 2001-07-12  Juergen Vigna  <jug@sad.it>
2156
2157         * insetcollapsable.h: added implementation of new function for
2158         collapsable status.
2159
2160         * various files: added implementation of new insertInsetAllowed-func
2161         and redone the function a bit more.
2162
2163         * inset.h: added isCollapsable(), bool collapsed(),
2164         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
2165
2166         * insetfloat.C (insertInsetAllowed): make a bit more checks.
2167
2168         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
2169         LyXText which is marked for removal while we're using it!
2170
2171         * insettext.h: added private LyXText * lt to use it to assure we are
2172         not deleting our LyXText while we're using it!
2173
2174 2001-07-11  Juergen Vigna  <jug@sad.it>
2175
2176         * insettext.C (insertInset): check if we are before the inset after
2177         inserting it! This check IS needed. Remove the Undo-Call as it is
2178         called in LyXText::insertInset!
2179
2180         * insettext.h: added struct InnerCache.
2181
2182         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
2183         that we ONLY delete the LyXText in the getLyXText() routine. So we
2184         are sure we don't delete LyXText while someone is working with it!
2185
2186 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2187
2188         * insetexternal.C: (*it). -> it->
2189         * insettext.C: ditto
2190
2191 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2192
2193         * insetcollapsable.C (edit): always open collapsed insets (even if
2194         they are not autocollapsable)
2195
2196         * insetcommand.C (operator=): simplify.
2197
2198 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2199
2200         * insetert.C (latex): handle META_NEWLINE
2201
2202 2001-07-09  Juergen Vigna  <jug@sad.it>
2203
2204         * insetert.h: a normal InsetText can insert insets, but we won't.
2205
2206         * inset.h: return default "false" on insertInsetAllowed and implement
2207         this function where a returnvalue != "false" is needed.
2208
2209 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2210
2211         * insetert.C (InsetERT): new contructor
2212
2213 2001-07-06  Juergen Vigna  <jug@sad.it>
2214
2215         * a lot of files: added implementation of the below new functions
2216         and the change to clone(). Also the call of the new undo-functions
2217         where needed.
2218
2219         * inset.h: added an inset_id, added functions getParFromID,
2220         getInsetFromID, firstParagraph, cursor and id functions, added
2221         bool same_ids to clone function.
2222
2223 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2224
2225         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
2226         of BufferView * and shared_ptr<LyXText>
2227
2228 2001-07-05  Juergen Vigna  <jug@sad.it>
2229
2230         * insettext.C (clear): deleted also the cache not only LyXText.
2231         (setParagraphData): ditto.
2232
2233 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2234
2235         * insetfloat.C (latex): let the specific placement take presedence
2236         if set, otherwise choose document placement if set, otherwise just
2237         use float default placement.
2238
2239 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2240
2241         * insettext.C (localDispatch): call CutAndPaste::'s static method
2242         directly.
2243
2244 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2245
2246         * insetbib.C: no meed to include forms.h here.
2247
2248 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
2249
2250         * insettext.C: added using std::make_pair directive.
2251
2252 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2253
2254         * insettext.C (getLyXText): avoid multiple lookups, and simplify
2255         slightly
2256         (deleteLyXText): ditto
2257         (resizeLyXText): ditto
2258
2259 2001-07-02  Juergen Vigna  <jug@sad.it>
2260
2261         * insettext.C (getLyXText): introduce a cache in getLyXText so that
2262         following calls are only returned the right pointer without the over
2263         head to search in the map.
2264         (various funcs): reset the cached_bview variable as this signs that
2265         the cache is not valid anymore.
2266
2267 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2268
2269         * insettabular.C (clone): do not copy the LyXTabular twice
2270
2271 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2272
2273         * insettext.h (TEXT): delete method
2274
2275 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2276
2277         * insetmarginal.C (latex):
2278         * insetfoot.C (latex): fix spacing of notes in LaTeX
2279
2280         * insettext.C (localDispatch): use .c_str() on istringstream
2281         constructor argument.
2282
2283 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
2284
2285         * insettoc.h:
2286         * insettoc.C:
2287         * inseturl.h:
2288         * inseturl.C: fix method names in these to begin
2289           with small char too, so they inherit
2290
2291 2001-06-28  Juergen Vigna  <jug@sad.it>
2292
2293         * insettext.C (setFont): fixed font settings using toggleFree()
2294         instead of setFont().
2295
2296 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2297
2298         * Change a lot of method names to begin with a small char.
2299         Changes to a lot of files because of this.
2300
2301 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2302
2303         * insetfloatlist.C (Write): std:: qualify ostream
2304         (Latex): ditto
2305
2306 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
2307
2308         * figinset.C:
2309         * inset.C:
2310         * insetgraphics.C: send debug output to Debug::INFO instead of
2311         Debug::ANY.
2312
2313 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
2314
2315         * insettabular.h:
2316         * insettabular.C (getStatus): update to use func_status
2317
2318 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
2319
2320         * insetref.C (DocBook): added support for cross-references without
2321         a name.
2322
2323 2001-06-26  The LyX Project  <jug@sad.it>
2324
2325         * insetref.C:
2326         * insetref.h:
2327         * insetlabel.C:
2328         * insetlabel.h: removed escape method and moved it to
2329         support/lstrings.h.
2330
2331 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2332
2333         * insettabular.C (getMaxWidth): do the speedup in a different way,
2334         remove dead code
2335
2336 2001-06-24  The LyX Project  <Asger>
2337
2338         * insettabular.C (getMaxWidth): We cache a mapping from
2339         inset to cell in order to speed this method up.
2340
2341 2001-06-24  The LyX Project  <Asger>
2342
2343         * insettext.C: Optimized InsetText::draw or something.
2344
2345 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
2346
2347         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
2348
2349 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2350
2351         * inset.h: name change from lyxinset.h
2352
2353 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
2354
2355         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
2356
2357 2001-06-14  Juergen Vigna  <jug@sad.it>
2358
2359         * insettext.C (draw): removed warnings.
2360
2361 2001-06-13  Juergen Vigna  <jug@sad.it>
2362
2363         * insettabular.C (nodraw): only go down the tree if we don't have
2364         that flag set otherwise it's obvious that we don't want to draw.
2365         (LocalDispatch): do also an update if we have an undispached result.
2366
2367 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
2368
2369         * insetcite.C:
2370         * insetgraphicsParams.C:
2371         * insettext.C: removed // -*- C++ -*- as first line.
2372
2373 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2374
2375         * lyxinset.h (resizeLyXText): shut off warning about unused
2376         parameter "force"
2377
2378 2001-06-07  Juergen Vigna  <jug@sad.it>
2379
2380         * insettext.C (resizeLyXText): honor the new force flag.
2381
2382         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
2383
2384         * insettabular.C (deleteLyXText): new function
2385
2386 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2387
2388         * insettheorem.C:
2389         * insetminipage.C:
2390         * insetlist.C:
2391         * insetfootlike.C:
2392         * insetfloat.C:
2393         * insetert.C:
2394         * insetcollapsable.C:
2395         * insetcaption.C: LColor tidy
2396
2397 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2398
2399         * figinset.C: fix typo
2400
2401 2001-06-01  Juergen Vigna  <jug@sad.it>
2402
2403         * insettabular.C (resetPos): small hack so that scroll is not set to
2404         0 when we are in the last column of a tabular. This is a problem we
2405         have because of constats 20 offset on both directions, so this can
2406         cause on the limit an endless loop.
2407
2408         * insettext.C (SetFont): forgot that we can have locking insets ;)
2409
2410 2001-05-31  Juergen Vigna  <jug@sad.it>
2411
2412         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
2413
2414 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2415
2416         * figinset.C: add using std:: directive for the C functions which
2417         need that.
2418
2419 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2420
2421         * insetfloat.C (Write): write out wide info
2422         (Read): read the wide info
2423         (Latex): use the wide info when creating latex.
2424
2425         * insettext.C: adjust
2426
2427         * insetgraphics.[Ch] (statusMessage): change to return string
2428         (width): adjust
2429         (draw): adjust
2430
2431         * figinset.C (runqueue): add std::
2432         (Recompute): ditto
2433
2434 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2435
2436         * insetcite.C (Ascii): add std:: qualifier
2437
2438 2001-05-28  Juergen Vigna  <jug@sad.it>
2439
2440         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
2441         a endless-width inset (maxWidth < 0).
2442         (Edit): change language only if not equal.
2443
2444         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
2445
2446         * insettext.C (draw): fixed draw/clear of InsetText-Frame
2447
2448 2001-05-16  Juergen Vigna  <jug@sad.it>
2449
2450         * insettext.C (selectAll): added
2451         (clearSelection): added
2452
2453         * insettabular.C (SetFont): now we may set a font on a whole selection!
2454         (getSelection): added helper function.
2455
2456 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2457
2458         * insetcite.C (Ascii): Add method.
2459
2460 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2461
2462         * figinset.C:
2463         * insetbib.C: fix path for OS/2 & Win32
2464
2465 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2466
2467         * insetfoot.C (Latex): don't use % after footnote.
2468
2469 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2470
2471         * insettext.C (Read): use clear
2472         (SetParagraphData): use LyXParagraph copy constructor instead of clone
2473
2474 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2475
2476         * insetfloatlist.h: add a bunch of std:: qualifiers.
2477
2478 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2479
2480         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
2481         FLOAT_LIST_CODE, renumber code list.
2482
2483         * insettoc.C (getScreenLabel): remove support for float lists
2484         (LyxCode): ditto
2485         (Ascii): ditto
2486
2487         * insetfloatlist.[Ch]: new files
2488
2489         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
2490
2491 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
2492
2493         * insettabular.C (LocalDispatch):
2494         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
2495         method
2496
2497 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2498
2499         * insettext.C: remvoe !NEW_INSETS cruft
2500
2501         * insettabular.C: remove !NEW_INSETS cruft
2502
2503         * insetcollapsable.h: remove !NEW_INSETS cruft
2504
2505         * insetbib.C: remove !NEW_INSETS cruft
2506
2507 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2508
2509         * insettoc.C: hack to make listof algorithm work
2510
2511 2001-04-20  Juergen Vigna  <jug@sad.it>
2512
2513         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
2514
2515 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2516
2517         * insetquotes.C (Latex): improve the guard against
2518         unwanted !` and ?` ligatures. This should really be done in
2519         another place (to catch all this ligatures at low-level).
2520
2521 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2522
2523         * insettext.C (init): remvoe leftovers from cursor_visible change
2524         (draw): use c++ cast
2525         (LocalDispatch): dispatch LFUN_MESSAGE
2526
2527         * insettabular.C (InsetTabular): remove leftovers from
2528         cursor_visible, and scoped_ptr changes
2529         (draw): use c++ cast
2530
2531         * insetcollapsable.C (draw): use c++ cast
2532
2533         * ExternalTemplate.h: inherit privaely from noncopyable
2534         * insetcommand.h: ditto
2535         * insetinclude.h: ditto
2536
2537 2001-04-16  Allan Rae  <rae@lyx.org>
2538
2539         * insettoc.C (Ascii):
2540         * insettext.C (draw):
2541         * insettabular.C (setPos):
2542         * insetminipage.C (Read):
2543         * insetfloat.C (placement):
2544         * insetcaption.C (Ascii, DocBook):
2545         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
2546         an unrecognised preprocessor directive.  So ensure they're wrapped.
2547
2548 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
2549
2550         * insetexternal.h:
2551         * insetexternal.C: set view on Clone. Add _ to private members.
2552
2553 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2554
2555         * insettext.C (InsetText): fix new
2556         (InsetText): reindent some, simplify deletion of par list
2557         (clear): simplify deletion of par list, fix new
2558         (SetParagraphData): simplify deletion of par list
2559
2560         * insettabular.[Ch] (getLabelList): implement new method
2561
2562 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2563
2564         * lyxinset.h: do not include gettext.h...
2565
2566         * inset.C:
2567         * insetcaption.C:
2568         * insetexternal.C:
2569         * insetgraphics.C:
2570         * insetindex.C:
2571         * insetlabel.C:
2572         * insetlatexaccent.C:
2573         * insetminipage.C:
2574         * insetquotes.C:
2575         * insettabular.C:
2576         * inseturl.C: ... and do it here instead
2577
2578 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2579
2580         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
2581
2582         * insettext.[Ch] (getLabelList): add std:: on vector<string>
2583
2584         * insetcollapsable.[Ch] (getLabelList): implement
2585
2586         * insettext.[Ch] (getLabelList): implement
2587
2588         * insettext.h: reindent
2589
2590         * insettabular.h: make tabular a scoped_ptr
2591
2592         * insettext.C (init): adjust for cursor_visible
2593         (ToggleInsetCursor): constify asc and desc, font, adjust for
2594         cursor_visible
2595         (ShowInsetCursor): constify asc and desc, font, adjust for
2596         cursor_visible
2597         (HideInsetCursor): adjust for cursor_visible
2598
2599         * insettabular.C: reindent some
2600         (InsetTabular): adjust for scoped_ptr and cursor_visible
2601         (InsetTabular): ditto
2602         (~InsetTabular): delete delete
2603         (Clone): adjust for scoped_ptr
2604         (Read): constify old_format, adjust for scoped_ptr, move init of
2605         token
2606         (draw): constify tx, localize loop vars.
2607         some other localization of variables, remove double initilizatons.
2608
2609         * insetfoot.C: remove using std::ostream, add ostream where needed
2610
2611 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2612
2613         * lyxinset.h: some reindentaion, use initializer list for
2614         constructro.
2615         UpdatableInset: make cursor_visible a private var add
2616         public isCursorVisible(), add protected toggleCursorVisible() and
2617         proctected setCursorVisible(bool), make scroll call the Inset::scroll
2618
2619         * insettoc.C: remvoe using decl
2620         (getScreenLabel): make cmdname donst
2621         (LyxCode): ditto
2622         (Ascii): ditto
2623         (Ascii): don't use endl
2624
2625         * insetfootlike.C: remove using decl at file scope and add std::
2626         where needed
2627         * insetmarginal.C: ditto
2628
2629         * insetfoot.C: some reformatting
2630
2631         * insetfloat.C (InsetButtonRelease): adjust the hit area
2632
2633         * insetert.C (SetFont): some reformatting
2634
2635         * insetcollapsable.C: some reformatting and constification
2636         (Clone): comment out.
2637         * insetcollapsable.h: some reformatting
2638         (Clone): comment out.
2639
2640         * inset.C: reindent
2641         (scroll): simplify
2642
2643 2001-03-30  Juergen Vigna  <jug@sad.it>
2644
2645         * insetcollapsable.h: changen *inset to be a InsetText inset.
2646
2647         * some files: changed to reflect the above change.
2648
2649 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
2650
2651         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
2652         InsetExternal::Params.
2653         Added operator==() and operator!=() for the Params struct.
2654
2655 2001-03-29  Juergen Vigna  <jug@sad.it>
2656
2657         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
2658         BufferView *.
2659
2660         * insetminipage.C: removed widthp_ and all it's functions and changed
2661         to use new %-lengths of LyXLength.
2662
2663 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
2664
2665         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
2666
2667 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
2668
2669         * insetgraphicsParams.C (operator!=): new function, needed by the
2670         ControlGraphics class.
2671
2672 2001-03-28  Juergen Vigna  <jug@sad.it>
2673
2674         * insettext.C (InsetButtonPress): only enter !inset if button == 2
2675         (checkAndActivateInset): don't use the values returned from
2676         call to bv->checkInsetHit.
2677
2678         * insetminipage.C (Clone): set special minipage values.
2679
2680         * insetcollapsable.C (draw): changed to draw the button in the
2681         upper left corner outside the textinset.
2682         (ascent): changed because of different drawing
2683         (descent): ditto
2684         (width): ditto
2685         (Edit): ditto
2686         (InsetButtonPress): ditto
2687         (InsetButtonRelease): ditto
2688         (InsetMotionNotify): ditto
2689
2690 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
2691
2692         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
2693         contain a suffix.
2694         (Clone): ditto
2695
2696 2001-03-26  Juergen Vigna  <jug@sad.it>
2697
2698         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
2699
2700         * insettext.C (ShowInsetDialog): implemented above function.
2701
2702         * insettabular.C (ShowInsetDialog): ditto
2703
2704         * insetminipage.C (ShowInsetDialog): ditto
2705
2706 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
2707
2708         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
2709         InsetInclude::Params. Don't store a buffer * in Params. Store the
2710         master file name instead.
2711
2712 2001-03-23  Juergen Vigna  <jug@sad.it>
2713
2714         * insetcollapsable.C (InsetMotionNotify):
2715         (InsetButtonRelease):
2716         (InsetButtonPress): fixed y-offset (minipages).
2717
2718         * insettext.C (draw): force a FULL update if cleared == true.
2719
2720         * insetcollapsable.C (draw): Lars forgotten entry for changing this
2721         routine to draw the minipages on its position-flag.
2722         (InsetInInsetY): give back the right y position, because of minipage
2723         position-flag.
2724
2725 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
2726
2727         * insetfloat.h
2728         * insetfloat.C (DocBook): docbook export code.
2729
2730 2001-03-22  Juergen Vigna  <jug@sad.it>
2731
2732         * insetminipage.C (getMaxWidth): added function to set the drawing
2733         width!
2734         (Read): should work now!
2735
2736         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
2737         if we create a new inset.
2738
2739 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
2740
2741         * figinset.C (fl_set_preemptive_callback): moved definition outside
2742         of namespace anon.
2743
2744 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2745
2746         * insetminipage.C (Read): prepare for reading of minipage arguments.
2747
2748 2001-03-18  Baruch Even  <baruch@lyx.org>
2749
2750         * insetgraphics.C: Minor cleanups of the comments and code.
2751
2752 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2753
2754         * insetminipage.C (InsetMinipage): default to not collapsed
2755
2756 2001-03-16  Juergen Vigna  <jug@sad.it>
2757
2758         * insetminipage.C (width): modified with to be a string
2759         (widthp): added widthp (for % width) support functions.
2760         (InsetButtonRelease): added to open the options dialog on button==3.
2761         (~InsetMinipage): added to hide the dialog.
2762
2763         * insetminipage.h: added hideDialog signal
2764
2765 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2766
2767         * insetminipage.h: change the order or Position to match
2768         LyXParagraph::MINIPAGE_ALIGNMENT
2769
2770         * several files: remvoe CXX_WORKING_NAMESPACES
2771
2772         * ExternalTemplate.h: noncopyable is in namespace boost
2773         * insetinclude.h: ditto
2774         * insetcommand.h: ditto
2775
2776 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2777
2778         * insettext.C (Edit): #else# -> #else.
2779         * insettoc.C: added using directive.
2780
2781 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2782
2783         * insetminipage.h: add pos, inner_pos, width and height. + getters
2784         and setters for all of them.
2785
2786 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
2787
2788         * insetinclude.C (Latex): Do not exit when the textclass of the
2789         included file differ from the textclass of the parent file.
2790
2791 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
2792
2793         * ExternalTemplate.C (read): the reading of external insets now checks
2794         for \end_inset and removes it form the input stream.
2795
2796 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
2797
2798         * ExternalTemplate.h:
2799         * ExternalTemplate.C:
2800         * insetexternal.h:
2801         * insetexternal.C: move form to GUII
2802
2803 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
2804
2805         * insetinclude.h:
2806         * insetinclude.C: add InsetIncludeParams, use
2807         composition rather than derivation of InsetCommand
2808
2809 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2810
2811         * insettoc.C (Ascii): use the Buffer typedefs
2812
2813 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2814
2815         * insettoc.C (Ascii): implement for dynamic number of lists
2816
2817         * insetcaption.[Ch]: update from new_insets branch
2818         * insetfloat.[Ch]: ditto
2819
2820 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
2821
2822         * insetexternal.C:
2823         * figinset.C: use new File Dialog
2824
2825 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2826
2827         * insettext.C: changes becuase of ParagraphParameters.
2828
2829 2001-02-28  Baruch Even  <baruch@ev-en.org>
2830
2831         * insetgraphics.C (updateInset): Changed due to the change in
2832         GraphicsCache.
2833
2834 2001-02-26  Juergen Vigna  <jug@sad.it>
2835
2836         * insettext.C (SetFont): Set Undo only if we have selection (as it is
2837         handled in LyXText).
2838
2839 2001-02-23  Juergen Vigna  <jug@sad.it>
2840
2841         * insettext.C (draw): some small repainting fixes.
2842         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
2843
2844         * inset.C (LocalDispatch): changed action to be a kb_action (as it
2845         should be) and not an int.
2846
2847         * insettabular.C (LocalDispatch): ditto
2848
2849         * insettext.C (LocalDispatch): ditto
2850
2851         * insetcollapsable.C (LocalDispatch): ditto
2852
2853 2001-02-22  Juergen Vigna  <jug@sad.it>
2854
2855         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
2856         DISPATCH it and we don't have a locking_inset.
2857
2858 2001-02-21  Baruch Even  <baruch@ev-en.org>
2859
2860         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
2861         instead of GraphicsCacheItem *.
2862
2863 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2864
2865         * insetcollapsable.C (getLyXText): add const qualifier to second
2866         parameter.
2867
2868 2001-02-22  Juergen Vigna  <jug@sad.it>
2869
2870         * insettext.C (getLyXText): honor the recursive parameter.
2871         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
2872
2873         * inset.C (getLyXText): added bool recursive parameter.
2874
2875         * insettext.C (SetUpdateStatus): or the update codes.
2876         (draw): check need_update with &.
2877         (InsetButtonPress): set no_selection to not put a selection when
2878         entering an inset and it is redraws in another spot.
2879
2880         * insettext.h: made need_update an int.
2881
2882 2001-02-20  Baruch Even  <baruch@ev-en.org>
2883
2884         * insetgraphics.h:
2885         * insetgraphisc.C: Changed to use better semantics when loading images
2886         for inline view. Now it doesn't keep the pixmap itself but it's holder.
2887
2888 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
2889
2890         * insetcommand.h:
2891         * inseterror.h:
2892         * insetgraphics.C: change name of "hide" signal to "hideDialog",
2893         consistent with InsetTabular.
2894
2895 2001-02-19  Juergen Vigna  <jug@sad.it>
2896
2897         * insettabular.C (LocalDispatch): implement PAGE up/down.
2898
2899         * insettext.C (draw): clear all of it on need_update==INIT too!
2900
2901         * insettabular.C (InsetUnlock): always clear the selection.
2902
2903         * inset.C (scroll): normally we only want to scroll the inset until
2904         it is fully visible so if top_x + offset > 20 then just set scx to 0.
2905
2906 2001-02-14  Juergen Vigna  <jug@sad.it>
2907
2908         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
2909         (resetPos): fixed scroll behaviour.
2910         (LocalDispatch): do an update if moving cursor inside a table cell
2911         requests a scroll of the tabular.
2912
2913 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2914
2915         * insettext.C (textWidth): constify local var
2916
2917         * insettabular.C: small cleanup.
2918
2919         * insetfoot.C (Latex): constify local var
2920
2921         * insetcollapsable.C: small cleanup.
2922
2923         * figinset.C (runqueue): use compare instead of strcmp
2924
2925 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2926
2927         * insettext.C:
2928         * insetinfo.C: remove cruft
2929
2930 2001-02-14  Juergen Vigna  <jug@sad.it>
2931
2932         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
2933
2934 2001-02-13  Juergen Vigna  <jug@sad.it>
2935
2936         * insettext.C (InsertInset): don't move left (is this right?)
2937
2938         * insettabular.C (LocalDispatch): use of the no_draw variable
2939
2940         * insettabular.h: new no_draw variable to stop redraw
2941
2942         * insettabular.C (TabularFeatures): fixed update for alignment change
2943
2944 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
2945
2946         * insetinclude.C:
2947         * insetbib.h:
2948         * insetbib.C: move dialogs to frontends/
2949
2950 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
2951
2952         * insettext.C (LocalDispatch): Restore the language if the inset
2953         becomes empty.
2954
2955 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
2956
2957         * insettext.C (moveRightIntern): Update the selection cursor.
2958         (moveLeftIntern): Ditto.
2959
2960 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2961
2962         * Makefile.am: remove BoundingBox.h
2963
2964         * BoundingBox.h: removed
2965
2966 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
2967
2968         * insettext.C (LocalDispatch): Update selection cursor when moving
2969         cursor to the right.
2970         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
2971         (moveLeftIntern): Ditto.
2972
2973 2001-02-05  Baruch Even  <baruch.even@writeme.com>
2974
2975         * insetgraphics.C: Updated automatic image conversion, it now goes into
2976         temporary directory instead of with the image itself.
2977
2978 2001-01-21  Baruch Even  <baruch@ev-en.org>
2979
2980         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
2981         to EPS or PNG when needed (support bitmap graphics).
2982
2983 2000-11-02  Baruch Even  <baruch@ev-en.org>
2984
2985         * insetgraphics.C:
2986         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
2987         and removal of commented out code.
2988
2989 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
2990
2991         * insetbib.C (callback): Update citations if the key has changed.
2992
2993 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
2994
2995         * insetbib.C (InsetBibKey): Better computation of default key.
2996         (getScreenLabel) Show both the key and the label.
2997         (getBibLabel): New method.
2998         (callback): Force a redraw if the inset have been changed.
2999
3000 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3001
3002         * insetref.C (getType, getName): Move methods from
3003         src/frontends/xforms/FormRef.C.
3004
3005 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
3006
3007         * insettabular.C: Various improvements (use only one dummy position).
3008
3009 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
3010
3011         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
3012         par->bibkey->width. This fixes the crashes when running without
3013         gui or when having included documents.
3014
3015 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
3016
3017         * insetcommand.C (getAsString, setFromString): Cleanup.
3018
3019 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
3020
3021         * insetref.C: Add the array InsetRef::types that contains
3022         information about all supported reference types.
3023
3024 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3025
3026         * lyxinset.h: remove trailing comma in enum.
3027
3028 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
3029
3030         * insettext.C: kill LyXBell.