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