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