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