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