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