]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix a crash when reading in an empty LyX document or one containing
[lyx.git] / src / ChangeLog
1 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4         a document of zero size.
5
6 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
7
8         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9         approriately in the c-tor and in require().
10         (getPackages): output the appropriate LaTeX for natbib support.
11
12         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13         variables "use_natbib" and "use_numerical_citations" when reading the
14         LyX file.
15         (readInset): read the various natbib cite commands.
16         (validate): white-space change.
17
18         * bufferparams.[Ch]: new variables "bool use_natbib" and
19         "bool use_numerical_citations".
20         (writeFile): output them in the LyX file.
21
22 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * lyxfunc.C (getStatus): add support for all the inset insertion
25         commands.
26
27         * text2.C (insertInset): 
28         * paragraph.C (insetAllowed): 
29         * BufferView_pimpl.C (insertInset): update to take in account the
30         renaming of insertInsetAllowed
31
32         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
33
34         * text2.C (getInset): new method. returns inset at cursor position. 
35
36         * BufferView_pimpl.C (Dispatch): changes because of this.
37
38         * LyXAction.C (init): rename open-stuff to inset-toggle.
39
40         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
41
42         * text2.C (toggleInset): renamed from openStuff; use
43         Inset::open().
44
45 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
46
47         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
48
49         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
50
51 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
52
53         * buffer.C (readLyXformat2): Add filename to the error dialog
54
55 2001-07-18  Juergen Vigna  <jug@sad.it>
56
57         * tabular.C (GetCellNumber): put an assert here instead of the check!
58
59 2001-07-17  Juergen Vigna  <jug@sad.it>
60
61         * BufferView_pimpl.C (toggleSelection): adapted too.
62
63         * text.C (selectNextWord): adapted for use with insets.
64         (selectSelectedWord): ditto
65
66 2001-07-17  Juergen Vigna  <jug@sad.it>
67
68         * sp_spell.C (PSpell): fix initialitation order.
69
70 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
71
72         * paragraph.C: spacing
73
74 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
75
76         * sp_spell.C: repair language selection for pspell
77
78 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
79
80         * lyxfunc.h: change more methods to begin with lower char.
81
82 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
83
84         * buffer.C (parseSingleLyXformat2Token): Generate error insets
85         for unknown layouts.
86
87 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
88
89         * buffer.C (readLyXformat2): Generate an error dialog if there are
90         unknown layouts.
91
92 2001-07-16  Juergen Vigna  <jug@sad.it>
93
94         * sp_spell.C: always compile ISpell part.
95
96         * lyxrc.C: added use_pspell entry and it's handling.
97
98 2001-07-13  Juergen Vigna  <jug@sad.it>
99
100         * sp_spell.C: removed double includes.
101
102 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
103
104         Consistent use of Lsstream.h:
105         * Lsstream.h: added using std::stringstream for consistencies sake.
106
107         * buffer.C: removed using std::stringstream
108
109         * lyxfont.C (stateText):
110         * paragraph.C (asString):
111         * text.C (selectNextWord, selectSelectedWord):
112         * text2.C (setCounter):
113         * vspace.C (asString, asLatexString):
114         std::ostringstream -> ostringstream.
115
116 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
117
118         * LyXAction.C: add LFUN_HELP_ABOUTLYX
119         * commandtags.h: add LFUN_HELP_ABOUTLYX
120         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
121
122 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
123
124         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
125         cursorToggle()
126         * lyx_gui_misc.C: remove spellchecker
127         * lyxfunc.C: showSpellchecker
128         * sp_base.h: added
129         * sp_ispell.h: added
130         * sp_pspell.h: added
131         * sp_spell.C: added
132         * sp_form.[Ch]: removed
133         * spellchecker.[Ch]: removed
134
135 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
136
137         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
138         is set.
139         (simpleTeXSpecialChars): Simply print the input character without
140         any special translation if pass_thru is set.
141
142         * layout.h: Added bool pass_thru to layout class for being able to
143         implement pass through of a paragraph for Literate Programming.
144         
145         * layout.C: add LT_PASS_THRU to LayoutTags enum.
146         * layout.C (LyXLayout): set pass_thru to flase in constructor.
147         * layout.C (Read): add "passthru" to list of layout tags and add
148         code to set the pass_thru boolean when it is read.
149
150 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
151
152         * trans_decl.h: remove allowed from KmodInfo
153
154         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
155         remove allowed code 
156         (Load): adjust
157
158         * paragraph_pimpl.C (erase): use boost::prior
159
160         * Painter.C (text): use data() instead of c_str() when length is
161         also provided.
162         * WorkArea.C (putClipboard): ditto
163         * font.h (width): ditto
164
165         * BufferView2.C: use it-> instead of (*it). for iterators
166         * texrow.C: ditto
167         * paragraph_pimpl.C: ditto
168         * paragraph.C: ditto
169         * minibuffer.C: ditto
170         * language.C: ditto
171         * kbmap.C: ditto
172         * encoding.C: ditto
173         * counters.C: ditto
174         * converter.C: ditto
175         * chset.C: ditto
176         * Variables.C: ditto
177         * TextCache.C: ditto
178         * MenuBackend.C: ditto
179         * LyXAction.C: ditto
180         * LColor.C: ditto
181         * FloatList.C: ditto
182         * DepTable.C: ditto
183         * ColorHandler.C (LyXColorHandler): ditto
184
185 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
186
187         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
188
189         * text2.C (openStuff): reintroduce this method (which had been
190         nuked in NEW_INSETS frenzy).
191
192         * lyxfunc.C (Dispatch): when an action has not been handled, use
193         its name in the error message, not its number.
194
195         * paragraph.C (inInset): change method name to begin with lowercase.
196
197         * undo_funcs.C:
198         * text2.C: updates because of this.
199
200 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
201
202         * ToolbarDefaults.C (add): add spaces in error message
203
204 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
205
206         * buffer.C (readLyXformat2): initialize the ert comp. variables.
207         (readLyXformat2): rename return_par to first_par, use lyxlex's
208         pushToken and remove the manual push handling.
209         (parseSingleLyXformat2Token): add another ert comp. variable:
210         in_tabular, rename return_par to first_par. handle newlines better
211
212 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
213
214         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
215
216 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
217
218         * text2.C (getParFromID): removed
219
220         * buffer.C (getParFromID): new method moved form lyxtext.
221         * BufferView2.C (insertErrors): adjust
222         (setCursorFromRow): adjust
223         * BufferView_pimpl.C (restorePosition): adjust
224         * lyxfunc.C (Dispatch): adjust
225         * undo_funcs.C (textUndo): adjust
226         (textRedo): adjust
227         (textHandleUndo): adjust
228         (textHandleUndo): adjust
229
230 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
231
232         * buffer.C: up' the LYX_FORMAT
233
234         * lyxfont.h: turn NO_LATEX on as default
235
236         * buffer.C (insertErtContents): new methods of tex style compability.
237         (parseSingleLyXformat2Token): use it several places.
238         * tabular.C (OldFormatRead): and here
239
240 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
241
242         * text2.C: remove some commented code.
243         reindent file.
244
245         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
246         * trans.C: changes because of the above.
247
248 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
249
250         * text2.C (setCounter): Fix counters bug with bibliography layout.
251
252 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
253
254         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
255         own member functions
256         (simpleTeXSpecialChars): ditto
257
258 2001-07-06  Juergen Vigna  <jug@sad.it>
259
260         * a lot of files: changed the access to LyXText::status and the
261         call of undo-functions.
262         
263         * undo.[Ch]: added a inset_id to the undo informations.
264
265         * undo_funcs.[Ch]: added and moved here all undo functions.
266
267         * lyxtext.h: give the status enum a weight, made status_ a private
268         variable and made accessor functions for it, removed the whole bunch
269         of undo-functions as they are now in their own file, make some
270         functions publically available. Added function ownerParagraph with
271         int parameter.
272
273         * paragraph.[Ch]: added "bool same_ids" to the constructor,
274         made InInset() a const function, added getParFromID() function.
275
276         * buffer.[Ch]: added const version for inset_iterator functions,
277         added getInsetFromID() function.
278
279         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
280         changed undo functions for new version.
281
282 2001-07-05  Juergen Vigna  <jug@sad.it>
283
284         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
285         unknow mechanism does not call the proper constructor but only this
286         one also if I request the other!?
287
288 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
289
290         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
291
292         * text2.C (LyXText): use initialization lists.
293
294         * lyxtext.h (Selection): initialize set_ and mark_
295         (init): remove method
296
297 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
298
299         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
300
301 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
302
303         * screen.[Ch]: change method names to begin with lowercase 
304
305         * BufferView_pimpl.C (updateScrollbar): simplify further and
306         hopefully make it a bit faster.
307
308 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
309
310         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
311         calling directly xforms functions.
312
313         * Painter.C (Painter): 
314         * lyx_cb.C (MenuWrite): 
315         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
316         fl_display.
317
318         * lyx_gui.C: remove bogus guiruntime extern declaration.
319
320 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
321
322         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
323         in NEW_INSETS
324         (redoDrawingOfParagraph): ditto
325         (redoParagraphs): ditto
326         (cutSelection): don't create a object for CutAndPaste use the
327         static method directly
328         (pasteSelection): ditto
329
330         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
331         LyXview (+ rename)
332
333 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
334
335         * modifications to some other files because of this.
336         
337         * Makefile.am (lyx_SOURCES): add XFormsView
338
339         * XFormsView.[Ch]: new files
340
341         * LyXView.[Ch]: make LyXView a base class for the gui handling for
342         the main window. Move the gui dependent stuff to XFormsView
343
344 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
345
346         * tabular.C (GetCellInset): update cur_cell also in the row/col
347         version of this function.
348
349         * lyxfunc.C: no need to include figure_form.h here.
350
351         * FontLoader.h: 
352         * lyxfunc.h: 
353         * lyxscreen.h: 
354         * text2.C: 
355         * lyxvc.C: no need to include forms.h here.
356
357 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
358
359         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
360
361         * lyxfunc.C (Dispatch): 
362         * Spacing.C (set): 
363         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
364         constructor argument.
365
366 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
367
368         * paragraph.C (Paragraph): dont't clear, and just set layout.
369         (makeSameLayout): use params's copy contructor.
370
371         * ParagraphParameters.[Ch] (makeSame): delete method
372
373 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
374
375         * Variables.[Ch]: fix indentation, rename set to isSet
376
377 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
378
379         * lyxfunc.C (Dispatch): fix typo
380
381 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
382
383         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
384         upper_bound. 
385
386         * bufferlist.C: include assert.h for emergencyWrite().
387
388 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
389
390         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
391           give up at last (bug #425202) !
392  
393 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
394
395         * lyx_gui_misc.C:
396         * sp_form.h:
397         * sp_form.C:
398         * spellchecker.h:
399         * spellchecker.C: strip spellchecker options and bring up
400           preferences tab instead
401          
402 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
403
404         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
405         the istringstream constructor
406
407 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
408
409         * paragraph.C (getLayout): fix return value
410
411         * paragraph.h: do not declare getLayout as inline.
412
413         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
414
415 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
416
417         * lyxcursor.h (operator<): new func
418         (operator>): new func
419         (operator>=): new func
420         (operator<=): new func
421
422         * text.C (changeCase): use selection.start and selection.end
423         (changeRegionCase): require from to be <= to. Require par to be a
424         valid paragraph.
425
426         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
427
428 2001-06-27  Juergen Vigna  <jug@sad.it>
429
430         * text.C (cursorLeftOneWord): changed to return the cursor and added
431         overlay with BufferView * parameter which calls this one.
432         (getWord): added
433         (selectWord): use new getWord function.
434         (changeCase): renamed from changeWordCase as and extended to work
435         also on selections.
436
437         * lyxtext.h: added enum word_location
438
439         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
440         changeCase as this operates now also on selections.
441
442 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
443
444         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
445
446         * many files: send debug output to Debug::INFO instead of
447         Debug::ANY. 
448
449         * converter.C (View): 
450         (Convert): 
451         (Move): send debug output to Debug::FILES instead of console.
452
453 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
454
455         * lyxfunc.C (getStatus): use func_status
456
457         * func_status.h: new header, describing the results of
458         LyXFunc::getStatus;
459
460         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
461         LFUN_MATH_HALIGN.
462
463 2001-06-25  The LyX Project  <jug@sad.it>
464
465         * buffer.C (sgmlOpenTag):
466         (sgmlCloseTag):
467         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
468
469 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
470
471         * text2.C: remove some dead code
472
473         * tabular.C (GetCellInset): store the last cell checked (gotten)
474
475         * tabular.h: add the helper for the speedup
476
477         * lyxtext.h: remove some dead code
478
479 2001-06-26  The LyX Project  <Asger>
480
481         * paragraph.C: Change export to LaTeX of alignment to
482         \begin{center} and family for better roundtrip work with reLyX.
483
484         * Tune the math drawing a bit.
485
486 2001-06-25  The LyX Project  <Asger>
487
488         * LColor.C (LColor): New color for math background. New color
489         for buttons.
490
491 2001-06-25  The LyX Project  <jug@sad.it>
492
493         * lyxfunc.C (MenuNew): remove extra check for .lyx file
494
495         * lyxfunc.C (Open): 
496         * bufferlist.C (newFile): do not restrict to files ending with
497         .lyx
498
499         * BufferView_pimpl.C (MenuInsertLyXFile): 
500
501 2001-06-24  The LyX Project  <jug@sad.it>
502
503         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
504         of compare_no_case
505
506 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
507
508         * lyxtext.h: rename most methods to begin with a small char.
509         Lots of changes because of this.
510
511         * paragraph.C (Paragraph): do not call fitToSize
512         (erase): call Pimpl::erase
513         (insertChar): call Pimpl::insertChar
514         (insertInset): call Pipl::insertInset
515         (breakParagraph): do not call fitToSize
516         (breakParagraphConservative): do not call fitToSize
517         (fitToSize): remove method
518
519         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
520
521 2001-06-24  The LyX Project  <Asger>
522
523         * Fix Qt compilation^2
524
525 2001-06-24  The LyX Project  <jug@sad.it>
526
527         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
528         depthHook(getDepth()-1).
529
530         * paragraph.h: 
531         * ParagraphParameters.h: 
532         * ParameterStruct.h: change type of depth to unsigned int ==
533         depth_type. Many adaptations to other files before of that.
534
535 2001-06-24  The LyX Project  <Asger>
536
537         * Fix Qt compilation.
538
539 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
540
541         * paragraph.h: renamed several methods to begin with small letter.
542         several changes to many parts of the code because of this.
543
544 2001-06-23  The LyX Project  <jug@sad.it>
545
546         * text2.C (InsertStringAsLines): renamed from InsertStringA;
547         rewritten to discard all double spaces when KeepEmpty is off
548         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
549         to only handle newlines but not fiddle with spaces and friends.
550
551         * lyxfunc.C (MenuNew): when doing 'new from template', use
552         template_path as default directory
553
554 2001-06-23  The LyX Project  <Asger>
555
556         * Clean-up of header file includes all over
557         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
558         
559 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
560
561         * paragraph.h: renamed from lyxparagraph.h
562
563 2001-06-23  Asger  <lyx@violet.home.sad.it>
564
565         * Buffer.h: Removed Buffer::resize
566         * BufferList.h: Removed BufferList::resize
567         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
568         the document lazily when we change the width, or the font settings.
569
570 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
571
572         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
573
574 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
575
576         * buffer.h: remove out of date comment
577
578 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
579
580         * lyxscreen.h:
581         * screen.C: fix "theoretical" GC leak
582  
583 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
584
585         * LaTeX.C (scanAuxFile):
586         (deplog): remove trailing \r when reading stream (useful under
587         win32)  
588
589 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
590
591         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
592         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
593         and BufferView::theLockingInset(Inset*), so should use them and not
594         access bv_->text->the_locking_inset directly.
595
596         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
597
598 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
599
600         * Makefile.am:
601         * tex-defs.h: remove old unused file
602          
603 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
604
605         * BufferView_pimpl.C: fix typo, remove minibuffer message
606           when buffer has loaded
607
608 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
609
610         * lyxfunc.C (Dispatch): use stringstream
611         (MenuNew): use stringstream
612         (Open): use stringstream
613
614         * importer.C (Import): use stringstream
615
616         * bufferview_funcs.C (CurrentState): use stringstream
617
618         * LaTeX.C (run): use stringstream
619
620         * BufferView_pimpl.C (savePosition): use stringstream
621         (restorePosition): use stringstream
622         (MenuInsertLyXFile): use stringstream
623
624 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
625
626         * BufferView.C:
627         * Bullet.C:
628         * ColorHandler.C:
629         * FontInfo.C:
630         * FontLoader.C:
631         * LColor.C:
632         * LaTeXFeatures.C:
633         * Painter.C:
634         * gettext.C:
635         * lyx_gui_misc.C:
636         * lyxserver.C:
637         * vspace.C: removed // -*- C++ -*- as first line.
638
639         * lyxfind.h:
640         * version.h: added // -*- C++ -*- as first line.
641
642 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
643
644         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
645
646         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
647         of string
648
649 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
650
651         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
652         of floats.
653
654 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
655
656         * gettext.C: include LString.h even when --disable-nls is on. 
657
658 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
659
660         * converter.h (Get): changed argument type from int to
661         FormatList::size_type to avoid unnecessary conversion.
662
663         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
664         before using it.
665
666 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
667
668         * gettext.h: include LString.h even when --disable-nls is on. 
669
670 2001-06-07  Juergen Vigna  <jug@sad.it>
671
672         * text.C (BreakAgain): subst spaces with tabs.
673
674         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
675         (resizeInsetsLyXText): set force on resizeLyXText.
676
677 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
678
679         * gettext.h (gettext_init): 
680         (locale_init): use a real definition instead of a macro
681
682 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
683
684         * Bufferview_pimpl.C:
685         * LColor.h:
686         * LColor.C: further lcolor tidies
687
688 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
689
690         * BufferView_pimpl.C (updateScrollbar): simplify.
691
692         * BufferView2.C: don't include insets/insetinfo.h, change
693         prototype for insertInset and call the Pimpl version. let
694         updateInset call Pimpl version.
695
696         * BufferView.h: move inset_slept to BufferView::Pimpl, move
697         gotoInset to BufferView::Pimpl
698
699 2001-06-01  Juergen Vigna  <jug@sad.it>
700
701         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
702         inside a LockingInset (is the update needed at all?).
703
704 2001-05-31  Juergen Vigna  <jug@sad.it>
705
706         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
707         here not the old one otherwise how should we compare it afterwards
708         if it's the same!
709
710 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
711
712         * lyxfont.C: 
713         * tabular.C:
714         * tabular-old.C: 
715         * FontInfo.C: bring C functions into global namespace when
716         necessary
717
718 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
719
720         * LString.h: make sure config.h has been loaded before LString.h.
721
722         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
723         (one for each char read by EatLine!).
724
725         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
726         variables. 
727
728 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
729
730         * paragraph.C (BreakParagraph): set the inset_owner in the new par
731         to the same as the par we break from
732
733 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
734
735         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
736
737         * MenuBackend.C (expand): also create menu entries for wide
738         versions of the floats.
739
740         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
741
742         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
743
744         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
745         frontends/Makefile.am
746
747         * text2.C: adjust
748         * text.C: adjust
749         
750
751         * tabular.C (getTokenValue): add std::
752
753         * tabular-old.C (getTokenValue): add std::
754         (getTokenValue): ditto
755         (getTokenValue): ditto
756
757         * screen.C (ToggleSelection): adjust
758
759         * lyxtext.h: put selection cursors inside a Selection struct.
760
761         * lyxfunc.C (moveCursorUpdate): adjust
762
763         * lyxfont.C (latexWriteStartChanges): add std::
764
765         * lyxfind.C: adjust
766
767         * font.h: delete with(char const *, LyXFont const &)
768
769         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
770
771         * FontInfo.C (getFontname): add std::
772
773         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
774         (workAreaButtonPress): adjust
775         (tripleClick): adjust
776         (update): adjust
777         (moveCursorUpdate): adjust
778         (Dispatch): adjust
779
780         * BufferView2.C (gotoInset): adjust
781
782 2001-05-30  Juergen Vigna  <jug@sad.it>
783
784         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
785         to check pspell I add this as default as I now have new pspell
786         libraries and they seem to use this.
787
788 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
789
790         * text2.C (CutSelection): make the cursor valid before the call to
791         ClearSelection.
792
793 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
794
795         * kbsequence.C (parse): de-uglify a bit the parsing code, which
796         relied on 0 terminated strings and other horrors. Bug found due to
797         the new assert in lyxstring!
798
799         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
800         KP_ keys.
801
802 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
803
804         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
805         to latinkeys.bind.
806
807         * lyxfunc.C (processKeySym): change method of getting to the
808         self-insert char.
809
810         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
811         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
812         * BufferView_pimpl.[Ch]: here as private methods.
813
814 2001-05-28  Juergen Vigna  <jug@sad.it>
815
816         * text.C (SetHeightOfRow): added the update() call again as it is
817         needed to initialize inset dimensions!
818
819 2001-05-16  Juergen Vigna  <jug@sad.it>
820
821         * text2.C (SetCharFont): Add new function with BufferView * and
822         bool toggleall parameters for setting insets internal fonts.
823         (SetFont): Freeze the undo as we may change fonts in Insets and
824         all this change should be inside only one Undo!
825
826         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
827         setting font's in insets as for them we have the SetFont function!
828
829 2001-05-15  Juergen Vigna  <jug@sad.it>
830
831         * text2.C (ClearSelection): to be sure we REALLY don't have any
832         selection anymore!
833
834         * tabular.C (TeXCellPreamble): fixed the left border problem for
835         multicolumn cells.
836
837 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
838
839         * LaTeX.C (deplog): Make sure that the main .tex file is in the
840         dependancy file
841
842 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
843
844         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
845         LFUN_BREAKPARAGRAPH.
846
847         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
848         help test to "internal only", similar for LFUN_INSERT_URL
849
850         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
851         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
852         auto_region_delete and deadkeys. 
853
854 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
855
856         * LColor.h:
857         * LColor.C: remove some dead entries, tidy a little
858  
859 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
860
861         * lyxfunc.C (processKeySym): comment the Escape handling, remove
862         commented code.
863         (Dispatch): implement LFUN_ESCAPE
864
865         * commandtags.h: add LFUN_ESCAPE
866
867         * LyXAction.C (init): add entry for LFUN_ESCAPE
868
869         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
870         Remove commented code.
871         (insertNote): moved here
872         (open_new_inset): moved here
873
874         * BufferView[2].[Ch]: move insertNote and open_new_inset to
875         BufferView_pimpl
876
877 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
878
879         * kbmap.C (findbinding): clean it up and make it work correctly.
880
881         * lyx_main.C (init): do not pass argc and argv as parameters
882
883 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
884
885         * buffer.C: fix path for OS/2 & Win32
886
887         * lyx_gui.C:
888         * lyx_main:
889         * lyx_main.C: Added os:: class.
890         
891         * os2_defines.h: update
892
893 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
894
895         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
896         better by trying again with reduced state.
897
898 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
899
900         * lyxrc.C (read): print error about invalid key sequence only when
901         debugging (because not all latinX keysyms are known to some X
902         servers)
903
904         * kbsequence.C (getiso): add a few std:: qualifiers
905         (getiso): comment out extra return statement.
906
907 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
908
909         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
910         handling.
911         (Dispatch): enhance the accent inset a bit. (not perfect)
912
913 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
914
915         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
916
917 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
918
919         * bufferlist.C (emergencyWrite): fix assert() call
920
921 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
922
923         * text.C (InsertChar): Added trivial patch to only send the "you
924         can not do multiple spaces this way" message once during a
925         session.
926
927 2001-05-08  Baruch Even  <baruch@lyx.org>
928
929         * Makefile.am: Changed order of libraries to get LyX to link properly
930         with the gnome frontend.
931
932 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
933
934         * LaTeXFeatures.h: add a std:: qualifier
935
936 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
937
938         * paragraph.C (String): use stringstream
939
940 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
941
942         * paragraph.C (writeFile): remove footflag arg
943
944         * buffer.C (makeLaTeXFile): use stringstream
945         (latexParagraphs): remove footnot gurba
946
947         * LaTeXFeatures.C (getPackages): use stringstream
948         (getMacros): likewise
949         (getTClassPreamble): likewise
950         (getFloatDefinitions): new method
951
952         * paragraph.C (writeFile): reindent
953         (Erase): reindent
954
955         * WorkArea.h: revert the xpos + etc changes.
956
957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
958
959         * lyxparagraph.[Ch]: add copy constructor, remove Clone
960
961         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
962         (pasteSelection): likewise
963         * text2.C (CreateUndo): likewise
964
965 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
966
967         * minibuffer.C (peek_event): temporarily reduce the functionality
968         of the minibuffer (to allow args on lfuns)
969
970         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
971         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
972
973         * buffer.C (readInset): add compability reading of old float
974         lists, add reading of new style float list.
975         (readInset): avoid reevaluation of inscmd.getCmdName()
976         (getLists): reindent
977
978         * MenuBackend.C (MenuItem): implement parsing of
979         md_floatlistinsert and md_floatinsert.
980         (expand::LastFiles): move initalizaton of iterators out of loop,
981         avoid reevaluation.
982         (expand::Documents): introduce typdedef vector<string> Strings,
983         and use it. 
984         (expand::ExportFormats): introduce typedef vector<Format const *>
985         Formats, and use it.
986         (expand): implement FloatListInsert and FloatInsert.
987
988         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
989         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
990         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
991
992         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
993         handling. 
994         (Dispatch::LFUN_FLOAT_LIST): implement
995
996 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
997  
998         * LaTeX.C (run): Fix problem with --export code.
999  
1000 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1001
1002         * BufferView.[Ch] (workarea): removed.
1003         (getClipboard) new method; wrapper for workarea()->getClipboard()
1004
1005         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1006         bug.
1007
1008         * WorkArea.h (width, height, xpos, ypos): These methods all
1009         returned the dimensions of the work_area sub-area of WorkArea,
1010         resulting in a position error if the WorkArea were resized. Now
1011         return the dimensions of the entire WorkArea.
1012
1013         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1014
1015 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1016
1017         * LaTeX.C (deplog): correct the syntax of regex reg1
1018
1019 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1020
1021         * undo.C: remove !NEW_INSETS cruft
1022
1023 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1024
1025         * text2.C: remove !NEW_INSETS cruft
1026
1027         * text.C: remove !NEW_INSETS cruft
1028
1029         * tabular.C: remove !NEW_INSETS cruft
1030
1031         * spellchecker.C: remove !NEW_INSETS cruft
1032
1033         * lyxtext.h: remove !NEW_INSETS cruft
1034
1035         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1036
1037         * lyxfunc.C: remove !NEW_INSETS cruft
1038
1039         * lyxfind.C: remove !NEW_INSETS cruft
1040
1041         * lyx_cb.C: remove !NEW_INSETS cruft
1042
1043         * figureForm.C: remove  !NEW_INSETS cruft
1044
1045         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1046
1047         * buffer.[Ch]: remove !NEW_INSETS cruft
1048
1049         * ToolbarDefaults.C: remove !NEW_INSETS cruft
1050
1051         * CutAndPaste.C: remove !NEW_INSETS cruft
1052
1053         * BufferView_pimpl.C: remove !NEW_INSETS cruft
1054
1055         * BufferView2.C: remove !NEW_INSETS cruft
1056
1057         * BufferView.h: remove !NEW_INSETS cruft
1058
1059 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1060
1061         * Lsstream.h: include LString.h before the sstream headers to
1062         fix problem with gcc 2.95.3 and lyxstring
1063
1064 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1065
1066         * lyx_main.C: add using directives when needed for C functions
1067         declared in std:: namespace.
1068
1069 2001-04-27  Juergen Vigna  <jug@sad.it>
1070
1071         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1072         (SetHeightOfRow): comment out the update call should not be needed!
1073
1074 2001-04-13  Juergen Vigna  <jug@sad.it>
1075
1076         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1077         (LyXTabular): tried to minimize operator= operations (and realized
1078         hopfully Lars wish).
1079
1080 2001-04-27  Juergen Vigna  <jug@sad.it>
1081
1082         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1083
1084 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1085
1086         * lyxfunc.C (Dispatch): hack to make listof algorithm work
1087
1088         * buffer.C (readInset): hack to make listof algorithm work
1089
1090         * BufferView_pimpl.C: hack to make listof algorithm work
1091
1092 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1093
1094         * LyXAction.C: removed all !NEW_INSETS cruft
1095         (init): moved lfun_item in method
1096
1097         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1098
1099 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1100
1101         * BufferView2.C (theLockingInset): white space.
1102
1103 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1104
1105         * minibuffer.C: include <iostream>
1106
1107         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1108
1109         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1110
1111         * commandtags.h: add LFUN_TRANSPOSE_CHARS
1112
1113         * text.[Ch] (TransposeChars): new method
1114
1115 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1116
1117         * call message directly through LyXView instead of through LyXFunc
1118         * BufferView2.C: adjust
1119         * BufferView_pimpl.C: adjust
1120         * FontLoader.C: adjust
1121         * buffer.C: adjust
1122         * bufferview_funcs.C: adjust
1123         * converter.C: adjust
1124         * figureForm.C: adjust
1125         * importer.C: adjust
1126         * lyx_cb.C: adjust
1127         * lyx_gui_misc.C: adjust
1128         * lyxfunc.C: adjust
1129         * lyxvc.C: adjust
1130         * text2.C: adjust
1131         + more files in subdirs
1132         
1133         * lyxparagraph.h (size): move up int file
1134         (GetLayout): ditto
1135
1136         * adjust all uses of Assert to lyx::Assert.
1137
1138         * BufferView2.C (ChangeCitationsIfUnique): adjust for
1139         lyxfunctional in namespace lyx
1140         * layout.C (hasLayout): ditto
1141         (GetLayout): ditto
1142         (GetLayout): ditto
1143         (delete_layout): ditto
1144         (NumberOfClass): ditto
1145         * converter.C (GetFormat): ditto
1146         (GetNumber): ditto
1147         (Add): ditto
1148         (Delete): ditto
1149         (SetViewer): ditto
1150         * bufferlist.C (getFileNames): ditto
1151         (emergencyWriteAll): ditto
1152         (exists): ditto
1153         (getBuffer): ditto
1154         * MenuBackend.C (hasSubmenu): ditto
1155         (hasMenu): ditto
1156         (getMenu): ditto
1157         * BufferView_pimpl.C (getInsetByCode): ditto
1158
1159 2001-04-18  Juergen Vigna  <jug@sad.it>
1160
1161         * vspace.C (asLatexString): fixed the 100% problem.
1162
1163 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1164
1165         * lyxfunc.C (Dispatch): 
1166         * minibuffer.C: 
1167         * minibuffer.h: add a few std:: qualifiers
1168
1169 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1170
1171         * minibuffer.[Ch]: reimplement so that commands is initiated and
1172         run from lyxfunc, simplified som handling, and made the completion
1173         and history code for complete. wip. 
1174
1175         * lyxfunc.C (processKeySym): call message
1176         (miniDispatch): new temporary method
1177         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1178         (LFUN_MESSAGE): implement
1179         (LFUN_MESSAGE_PUSH): implement
1180         (LFUN_MESSAGE_POP): implement
1181         (initMiniBuffer): the initial/defualt minibuffer message.
1182
1183         * lyxfont.[Ch]: inline some more getters
1184
1185         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1186
1187         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
1188
1189         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1190         (AutoSave): use LFUN_MESSAGE
1191         (Reconfigure): ditto
1192
1193         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1194
1195         * figureForm.C: use LFUN_MESSAGE
1196
1197         * converter.C (runLaTeX): use LFUN_MESSAGE
1198
1199         * bufferview_funcs.C: use LFUN_MESSAGE
1200         (Melt): ditto
1201         (changeDepth): ditto
1202
1203         * bufferparams.h: use boost::
1204
1205         * bufferlist.h: inherit privately from noncopyable
1206
1207         * bufferlist.C (loadLyXFile): remove some commented code.
1208
1209         * buffer.C (runChktex): use LFUN_MESSAGE
1210
1211         * ShareContainer.h: inherit privately from noncopyable
1212
1213         * ParagraphParameters.[hC] (depth): inline it.
1214
1215         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1216         methods.
1217         (message): new method
1218         (messagePush): ditto
1219         (messagePop): ditto
1220         (show): init minibuffer
1221         (showState): direct call
1222
1223         * LaTeX.[Ch]: inherit privately from noncopyable
1224         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1225         instead of WriteStatus.
1226
1227         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1228
1229         * BufferView_pimpl.C (buffer): don't init minibuffer
1230         (workAreaButtonPress): use LFUN_MESSAGE
1231         (workAreaButtonRelease): ditto
1232         (savePosition): ditto
1233         (restorePosition): ditto
1234         (MenuInsertLyXFile): ditto
1235         (workAreaExpose): don't init minibuffer
1236         (update): remove commented code, simplify
1237
1238         * BufferView2.C (openStuff): use LFUN_MESSAGE
1239         (toggleFloat): ditto
1240         (menuUndo): ditto
1241         (menuRedo): ditto
1242         (copyEnvironment): ditto
1243         (pasteEnvironment): ditto
1244         (copy): ditto
1245         (cut): ditto
1246         (paste): ditto
1247         (gotoInset): ditto
1248         (updateInset): remove some commented code
1249
1250         * lastfiles.h: inherit privately from noncopyable
1251         * layout.h: ditto
1252         * lyx_gui.h: ditto
1253         * lyx_main.h: ditto
1254         * lyxlex.h: ditto
1255         * lyxlex_pimpl.h: ditto
1256
1257         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1258         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1259         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1260
1261         * LyXAction.h: inherit privately from noncopyable, add methods
1262         func_begin, func_end, returning iterators to the func map.
1263
1264         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1265         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1266         (func_begin): new method
1267         (func_end): new method
1268
1269         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1270         and not)
1271         (copySelection): ditto
1272         (pasteSelection): ditto
1273
1274         * BufferView.C: whitespace change
1275         * BufferView.h: inherit privately from noncopyable
1276
1277 2001-04-16  Allan Rae  <rae@lyx.org>
1278
1279         * tabular-old.C (l_getline): 
1280         * spellchecker.C (sc_check_word): 
1281         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1282         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1283
1284 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
1285
1286         * src/exporter.C (Export): Give an error message when path to file 
1287         contains spaces.
1288
1289 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
1290
1291         * LaTeX.C (deplog): Always check that foundfile exists.
1292
1293 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1294
1295         * lyx_main.h: 
1296         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
1297
1298 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1299
1300         * tabular.[Ch] (getLabelList): implement new method
1301
1302         * minibuffer.h: comment ouf setTiimer
1303
1304         * minibuffer.C (ExecutingCB): constify res
1305         (peek_event): constify s
1306         (Set): constify ntext
1307         (Init): constify nicename
1308
1309         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1310
1311         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1312         (savePosition): use two params to Minibuffer::Set
1313         (restorePosition): ditto
1314
1315 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1316
1317         * lyx_main.C: include language.h
1318
1319         * Makefile.am (lyx_main.o): add language.h
1320
1321 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1322
1323         * exporter.C: 
1324         * paragraph.C: 
1325         * screen.C: 
1326         * tabular.C: 
1327         * CutAndPaste.C: include gettext.h
1328
1329         * lyxfont.h: remove old hack with ON and OFF.
1330
1331         * lyxparagraph.h: 
1332         * lyxfont.h: do not include language.h...
1333
1334         * BufferView2.C: 
1335         * LaTeXFeatures.C: 
1336         * Painter.C: 
1337         * bufferview_funcs.C: 
1338         * font.C: 
1339         * lyxfont.C: 
1340         * text.C: 
1341         * text2.C: 
1342         * trans_mgr.C: 
1343         * paragraph.C: ... but do it here instead
1344
1345 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1346
1347         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1348
1349         * tabular.C: small reformat
1350
1351         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1352         NEW_INSETS version
1353         (GetChar): ditto
1354         (BreakParagraph): ditto
1355         (SetOnlyLayout): ditto
1356         (SetLayout): ditto
1357
1358         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1359         with one arg less.
1360
1361         * lastfiles.C: removed most using decl, add std:: where needed
1362
1363         * buffer.C: ws changes
1364
1365         * MenuBackend.C (class compare_format): put into anon namespace
1366         (expand): constify label, names, action, action2
1367         (expand): 
1368
1369         * text.C (SingleWidth): constify font
1370         (IsBoundary): constify rtl2
1371         (GetVisibleRow): constify ww
1372
1373         * LaTeX.C (deplog): constify logfile
1374
1375         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1376         start_x, end_x
1377         (workAreaExpose): constify widthChange, heightChange
1378
1379         * lyxrow.C (par): moved
1380         (height): moved
1381         (next): moved
1382         * lyxrow.h: as inlines here
1383
1384         * lyxfont.h (shape): moved from lyxfont.C
1385         (emph): moved from lyxfont.C
1386
1387         * lyxfont.C (LyXFont): use initialization list for all
1388         constructors
1389         (shape): move to lyxfont.h as inline
1390         (emph): move to lyxfont.h as inline
1391         
1392
1393 2001-04-04  Juergen Vigna  <jug@sad.it>
1394
1395         * vspace.C: had to include stdio.h for use of sscanf
1396
1397 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
1398
1399         * BufferView.h: 
1400         * BufferView_pimpl.h: remove xforms cruft. Both classes are
1401         independent of xforms.
1402
1403 2001-04-02  Juergen Vigna  <jug@sad.it>
1404
1405         * spellchecker.C: fixed namespace placing!
1406
1407 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
1408
1409         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1410         the LyXParagraph * is 0.
1411
1412 2001-03-29  Juergen Vigna  <jug@sad.it>
1413
1414         * vspace.C: added support for %, c%, p%, l%.
1415         (stringFromUnit): added helper function.
1416         (asLatexString): changed to give right results for the %-values.
1417
1418         * buffer.C: convert the widthp in a width%.
1419
1420 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1421
1422         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1423         figureForm.[Ch].
1424
1425         * figureForm.[Ch]: stripped the FD_from_figure manipulation
1426         code out of lux_cb.[Ch], ready for its (imminent?) removal.
1427
1428         * lyx_cb.[Ch]: see above.
1429
1430         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1431         form1.[Ch].
1432
1433         * form1.[Ch]:
1434         * lyx.[Ch]: replaced by figure_form.[Ch].
1435
1436         * lyx_gui.C:
1437         * lyx_gui_misc.C:
1438         * lyxfunc.C: changed headers associated with above changes.
1439
1440 2001-03-27  Juergen Vigna  <jug@sad.it>
1441
1442         * BufferView_pimpl.C: set the temporary cursor right!
1443
1444 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1445
1446         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1447
1448 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1449
1450         * LString.h: removed "using std::getline"!
1451
1452         * BufferView_pimpl.C (Dispatch): changes due to changes in
1453         InsetInclude::Params.
1454
1455         * buffer.C (tag_name): removed redundant break statements as they were
1456         producing lots of warnings with my compiler.
1457
1458 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1459
1460         * LString.h: add "using std::getline" when using the real <string>.
1461
1462 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1463
1464         * buffer.C: removed bitset usage.
1465         PAR_TAG moved to an anonymous name space.
1466         (tag_name): new funtion, also in the anonymous namespace.
1467         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1468         (makeDocBookFile): clean code. Completed transition from string arrays
1469         to string vectors.
1470         (SimpleDocBookOnePar): code clean.
1471
1472 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1473
1474         * tabular.C: add some comments.
1475
1476 2001-03-22  Juergen Vigna  <jug@sad.it>
1477
1478         * buffer.C (parseSingleLyXformat2Token): redone the minipage
1479         compatibility read a bit and fixed bug with minipage in different
1480         depth.
1481
1482 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
1483
1484         * buffer.C (pop_tag): removed.
1485         (push_tag): removed.
1486         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1487         array replaced with vector. Added support for CDATA sections.
1488         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1489         at any nest level.
1490         (makeDocBookFile): XML conformant declaration of CDATA section,
1491         fixed bug related to <emphasis> in the first paragraph char.
1492         (sgmlOpenTag): exclude empty tags.
1493         (sgmlCloseTag): ditto.
1494         
1495         * buffer.h (pop_tag): removed.
1496         (push_tag): removed.
1497
1498 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1499
1500         * language.h (Languages): added size_type and size().
1501
1502 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1503
1504         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1505         response on compability reading of minipages. One probliem is that
1506         the old usage of minipages was «flertydig» 
1507
1508         * several files here and in subdirs: don't use static at file
1509         scope use anon namespaces instead.
1510
1511 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
1512
1513         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1514         LaTeX output. This is necessary for Literate document
1515         processing.
1516
1517 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1518
1519         * buffer.C: insert hfill when needed.
1520
1521         * tabular.C (l_getline): use string::erase, small whitespace change.
1522
1523         * BufferView_pimpl.C: try the anon namespace.
1524         * WorkArea.C: ditto
1525
1526 2001-03-16  Juergen Vigna  <jug@sad.it>
1527
1528         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1529         otherwise it won't open options-dialogs.
1530
1531         * buffer.C: honor pextraWidth(p) on converting minipages.
1532
1533         * tabular.C (l_getline): changed the functions to strip trailing \r.
1534
1535 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
1536
1537         * BufferView_pimpl.C:
1538         * minibuffer..C: added "using SigC::slot" declaration.
1539
1540 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1541
1542         * lyxlex_pimpl.h: noncopyable is in namespace boost.
1543
1544         * text2.C: ditto
1545
1546         * text.C: ditto
1547
1548         * paragraph.C: ditto
1549
1550         * lyxtext.h: NO_PEXTRA
1551
1552         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1553
1554         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1555         * ParameterStruct.h: ditto
1556         * ParagraphParameters.h: ditto 
1557         * lyxparagraph.h: ditto
1558
1559 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1560
1561         * buffer.C: add compability for minipage alignment.
1562         (latexParagraphs): remove unwanted pextra check.
1563
1564         * several files: remove CXX_WORKING_NAMESPACES
1565
1566         * buffer.C (pop_tag): tie is in namespace boost
1567
1568         * BufferView.h: noncopyable is in namespace boost
1569         * lyxlex.h: ditto
1570         * lyx_main.h: ditto
1571         * lyx_gui.h: ditto
1572         * layout.h: ditto
1573         * lastfiles.h: ditto
1574         * bufferlist.h: ditto
1575         * ShareContainer.h: ditto
1576         * LyXView.h: ditto
1577         * LyXAction.h: ditto
1578         * LaTeX.h: ditto
1579
1580 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1581
1582         * Merging changes from BRANCH_MVC back into HEAD.
1583
1584         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1585
1586 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
1587
1588         * BufferView_pimpl.C: change from intl.C
1589
1590         * combox.h:
1591         * combox.C:
1592         * Makefile.am: move combox.*
1593
1594         * form1.h:
1595         * form1.C:
1596         * lyx_gui.C:
1597         * intl.h:
1598         * intl.C: remove dialog (covered by prefs)
1599
1600 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1601
1602         * lyxfunc.C (Dispatch): removed redundant break statement.
1603         
1604 2001-03-14  Juergen Vigna  <jug@sad.it>
1605
1606         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1607
1608 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1609
1610         * buffer.C: add hack to fix compability reading of minipages.
1611
1612 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1613
1614         * buffer.C (getLists): Cleanup.
1615
1616 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1617
1618         * lyxfont.C (update): don't honor toggleall on font size.
1619
1620 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
1621
1622         * bmtable.c:
1623         * bmtable.h:
1624         * Makefile.am: moved to frontends/xforms/
1625
1626         * lyx_gui_misc.C:
1627         * lyxfunc.C:
1628         * BufferView_pimpl.C: changes for moved mathpanel
1629
1630 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1631
1632         * gettext.h: fix gettext_init() in --disable-nls
1633
1634 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1635
1636         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1637
1638 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1639
1640         * lyx.C:
1641         * lyx.h: strip external form
1642
1643 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1644
1645         * BufferView_pimpl.C: add comment, destroySplash()
1646
1647 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1648
1649         * BufferView_pimpl.C:
1650         * LyXAction.C:
1651         * buffer.C:
1652         * commandtags.h:
1653         * lyxfunc.C: use re-worked insetinclude
1654
1655 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1656
1657         * buffer.C: add using std::stringstream.
1658
1659         * lyx_cb.C: readd using std::ios.
1660
1661         * buffer.C: add using std::map.
1662
1663         * BufferView_pimpl.C: add using std::vector.
1664
1665         * ShareContainer.h: add std:: to swap.
1666
1667         * buffer.h: add some typedefs
1668         * buffer.C (getLists): use them
1669         (getLists): renamed from getTocList.
1670         add a counter for the different float types and use it in the
1671         generated string.
1672         (getLists): use the same counter for the NEW_INSETS and the "non"
1673         NEW_INSETS
1674
1675         * lyx_cb.h: remove unused items, includes, using etc.
1676
1677         * ShareContainer.h: remove some commented code, add more comments
1678         and "documentation".
1679
1680 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1681
1682         * buffer.C (getTocList): make the list also when NEW_INSETS is
1683         defined.
1684
1685         * buffer.h: remove TocType
1686
1687         * buffer.C (getTocList): change to return a map<string,
1688         vector<TocItem> >, implement for dynamic number of list.
1689
1690         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1691         * text2.C (PasteSelection): adjust
1692         * CutAndPaste.C (pasteSelection): adjust
1693
1694         * FloatList.C (FloatList): update from the new_insets branch.
1695         * Floating.[Ch]: ditto
1696         * LaTeXFeatures.C: ditto
1697         * buffer.C: ditto
1698         * lyxlex_pimpl.C: ditto
1699         
1700         * paragraph.C (Last): remove when NEW_INSETS is defined.
1701
1702         * other file: changes because of the above.
1703
1704 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1705
1706         * lyxparagraph.h: rename next to next_, previous to previous_,
1707         make them private for NEW_INSETS. Rename Next() to next(),
1708         Previous() to previous().
1709
1710         * other files: changes because of the above.
1711
1712 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
1713
1714         * BufferView.h: 
1715         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1716         problem.
1717
1718 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1719
1720         * main.C (main): pass lyx_localedir to gettext_init().
1721
1722         * gettext.h: remove locale_init and gettext_init macros
1723
1724         * gettext.C (locale_init): new function
1725         (gettext_init): new function
1726
1727         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1728         setlocale().
1729
1730 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
1731
1732         * Moved credits to frontends:
1733         * credits.[Ch]: removed
1734         * credits_form.[Ch]: removed
1735         * lyx_gui_misc.C: remove credits stuff
1736         * Makefile.am:
1737
1738 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1739
1740         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1741
1742         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1743         unneeded destructor.
1744
1745         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1746         a standalone pointer again.
1747
1748         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1749
1750 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1751
1752         * Makefile.am:
1753         * filedlg.h:
1754         * filedlg.C:
1755         * LyXAction.C:
1756         * ToolbarDefaults.C:
1757         * bufferlist.C:
1758         * commandtags.h:
1759         * form1.C:
1760         * form1.h:
1761         * lyx_cb.C:
1762         * lyx_cb.h:
1763         * lyxfunc.h:
1764         * lyxfunc.C:
1765         * BufferView_pimpl.C: use new file dialog in GUII
1766
1767         * lyx_cb.h:
1768         * lyx_cb.C: remove LayoutsCB to Toolbar
1769
1770 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1771
1772         * ShareContainer.h (get): add std:: qualifier
1773
1774 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1775
1776         * ShareContainer.h: define a proper ShareContainer::value_type
1777         type (and use typename to please compaq cxx)
1778
1779 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1780
1781         * lyxparagraph.h: move serveral local vars to
1782         ParameterStruct/ParagraphParameters., use ShareContainer in
1783         FontTable., make vars in FontTable private and add getter and
1784         setter.
1785
1786         * paragraph.C: changes because of the above.
1787
1788         * lyxfont.h: remove copy constructor and copy assignment. (the
1789         default ones is ok), move number inside FontBits. move inlines to
1790         lyxfont.C 
1791
1792         * lyxfont.C: add number to initializaton of statics, move several
1793         inlines here. constify several local vars. some whitespace
1794         cleanup. Dont hide outerscope variables.
1795
1796         * Spacing.h: add two new constructors to match the set methods.
1797
1798         * ShareContainer.h: new file, will perhaps be moved to support
1799
1800         * ParameterStruct.h: new file
1801
1802         * ParagraphParameters.h: new file
1803
1804         * ParagraphParameters.C: new file
1805
1806         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1807         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1808
1809         * BufferView_pimpl.C: ParagraphParameter changes.
1810         * buffer.C: Likewise.
1811         * bufferview_funcs.C: Likewise.
1812         * text.C: Likewise.
1813         * text2.C: Likewise.
1814         
1815 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1816
1817         * lyxfind.C (LyXReplace): do not redefine default argument in
1818         implementation. 
1819         (IsStringInText): ditto
1820         (SearchForward): ditto
1821         (SearchBackward): ditto
1822
1823 2001-03-06  Juergen Vigna  <jug@sad.it>
1824
1825         * lyxfind.C (IsStringInText): put parentes around expressions.
1826
1827 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
1828
1829         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1830         
1831 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1832
1833         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1834
1835         * stl_string_fwd.h: add comment
1836
1837         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1838
1839         * tabular.h:
1840         * tabular.C: remove unused DocBook methods
1841
1842         * intl.C:
1843         * language.C:
1844         * paragraph.C:
1845         * buffer.C:
1846         killed DO_USE_DEFAULT_LANGUAGE
1847
1848 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1849
1850         * lyx_gui.C: do not include language.h.
1851
1852         * bufferview_funcs.C (ToggleAndShow): do not provide optional
1853         arguments in function implementation.
1854
1855 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1856
1857         * BufferView_pimpl.C: add <ctime>
1858
1859 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1860
1861         * BufferView_pimpl.C: add using std::find_if
1862
1863 2001-02-27  José Matos  <jamatos@fep.up.pt>
1864         
1865         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1866         by OnlyPath.
1867         
1868 2001-02-11  José Matos  <jamatos@fep.up.pt>
1869
1870         * buffer.C (makeDocBookFile): command styles now have a parameter as
1871         "title" by default.
1872
1873 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
1874
1875         * layout_forms.[Ch]: removed
1876         * lyx_cb.[Ch]: out character
1877         * lyx_gui.C: out character
1878         * lyx_gui_misc.C: out character
1879         * bufferview_funcs.C: : out character,
1880         added toggleall as parameter in ToggleAndShow
1881                    
1882 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
1883
1884         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1885
1886         * text2.C (SetCurrentFont): Disable number property at boundary.
1887
1888 2001-02-26  Juergen Vigna  <jug@sad.it>
1889
1890         * lyxfunc.C (getStatus): added a string argument override function so
1891         that this is correctly called from LyXFunc::Dispatch if it contains a
1892         do_not_use_argument which is used!
1893         (Dispatch): added check for "custom" export and call appropriate func.
1894
1895 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
1896
1897         * lyxrc.C: Add language_command_local, language_use_babel and
1898         language_global_options.
1899
1900         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1901
1902         * buffer.C (makeLaTeXFile): Use language_use_babel and 
1903         language_global_options.
1904
1905 2001-02-23  Juergen Vigna  <jug@sad.it>
1906
1907         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1908         which works with LyXText and putted it inside BufferView. Here now we
1909         only call for that part the BufferView::Dispatch() function.
1910
1911         * BufferView.C (Dispatch): added.
1912
1913         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1914         functions which needs to use a LyXText over from LyXFunc.
1915         (MenuInsertLyXFile): added
1916         (getInsetByCode): added
1917         (moveCursorUpdate): added
1918         (static TEXT): added
1919
1920 2001-02-22  Juergen Vigna  <jug@sad.it>
1921
1922         * BufferView_pimpl.C (update): call a status update to see if LyXText
1923         needs it.
1924
1925 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1926
1927         * vc-backend.C (revert): implement for CVS
1928         (getLog): implement for CVS
1929
1930 2001-02-20  Juergen Vigna  <jug@sad.it>
1931
1932         * text2.C (ClearSelection): added BufferView param for inset_owner call
1933
1934         * lyxfunc.C (TEXT): added this function and use it instead of
1935         directly owner->view()-text of getLyXText().
1936
1937 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
1938
1939         * src/layout_forms.C: out preamble
1940         * src/layout_forms.h: out preamble
1941         * src/lyx_cb.C: out preamble
1942         * src/lyx_cb.h: out preamble
1943         * src/lyx_gui.C: out preamble
1944         * src/lyx_gui_misc.C: out preamble
1945         * src/lyxfunc.C: connect with guii preamble
1946
1947 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1948
1949         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1950
1951 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
1952
1953         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1954         whether to run bibtex.
1955
1956 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
1957
1958         * Makefile.am (lyx_SOURCES): Remove BackStack.h
1959
1960 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1961
1962         * Makefile.am (lyx_SOURCES): removed bibforms.h
1963
1964         * vspace.h: doxygen
1965
1966         * text.C (GetVisibleRow): make several local vars const
1967
1968         * tabular.C: small cleanup.
1969
1970         * lyxserver.C (callback): use compare instead of strncmp
1971
1972         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1973         inlines to after class or to paragraph.C
1974
1975         * lyxfont.h: remove friend operator!=
1976
1977         * converter.h: move friend bool operator< to non friend and after
1978         class def.
1979
1980         * combox.h: small cleanup
1981
1982         * buffer.h: doxygen, remove unused constructor, move inclas inlies
1983         to inlines after class def.
1984
1985         * buffer.C (pop_tag): use string operations instead of strcmp
1986
1987         * bmtable.c: doxygen, small cleanup
1988
1989         * LaTeX.h: remove friend operator==
1990
1991 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1992
1993         * screen.C: 
1994         * lyxrc.[Ch]:
1995         * lyxfunc.C: 
1996         * lyxfont.[Ch]: 
1997         * lyx_cb.C: 
1998         * intl.[Ch]: 
1999         * commandtags.h: 
2000         * buffer.C: 
2001         * WorkArea.[Ch]: 
2002         * LyXAction.C: 
2003         * BufferView_pimpl.C:
2004         * BufferView.[Ch]: remove cruft
2005
2006 2001-02-14  Juergen Vigna  <jug@sad.it>
2007
2008         * lyxfunc.C: removed #if 0 unused code
2009
2010         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2011
2012         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2013
2014         * text2.C (SetSelection): added a BufferView * parameter
2015
2016 2001-02-13  Juergen Vigna  <jug@sad.it>
2017
2018         * lyxfunc.C (Dispatch): fixed protected blank problem.
2019         * BufferView2.C (protectedBlank): added LyxText * parameter.
2020
2021         * tabular.C (AppendRow): forgot to set row_info of newly added row.
2022         (AppendColumn): same as above for column_info.
2023
2024         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2025         (moveCursorUpdate): use a LyXText param for support of InsetText.
2026
2027         * BufferView_pimpl.C (doubleClick): added support for InsetText.
2028         (tripleClick): ditto
2029
2030         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2031
2032         * BufferView_pimpl.C (update): added LyXText param to honor insets.
2033
2034         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2035
2036         * text2.C (SetSelection): set correct update status if inset_owner
2037         (ToggleFree): ditto
2038
2039 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2040
2041         * tabular.C: remove some commented code.
2042
2043 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
2044
2045         * BufferView_pimpl.C: call hideSplash()
2046
2047         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2048
2049         * include_form.h:
2050         * bibforms.h: remove
2051
2052         * lyxfunc.C:
2053         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2054           add LFUN_CHILD_CREATE
2055
2056         * counters.h: fix tiny typo
2057         
2058         * lyx_cb.C:
2059         * lyx.h:
2060         * lyx_gui.C:
2061         * lyx.C: move splash to frontends/xforms/
2062
2063         * lyx_gui_misc.C: move Include and Bibform to frontends
2064
2065         * lyxvc.h: clarify comment
2066
2067         * vspace.C: tiny housekeeping
2068
2069 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
2070
2071         * text.C (PrepareToPrint): RTL Fix.
2072
2073         * paragraph.C (GetUChar): New method.
2074         (String):  Use GetUChar.
2075
2076         * buffer.C (asciiParagraph): Use GetUChar.
2077
2078 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
2079
2080         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2081
2082 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
2083
2084         * buffer.h:
2085         * buffer.C: rename to getLogName(), handle
2086           build log / latex log nicely
2087
2088 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2089
2090         * MenuBackend.C: 
2091         * MenuBackend.h: remove support for reference menuitem type.
2092
2093 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
2094
2095         * BufferView_pimpl.C: housekeeping
2096         * BufferView_pimpl.h:
2097         * LyXView.h:
2098         * Makefile.am:
2099         * Timeout.C:
2100         * Timeout.h:
2101         * minibuffer.h: move Timeout GUI-I
2102                           
2103 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
2104
2105         * lyxrc.C (read): Update converters data-structures.
2106
2107 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
2108
2109         * LaTeX.h (operator!=): add operator != for Aux_Info 
2110
2111 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
2112
2113         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2114
2115         * LaTeXLog.C: deleted, useful code moved to Buffer
2116
2117         * buffer.h:
2118         * buffer.C: new function getLatexLogName()
2119
2120         * lyx_gui_misc.C:
2121         * lyx_gui.C:
2122         * lyxvc.C:
2123         * lyxvc.h:
2124         * lyxfunc.C: use frontends for LaTeX and VC logs
2125
2126 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2127
2128         * LaTeX.h: yet another std:: that Allan forgot.
2129
2130         * Variables.C (set): renamed from isset(), because this clashes
2131         with some HP-UX macros (grr).
2132
2133 2001-02-06  Allan Rae  <rae@lyx.org>
2134
2135         * LaTeX.h: Another bug fix.  Missing std:: this time.
2136
2137 2001-02-04  Allan Rae  <rae@lyx.org>
2138
2139         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2140         floats problem. I've left it commented out because it's not quite
2141         correct.  It should also test that the current object is a table or
2142         figure inset.  But I haven't gotten around to figuring out how to do
2143         that.  I *think* it'll be something like: "table" == inset.type()
2144
2145         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2146         bool.
2147
2148 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
2149
2150         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2151         all the citation/databases/styles in the auxilary file. 
2152         (run): Rerun latex if there was a babel language error.
2153
2154 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
2155
2156         * text.C (Backspace): Preserve the font when changing newline char
2157         with a space.
2158         (BreakParagraph): If the cursor is before a space, delete the space.
2159
2160         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2161
2162 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
2163
2164         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2165         new argument (code).
2166         (ChangeCitationsIfUnique): New method.
2167
2168         * paragraph.C (GetPositionOfInset): Handle bibkey.
2169
2170 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2171
2172         * BufferView_pimpl.h: change type of Position::par_pos to
2173         LyXParagraph::size_type. 
2174
2175 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
2176
2177         * BufferView_pimpl.C (savePosition, restorePosition): Write
2178         messages to minibuffer.
2179
2180 2001-01-28  José Matos  <jamatos@fep.up.pt>
2181
2182         * buffer.C (makeDocBookFile): adds support for document language.
2183         A silly restriction on the name of LatexCommand types where removed.
2184         Added support for CDATA sections, allows to chars unescaped, used
2185         among others in code, to avoid escape < and >.
2186         
2187 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
2188
2189         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
2190         saved positions instrad of a stack. Furthermore, a position is
2191         stored using paragraph id/paragraph position.
2192
2193         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2194         Remove LFUN_REF_BACK.
2195
2196 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
2197
2198         * converter.C (dvipdfm_options): New method.
2199
2200 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
2201
2202         * vspace.C (isValidLength): Fix for empty input string.
2203
2204 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2205
2206         * LyXAction.C (init): change description of LFUN_FIGURE to
2207         "Insert Graphics"
2208
2209 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2210
2211         * LaTeX.C: add using directive
2212
2213 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
2214
2215         * MenuBackend.C (expand): Fix the sorting of the formats.
2216
2217 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
2218
2219         * lyx_main.C: tiny error message fix
2220
2221 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2222
2223         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2224         calling fl_initialize(). This fixes the problem with ',' as
2225         decimal separator in text files.
2226
2227 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
2228
2229         * trans.C (process): Fix the keymap bug.
2230
2231 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
2232
2233         * LaTeX.C (scanAuxFiles): New method. Provides support for
2234         multiple bibliographies (when using the bibtopic/bibunits pacakges).
2235         (scanLogFile) Scan for "run BibTeX" messages.
2236
2237         * buffer.C (makeLaTeXFile): Do not load the ae package when using
2238         OT1 font encoding. Also, load the aecompl package if the ae
2239         package is loaded.
2240
2241         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2242
2243 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2244
2245         * texrow.C (increasePos): turn two error messages into debug
2246         messages. 
2247
2248 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
2249
2250         * LaTeX.C (scanAux): Handle the \@input macro.
2251         (runBibTeX): Use scanAux().
2252
2253         * language.C (latex_options_): New field.
2254
2255         * LaTeXFeatures.C (getMacros): Add language macros.
2256
2257         * buffer.C (makeLaTeXFile): Small fix.
2258
2259 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2260
2261         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2262
2263         * text2.C: add a using directive.
2264
2265 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
2266
2267         * BufferView2.C:
2268         * lyx_gui_misc.h:
2269         * lyxfr1.C:
2270         * lyxfunc.C: kill LyXBell.
2271
2272 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
2273
2274         * text.C (IsBoundary): Remove the error message
2275         
2276         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2277
2278         * lyxrc.C (setDefaults): Correct initialization value for
2279         font_norm_type.
2280
2281 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
2282
2283         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2284         gotoError().
2285
2286         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2287         and GotoNextNote().
2288
2289         * src/LyXAction.C: Added reference-next.
2290
2291         * text.C (InsertChar): Use contains instead of strchr.
2292
2293         * lyx_cb.C (MenuInsertLabel): Enable default value code.
2294
2295 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
2296
2297         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2298         alignment commands (when needed).
2299
2300         * text.C (InsertChar): Add ':' to number separator chars.