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