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