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