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