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