]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
remove cursor.i[xy]
[lyx.git] / src / insets / ChangeLog
1 2003-09-02  John Levon  <levon@movementarian.org>
2
3         * insettext.h:
4         * insettext.C: remove cursor.i[xy]()
5
6 2003-08-28  Angus Leeming  <leeming@lyx.org>
7
8         * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
9         "sh ", enabling the conversion to be carried out even if the script
10         is not executable.
11
12 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
13
14         * most files: change to use const Buffer refs
15
16 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * insetfootlike.C: whitespace.
19
20 2003-08-26  John Levon  <levon@movementarian.org>
21
22         * insetenv.h:
23         * insetcaption.h:
24         * insetindex.h: remove remaining mentions of needFullRow()
25
26 2003-08-26  André Pönitz  <poenitz@gmx.net>
27
28         * insetfoot.C:
29         * insetnewline.C:
30         * insetquotes.C:
31         * insettabular.C:
32         * inset.[Ch]: remove InsetOld::par_owner_ & handling
33
34 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * insetbranch.C: Small fix to prevent a crash on loading.
37
38 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * inset.h:
41         * insetbibtex.[Ch]:
42         * insetbranch.[Ch]:
43         * insetcollapsable.h:
44         * insetert.[Ch]:
45         * insetfloatlist.[Ch]:
46         * insetfootlike.[Ch]:
47         * insetinclude.[Ch]:
48         * insetindex.[Ch]:
49         * insetindex.h:
50         * insetminipage.h:
51         * insetnote.[Ch]:
52         * insettext.C:
53         * insettheorem.[Ch]:
54         * insettoc.[Ch]: eliminates the needFullRow/display() stuff
55         altogether, putting the logic in metrics/draw in the insets.=20
56         Draws short single row insets with more or less realistic metrics.
57
58 2003-08-19  André Pönitz  <poenitz@gmx.net>
59
60         * insettext.C: use new RowPainter interface
61
62 2003-08-18  John Levon  <levon@movementarian.org>
63
64         * insetref.C: require amsmath for eqref
65
66 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * Makefile.am:
69         * inset.h:
70         * insetbranch.[Ch]: implements the 'branch inset'
71         idea. This allows the output of various versions of a document
72         from a single source version, selectively outputing or suppressing
73         output of parts of the text.
74         This implementation contains a 'branch list editor' in a separate
75         tab of the document settings dialog. Branches are user definable
76         and have a "display colour" to distinguish them on-screen.
77
78         ColorHandler was somewhat cleaned up.
79         (1) make possible a dynamically growing LColor list by allowing
80         the graphic context cache to grow along (vector);
81         (2) eliminate an IMHO unnecessary step in colour allocation.
82
83 2003-08-15  André Pönitz  <poenitz@gmx.net>
84
85         * insettext.[Ch]: adjust after rowlist split
86
87 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
88
89         * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
90           rename valign-center to valign-middle;
91           rename VALIGN_CENTER to VALIGN_MIDDLE
92
93 2003-08-11  André Pönitz  <poenitz@gmx.net>
94
95         * inset.h: remove resizeLyXText
96
97         * insetcaption.C:
98         * insetcollapsable.[Ch]:
99         * insetminipage.C:
100         * insettabular.[Ch]: adjust
101
102         * insettext.[Ch]: remove saveLyXTextState,
103          restoreLyXTextStat, sstate, reinitLyXText
104
105 2003-08-07  André Pönitz  <poenitz@gmx.net>
106
107         * inset.[Ch]: move non-crucial functions out-of-line
108
109         * insettext.C: rely on LyXText's LFUN handlers in some more cases,
110         remove duplicated code.
111
112 2003-08-05  André Pönitz  <poenitz@gmx.net>
113
114         * insetbibitem.C:
115         * insetcollapsable.[Ch]:
116         * insetcommand.C:
117         * insetert.C:
118         * insetexternal.C:
119         * insetfloat.C:
120         * insetgraphics.C:
121         * insetinclude.C:
122         * insetlabel.C:
123         * insetminipage.C:
124         * insetnote.C:
125         * insettabular.[Ch]:
126         * insettext.[Ch]:
127         * insetwrap.C:
128         * updatableinset.[Ch]: rip out "deep update"
129
130         * insettext.C (localDispatch): merge cases with default branch
131
132         * insettext.C (frame_x,y,w,h): replace member with automatic variables
133
134         * insettabular.[Ch] (updateLocal): simplify logic
135
136 2003-08-04  André Pönitz  <poenitz@gmx.net>
137
138         * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
139   is 'FULL' all the time.
140
141 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * insetert.C (get_new_label): only add ... to the (closed) label
144         when the string has been shortened
145
146 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
147
148         * Always use std::endl with lyxerr
149
150 2003-08-01      Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * insetnote.C: update \author list
153
154 2003-07-31  André Pönitz  <poenitz@gmx.net>
155
156         * insetcollapsable.h:
157         * insettabular.[Ch]:
158         * insettext.[Ch]: remove toggleSelection
159
160 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         (with help from Juergen Spitzmueller)
163         * insetnote.C: add add i18n support. Use Prefs-definable
164         colours for Comment and Greyedout.
165
166 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
167
168         * insetcollapsable.[Ch]:
169         * insetnote.C:
170         * insetert.C: factor out the detection of clicking on the inset
171       button as 'hitButton'. John Levon contributed.
172
173 2003-07-30  André Pönitz  <poenitz@gmx.net>
174
175         * insetcollapsable.C:
176         * insetfootlike.C:
177         * insettabular.C: parantheses, localize vars etc.
178
179 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * insetnote.C: Implement a newenvironment in preamble for
182         greyedout. Patch provided by Jürgen Spitzmüller.
183
184 2003-07-29  Angus Leeming  <leeming@lyx.org>
185
186         * insetcommand.C (localDispatch): default to
187         InsetOld::localDispatch.
188
189         * insetbibitem.C (localDispatch):
190         * insetbibtex.C (localDispatch): remove call to
191         ChangeCitationsIfUnique.
192
193         * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
194
195         * insetexternal.C (read): use pushpophelper.
196
197 2003-07-28  José Matos  <jamatos@lyx.org>
198
199         * insetext.C (read): \end_document replaces \the_end.
200
201 2003-07-28  José Matos  <jamatos@fep.up.pt>
202
203         * insetert.C (write): \layout -> \begin_layout.
204         Add missing \end_layout.
205
206 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * insetquotes.C: document a bit the format
209
210         * insettabular.C (write): remove extra space
211
212 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
213         * insetnote.C: Umpf. Hope I *now* get it right :-(
214
215 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
216         *insetnote.C: did the right fix to greyedout: \color
217         instead of \textcolor.
218
219 2003-07-28  Angus Leeming  <leeming@lyx.org>
220
221         * insetbibtex.h: remove extraneous forward declaration.
222
223         * insetbibitem.h:
224         * insetbibtex.h: Also remove long-dead Holder member class
225         and variable.
226
227 2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
230         least.
231
232 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
233
234         * insetwrap.C (addToToc): adjust for lyx::toc
235
236         * insetfloatlist.C (ascii): adjust for lyx::toc
237
238         * insetfloat.C (addToToc): adjust for lyx::toc
239
240 2003-07-27  José Matos  <jamatos@fep.up.pt>
241
242         * insetnote.h (linuxdoc,docbook): update support.
243
244 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * insetfloat.C (wide): add a space to label, for consistency
247
248 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
249
250         * insettext.C (nextChange): adjust for lyx::find
251         (searchForward): ditto
252         (searchBackward): ditto
253
254 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * insetgraphicsParams.C:
257         * insetexternal.C: declare extern displayTranslator
258
259         * insetexternal.C:
260         * renderers.C: add #include "support/LAssert.h"
261
262 2003-07-27  José Matos  <jamatos@fep.up.pt>
263
264         * insetfloat.[Ch] (linuxdoc):
265         * insetgraphics.C (linuxdoc):
266         * insettabular.C (linuxdoc):
267         * insettext.[Ch] (linuxdoc): add support for tables and figures
268         (linuxdoc).
269
270 2003-07-27  José Matos  <jamatos@fep.up.pt>
271
272         * insetinclude (latex): comply with makeLaTeXFile argument change.
273
274 2003-07-26  Asger Alstrup  <alstrup@local>
275
276         * insettext.C (reinitLyXText): Get rid of updateLocal which causes
277         the undo crashes. We'll see what problems other places this will
278         cause.
279
280 2003-07-26  Angus Leeming  <leeming@lyx.org>
281
282         * insetgraphics.C: remove unused declaration of system_tempdir.
283
284 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
285
286         * rename Inset to InsetOld
287
288         * all inset files (clone): return a auto_ptr<InsetBase>
289
290 2003-07-23  Angus Leeming  <leeming@lyx.org>
291
292         * insetexternal.[Ch] (setParams): pass it a Buffer const *.
293
294 2003-07-23  Angus Leeming  <leeming@lyx.org>
295
296         * mailinset.[Ch] (inset2string):
297         * insetcommand.[Ch] (inset2string):
298         * insetert.[Ch] (inset2string):
299         * insetexternal.[Ch] (inset2string):
300         * insetfloat.[Ch] (inset2string):
301         * insetgraphics.[Ch] (inset2string):
302         * insetinclude.[Ch] (inset2string):
303         * insetminipage.[Ch] (inset2string):
304         * insetnote.[Ch] (inset2string):
305         * insettabular.[Ch] (inset2string):
306         * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
307
308         * insetexternal.[Ch]:
309         * insetgraphics.[Ch]: get rid of the view() function. Associated
310         changes to the mailers' string2params and params2string functions.
311
312 2003-07-23  Angus Leeming  <leeming@lyx.org>
313
314         * insetexternal.[Ch]: store the external file name in a FileName
315         member variable rather than a string + associated changes.
316
317 2003-07-21  Angus Leeming  <leeming@lyx.org>
318
319         * insetgraphicsParams.[Ch]: store the graphics file name in
320         a FileName member variable rather than a string.
321
322         * insetgraphics.[Ch]:
323         * insetgraphicsParams.[Ch]: Associated changes.
324
325 2003-07-21  Angus Leeming  <leeming@lyx.org>
326
327         * insetgraphics.[Ch] (string2params, params2string): passed a
328         buffer_path argument.
329         (view): new method.
330
331 2003-07-21  Angus Leeming  <leeming@lyx.org>
332
333         * insetexternal.C:
334         * insetgraphicsParams.[Ch]:
335         * insetinclude.C:
336         * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
337
338 2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * insetnote.C: fixed greyout and conditionals layout foul-ups.
341
342 2003-07-18  André Pönitz  <poenitz@gmx.net>
343
344         * insetert.[Ch]:
345         * insetminipage.[Ch]:
346         * insettabular.[Ch]:
347         * insettext.[Ch]:
348         * insetwrap.[Ch]:
349         * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
350
351 2003-07-18  André Pönitz  <poenitz@gmx.net>
352
353         * inset.[Ch]:
354         * insetbibitem.C:
355         * insetcollapsable.C:
356         * insetcommand.C:
357         * insetert.C:
358         * insetexternal.C:
359         * insetgraphics.[Ch]:
360         * insetlatexaccent.[Ch]:
361         * insetminipage.C:
362         * insetnewline.C:
363         * insetquotes.C:
364         * insetspace.C:
365         * insetspecialchar.C:
366         * insettabular.[Ch]:
367         * insettext.[Ch]:
368         * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
369
370 2003-07-17  André Pönitz  <poenitz@gmx.net>
371
372         * insetcollapsable.C:
373         * insettabular.C:
374         * insettext.C: don't call Inset::update() anymore
375
376         * insettext.[Ch]:
377         * insettabular.[Ch]: remove unneeded in_update_ members
378
379         * insettext.[Ch]: remove unneeded InsetText::old_max_width member
380
381 2003-07-16  André Pönitz  <poenitz@gmx.net>
382
383         * insettext.C (selectAll): remove
384
385 2003-07-16  John Levon  <levon@movementarian.org>
386
387         * insetnote.h:
388         * insetnote.C: implement showInsetDialog()
389
390 2003-07-15  André Pönitz  <poenitz@gmx.net>
391
392         * insettabular.C:
393         * insettext.C: refresh_status tristate -> need_update bool
394
395 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
396
397         * insettext.C: adjust call to LyXText::init
398
399 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
400
401         * insettext.C: use bufferview_funcs->replaceSelection()
402         to delete selections in some cases (bugs 441, 673, 702, 954).
403
404 2003-07-14  André Pönitz  <poenitz@gmx.net>
405
406         * insettext.C (draw): use slimmed down rowpainter interface
407
408 2003-07-14  André Pönitz  <poenitz@gmx.net>
409
410         * insetcollapsable.C:
411         * insetert.C:
412         * insettext.[Ch] (cy, ciy, setUpdateStatus):
413         remove unused BufferView * argument
414
415 2003-07-14  André Pönitz  <poenitz@gmx.net>
416
417         * insettext.[Ch]: used cached metrics a bit more
418
419 2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
420
421         * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
422
423 2003-07-10  André Pönitz  <poenitz@gmx.net>
424
425         * insettabular.C:
426         * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
427
428 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
429
430         * introduce namespace lyx::graphics
431
432 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
433
434         * introduce namespace lyx::support
435
436 2003-06-30  André Pönitz  <poenitz@gmx.net>
437
438         * insetcite.C (localDispatch): fix case of missing return value
439
440         * insetcite.C (ascii): remove unneeded temporary
441
442 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
443
444         * insetspace.h: fix \file
445
446         * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
447         * insetinclude.C (fillWithBibKeys): ditto
448
449         * insetbibitem.C: fix type const order
450
451         * inset.C (getLyXText): add varname for arg
452
453         * ExternalTemplate.h: fix type const order
454
455 2003-06-27  André Pönitz  <poenitz@gmx.net>
456
457         * insettext.C: take care of removed LyXCursor::row_ member
458
459         * insettext.[Ch]: use new TextCursor struct for sstate
460
461 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
462
463         * inseterror.[Ch]: removed
464
465 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
466
467         * insetinclude.C (docbook): use parseError instead of sgmlError
468
469 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
470
471         * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
472         of BufferList::loadLyXFile
473
474 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * insettext.C (update): simplify
477         (updateLocal): remove commented code
478         (insetUnlock): simplify
479         (lockInset): simplify
480         (updateInsetInInset): simplify
481         (localDispatch): simplify
482         (setFont): simplify
483         (resizeLyXText): simplify
484         (collapseParagraphs): simplify
485
486         * insetert.C (get_new_label): simplify
487
488 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
489
490         * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
491         pasteSelection with index
492
493 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
496
497 2003-06-16  André Pönitz  <poenitz@gmx.net>
498
499         * insetbase.h: new virtual base function clone()
500
501         * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
502           Inset * clone()  ->  InsetBase * clone()
503
504 2003-06-13  André Pönitz  <poenitz@gmx.net>
505
506         * insettabular.[Ch]: make tabular a proper member
507
508 2003-06-12  André Pönitz  <poenitz@gmx.net>
509
510         * insettabular.[Ch]: some renaming plus whitespace
511
512 2003-06-11  Angus Leeming  <leeming@lyx.org>
513
514         * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
515         Add renderers.[Ch].
516
517         * insetbutton.[Ch]: removed.
518         * graphicinset.[Ch]: renamed as renderers.[Ch].
519
520         * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
521         Create a new class ButtonRenderer using the InsetButton::metrics() and
522         draw() functions.
523         Derive both from a common RenderedInset base class.
524
525         * insetcommand.[Ch]:
526         * insetinclude.[Ch]: derive from Inset, not InsetButton.
527         Give it a ButtonRenderer member variable. Use it.
528         Give the classes working copy c-tors.
529         No longer derive from boost::noncopyable.
530
531         * insetexternal.[Ch]: enable the inset to choose dynamically whether to
532         display its contents as a button or as a graphic.
533
534         * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
535         GraphicRenderer.
536
537 2003-06-11  Angus Leeming  <leeming@lyx.org>
538
539         * insetcite.C (localDispatch): reformat.
540
541         * insetref.C (localDispatch): enable dialog to be lauched.
542
543 2003-06-11  John Levon  <levon@movementarian.org>
544
545         * insettabular.C: correctly mark all cells as erased
546
547 2003-06-11  Angus Leeming  <leeming@lyx.org>
548
549         * insetexternal.[Ch]: InsetExternal::Params no longer stores the
550         ExternalTemplate but its name, templatename. This means that a file
551         containing a reference to an External Template not installed on the
552         current machine will be saved retaining this info rather than inserting
553         the first "valid" template from the list of templates.
554
555         As a by product, the visual statement that the Template is missing is
556         now very clear!
557
558 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
559
560         * insettext.C (appendParagraphs): remove some commented code.
561
562 2003-06-10  Angus Leeming  <leeming@lyx.org>
563
564         * graphicinset.[Ch] (view): removed the publicly accessible function to set
565         the cache.
566
567         * insetexternal.[Ch]: move tempname_ into the Params struct.
568         (Params d-tor): new function, to clean-up this temp file.
569         (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
570         (cache): removed.
571         (editExternal, doSubstitution): move out of class.
572
573 2003-06-10  Angus Leeming  <leeming@lyx.org>
574
575         * graphicinset.[Ch] (params): removed.
576         * graphicinset.h (operator=): declared private but not defined.
577         (statusMessage): made private.
578
579         * insetexternal.[Ch]: graphic_ renamed as renderer_.
580
581 2003-06-07  John Levon  <levon@movementarian.org>
582
583         * insetert.C (latex): make a newline mean just that not
584         a new par
585
586 2003-06-07  José Matos  <jamatos@fep.up.pt>
587
588         * insethfill.[Ch] (linuxdoc, docbook): implement output
589         * insetspace.C (linuxdoc, docbook): remove coments as the code
590         is correct.
591
592 2003-06-06  José Matos  <jamatos@fep.up.pt>
593
594         * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
595
596 2003-06-06  André Pönitz  <poenitz@gmx.net>
597
598         * insetwrap.[Ch]: code compactification
599
600 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
601
602         * mailinset.C (updateDialog): use Dialogs::visible
603
604 2003-06-04  Angus Leeming  <leeming@lyx.org>
605
606         * graphicinset.C (draw): add a comment for the #if 0 block.
607
608         * insetexternal.h: remove Params::parameters variable.
609         * insetexternal.C (read, write): rewrite to output new ExternalInset format
610         and read it back making full use of LyXLex.
611
612 2003-06-04  André Pönitz  <poenitz@gmx.net>
613
614         * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
615
616 2003-06-04  John Levon  <levon@movementarian.org>
617
618         * insettabular.C: back out tall table speed up. It was broken
619
620 2003-06-03  Angus Leeming  <leeming@lyx.org>
621
622         * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
623         Remove ViewCommand and UpdateCommand.
624
625         * graphicinset.C (update): bug fix. Set the params before calling the
626         loader.
627         * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
628         BufferView cache to enable the InsetExternal::editCommand to be invoked
629         from the frontends. Would not be needed if this were dispatched properly.
630         (old_ascent_): variable removed.
631
632         * insetexternal.[Ch]: large clean-up to use the converter mechanism to
633         do any necessary conversions of external material. Also use the
634         new GraphicsInset to display the inset within LyX.
635
636 2003-06-03  Angus Leeming  <leeming@lyx.org>
637
638         * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
639         and move it somewhere where InsetExternal can use it too.
640
641         * Makefile.am: add the new files.
642
643         * insetgraphics.[Ch]: make use of the new GraphicInset.
644
645 2003-06-03  John Levon  <levon@movementarian.org>
646
647         * inset.h:
648         * insetbibitem.[Ch]:
649         * insetbibtex.h:
650         * insetcite.h:
651         * insetcommand.[Ch]:
652         * insetenv.[Ch]:
653         * inseterror.h:
654         * insetert.[Ch]:
655         * insetexternal.[Ch]:
656         * insetfloat.[Ch]:
657         * insetfloatlist.h:
658         * insetfoot.[Ch]:
659         * insetgraphics.[Ch]:
660         * insethfill.h:
661         * insetinclude.[Ch]:
662         * insetindex.h:
663         * insetlabel.h:
664         * insetlatexaccent.[Ch]:
665         * insetmarginal.[Ch]:
666         * insetminipage.[Ch]:
667         * insetnewline.h:
668         * insetnote.[Ch]:
669         * insetoptarg.[Ch]:
670         * insetquotes.[Ch]:
671         * insetref.[Ch]:
672         * insetspace.[Ch]:
673         * insetspecialchar.[Ch]:
674         * insettabular.[Ch]:
675         * insettext.[Ch]:
676         * insetthereom.[Ch]:
677         * insettoc.h:
678         * inseturl.h:
679         * insetwrap.[Ch]: make clone() not take a Buffer * arg
680
681         * insetgraphics.[Ch]:
682         * insetgraphicsParams.[Ch]: always store an absolute
683         path at runtime
684
685 2003-06-02  André Pönitz  <poenitz@gmx.net>
686
687         * inseterror.C:
688         * insetgraphics.C:
689         * insetlatexaccent.C: remove duplicated call to metrics()
690
691 2003-06-02  John Levon  <levon@movementarian.org>
692
693         * insettabular.C: fix resize of column width
694
695 2003-06-02  John Levon  <levon@movementarian.org>
696
697         * Makefile.am:
698         * inset.h:
699         * insetparent.h:
700         * insetparent.C: remove insetparent
701
702 2003-06-02  André Pönitz  <poenitz@gmx.net>
703
704         * inset.[Ch]:
705         * insetbase.h:
706         * insetbibtex.[Ch]:
707         * insetbutton.[Ch]:
708         * insetcaption.C:
709         * insetcollapsable.[Ch]:
710         * inseterror.[Ch]:
711         * insetert.[Ch]:
712         * insetfootlike.C:
713         * insetgraphics.[Ch]:
714         * insetinclude.[Ch]:
715         * insetlatexaccent.[Ch]:
716         * insetminipage.[Ch]:
717         * insetnewline.[Ch]:
718         * insetquotes.[Ch]:
719         * insetspace.[Ch]:
720         * insetspecialchar.[Ch]:
721         * insettabular.[Ch]:
722         * insettext.[Ch]: unify first drawing phase
723
724         * inset.[Ch]:
725         * insetbase.h: move validate() to the base
726
727 2003-05-31  Angus Leeming  <leeming@lyx.org>
728
729         * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
730
731 2003-05-30  André Pönitz  <poenitz@gmx.net>
732
733         * inset.h:
734         * insetbase.h:
735         * insetbutton.[Ch]:
736         * insetcaption.[Ch]:
737         * insetcollapsable.[Ch]:
738         * inseterror.[Ch]:
739         * insetert.[Ch]:
740         * insetgraphics.[Ch]:
741         * insetinclude.[Ch]:
742         * insetlatexaccent.[Ch]:
743         * insetnewline.[Ch]:
744         * insetquotes.[Ch]:
745         * insetspace.[Ch]:
746         * insetspecialchar.[Ch]:
747         * insettabular.[Ch]:
748         * insettext.[Ch]:
749         * updatableinset.[Ch]: unify second drawing phase
750
751 2003-05-30  John Levon  <levon@movementarian.org>
752
753         * insetgraphics.C: fix a bformat
754
755 2003-05-29  John Levon  <levon@movementarian.org>
756
757         * insettabular.C: remove unused bufferOwner()
758
759 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
760
761         * insettext.C (lockInsetInInset): adjust
762         (getLabelList): use const_iterator, adjust
763         (getInsetFromID): use const_iterator, adjust
764         (addPreview): use const_iterator, adjust
765
766         * insetwrap.C (clone): remove const_cast
767
768         * insetnote.C (clone): remove const_cast
769
770         * insetminipage.C (clone): remove const_cast
771
772         * insetmarginal.C (clone): remove const_cast
773
774         * insetfoot.C (clone): remove const_cast
775
776         * insetfloat.C (clone): remove const_cast
777
778         * insetert.C (clone): remove const_cast
779
780         * delete commented same_id functions from a lot of files.
781
782 2003-05-28  John Levon  <levon@movementarian.org>
783
784         * insetcite.C:
785         * insetinclude.C:
786         * insetindex.C:
787         * insetparent.C:
788         * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
789
790         * insetminipage.C: fix metrics (bug 1144)
791
792 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * insettext.C (saveLyXTextState): adjust
795         (restoreLyXTextState): adjust
796         (init): adjust
797         (lockInset): adjust
798         (unlockInsetInInset): adjust
799         (localDispatch): adjust
800         (getLyXText): adjust
801
802         * insettabular.C (insertAsciiString): adjust
803
804 2003-05-27  André Pönitz  <poenitz@gmx.net>
805
806         * insetbutton.C:
807         * insetcollapsable.C:
808         * inseterror.C:
809         * insetgraphics.C:
810         * insetlatexaccent.C:
811         * insetminipage.C:
812         * insetnewline.C:
813         * insetquotes.C:
814         * insetspace.C:
815         * insetspecialchar.C:
816         * insettabular.C:
817         * insettext.C: dim.w -> dim.wid
818
819 2003-05-26  John Levon  <levon@movementarian.org>
820
821         * insettabular.C: avoid drawing all of a long table
822         if it's not needed. A big speedup
823
824 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
825
826         * remove same_id from function signatures, adjust
827
828 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
829
830         * insettext.C (InsetText): adjust
831         (clear): adjust
832         (setParagraphData): separate same_id cases, adjust
833         (appendParagraphs): adjust
834         (appendParagraphs): adjust
835
836 2003-05-23  André Pönitz  <poenitz@gmx.net>
837
838         * insetbutton.h: whitespace
839
840         * insettabular.C: more compact code
841
842         * updatableinset.C: remove const_cast
843
844
845 2003-05-23  Angus Leeming  <leeming@lyx.org>
846
847         * insetexternal.C (write): check how many lines are output.
848         (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
849         if the template has defined it.
850
851 2003-05-23  Angus Leeming  <leeming@lyx.org>
852
853         * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
854
855 2003-05-23  Angus Leeming  <leeming@lyx.org>
856
857         * insetfoot.C (latex):
858         * inseturl.C (latex): rename fragile as moving_arg.
859
860 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
861
862         * inseterror.C (localDispatch): comment out unused var.
863
864 2003-05-22  Angus Leeming  <leeming@lyx.org>
865
866         * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
867         passed through the LatexRunParams arg.
868
869 2003-05-22  Angus Leeming  <leeming@lyx.org>
870
871         * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
872         through the LatexRunParams arg.
873
874         * insetquotes.C (latex): accesses use_babel through the LatexRunParams
875         arg rather than through a global var.
876
877 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
878
879         * insetspecialchar.C (dimension): use a string.
880
881 2003-05-22  Angus Leeming  <leeming@lyx.org>
882
883         * insetbibtex.C (latex):
884         * insetgraphics.C (latex):
885         * insetinclude.C (latex): extract the buffer's 'nice'ness from
886         runparams rather than from the buffer itself.
887
888 2003-05-22  Angus Leeming  <leeming@lyx.org>
889
890         * inset*.[Ch] (latex):
891         passed a LatexRunParams parameter.
892
893         * insetgraphics.C (latex): actually use it ;-)
894
895 2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
896
897         * insetfloat.C (addToToc): trivial compile fix
898
899 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
900
901         * insettext.[Ch] (paragraph): delete unused function
902
903         * insetfloat.C (addToToc): parlist simplfication
904
905 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
906
907         * insetspace.[Ch]: added (new space insets)
908         * Makefile.am:
909         * inset.h: handle new space insets
910
911 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
912
913         * insetfloat.C (addToToc): adjust
914
915 2003-05-21  André Pönitz  <poenitz@gmx.net>
916
917         * insettext.[Ch]: fix drawing bug introduced earlier
918
919 2003-05-19  André Pönitz  <poenitz@gmx.net>
920
921         * insetspecialchar.C: fix bug introduced yesterday
922
923 2003-05-19  André Pönitz  <poenitz@gmx.net>
924
925         * inset.[Ch]:
926         * insetbutton.[Ch]:
927         * insetcollapsable.[Ch]:
928         * inseterror.[Ch]:
929         * insetert.[Ch]:
930         * insetfoot.[Ch]:
931         * insetgraphics.[Ch]:
932         * insetgraphicsParams.[Ch]:
933         * insetlatexaccent.[Ch]:
934         * insetminipage.[Ch]:
935         * insetnewline.[Ch]:
936         * insetquotes.[Ch]:
937         * insetspecialchar.[Ch]:
938         * insettabular.[Ch]:
939         * insettext.[Ch]: dimensions() instead of ascend/descend/width
940
941 2003-05-19  André Pönitz  <poenitz@gmx.net>
942
943         * insetenv.[Ch]:
944         * insettext.C: more insetenv
945
946 2003-05-16  André Pönitz  <poenitz@gmx.net>
947
948         * insetcommand.C:
949         * insetminimpage.[Ch]:
950         * insetcollapsable.[Ch]: fix #832
951
952 2003-05-16  André Pönitz  <poenitz@gmx.net>
953
954         * inset.[Ch]:
955         * insetbibitem.[Ch]:
956         * insetbibtex.[Ch]:
957         * insetbutton.[Ch]:
958         * insetcite.[Ch]:
959         * insetcollapsable.[Ch]:
960         * insetcommand.[Ch]:
961         * inseterror.[Ch]:
962         * insetert.[Ch]:
963         * insetexternal.[Ch]:
964         * insetfloatlist.[Ch]:
965         * insetgraphics.[Ch]:
966         * insetinclude.[Ch]:
967         * insetindex.[Ch]:
968         * insetlabel.[Ch]:
969         * insetlatexaccent.[Ch]:
970         * insetparent.[Ch]:
971         * insetref.[Ch]:
972         * insettabular.[Ch]:
973         * insettext.[Ch]:
974         * insettoc.[Ch]:
975         * inseturl.[Ch]:
976         * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
977
978 2003-05-13  André Pönitz <poenitz@gmx.net>
979
980         * insetbibitem.C:
981         * insetcollapsable.C:
982         * insetert.C:
983         * insetfloat.C:
984         * insetinclude.C:
985         * insetwrap.C: tostr from own header
986
987         * insetcommand.C:
988         * insetexternal.C:
989         * insetfloat.C:
990         * insetfloat.h:
991         * insetgraphics.C:
992         * insetinclude.C:
993         * insetminipage.C:
994         * insetparent.C:
995         * insettabular.C:
996         * insettext.C:
997         * insetwrap.C: STRCONV
998
999
1000 2003-05-12  André Pönitz <poenitz@gmx.net>
1001
1002         * insetcaption.C:
1003         * insetexternal.C:
1004         * insetfloat.C:
1005         * insetfloatlist.C:
1006         * insetgraphics.C:
1007         * insetinclude.C:
1008         * insetminipage.C:
1009         * insetminipage.C:
1010         * insettabular.C:
1011         * insettext.C:
1012         * insetwwrap.C:  boost::format -> bformat  all over the place
1013
1014 2003-05-05  André Pönitz <poenitz@gmx.net>
1015
1016         * insettext.h: add missing #include <map>
1017
1018 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1019
1020         * insettext.C (InsetText): parlist cleanup
1021         (clear): ditto
1022         (edit): ditto
1023         (insetUnlock): ditto
1024         (lockInset): ditto
1025         (lockInsetInInset): ditto
1026         (cx): ditto
1027         (cix): ditto
1028         (getLyXText): ditto
1029         (searchBackward): ditto
1030         (collapseParagraphs): ditto
1031
1032 2003-05-06  John Levon  <levon@movementarian.org>
1033
1034         * insetcaption.C: don't cast wrap inset to InsetFloat
1035
1036         * insetfloat.h:
1037         * insetfloat.C: remove unneeded type() function
1038
1039 2003-05-05  André Pönitz <poenitz@gmx.net>
1040
1041         * inset.h:
1042         * insettext.[Ch]:
1043         * insettabular.[Ch]:
1044         * insetcollapsable.[Ch]: remove unused function firstParagraph()
1045         replace getFirstParagraph() by getParagraphs()
1046
1047 2003-05-03  John Levon  <levon@movementarian.org>
1048
1049         * insetcollapsable.h:
1050         * insetcollapsable.C:
1051         * insettabular.h:
1052         * insettabular.C:
1053         * insettext.h:
1054         * insettext.C:
1055         * updatableinset.h:
1056         * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1057         hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1058         getCursor(). Remove explicit cursor hides.
1059
1060 2003-05-02  André Pönitz <poenitz@gmx.net>
1061
1062         * insettext.C: remove unneeded &*
1063
1064 2003-04-30  John Levon  <levon@movementarian.org>
1065
1066         * insettabular.C: fix edit message
1067
1068 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1069
1070         * insettext.C (setFont): do not convert iterator -> pointer
1071
1072         * insettabular.C (localDispatch): do not convert iterator -> pointer
1073         (setFont): ditto
1074         (tabularFeatures): ditto
1075
1076 2003-04-29  André Pönitz <poenitz@gmx.net>
1077
1078         * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1079
1080 2003-04-28  André Pönitz <poenitz@gmx.net>
1081
1082         * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1083           Changes
1084
1085 2003-04-25 André Pönitz <poenitz@gmx.net>
1086
1087         * insetenv.C: derive from InsetText instead of InsetCollapsable
1088
1089 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1090
1091         * insetexternal.C (string2params): dont do anything if the string
1092         is empty.
1093         * insetgraphics.C (string2params): ditto
1094         * insetcommand.C (string2params): ditto
1095         * insetert.C (string2params): ditto
1096         * insetfloat.C (string2params): ditto
1097         * insetinclude.C (string2params): ditto
1098         * insetminipage.C (string2params): ditto
1099         * insettabular.C (string2params): ditto
1100         * insetwrap.C (string2params): ditto
1101
1102 2003-04-24  André Pönitz <poenitz@gmx.net>
1103
1104         * insetref.C: support for eqref
1105
1106 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * insetert.C (read): use ParagraphList::iterator.
1109
1110 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1111
1112         * insetquotes.C (latex): comment some code and add warnings.
1113
1114 2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * insetexternal.C (localDispatch): added a missing DISPATCHED
1117
1118 2003-04-12  John Levon  <levon@movementarian.org>
1119
1120         * insetwrap.C (addToToc): fix a crash, conversion
1121         from while to for loop forgot to remove the explicit
1122         increment
1123
1124 2003-04-10  John Levon  <levon@movementarian.org>
1125
1126         * insettabular.C (tabularFeature): make sure
1127         to update the dialog when we change something
1128         (bug 1036).
1129
1130         (getStatus): don't disable some lfuns (bug 939)
1131
1132 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1133
1134         * insettext.C (saveLyXTextState): adjust
1135         (localDispatch): adjust
1136         (setFont): adjust
1137         (cx): adjust
1138         (cix): adjust
1139         (cpar): adjust
1140
1141         * insettabular.C (localDispatch): adjust
1142         (setFont): adjust
1143         (tabularFeatures): adjust
1144
1145 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1146
1147         * insettabular.C (searchForward,searchBackward): fix bug 782
1148
1149 2003-04-07  John Levon  <levon@movementarian.org>
1150
1151         * insettabular.C:
1152         * insettext.C: clear status message on inset exit
1153
1154 2003-04-03  John Levon  <levon@movementarian.org>
1155
1156         * insetcommand.C: return dispatched on DIALOG_UPDATE
1157
1158 2003-04-02  John Levon  <levon@movementarian.org>
1159
1160         * insettabular.C: tab lfuns renamed
1161
1162 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1163
1164         * insettext.C (update): move towards ParagraphList
1165         (updateLocal): ditto
1166         (edit): ditto
1167         (insetUnlock): ditto
1168         (lockInset): ditto
1169         (lockInsetInInset): ditto
1170         (updateInsetInInset): ditto
1171         (localDispatch): ditto
1172         (docbook): ditto
1173         (setFont): ditto
1174         (resizeLyXText): ditto
1175         (searchBackward): ditto
1176         (collapseParagraphs): ditto
1177         (addPreview): ditto
1178
1179         * insetwrap.C (InsetWrap): adjust
1180         (addToToc): adjust and rewrite loop
1181
1182         * insettext.[Ch] (paragraph): delete function
1183
1184         * insettabular.C (moveNextCell): adjust
1185         (movePrevCell): adjust
1186         (insertAsciiString): adjust
1187
1188         * insetfloat.C (InsetFloat): adjust
1189         (addToToc): adjust
1190
1191         * insetert.C (InsetERT): adjust
1192         (write): adjust, and rewrite loop
1193         (latex): adjust, and rewrite loop
1194         (linuxdoc): adjust, and rewrite loop
1195         (docbook): adjust, and rewrite loop
1196         (localDispatch): adjust
1197         (get_new_label): adjust
1198
1199 2003-04-01  John Levon  <levon@movementarian.org>
1200
1201         From Alfredo Braunstein
1202
1203         * insetbutton.h:
1204         * insetbutton.C: add localDispatch()
1205
1206         * insetcommand.C: return DISPATCHED when edit() called
1207
1208         * insettext.C: fix bug 967
1209
1210 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * insettext.C: adjust
1213
1214 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1215
1216         * insettext.C (draw): adjust
1217         (crow): return a RowList::iterator not a Row*
1218
1219         * insetminipage.C (localDispatch): adjust
1220
1221         * insetert.C (localDispatch): adjust
1222
1223 2003-03-31  John Levon  <levon@movementarian.org>
1224
1225         * insetgraphics.C:
1226         * insetgraphicsParams.C: use_gui moved to lyx_gui
1227
1228 2003-03-31  John Levon  <levon@movementarian.org>
1229
1230         * insettext.C: Alert fix
1231
1232 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * insettext.C (ascent): adjust for RowList
1235         (descent): ditto
1236         (draw): ditto
1237         (getLyXText): adjust
1238         (toggleSelection): adjust
1239
1240         * insetminipage.C (localDispatch): adjust for RowList
1241
1242         * insetert.C (localDispatch): adjust for RowList
1243         (getMaxWidth): adjust for RowList
1244
1245 2003-03-29  John Levon  <levon@movementarian.org>
1246
1247         * insetert.C: Alert cleanup
1248
1249 2003-03-29  John Levon  <levon@movementarian.org>
1250
1251         * insettabular.C: Alert fix
1252
1253 2003-03-28  John Levon  <levon@movementarian.org>
1254
1255         * insetfloat.C: reset label on INSET_MODIFY
1256
1257 2003-03-28  John Levon  <levon@movementarian.org>
1258
1259         * insetgraphicsParams.C: read subcaptionText as a whole line
1260         (bug 656)
1261
1262 2003-03-28  John Levon  <levon@movementarian.org>
1263
1264         * insettext.C: remove unused prototypes
1265
1266 2003-03-25  Angus Leeming  <leeming@lyx.org>
1267
1268         * insetbibitem.C (localDispatch): repaint the view after modifying
1269         a bibitem inset in case the maximum InsetBibitem width has changed.
1270
1271 2003-03-25  John Levon  <levon@movementarian.org>
1272
1273         * insettext.C:
1274         * insettabular.C: LyXText renamings
1275
1276 2003-03-24  John Levon  <levon@movementarian.org>
1277
1278         * insettext.C: remove some dead code. Fix bug 972 and
1279           related by posting a repaint in updateLocal(), and making
1280           the SEL functions set SELECTION.
1281
1282 2003-03-22  John Levon  <levon@movementarian.org>
1283
1284         * inset.h:
1285         * inset.C: remove no-longer-needed topx_set
1286
1287         * insetcollapsable.h:
1288         * insetcollapsable.C: remove dead code
1289
1290         * insetminipage.C:
1291         * insetert.C: rebreak the rows when a possible
1292           change in size is made, and reset the cursor
1293           (bug 962, bug 965)
1294
1295         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1296
1297         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1298           topx_set. Fix drawing errors for clearInset(). Remove
1299           some unnecessary uses of topx, which should die.
1300
1301         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1302           is no longer needed. Replace it with an ugly hack.
1303
1304 2003-03-20  John Levon  <levon@movementarian.org>
1305
1306         * inset.h:
1307         * insetcollapsable.h:
1308         * insetcollapsable.C:
1309         * insetert.h:
1310         * insetert.C:
1311         * insetminipage.C:
1312         * insetminipage.C:
1313         * insettabular.h:
1314         * insettabular.C:
1315         * insettext.h:
1316         * insettext.C: remove spurious font parameter
1317         from update(). Fix drawing of ERT insets inside
1318         insets (bug 966). Remove unused mark_dirty from
1319         tabular's updateLocal()
1320
1321 2003-03-19  John Levon  <levon@movementarian.org>
1322
1323         * insetfloat.h:
1324         * insetfloat.C:
1325         * insetinclude.h:
1326         * insetinclude.C:
1327         * insetminipage.h:
1328         * insetminipage.C:
1329         * insetwrap.h:
1330         * insetwrap.C: remove unused getter/setters
1331
1332 2003-03-19  John Levon  <levon@movementarian.org>
1333
1334         * several files: bv->updateInset() doesn't take
1335         a bool mark_dirty any more
1336
1337 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1338
1339         * adjust for BufferView* arg removal from lyxtext.
1340
1341 2003-03-17  John Levon  <levon@movementarian.org>
1342
1343         * most files: remove the "cleared" parameter
1344         to draw in favour of always clearing. Associated
1345         code removal.
1346
1347 2003-03-16  John Levon  <levon@movementarian.org>
1348
1349         * insettext.C: remove unused s.refresh
1350
1351 2003-03-13  Angus Leeming  <leeming@lyx.org>
1352
1353         * insettext.C (edit): replace Dialogs::updateParagraph with
1354         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1355
1356 2003-03-13  André Pönitz <poenitz@gmx.net>
1357
1358         * Makefile.am: insert insetenv
1359
1360         * insethenv.[Ch]: new files, currently inactive
1361
1362 2003-03-12  John Levon  <levon@movementarian.org>
1363
1364         * Makefile.am:
1365         * inset.h:
1366         * inset.C:
1367         * insetert.h:
1368         * insetert.C:
1369         * insetnewline.h:
1370         * insetnewline.C:
1371         * insetquotes.C:
1372         * insettext.C: use new insetnewline
1373
1374 2003-03-12  John Levon  <levon@movementarian.org>
1375
1376         * insettext.C: readToken became readParagraph
1377
1378 2003-03-12  John Levon  <levon@movementarian.org>
1379
1380         * insettext.C: use parlist iterator for reading contents
1381
1382 2003-03-12  John Levon  <levon@movementarian.org>
1383
1384         * insettext.C: name change to readToken()
1385
1386 2003-03-11  André Pönitz <poenitz@gmx.net>
1387
1388         * Makefile.am: insert insethfill
1389
1390         * insethfill.[Ch]: new files
1391
1392 2003-03-10  Angus Leeming  <leeming@lyx.org>
1393
1394         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1395         BufferView * arg.
1396         (hideDialog): calls the new static Dialogs::hide() method.
1397
1398         * insetbibitem.C (edit):
1399         * insetbibtex.C (edit):
1400         * insetcite.C (edit):
1401         * insetcommand.C (localDispatch):
1402         * inseterror.C (d-tor):
1403         * insetert.C (showInsetDialog):
1404         * insetexternal.C (localDispatch, edit):
1405         * insetfloat.C (localDispatch, showInsetDialog):
1406         * insetfloatlist.C (edit):
1407         * insetgraphics.C (localDispatch, edit):
1408         * insetinclude.C (localDispatch, edit):
1409         * insetindex.C (edit):
1410         * insetlabel.C (edit):
1411         * insetminipage.C (localDispatch, showInsetDialog):
1412         * insetref.C (edit):
1413         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1414         resetPos, showInsetDialog, openLayoutDialog):
1415         * insettoc.C (edit):
1416         * inseturl.C (edit):
1417         * insetwrap.C (localDispatch, showInsetDialog):
1418         changes due to the changed MailInset interface.
1419
1420 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
1421
1422         * insetfloat.h: Set default placement to an empty string.
1423
1424 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1425
1426         * insettext.C (latex): adjust call to latexParagraphs.
1427
1428 2003-03-10  Angus Leeming  <leeming@lyx.org>
1429
1430         * mailinset.C: warn the user if the BufferView has not been cached.
1431
1432 2003-03-10  Angus Leeming  <leeming@lyx.org>
1433
1434         * inset.h, insetbase.h: move cache() and view() into InsetBase.
1435
1436         * insetcommand.h (inset):
1437         * insetert.h (inset):
1438         * insetexternal.h (inset):
1439         * insetfloat.h (inset):
1440         * insetgraphics.h (inset):
1441         * insetinclude.h (inset):
1442         * insetminipage.h (inset):
1443         * insettabular.h (inset):
1444         * insetwrap.h (inset):
1445         * mailinset.h (inset): return an InsetBase &, not an Inset &.
1446
1447 2003-03-10  Angus Leeming  <leeming@lyx.org>
1448
1449         * insetcommand.C (string2params):
1450         * insetexternal.C (string2params):
1451         * insetfloat.C (string2params):
1452         * insetgraphics.C (string2params):
1453         * insetinclude.C (string2params):
1454         * insetminipage.C (string2params):
1455         * insettabular.C (string2params):
1456         * insetwrap.C (string2params): cure warning message about missing
1457         '\end_inset'.
1458
1459 2003-03-09  Angus Leeming  <leeming@lyx.org>
1460
1461         * insettabular.[Ch]: define a new class InsetTabularMailer and use
1462         it to communicate with the frontend dialogs.
1463
1464         * mailinset.C (hideDialog): only hide the dialog if it is showing the
1465         contents of this inset!
1466
1467 2003-03-07  Angus Leeming  <leeming@lyx.org>
1468
1469         * inseterror.C (localDispatch): new method; calls edit() on
1470         LFUN_MOUSE_RELEASE.
1471
1472 2003-03-07  Angus Leeming  <leeming@lyx.org>
1473
1474         * insetbibitem.C (localDispatch):
1475         * insetbibtex.C (localDispatch):
1476         * insetlabel.C (localDispatch):
1477         rewrite as a switch.
1478
1479 2003-03-07  Angus Leeming  <leeming@lyx.org>
1480
1481         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1482         it to communicate with the frontend dialogs.
1483
1484 2003-03-07  Angus Leeming  <leeming@lyx.org>
1485
1486         * insetexternal.C: remove operator== and operator!= for
1487         InsetExternal::Params. They were used only by the old controller
1488         scheme.
1489
1490 2003-03-07  Angus Leeming  <leeming@lyx.org>
1491
1492         * insetcommand.C (localDispatch):
1493         * insetexternal.C (localDispatch):
1494         * insetfloat.C (localDispatch):
1495         * insetinclude.C (localDispatch):
1496         * insetminipage.C (localDispatch):
1497         * insetwrap.C (localDispatch):
1498         add LFUN_INSET_DIALOG_UPDATE to the switch.
1499
1500 2003-03-07  Angus Leeming  <leeming@lyx.org>
1501
1502         * insetcommand.C (string2params):
1503         * insetexternal.C (string2params):
1504         * insetfloat.C (string2params):
1505         * insetinclude.C (string2params):
1506         * insetwrap.C (string2params): use LyXLeX more.
1507
1508         * insetert.[Ch]:
1509         * insetexternal.[Ch]:
1510         * insetfloat.[Ch]:
1511         * insetinclude.[Ch]:
1512         * insetwrap.[Ch]: change Mailer::name_ to be static.
1513
1514         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1515         it to communicate with the frontend dialogs.
1516
1517 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
1518
1519         * insettext.C:
1520         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1521
1522 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1523
1524         * insettext.C (updateLocal): un-const function
1525         (updateLocal): adjust
1526         (collapseParagraphs): un-const function
1527         (collapseParagraphs): adjust
1528
1529 2003-03-05  Angus Leeming  <leeming@lyx.org>
1530
1531         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1532         it to communicate with the frontend dialogs.
1533
1534 2003-03-05  Angus Leeming  <leeming@lyx.org>
1535
1536         * insetcollapsable.C (draw): cache the BufferView.
1537
1538         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1539         it to communicate with the frontend dialogs.
1540
1541 2003-03-05  Angus Leeming  <leeming@lyx.org>
1542
1543         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1544         struct.
1545
1546 2003-03-05  Angus Leeming  <leeming@lyx.org>
1547
1548         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1549
1550         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1551         it to communicate with the frontend dialogs.
1552
1553 2003-03-05  Angus Leeming  <leeming@lyx.org>
1554
1555         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1556         it to communicate with the frontend dialogs.
1557
1558 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * insettext.C (collapseParagraphs): adjust
1561         (appendParagraphs): make it take a Buffer* instead of a
1562         BufferParams& as arg.
1563         (appendParagraphs): adjust
1564
1565 2003-03-04  Angus Leeming  <leeming@lyx.org>
1566
1567         * insetbibitem.C (localDispatch):
1568         * insetbibtex.C (localDispatch):
1569         * insetcommand.C (localDispatch):
1570         * insetert.C (localDispatch):
1571         * insetlabel.C (localDispatch):
1572         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1573
1574 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * insettext.C (latex): adjust for ParagraphList::iterator
1577
1578 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * insetbutton.C (view): adjust for boost 1.30.0
1581         * insetcollapsable.C (view): ditto
1582         * insetgraphics.C (statusChanged): ditto
1583
1584         * insettext.h: move paragraphs to be public.
1585
1586 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1587
1588         * insetnote.[Ch] (InsetNote): remove unused constructor
1589
1590 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
1591
1592         * insetgraphics.C: added include "format.h"
1593
1594 2003-02-27  Angus Leeming  <leeming@lyx.org>
1595
1596         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1597         thingy.
1598
1599 2003-02-27  Angus Leeming  <leeming@lyx.org>
1600
1601         * insetbibitem.C (localDispatch):
1602         * insetbibtex.C (localDispatch):
1603         * insetcommand.C:
1604         * insetert:
1605         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1606
1607 2003-02-26  Angus Leeming  <leeming@lyx.org>
1608
1609         * insetbibitem.[Ch] (localDispatch):
1610         * insetbibtex.[Ch] (localDispatch):
1611         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1612
1613         * insetcommand.C (localDispatch):
1614         act only on receipt of LFUN_XYZ_APPLY.
1615
1616         * insetert.C (localDispatch): reformat.
1617         add LFUN_XYZ_APPLY to the switch.
1618
1619 2003-02-26  John Levon  <levon@movementarian.org>
1620
1621         * insettext.C: use RowPainter
1622
1623         * inset.h: make helpers take const *
1624
1625 2003-02-26  Angus Leeming  <leeming@lyx.org>
1626
1627         * insetcommand.[Ch] (localDispatch): new method.
1628
1629 2003-02-26  Angus Leeming  <leeming@lyx.org>
1630
1631         * insetinclude.C (draw): cache the BufferView* using cache not
1632         PreviewImpl::setView
1633
1634 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
1635
1636         * insetgraphics.C (draw)
1637         * insetinclude.C (draw): Eliminate also the other argument (owner
1638         inset inset) in the call to PreviewImage::image
1639
1640 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1641
1642         * insetgraphics.C (draw)
1643         * insetinclude.C (draw): Eliminate Buferview argument in call to
1644         PreviewImage::image
1645
1646 2003-02-25  John Levon  <levon@movementarian.org>
1647
1648         * insetgraphicsParams.h:
1649         * insetgraphics.C: don't start a load process if
1650           the inset is set to NoDisplay (bug #920)
1651
1652 2003-02-22  John Levon  <levon@movementarian.org>
1653
1654         * insetfloat.C:
1655         * insetwrap.C: TocItem changed API (bug 913)
1656
1657 2003-02-21  Angus Leeming  <leeming@lyx.org>
1658
1659         * insetcollapsable.[Ch] (cache, edit):
1660         * insetbutton.[Ch] (cache, edit): new methods to cache the
1661         BufferView in the draw method.
1662
1663         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1664         simplify comunication between InsetCommand-derived classes and
1665         the Dialogs.
1666
1667         * insetbibitem.[Ch]:
1668         * insetbibtex.[Ch]:
1669         * insetcite.[Ch]:
1670         * inseterror.[Ch]:
1671         * insetfloatlist.[Ch]:
1672         * insetindex.[Ch]:
1673         * insetref.[Ch]:
1674         * insettoc.[Ch]:
1675         * inseturl.[Ch]: small changes to reflect the new interface to the
1676         Dialogs code.
1677
1678         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1679         other, similar classes.
1680
1681         * Makefile.am: add new files.
1682
1683 2003-02-21  Angus Leeming  <leeming@lyx.org>
1684
1685         * updatableinset.h (setView, view): remove.
1686         * inset.h (view, cache): to be replaced by these.
1687
1688         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
1689         insetbibtex.[Ch]:
1690
1691         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
1692         insetbibtex.[Ch].
1693
1694         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
1695
1696 2003-02-21  Allan Rae  <rae@lyx.org>
1697
1698         * insetinclude.C (loadIfNeeded): ensure loading also works when
1699         child document is under version control.
1700
1701 2003-02-17  André Pönitz <poenitz@gmx.net>
1702
1703         * insetbib.[Ch]: Adjust access to bibkeys
1704
1705 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1706
1707         * insetquotes.C (dispString): remove use of acute accent for "'"
1708         right quote.
1709
1710 2003-02-14  John Levon  <levon@movementarian.org>
1711
1712         * insettabular.C: changed method names in tabular.C
1713
1714 2003-02-14  John Levon  <levon@movementarian.org>
1715
1716         * inset.h:
1717         * inset.C:
1718         * insetcollapsable.h:
1719         * insetcollapsable.C:
1720         * insettabular.h:
1721         * insettabular.C:
1722         * insettext.h:
1723         * insettext.C: remove unused getParFromID()
1724
1725 2003-02-13  John Levon  <levon@movementarian.org>
1726
1727         * insettext.h:
1728         * insettext.C: remove unused beginningofMainBody()
1729
1730 2003-02-08  John Levon  <levon@movementarian.org>
1731
1732         * inset.h:
1733         * inset.C:
1734         * insetcollapsable.h:
1735         * insetcollapsable.C:
1736         * insettabular.h:
1737         * insettabular.C:
1738         * insettext.h:
1739         * insettext.C:
1740           add nextChange(). Make allowSpellcheck() const. Add markErased().
1741
1742         * insetert.C: ignore deleted text
1743
1744         * insettabular.C: make sure to keep change  tracking working
1745           properly.
1746
1747 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
1748
1749         * insetert.C:
1750         * insetgraphics.C:
1751         * insettabular.C:
1752         * insettext.C: Use error messages with identical spelling and punctuation
1753
1754 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
1755
1756         * insetgraphics.C (draw, width): Fix spacing around graphics inset
1757
1758 2002-12-17  Juergen Vigna  <jug@lyx.org>
1759
1760         * insettext.C (localDispatch): hopefully fixed cursor up down
1761         movement on leaving other insets.
1762
1763 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
1764
1765         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1766         and the like.
1767
1768 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1769
1770         * insetgraphics.C (prepareFile): do not remove the extension of
1771         the file name if it is not the default extension for the given
1772         format (that is, in latex output, remove extension from foo.eps,
1773         but not from foo.epsi)
1774
1775 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
1776
1777         * insettext.C (lfunMouseRelease): hackish solution to the "double
1778         menu open" bug
1779
1780 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1781
1782         * insetfloat.C (addToToc): use the floats name not its type
1783         * insetwrap.C (addToToc): ditto
1784
1785 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1786
1787         * insetnote.C (init): make label font smaller
1788
1789 2002-12-04  John Levon  <levon@movementarian.org>
1790
1791         * insetinclude.C: ressurect setting of command name
1792
1793 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1794
1795         * insetquotes.C (dispString): disambiguate insert call
1796
1797 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * several files: ws changes
1800
1801 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1802
1803         * insetquotes.C (dispString): use string::insert for prepending a
1804         char.
1805
1806 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1807
1808         * insetparent.C (getScreenLabel): use boost::format
1809
1810         * insetgraphics.C (prepareFile): use boost::format
1811         (ascii): ditto
1812
1813         * insetfloatlist.C (latex): use boost::format
1814
1815         * insetcaption.C (draw): use boost::format
1816
1817 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
1818
1819         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1820         columns.
1821
1822 2002-11-20  Juergen Vigna  <jug@sad.it>
1823
1824         * insettabular.C (resetPos): temporary fix for endless loop in
1825         this function on a redraw.
1826
1827 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * insettabular.C (copySelection): STRCONV
1830
1831         * insetinclude.C (uniqueID): STRCONV
1832         (latexString): ditto
1833
1834         * insetgraphics.C: put VersionNumber inside anon namespace
1835         (createLatexOptions): STRCONV
1836
1837         * insetcommandparams.C: include config.h
1838
1839 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
1840
1841         * insetgraphicsParams.C (Write): use lyx::float_equal.
1842         Write height data correctly.
1843         (Read): zero scale when reading height data.
1844
1845 2002-10-30  John Levon  <levon@movementarian.org>
1846
1847         * insetfloat.C (addToTOC): recursively traverse all
1848           contents looking for captions (fix #568)
1849
1850 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1851
1852         * insetexternal.C (doSubstitution): do not try to replace
1853         environment variables, this is done when executing the command
1854
1855 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1856
1857         * insetexternal.C (doSubstitution): change order of substitution
1858         to work around ReplaceEnvironmentPath brokenness
1859
1860 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
1861
1862         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1863
1864         * insetgraphicsParams.C (init, Write): associated changes
1865         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1866         InsetGraphicsParams::scale.
1867
1868 2002-10-21  John Levon  <levon@movementarian.org>
1869
1870         * inset.h: remove unused DISPATCH_RESULT
1871
1872         * insettext.C: sgml open/close tag now in sgml namespace
1873
1874 2002-10-21  Angus Leeming  <leeming@lyx.org>
1875
1876         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1877         file path subdir/fig.eps when pasting it into a buffer in a different
1878         directory.
1879
1880 2002-10-16  John Levon  <levon@movementarian.org>
1881
1882         * insetspecialchar.C: remove \\protected_separator parsing
1883
1884 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1885
1886         * insetquote.C: fix LaTeX output of quotation marks.
1887
1888 2002-10-14  Juergen Vigna  <jug@sad.it>
1889
1890         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1891         Backspace functions which confused the Undo handling.
1892
1893 2002-10-09  Angus Leeming  <leeming@lyx.org>
1894
1895         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1896         BufferView::dispatch that turns off this optimisation when a new inset
1897         is inserted.
1898
1899         * insetcite.C (getNatbibLabel): correct logic of when and when not to
1900         reload the BibTeX keys.
1901
1902 2002-10-11  André Pönitz <poenitz@gmx.net>
1903
1904         * insettext.h: handle LFUN_PRIOR/NEXT
1905
1906 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
1907
1908         * insetfloat.C: fix bug with float settings
1909         (document default != float default).
1910
1911 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
1912
1913         * insetwrap.C (addToToc): New method.
1914         (InsetWrap): Set layout to caption.
1915
1916 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1919
1920 2002-09-16  John Levon  <levon@movementarian.org>
1921
1922         * insettabular.h: hasSelection() needs to be public
1923
1924 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
1925
1926         * insetgraphicsParams.C: use empty string as default for rotateOrigin
1927
1928 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1929
1930         * insetgraphicsParams.C: use empty string as default for rotateOrigin
1931
1932 2002-09-11  André Pönitz <poenitz@gmx.net>
1933
1934         * insettabular.C: implement LFUN_WORDSEL
1935
1936 2002-09-10  John Levon  <levon@movementarian.org>
1937
1938         * insetinclude.h: remove unused param
1939
1940 2002-09-09  John Levon  <levon@movementarian.org>
1941
1942         * insetinclude.h:
1943         * insetinclude.C: remove noload, default to input
1944
1945 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
1946
1947         * insetgraphics.C: disfuscated use of ']' in built output string.
1948
1949 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1950
1951         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1952
1953 2002-08-29  Juergen Vigna  <jug@sad.it>
1954
1955         * insettabular.C (lfunMousePress): Pay attention where you set
1956         the x/y values as they depend on which inset in the tabular is
1957         actually locked. So you surely have to reset them if you (un)lock
1958         a inset!
1959
1960 2002-08-29  André Pönitz <poenitz@gmx.net>
1961
1962         * insetfootlike.h: rename include guard to ALL CAPS
1963
1964         * insettext.C: swap object and first parameter for checkInsetHit calls
1965           as this functions has moved from BufferView to LyXText
1966
1967
1968 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
1969
1970         * insetgraphicsParams.C: remove local displayTranslator and use
1971         the one from graphics/GraphicsTypes.h.
1972
1973 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1974
1975         * insetfloat.C (wide): add BufferParams parameter
1976
1977         * insetfloatlist.C (read):
1978         (latex):
1979         (getScreenLabel):
1980         * insetfloat.C (latex):
1981         (floatname):
1982         * insetcaption.C (draw): use LyXTextClass::floats()
1983
1984 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1985
1986         * insetoptarg.h: add std:: qualifier.
1987
1988 2002-08-26  Juergen Vigna  <jug@sad.it>
1989
1990         * insettext.C (localDispatch): ditto.
1991
1992         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1993
1994 2002-08-25  John Levon  <levon@movementarian.org>
1995
1996         * inseturl.C: elide long URLs (bug 404)
1997
1998 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
1999
2000         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2001         remove "Format Version <version_no.>" string from inset header
2002
2003         * insetgraphics.C:
2004         * insetgraphicsParams.[Ch]: Implement new graphics dialog
2005
2006         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2007         a member of "grfx::Params" anymore.
2008
2009         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2010
2011 2002-08-24  John Levon  <levon@movementarian.org>
2012
2013         * insetoptarg.h:
2014         * insetoptarg.C: ws, pedantry ...
2015
2016 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2017
2018         * insettext.C (collapseParagraphs): pasteParagraph now in global
2019         scope
2020         (appendParagraphs): ditto
2021
2022 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
2023
2024         * insetcite.C (latex): Remove spaces only after commmas.
2025
2026 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * insettext.C: remove NO_COMPABILITY stuff
2029
2030 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * insettext.C (edit): use ParagraphList iterators
2033
2034         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2035         (bibitemWidest): ditto
2036
2037 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * insettext.C: include <boost/bind.hpp>
2040         add using std::for_each
2041         (saveLyXTextState): use ParagraphsList::iterator
2042         (init): use for_each on paragraphlist iterators
2043         (InsetText): remove superflous setting cached_bview to 0
2044         (latex): reformat a bit
2045         (ascii): use paragraphlist iterators
2046         (validate): use for_each + boost bind
2047         (getLabelList): use paragraphlist iterators
2048         (deleteLyXText): use for_each + boost::bind
2049         (resizeLyXText): ditto
2050         (reinitLyXText): ditto
2051         (removeNewlines): use paragraphlist iterators
2052         (getParFromID): ditto
2053         (paragraph): use for_each + boost::bind
2054         (getInsetFromID): use paragraphlist iterators
2055         (getLabelList): typo fix
2056
2057 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * insettext.C (read): assign tmp to paragraphs after return from
2060         call to parseSingleLyXformat2Token
2061
2062
2063 2002-08-13  Angus Leeming  <leeming@lyx.org>
2064
2065         * insetbib.C:
2066         * insetcite.C:
2067         * inseterror.C:
2068         * insetert.C:
2069         * insetexternal.C:
2070         * insetfloat.C:
2071         * insetfloatlist.C:
2072         * insetgraphics.C:
2073         * insetinclude.C:
2074         * insetindex.C:
2075         * insetminipage.C:
2076         * insetparent.C:
2077         * insetref.C:
2078         * insettabular.C:
2079         * insettext.C:
2080         * insettoc.C:
2081         * inseturl.C:
2082         changes due to the changed LyXView interface that now returns references
2083         to member variables not pointers.
2084
2085 2002-08-13  Angus Leeming  <leeming@lyx.org>
2086
2087         * inset.h:
2088         * insetcollapsable.h:
2089         * insetert.h:
2090         * insettabular.h:
2091         * insettext.h: forward-declare WordLangTuple
2092         (selectNextWordToSpellcheck) constify return type.
2093
2094         * inset.C:
2095         * insetcollapsable.C:
2096         * insetert.C:
2097         * insettabular.C:
2098         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2099
2100 2002-08-12  Angus Leeming  <leeming@lyx.org>
2101
2102         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2103
2104 2002-08-12  Juergen Vigna  <jug@sad.it>
2105
2106         * insetcollapsable.C (edit): ignore if entered when pressing mouse
2107         button 3.
2108
2109 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2110
2111         * insetbib.C (bibitemMaxWidth): ParagraphList changes
2112         (bibitemWidest): ditto
2113         * insettext.[Ch]: ditto
2114
2115 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * insettext.C, insetert.C: use Paragraph::empty where appropriate
2118
2119 2002-08-09  Angus Leeming  <leeming@lyx.org>
2120
2121         * insetinclude.C (latexString): remove fudge now that I've found out
2122         how to enable LaTeX to find the file using input@path.
2123
2124 2002-08-09  John Levon  <levon@movementarian.org>
2125
2126         * insettext.h:
2127         * insettext.C: remove unused xpos
2128
2129 2002-08-07  Juergen Vigna  <jug@lyx.org>
2130
2131         * insettabular.C (localDispatch): make delete not put the stuff
2132         in the clipboard only do this on a cut operation.
2133
2134         * insettext.C (localDispatch): make delete and backspace not put
2135         selected stuff to the clipboard.
2136
2137 2002-08-07  André Pönitz <poenitz@gmx.net>
2138
2139         * inset.[Ch]:
2140         * insetcollapsable.[Ch]:
2141         * insetert.[Ch]:
2142         * insetparent.[Ch]:
2143         * insetref.[Ch]:
2144         * insettabular.[Ch]:
2145         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
2146
2147 2002-08-06  John Levon  <levon@movementarian.org>
2148
2149         * inset.h:
2150         * inset.C:
2151         * insetcollapsable.h:
2152         * insetcollapsable.C:
2153         * insetert.h:
2154         * insetert.C:
2155         * insettabular.h:
2156         * insettabular.C:
2157         * insettext.h:
2158         * insettext.C: use WordLangTuple for spellcheck
2159
2160 2002-08-06  Angus Leeming  <leeming@lyx.org>
2161
2162         * insetinclude.C: add a monitor to the previewed image, so that the
2163         image is refreshed if the \input-ed file changes.
2164
2165 2002-08-04  John Levon  <levon@movementarian.org>
2166
2167         * inset.h:
2168         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2169
2170 2002-08-02  Angus Leeming  <leeming@lyx.org>
2171
2172         * insetcommandparams.[Ch] (preview): new methods returning and setting
2173         a new bool preview_ flag.
2174         (read): read this flag.
2175         (operator==): add flag to check.
2176
2177         * insetinclude.C (write): output new preview() flag.
2178         (previewWanted): use this flag.
2179
2180 2002-08-02  Angus Leeming  <leeming@lyx.org>
2181
2182         * insetcollapsable.[Ch] (addPreview):
2183         * insettabular.[Ch] (addPreview):
2184         * insettext.[Ch] (addPreview): new methods. Can now generate previews
2185         for insets in insets.
2186
2187 2002-08-02  Angus Leeming  <leeming@lyx.org>
2188
2189         * insetcite.C: fix typo.
2190
2191         * insetgraphics.C: kill current_view and instead cache the BufferView
2192         as a weak_ptr.
2193
2194         * insetinclude.C: kill current_view and pass the BufferView to the
2195         PreviewedInset so that it can cache it.
2196
2197 2002-08-01  Angus Leeming  <leeming@lyx.org>
2198
2199         * inset.h (generatePreview): renamed as addPreview.
2200         (generatePreview): new method. Allows code to be moved out of
2201         math_nestinset.C and into the new PreviewedInset class.
2202
2203         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2204         add previews to the inset when \input-ing LaTeX.
2205
2206 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * several files: strip,frontStrip -> trim,ltrim,rtrim
2209
2210 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2211
2212         * insetbib.C (latex): modify because of strip changes
2213         (getKeys): ditto
2214         * insetnote.C (InsetNote): ditto
2215
2216 2002-07-26  Juergen Vigna  <jug@sad.it>
2217
2218         * insettabular.C (searchForward): check for lastcell if we
2219         had a locking inset.
2220
2221 2002-07-25  Juergen Vigna  <jug@sad.it>
2222
2223         * insettabular.C (insetMotionNotify): Don't update the screen
2224         if we didn't do nothing.
2225         (searchForward): last cell was not checked.
2226
2227 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2228
2229         * insetfloat.C (read, write): Allow default placement
2230         (floatPlacement_ is empty).
2231
2232 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2233
2234         * insetminipage.h (noFontChange):
2235         * insettabular.h (noFontChange):
2236         * insetfootlike.h (noFontChange):
2237         * insetfloat.h (noFontChange): return true
2238
2239         * inset.h (noFontChange): new method, defaulting to false
2240
2241 2002-07-22  Herbert Voss  <voss@lyx.org>
2242
2243         * insetgraphicsParams.[Ch]: support size_type for old docs
2244
2245 2002-07-22  Herbert Voss  <voss@lyx.org>
2246
2247         * insetgraphics.C:
2248         * insetgraphicsParams.[Ch]: change size_type to size_kind and
2249         other small changes
2250
2251 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2252
2253         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2254
2255         * insetlatexaccent.h: do not include "lyxlex.h"
2256
2257         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2258
2259         * insetquotes.C:
2260         * insetlatexaccent.C:
2261         * insetgraphics.C:
2262         * insetexternal.C:
2263         * insetert.C:
2264         * insetbib.C: #include "lyxlex.h"
2265
2266         * insetinclude.C:
2267         * insetfloat.C:
2268         * insetert.C:
2269         * insetbib.C:
2270         * insettext.C: use BufferParams::getLyXTextClass
2271
2272
2273         * insetfloat.C (addToToc): new method. Add to toclist the entries
2274         corresponding to Caption layouts
2275         (InsetFloat): when creating a new float, set the layout to "Caption"
2276
2277 2002-07-21  Herbert Voss  <voss@lyx.org>
2278
2279         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2280         image relevant part into graphics/GraphicsImgae.C
2281
2282 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2283
2284         * insettoc.C (ascii):
2285         * insetfloatlist.C (ascii): change to use the new Toc functions
2286         instead of stuff that was in Buffer
2287
2288 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2289
2290         * insettext.C (localDispatch): BufferView::Dispatch has been
2291         renamed to BufferView::dispatch
2292
2293 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2294
2295         * insetgraphicsParams.C (as_grfxParams): use the new
2296         keepLyXAspectRatio parameter. Note that this is an adaptation of a
2297         1.2.0 patch, and I do not really know how to adapt it to the new
2298         grfx::Cache world. Angus, please could you have a look?
2299
2300 2002-05-01  Herbert Voss  <voss@lyx.org>
2301
2302         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2303
2304 2002-07-18  Angus Leeming  <leeming@lyx.org>
2305
2306         * insetgraphics.C: clean-up comments (from Herbert).
2307         add a new checksum variable to the cache. Use it in PrepareFile.
2308         (draw): start monitoring the file for a change.
2309         (prepareFile): re-arrange a little to avoid unnecessary steps.
2310
2311 2002-07-17  Angus Leeming  <leeming@lyx.org>
2312
2313         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2314         a method rather than to the signal directly.
2315
2316 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2317
2318         * insettext.C: use view_state_changed, switchKeyMap
2319
2320 2002-07-17  Herbert Voss  <voss@perce.de>
2321
2322         * insetgraphics.C (prepareFile): keep the extension when
2323         exporting to nice file
2324
2325 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2326
2327         * insetcite.C (getNatbibLabel):
2328         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2329
2330 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
2331
2332         * insetgraphics.C: use ->isDrawable()
2333
2334 2002-07-12  Angus Leeming  <leeming@lyx.org>
2335
2336         * insetgraphics.C: use the new smart loading capabilities of the image
2337         loader.
2338
2339 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
2340
2341         * insettabular.C (edit): Move into correct cell when entering a
2342         tabular in
2343
2344         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2345         RTL paragraphs.
2346
2347 2002-07-05  Angus Leeming  <leeming@lyx.org>
2348
2349         * inset.h (generatePreview): new virtual method.
2350
2351 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2352
2353         * insetcommandparams.[Ch] (operator=): move out of class
2354         (operator!): move out of class
2355
2356 2002-07-04  André Pönitz <poenitz@gmx.net>
2357
2358         * insetcommandparams.[Ch]: new files
2359
2360         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2361
2362 2002-06-15  Herbert Voss  <voss@perce.de>
2363
2364         * insetgraphics.C (prepareFile): bugfix; return always
2365         files without extension
2366
2367 2002-06-28  Angus Leeming  <leeming@lyx.org>
2368
2369         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2370         rename asGParams -> as_grfxParams.
2371
2372         * insetgraphics.C: reflect above change.
2373
2374 2002-06-26  Angus Leeming  <leeming@lyx.org>
2375
2376         * insetgraphics.h: use boost::scoped_ptr in preference to
2377         std::auto_ptr.
2378
2379 2002-06-26  Angus Leeming  <leeming@lyx.org>
2380
2381         * insetgraphics.C: moved the image loading stuff into a new class
2382         grfx::Loader. Simplifies this file enormously.
2383
2384         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2385
2386         * insetgraphicsParams.C: changes aassociated with moving
2387         grfx::DisplayType out of grfx::GParams.
2388
2389 2002-06-26  André Pönitz <poenitz@gmx.net>
2390
2391         * insetgraphics.C: use os::external_path where necesaary according to a
2392         patch from Claus Hentschel)
2393
2394 2002-06-25  Angus Leeming  <leeming@lyx.org>
2395
2396         * insetgraphics.[Ch]: The inset now assumes the responsibility for
2397         generating a pixmap once the graphics file is loaded into memory.
2398         The current_view ugliness that was in grfx::ModifiedImage has been
2399         moved here now that grfx::ModifiedImage is no more.
2400
2401 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2402
2403         * insettext.C: layout as layout
2404
2405 2002-05-28  André Pönitz <poenitz@gmx.net>
2406
2407         * insetfloatlist.h: remove source of compiler warning
2408
2409         * insetref.C: tiny whitespace
2410
2411 2002-06-15  Herbert Voss  <voss@perce.de>
2412
2413         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2414         and take always convert when no userdefined converter was
2415         found
2416         (latex) small changes in the lyxerr output
2417
2418 2002-06-15  LyX Development team <lyx@rilke>
2419
2420         * inset*.[Ch] (docbook): Added new argument to take the pernicious
2421         mixed content. Small white spaces clean.
2422
2423 2002-06-14  Angus Leeming  <leeming@lyx.org>
2424
2425         * inseetexternal.C: remove the using std::difftime declaration.
2426
2427 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
2428
2429         * insetquotes.C: change lyxfont::draw to font_metrics::draw
2430
2431 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
2432
2433         * insetquotes.C (draw): fix drawing of double quotes
2434
2435 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2436
2437         * insettabular.C: s/scrollCB/scrollDocView/
2438
2439 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2440
2441         * insettext.C: change of topCursorVisible()
2442           prototype
2443
2444 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2445
2446         * insettext.h:
2447         * insettext.C: rename/change of LyXScreen
2448
2449 2002-06-07  Angus Leeming  <leeming@lyx.org>
2450
2451         Fixes needed to compile with Compaq cxx 6.5.
2452         * insetexternal.C:
2453         all c-library variables have been moved into namespace std.
2454         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2455
2456 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2457
2458         * insetinclude.C (uniqueID):
2459         * insetgraphics.C (uniqueID): renamed from unique_id, since this
2460         conflicted with some AIX headers.
2461
2462 2002-05-31  Juergen Vigna  <jug@sad.it>
2463
2464         * insetert.C (get_new_label): add '...' for multi-paragraph ert
2465         insets too
2466         (update) new method
2467
2468 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2469
2470         * insetexternal.C (clone): fix () bug when using new
2471         (updateExternal): don't only look for difftime in global scope
2472
2473 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
2474
2475         * insettabular.C: add const
2476
2477 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2478
2479         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2480         file name, in case there are weird characters like ',' in there.
2481         (bug #407)
2482
2483 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2484
2485         * switch from SigC signals to boost::signals.
2486
2487 2002-05-28  André Pönitz <poenitz@gmx.net>
2488
2489         * insets/insetgraphicsParams.[Ch]:
2490           put in inset related stuff from src/graphic
2491
2492 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2493
2494         * inset.C:
2495         * inset.h:
2496         * insetbib.C:
2497         * insetbib.h:
2498         * insetcite.h:
2499         * insetcite.C:
2500         * insetcollapsable.C:
2501         * insetcollapsable.h:
2502         * inseterror.C:
2503         * inseterror.h:
2504         * insetert.C:
2505         * insetert.h:
2506         * insetexternal.C:
2507         * insetexternal.h:
2508         * insetfloatlist.C:
2509         * insetfloatlist.h:
2510         * insetgraphics.C:
2511         * insetgraphics.h:
2512         * insetinclude.C:
2513         * insetinclude.h:
2514         * insetindex.C:
2515         * insetindex.h:
2516         * insetlabel.C:
2517         * insetlabel.h:
2518         * insetparent.C:
2519         * insetparent.h:
2520         * insetref.C:
2521         * insetref.h:
2522         * insettabular.C:
2523         * insettabular.h:
2524         * insettext.C:
2525         * insettext.h:
2526         * insettoc.C:
2527         * insettoc.h:
2528         * inseturl.C:
2529         * inseturl.h: use mouse_state. Kill insetKeyPress
2530
2531 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
2532
2533         * insetbib.C:
2534         * insetbutton.C:
2535         * insetcaption.C:
2536         * insetcollapsable.C:
2537         * inseterror.C:
2538         * insetgraphics.C:
2539         * insetlatexaccent.C:
2540         * insetquotes.C:
2541         * insetspecialchar.C:
2542         * insettabular.C:
2543         * insettext.C: name change for font metrics
2544
2545 2002-05-24  Juergen Vigna  <jug@sad.it>
2546
2547         * insetgraphics.h: include inset.h first (for LString.h)
2548
2549 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2550
2551         * insettext.C: screen moved
2552
2553 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2554
2555         * insetbib.C:
2556         * insetcite.C:
2557         * inseterror.C:
2558         * insetert.C:
2559         * insetexternal.C:
2560         * insetfloat.C:
2561         * insetfloatlist.C:
2562         * insetgraphics.C:
2563         * insetinclude.C:
2564         * insetindex.C:
2565         * insetminipage.C:
2566         * insetparent.C:
2567         * insetref.C:
2568         * insettabular.C:
2569         * insettext.C:
2570         * insettoc.C:
2571         * inseturl.C: LyXView moved into frontends/
2572
2573 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2574
2575         * inset.C:
2576         * insetbutton.C:
2577         * insetcaption.C:
2578         * insetcollapsable.C:
2579         * insetcommand.C:
2580         * inseterror.C:
2581         * insetgraphics.C:
2582         * insetgraphicsParams.C:
2583         * insetlatexaccent.C:
2584         * insetquotes.C:
2585         * insetspecialchar.C:
2586         * insettabular.C:
2587         * insettext.C: move Painter to frontends/
2588
2589 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2590
2591         * insettabular.h: use more specific smart_ptr header.
2592         * insettext.h: ditto
2593
2594         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2595         (draw): ditto
2596
2597 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
2598
2599         * insettext.C: clear selection on paste (bug 393)
2600
2601 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
2602
2603         * insettext.C (latex): Honor the moving_arg argument.
2604
2605 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2606
2607         * insetfoot.C (latex): if a footnote is in a title layout, then it
2608         is a \thanks. And then, its contents is a moving argument.
2609
2610 2002-05-14  Juergen Vigna  <jug@sad.it>
2611
2612         * insetcollapsable.C (InsetCollapsable): forgot to initialize
2613         first_after_edit.
2614
2615 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
2616
2617         * Insetcite.C (getNatbibLabel): don't disable natbib label support
2618         when using options "Full author list" or "Upper case".
2619
2620 2002-05-14  Herbert Voss  <voss@perce.de>
2621
2622         * insetgraphics.C (prepareFile): allow files with same name
2623         in different dirs
2624         (readFigInset): set the flags from old figinset in the right
2625         manner
2626         (findTargetFormat): more comments
2627
2628 2002-05-14  Juergen Vigna  <jug@sad.it>
2629
2630         * insettext.C (edit): tell checkAndActivateInset() that we don't
2631         have a button press.
2632         (checkAndActivateInset): if button < 0 we don't have a button press
2633         on the inset and os we won't call edit on it if it's not a Highly
2634         editable inset (then we have to enter it).
2635
2636 2002-05-13  Juergen Vigna  <jug@sad.it>
2637
2638         * insetcollapsable.C (insetButtonRelease): returned wrong return
2639         value.
2640
2641 2002-05-09  Juergen Vigna  <jug@sad.it>
2642
2643         * insetcollapsable.C (edit): first_after_edit should only be
2644         set to true if we enter this inset and it was collapsed so we
2645         open it up. This is needed to reclose it after a search/replace
2646         or spellcheck function opened it and was negative.
2647
2648 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
2649
2650         * insetfloat.C (latex): Return correct value.
2651
2652 2002-05-04  Herbert Voss  <voss@perce.de>
2653
2654         * InsetgraphicsParams.C (read): fix bug with WH
2655
2656 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
2657
2658         * insetfloat.C (latex): More sensible latex output
2659         (fix the problem with endfloat).
2660
2661 2002-05-02  José Matos  <jamatos@fep.up.pt>
2662
2663         * insetgraphics.C (validate): acess params as everyone else.
2664
2665 2002-05-03  Juergen Vigna  <jug@sad.it>
2666
2667         * insettabular.C (fitInsetCursor): recalculate the cursor position
2668         if I request it.
2669
2670 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
2671
2672         * InsetgraphicsParams.[Ch]: whitespace.
2673
2674 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
2675
2676         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2677         float type do not exist.
2678
2679 2002-04-28  Herbert Voss  <voss@perce.de>
2680
2681         * insetgraphics.C (latex): fix bug with missing file-extension.
2682         LaTeX still allows a missing "eps" or "ps".
2683
2684 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2685
2686         * insetfloat.C (c-tor, wide): translate the name of the float.
2687
2688 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
2689
2690         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
2691         when using natbib and make it work efficiently. Must emphasise that the
2692         real work is Herbert's.
2693
2694 2002-04-23  Herbert Voss  <voss@perce.de>
2695
2696         * insetgraphic.C (prepareFile): fix bug with overwriting and
2697         deleting an existing *.eps-file in the doc-dir
2698
2699 2002-04-23  Juergen Vigna  <jug@sad.it>
2700
2701         * insettabular.C (drawCellSelection): fix off by 1 error.
2702
2703 2002-04-22  Juergen Vigna  <jug@sad.it>
2704
2705         * insettabular.C (setFont): rewoke full selection if it was asked,
2706         after we changed all we had to change.
2707
2708         * insettext.C (insetUnlock): code was uninitialized in some situations.
2709
2710 2002-04-19  Herbert Voss  <voss@perce.de>
2711
2712         * insetgraphic.C (prepareFile): return filename without
2713         extension if we only export without compiling
2714
2715 2002-04-19  Juergen Vigna  <jug@sad.it>
2716
2717         * insettext.C (draw): call a fullRebreak on the row where we had a
2718         change and reset the cursor and selection-cursors.
2719
2720         * insettabular.C (insetUnlock):
2721         (insetButtonPress): call an update before setting the_locking_inset = 0
2722         as otherwise we don't repaint!
2723         (update): reset the cursor position when we changed dimensions as
2724         otherwise our cursor may be on the wrong spot.
2725
2726 2002-04-18  Juergen Vigna  <jug@sad.it>
2727
2728         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
2729         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
2730         redraw otherwise we won't redraw.
2731
2732         * insettext.C (draw): fixed the setting of LyXText::first_y it was
2733         not really right before, but I only discovered this with the last
2734         changes to Page up/down.
2735
2736 2002-04-17  Juergen Vigna  <jug@sad.it>
2737
2738         * insettext.C (checkAndActivateInset): simplified as we now have the
2739         edit(bv, bool) call.
2740
2741         * insettext.h: changed behind variables to front variables to be
2742         equal to the one in the edit call (as it is for that they are used).
2743
2744 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2745
2746         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
2747         not output anything at all!
2748
2749 2002-04-16  Juergen Vigna  <jug@sad.it>
2750
2751         * insettabular.C (insetButtonPress):
2752         (insetUnlock): call a redraw on unlocking the cell inset.
2753
2754         * insettext.C (insetButtonPress): same as below.
2755         (lockInset): new function to set initial values when inset should
2756         be locked.
2757         (insetButtonPress): use above function.
2758         (insetUnlock): don't force a repaint only set the updateStatus. The
2759         outside world should repaint if it thinks it should be done!
2760
2761         * insettabular.C (insetButtonPress): init values if not set as locked
2762         as we are locked if someone presses on us and don't call the edit()
2763         call of the InsetText to lock it do it as BufferView does it!
2764
2765         * inset.h (insetInInsetY): make func const and return an int.
2766         * insettext.C:
2767         * insettabular.C:
2768         * insetcollapsable.C: adapt the above changed function.
2769
2770 2002-04-15  Juergen Vigna  <jug@sad.it>
2771
2772         * insettext.C (getCursorPos): return relative position as to be able
2773         to give them directly to the edit() call.
2774         (edit): we have to set also x_fix as it is not set inside the
2775         setCursorFromCoordinates call!
2776         (insetMotionNotify): ditto.
2777
2778 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2779
2780         * insetbib.C (getKeys): strip leading '\t's from the line too.
2781         With thanks to Henry Pfister <hpfister@ucsd.edu>.
2782
2783 2002-04-12  Juergen Vigna  <jug@sad.it>
2784
2785         * insettext.h: added cix() helper function and use it where appropriate
2786
2787 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2788
2789         * insetgraphics.C (prepareFile): fix bug when graphics is a
2790         relative path
2791
2792 2002-04-12  Juergen Vigna  <jug@sad.it>
2793
2794         * insettext.C (insertInset): remove unneeded code!
2795         (updateLocal): fitCursor() fixes.
2796         (collapseParagraphs): fix a possible problem when having a selection
2797         and collapsing the paragraphs.
2798
2799 2002-04-08  Herbert Voss  <voss@perce.de>
2800
2801         * insetgraphic.C (write): write the rotating angle as
2802         a float as is. test only for != 0.0
2803
2804 2002-04-11  Juergen Vigna  <jug@sad.it>
2805
2806         * insettext.C: new function ciy() and use it for setting inset_y.
2807
2808         * insetert.C (draw): fix the x return for collapsed version.
2809
2810 2002-04-07  Herbert Voss  <voss@perce.de>
2811
2812         * insetgraphic.C (readFigInset): fix bug with subcaption and
2813         rotating
2814
2815 2002-04-08  Herbert Voss  <voss@lyx.org>
2816
2817         * insetgraphicsparam.C: forgot special option and delete old
2818         1.2.0 stuff
2819
2820 2002-04-05  Juergen Vigna  <jug@sad.it>
2821
2822         * insettext.C (localDispatch): make a CURSOR update if we inserted
2823         a character.
2824
2825 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2826
2827         * insetfloatlist.C (getScreenLabel):
2828         (latex): use Floating::listName
2829         (validate): new method
2830
2831 2002-04-03  José Matos  <jamatos@fep.up.pt>
2832
2833         * insetlabel.C (docbook): the anchor is an empty element in docbook.
2834
2835         * insetfoot.[Ch] (docbook): added forgotten method.
2836
2837 2002-04-03  Juergen Vigna  <jug@sad.it>
2838
2839         * insettext.C (insetButtonPress): fix insetButtonPress events the same
2840         way as in Bufferview_pimpl.
2841
2842 2002-04-03  Allan Rae  <rae@lyx.org>
2843
2844         * insetgraphics.C (latex): one % too many makes living on the bleeding
2845         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2846
2847 2002-03-28  Herbert Voss  <voss@lyx.org>
2848
2849         * insetgraphic.C (latex): simplify the code for the latex
2850         output when the file doesn't exist
2851
2852 2002-03-29  Juergen Vigna  <jug@sad.it>
2853
2854         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2855         unlocking inset.
2856
2857         * insettabular.C (edit): call fitCursor().
2858
2859         * insettext.C (insetButtonPress): change behaviour of no_selection
2860         to the one in the BufferView selection_possible and fix the spurious
2861         selection bug with it.
2862         (localDispatch): revoke selection on BREAK... functions.
2863
2864 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2865
2866         * insetfloatlist.C (getScreenLabel): translate the GUI label.
2867
2868 2002-03-28  Juergen Vigna  <jug@sad.it>
2869
2870         * insettabular.C (insetAllowed): return true as default value otherwise
2871         we're not able to insert insets inside paragraphs of an not locked
2872         insettext!
2873
2874 2002-03-27  Herbert Voss  <voss@lyx.org>
2875
2876         * insetgraphicsparam.C: change c%, p% to col%, page%
2877
2878 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2879
2880         * insetspecialchar.C (isLineSeparator): disable the nice code to
2881         allow linebreaks after hyphenation and menu separators.
2882
2883 2002-03-26  Herbert Voss  <voss@lyx.org>
2884
2885         * insetgraphics.C (figinsetRead): set the right lyxview
2886
2887 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
2888
2889         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2890         $\backslash$ and pass a "string const &" to the function.
2891         (prepareFile, latex): use Path rather than MakeAbsPath.
2892
2893 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
2894
2895         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2896         proper fix to the graphics cache.
2897         (latex): "really" nice output if the file is not found ;-)
2898
2899 2002-03-26  Juergen Vigna  <jug@sad.it>
2900
2901         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2902         (collapseParagraphs): fixed inserting of separator ' '
2903
2904         * insettabular.C (insertAsciiString): only check for buffer lenght
2905         not if we have \t or \n inside the buffer as if we don't have we only
2906         have 1 cell and that's it!
2907
2908         * insetert.C (close): don't collapse if inlined.
2909
2910 2002-03-25  Herbert Voss  <voss@lyx.org>
2911
2912         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
2913         graphics file does not exist.
2914
2915 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
2916
2917         * insetgraphics.C (prepareFile): ensure that the file has an absolute
2918         path when preparing export.
2919
2920         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2921         no longer MakeRelPath.
2922
2923 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
2924
2925         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2926         Used to determine the absolute path to the graphics file in the
2927         graphics cache and only in the graphics cache.
2928         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2929         make graphics file name absolute if it is stored as a relative path.
2930
2931         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2932         make graphics file name absolute if it is stored as a relative path.
2933
2934         * insettext.C (edit): emit an updateParagraph signal on entering a text
2935         inset. Needs to be emitted when leaving the inset also.
2936
2937 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2938
2939         * all files: ws cleanup
2940
2941         * Makefile.am: remove ld -r stuff
2942
2943 2002-03-21  Juergen Vigna  <jug@sad.it>
2944
2945         * insettext.C (appendParagraphs): new function added to append
2946         the paragraphs to this insets paragraphs.
2947
2948 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2949
2950         * Makefile.am: special rules if partial linking
2951
2952 2002-03-19  Juergen Vigna  <jug@sad.it>
2953
2954         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2955
2956 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
2957
2958         * insetgraphics.C: Clean up Baruch's comments a little.
2959         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2960
2961 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
2962
2963         * insettabular.C:
2964         * insettheorem.C: wrap warnings
2965
2966         * insetgraphics.C: improve messages, move cached_status_
2967           setting to safer place
2968
2969 2002-03-18  Juergen Vigna  <jug@sad.it>
2970
2971         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2972         calls.
2973         (localDispatch): ditto
2974
2975         * insettext.C (edit): removed unneeded showCursor calls.
2976         (localDispatch): ditto.
2977
2978 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2979
2980         * insetgraphics.h: remove display() method.
2981
2982 2002-03-11  Juergen Vigna  <jug@sad.it>
2983
2984         * insetgraphics.C (draw): hack to fix the redrawing bug.
2985         (draw): seems this fixes #268 (force redraw of row if we changed).
2986
2987         * insettext.C (updateInsetInInset): fixed for updates in insets inside
2988         this inset text (don't know why I missed this earlier).
2989
2990 2002-03-08  Juergen Vigna  <jug@sad.it>
2991
2992         * insettabular.C (updateLocal): do a FULL update if we're not locked
2993         and only a CELL update is asked.
2994
2995         * insettext.C (updateInsetInInset): update insets inside inset also
2996         if it isn't inside the_locking_inset.
2997
2998         * insettabular.C (updateInsetInInset): ditto.
2999
3000 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3001
3002         * insetexternal.C (doSubstitution): check whether we are using a
3003         temp dir for defining $$FPath
3004
3005 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
3006
3007         * insettabular.C:
3008         * insettext.C: remove #include "WorkArea.h".
3009
3010 2002-03-06  Juergen Vigna  <jug@sad.it>
3011
3012         * insettext.C (draw): fixed frame redrawing.
3013         (clear): forgot to set the inset_owner of the paragraph.
3014
3015         * insetert.C (status): pay attention the bv can be 0 here!
3016         (getMaxWidth): add the default leftMargin
3017
3018 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3019
3020         * insetert.C (getMaxWidth): make w unsigned int.
3021
3022 2002-03-05  Juergen Vigna  <jug@sad.it>
3023
3024         * insetert.C (status): change behaviour of Inlined.
3025         (getMaxWidth): added for new inlined behaviour.
3026
3027 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3028
3029         * insetnote.h (linuxdoc, docbook): add empty methods.
3030         * insetinclude.C (validate): fix a case where buffer->niceFile was used
3031         before being initialized.
3032
3033 2002-03-05  Juergen Vigna  <jug@sad.it>
3034
3035         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3036         only that one in the inset. Should be enough.
3037         (updateLocal): set the selection cursor always if we don't have a
3038         selection to be sure it's set!
3039
3040         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3041
3042 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3043
3044         * insettext.C (clear): a gross hack to set layout on a newly
3045         created paragraph.
3046
3047 2002-03-04  Juergen Vigna  <jug@sad.it>
3048
3049         * insettabular.C (localDispatch): inserted handling of
3050         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3051         (insertAsciiString): new helper function.
3052
3053 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3054
3055         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3056         argument.
3057
3058 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3059
3060         * insettext.C (InsetText): initalize newly created par with
3061         default layout. add bufferparams parameter
3062         first -> first_y
3063
3064         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3065         * insetcollapsable.[Ch] (InsetCollapsable): ditto
3066         * insetert.[Ch] (InsetERT): ditto
3067         * insetfloat.[Ch] (InsetFloat): ditto
3068         * insetfoot.[Ch] (InsetFoot): ditto
3069         * insetfootlike.[Ch] (InsetFootLike): ditto
3070         * insetmarginal.[Ch] (InsetMarginal): ditto
3071         * insetminipage.[Ch] (InsetMinipage): ditto
3072         * insetnote.[Ch] (InsetNote): ditto
3073         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3074
3075 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3076
3077         * insettext.C: layout as string
3078
3079         * insetinclude.C: layout as string
3080
3081         * insetert.C: layout as string
3082
3083         * insetbib.C: layout as string
3084
3085 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
3086
3087         * insetert.C:
3088         * insettabular.C: remove #include "lyx_gui_misc.h".
3089
3090 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
3091
3092         * Makefile.am:
3093         * figinset.h:
3094         * figinset.C:
3095         * inset.h: remove figinset, yahoo !
3096
3097 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
3098
3099         * insetgraphics.C (c-tors): initialise parent classes explicitly in
3100         copy c-tor and initialise member variables in the correct order.
3101
3102 2002-02-28  Juergen Vigna  <jug@sad.it>
3103
3104         * insettabular.C (localDispatch): clear selection on PgUp/Down.
3105
3106 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3107
3108         * inset.h: ... and add a better one here.
3109
3110         * insetcommand.C (insetButtonRelease): remove that one which was a
3111         bit broken...
3112
3113 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3114
3115         * insetcommand.C (insetButtonRelease): ... and move it here.
3116
3117         * inseturl.h: remove insetButtonRelease from there...
3118
3119 2002-02-26  Juergen Vigna  <jug@sad.it>
3120
3121         * inseturl.h: Added a insetButtonRelease call returning true as
3122         prove of concept.
3123
3124         * insetlabel.C (edit): Fixed wrong update handling after change I
3125         leave in the wrong code for the one who wrote it to remove and have
3126         a look what he did wrong.
3127
3128         * insettabular.C (localDispatch): force a SELECTION update if we
3129         had a selection and we passed the event down to the inset (fix #213)
3130         (localDispatch): handle font changing stuff when we have a cell
3131         selection so that the selection is not rewoked. I don't really like
3132         this fix, but it's the only way I see to do it right now.
3133
3134 2002-02-22  Juergen Vigna  <jug@sad.it>
3135
3136         * insettext.C (insetUnlock): set the cursor to the second paragraph
3137         if available and if the first one is empty (fix #191).
3138
3139 2002-02-20  Juergen Vigna  <jug@sad.it>
3140
3141         * insettext.C (getDrawFont): implemented this function to call the
3142         one of the owner if present as the owner normally knows what to do
3143         with us.
3144
3145         * insetert.C: implement getDrawFont() function and comment out all
3146         the crap for setting a special latex font inside this inset.
3147         (InsetERT): added a Lanugage parameter to this constructor.
3148
3149         * inset.h: added function getDrawFont(LyXFont & font) to be able to
3150         change the font for being drawn on screen (used only in InsetERT for
3151         now).
3152
3153         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3154         and also above (was missing).
3155         (updateLocal): don't remove the cell selection if we have one this
3156         should be done where we really want to remove it.
3157
3158 2002-02-20  José Matos  <jamatos@fep.up.pt>
3159
3160         * insetinclude.h: include_label made string const.
3161
3162         * insetinclude.C (InsetInclude): moved include_label initialization.
3163         (linuxdoc):
3164         (docbook):
3165         (validate): fix support for temporary directory, for docbook and
3166         linuxdoc.
3167
3168         * insetgraphics.h : new private member, graphic_label, that holds
3169         the entity name that defines the graphics location (SGML).
3170
3171         * insetgraphics.C (unique_id): new function to give a unique label
3172         for graphic.
3173         (docbook):
3174         (validate): the file locatation is given by an entity reference.
3175
3176 2002-02-18  Herbert Voss  <voss@lyx.org>
3177
3178         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3179
3180 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
3181
3182         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3183         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3184
3185 2002-02-18  José Matos  <jamatos@fep.up.pt>
3186
3187         * insetinclude.C (validate): some code only applies to latex buffers,
3188         it was made conditional.
3189
3190 2002-02-12  Herbert Voss  <voss@lyx.org>
3191
3192         * insetgraphics.C: (prepareFile) do not check at this time
3193         if the file is present.
3194
3195 2002-02-12  Herbert Voss  <voss@lyx.org>
3196
3197         * insetgraphics.C: latex(), return the correct newlines
3198
3199 2002-02-13  José Matos  <jamatos@fep.up.pt>
3200
3201         * inseturl.C (docbook): escape & in url.
3202
3203 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3204
3205         * insetspecialchar.C (isLineSeparator): line breaking is allowed
3206         after HYPHENATION and MENU_SEPARATOR
3207
3208         * inset.h (isLineSeparator): new method, returns false by default.
3209
3210 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3211
3212         * insetert.C (status): do not update the text inset, but the ERT
3213         inset.
3214
3215 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
3216
3217         * insetnote.C: use notebg for background
3218
3219 2002-02-08  Herbert Voss  <voss@lyx.org>
3220
3221         * insetgraphic.C:
3222         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3223         prevent LyX from unzipping when this should be handled
3224         by latex vis the graphic.cfg.
3225         clean up the code
3226
3227 2002-02-08  Herbert Voss  <voss@lyx.org>
3228
3229         * insetgraphic.C: prepareFile(): fix bug when file doesn't
3230         exists, than return filename with extension
3231
3232 2002-02-06  Herbert Voss  <voss@lyx.org>
3233
3234         * insetgraphic.C: prepareFile(): don't convert the file, when
3235         it's not viewed in LyX. Saves a lot of time when opening a
3236         document!
3237
3238 2002-02-05  Herbert Voss  <voss@lyx.org>
3239
3240         * insetgraphic.C:
3241         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3242         and adding a rotate bool similiar to subcaption
3243
3244 2002-02-04  Herbert Voss  <voss@lyx.org>
3245
3246         * insetgraphic.C:
3247         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3248         similiar view to the LaTeX one. Get zipped files work.
3249
3250 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3251
3252         * insetgraphicsParams.C (init): set display to DEFAULT.
3253         No longer #include "lyxrc.h".
3254
3255 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
3256
3257         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3258         for now (so that the code compiles).
3259
3260 2002-02-02  Herbert Voss  <voss@lyx.org>
3261
3262         * insetgraphic.C: delete inVariant() and some minor changes
3263         * insetgraphicsParams.[C]:
3264
3265 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
3266
3267         * insetgraphics.C (updateInset): if params.display == DEFAULT,
3268         interogate lyxrc.display_graphics before diaplaying the graphic.
3269
3270         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3271         InsetGraphicsParams::DisplayType.
3272
3273 2002-01-31  Herbert Voss  <voss@lyx.org>
3274
3275         * insetgraphic.C: (readfigInset) set display to pref-default
3276
3277 2002-01-30  Herbert Voss  <voss@lyx.org>
3278
3279         * insetgraphic.C: get the filetyp from it's contents
3280         * insetgraphicparams.C: add token scale and lyxrc.display when
3281         creating a new inset
3282
3283 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
3284
3285         * figinset.C: added using std::ios directive.
3286
3287 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3288
3289         * figinset.C (runqueue): open translation file in binary mode (for
3290         cygwin).
3291
3292 2002-01-27  Herbert Voss  <voss@lyx.org>
3293
3294         * insetgraphic.[Ch]: mostly newritten to support graphicx with
3295         all options and to be sure that the old figinsets are correct
3296         converted.
3297         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3298         structure and to support all lengths as LyXLength. The Parameter
3299         structure changed again, but reading of "old" 1.2 graphic insets
3300         is no problem.
3301
3302 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
3303
3304         * insetert.h (forceDefaultParagraphs): Added
3305
3306 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3307
3308         * insettabular.C (getMaxWidth):
3309         (forceDefaultParagraphs): use Tabular::GetCellFromInset
3310
3311 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3312
3313         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3314         of LyXLength::inPixels
3315
3316         * inset.C (latexTextWidth):
3317         * insetminipage.C (latexTextWidth): new method, which implements
3318         the equivalent of the LaTeX macro \textwidth
3319
3320         * insetminipage.C (getMaxWidth): use latexTextWidth
3321
3322 2002-01-18  Juergen Vigna  <jug@sad.it>
3323
3324         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3325
3326 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3327
3328         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3329
3330         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3331         instead of string
3332
3333 2002-01-17  Juergen Vigna  <jug@sad.it>
3334
3335         * insettabular.C (lockInsetInInset): same change as in insettext.
3336
3337         * insettext.C (draw): width() function was called without setting
3338         the right top_x which could lead to wrong insetWidth setting!
3339         (lockInsetInInset): call edit instead of calling lockInset if we
3340         have to lock an inset inside!
3341         (edit): we have to also tell the inset that we have to redraw the
3342         frame on an edit call if this inset draws a frame only if locked.
3343
3344 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3345
3346         * insetbib.C (getFiles): uncomment Path variable.
3347
3348 2002-01-16  Juergen Vigna  <jug@sad.it>
3349
3350         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3351         of wrong cell.
3352
3353 2002-01-16  Allan Rae  <rae@lyx.org>
3354
3355         * insetinclude.C (docbook): someone forgot a ";"
3356
3357 2002-01-16  José Matos  <jamatos@fep.up.pt>
3358
3359         * figinset.C (docbook): removed a old place holder "@".
3360         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3361         * insetinclude.C (linuxdoc): if include is verbatim, then export the
3362         ascii text version, clearly guarded inside a CDATA section.
3363         (docbook): in docbook 4, inlinegraphics is empty.
3364         * insettabular.C (linuxdoc): export the ascii version of the table
3365         inside a CDATA section.
3366
3367 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3368
3369         * insetparent.C (InsetParent):
3370         * insetgraphicsParams.C (Write):
3371         (Read):
3372         * insetgraphics.C (prepareFile):
3373         (readFigInset):
3374         (docbook):
3375         * insetexternal.C (executeCommand):
3376         (doSubstitution): use Buffer::filePath
3377
3378         * insetbib.C (getFiles): add a #warning for Angus
3379
3380         * insetgraphics.C: Add a remark about how filenames should be
3381         considered to be relative to buffer (but absolute is still allowed)
3382         (draw): do not try to get status if lyxrc.use_gui is false
3383
3384 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3385
3386         * inset.[Ch]:
3387         * insetcollapsable.[Ch]:
3388         * insettabular.[Ch] (searchForward, searchBackward): change the
3389         bool const & params to bool.
3390
3391         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3392         to avoid the name clash with InsetCollapsable's methods of the same
3393         names but different functionality.
3394
3395 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3396
3397         * insettext.C (ascii): use lyx::count rather than countChar.
3398
3399 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
3400
3401         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3402
3403 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3404
3405         * insetgraphics.C (updateInset): do not try to render image if
3406         lyxrc.use_gui is false (bug #104)
3407
3408         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3409         if file does not exist
3410
3411         * figinset.C (browseFile): add shortcuts to directory buttons
3412
3413         * insettext.C (updateLocal): update menubar and toolbar here too.
3414
3415 2002-01-13  Allan Rae  <rae@lyx.org>
3416
3417         * insettabular.C (InsetTabular): Both constructors now initialise
3418         all class variables.
3419
3420 2002-01-11  Juergen Vigna  <jug@sad.it>
3421
3422         * insettext.C (insetButtonPress): set the_locking_inset to 0.
3423
3424 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3425
3426         * insettabular.C (getStatus): add forgotten brace around multiline
3427         if statement.
3428
3429 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3430
3431         * insetfloat.C (validate): require "float" instead of "floats".
3432
3433 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
3434
3435         * insettabular.C (getStatus): use FuncStatus
3436
3437 2002-01-08  Juergen Vigna  <jug@sad.it>
3438
3439         * insettabular.C (insetButtonRelease): now this should work too
3440         correctly.
3441
3442         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3443         if the width is a percentage.
3444
3445         * inset.h: added isChar() function and implemented this for
3446         insetspecialchar insetquotes and insetlatexaccent.
3447         added forceDefaultParagraphs() and implemented it for insettabular.
3448
3449 2002-01-07  Juergen Vigna  <jug@sad.it>
3450
3451         * insettext.C (getLyXText): Fixed this function. An insert into the
3452         map is only done if we REALLY have a new BufferView.
3453
3454 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
3455
3456         * insettext.C: fix bug illustrated by attachment #37 of bug #59
3457
3458 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
3459
3460         * insetinclude.C: fix use of FileInfo
3461
3462 2002-01-07  Juergen Vigna  <jug@sad.it>
3463
3464         * insettabular.C (draw): fixed clearing of cell around inset.
3465
3466 2002-01-05  Juergen Vigna  <jug@sad.it>
3467
3468         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3469         variables are updated.
3470
3471         * insettabular.C (resetPos): set always the inset_y as it may be
3472         needed in another function.
3473         (searchBackward): don't draw while searching.
3474
3475 2002-01-04  Juergen Vigna  <jug@sad.it>
3476
3477         * insettext.C (lockInsetInInset): forgot to set a cursor.
3478
3479 2002-01-02  Juergen Vigna  <jug@sad.it>
3480
3481         * insettext.C (insertInset): make the correct undo informations on
3482         inserting new insets.
3483
3484 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
3485
3486         * insettabular.C: correct single-cell select vertically
3487
3488 2001-12-27  Juergen Vigna  <jug@sad.it>
3489
3490         * insettabular.C (ascii): export as tab-separated-values if the
3491         function was not called from export (f.ex.: clipboard).
3492
3493         * insetcollapsable.h: added default support for ascii, linuxdoc and
3494         docbook export (the insettext is exported by default!)
3495
3496         * insettabular.C (copySelection): suff the clipboard with the tabular
3497         data in a tab separated format, seems more naturals then with all the
3498         formating.
3499
3500 2001-12-24  Juergen Vigna  <jug@sad.it>
3501
3502         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3503         to check for REAL mouseMotion.
3504
3505 2001-12-20  Juergen Vigna  <jug@sad.it>
3506
3507         * inset.C (cursor): return the owners cursor if available instead of
3508         always only the bv->text->cursor.
3509
3510         * insettabular.C (checkLongtableSpecial): works now.
3511
3512 2001-12-19  Juergen Vigna  <jug@sad.it>
3513
3514         * insettabular.C (tabularFeatures): fix the row setting of ltt as
3515         this has to be always row + 1 as 0 means not selected!
3516         (checkLongtableSpecial): added
3517         (tabularFeatures): better longtable options support
3518
3519         * insettext.C (resizeLyXText): reinit the text always also on a
3520         empty insettext!
3521
3522 2001-12-18  Juergen Vigna  <jug@sad.it>
3523
3524         * insettext.C (updateInsetInInset): look if we have to autocollapse
3525         paragraps and return if the update is requested for ourself.
3526
3527         * insetert.C (status): update the insettext not myself as that is what
3528         we need.
3529
3530         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3531         function only return if the update was requested with myself.
3532
3533         * insettext.C (insetButtonPress): fixed stupid bug.
3534         (various functions): pay attention that lt is cleared BEFORE calling
3535         updateLocal() and try to use it in the right manner (don't use it
3536         if it's not really neccessary!)
3537         (collapseParagraphs): insert a blank between collapsing paragraphs
3538         if neccessary (not already there!).
3539
3540 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3541
3542         * insettabular.C: move includes around a bit, add a couple of
3543         consts.
3544
3545         * insettext.[Ch]: move includes around a bit, other ws changes and
3546         small stuff.
3547
3548 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3549
3550         * insettext.C (insetButtonRelease): fix compile problem
3551
3552 2001-12-17  Juergen Vigna  <jug@sad.it>
3553
3554         * insettext.C (insetButtonPress): set the selection cursor!
3555         (insetButtonPress): clear the selection (and set with that the
3556         selection.cursor) if we only hit an inset!
3557
3558         * insetert.C (read): removed piece of compatibility code only needed
3559         for 1.2.0.
3560
3561         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3562         can be opened.
3563
3564         * insetcollapsable.C (insetButtonRelease): changed so that it can
3565         open eventual existing popup dialogs on mousebutton==3.
3566
3567         * insetfloat.C (insetButtonRelease): removed not needed anymore!
3568
3569         * insetminipage.C (insetButtonRelease): removed not needed anymore!
3570
3571         * inset.C (insetButtonRelease): return a bool for telling the outer
3572         world that we opened a dialog.
3573
3574 2001-12-07  Juergen Vigna  <jug@sad.it>
3575
3576         * insettext.C (paragraph): remove the deleteing of paragraphs as
3577         it was a WRONG move!
3578
3579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3580
3581         * insettabular.h:
3582         * insettabular.C: use new setSelection(). Allow
3583           selection of single cells.
3584
3585 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3586
3587         * insetquotes.C (latex): fix to use the local language setting at
3588         the point where the inset is inserted (different macros for
3589         different french packages)
3590
3591 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3592
3593         * inset.h: add par_owner_ member variable and parOwner
3594         setter/accessor.
3595
3596 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3597
3598         * insettabular.C (everywhere): adapt because widths are now real
3599         widths and not strings
3600
3601         * insettext.C (draw): re-introduce the calls to width(), ascent()
3602         and descent() to initialize the caching variables.
3603
3604 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3605
3606         * insettext.C (draw):
3607         (drawFrame): use insetWidth instead of last_width
3608
3609         * insettext.h: remove variable last_width (insetWidth is exactly
3610         the same) and last_height (computed but never used!)
3611
3612 2001-12-10  Allan Rae  <rae@lyx.org>
3613
3614         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3615
3616 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3617
3618         * insettext.C (insetAllowed): add comment
3619
3620 2001-12-05  Juergen Vigna  <jug@sad.it>
3621
3622         * insettext.C (insetAllowed): fixed for the case that we directly
3623         ask the insettext from its LyXText.
3624         (paragraph): fixed the crash when assigning the par->next() from
3625         the EmptyParagraphMechanism!
3626
3627 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3628
3629         * insetbib.C:
3630         * insettabular.C:
3631         * insettext.C: change "while(" to "while ("
3632
3633 2001-12-04  Juergen Vigna  <jug@sad.it>
3634
3635         * insetert.C (edit): handle Inlined status.
3636
3637         * insettext.C (insertInset): trying John's fix for the trailing cursor
3638
3639         * insetert.C (insetButtonPress): added to handle inlined status
3640         (insetMotionNotify): ditto.
3641
3642         * insettext.C (clearInset): changed Painter & in BufferView * param,
3643         to be able to call ascent,descent methods.
3644
3645 2001-12-03  Juergen Vigna  <jug@sad.it>
3646
3647         * insettext.C (updateInsetInInset): use lt variable to forbid
3648         changes of LyXText in an update call.
3649         (updateInsetInInset): fixed updating of non locked insets!
3650
3651 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
3652
3653         * insettabular.C: capture some more functions to prevent
3654         selection drawing problems. Bug #451274
3655
3656 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
3657
3658         * insetgraphics.C:
3659         * insetgraphicsParams.C: fix inverted sense of float_equal
3660
3661 2001-11-30  Juergen Vigna  <jug@sad.it>
3662
3663         * insettabular.C (InsetTabular): use the save_id flag to create also
3664         the tabular with the same id's.
3665
3666         * insettext.C (setParagraphData): added a same_id function for undo
3667         to set the same paragraph id's as of the paragraph we are setting.
3668
3669 2001-11-30  José Matos <jamatos@fep.up.pt>
3670
3671         * inseturl.[Ch]:
3672         * insettoc.[Ch]: DocBook -> docbook.
3673
3674 2001-11-29  André Pönitz <poenitz@gmx.net>
3675
3676         * inseterror.C:
3677         * insettext.C: further reduction of header dependencies by using
3678         lyx::layout_type and lyx::textclass_type from support/types.h
3679
3680 2001-11-29  Juergen Vigna  <jug@sad.it>
3681
3682         * insettext.C: inserted a reinitLyXText function everywhere I delete
3683         the paragraphs! This should fixe the crashes we had.
3684         Also use the new function firstRow() instead of getRowNearY(dummy_y)
3685         (paragraph): set the InsetOwner() of the new paragraphs!
3686
3687 2001-11-28  André Pönitz <poenitz@gmx.net>
3688
3689         * insetnote.C: add pos initialization that I removed without
3690           knowing what I did.
3691
3692 2001-11-28  Juergen Vigna  <jug@sad.it>
3693
3694         * insettabular.C (resetPos): hack to not crash with infinite paints.
3695
3696         * insettabular.h: insert missing function allowSpellcheck()!
3697
3698         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
3699
3700 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
3701
3702         * insetfloatlist.h:
3703         * insetfloatlist.C: derive from InsetCommand so gui can use it
3704           easily
3705
3706 2001-11-26  André Pönitz <poenitz@gmx.net>
3707
3708         * insettext.[Ch]:
3709         * insetert.C:
3710         * insetnote.C: reduce header dependencies, introduce type for
3711         positions
3712
3713 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3714
3715         * various: update for Alert.h
3716
3717 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
3718
3719         * inset.h: fix comment
3720
3721         * insettext.C: use par->isInset()
3722
3723 2001-11-22  Allan Rae  <rae@lyx.org>
3724
3725         * insetcollapsable.h:
3726         * inset.h: Changes to checkInsertChar() behaviour.
3727         Now return value indicates whether chars can be inserted.
3728
3729 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
3730
3731         * various:  updated to use the new LaTeXFeatures
3732
3733 2001-11-14  José Matos  <jamatos@fep.up.pt>
3734
3735         * insetspecialchar.C (linuxdoc):
3736         (docbook): don't give a name to a unused variable.
3737
3738         * insettext.C (docbook): removed unused variable.
3739
3740 2001-11-13  Herbert Voss  <voss@perce.de>
3741
3742         * insetgraphic.C: fix scale bug
3743
3744 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3745
3746         * inset.h (isSpace):
3747         (isLetter): new virtual methods.
3748
3749         * insetspecialchar.C (isSpace):
3750         (isLetter): implement here.
3751
3752 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
3753
3754         * inset.h: new inline helpers
3755
3756         * insettext.C: use new helpers
3757
3758 2001-11-07  José Matos  <jamatos@fep.up.pt>
3759
3760         * insettext.C (docbook): full support for paragraphs inside insettext.
3761
3762 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
3763
3764         * insetindex.C: added header file for std::ostream.
3765
3766 2001-11-03  José Matos  <jamatos@fep.up.pt>
3767
3768         * insetindex.C: added using std::ostream that I forgot yesterday.
3769
3770 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
3771
3772         * insetindex.h (docbook):
3773         * insetindex.C (docbook): added support for docbook export.
3774
3775 2001-11-02  José Matos  <jamatos@fep.up.pt>
3776
3777         * insetcaption.C(docbook): added support for docbook export.
3778
3779 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
3780
3781         * insetexternal.C (updateExternal): Do not run update command if
3782         result file exists and is up to date.
3783
3784         * ExternalTemplate.C (readFormat): Support the updateresult token.
3785
3786 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
3787
3788         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3789         external_templates) to use the buffer->fileName() but only if
3790         previewing. Generating a TeX file should make FPath return
3791         "".
3792
3793 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
3794
3795         * insetert.h:
3796         * insetert.C: fix some problems
3797
3798 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
3799
3800         * insetexternal.C (doSubstitution): Added $$FPath token
3801         to list of usable substitutions in external inset templates.
3802
3803 2001-10-24  Juergen Vigna  <jug@sad.it>
3804
3805         * insettabular.C: use new ltType struct for setting longtable
3806         header and footers also new UNSET enums.
3807
3808 2001-10-24  José Matos  <jamatos@fep.up.pt>
3809
3810         * insettabular.C (linuxdoc): Now exports the ascii's table version.
3811         (docbook): If the table is not inside a float then wrap it inside
3812         <informaltable>...</informaltable>.
3813
3814 2001-10-23  José Matos  <jamatos@fep.up.pt>
3815
3816         * insetref.C (docbook): removed / terminator to conform SGML.
3817
3818         * insetspecialchar.C (linuxdoc):
3819         (docbook): Added support for special chars, more than ascii export.
3820
3821 2001-10-22  Juergen Vigna  <jug@sad.it>
3822
3823         * insettext.C (checkInsertChar): added for REALLY checking the
3824         font of the inserted char in the right inset!
3825
3826 2001-10-19  Juergen Vigna  <jug@sad.it>
3827
3828         * inset.h: added method allowSpellcheck() so that insets who do
3829         not have anything to spellcheck can tell and so they are over-jumped.
3830         Implemented for InsetText and co.
3831
3832 2001-10-18  Juergen Vigna  <jug@sad.it>
3833
3834         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3835
3836 2001-10-15  José Matos  <jamatos@fep.up.pt>
3837
3838         * insetert.C: allow export for docbook and linuxdoc
3839
3840 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
3841
3842         * insetquotes.C (dispString): handles latin3 and latin4 quotes
3843
3844 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3845
3846         * insetquotes.C (dispString): fix handling of latin9 quotes
3847
3848 2001-10-03  Juergen Vigna  <jug@sad.it>
3849
3850         * insetert.C: ditto
3851
3852         * insetcollapsable.C: change updateInset calls to not tell BV that
3853         we have changed status.
3854
3855 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3856
3857         * insettabular.C (deletable): make const
3858
3859 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
3860
3861         * insetert.C (latex): Fix the returned value
3862
3863 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
3864
3865         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3866         Returns string(), so nothing in an ERT inset is spellchecked.
3867
3868         * insetgraphics.C (draw): print the filename if not displaying the
3869         image.
3870         (width): make sure that the width and draw methods are consistent.
3871         (updateInset): don't even load the image into cache if not displaying
3872         it.
3873
3874 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
3875
3876         * various files (selectNextWord): renamed as
3877         selectNextWordToSpellcheck.
3878
3879         * insetgraphics.C (draw): remove the previous change. Right place
3880         is in imageLoaderXPM.C.
3881         (draw): don't display the image if params.display == NONE.
3882
3883 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
3884
3885         * figinset.C (runqueue):
3886         * insetgraphics.C (draw): set background colour of inset from
3887         background to the user-configurable graphicsbg.
3888
3889 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3890
3891         * insetquotes.C (InsetQuotes): when trying to decide the side of
3892         the quote, choose `left' only after a space or '('
3893
3894 2001-09-04  José Matos  <jamatos@fep.up.pt>
3895         * figinset.C
3896         * figinset.h
3897         * insetcaption.C
3898         * insetcaption.h
3899         * insetcollapsable.h
3900         * insetcommand.C
3901         * insetcommand.h
3902         * inseterror.h
3903         * insetert.C
3904         * insetert.h
3905         * insetexternal.C
3906         * insetexternal.h
3907         * insetfloat.C
3908         * insetfloat.h
3909         * insetfloatlist.h
3910         * insetgraphics.C
3911         * insetgraphics.h
3912         * inset.h
3913         * insetinclude.C
3914         * insetinclude.h
3915         * insetlabel.C
3916         * insetlabel.h
3917         * insetlatexaccent.C
3918         * insetlatexaccent.h
3919         * insetquotes.C
3920         * insetquotes.h
3921         * insetref.C
3922         * insetref.h
3923         * insetspecialchar.C
3924         * insetspecialchar.h
3925         * insettabular.C
3926         * insettabular.h
3927         * insettext.C
3928         * insettext.C (docbook): rename docBook method to docbook.
3929
3930 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
3931
3932         * inset.h (getFirstParagraph): New virtual method.
3933
3934 2001-08-20  Herbert Voss  <voss@perce.de>
3935         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3936         in the the bibtex-database-gui for inserting a line
3937         \addcontentsline...
3938
3939         If no style is given than there is no tex-output.
3940
3941 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
3942
3943         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3944         files as a vector.
3945         (getKeys): use it.
3946
3947 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
3948
3949         * insetert.C (latex): Fix output for multiple paragraphs.
3950         (write): New code for writing paragraph data.
3951         (read): Set font after reading the inset.
3952         (localDispatch): Call set_latex_font() for more cases.
3953
3954         * insetnote.h: Add empty validate method.
3955         * insetert.h: Ditto
3956
3957         * insetnote.C (InsetNote): Set language to the language of the
3958         document.
3959
3960 2001-08-16  Juergen Vigna  <jug@sad.it>
3961
3962         * insettext.C: implemented the new FINISHED states.
3963
3964         * insettabular.C: ditto
3965
3966         * inset.h: added more FINISHED states for cursor right,up,down
3967
3968 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3969
3970         * insetfloatlist.C: use "FloatName List"
3971
3972 2001-08-14  Juergen Vigna  <jug@sad.it>
3973
3974         * insetert.C (edit): forgot to set status_ in edit calls!
3975
3976 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
3977
3978         * insettext.C: Compilation fix
3979
3980 2001-08-13  Juergen Vigna  <jug@sad.it>
3981
3982         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3983
3984         * insetcollapsable.C (edit): don't recollapse an already open inset.
3985
3986         * insettext.C: fixed problem when reinitializing LyXText by not doing
3987         it while lt is in use and post this to the next possible time in
3988         getLyXText().
3989         (searchForward): fixed not unlocking of inset if nothing found.
3990         (edit): set cursor behind right (was set -1 pos).
3991
3992         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3993
3994         * insettabular.C (tabularFeatures): fixed fix where deleting the
3995         last row didn't get the right actcell!
3996
3997 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
3998
3999         * insettext.C (localDispatch): Change language only when the inset
4000         becomes empty.
4001
4002 2001-08-10  Juergen Vigna  <jug@sad.it>
4003
4004         * insettabular.C (selectNextWordInt): use the front using edit call.
4005
4006         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4007         the parameter overwrite class variable inset.
4008
4009         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4010
4011         * insettext.C (saveLyXTextState): check for invalid cursor-par.
4012         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4013
4014         * insettabular.C (calculate_dimensions_of_cells): let's try to call
4015         update only for fixed with cells.
4016         (resetPos): try to fix the lockup on spellchecking or s&r.
4017
4018         * insettext.C (update): comment this out as it seems first wrong
4019         and second not needed anymore!
4020         (some functions): call reinitLyXText() only in update() in all other
4021         positions set only need_update = INIT.
4022
4023 2001-08-08  Juergen Vigna  <jug@sad.it>
4024
4025         * insettabular.C (setPos): fixed wrong actrow < rows() check.
4026
4027         * insettext.C (insetUnlock): remove double-space on inset unlock.
4028
4029         * insetcollapsable.C (draw): fix returned x when label > inset-width.
4030
4031         * insettabular.C (update): fixed cursor positon after an insert.
4032         (insetAllowed): do not allow to insert insets when not inside the
4033         inset!
4034         (draw): clear below an inset too as it could have changed height.
4035
4036         * inset.C (getMaxWidth): fixed width for inset in inset.
4037
4038         * insettext.C (update): small fix.
4039
4040         * insettabular.C (tabularFeatures): added selection support to
4041         DELETE_ROW/DELETE_COLUMN.
4042
4043 2001-08-07  Juergen Vigna  <jug@sad.it>
4044
4045         * inset.C (getMaxWidth): recoded and all it's implementations!
4046
4047         * insettext.C (init,setParagraph+constructors): cleanups
4048         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4049         are new and I want do a save/restore of the cursor position which is
4050         not possible anymore.
4051
4052         * insetcollapsable.C (searchBackward): recollapse inset if not found.
4053         (searchBackward): ditto
4054         (selectNextWord): ditto
4055
4056 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
4057
4058         * insetlatexaccent.C (checkContents): Add some debug messages
4059
4060 2001-08-07  Juergen Vigna  <jug@sad.it>
4061
4062         * insetert.C (read): don't use InsetCollapsable::read as we don't
4063         write the collapsed status anymore only the status.
4064         (write): ditto.
4065
4066 2001-08-06  Juergen Vigna  <jug@sad.it>
4067
4068         * insetert.C (set_latex_font): use LyXText's setFont directly.
4069
4070         * insettext.C (drawFrame): fixed one time more the right position
4071         and size of the frame!
4072
4073         * insetert.C (~InsetERT): hide the dialog.
4074         (showInsetDialog): added implementation
4075         (open): ditto
4076         (close): ditto
4077         (status): new function for the status of the ERT inset (3-state).
4078         (write): output also the status of the inset for readback!
4079         (read): readback the status if available otherwise use collapsed_.
4080
4081         * insettext.C (edit): small fix of setting the position, which could
4082         have gone < 0.
4083
4084         * insetert.C (width): implement this function for inlined viewing.
4085         Added minimum width of 10 pixels!
4086
4087         * insetminipage.C (InsetMinipage): just change the colors a bit so
4088         that border/background is a bit more visible. We will remove this
4089         anyway for 1.2.0!
4090
4091         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4092         function for getting the important widths for drawing in various
4093         functions and in LyXText.
4094         (draw): fixed up a bit (frame drawing/clearing)
4095
4096 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4097
4098         * inset.C (convertFont): delete method. not used.
4099
4100 2001-08-03  Juergen Vigna  <jug@sad.it>
4101
4102         * insettext.C (setFont): don't call for a draw update if we're just
4103         changing the cursor font!
4104
4105 2001-08-02  Juergen Vigna  <jug@sad.it>
4106
4107         * insettext.C (draw): clear the background with the right color if
4108         needed. Update myself if x&max-width changed and return without doing
4109         anything. Let the update code handle the right stuff.
4110
4111         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4112         inside another inset.
4113
4114 2001-08-01  Juergen Vigna  <jug@sad.it>
4115
4116         * insetcollapsable.C (update): added an in_update bool so we avoid
4117         reentering.
4118
4119         * insettabular.C (update): added an in_update bool so we avoid
4120         reentering.
4121
4122         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4123         selection problem.
4124         (update): added an in_update bool so we avoid reentering.
4125
4126         * insettabular.C (localDispatch): clear col/row selection when doing
4127         something else inside an inset.
4128
4129         * insettext.C (getLyXText): fixed bug when requesting a recursive
4130         insettext!
4131
4132 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
4133
4134         * insetcite.C (latex): Paranoia check. Make sure that there is no
4135         whitespace between the citation keys.
4136
4137 2001-07-31  Juergen Vigna  <jug@sad.it>
4138
4139         * inset.h (nodraw): make the set function also const so that this
4140         can be called from inside other const functions.
4141
4142         * insetcollapsable.h: removed inline variable and moved it over
4143         to the only user InsetERT.
4144
4145         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4146         inset opening immediately therein lying insets dialogs!
4147
4148         * insetert.C (localDispatch): set the font also if we don't have any
4149         chars in this paragraph, otherwise if we delete all of em and start
4150         writing we have the wrong font.
4151         (inlined): added
4152         (draw): implemented for inline support
4153         (insetButtonRelease): ditto.
4154
4155 2001-07-30  Juergen Vigna  <jug@sad.it>
4156
4157         * insettext.C (reinitLyXText): new function to reinit the insets
4158         text after lot's of paragraph changes. Use this instead of the
4159         cache.clear() which is VERY dangerous.
4160
4161         * insetfloat.C (insetButtonRelease): we should only show the dialog
4162         if we press on the label otherwise we have problems to open mouse
4163         button 3 dialogs inside this float (f.ex. of a tabular!)
4164
4165 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4166
4167         * insetert.C: change back to "ERT"
4168
4169         * insetfloat.C: handliign of RMB on label added.
4170
4171 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4172
4173         * insetgraphicsParams.C: #include LOstream.h here.
4174
4175         * insetfoot.h: remove InsetFoot:: qualifier.
4176
4177 2001-07-29  Baruch Even  <baruch@lyx.org>
4178
4179         * ChangeLog: Hiding time travel evidence.
4180
4181         * insetgraphicsParams.h:
4182         * insetgraphicsParams.C:
4183         * insetgraphics.C: Added horizontal scale option, it actually scales both
4184         directions since it keeps image proportions.
4185
4186         * insetgraphics.C: Fixed EPS detection to be non-hacky.
4187
4188 2001-07-29  Baruch Even  <baruch@lyx.org>
4189
4190         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4191         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4192
4193         HACKY! Will need to add an EPS detection routine like old InsetFig does!
4194
4195 2001-07-29  Baruch Even  <baruch@lyx.org>
4196
4197         * insetgraphics.C: Added EPSI to be an alias of EPS.
4198
4199 2001-07-29  Baruch Even  <baruch@lyx.org>
4200
4201         * insetgraphics.C: Change GRAPHICS to Graphics.
4202         Changed image conversion rules (documented at the beginning of file).
4203
4204 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
4205
4206         * insetert.C (get_new_label): int -> Paragraph::size_type to get
4207         std::min working.
4208
4209         * insetgraphics.C: added a using std::endl directive.
4210
4211         * insetcommand.h (getScreenLabel): removed pure virtual function,
4212         as it duplicates that in InsetButton.
4213
4214         * insetbib.[Ch] (getScreenLabel):
4215         * insetbutton.[Ch] (getScreenLabel):
4216         * insetcite.[Ch] (getScreenLabel):
4217         * insetert.[Ch] (getScreenLabel):
4218         * insetexternal.[Ch] (getScreenLabel):
4219         * insetfloatlist.[Ch] (getScreenLabel):
4220         * insetinclude.[Ch] (getScreenLabel):
4221         * insetindex.[Ch] (getScreenLabel):
4222         * insetlabel.h (getScreenLabel):
4223         * insetparent.[Ch] (getScreenLabel):
4224         * insetref.[Ch] (getScreenLabel):
4225         * insettoc.[Ch] (getScreenLabel):
4226         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4227
4228         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4229         the label.
4230         (validate): remove check on "cite" when using natbib.
4231
4232 2001-07-26  Baruch Even  <baruch@lyx.org>
4233
4234         * insetgraphics.C (draw): changed casting to be in one place rather than
4235         all over the function.
4236
4237         * insetgraphics.h:
4238         * insetgraphics.C (read): Added compatibility reads of InsetFig.
4239
4240         * insetgraphicsParams.h:
4241         * insetgraphicsParams.C:
4242         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4243
4244 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
4245
4246         * insetfoot.C (validate): Added method to ensure that the
4247         right bit of LaTeX is emitted.
4248
4249         * insetfoot.h: Added validate method to set the correct
4250         LaTeXFeatures bit for the special footnote code.
4251
4252 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4253
4254         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4255         quotes
4256
4257 2001-07-27  Juergen Vigna  <jug@sad.it>
4258
4259         * inset.h: remove not used font variable in parameter.
4260         removed checkInsertChar in UpdatableInset as it was equal to
4261         the one in Inset and so not needed.
4262
4263         * insetert.C (checkInsertChar): implementation of function
4264         checkInsertChar.
4265
4266         * inset.h: added new function checkInsertChar.
4267
4268         * various files: added c-tor and clone() function.
4269
4270         * insetcollapsable.h: removed clone function here as this should
4271         be only realized in REAL insets and added it to all collapsable
4272         insets! (with the copy-constructor).
4273
4274 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4275
4276         * insetminipage.C (read): handle missing parameters more gracefully
4277
4278         * insetcollapsable.C (read): handel missing collapsed more gracefully
4279
4280 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4281
4282         * insetfloat.C (read): handle missing parameters.
4283
4284         * insettext.C (read): handle old latex end_inset
4285
4286         * insetert.C (setButtonLabel): new method
4287         (init): use it, to set the dynamic label correctly
4288         (read): use it
4289
4290         * Makefile.am (EXTRA_DIST): add files that is not part or the
4291         binary here.
4292
4293         * insetcollapsable.h: remove autocollapsable (no users), remove
4294         draw_label, change_label_with_text and companion code. Remove args
4295         from some methods.
4296         * insetert.[Ch]: move here instead (only user)
4297
4298         * inset.h: rename private variable name to name_, make
4299         selectNextWord return a const string. make getInsetName return a
4300         string const &. Remove bool from open, add close.
4301
4302         * Makefile.am: don't compile insetlist, insetsection
4303         and insettheorem
4304
4305 2001-07-24  Juergen Vigna  <jug@sad.it>
4306
4307         * insetert.C (InsetERT): put init after the paragraph initialization,
4308         as otherwise we don't set the draw_label right.
4309
4310         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4311         insets with the mouse without having strange selections.
4312         (edit): if the inset was collapsed and we open it here then put the
4313         cursor always at the beginning of the inset.
4314         (get_new_label): 15 instead of 10 max chars in the label.
4315
4316         * insetert.C (localDispatch): added and handle various stuff we
4317         need to handle here (font setting on paragraph break, not permitted
4318         layout setting, etc.).
4319
4320         * inset.h: added default copy-consturctor and implemented this in
4321         various insets with the change to use this in the clone function!
4322
4323 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4324
4325         * insetminipage.C (InsetMinipage): set background color to red :)
4326
4327 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4328
4329         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4330         draw frame mode is LOCKED.
4331
4332         * insetcollapsable.C (edit):
4333         (insetButtonRelease): set update status to full when
4334         opening inset.
4335
4336         * insettext.C (clearInset):
4337         * insettabular.C (draw):
4338         * insetlatexaccent.C (draw): honor background color.
4339
4340         * inset.h: new member background_color_, initialized to
4341         LColor::inherit.
4342
4343         * inset.C (backgroundColor): new method.
4344         (setBackgroundColor): new method.
4345
4346         * insetert.C (init): new method, called by the ctors.
4347         (InsetERT): when inserting contents, make sure the font is
4348         ALL_INHERIT.
4349
4350         * insetnote.C (InsetNote): when inserting content, remove trailing
4351         newline
4352         (init): set background color to LColor::note
4353
4354 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4355
4356         * insetcollapsable.C: adjust
4357
4358         * insetbutton.C: adjust
4359
4360 2001-07-23  Juergen Vigna  <jug@sad.it>
4361
4362         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4363         parameter on the _collapsed function (was not needed) and call
4364         always width_collapsed().
4365
4366         * insetert.C (InsetERT): use setLabel with "true" flag.
4367
4368         * insetcollapsable.C: modified various functions to set the draw_label
4369         string right in any condition.
4370         (setLabel): added a bool parameter to set change_label_with_text.
4371
4372         * insetcollapsable.h: added draw_label string which is set to the
4373         actual drawn label-string, while label is the original static label
4374         of this collapsable inset. Added bool change_label_with_text to set
4375         if we want that the label changes to the start of the InsetText's
4376         text when collabpsed. You can set this flag with the setLabel funciton.
4377         Added bool inlined for inlined collapsable insets, but not handled
4378         yet.
4379
4380         * insetcollapsable.C (get_new_label): added should get a new label
4381         from the InsetText beginning (for now 10 chars).
4382
4383 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4384
4385         * insetquotes.C (latex): fix the handling of french double quotes
4386         when not using the french pachage.
4387
4388 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4389
4390         * insetcollapsable.h: make WidthCollapsed mutable.
4391
4392         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4393         InsetPrintIndex returns INDEX_PRINT_CODE.
4394
4395         * inset.h: add INDEX_PRINT_CODE
4396
4397         * insetcollapsable.C (draw): init widthCollapsed if necessary
4398         (width): ditto.
4399
4400         * insetquotes.C (width): use the local language, not the document
4401         language.
4402         (draw): ditto.
4403         (dispString): add additional spacing for all french languages,
4404         like fr_CA.
4405         (validate): make it work when there is no default language
4406
4407         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4408
4409         * insetnote.C (init): new method, called by the constructors
4410         (InsetNote): new constructor with contents passed as a string
4411
4412 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4413
4414         * insetfootlike.C (insetAllowed): disallow float in footlike.
4415
4416         * insetert.C (InsetERT): add collapsed argument to the constrctor
4417         with contents.
4418
4419 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4420
4421         * insetindex.h: shut off warning
4422
4423 2001-07-20  Juergen Vigna  <jug@sad.it>
4424
4425         * insetcollapsable.C (update): recoded hopefully works now!
4426
4427 2001-07-19  Juergen Vigna  <jug@sad.it>
4428
4429         * most files: implemented the below new introduced function.
4430
4431         * inset.h: added new edit(BufferView *, bool front) method to be able
4432         to enter an inset from the front/back without knowing x/y positions
4433         and baselines inside the inset. So I just can tell the inset activate
4434         me and set the cursor on the front/back of yourself.
4435
4436 2001-07-18  Juergen Vigna  <jug@sad.it>
4437
4438         * insetcollapsable.C (edit): fixed hopefully the y parameter which
4439         is given to the InsetText.
4440         (insetButtonPress): ditto
4441         (insetButtonRelease): ditto
4442         (insetMotionNotify): ditto
4443
4444 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4445
4446         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4447         LIGATURE_BREAK, since the name is so stupid.
4448
4449 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4450
4451         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4452         the default InsetCollapsable methods. I.e., it can insert anything.
4453         (write) output the name of the inset, not some silly hack for
4454         compatability with the old InsetInfo.
4455
4456         * insetinfo.[Ch]: removed.
4457         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4458         now collapsable, but functionality is otherwise identical to InsetInfo.
4459
4460         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4461
4462 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4463
4464         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4465         reformatting
4466
4467         * insetquotes.C: general cleanup
4468         (dispString): add spaces inside french double quotes.
4469         (latex): ditto. Moreover, treat first the case where the frenchb
4470         or french options have been given.
4471
4472 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
4473
4474         * insetcite.[Ch] (latex, validate): new methods, required for natbib
4475         support.
4476
4477 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
4478
4479         * figinset.C (RegisterFigure): Print debug message only when
4480         current_view is available.
4481
4482 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4483
4484         * many files: update to match the change below
4485
4486         * inset.h (insetAllowed): renamed from insertInsetAllowed;
4487         implement the version which takes an inset here.
4488
4489         * insetcollapsable.[Ch]: implement open and isOpen
4490
4491         * inset.h: remove insertInsetAllowed from Inset
4492         (open): new method, to open or close an inset
4493         (isOpen): returns the status of an inset
4494         (isCollapsable, colapse): removed
4495
4496 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4497
4498         * insetquotes.C (dispString): display french guillemets when using
4499         ISO8859-15.
4500
4501 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4502
4503         * insetcollapsable.h: remove bogus return statements
4504
4505 2001-07-18  Juergen Vigna  <jug@sad.it>
4506
4507         * insettabular.C (selectNextWord): fixed spellchecking for the
4508         first cell of a tabular (wasn't entered!)
4509         (getLyXText): changed to enter automatically insettext and return
4510         it's LyXText if we're locked.
4511
4512 2001-07-17  Juergen Vigna  <jug@sad.it>
4513
4514         * various files: implemented the below functions.
4515
4516         * inset.h: added functions
4517         - virtual string selectNextWord(BufferView *, float & value) const;
4518         - virtual void selectSelectedWord(BufferView *) { return; }
4519         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4520         needed for spellchecking correctly!
4521
4522 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4523
4524         * insetert.C (latex): write out all paragraphs.
4525
4526 2001-07-17  Baruch Even  <baruch@lyx.org>
4527
4528         * insetgraphics.C (draw): Removed unneeded casts.
4529
4530 2001-07-16  Juergen Vigna  <jug@sad.it>
4531
4532         * insettext.C (update): fixed small oversight (reset lt to 0).
4533
4534 2001-07-14  Baruch Even  <baruch@lyx.org>
4535
4536         * insetgraphics.h:
4537         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4538
4539 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
4540
4541         Consistent use of Lsstream.h:
4542         * figinset.C: removed using std::ostringstream directive.
4543
4544         * insetgraphics.C (createLatexOptions):
4545         * insetinclude.C (unique_id):
4546         std::ostringstream -> ostringstream.
4547         * insettext.C (localDispatch): std::istringstream -> istringstream.
4548
4549 2001-07-13  Juergen Vigna  <jug@sad.it>
4550
4551         * insetfloat.C (insertInsetAllowed): added missing const_cast.
4552
4553         * insetcollapsable.C (getLockingInset): ditto.
4554
4555 2001-07-12  Juergen Vigna  <jug@sad.it>
4556
4557         * insetcollapsable.h: added implementation of new function for
4558         collapsable status.
4559
4560         * various files: added implementation of new insertInsetAllowed-func
4561         and redone the function a bit more.
4562
4563         * inset.h: added isCollapsable(), bool collapsed(),
4564         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4565
4566         * insetfloat.C (insertInsetAllowed): make a bit more checks.
4567
4568         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4569         LyXText which is marked for removal while we're using it!
4570
4571         * insettext.h: added private LyXText * lt to use it to assure we are
4572         not deleting our LyXText while we're using it!
4573
4574 2001-07-11  Juergen Vigna  <jug@sad.it>
4575
4576         * insettext.C (insertInset): check if we are before the inset after
4577         inserting it! This check IS needed. Remove the Undo-Call as it is
4578         called in LyXText::insertInset!
4579
4580         * insettext.h: added struct InnerCache.
4581
4582         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4583         that we ONLY delete the LyXText in the getLyXText() routine. So we
4584         are sure we don't delete LyXText while someone is working with it!
4585
4586 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4587
4588         * insetexternal.C: (*it). -> it->
4589         * insettext.C: ditto
4590
4591 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4592
4593         * insetcollapsable.C (edit): always open collapsed insets (even if
4594         they are not autocollapsable)
4595
4596         * insetcommand.C (operator=): simplify.
4597
4598 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4599
4600         * insetert.C (latex): handle META_NEWLINE
4601
4602 2001-07-09  Juergen Vigna  <jug@sad.it>
4603
4604         * insetert.h: a normal InsetText can insert insets, but we won't.
4605
4606         * inset.h: return default "false" on insertInsetAllowed and implement
4607         this function where a returnvalue != "false" is needed.
4608
4609 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4610
4611         * insetert.C (InsetERT): new contructor
4612
4613 2001-07-06  Juergen Vigna  <jug@sad.it>
4614
4615         * a lot of files: added implementation of the below new functions
4616         and the change to clone(). Also the call of the new undo-functions
4617         where needed.
4618
4619         * inset.h: added an inset_id, added functions getParFromID,
4620         getInsetFromID, firstParagraph, cursor and id functions, added
4621         bool same_ids to clone function.
4622
4623 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4624
4625         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4626         of BufferView * and shared_ptr<LyXText>
4627
4628 2001-07-05  Juergen Vigna  <jug@sad.it>
4629
4630         * insettext.C (clear): deleted also the cache not only LyXText.
4631         (setParagraphData): ditto.
4632
4633 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4634
4635         * insetfloat.C (latex): let the specific placement take presedence
4636         if set, otherwise choose document placement if set, otherwise just
4637         use float default placement.
4638
4639 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4640
4641         * insettext.C (localDispatch): call CutAndPaste::'s static method
4642         directly.
4643
4644 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4645
4646         * insetbib.C: no meed to include forms.h here.
4647
4648 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
4649
4650         * insettext.C: added using std::make_pair directive.
4651
4652 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4653
4654         * insettext.C (getLyXText): avoid multiple lookups, and simplify
4655         slightly
4656         (deleteLyXText): ditto
4657         (resizeLyXText): ditto
4658
4659 2001-07-02  Juergen Vigna  <jug@sad.it>
4660
4661         * insettext.C (getLyXText): introduce a cache in getLyXText so that
4662         following calls are only returned the right pointer without the over
4663         head to search in the map.
4664         (various funcs): reset the cached_bview variable as this signs that
4665         the cache is not valid anymore.
4666
4667 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4668
4669         * insettabular.C (clone): do not copy the LyXTabular twice
4670
4671 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4672
4673         * insettext.h (TEXT): delete method
4674
4675 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4676
4677         * insetmarginal.C (latex):
4678         * insetfoot.C (latex): fix spacing of notes in LaTeX
4679
4680         * insettext.C (localDispatch): use .c_str() on istringstream
4681         constructor argument.
4682
4683 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
4684
4685         * insettoc.h:
4686         * insettoc.C:
4687         * inseturl.h:
4688         * inseturl.C: fix method names in these to begin
4689           with small char too, so they inherit
4690
4691 2001-06-28  Juergen Vigna  <jug@sad.it>
4692
4693         * insettext.C (setFont): fixed font settings using toggleFree()
4694         instead of setFont().
4695
4696 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4697
4698         * Change a lot of method names to begin with a small char.
4699         Changes to a lot of files because of this.
4700
4701 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4702
4703         * insetfloatlist.C (Write): std:: qualify ostream
4704         (Latex): ditto
4705
4706 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
4707
4708         * figinset.C:
4709         * inset.C:
4710         * insetgraphics.C: send debug output to Debug::INFO instead of
4711         Debug::ANY.
4712
4713 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
4714
4715         * insettabular.h:
4716         * insettabular.C (getStatus): update to use func_status
4717
4718 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
4719
4720         * insetref.C (DocBook): added support for cross-references without
4721         a name.
4722
4723 2001-06-26  The LyX Project  <jug@sad.it>
4724
4725         * insetref.C:
4726         * insetref.h:
4727         * insetlabel.C:
4728         * insetlabel.h: removed escape method and moved it to
4729         support/lstrings.h.
4730
4731 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4732
4733         * insettabular.C (getMaxWidth): do the speedup in a different way,
4734         remove dead code
4735
4736 2001-06-24  The LyX Project  <Asger>
4737
4738         * insettabular.C (getMaxWidth): We cache a mapping from
4739         inset to cell in order to speed this method up.
4740
4741 2001-06-24  The LyX Project  <Asger>
4742
4743         * insettext.C: Optimized InsetText::draw or something.
4744
4745 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
4746
4747         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
4748
4749 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4750
4751         * inset.h: name change from lyxinset.h
4752
4753 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
4754
4755         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
4756
4757 2001-06-14  Juergen Vigna  <jug@sad.it>
4758
4759         * insettext.C (draw): removed warnings.
4760
4761 2001-06-13  Juergen Vigna  <jug@sad.it>
4762
4763         * insettabular.C (nodraw): only go down the tree if we don't have
4764         that flag set otherwise it's obvious that we don't want to draw.
4765         (LocalDispatch): do also an update if we have an undispached result.
4766
4767 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
4768
4769         * insetcite.C:
4770         * insetgraphicsParams.C:
4771         * insettext.C: removed // -*- C++ -*- as first line.
4772
4773 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4774
4775         * lyxinset.h (resizeLyXText): shut off warning about unused
4776         parameter "force"
4777
4778 2001-06-07  Juergen Vigna  <jug@sad.it>
4779
4780         * insettext.C (resizeLyXText): honor the new force flag.
4781
4782         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4783
4784         * insettabular.C (deleteLyXText): new function
4785
4786 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4787
4788         * insettheorem.C:
4789         * insetminipage.C:
4790         * insetlist.C:
4791         * insetfootlike.C:
4792         * insetfloat.C:
4793         * insetert.C:
4794         * insetcollapsable.C:
4795         * insetcaption.C: LColor tidy
4796
4797 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4798
4799         * figinset.C: fix typo
4800
4801 2001-06-01  Juergen Vigna  <jug@sad.it>
4802
4803         * insettabular.C (resetPos): small hack so that scroll is not set to
4804         0 when we are in the last column of a tabular. This is a problem we
4805         have because of constats 20 offset on both directions, so this can
4806         cause on the limit an endless loop.
4807
4808         * insettext.C (SetFont): forgot that we can have locking insets ;)
4809
4810 2001-05-31  Juergen Vigna  <jug@sad.it>
4811
4812         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4813
4814 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4815
4816         * figinset.C: add using std:: directive for the C functions which
4817         need that.
4818
4819 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4820
4821         * insetfloat.C (Write): write out wide info
4822         (Read): read the wide info
4823         (Latex): use the wide info when creating latex.
4824
4825         * insettext.C: adjust
4826
4827         * insetgraphics.[Ch] (statusMessage): change to return string
4828         (width): adjust
4829         (draw): adjust
4830
4831         * figinset.C (runqueue): add std::
4832         (Recompute): ditto
4833
4834 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4835
4836         * insetcite.C (Ascii): add std:: qualifier
4837
4838 2001-05-28  Juergen Vigna  <jug@sad.it>
4839
4840         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4841         a endless-width inset (maxWidth < 0).
4842         (Edit): change language only if not equal.
4843
4844         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4845
4846         * insettext.C (draw): fixed draw/clear of InsetText-Frame
4847
4848 2001-05-16  Juergen Vigna  <jug@sad.it>
4849
4850         * insettext.C (selectAll): added
4851         (clearSelection): added
4852
4853         * insettabular.C (SetFont): now we may set a font on a whole selection!
4854         (getSelection): added helper function.
4855
4856 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
4857
4858         * insetcite.C (Ascii): Add method.
4859
4860 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
4861
4862         * figinset.C:
4863         * insetbib.C: fix path for OS/2 & Win32
4864
4865 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4866
4867         * insetfoot.C (Latex): don't use % after footnote.
4868
4869 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4870
4871         * insettext.C (Read): use clear
4872         (SetParagraphData): use LyXParagraph copy constructor instead of clone
4873
4874 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4875
4876         * insetfloatlist.h: add a bunch of std:: qualifiers.
4877
4878 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4879
4880         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4881         FLOAT_LIST_CODE, renumber code list.
4882
4883         * insettoc.C (getScreenLabel): remove support for float lists
4884         (LyxCode): ditto
4885         (Ascii): ditto
4886
4887         * insetfloatlist.[Ch]: new files
4888
4889         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4890
4891 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
4892
4893         * insettabular.C (LocalDispatch):
4894         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4895         method
4896
4897 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4898
4899         * insettext.C: remvoe !NEW_INSETS cruft
4900
4901         * insettabular.C: remove !NEW_INSETS cruft
4902
4903         * insetcollapsable.h: remove !NEW_INSETS cruft
4904
4905         * insetbib.C: remove !NEW_INSETS cruft
4906
4907 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4908
4909         * insettoc.C: hack to make listof algorithm work
4910
4911 2001-04-20  Juergen Vigna  <jug@sad.it>
4912
4913         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
4914
4915 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4916
4917         * insetquotes.C (Latex): improve the guard against
4918         unwanted !` and ?` ligatures. This should really be done in
4919         another place (to catch all this ligatures at low-level).
4920
4921 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4922
4923         * insettext.C (init): remvoe leftovers from cursor_visible change
4924         (draw): use c++ cast
4925         (LocalDispatch): dispatch LFUN_MESSAGE
4926
4927         * insettabular.C (InsetTabular): remove leftovers from
4928         cursor_visible, and scoped_ptr changes
4929         (draw): use c++ cast
4930
4931         * insetcollapsable.C (draw): use c++ cast
4932
4933         * ExternalTemplate.h: inherit privaely from noncopyable
4934         * insetcommand.h: ditto
4935         * insetinclude.h: ditto
4936
4937 2001-04-16  Allan Rae  <rae@lyx.org>
4938
4939         * insettoc.C (Ascii):
4940         * insettext.C (draw):
4941         * insettabular.C (setPos):
4942         * insetminipage.C (Read):
4943         * insetfloat.C (placement):
4944         * insetcaption.C (Ascii, DocBook):
4945         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4946         an unrecognised preprocessor directive.  So ensure they're wrapped.
4947
4948 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
4949
4950         * insetexternal.h:
4951         * insetexternal.C: set view on Clone. Add _ to private members.
4952
4953 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4954
4955         * insettext.C (InsetText): fix new
4956         (InsetText): reindent some, simplify deletion of par list
4957         (clear): simplify deletion of par list, fix new
4958         (SetParagraphData): simplify deletion of par list
4959
4960         * insettabular.[Ch] (getLabelList): implement new method
4961
4962 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4963
4964         * lyxinset.h: do not include gettext.h...
4965
4966         * inset.C:
4967         * insetcaption.C:
4968         * insetexternal.C:
4969         * insetgraphics.C:
4970         * insetindex.C:
4971         * insetlabel.C:
4972         * insetlatexaccent.C:
4973         * insetminipage.C:
4974         * insetquotes.C:
4975         * insettabular.C:
4976         * inseturl.C: ... and do it here instead
4977
4978 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4979
4980         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4981
4982         * insettext.[Ch] (getLabelList): add std:: on vector<string>
4983
4984         * insetcollapsable.[Ch] (getLabelList): implement
4985
4986         * insettext.[Ch] (getLabelList): implement
4987
4988         * insettext.h: reindent
4989
4990         * insettabular.h: make tabular a scoped_ptr
4991
4992         * insettext.C (init): adjust for cursor_visible
4993         (ToggleInsetCursor): constify asc and desc, font, adjust for
4994         cursor_visible
4995         (ShowInsetCursor): constify asc and desc, font, adjust for
4996         cursor_visible
4997         (HideInsetCursor): adjust for cursor_visible
4998
4999         * insettabular.C: reindent some
5000         (InsetTabular): adjust for scoped_ptr and cursor_visible
5001         (InsetTabular): ditto
5002         (~InsetTabular): delete delete
5003         (Clone): adjust for scoped_ptr
5004         (Read): constify old_format, adjust for scoped_ptr, move init of
5005         token
5006         (draw): constify tx, localize loop vars.
5007         some other localization of variables, remove double initilizatons.
5008
5009         * insetfoot.C: remove using std::ostream, add ostream where needed
5010
5011 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5012
5013         * lyxinset.h: some reindentaion, use initializer list for
5014         constructro.
5015         UpdatableInset: make cursor_visible a private var add
5016         public isCursorVisible(), add protected toggleCursorVisible() and
5017         proctected setCursorVisible(bool), make scroll call the Inset::scroll
5018
5019         * insettoc.C: remvoe using decl
5020         (getScreenLabel): make cmdname donst
5021         (LyxCode): ditto
5022         (Ascii): ditto
5023         (Ascii): don't use endl
5024
5025         * insetfootlike.C: remove using decl at file scope and add std::
5026         where needed
5027         * insetmarginal.C: ditto
5028
5029         * insetfoot.C: some reformatting
5030
5031         * insetfloat.C (InsetButtonRelease): adjust the hit area
5032
5033         * insetert.C (SetFont): some reformatting
5034
5035         * insetcollapsable.C: some reformatting and constification
5036         (Clone): comment out.
5037         * insetcollapsable.h: some reformatting
5038         (Clone): comment out.
5039
5040         * inset.C: reindent
5041         (scroll): simplify
5042
5043 2001-03-30  Juergen Vigna  <jug@sad.it>
5044
5045         * insetcollapsable.h: changen *inset to be a InsetText inset.
5046
5047         * some files: changed to reflect the above change.
5048
5049 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
5050
5051         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5052         InsetExternal::Params.
5053         Added operator==() and operator!=() for the Params struct.
5054
5055 2001-03-29  Juergen Vigna  <jug@sad.it>
5056
5057         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5058         BufferView *.
5059
5060         * insetminipage.C: removed widthp_ and all it's functions and changed
5061         to use new %-lengths of LyXLength.
5062
5063 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
5064
5065         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5066
5067 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
5068
5069         * insetgraphicsParams.C (operator!=): new function, needed by the
5070         ControlGraphics class.
5071
5072 2001-03-28  Juergen Vigna  <jug@sad.it>
5073
5074         * insettext.C (InsetButtonPress): only enter !inset if button == 2
5075         (checkAndActivateInset): don't use the values returned from
5076         call to bv->checkInsetHit.
5077
5078         * insetminipage.C (Clone): set special minipage values.
5079
5080         * insetcollapsable.C (draw): changed to draw the button in the
5081         upper left corner outside the textinset.
5082         (ascent): changed because of different drawing
5083         (descent): ditto
5084         (width): ditto
5085         (Edit): ditto
5086         (InsetButtonPress): ditto
5087         (InsetButtonRelease): ditto
5088         (InsetMotionNotify): ditto
5089
5090 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
5091
5092         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5093         contain a suffix.
5094         (Clone): ditto
5095
5096 2001-03-26  Juergen Vigna  <jug@sad.it>
5097
5098         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5099
5100         * insettext.C (ShowInsetDialog): implemented above function.
5101
5102         * insettabular.C (ShowInsetDialog): ditto
5103
5104         * insetminipage.C (ShowInsetDialog): ditto
5105
5106 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
5107
5108         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5109         InsetInclude::Params. Don't store a buffer * in Params. Store the
5110         master file name instead.
5111
5112 2001-03-23  Juergen Vigna  <jug@sad.it>
5113
5114         * insetcollapsable.C (InsetMotionNotify):
5115         (InsetButtonRelease):
5116         (InsetButtonPress): fixed y-offset (minipages).
5117
5118         * insettext.C (draw): force a FULL update if cleared == true.
5119
5120         * insetcollapsable.C (draw): Lars forgotten entry for changing this
5121         routine to draw the minipages on its position-flag.
5122         (InsetInInsetY): give back the right y position, because of minipage
5123         position-flag.
5124
5125 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
5126
5127         * insetfloat.h
5128         * insetfloat.C (DocBook): docbook export code.
5129
5130 2001-03-22  Juergen Vigna  <jug@sad.it>
5131
5132         * insetminipage.C (getMaxWidth): added function to set the drawing
5133         width!
5134         (Read): should work now!
5135
5136         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5137         if we create a new inset.
5138
5139 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
5140
5141         * figinset.C (fl_set_preemptive_callback): moved definition outside
5142         of namespace anon.
5143
5144 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5145
5146         * insetminipage.C (Read): prepare for reading of minipage arguments.
5147
5148 2001-03-18  Baruch Even  <baruch@lyx.org>
5149
5150         * insetgraphics.C: Minor cleanups of the comments and code.
5151
5152 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5153
5154         * insetminipage.C (InsetMinipage): default to not collapsed
5155
5156 2001-03-16  Juergen Vigna  <jug@sad.it>
5157
5158         * insetminipage.C (width): modified with to be a string
5159         (widthp): added widthp (for % width) support functions.
5160         (InsetButtonRelease): added to open the options dialog on button==3.
5161         (~InsetMinipage): added to hide the dialog.
5162
5163         * insetminipage.h: added hideDialog signal
5164
5165 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5166
5167         * insetminipage.h: change the order or Position to match
5168         LyXParagraph::MINIPAGE_ALIGNMENT
5169
5170         * several files: remvoe CXX_WORKING_NAMESPACES
5171
5172         * ExternalTemplate.h: noncopyable is in namespace boost
5173         * insetinclude.h: ditto
5174         * insetcommand.h: ditto
5175
5176 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5177
5178         * insettext.C (Edit): #else# -> #else.
5179         * insettoc.C: added using directive.
5180
5181 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5182
5183         * insetminipage.h: add pos, inner_pos, width and height. + getters
5184         and setters for all of them.
5185
5186 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
5187
5188         * insetinclude.C (Latex): Do not exit when the textclass of the
5189         included file differ from the textclass of the parent file.
5190
5191 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
5192
5193         * ExternalTemplate.C (read): the reading of external insets now checks
5194         for \end_inset and removes it form the input stream.
5195
5196 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
5197
5198         * ExternalTemplate.h:
5199         * ExternalTemplate.C:
5200         * insetexternal.h:
5201         * insetexternal.C: move form to GUII
5202
5203 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5204
5205         * insetinclude.h:
5206         * insetinclude.C: add InsetIncludeParams, use
5207         composition rather than derivation of InsetCommand
5208
5209 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5210
5211         * insettoc.C (Ascii): use the Buffer typedefs
5212
5213 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5214
5215         * insettoc.C (Ascii): implement for dynamic number of lists
5216
5217         * insetcaption.[Ch]: update from new_insets branch
5218         * insetfloat.[Ch]: ditto
5219
5220 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
5221
5222         * insetexternal.C:
5223         * figinset.C: use new File Dialog
5224
5225 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5226
5227         * insettext.C: changes becuase of ParagraphParameters.
5228
5229 2001-02-28  Baruch Even  <baruch@ev-en.org>
5230
5231         * insetgraphics.C (updateInset): Changed due to the change in
5232         GraphicsCache.
5233
5234 2001-02-26  Juergen Vigna  <jug@sad.it>
5235
5236         * insettext.C (SetFont): Set Undo only if we have selection (as it is
5237         handled in LyXText).
5238
5239 2001-02-23  Juergen Vigna  <jug@sad.it>
5240
5241         * insettext.C (draw): some small repainting fixes.
5242         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5243
5244         * inset.C (LocalDispatch): changed action to be a kb_action (as it
5245         should be) and not an int.
5246
5247         * insettabular.C (LocalDispatch): ditto
5248
5249         * insettext.C (LocalDispatch): ditto
5250
5251         * insetcollapsable.C (LocalDispatch): ditto
5252
5253 2001-02-22  Juergen Vigna  <jug@sad.it>
5254
5255         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5256         DISPATCH it and we don't have a locking_inset.
5257
5258 2001-02-21  Baruch Even  <baruch@ev-en.org>
5259
5260         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5261         instead of GraphicsCacheItem *.
5262
5263 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5264
5265         * insetcollapsable.C (getLyXText): add const qualifier to second
5266         parameter.
5267
5268 2001-02-22  Juergen Vigna  <jug@sad.it>
5269
5270         * insettext.C (getLyXText): honor the recursive parameter.
5271         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5272
5273         * inset.C (getLyXText): added bool recursive parameter.
5274
5275         * insettext.C (SetUpdateStatus): or the update codes.
5276         (draw): check need_update with &.
5277         (InsetButtonPress): set no_selection to not put a selection when
5278         entering an inset and it is redraws in another spot.
5279
5280         * insettext.h: made need_update an int.
5281
5282 2001-02-20  Baruch Even  <baruch@ev-en.org>
5283
5284         * insetgraphics.h:
5285         * insetgraphisc.C: Changed to use better semantics when loading images
5286         for inline view. Now it doesn't keep the pixmap itself but it's holder.
5287
5288 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
5289
5290         * insetcommand.h:
5291         * inseterror.h:
5292         * insetgraphics.C: change name of "hide" signal to "hideDialog",
5293         consistent with InsetTabular.
5294
5295 2001-02-19  Juergen Vigna  <jug@sad.it>
5296
5297         * insettabular.C (LocalDispatch): implement PAGE up/down.
5298
5299         * insettext.C (draw): clear all of it on need_update==INIT too!
5300
5301         * insettabular.C (InsetUnlock): always clear the selection.
5302
5303         * inset.C (scroll): normally we only want to scroll the inset until
5304         it is fully visible so if top_x + offset > 20 then just set scx to 0.
5305
5306 2001-02-14  Juergen Vigna  <jug@sad.it>
5307
5308         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5309         (resetPos): fixed scroll behaviour.
5310         (LocalDispatch): do an update if moving cursor inside a table cell
5311         requests a scroll of the tabular.
5312
5313 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
5314
5315         * insettext.C (textWidth): constify local var
5316
5317         * insettabular.C: small cleanup.
5318
5319         * insetfoot.C (Latex): constify local var
5320
5321         * insetcollapsable.C: small cleanup.
5322
5323         * figinset.C (runqueue): use compare instead of strcmp
5324
5325 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
5326
5327         * insettext.C:
5328         * insetinfo.C: remove cruft
5329
5330 2001-02-14  Juergen Vigna  <jug@sad.it>
5331
5332         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5333
5334 2001-02-13  Juergen Vigna  <jug@sad.it>
5335
5336         * insettext.C (InsertInset): don't move left (is this right?)
5337
5338         * insettabular.C (LocalDispatch): use of the no_draw variable
5339
5340         * insettabular.h: new no_draw variable to stop redraw
5341
5342         * insettabular.C (TabularFeatures): fixed update for alignment change
5343
5344 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
5345
5346         * insetinclude.C:
5347         * insetbib.h:
5348         * insetbib.C: move dialogs to frontends/
5349
5350 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
5351
5352         * insettext.C (LocalDispatch): Restore the language if the inset
5353         becomes empty.
5354
5355 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
5356
5357         * insettext.C (moveRightIntern): Update the selection cursor.
5358         (moveLeftIntern): Ditto.
5359
5360 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5361
5362         * Makefile.am: remove BoundingBox.h
5363
5364         * BoundingBox.h: removed
5365
5366 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
5367
5368         * insettext.C (LocalDispatch): Update selection cursor when moving
5369         cursor to the right.
5370         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5371         (moveLeftIntern): Ditto.
5372
5373 2001-02-05  Baruch Even  <baruch.even@writeme.com>
5374
5375         * insetgraphics.C: Updated automatic image conversion, it now goes into
5376         temporary directory instead of with the image itself.
5377
5378 2001-01-21  Baruch Even  <baruch@ev-en.org>
5379
5380         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5381         to EPS or PNG when needed (support bitmap graphics).
5382
5383 2000-11-02  Baruch Even  <baruch@ev-en.org>
5384
5385         * insetgraphics.C:
5386         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5387         and removal of commented out code.
5388
5389 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5390
5391         * insetbib.C (callback): Update citations if the key has changed.
5392
5393 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
5394
5395         * insetbib.C (InsetBibKey): Better computation of default key.
5396         (getScreenLabel) Show both the key and the label.
5397         (getBibLabel): New method.
5398         (callback): Force a redraw if the inset have been changed.
5399
5400 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
5401
5402         * insetref.C (getType, getName): Move methods from
5403         src/frontends/xforms/FormRef.C.
5404
5405 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
5406
5407         * insettabular.C: Various improvements (use only one dummy position).
5408
5409 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
5410
5411         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5412         par->bibkey->width. This fixes the crashes when running without
5413         gui or when having included documents.
5414
5415 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
5416
5417         * insetcommand.C (getAsString, setFromString): Cleanup.
5418
5419 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
5420
5421         * insetref.C: Add the array InsetRef::types that contains
5422         information about all supported reference types.
5423
5424 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5425
5426         * lyxinset.h: remove trailing comma in enum.
5427
5428 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
5429
5430         * insettext.C: kill LyXBell.