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