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