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