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