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