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