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