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