]> git.lyx.org Git - features.git/blob - src/insets/ChangeLog
Fixed changed-status for collapsable insets.
[features.git] / src / insets / ChangeLog
1 2001-10-03  Juergen Vigna  <jug@sad.it>
2
3         * insetert.C: ditto
4
5         * insetcollapsable.C: change updateInset calls to not tell BV that
6         we have changed status.
7
8 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9
10         * insettabular.C (deletable): make const
11
12 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13
14         * insetert.C (latex): Fix the returned value
15
16 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
17
18         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
19         Returns string(), so nothing in an ERT inset is spellchecked.
20
21         * insetgraphics.C (draw): print the filename if not displaying the
22         image.
23         (width): make sure that the width and draw methods are consistent.
24         (updateInset): don't even load the image into cache if not displaying
25         it.
26
27 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
28
29         * various files (selectNextWord): renamed as
30         selectNextWordToSpellcheck.
31
32         * insetgraphics.C (draw): remove the previous change. Right place
33         is in imageLoaderXPM.C.
34         (draw): don't display the image if params.display == NONE.
35
36 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
37
38         * figinset.C (runqueue):
39         * insetgraphics.C (draw): set background colour of inset from
40         background to the user-configurable graphicsbg.
41
42 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
43
44         * insetquotes.C (InsetQuotes): when trying to decide the side of
45         the quote, choose `left' only after a space or '('
46
47 2001-09-04  José Matos  <jamatos@fep.up.pt>
48         * figinset.C
49         * figinset.h
50         * insetcaption.C
51         * insetcaption.h
52         * insetcollapsable.h
53         * insetcommand.C
54         * insetcommand.h
55         * inseterror.h
56         * insetert.C
57         * insetert.h
58         * insetexternal.C
59         * insetexternal.h
60         * insetfloat.C
61         * insetfloat.h
62         * insetfloatlist.h
63         * insetgraphics.C
64         * insetgraphics.h
65         * inset.h
66         * insetinclude.C
67         * insetinclude.h
68         * insetlabel.C
69         * insetlabel.h
70         * insetlatexaccent.C
71         * insetlatexaccent.h
72         * insetquotes.C
73         * insetquotes.h
74         * insetref.C
75         * insetref.h
76         * insetspecialchar.C
77         * insetspecialchar.h
78         * insettabular.C
79         * insettabular.h
80         * insettext.C
81         * insettext.C (docbook): rename docBook method to docbook.
82
83 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
84
85         * inset.h (getFirstParagraph): New virtual method.
86
87 2001-08-20  Herbert Voss  <voss@perce.de>
88         * insetbib.C: added a option bibtotoc which is from "BIB to TOC" 
89         in the the bibtex-database-gui for inserting a line
90         \addcontentsline... 
91
92         If no style is given than there is no tex-output.
93         
94 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
95
96         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
97         files as a vector.
98         (getKeys): use it.
99
100 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
101
102         * insetert.C (latex): Fix output for multiple paragraphs.
103         (write): New code for writing paragraph data.
104         (read): Set font after reading the inset.
105         (localDispatch): Call set_latex_font() for more cases.
106
107         * insetnote.h: Add empty validate method.
108         * insetert.h: Ditto
109
110         * insetnote.C (InsetNote): Set language to the language of the 
111         document.
112
113 2001-08-16  Juergen Vigna  <jug@sad.it>
114
115         * insettext.C: implemented the new FINISHED states.
116
117         * insettabular.C: ditto 
118
119         * inset.h: added more FINISHED states for cursor right,up,down
120
121 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
122
123         * insetfloatlist.C: use "FloatName List" 
124  
125 2001-08-14  Juergen Vigna  <jug@sad.it>
126
127         * insetert.C (edit): forgot to set status_ in edit calls!
128
129 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
130
131         * insettext.C: Compilation fix
132
133 2001-08-13  Juergen Vigna  <jug@sad.it>
134
135         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
136
137         * insetcollapsable.C (edit): don't recollapse an already open inset.
138
139         * insettext.C: fixed problem when reinitializing LyXText by not doing
140         it while lt is in use and post this to the next possible time in
141         getLyXText().
142         (searchForward): fixed not unlocking of inset if nothing found.
143         (edit): set cursor behind right (was set -1 pos).
144
145         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
146
147         * insettabular.C (tabularFeatures): fixed fix where deleting the
148         last row didn't get the right actcell!
149
150 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
151
152         * insettext.C (localDispatch): Change language only when the inset 
153         becomes empty.
154
155 2001-08-10  Juergen Vigna  <jug@sad.it>
156
157         * insettabular.C (selectNextWordInt): use the front using edit call.
158
159         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
160         the parameter overwrite class variable inset.
161
162         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
163
164         * insettext.C (saveLyXTextState): check for invalid cursor-par.
165         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
166
167         * insettabular.C (calculate_dimensions_of_cells): let's try to call
168         update only for fixed with cells.
169         (resetPos): try to fix the lockup on spellchecking or s&r.
170
171         * insettext.C (update): comment this out as it seems first wrong
172         and second not needed anymore!
173         (some functions): call reinitLyXText() only in update() in all other
174         positions set only need_update = INIT.
175
176 2001-08-08  Juergen Vigna  <jug@sad.it>
177
178         * insettabular.C (setPos): fixed wrong actrow < rows() check.
179
180         * insettext.C (insetUnlock): remove double-space on inset unlock.
181
182         * insetcollapsable.C (draw): fix returned x when label > inset-width.
183
184         * insettabular.C (update): fixed cursor positon after an insert.
185         (insetAllowed): do not allow to insert insets when not inside the
186         inset!
187         (draw): clear below an inset too as it could have changed height.
188
189         * inset.C (getMaxWidth): fixed width for inset in inset.
190
191         * insettext.C (update): small fix.
192
193         * insettabular.C (tabularFeatures): added selection support to
194         DELETE_ROW/DELETE_COLUMN.
195
196 2001-08-07  Juergen Vigna  <jug@sad.it>
197
198         * inset.C (getMaxWidth): recoded and all it's implementations!
199
200         * insettext.C (init,setParagraph+constructors): cleanups
201         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
202         are new and I want do a save/restore of the cursor position which is
203         not possible anymore.
204
205         * insetcollapsable.C (searchBackward): recollapse inset if not found.
206         (searchBackward): ditto
207         (selectNextWord): ditto
208
209 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
210
211         * insetlatexaccent.C (checkContents): Add some debug messages
212
213 2001-08-07  Juergen Vigna  <jug@sad.it>
214
215         * insetert.C (read): don't use InsetCollapsable::read as we don't
216         write the collapsed status anymore only the status.
217         (write): ditto.
218
219 2001-08-06  Juergen Vigna  <jug@sad.it>
220
221         * insetert.C (set_latex_font): use LyXText's setFont directly.
222
223         * insettext.C (drawFrame): fixed one time more the right position
224         and size of the frame!
225
226         * insetert.C (~InsetERT): hide the dialog.
227         (showInsetDialog): added implementation
228         (open): ditto
229         (close): ditto
230         (status): new function for the status of the ERT inset (3-state).
231         (write): output also the status of the inset for readback!
232         (read): readback the status if available otherwise use collapsed_.
233
234         * insettext.C (edit): small fix of setting the position, which could
235         have gone < 0.
236
237         * insetert.C (width): implement this function for inlined viewing.
238         Added minimum width of 10 pixels!
239
240         * insetminipage.C (InsetMinipage): just change the colors a bit so
241         that border/background is a bit more visible. We will remove this
242         anyway for 1.2.0!
243
244         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
245         function for getting the important widths for drawing in various
246         functions and in LyXText.
247         (draw): fixed up a bit (frame drawing/clearing)
248
249 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
250
251         * inset.C (convertFont): delete method. not used. 
252
253 2001-08-03  Juergen Vigna  <jug@sad.it>
254
255         * insettext.C (setFont): don't call for a draw update if we're just
256         changing the cursor font!
257
258 2001-08-02  Juergen Vigna  <jug@sad.it>
259
260         * insettext.C (draw): clear the background with the right color if
261         needed. Update myself if x&max-width changed and return without doing
262         anything. Let the update code handle the right stuff.
263
264         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
265         inside another inset.
266
267 2001-08-01  Juergen Vigna  <jug@sad.it>
268
269         * insetcollapsable.C (update): added an in_update bool so we avoid
270         reentering.
271
272         * insettabular.C (update): added an in_update bool so we avoid
273         reentering.
274
275         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
276         selection problem.
277         (update): added an in_update bool so we avoid reentering.
278
279         * insettabular.C (localDispatch): clear col/row selection when doing
280         something else inside an inset.
281
282         * insettext.C (getLyXText): fixed bug when requesting a recursive
283         insettext!
284
285 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
286
287         * insetcite.C (latex): Paranoia check. Make sure that there is no
288         whitespace between the citation keys.
289
290 2001-07-31  Juergen Vigna  <jug@sad.it>
291
292         * inset.h (nodraw): make the set function also const so that this
293         can be called from inside other const functions.
294
295         * insetcollapsable.h: removed inline variable and moved it over
296         to the only user InsetERT.
297
298         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
299         inset opening immediately therein lying insets dialogs!
300
301         * insetert.C (localDispatch): set the font also if we don't have any
302         chars in this paragraph, otherwise if we delete all of em and start
303         writing we have the wrong font.
304         (inlined): added
305         (draw): implemented for inline support
306         (insetButtonRelease): ditto.
307
308 2001-07-30  Juergen Vigna  <jug@sad.it>
309
310         * insettext.C (reinitLyXText): new function to reinit the insets
311         text after lot's of paragraph changes. Use this instead of the
312         cache.clear() which is VERY dangerous.
313
314         * insetfloat.C (insetButtonRelease): we should only show the dialog
315         if we press on the label otherwise we have problems to open mouse
316         button 3 dialogs inside this float (f.ex. of a tabular!)
317
318 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
319
320         * insetert.C: change back to "ERT"
321
322         * insetfloat.C: handliign of RMB on label added.
323
324 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
325
326         * insetgraphicsParams.C: #include LOstream.h here.
327
328         * insetfoot.h: remove InsetFoot:: qualifier.
329
330 2001-07-29  Baruch Even  <baruch@lyx.org>
331
332         * ChangeLog: Hiding time travel evidence.
333
334         * insetgraphicsParams.h:
335         * insetgraphicsParams.C: 
336         * insetgraphics.C: Added horizontal scale option, it actually scales both
337         directions since it keeps image proportions.
338
339         * insetgraphics.C: Fixed EPS detection to be non-hacky.
340
341 2001-07-29  Baruch Even  <baruch@lyx.org>
342
343         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
344         convert PNG/GIF/JPG to EPS, assume the rest are EPS already. 
345
346         HACKY! Will need to add an EPS detection routine like old InsetFig does!
347
348 2001-07-29  Baruch Even  <baruch@lyx.org>
349
350         * insetgraphics.C: Added EPSI to be an alias of EPS.
351
352 2001-07-29  Baruch Even  <baruch@lyx.org>
353
354         * insetgraphics.C: Change GRAPHICS to Graphics.
355         Changed image conversion rules (documented at the beginning of file).
356
357 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
358
359         * insetert.C (get_new_label): int -> Paragraph::size_type to get
360         std::min working.
361
362         * insetgraphics.C: added a using std::endl directive.
363
364         * insetcommand.h (getScreenLabel): removed pure virtual function,
365         as it duplicates that in InsetButton.
366
367         * insetbib.[Ch] (getScreenLabel):
368         * insetbutton.[Ch] (getScreenLabel):
369         * insetcite.[Ch] (getScreenLabel):
370         * insetert.[Ch] (getScreenLabel):
371         * insetexternal.[Ch] (getScreenLabel):
372         * insetfloatlist.[Ch] (getScreenLabel):
373         * insetinclude.[Ch] (getScreenLabel):
374         * insetindex.[Ch] (getScreenLabel):
375         * insetlabel.h (getScreenLabel):
376         * insetparent.[Ch] (getScreenLabel):
377         * insetref.[Ch] (getScreenLabel):
378         * insettoc.[Ch] (getScreenLabel):
379         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
380
381         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
382         the label.
383         (validate): remove check on "cite" when using natbib.
384
385 2001-07-26  Baruch Even  <baruch@lyx.org>
386
387         * insetgraphics.C (draw): changed casting to be in one place rather than 
388         all over the function.
389
390         * insetgraphics.h:
391         * insetgraphics.C (read): Added compatibility reads of InsetFig.
392         
393         * insetgraphicsParams.h:
394         * insetgraphicsParams.C: 
395         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
396
397 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
398
399         * insetfoot.C (validate): Added method to ensure that the
400         right bit of LaTeX is emitted.
401
402         * insetfoot.h: Added validate method to set the correct
403         LaTeXFeatures bit for the special footnote code.
404
405 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
406
407         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
408         quotes
409
410 2001-07-27  Juergen Vigna  <jug@sad.it>
411
412         * inset.h: remove not used font variable in parameter.
413         removed checkInsertChar in UpdatableInset as it was equal to
414         the one in Inset and so not needed.
415
416         * insetert.C (checkInsertChar): implementation of function
417         checkInsertChar.
418
419         * inset.h: added new function checkInsertChar.
420
421         * various files: added c-tor and clone() function.
422         
423         * insetcollapsable.h: removed clone function here as this should
424         be only realized in REAL insets and added it to all collapsable
425         insets! (with the copy-constructor).
426
427 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
428
429         * insetminipage.C (read): handle missing parameters more gracefully
430
431         * insetcollapsable.C (read): handel missing collapsed more gracefully
432
433 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
434
435         * insetfloat.C (read): handle missing parameters.
436
437         * insettext.C (read): handle old latex end_inset
438
439         * insetert.C (setButtonLabel): new method
440         (init): use it, to set the dynamic label correctly
441         (read): use it
442
443         * Makefile.am (EXTRA_DIST): add files that is not part or the
444         binary here.
445
446         * insetcollapsable.h: remove autocollapsable (no users), remove
447         draw_label, change_label_with_text and companion code. Remove args
448         from some methods.
449         * insetert.[Ch]: move here instead (only user)
450
451         * inset.h: rename private variable name to name_, make
452         selectNextWord return a const string. make getInsetName return a
453         string const &. Remove bool from open, add close.
454
455         * Makefile.am: don't compile insetlist, insetsection
456         and insettheorem
457
458 2001-07-24  Juergen Vigna  <jug@sad.it>
459
460         * insetert.C (InsetERT): put init after the paragraph initialization,
461         as otherwise we don't set the draw_label right.
462
463         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
464         insets with the mouse without having strange selections.
465         (edit): if the inset was collapsed and we open it here then put the
466         cursor always at the beginning of the inset.
467         (get_new_label): 15 instead of 10 max chars in the label.
468
469         * insetert.C (localDispatch): added and handle various stuff we
470         need to handle here (font setting on paragraph break, not permitted
471         layout setting, etc.).
472
473         * inset.h: added default copy-consturctor and implemented this in
474         various insets with the change to use this in the clone function!
475
476 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * insetminipage.C (InsetMinipage): set background color to red :)
479
480 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
483         draw frame mode is LOCKED.
484
485         * insetcollapsable.C (edit): 
486         (insetButtonRelease): set update status to full when
487         opening inset.
488
489         * insettext.C (clearInset): 
490         * insettabular.C (draw): 
491         * insetlatexaccent.C (draw): honor background color.
492
493         * inset.h: new member background_color_, initialized to
494         LColor::inherit.
495
496         * inset.C (backgroundColor): new method.
497         (setBackgroundColor): new method.
498
499         * insetert.C (init): new method, called by the ctors.
500         (InsetERT): when inserting contents, make sure the font is
501         ALL_INHERIT.
502
503         * insetnote.C (InsetNote): when inserting content, remove trailing
504         newline
505         (init): set background color to LColor::note
506
507 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
508
509         * insetcollapsable.C: adjust
510
511         * insetbutton.C: adjust
512
513 2001-07-23  Juergen Vigna  <jug@sad.it>
514
515         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
516         parameter on the _collapsed function (was not needed) and call
517         always width_collapsed().
518
519         * insetert.C (InsetERT): use setLabel with "true" flag.
520
521         * insetcollapsable.C: modified various functions to set the draw_label
522         string right in any condition.
523         (setLabel): added a bool parameter to set change_label_with_text.
524
525         * insetcollapsable.h: added draw_label string which is set to the
526         actual drawn label-string, while label is the original static label
527         of this collapsable inset. Added bool change_label_with_text to set
528         if we want that the label changes to the start of the InsetText's
529         text when collabpsed. You can set this flag with the setLabel funciton.
530         Added bool inlined for inlined collapsable insets, but not handled
531         yet.
532
533         * insetcollapsable.C (get_new_label): added should get a new label
534         from the InsetText beginning (for now 10 chars).
535
536 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
537
538         * insetquotes.C (latex): fix the handling of french double quotes
539         when not using the french pachage.
540
541 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * insetcollapsable.h: make WidthCollapsed mutable.
544
545         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
546         InsetPrintIndex returns INDEX_PRINT_CODE.
547
548         * inset.h: add INDEX_PRINT_CODE
549
550         * insetcollapsable.C (draw): init widthCollapsed if necessary
551         (width): ditto.
552
553         * insetquotes.C (width): use the local language, not the document
554         language.
555         (draw): ditto.
556         (dispString): add additional spacing for all french languages,
557         like fr_CA.
558         (validate): make it work when there is no default language
559
560         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
561
562         * insetnote.C (init): new method, called by the constructors
563         (InsetNote): new constructor with contents passed as a string
564
565 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * insetfootlike.C (insetAllowed): disallow float in footlike.
568
569         * insetert.C (InsetERT): add collapsed argument to the constrctor
570         with contents.
571
572 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
573
574         * insetindex.h: shut off warning
575
576 2001-07-20  Juergen Vigna  <jug@sad.it>
577
578         * insetcollapsable.C (update): recoded hopefully works now!
579
580 2001-07-19  Juergen Vigna  <jug@sad.it>
581
582         * most files: implemented the below new introduced function.
583         
584         * inset.h: added new edit(BufferView *, bool front) method to be able
585         to enter an inset from the front/back without knowing x/y positions
586         and baselines inside the inset. So I just can tell the inset activate
587         me and set the cursor on the front/back of yourself.
588
589 2001-07-18  Juergen Vigna  <jug@sad.it>
590
591         * insetcollapsable.C (edit): fixed hopefully the y parameter which
592         is givven to the InsetText.
593         (insetButtonPress): ditto
594         (insetButtonRelease): ditto
595         (insetMotionNotify): ditto
596
597 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
598
599         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
600         LIGATURE_BREAK, since the name is so stupid.
601
602 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
603
604         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
605         the default InsetCollapsable methods. I.e., it can insert anything.
606         (write) output the name of the inset, not some silly hack for
607         compatability with the old InsetInfo.
608         
609         * insetinfo.[Ch]: removed.
610         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
611         now collapsable, but functionality is otherwise identical to InsetInfo.
612
613         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
614
615 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
618         reformatting
619
620         * insetquotes.C: general cleanup
621         (dispString): add spaces inside french double quotes.
622         (latex): ditto. Moreover, treat first the case where the frenchb
623         or french options have been given.
624
625 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
626
627         * insetcite.[Ch] (latex, validate): new methods, required for natbib
628         support.
629
630 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
631
632         * figinset.C (RegisterFigure): Print debug message only when
633         current_view is available.
634
635 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * many files: update to match the change below
638
639         * inset.h (insetAllowed): renamed from insertInsetAllowed;
640         implement the version which takes an inset here.
641
642         * insetcollapsable.[Ch]: implement open and isOpen
643
644         * inset.h: remove insertInsetAllowed from Inset
645         (open): new method, to open or close an inset
646         (isOpen): returns the status of an inset
647         (isCollapsable, colapse): removed
648
649 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
650
651         * insetquotes.C (dispString): display french guillemets when using
652         ISO8859-15.
653
654 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
655
656         * insetcollapsable.h: remove bogus return statements
657
658 2001-07-18  Juergen Vigna  <jug@sad.it>
659
660         * insettabular.C (selectNextWord): fixed spellchecking for the
661         first cell of a tabular (wasn't entered!)
662         (getLyXText): changed to enter automatically insettext and return
663         it's LyXText if we're locked.
664
665 2001-07-17  Juergen Vigna  <jug@sad.it>
666
667         * various files: implemented the below functions.
668         
669         * inset.h: added functions
670         - virtual string selectNextWord(BufferView *, float & value) const;
671         - virtual void selectSelectedWord(BufferView *) { return; }
672         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
673         needed for spellchecking correctly!
674
675 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
676
677         * insetert.C (latex): write out all paragraphs.
678
679 2001-07-17  Baruch Even  <baruch@lyx.org>
680
681         * insetgraphics.C (draw): Removed unneeded casts.
682
683 2001-07-16  Juergen Vigna  <jug@sad.it>
684
685         * insettext.C (update): fixed small oversight (reset lt to 0).
686
687 2001-07-14  Baruch Even  <baruch@lyx.org>
688
689         * insetgraphics.h:
690         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
691
692 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
693
694         Consistent use of Lsstream.h:
695         * figinset.C: removed using std::ostringstream directive.
696
697         * insetgraphics.C (createLatexOptions):
698         * insetinclude.C (unique_id):
699         std::ostringstream -> ostringstream.
700         * insettext.C (localDispatch): std::istringstream -> istringstream.
701
702 2001-07-13  Juergen Vigna  <jug@sad.it>
703
704         * insetfloat.C (insertInsetAllowed): added missing const_cast.
705
706         * insetcollapsable.C (getLockingInset): ditto.
707
708 2001-07-12  Juergen Vigna  <jug@sad.it>
709
710         * insetcollapsable.h: added implementation of new function for
711         collapsable status.
712
713         * various files: added implementation of new insertInsetAllowed-func
714         and redone the function a bit more.
715         
716         * inset.h: added isCollapsable(), bool collapsed(),
717         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
718
719         * insetfloat.C (insertInsetAllowed): make a bit more checks.
720
721         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
722         LyXText which is marked for removal while we're using it!
723
724         * insettext.h: added private LyXText * lt to use it to assure we are
725         not deleting our LyXText while we're using it!
726
727 2001-07-11  Juergen Vigna  <jug@sad.it>
728
729         * insettext.C (insertInset): check if we are before the inset after
730         inserting it! This check IS needed. Remove the Undo-Call as it is
731         called in LyXText::insertInset!
732
733         * insettext.h: added struct InnerCache.
734
735         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
736         that we ONLY delete the LyXText in the getLyXText() routine. So we
737         are sure we don't delete LyXText while someone is working with it!
738
739 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
740
741         * insetexternal.C: (*it). -> it->
742         * insettext.C: ditto
743
744 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
745
746         * insetcollapsable.C (edit): always open collapsed insets (even if
747         they are not autocollapsable)
748
749         * insetcommand.C (operator=): simplify.
750
751 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
752
753         * insetert.C (latex): handle META_NEWLINE
754
755 2001-07-09  Juergen Vigna  <jug@sad.it>
756
757         * insetert.h: a normal InsetText can insert insets, but we won't.
758
759         * inset.h: return default "false" on insertInsetAllowed and implement
760         this function where a returnvalue != "false" is needed.
761
762 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
763
764         * insetert.C (InsetERT): new contructor
765
766 2001-07-06  Juergen Vigna  <jug@sad.it>
767
768         * a lot of files: added implementation of the below new functions
769         and the change to clone(). Also the call of the new undo-functions
770         where needed.
771         
772         * inset.h: added an inset_id, added functions getParFromID,
773         getInsetFromID, firstParagraph, cursor and id functions, added
774         bool same_ids to clone function.
775
776 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
777
778         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
779         of BufferView * and shared_ptr<LyXText>
780
781 2001-07-05  Juergen Vigna  <jug@sad.it>
782
783         * insettext.C (clear): deleted also the cache not only LyXText.
784         (setParagraphData): ditto.
785
786 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
787
788         * insetfloat.C (latex): let the specific placement take presedence
789         if set, otherwise choose document placement if set, otherwise just
790         use float default placement.
791
792 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
793
794         * insettext.C (localDispatch): call CutAndPaste::'s static method
795         directly. 
796
797 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
798
799         * insetbib.C: no meed to include forms.h here.
800
801 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
802
803         * insettext.C: added using std::make_pair directive.
804
805 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
806
807         * insettext.C (getLyXText): avoid multiple lookups, and simplify
808         slightly
809         (deleteLyXText): ditto
810         (resizeLyXText): ditto
811
812 2001-07-02  Juergen Vigna  <jug@sad.it>
813
814         * insettext.C (getLyXText): introduce a cache in getLyXText so that
815         following calls are only returned the right pointer without the over
816         head to search in the map.
817         (various funcs): reset the cached_bview variable as this signs that
818         the cache is not valid anymore.
819
820 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
821
822         * insettabular.C (clone): do not copy the LyXTabular twice
823
824 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
825
826         * insettext.h (TEXT): delete method
827
828 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
829
830         * insetmarginal.C (latex): 
831         * insetfoot.C (latex): fix spacing of notes in LaTeX
832
833         * insettext.C (localDispatch): use .c_str() on istringstream
834         constructor argument.
835
836 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
837
838         * insettoc.h:
839         * insettoc.C:
840         * inseturl.h:
841         * inseturl.C: fix method names in these to begin
842           with small char too, so they inherit
843  
844 2001-06-28  Juergen Vigna  <jug@sad.it>
845
846         * insettext.C (setFont): fixed font settings using toggleFree()
847         instead of setFont().
848
849 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
850
851         * Change a lot of method names to begin with a small char.
852         Changes to a lot of files because of this.
853
854 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
855
856         * insetfloatlist.C (Write): std:: qualify ostream
857         (Latex): ditto
858
859 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
860
861         * figinset.C:
862         * inset.C:
863         * insetgraphics.C: send debug output to Debug::INFO instead of
864         Debug::ANY.
865
866 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
867
868         * insettabular.h:
869         * insettabular.C (getStatus): update to use func_status
870
871 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
872
873         * insetref.C (DocBook): added support for cross-references without
874         a name.
875
876 2001-06-26  The LyX Project  <jug@sad.it>
877
878         * insetref.C:
879         * insetref.h:
880         * insetlabel.C:
881         * insetlabel.h: removed escape method and moved it to
882         support/lstrings.h.
883
884 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
885
886         * insettabular.C (getMaxWidth): do the speedup in a different way,
887         remove dead code
888
889 2001-06-24  The LyX Project  <Asger>
890
891         * insettabular.C (getMaxWidth): We cache a mapping from
892         inset to cell in order to speed this method up.
893
894 2001-06-24  The LyX Project  <Asger>
895
896         * insettext.C: Optimized InsetText::draw or something.
897
898 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
899
900         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
901
902 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
903
904         * inset.h: name change from lyxinset.h
905
906 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
907
908         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
909
910 2001-06-14  Juergen Vigna  <jug@sad.it>
911
912         * insettext.C (draw): removed warnings.
913
914 2001-06-13  Juergen Vigna  <jug@sad.it>
915
916         * insettabular.C (nodraw): only go down the tree if we don't have
917         that flag set otherwise it's obvious that we don't want to draw.
918         (LocalDispatch): do also an update if we have an undispached result.
919
920 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
921
922         * insetcite.C:
923         * insetgraphicsParams.C:
924         * insettext.C: removed // -*- C++ -*- as first line.
925
926 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
927
928         * lyxinset.h (resizeLyXText): shut off warning about unused
929         parameter "force" 
930
931 2001-06-07  Juergen Vigna  <jug@sad.it>
932
933         * insettext.C (resizeLyXText): honor the new force flag.
934
935         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
936
937         * insettabular.C (deleteLyXText): new function
938
939 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
940
941         * insettheorem.C:
942         * insetminipage.C:
943         * insetlist.C:
944         * insetfootlike.C:
945         * insetfloat.C:
946         * insetert.C:
947         * insetcollapsable.C:
948         * insetcaption.C: LColor tidy
949          
950 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
951
952         * figinset.C: fix typo
953
954 2001-06-01  Juergen Vigna  <jug@sad.it>
955
956         * insettabular.C (resetPos): small hack so that scroll is not set to
957         0 when we are in the last column of a tabular. This is a problem we
958         have because of constats 20 offset on both directions, so this can
959         cause on the limit an endless loop.
960
961         * insettext.C (SetFont): forgot that we can have locking insets ;)
962
963 2001-05-31  Juergen Vigna  <jug@sad.it>
964
965         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
966
967 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
968
969         * figinset.C: add using std:: directive for the C functions which
970         need that.
971
972 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
973
974         * insetfloat.C (Write): write out wide info
975         (Read): read the wide info
976         (Latex): use the wide info when creating latex.
977
978         * insettext.C: adjust
979
980         * insetgraphics.[Ch] (statusMessage): change to return string
981         (width): adjust
982         (draw): adjust
983
984         * figinset.C (runqueue): add std::
985         (Recompute): ditto
986
987 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
988
989         * insetcite.C (Ascii): add std:: qualifier
990
991 2001-05-28  Juergen Vigna  <jug@sad.it>
992
993         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
994         a endless-width inset (maxWidth < 0).
995         (Edit): change language only if not equal.
996
997         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
998
999         * insettext.C (draw): fixed draw/clear of InsetText-Frame
1000
1001 2001-05-16  Juergen Vigna  <jug@sad.it>
1002
1003         * insettext.C (selectAll): added
1004         (clearSelection): added
1005
1006         * insettabular.C (SetFont): now we may set a font on a whole selection!
1007         (getSelection): added helper function.
1008
1009 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
1010
1011         * insetcite.C (Ascii): Add method.
1012
1013 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1014
1015         * figinset.C:
1016         * insetbib.C: fix path for OS/2 & Win32
1017
1018 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1019
1020         * insetfoot.C (Latex): don't use % after footnote.
1021
1022 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1023
1024         * insettext.C (Read): use clear
1025         (SetParagraphData): use LyXParagraph copy constructor instead of clone
1026
1027 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1028
1029         * insetfloatlist.h: add a bunch of std:: qualifiers.
1030
1031 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1032
1033         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1034         FLOAT_LIST_CODE, renumber code list.
1035
1036         * insettoc.C (getScreenLabel): remove support for float lists
1037         (LyxCode): ditto
1038         (Ascii): ditto
1039
1040         * insetfloatlist.[Ch]: new files
1041
1042         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1043
1044 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
1045
1046         * insettabular.C (LocalDispatch):
1047         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1048         method 
1049
1050 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1051
1052         * insettext.C: remvoe !NEW_INSETS cruft
1053
1054         * insettabular.C: remove !NEW_INSETS cruft
1055
1056         * insetcollapsable.h: remove !NEW_INSETS cruft
1057
1058         * insetbib.C: remove !NEW_INSETS cruft
1059
1060 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1061
1062         * insettoc.C: hack to make listof algorithm work
1063
1064 2001-04-20  Juergen Vigna  <jug@sad.it>
1065
1066         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1067
1068 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1069
1070         * insetquotes.C (Latex): improve the guard against
1071         unwanted !` and ?` ligatures. This should really be done in
1072         another place (to catch all this ligatures at low-level).
1073
1074 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1075
1076         * insettext.C (init): remvoe leftovers from cursor_visible change
1077         (draw): use c++ cast
1078         (LocalDispatch): dispatch LFUN_MESSAGE
1079
1080         * insettabular.C (InsetTabular): remove leftovers from
1081         cursor_visible, and scoped_ptr changes
1082         (draw): use c++ cast
1083
1084         * insetcollapsable.C (draw): use c++ cast
1085
1086         * ExternalTemplate.h: inherit privaely from noncopyable
1087         * insetcommand.h: ditto
1088         * insetinclude.h: ditto
1089
1090 2001-04-16  Allan Rae  <rae@lyx.org>
1091
1092         * insettoc.C (Ascii): 
1093         * insettext.C (draw): 
1094         * insettabular.C (setPos): 
1095         * insetminipage.C (Read): 
1096         * insetfloat.C (placement): 
1097         * insetcaption.C (Ascii, DocBook): 
1098         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1099         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1100
1101 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
1102
1103         * insetexternal.h:
1104         * insetexternal.C: set view on Clone. Add _ to private members.
1105
1106 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1107
1108         * insettext.C (InsetText): fix new
1109         (InsetText): reindent some, simplify deletion of par list 
1110         (clear): simplify deletion of par list, fix new
1111         (SetParagraphData): simplify deletion of par list
1112
1113         * insettabular.[Ch] (getLabelList): implement new method
1114
1115 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1116
1117         * lyxinset.h: do not include gettext.h...
1118
1119         * inset.C:
1120         * insetcaption.C:
1121         * insetexternal.C:
1122         * insetgraphics.C:
1123         * insetindex.C:
1124         * insetlabel.C:
1125         * insetlatexaccent.C:
1126         * insetminipage.C:
1127         * insetquotes.C:
1128         * insettabular.C:
1129         * inseturl.C: ... and do it here instead
1130
1131 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1132
1133         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1134
1135         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
1136
1137         * insetcollapsable.[Ch] (getLabelList): implement
1138
1139         * insettext.[Ch] (getLabelList): implement
1140
1141         * insettext.h: reindent
1142
1143         * insettabular.h: make tabular a scoped_ptr
1144
1145         * insettext.C (init): adjust for cursor_visible
1146         (ToggleInsetCursor): constify asc and desc, font, adjust for
1147         cursor_visible
1148         (ShowInsetCursor): constify asc and desc, font, adjust for
1149         cursor_visible
1150         (HideInsetCursor): adjust for cursor_visible
1151
1152         * insettabular.C: reindent some
1153         (InsetTabular): adjust for scoped_ptr and cursor_visible
1154         (InsetTabular): ditto
1155         (~InsetTabular): delete delete
1156         (Clone): adjust for scoped_ptr
1157         (Read): constify old_format, adjust for scoped_ptr, move init of
1158         token
1159         (draw): constify tx, localize loop vars.
1160         some other localization of variables, remove double initilizatons.
1161         
1162         * insetfoot.C: remove using std::ostream, add ostream where needed
1163
1164 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1165
1166         * lyxinset.h: some reindentaion, use initializer list for
1167         constructro.
1168         UpdatableInset: make cursor_visible a private var add
1169         public isCursorVisible(), add protected toggleCursorVisible() and
1170         proctected setCursorVisible(bool), make scroll call the Inset::scroll
1171
1172         * insettoc.C: remvoe using decl
1173         (getScreenLabel): make cmdname donst
1174         (LyxCode): ditto
1175         (Ascii): ditto
1176         (Ascii): don't use endl
1177
1178         * insetfootlike.C: remove using decl at file scope and add std::
1179         where needed
1180         * insetmarginal.C: ditto
1181
1182         * insetfoot.C: some reformatting
1183
1184         * insetfloat.C (InsetButtonRelease): adjust the hit area
1185
1186         * insetert.C (SetFont): some reformatting
1187
1188         * insetcollapsable.C: some reformatting and constification
1189         (Clone): comment out.
1190         * insetcollapsable.h: some reformatting
1191         (Clone): comment out.
1192         
1193         * inset.C: reindent
1194         (scroll): simplify
1195
1196 2001-03-30  Juergen Vigna  <jug@sad.it>
1197
1198         * insetcollapsable.h: changen *inset to be a InsetText inset.
1199         
1200         * some files: changed to reflect the above change.
1201
1202 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1203
1204         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1205         InsetExternal::Params.
1206         Added operator==() and operator!=() for the Params struct.
1207
1208 2001-03-29  Juergen Vigna  <jug@sad.it>
1209
1210         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1211         BufferView *.
1212
1213         * insetminipage.C: removed widthp_ and all it's functions and changed
1214         to use new %-lengths of LyXLength.
1215
1216 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1217
1218         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1219
1220 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1221
1222         * insetgraphicsParams.C (operator!=): new function, needed by the
1223         ControlGraphics class.
1224
1225 2001-03-28  Juergen Vigna  <jug@sad.it>
1226
1227         * insettext.C (InsetButtonPress): only enter !inset if button == 2
1228         (checkAndActivateInset): don't use the values returned from
1229         call to bv->checkInsetHit.
1230
1231         * insetminipage.C (Clone): set special minipage values.
1232
1233         * insetcollapsable.C (draw): changed to draw the button in the
1234         upper left corner outside the textinset.
1235         (ascent): changed because of different drawing 
1236         (descent): ditto
1237         (width): ditto
1238         (Edit): ditto
1239         (InsetButtonPress): ditto
1240         (InsetButtonRelease): ditto
1241         (InsetMotionNotify): ditto
1242
1243 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
1244
1245         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1246         contain a suffix.
1247         (Clone): ditto
1248
1249 2001-03-26  Juergen Vigna  <jug@sad.it>
1250
1251         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1252
1253         * insettext.C (ShowInsetDialog): implemented above function.
1254
1255         * insettabular.C (ShowInsetDialog): ditto
1256
1257         * insetminipage.C (ShowInsetDialog): ditto
1258
1259 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1260
1261         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1262         InsetInclude::Params. Don't store a buffer * in Params. Store the
1263         master file name instead.
1264
1265 2001-03-23  Juergen Vigna  <jug@sad.it>
1266
1267         * insetcollapsable.C (InsetMotionNotify):
1268         (InsetButtonRelease): 
1269         (InsetButtonPress): fixed y-offset (minipages).
1270
1271         * insettext.C (draw): force a FULL update if cleared == true.
1272
1273         * insetcollapsable.C (draw): Lars forgotten entry for changing this
1274         routine to draw the minipages on its position-flag.
1275         (InsetInInsetY): give back the right y position, because of minipage
1276         position-flag.
1277
1278 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1279
1280         * insetfloat.h
1281         * insetfloat.C (DocBook): docbook export code.
1282
1283 2001-03-22  Juergen Vigna  <jug@sad.it>
1284
1285         * insetminipage.C (getMaxWidth): added function to set the drawing
1286         width!
1287         (Read): should work now!
1288
1289         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1290         if we create a new inset.
1291
1292 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1293
1294         * figinset.C (fl_set_preemptive_callback): moved definition outside
1295         of namespace anon.
1296
1297 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1298
1299         * insetminipage.C (Read): prepare for reading of minipage arguments.
1300
1301 2001-03-18  Baruch Even  <baruch@lyx.org>
1302
1303         * insetgraphics.C: Minor cleanups of the comments and code.
1304
1305 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1306
1307         * insetminipage.C (InsetMinipage): default to not collapsed
1308
1309 2001-03-16  Juergen Vigna  <jug@sad.it>
1310
1311         * insetminipage.C (width): modified with to be a string
1312         (widthp): added widthp (for % width) support functions.
1313         (InsetButtonRelease): added to open the options dialog on button==3.
1314         (~InsetMinipage): added to hide the dialog.
1315
1316         * insetminipage.h: added hideDialog signal
1317
1318 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1319
1320         * insetminipage.h: change the order or Position to match
1321         LyXParagraph::MINIPAGE_ALIGNMENT
1322
1323         * several files: remvoe CXX_WORKING_NAMESPACES
1324
1325         * ExternalTemplate.h: noncopyable is in namespace boost
1326         * insetinclude.h: ditto
1327         * insetcommand.h: ditto
1328
1329 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1330
1331         * insettext.C (Edit): #else# -> #else.
1332         * insettoc.C: added using directive.
1333
1334 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1335
1336         * insetminipage.h: add pos, inner_pos, width and height. + getters
1337         and setters for all of them.
1338
1339 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1340
1341         * insetinclude.C (Latex): Do not exit when the textclass of the
1342         included file differ from the textclass of the parent file.
1343
1344 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1345
1346         * ExternalTemplate.C (read): the reading of external insets now checks
1347         for \end_inset and removes it form the input stream.
1348
1349 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1350
1351         * ExternalTemplate.h:
1352         * ExternalTemplate.C:
1353         * insetexternal.h:
1354         * insetexternal.C: move form to GUII
1355
1356 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1357
1358         * insetinclude.h:
1359         * insetinclude.C: add InsetIncludeParams, use
1360         composition rather than derivation of InsetCommand
1361
1362 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1363
1364         * insettoc.C (Ascii): use the Buffer typedefs
1365
1366 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1367
1368         * insettoc.C (Ascii): implement for dynamic number of lists
1369
1370         * insetcaption.[Ch]: update from new_insets branch
1371         * insetfloat.[Ch]: ditto
1372         
1373 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1374
1375         * insetexternal.C:
1376         * figinset.C: use new File Dialog
1377
1378 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1379
1380         * insettext.C: changes becuase of ParagraphParameters.
1381
1382 2001-02-28  Baruch Even  <baruch@ev-en.org>
1383
1384         * insetgraphics.C (updateInset): Changed due to the change in
1385         GraphicsCache.
1386
1387 2001-02-26  Juergen Vigna  <jug@sad.it>
1388
1389         * insettext.C (SetFont): Set Undo only if we have selection (as it is
1390         handled in LyXText).
1391
1392 2001-02-23  Juergen Vigna  <jug@sad.it>
1393
1394         * insettext.C (draw): some small repainting fixes.
1395         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1396
1397         * inset.C (LocalDispatch): changed action to be a kb_action (as it
1398         should be) and not an int.
1399         
1400         * insettabular.C (LocalDispatch): ditto
1401
1402         * insettext.C (LocalDispatch): ditto
1403
1404         * insetcollapsable.C (LocalDispatch): ditto
1405
1406 2001-02-22  Juergen Vigna  <jug@sad.it>
1407
1408         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1409         DISPATCH it and we don't have a locking_inset.
1410
1411 2001-02-21  Baruch Even  <baruch@ev-en.org>
1412
1413         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1414         instead of GraphicsCacheItem *.
1415
1416 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1417
1418         * insetcollapsable.C (getLyXText): add const qualifier to second
1419         parameter. 
1420
1421 2001-02-22  Juergen Vigna  <jug@sad.it>
1422
1423         * insettext.C (getLyXText): honor the recursive parameter.
1424         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1425
1426         * inset.C (getLyXText): added bool recursive parameter.
1427
1428         * insettext.C (SetUpdateStatus): or the update codes.
1429         (draw): check need_update with &.
1430         (InsetButtonPress): set no_selection to not put a selection when
1431         entering an inset and it is redraws in another spot.
1432
1433         * insettext.h: made need_update an int.
1434
1435 2001-02-20  Baruch Even  <baruch@ev-en.org>
1436
1437         * insetgraphics.h:
1438         * insetgraphisc.C: Changed to use better semantics when loading images
1439         for inline view. Now it doesn't keep the pixmap itself but it's holder.
1440
1441 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1442
1443         * insetcommand.h:
1444         * inseterror.h:
1445         * insetgraphics.C: change name of "hide" signal to "hideDialog",
1446         consistent with InsetTabular.
1447         
1448 2001-02-19  Juergen Vigna  <jug@sad.it>
1449
1450         * insettabular.C (LocalDispatch): implement PAGE up/down.
1451
1452         * insettext.C (draw): clear all of it on need_update==INIT too!
1453
1454         * insettabular.C (InsetUnlock): always clear the selection.
1455
1456         * inset.C (scroll): normally we only want to scroll the inset until
1457         it is fully visible so if top_x + offset > 20 then just set scx to 0.
1458
1459 2001-02-14  Juergen Vigna  <jug@sad.it>
1460
1461         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1462         (resetPos): fixed scroll behaviour.
1463         (LocalDispatch): do an update if moving cursor inside a table cell
1464         requests a scroll of the tabular.
1465
1466 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1467
1468         * insettext.C (textWidth): constify local var
1469
1470         * insettabular.C: small cleanup.
1471
1472         * insetfoot.C (Latex): constify local var
1473
1474         * insetcollapsable.C: small cleanup.
1475
1476         * figinset.C (runqueue): use compare instead of strcmp
1477
1478 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1479
1480         * insettext.C:
1481         * insetinfo.C: remove cruft
1482
1483 2001-02-14  Juergen Vigna  <jug@sad.it>
1484
1485         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1486
1487 2001-02-13  Juergen Vigna  <jug@sad.it>
1488
1489         * insettext.C (InsertInset): don't move left (is this right?)
1490
1491         * insettabular.C (LocalDispatch): use of the no_draw variable
1492
1493         * insettabular.h: new no_draw variable to stop redraw
1494
1495         * insettabular.C (TabularFeatures): fixed update for alignment change
1496
1497 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1498
1499         * insetinclude.C:
1500         * insetbib.h:
1501         * insetbib.C: move dialogs to frontends/
1502
1503 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1504
1505         * insettext.C (LocalDispatch): Restore the language if the inset
1506         becomes empty.
1507
1508 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1509
1510         * insettext.C (moveRightIntern): Update the selection cursor.
1511         (moveLeftIntern): Ditto.
1512
1513 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1514
1515         * Makefile.am: remove BoundingBox.h
1516
1517         * BoundingBox.h: removed
1518
1519 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
1520         
1521         * insettext.C (LocalDispatch): Update selection cursor when moving 
1522         cursor to the right.
1523         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1524         (moveLeftIntern): Ditto.
1525
1526 2001-02-05  Baruch Even  <baruch.even@writeme.com>
1527
1528         * insetgraphics.C: Updated automatic image conversion, it now goes into
1529         temporary directory instead of with the image itself.
1530
1531 2001-01-21  Baruch Even  <baruch@ev-en.org>
1532
1533         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1534         to EPS or PNG when needed (support bitmap graphics).
1535
1536 2000-11-02  Baruch Even  <baruch@ev-en.org>
1537
1538         * insetgraphics.C:
1539         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1540         and removal of commented out code.
1541
1542 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1543
1544         * insetbib.C (callback): Update citations if the key has changed.
1545
1546 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1547
1548         * insetbib.C (InsetBibKey): Better computation of default key.
1549         (getScreenLabel) Show both the key and the label.
1550         (getBibLabel): New method.
1551         (callback): Force a redraw if the inset have been changed.
1552
1553 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1554
1555         * insetref.C (getType, getName): Move methods from 
1556         src/frontends/xforms/FormRef.C.
1557
1558 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1559
1560         * insettabular.C: Various improvements (use only one dummy position).
1561
1562 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
1563
1564         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1565         par->bibkey->width. This fixes the crashes when running without
1566         gui or when having included documents.
1567
1568 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
1569
1570         * insetcommand.C (getAsString, setFromString): Cleanup.
1571
1572 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
1573
1574         * insetref.C: Add the array InsetRef::types that contains
1575         information about all supported reference types.
1576
1577 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1578
1579         * lyxinset.h: remove trailing comma in enum.
1580
1581 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
1582
1583         * insettext.C: kill LyXBell.