]> git.lyx.org Git - features.git/blob - src/ChangeLog
997ab44d5d6071e6f13bd9549ccf40f3935736d1
[features.git] / src / ChangeLog
1 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * LaTeX.C (deplog): correct the syntax of regex reg1
4
5 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6
7         * undo.C: remove !NEW_INSETS cruft
8
9 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10
11         * text2.C: remove !NEW_INSETS cruft
12
13         * text.C: remove !NEW_INSETS cruft
14
15         * tabular.C: remove !NEW_INSETS cruft
16
17         * spellchecker.C: remove !NEW_INSETS cruft
18
19         * lyxtext.h: remove !NEW_INSETS cruft
20
21         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
22
23         * lyxfunc.C: remove !NEW_INSETS cruft
24
25         * lyxfind.C: remove !NEW_INSETS cruft
26
27         * lyx_cb.C: remove !NEW_INSETS cruft
28
29         * figureForm.C: remove  !NEW_INSETS cruft
30
31         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
32
33         * buffer.[Ch]: remove !NEW_INSETS cruft
34
35         * ToolbarDefaults.C: remove !NEW_INSETS cruft
36
37         * CutAndPaste.C: remove !NEW_INSETS cruft
38
39         * BufferView_pimpl.C: remove !NEW_INSETS cruft
40
41         * BufferView2.C: remove !NEW_INSETS cruft
42
43         * BufferView.h: remove !NEW_INSETS cruft
44
45 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
46
47         * Lsstream.h: include LString.h before the sstream headers to
48         fix problem with gcc 2.95.3 and lyxstring
49
50 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
51
52         * lyx_main.C: add using directives when needed for C functions
53         declared in std:: namespace.
54
55 2001-04-27  Juergen Vigna  <jug@sad.it>
56
57         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
58         (SetHeightOfRow): comment out the update call should not be needed!
59
60 2001-04-13  Juergen Vigna  <jug@sad.it>
61
62         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
63         (LyXTabular): tried to minimize operator= operations (and realized
64         hopfully Lars wish).
65
66 2001-04-27  Juergen Vigna  <jug@sad.it>
67
68         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
69
70 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
71
72         * lyxfunc.C (Dispatch): hack to make listof algorithm work
73
74         * buffer.C (readInset): hack to make listof algorithm work
75
76         * BufferView_pimpl.C: hack to make listof algorithm work
77
78 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
79
80         * LyXAction.C: removed all !NEW_INSETS cruft
81         (init): moved lfun_item in method
82
83         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
84
85 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
86
87         * BufferView2.C (theLockingInset): white space.
88
89 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
90
91         * minibuffer.C: include <iostream>
92
93         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
94
95         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
96
97         * commandtags.h: add LFUN_TRANSPOSE_CHARS
98
99         * text.[Ch] (TransposeChars): new method
100
101 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
102
103         * call message directly through LyXView instead of through LyXFunc
104         * BufferView2.C: adjust
105         * BufferView_pimpl.C: adjust
106         * FontLoader.C: adjust
107         * buffer.C: adjust
108         * bufferview_funcs.C: adjust
109         * converter.C: adjust
110         * figureForm.C: adjust
111         * importer.C: adjust
112         * lyx_cb.C: adjust
113         * lyx_gui_misc.C: adjust
114         * lyxfunc.C: adjust
115         * lyxvc.C: adjust
116         * text2.C: adjust
117         + more files in subdirs
118         
119         * lyxparagraph.h (size): move up int file
120         (GetLayout): ditto
121
122         * adjust all uses of Assert to lyx::Assert.
123
124         * BufferView2.C (ChangeCitationsIfUnique): adjust for
125         lyxfunctional in namespace lyx
126         * layout.C (hasLayout): ditto
127         (GetLayout): ditto
128         (GetLayout): ditto
129         (delete_layout): ditto
130         (NumberOfClass): ditto
131         * converter.C (GetFormat): ditto
132         (GetNumber): ditto
133         (Add): ditto
134         (Delete): ditto
135         (SetViewer): ditto
136         * bufferlist.C (getFileNames): ditto
137         (emergencyWriteAll): ditto
138         (exists): ditto
139         (getBuffer): ditto
140         * MenuBackend.C (hasSubmenu): ditto
141         (hasMenu): ditto
142         (getMenu): ditto
143         * BufferView_pimpl.C (getInsetByCode): ditto
144
145 2001-04-18  Juergen Vigna  <jug@sad.it>
146
147         * vspace.C (asLatexString): fixed the 100% problem.
148
149 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
150
151         * lyxfunc.C (Dispatch): 
152         * minibuffer.C: 
153         * minibuffer.h: add a few std:: qualifiers
154
155 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
156
157         * minibuffer.[Ch]: reimplement so that commands is initiated and
158         run from lyxfunc, simplified som handling, and made the completion
159         and history code for complete. wip. 
160
161         * lyxfunc.C (processKeySym): call message
162         (miniDispatch): new temporary method
163         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
164         (LFUN_MESSAGE): implement
165         (LFUN_MESSAGE_PUSH): implement
166         (LFUN_MESSAGE_POP): implement
167         (initMiniBuffer): the initial/defualt minibuffer message.
168
169         * lyxfont.[Ch]: inline some more getters
170
171         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
172
173         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
174
175         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
176         (AutoSave): use LFUN_MESSAGE
177         (Reconfigure): ditto
178
179         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
180
181         * figureForm.C: use LFUN_MESSAGE
182
183         * converter.C (runLaTeX): use LFUN_MESSAGE
184
185         * bufferview_funcs.C: use LFUN_MESSAGE
186         (Melt): ditto
187         (changeDepth): ditto
188
189         * bufferparams.h: use boost::
190
191         * bufferlist.h: inherit privately from noncopyable
192
193         * bufferlist.C (loadLyXFile): remove some commented code.
194
195         * buffer.C (runChktex): use LFUN_MESSAGE
196
197         * ShareContainer.h: inherit privately from noncopyable
198
199         * ParagraphParameters.[hC] (depth): inline it.
200
201         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
202         methods.
203         (message): new method
204         (messagePush): ditto
205         (messagePop): ditto
206         (show): init minibuffer
207         (showState): direct call
208
209         * LaTeX.[Ch]: inherit privately from noncopyable
210         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
211         instead of WriteStatus.
212
213         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
214
215         * BufferView_pimpl.C (buffer): don't init minibuffer
216         (workAreaButtonPress): use LFUN_MESSAGE
217         (workAreaButtonRelease): ditto
218         (savePosition): ditto
219         (restorePosition): ditto
220         (MenuInsertLyXFile): ditto
221         (workAreaExpose): don't init minibuffer
222         (update): remove commented code, simplify
223
224         * BufferView2.C (openStuff): use LFUN_MESSAGE
225         (toggleFloat): ditto
226         (menuUndo): ditto
227         (menuRedo): ditto
228         (copyEnvironment): ditto
229         (pasteEnvironment): ditto
230         (copy): ditto
231         (cut): ditto
232         (paste): ditto
233         (gotoInset): ditto
234         (updateInset): remove some commented code
235
236         * lastfiles.h: inherit privately from noncopyable
237         * layout.h: ditto
238         * lyx_gui.h: ditto
239         * lyx_main.h: ditto
240         * lyxlex.h: ditto
241         * lyxlex_pimpl.h: ditto
242
243         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
244         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
245         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
246
247         * LyXAction.h: inherit privately from noncopyable, add methods
248         func_begin, func_end, returning iterators to the func map.
249
250         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
251         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
252         (func_begin): new method
253         (func_end): new method
254
255         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
256         and not)
257         (copySelection): ditto
258         (pasteSelection): ditto
259
260         * BufferView.C: whitespace change
261         * BufferView.h: inherit privately from noncopyable
262
263 2001-04-16  Allan Rae  <rae@lyx.org>
264
265         * tabular-old.C (l_getline): 
266         * spellchecker.C (sc_check_word): 
267         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
268         an unrecognised preprocessor directive.  So ensure they're wrapped. 
269
270 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
271
272         * src/exporter.C (Export): Give an error message when path to file 
273         contains spaces.
274
275 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
276
277         * LaTeX.C (deplog): Always check that foundfile exists.
278
279 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
280
281         * lyx_main.h: 
282         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
283
284 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
285
286         * tabular.[Ch] (getLabelList): implement new method
287
288         * minibuffer.h: comment ouf setTiimer
289
290         * minibuffer.C (ExecutingCB): constify res
291         (peek_event): constify s
292         (Set): constify ntext
293         (Init): constify nicename
294
295         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
296
297         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
298         (savePosition): use two params to Minibuffer::Set
299         (restorePosition): ditto
300
301 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
302
303         * lyx_main.C: include language.h
304
305         * Makefile.am (lyx_main.o): add language.h
306
307 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
308
309         * exporter.C: 
310         * paragraph.C: 
311         * screen.C: 
312         * tabular.C: 
313         * CutAndPaste.C: include gettext.h
314
315         * lyxfont.h: remove old hack with ON and OFF.
316
317         * lyxparagraph.h: 
318         * lyxfont.h: do not include language.h...
319
320         * BufferView2.C: 
321         * LaTeXFeatures.C: 
322         * Painter.C: 
323         * bufferview_funcs.C: 
324         * font.C: 
325         * lyxfont.C: 
326         * text.C: 
327         * text2.C: 
328         * trans_mgr.C: 
329         * paragraph.C: ... but do it here instead
330
331 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
332
333         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
334
335         * tabular.C: small reformat
336
337         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
338         NEW_INSETS version
339         (GetChar): ditto
340         (BreakParagraph): ditto
341         (SetOnlyLayout): ditto
342         (SetLayout): ditto
343
344         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
345         with one arg less.
346
347         * lastfiles.C: removed most using decl, add std:: where needed
348
349         * buffer.C: ws changes
350
351         * MenuBackend.C (class compare_format): put into anon namespace
352         (expand): constify label, names, action, action2
353         (expand): 
354
355         * text.C (SingleWidth): constify font
356         (IsBoundary): constify rtl2
357         (GetVisibleRow): constify ww
358
359         * LaTeX.C (deplog): constify logfile
360
361         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
362         start_x, end_x
363         (workAreaExpose): constify widthChange, heightChange
364
365         * lyxrow.C (par): moved
366         (height): moved
367         (next): moved
368         * lyxrow.h: as inlines here
369
370         * lyxfont.h (shape): moved from lyxfont.C
371         (emph): moved from lyxfont.C
372
373         * lyxfont.C (LyXFont): use initialization list for all
374         constructors
375         (shape): move to lyxfont.h as inline
376         (emph): move to lyxfont.h as inline
377         
378
379 2001-04-04  Juergen Vigna  <jug@sad.it>
380
381         * vspace.C: had to include stdio.h for use of sscanf
382
383 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
384
385         * BufferView.h: 
386         * BufferView_pimpl.h: remove xforms cruft. Both classes are
387         independent of xforms.
388
389 2001-04-02  Juergen Vigna  <jug@sad.it>
390
391         * spellchecker.C: fixed namespace placing!
392
393 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
394
395         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
396         the LyXParagraph * is 0.
397
398 2001-03-29  Juergen Vigna  <jug@sad.it>
399
400         * vspace.C: added support for %, c%, p%, l%.
401         (stringFromUnit): added helper function.
402         (asLatexString): changed to give right results for the %-values.
403
404         * buffer.C: convert the widthp in a width%.
405
406 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
407
408         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
409         figureForm.[Ch].
410
411         * figureForm.[Ch]: stripped the FD_from_figure manipulation
412         code out of lux_cb.[Ch], ready for its (imminent?) removal.
413
414         * lyx_cb.[Ch]: see above.
415
416         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
417         form1.[Ch].
418
419         * form1.[Ch]:
420         * lyx.[Ch]: replaced by figure_form.[Ch].
421
422         * lyx_gui.C:
423         * lyx_gui_misc.C:
424         * lyxfunc.C: changed headers associated with above changes.
425
426 2001-03-27  Juergen Vigna  <jug@sad.it>
427
428         * BufferView_pimpl.C: set the temporary cursor right!
429
430 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
431
432         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
433
434 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
435
436         * LString.h: removed "using std::getline"!
437
438         * BufferView_pimpl.C (Dispatch): changes due to changes in
439         InsetInclude::Params.
440
441         * buffer.C (tag_name): removed redundant break statements as they were
442         producing lots of warnings with my compiler.
443
444 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
445
446         * LString.h: add "using std::getline" when using the real <string>.
447
448 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
449
450         * buffer.C: removed bitset usage.
451         PAR_TAG moved to an anonymous name space.
452         (tag_name): new funtion, also in the anonymous namespace.
453         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
454         (makeDocBookFile): clean code. Completed transition from string arrays
455         to string vectors.
456         (SimpleDocBookOnePar): code clean.
457
458 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
459
460         * tabular.C: add some comments.
461
462 2001-03-22  Juergen Vigna  <jug@sad.it>
463
464         * buffer.C (parseSingleLyXformat2Token): redone the minipage
465         compatibility read a bit and fixed bug with minipage in different
466         depth.
467
468 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
469
470         * buffer.C (pop_tag): removed.
471         (push_tag): removed.
472         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
473         array replaced with vector. Added support for CDATA sections.
474         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
475         at any nest level.
476         (makeDocBookFile): XML conformant declaration of CDATA section,
477         fixed bug related to <emphasis> in the first paragraph char.
478         (sgmlOpenTag): exclude empty tags.
479         (sgmlCloseTag): ditto.
480         
481         * buffer.h (pop_tag): removed.
482         (push_tag): removed.
483
484 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
485
486         * language.h (Languages): added size_type and size().
487
488 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
489
490         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
491         response on compability reading of minipages. One probliem is that
492         the old usage of minipages was «flertydig» 
493
494         * several files here and in subdirs: don't use static at file
495         scope use anon namespaces instead.
496
497 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
498
499         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
500         LaTeX output. This is necessary for Literate document
501         processing.
502
503 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
504
505         * buffer.C: insert hfill when needed.
506
507         * tabular.C (l_getline): use string::erase, small whitespace change.
508
509         * BufferView_pimpl.C: try the anon namespace.
510         * WorkArea.C: ditto
511
512 2001-03-16  Juergen Vigna  <jug@sad.it>
513
514         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
515         otherwise it won't open options-dialogs.
516
517         * buffer.C: honor pextraWidth(p) on converting minipages.
518
519         * tabular.C (l_getline): changed the functions to strip trailing \r.
520
521 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
522
523         * BufferView_pimpl.C:
524         * minibuffer..C: added "using SigC::slot" declaration.
525
526 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
527
528         * lyxlex_pimpl.h: noncopyable is in namespace boost.
529
530         * text2.C: ditto
531
532         * text.C: ditto
533
534         * paragraph.C: ditto
535
536         * lyxtext.h: NO_PEXTRA
537
538         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
539
540         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
541         * ParameterStruct.h: ditto
542         * ParagraphParameters.h: ditto 
543         * lyxparagraph.h: ditto
544
545 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
546
547         * buffer.C: add compability for minipage alignment.
548         (latexParagraphs): remove unwanted pextra check.
549
550         * several files: remove CXX_WORKING_NAMESPACES
551
552         * buffer.C (pop_tag): tie is in namespace boost
553
554         * BufferView.h: noncopyable is in namespace boost
555         * lyxlex.h: ditto
556         * lyx_main.h: ditto
557         * lyx_gui.h: ditto
558         * layout.h: ditto
559         * lastfiles.h: ditto
560         * bufferlist.h: ditto
561         * ShareContainer.h: ditto
562         * LyXView.h: ditto
563         * LyXAction.h: ditto
564         * LaTeX.h: ditto
565
566 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
567
568         * Merging changes from BRANCH_MVC back into HEAD.
569
570         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
571
572 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
573
574         * BufferView_pimpl.C: change from intl.C
575
576         * combox.h:
577         * combox.C:
578         * Makefile.am: move combox.*
579
580         * form1.h:
581         * form1.C:
582         * lyx_gui.C:
583         * intl.h:
584         * intl.C: remove dialog (covered by prefs)
585
586 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
587
588         * lyxfunc.C (Dispatch): removed redundant break statement.
589         
590 2001-03-14  Juergen Vigna  <jug@sad.it>
591
592         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
593
594 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
595
596         * buffer.C: add hack to fix compability reading of minipages.
597
598 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
599
600         * buffer.C (getLists): Cleanup.
601
602 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
603
604         * lyxfont.C (update): don't honor toggleall on font size.
605
606 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
607
608         * bmtable.c:
609         * bmtable.h:
610         * Makefile.am: moved to frontends/xforms/
611
612         * lyx_gui_misc.C:
613         * lyxfunc.C:
614         * BufferView_pimpl.C: changes for moved mathpanel
615
616 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
617
618         * gettext.h: fix gettext_init() in --disable-nls
619
620 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
621
622         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
623
624 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
625
626         * lyx.C:
627         * lyx.h: strip external form
628
629 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
630
631         * BufferView_pimpl.C: add comment, destroySplash()
632
633 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
634
635         * BufferView_pimpl.C:
636         * LyXAction.C:
637         * buffer.C:
638         * commandtags.h:
639         * lyxfunc.C: use re-worked insetinclude
640
641 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
642
643         * buffer.C: add using std::stringstream.
644
645         * lyx_cb.C: readd using std::ios.
646
647         * buffer.C: add using std::map.
648
649         * BufferView_pimpl.C: add using std::vector.
650
651         * ShareContainer.h: add std:: to swap.
652
653         * buffer.h: add some typedefs
654         * buffer.C (getLists): use them
655         (getLists): renamed from getTocList.
656         add a counter for the different float types and use it in the
657         generated string.
658         (getLists): use the same counter for the NEW_INSETS and the "non"
659         NEW_INSETS
660
661         * lyx_cb.h: remove unused items, includes, using etc.
662
663         * ShareContainer.h: remove some commented code, add more comments
664         and "documentation".
665
666 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
667
668         * buffer.C (getTocList): make the list also when NEW_INSETS is
669         defined.
670
671         * buffer.h: remove TocType
672
673         * buffer.C (getTocList): change to return a map<string,
674         vector<TocItem> >, implement for dynamic number of list.
675
676         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
677         * text2.C (PasteSelection): adjust
678         * CutAndPaste.C (pasteSelection): adjust
679
680         * FloatList.C (FloatList): update from the new_insets branch.
681         * Floating.[Ch]: ditto
682         * LaTeXFeatures.C: ditto
683         * buffer.C: ditto
684         * lyxlex_pimpl.C: ditto
685         
686         * paragraph.C (Last): remove when NEW_INSETS is defined.
687
688         * other file: changes because of the above.
689
690 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
691
692         * lyxparagraph.h: rename next to next_, previous to previous_,
693         make them private for NEW_INSETS. Rename Next() to next(),
694         Previous() to previous().
695
696         * other files: changes because of the above.
697
698 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
699
700         * BufferView.h: 
701         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
702         problem.
703
704 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
705
706         * main.C (main): pass lyx_localedir to gettext_init().
707
708         * gettext.h: remove locale_init and gettext_init macros
709
710         * gettext.C (locale_init): new function
711         (gettext_init): new function
712
713         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
714         setlocale().
715
716 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
717
718         * Moved credits to frontends:
719         * credits.[Ch]: removed
720         * credits_form.[Ch]: removed
721         * lyx_gui_misc.C: remove credits stuff
722         * Makefile.am:
723
724 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
725
726         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
727
728         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
729         unneeded destructor.
730
731         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
732         a standalone pointer again.
733
734         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
735
736 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
737
738         * Makefile.am:
739         * filedlg.h:
740         * filedlg.C:
741         * LyXAction.C:
742         * ToolbarDefaults.C:
743         * bufferlist.C:
744         * commandtags.h:
745         * form1.C:
746         * form1.h:
747         * lyx_cb.C:
748         * lyx_cb.h:
749         * lyxfunc.h:
750         * lyxfunc.C:
751         * BufferView_pimpl.C: use new file dialog in GUII
752
753         * lyx_cb.h:
754         * lyx_cb.C: remove LayoutsCB to Toolbar
755
756 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
757
758         * ShareContainer.h (get): add std:: qualifier
759
760 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
761
762         * ShareContainer.h: define a proper ShareContainer::value_type
763         type (and use typename to please compaq cxx)
764
765 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
766
767         * lyxparagraph.h: move serveral local vars to
768         ParameterStruct/ParagraphParameters., use ShareContainer in
769         FontTable., make vars in FontTable private and add getter and
770         setter.
771
772         * paragraph.C: changes because of the above.
773
774         * lyxfont.h: remove copy constructor and copy assignment. (the
775         default ones is ok), move number inside FontBits. move inlines to
776         lyxfont.C 
777
778         * lyxfont.C: add number to initializaton of statics, move several
779         inlines here. constify several local vars. some whitespace
780         cleanup. Dont hide outerscope variables.
781
782         * Spacing.h: add two new constructors to match the set methods.
783
784         * ShareContainer.h: new file, will perhaps be moved to support
785
786         * ParameterStruct.h: new file
787
788         * ParagraphParameters.h: new file
789
790         * ParagraphParameters.C: new file
791
792         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
793         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
794
795         * BufferView_pimpl.C: ParagraphParameter changes.
796         * buffer.C: Likewise.
797         * bufferview_funcs.C: Likewise.
798         * text.C: Likewise.
799         * text2.C: Likewise.
800         
801 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
802
803         * lyxfind.C (LyXReplace): do not redefine default argument in
804         implementation. 
805         (IsStringInText): ditto
806         (SearchForward): ditto
807         (SearchBackward): ditto
808
809 2001-03-06  Juergen Vigna  <jug@sad.it>
810
811         * lyxfind.C (IsStringInText): put parentes around expressions.
812
813 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
814
815         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
816         
817 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
818
819         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
820
821         * stl_string_fwd.h: add comment
822
823         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
824
825         * tabular.h:
826         * tabular.C: remove unused DocBook methods
827
828         * intl.C:
829         * language.C:
830         * paragraph.C:
831         * buffer.C:
832         killed DO_USE_DEFAULT_LANGUAGE
833
834 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
835
836         * lyx_gui.C: do not include language.h.
837
838         * bufferview_funcs.C (ToggleAndShow): do not provide optional
839         arguments in function implementation.
840
841 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
842
843         * BufferView_pimpl.C: add <ctime>
844
845 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
846
847         * BufferView_pimpl.C: add using std::find_if
848
849 2001-02-27  José Matos  <jamatos@fep.up.pt>
850         
851         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
852         by OnlyPath.
853         
854 2001-02-11  José Matos  <jamatos@fep.up.pt>
855
856         * buffer.C (makeDocBookFile): command styles now have a parameter as
857         "title" by default.
858
859 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
860
861         * layout_forms.[Ch]: removed
862         * lyx_cb.[Ch]: out character
863         * lyx_gui.C: out character
864         * lyx_gui_misc.C: out character
865         * bufferview_funcs.C: : out character,
866         added toggleall as parameter in ToggleAndShow
867                    
868 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
869
870         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
871
872         * text2.C (SetCurrentFont): Disable number property at boundary.
873
874 2001-02-26  Juergen Vigna  <jug@sad.it>
875
876         * lyxfunc.C (getStatus): added a string argument override function so
877         that this is correctly called from LyXFunc::Dispatch if it contains a
878         do_not_use_argument which is used!
879         (Dispatch): added check for "custom" export and call appropriate func.
880
881 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
882
883         * lyxrc.C: Add language_command_local, language_use_babel and
884         language_global_options.
885
886         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
887
888         * buffer.C (makeLaTeXFile): Use language_use_babel and 
889         language_global_options.
890
891 2001-02-23  Juergen Vigna  <jug@sad.it>
892
893         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
894         which works with LyXText and putted it inside BufferView. Here now we
895         only call for that part the BufferView::Dispatch() function.
896
897         * BufferView.C (Dispatch): added.
898
899         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
900         functions which needs to use a LyXText over from LyXFunc.
901         (MenuInsertLyXFile): added
902         (getInsetByCode): added
903         (moveCursorUpdate): added
904         (static TEXT): added
905
906 2001-02-22  Juergen Vigna  <jug@sad.it>
907
908         * BufferView_pimpl.C (update): call a status update to see if LyXText
909         needs it.
910
911 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
912
913         * vc-backend.C (revert): implement for CVS
914         (getLog): implement for CVS
915
916 2001-02-20  Juergen Vigna  <jug@sad.it>
917
918         * text2.C (ClearSelection): added BufferView param for inset_owner call
919
920         * lyxfunc.C (TEXT): added this function and use it instead of
921         directly owner->view()-text of getLyXText().
922
923 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
924
925         * src/layout_forms.C: out preamble
926         * src/layout_forms.h: out preamble
927         * src/lyx_cb.C: out preamble
928         * src/lyx_cb.h: out preamble
929         * src/lyx_gui.C: out preamble
930         * src/lyx_gui_misc.C: out preamble
931         * src/lyxfunc.C: connect with guii preamble
932
933 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
934
935         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
936
937 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
938
939         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
940         whether to run bibtex.
941
942 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
943
944         * Makefile.am (lyx_SOURCES): Remove BackStack.h
945
946 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
947
948         * Makefile.am (lyx_SOURCES): removed bibforms.h
949
950         * vspace.h: doxygen
951
952         * text.C (GetVisibleRow): make several local vars const
953
954         * tabular.C: small cleanup.
955
956         * lyxserver.C (callback): use compare instead of strncmp
957
958         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
959         inlines to after class or to paragraph.C
960
961         * lyxfont.h: remove friend operator!=
962
963         * converter.h: move friend bool operator< to non friend and after
964         class def.
965
966         * combox.h: small cleanup
967
968         * buffer.h: doxygen, remove unused constructor, move inclas inlies
969         to inlines after class def.
970
971         * buffer.C (pop_tag): use string operations instead of strcmp
972
973         * bmtable.c: doxygen, small cleanup
974
975         * LaTeX.h: remove friend operator==
976
977 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
978
979         * screen.C: 
980         * lyxrc.[Ch]:
981         * lyxfunc.C: 
982         * lyxfont.[Ch]: 
983         * lyx_cb.C: 
984         * intl.[Ch]: 
985         * commandtags.h: 
986         * buffer.C: 
987         * WorkArea.[Ch]: 
988         * LyXAction.C: 
989         * BufferView_pimpl.C:
990         * BufferView.[Ch]: remove cruft
991
992 2001-02-14  Juergen Vigna  <jug@sad.it>
993
994         * lyxfunc.C: removed #if 0 unused code
995
996         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
997
998         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
999
1000         * text2.C (SetSelection): added a BufferView * parameter
1001
1002 2001-02-13  Juergen Vigna  <jug@sad.it>
1003
1004         * lyxfunc.C (Dispatch): fixed protected blank problem.
1005         * BufferView2.C (protectedBlank): added LyxText * parameter.
1006
1007         * tabular.C (AppendRow): forgot to set row_info of newly added row.
1008         (AppendColumn): same as above for column_info.
1009
1010         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1011         (moveCursorUpdate): use a LyXText param for support of InsetText.
1012
1013         * BufferView_pimpl.C (doubleClick): added support for InsetText.
1014         (tripleClick): ditto
1015
1016         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1017
1018         * BufferView_pimpl.C (update): added LyXText param to honor insets.
1019
1020         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1021
1022         * text2.C (SetSelection): set correct update status if inset_owner
1023         (ToggleFree): ditto
1024
1025 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1026
1027         * tabular.C: remove some commented code.
1028
1029 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1030
1031         * BufferView_pimpl.C: call hideSplash()
1032
1033         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1034
1035         * include_form.h:
1036         * bibforms.h: remove
1037
1038         * lyxfunc.C:
1039         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1040           add LFUN_CHILD_CREATE
1041
1042         * counters.h: fix tiny typo
1043         
1044         * lyx_cb.C:
1045         * lyx.h:
1046         * lyx_gui.C:
1047         * lyx.C: move splash to frontends/xforms/
1048
1049         * lyx_gui_misc.C: move Include and Bibform to frontends
1050
1051         * lyxvc.h: clarify comment
1052
1053         * vspace.C: tiny housekeeping
1054
1055 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1056
1057         * text.C (PrepareToPrint): RTL Fix.
1058
1059         * paragraph.C (GetUChar): New method.
1060         (String):  Use GetUChar.
1061
1062         * buffer.C (asciiParagraph): Use GetUChar.
1063
1064 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1065
1066         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1067
1068 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
1069
1070         * buffer.h:
1071         * buffer.C: rename to getLogName(), handle
1072           build log / latex log nicely
1073
1074 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1075
1076         * MenuBackend.C: 
1077         * MenuBackend.h: remove support for reference menuitem type.
1078
1079 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
1080
1081         * BufferView_pimpl.C: housekeeping
1082         * BufferView_pimpl.h:
1083         * LyXView.h:
1084         * Makefile.am:
1085         * Timeout.C:
1086         * Timeout.h:
1087         * minibuffer.h: move Timeout GUI-I
1088                           
1089 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
1090
1091         * lyxrc.C (read): Update converters data-structures.
1092
1093 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
1094
1095         * LaTeX.h (operator!=): add operator != for Aux_Info 
1096
1097 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
1098
1099         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1100
1101         * LaTeXLog.C: deleted, useful code moved to Buffer
1102
1103         * buffer.h:
1104         * buffer.C: new function getLatexLogName()
1105
1106         * lyx_gui_misc.C:
1107         * lyx_gui.C:
1108         * lyxvc.C:
1109         * lyxvc.h:
1110         * lyxfunc.C: use frontends for LaTeX and VC logs
1111
1112 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1113
1114         * LaTeX.h: yet another std:: that Allan forgot.
1115
1116         * Variables.C (set): renamed from isset(), because this clashes
1117         with some HP-UX macros (grr).
1118
1119 2001-02-06  Allan Rae  <rae@lyx.org>
1120
1121         * LaTeX.h: Another bug fix.  Missing std:: this time.
1122
1123 2001-02-04  Allan Rae  <rae@lyx.org>
1124
1125         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1126         floats problem. I've left it commented out because it's not quite
1127         correct.  It should also test that the current object is a table or
1128         figure inset.  But I haven't gotten around to figuring out how to do
1129         that.  I *think* it'll be something like: "table" == inset.type()
1130
1131         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1132         bool.
1133
1134 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1135
1136         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1137         all the citation/databases/styles in the auxilary file. 
1138         (run): Rerun latex if there was a babel language error.
1139
1140 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
1141
1142         * text.C (Backspace): Preserve the font when changing newline char
1143         with a space.
1144         (BreakParagraph): If the cursor is before a space, delete the space.
1145
1146         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1147
1148 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1149
1150         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1151         new argument (code).
1152         (ChangeCitationsIfUnique): New method.
1153
1154         * paragraph.C (GetPositionOfInset): Handle bibkey.
1155
1156 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1157
1158         * BufferView_pimpl.h: change type of Position::par_pos to
1159         LyXParagraph::size_type. 
1160
1161 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
1162
1163         * BufferView_pimpl.C (savePosition, restorePosition): Write
1164         messages to minibuffer.
1165
1166 2001-01-28  José Matos  <jamatos@fep.up.pt>
1167
1168         * buffer.C (makeDocBookFile): adds support for document language.
1169         A silly restriction on the name of LatexCommand types where removed.
1170         Added support for CDATA sections, allows to chars unescaped, used
1171         among others in code, to avoid escape < and >.
1172         
1173 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1174
1175         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
1176         saved positions instrad of a stack. Furthermore, a position is
1177         stored using paragraph id/paragraph position.
1178
1179         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1180         Remove LFUN_REF_BACK.
1181
1182 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1183
1184         * converter.C (dvipdfm_options): New method.
1185
1186 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1187
1188         * vspace.C (isValidLength): Fix for empty input string.
1189
1190 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1191
1192         * LyXAction.C (init): change description of LFUN_FIGURE to
1193         "Insert Graphics"
1194
1195 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1196
1197         * LaTeX.C: add using directive
1198
1199 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1200
1201         * MenuBackend.C (expand): Fix the sorting of the formats.
1202
1203 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
1204
1205         * lyx_main.C: tiny error message fix
1206
1207 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1208
1209         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1210         calling fl_initialize(). This fixes the problem with ',' as
1211         decimal separator in text files.
1212
1213 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1214
1215         * trans.C (process): Fix the keymap bug.
1216
1217 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1218
1219         * LaTeX.C (scanAuxFiles): New method. Provides support for
1220         multiple bibliographies (when using the bibtopic/bibunits pacakges).
1221         (scanLogFile) Scan for "run BibTeX" messages.
1222
1223         * buffer.C (makeLaTeXFile): Do not load the ae package when using
1224         OT1 font encoding. Also, load the aecompl package if the ae
1225         package is loaded.
1226
1227         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1228
1229 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1230
1231         * texrow.C (increasePos): turn two error messages into debug
1232         messages. 
1233
1234 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1235
1236         * LaTeX.C (scanAux): Handle the \@input macro.
1237         (runBibTeX): Use scanAux().
1238
1239         * language.C (latex_options_): New field.
1240
1241         * LaTeXFeatures.C (getMacros): Add language macros.
1242
1243         * buffer.C (makeLaTeXFile): Small fix.
1244
1245 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1246
1247         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1248
1249         * text2.C: add a using directive.
1250
1251 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
1252
1253         * BufferView2.C:
1254         * lyx_gui_misc.h:
1255         * lyxfr1.C:
1256         * lyxfunc.C: kill LyXBell.
1257
1258 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
1259
1260         * text.C (IsBoundary): Remove the error message
1261         
1262         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1263
1264         * lyxrc.C (setDefaults): Correct initialization value for
1265         font_norm_type.
1266
1267 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1268
1269         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1270         gotoError().
1271
1272         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1273         and GotoNextNote().
1274
1275         * src/LyXAction.C: Added reference-next.
1276
1277         * text.C (InsertChar): Use contains instead of strchr.
1278
1279         * lyx_cb.C (MenuInsertLabel): Enable default value code.
1280
1281 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
1282
1283         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1284         alignment commands (when needed).
1285
1286         * text.C (InsertChar): Add ':' to number separator chars.