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