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