]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fixed various bugs + John's form paragraph bug.
[lyx.git] / src / ChangeLog
1 2001-11-29  Juergen Vigna  <jug@sad.it>
2
3         * BufferView2.C (lockInset): don't relock if we're already locked!
4
5         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6         the only paragraph.
7         (removeRow): added Assert::(firstrow)
8
9         * debug.C: forgot to add INSETTEXT here.
10
11 2001-11-28  Juergen Vigna  <jug@sad.it>
12
13         * sp_spell.C (initialize): changed error text to more general
14         spellchecker command use (not only ispell!)
15
16         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
17
18         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
19
20 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
21
22         * vspace.C: initialise lyxgluelength on failure
23
24 2001-11-28  Allan Rae  <rae@lyx.org>
25
26         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
27         declaration & definition that looks like a function declaration.
28
29 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
30
31         * BufferView2.C (copy): 
32         (copyEnvironment): do not clear the selection when doing a copy.
33
34         * text.C (paintFirstRow): compilation fix
35
36 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
37
38         * tabular.C (Latex): correct line count when writing latex.
39
40 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
41
42         * paragraph_pimpl.h:
43         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
44           bug a bit
45  
46 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
47
48         * text.C: 
49         * LColor.h:
50         * LColor.C: change vfillline->added_space
51  
52         * text.C: add markers and text for added space
53  
54         * vspace.C: fix comment
55
56 2001-11-28  André Pönitz <poenitz@gmx.net>
57
58         * paragraph.C: whitespace changes
59         * files form the 26th: change *::pos_type into lyx::pos_type
60         
61 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
62
63         * buffer.C (parseSingleLyXformat2Token): Set the language to the
64         language of the document when inserting error insets.
65
66 2001-11-26  André Pönitz <poenitz@gmx.net>
67         
68         * BufferView_pimpl.[Ch]:
69         *       CutAndPaste.C:
70         * buffer.[Ch]:
71         * lyxcursor.[Ch]:
72         * lyxfind.C:
73         * lyxfunc.C:
74         * lyxrow.[Ch]:
75         * paragraph.[Ch]:
76         * paragraph_pimpl.[Ch]:
77         * sp_spell.C:
78         * text.C:
79         * text2.C: reduce header dependencies, introduce type for positions
80
81 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
82
83         * <various>: change to use Alert.h 
84          
85 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
86
87         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
88         when encountering an unknown token.
89         (readLyXformat2): Show an error message if there were unknown tokens.
90
91 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
92
93         * BufferView2.C:
94         * BufferView_pimpl.C:
95         * buffer.C:
96         * paragraph.h:
97         * text.C: 
98         * text2.C: use par->isInset()
99          
100 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
101
102         * paragraph_pimpl.h:
103         * paragraph_pimpl.C: cleanup 
104          
105 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
106
107         * text2.C (removeRow): 
108         * text.C (setHeightOfRow): remove useless (and costly) call to
109         getRow. 
110
111 2001-11-20  Allan Rae  <rae@lyx.org>
112
113         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
114         Now need Inset*::checkInsertChar() to return true for appropriate
115         cases so that the characters in the minibuffer will actually be
116         inserted.
117
118 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
119
120         * text.C: change the order of the includes.
121         (workWidth): initialize it at once.
122         (workWidth): make maxw unsigned
123         (setHeightOfRow): remove unused variable (inset)
124         (selectSelectedWord): remove unused variable (inset)
125         (paintRowText): fix drawing of hfill characters, and clean up a bit.
126
127 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
128
129         * lyxserver.C (emergencyCleanup): do not try to close pipes if
130         server is not running.
131         (openConnection): 
132         (closeConnection): add debug info when server is disabled.
133
134         * ColorHandler.C (getGCForeground): send debug message to GUI
135         channel. 
136
137         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
138
139         * kbmap.C (bind): modify because return conventions of
140         kb_sequence::parse have changed.
141
142         * kbsequence.C (parse): only ignore spaces and not any stupid
143         control character. This avoids tests like s[i] <= ' ', which are
144         guaranteed to fail with 8bit characters and signed chars.
145         Change return code to string::npos when there have been no error
146         (0 was a bad idea when error is at first character)
147
148 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
149
150         * text.C (selectNextWordToSpellcheck): do not test explicitely for
151         insets which are part of a word. Paragraph::isLetter takes care of
152         that now. Use Paragraph::isInset to identify insets.
153         (selectSelectedWord): do not test for hyphenation break.
154
155         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
156         that protected spaces are considered as spaces.
157
158         * paragraph.C (isLetter): cleanup the code for ispell extras; use
159         Inset::isLetter. 
160
161 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
162
163         * lyxserver.h:
164         * lyxserver.C: fix it. and small cleanup.
165  
166 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
167
168         * BufferView_pimpl.C: use inline helpers
169  
170         * LaTeXFeatures.h: 
171         * LaTeXFeatures.C: fix typos
172
173         * Spacing.h:
174         * Spacing.C: move spacing_string into class 
175
176         * ToolbarDefaults.C: move stuff into namespace anon
177  
178         * layout.h: update enum
179
180         * lyxfunc.C: use better debug
181
182         * minibuffer.h: fix typo
183  
184         * debug.h:
185         * debug.C:
186         * WorkArea.C: add and use Debug::WORKAREA
187
188         * lyxtext.h:
189         * text.C: 
190         * text2.C: code re-organisation, inline helpers
191
192 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
193
194         * Layout.C: replaced a few cases of std::vector.size() == 0 with
195         std::vector.empty().
196
197 2001-11-09  Allan Rae  <rae@lyx.org>
198
199         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
200         '\n's after tables.  Tabular and ERT inset work now makes this no
201         longer necessary.
202
203 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
204
205         * minibuffer.h:
206         * minibuffer.C: fix crash, improve drop-down completion 
207  
208 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
209
210         * lyxserver.h:
211         * lyxserver.C: invalidate fd's when doing endPipe()
212  
213 2001-11-08  José Matos  <jamatos@fep.up.pt>
214
215         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
216         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
217
218         * paragraph.h:
219         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
220
221 2001-11-07  José Matos  <jamatos@fep.up.pt>
222
223         * buffer.h:
224         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
225         const qualifier.
226
227         * buffer.C (sgmlOpenTag):
228         * buffer.C (sgmlCloseTag): removed debug info.
229
230         * buffer.h (sgmlOpenTag):
231         * buffer.h (sgmlCloseTag): made public.
232
233 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
234
235         * buffer.C (saveParamsAsDefaults): 
236         * lyx_cb.C (MenuLayoutSave): remove
237
238         * LyXAction.C (init): 
239         * commandtags.h: 
240         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
241
242 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
243
244         * buffer.C (setPaperStuff): removed from here...
245
246         * bufferparams.C (setPaperStuff): ... and moved there.  
247
248 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
249
250         * minibuffer.h:
251         * minibuffer.C:
252         * XFormsView.C: add support for drop-down completion
253  
254 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
255
256         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
257         commands.
258
259 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
260
261         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
262         disabled. 
263
264 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
265
266         * lyx_main.C: change ref to known bugs
267  
268 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
269
270         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
271         to work around older babel problems.
272
273 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
274
275         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
276
277 2001-10-24  Juergen Vigna  <jug@sad.it>
278
279         * tabular-old.C (ReadOld): below variable changes reflected.
280
281         * tabular.[Ch]: added ltType struct for longtable header/footer
282         defines and changed all instances where they are used. Added
283         future support for double top/bottom rows.
284
285 2001-10-24  José Matos  <jamatos@fep.up.pt>
286
287         * buffer.h (docbookHandleCaption):
288         * buffer.C (docbookHandleCaption): removed unused function.
289         (makeDocBookFile): moved docbook supported version to v4.1.
290
291 2001-10-24  José Matos  <jamatos@fep.up.pt>
292
293         * tabular.h:
294         * tabular.C (docbookRow): new function to export docbook code of a row.
295         (DocBook): now honors the longtable flags.
296
297 2001-10-23  José Matos  <jamatos@fep.up.pt>
298
299         * LaTeXFeatures.h:
300         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
301         of the lyx defined sgml entities used in a docbook/linuxdoc document.
302
303         * buffer.C (makeLinuxDocFile):
304         (makeDocBookFile): reworked the preamble, more clean, and with
305         support for lyx defined entities. Changed the document declaration
306         to be more XML friendly.
307
308         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
309         if we need to output XML that should be done with a filter.
310         
311 2001-10-22  Juergen Vigna  <jug@sad.it>
312
313         * sp_pspell.h (class PSpell): add alive function needed in the
314         controller to see if the spellchecker could be started.
315
316 2001-10-22  Juergen Vigna  <jug@sad.it>
317
318         * buffer.C (insertStringAsLines): modify the font for inserting
319         chars in certain conditions by calling checkInsertChar(font).
320
321 2001-10-19  Juergen Vigna  <jug@sad.it>
322
323         * text.C (workWidth): use getRow instead of wrong algorithm.
324         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
325
326 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
327
328         * lyxserver.h:
329         * lyxserver.C:
330         * lyx_main.h:
331         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
332
333 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
334
335         * text.C (workWidth): do not search for the exact row when
336         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
337         optimization for big documents.
338
339 2001-10-18  Juergen Vigna  <jug@sad.it>
340
341         * text.C (workWidth): new function with added Inset * parameter.
342
343 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
344
345         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
346
347         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
348         change return type of getColumnNearX.
349         
350
351         * text.C (changeRegionCase): use uppercase/lowercase instead of
352         toupper/tolower. 
353         (leftMargin): 
354         (rightMargin): simplify code by factoring out the uses of
355         textclasslist.
356         (labelFill): 
357         (numberOfHfills): 
358         (setHeightOfRow): 
359         (appendParagraph): use Paragraph::size_type
360
361 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
362
363         * vspace.C (asLatexString): add a missing break
364
365 2001-10-15  Herbert Voss  <voss@perce.de>
366
367         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
368
369 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
370
371         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
372         is not available.
373
374 2001-10-10  André Pönitz <poenitz@gmx.net>
375
376         * lyxfunc.C: removed greek_kb_flag.
377
378 2001-10-10  Herbert Voss  <voss@perce.de>
379
380         * lyx_main.C: delete global string help_lyxdir.
381
382 2001-10-09  Herbert Voss  <voss@perce.de>
383
384         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
385
386         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
387
388         * lyx_main.C: added global string help_lyxdir.
389
390         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
391
392 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
393
394         * lyxrc.C (set_font_norm_type): support iso8859-4
395
396 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
397
398         * LaTeX.C (deplog): add another regex for MikTeX
399
400 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
401
402         * lyxrc.C (set_font_norm_type): support iso8859-3
403
404 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
405
406         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
407
408         * LaTeXFeatures.C: remove special case of french and index
409
410         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
411         before \begin{document}). This solves several incompatibilities.
412
413 2001-10-03  Garst Reese  <reese@isn.net>
414
415         * lyx_cb.C: change CheckTex error msg.
416
417 2001-10-03  José Matos  <jamatos@fep.up.pt>
418
419         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
420
421 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
422
423         * .cvsignore: update
424
425         * lyx_main.C (commandLineVersionInfo): use new style version info.
426
427         * buffer.C (writeFile):
428         (makeLaTeXFile):
429         (makeLinuxDocFile):
430         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
431
432         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
433
434         * version.h: update to use stuff in version.C
435
436         * version.C.in: new file. Contains version information determined
437         at compile time. This is a merging of version.h and
438         version_info.h.in.
439
440 2001-10-03  Juergen Vigna  <jug@sad.it>
441
442         * BufferView_pimpl.C (update): don't change "dirty" status in
443         updateInset call.
444
445 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
446
447         * WorkArea.C (c-tor): re-position version string slightly.
448
449 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
450
451         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
452         revert to previous code.
453
454         WorkArea.[Ch]: (show, destroySplash): methods removed.
455
456         WorkArea.C: rework code so that it's an amalgam of the codes before and
457         after the splash screen was moved to WorkArea.
458
459 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
460
461         * lyxrc.C (read): 
462         * vspace.C (inPixels): 
463         (lyx_advance): 
464         * kbmap.C (bind): 
465         * buffer.C (insertStringAsLines): 
466         (asciiParagraph): fix types to be large enough
467
468         * lyxlex_pimpl.h: change member status from short to int
469
470         * layout.h: fix type of endlabeltype
471
472         * kbmap.C (bind): 
473         * kbsequence.C (parse): change return type to string::size_type
474
475         * LaTeX.C (updateBibtexDependencies): comment out unneeded
476         variable
477
478         * Bullet.C (bulletSize): 
479         (bulletEntry): do not use short ints as parameters
480
481         * BufferView2.C (insertLyXFile): change a char to an int.
482
483         * WorkArea.C (WorkArea): remove unneeded floats in computation
484
485 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
486
487         * buffer.C (asciiParagraph): Treat '\\' as other chars.
488
489         * paragraph.C (asString): Do not ignore newline/hfill chars when
490         copying to the clipboard.
491
492 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
493
494         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
495         after a multi-line inset.
496
497 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
498
499         * paragraph.C (validate): Set NeedLyXFootnoteCode
500
501 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
502
503         * lyxfont.C (LyXSizeNames): changed increase-error to increase
504         and decrease-error to decrease.
505
506 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
507
508         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
509         it more readable (should be equivalent)
510
511 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
512
513         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
514
515 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
516
517         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
518         of a cursor (row, etc.) after a character has been deleted
519         (deleteEmptyParagraphMechanism): call the method above on _all_
520         cursors held by the LyXText when a double space has been
521         detected/deleted.
522  
523 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
524
525         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
526         pixmap.
527         (resizeCurrentBuff): remove code to destroy the old splash dialog.
528
529         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
530         background. Use greyOut() and the new show() methods to toggle between
531         the foreground and background. Add code to remove the splash after
532         its initial showing.
533
534         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
535         (create_forms): no longer call Dialogs::showSplash.
536
537 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
538
539         * .cvsignore: add version_info.h
540
541 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
542
543         * version_info.h.in: new file
544
545         * Makefile.am: add version_info.h.in
546
547         * lyx_main.C (commandLineVersionInfo): use version_info defined in
548         version_info.h instead of VERSION_INFO
549
550 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
551
552         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
553         The ERT inset now returns string().
554
555 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
556
557         * lyxtext.h, text.C (selectNextWord): renamed as
558         selectNextWordToSpellcheck.
559
560         * text.C (selectNextWordToSpellcheck): Modified to not select
561         words inside an ERT inset.
562
563 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
564
565         * lyx_cb.C (MenuLayoutSave): change a bit the question
566
567         * sp_base.h: include <sys/types.h>
568
569 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
570
571         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
572
573 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
574
575         * several files: fix typos in user-visible strings
576
577 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
578
579         * text2.C (pasteSelection): do not set the selection, since it
580         will be cleared later. Actually, the intent was to fix the way the
581         selection was set, but I figured rmoving the code was just as good.
582
583 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
584
585         * FontLoader.C (available): Check if font is available without
586         loading the font.
587
588 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
591
592 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
593
594         * lyxrc.[Ch]: added display_graphics variable and associated code.
595
596 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
597
598         * bufferparams.C (hasClassDefaults): new method. Returns true if
599         the buffer parameters correspond to known class defaults
600
601 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
602
603         * XFormsView.C (show): set minimum size to the main window.
604
605 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
606
607         * text2.C (copySelection): 
608         (cutSelection): 
609         * lyxfind.C (LyXReplace): 
610         * BufferView_pimpl.C (Dispatch): pass the correct flag to
611         LyXText::selectionAsString. 
612
613         * paragraph.C (asString): add "label" argument to the second form
614
615         * text2.C (selectionAsString): add "label" argument and pass it to
616         Paragraph::asString. 
617
618 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
619
620         * lyx_main.C (commandLineHelp): remove version information
621
622 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
623
624         * lyx_main.C: add -version commandline option
625
626 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
627
628         * paragraph.h: make the optional constructor arg required instead.
629         some modifications to other files because of this.
630
631         * minibuffer.C (C_MiniBuffer_peek_event): make it static
632
633         * lyxserver.C (C_LyXComm_callback): make it static
634
635         * lyx_main.C (error_handler): make it static
636
637         * lyx_gui.C (LyX_XErrHandler): make it static
638
639         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
640
641         * WorkArea.C: make the extern "C" methods static.
642
643         * Makefile.am (lyx_LDADD): simplify
644
645 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
646
647         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
648         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
649
650         * LyXAction.C (init):
651         * lyxfunc.C (dispatch): associated code removal.
652
653 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
654
655         * lyxfont.h (isSymbolFont): shut off warning
656
657         * text.C (setHeightOfRow):
658         (getVisibleRow): fix crash with empty paragraphs which have a
659         bottom line
660
661 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
662
663         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
664         code.
665
666 2001-09-04  José Matos  <jamatos@fep.up.pt>
667         * buffer.C
668         * buffer.h
669         * tabular.C (docbook): rename docBook method to docbook.
670
671 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
672
673         * Makefile.am: add dependencies to main.o.
674
675 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
676
677         * FontLoader.C (available): Return false if !lyxrc.use_gui
678
679 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
680
681         * FontInfo.C (query):
682         * converter.C (view):
683         * importer.C (Import):
684         * exporter.C (Export): Can not -> cannot.
685
686 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
687
688         * BufferView_pimpl.C: allow to create index inset even if
689           string is empty
690  
691 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
692
693         * buffer.C (getLists): replace boost::tie code with an explicit pair
694         as boost::tie can break some compilers.
695
696         * iterators.h: Added a std:: declaration to the return type of
697         ParIterator::size.
698
699 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
700
701         * lyxrc.C: add help for view_dvi_paper_option, default to safe
702           case.
703  
704 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
705
706         * iterators.[Ch]: New files. Provide paragraph iterators.
707
708         * buffer.C (changeLanguage): Use paragraph iterators.
709         (isMultiLingual): ditto 
710
711         * BufferView2.C (ChangeInsets): Use paragraph iterators.
712
713 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
714
715         * FontLoader.C: Support for cmr font.
716
717 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
718
719         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
720         (available): New method.
721
722         * FontInfo.C (getFontname): Use scalable fonts even when
723         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
724         found.
725
726 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
727
728         * converter.C (Formats::view): reverted! Incorrect fix.
729
730 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
731
732         * converter.C (Formats::view): only output the -paper option
733         if the dvi viewer is xdvi, thereby fixing bug #233429.
734
735 2001-08-23  Herbert Voss  <voss@perce>
736
737         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
738
739 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
740
741         * Spacing.h (Spacing): Set space to Default on in the default
742         constructor.
743
744 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
745
746         * vc-backend.h (RCS::versionString): add RCS to version 
747         (CVS::versionString): add CVS to version 
748
749         * vc-backend.C (scanMaster): do not add CVS to version.
750         (scanMaster): do not add RCS to version
751
752         * lyxvc.C (versionString): new method
753
754         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
755
756 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
757
758         * Spacing.C (set): initialize fval
759
760 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
761
762         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
763         " or \.
764
765 2001-08-16  Juergen Vigna  <jug@sad.it>
766
767         * lyxfunc.C (dispatch): implemented the new FINISHED states.
768
769 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
770
771         * BufferView_pimpl.C: 
772         * figureForm.C:
773         * lyxtext.h:
774         * text2.C: setParagraph takes linespacing now
775  
776 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
777
778         * LyxAction.C: add internal LFUN_CITATION_INSERT
779
780         * LyXView.C: actually apply fix
781
782         * bufferlist.C: fix open non-existent file
783  
784         * lyxfind.C: fix indentation
785  
786         * lyxfunc.C: remove unneeded assert, fix typo
787  
788 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
789
790         * MenuBackend.C: use "Floatname List"
791
792 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
793
794         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
795         when converting LaTeX layout to insetERT.
796         Generate a non-collapsed float when reading old float
797
798 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
799
800         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
801         ERT insets.
802
803 2001-08-13  Juergen Vigna  <jug@sad.it>
804
805         * text.C (fill): return 0 instead of 20 as this seems to be the more
806         correct value.
807
808 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
809
810         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
811         lyxrc.font_norm.
812
813 2001-08-13  Juergen Vigna  <jug@sad.it>
814
815         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
816         casesensitive off.
817         (SearchBackward): comment out the unlocking of the inset_owner this
818         should not be needed!
819
820 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
821
822         * Many files: Remove inherit_language, and add latex_language
823
824         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
825         collapsible insets.
826
827 2001-08-10  Juergen Vigna  <jug@sad.it>
828
829         * text.C (prepareToPrint): fixed hfill-width in draw!
830
831         * BufferView2.C (selectLastWord): save the selection cursor as this
832         now is cleared in the function LyXText::clearSelection!
833
834 2001-08-08  Juergen Vigna  <jug@sad.it>
835
836         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
837         BACKSPACE type functions.
838
839         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
840         is only cutted from the document but not put in the cut-buffer, where
841         still the old stuff should be.
842
843         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
844
845         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
846
847         * tabular.C (SetWidthOfCell): fixed special case where the width
848         was not updated!
849         (LeftLine): handle '|' in align_special.
850         (RightLine): ditto
851         (LeftAlreadyDrawed): ditto
852         (SetWidthOfCell): ditto
853
854 2001-08-07  Juergen Vigna  <jug@sad.it>
855
856         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
857
858 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
859
860         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
861         * lyxlex.[hC]: ditto
862
863 2001-08-06  Juergen Vigna  <jug@sad.it>
864
865         * text.C (getVisibleRow): fix up row clearing a bit.
866
867 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
868
869         * minibuffer.C: make sure the X server sees the changes in the input.
870
871 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
872
873         * paragraph.C (getFont): split into...
874         (getLabelFont): this
875         (getLayoutFont): and this
876         * paragraph_pimpl.C (realizeFont): calling this
877
878         * text2.C (getFont): split into...
879         (getLayoutFont): this
880         (getLabelFont): and this
881         (realizeFont): all three calling this
882
883         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
884         files where used.
885
886 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
887
888         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
889
890 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
891
892         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
893         layouts from the Quote inset insertion.
894
895 2001-08-03  Juergen Vigna  <jug@sad.it>
896
897         * BufferView_pimpl.C (update): do the fitCursor only at the end!
898
899         * screen.C (drawFromTo): don't call fitcursor here and do the loop
900         only if status not is already CHANGED_IN_DRAW (second level).
901
902         * text.C (draw): don't set the need_break_row when inside an
903         InsetText LyXText.
904
905 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
906
907         * buffer.C (parseSingleLyXformat2Token): handle more latex
908         conversion cases.
909
910         * bufferview_funcs.[hC]: change function names to
911         begin with small char, adjust other files.
912
913 2001-08-02  André Pönitz <poenitz@gmx.net>
914
915         * lyxfunc.C:
916         BufferView_pimpl.C: remove broken special code for math-greek
917
918 2001-08-02  Juergen Vigna  <jug@sad.it>
919
920         * BufferView_pimpl.C (update): redone this function so that we
921         update the text again if there was a CHANGE_IN_DRAW.
922
923         * screen.C (cursorToggle): removed LyXText parameter and recoded.
924         (drawFromTo): added a new internal bool which is used by draw() and
925         redraw() function.
926         (general): some cursor drawing problems fixed.
927
928 2001-08-01  Juergen Vigna  <jug@sad.it>
929
930         * lyxfind.C (LyXFind): fixed
931         (SearchForward): ditto
932         (SearchBackward): ditto
933
934         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
935         spurius drawing of the cursor in the main area.
936
937         * text2.C (status): small fix which could lead to a segfault!
938         (clearSelection): remove unneeded BufferView param.
939
940 2001-08-01  André Pönitz <poenitz@gmx.net>
941
942         * lyxfunc.C: small change due to changed mathed interface
943
944 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
945
946         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
947
948 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
949  
950         * lyxfunc.c: fail gracefully if file doesn't exist 
951  
952         * LyXSendto.C:
953         * buffer.C:
954         * lyxfunc.C:
955         * BufferView_pimpl.C: IsDirWriteable() proto changed 
956  
957         * LyXView.C: fix updateWindowTitle() to store the last title
958
959 2001-07-31  Juergen Vigna  <jug@sad.it>
960
961         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
962         the font (wrong since using of Paragraph::highestFontInRange).
963
964         * paragraph.C (highestFontInRange): added a default_size parameter.
965
966         * text.C (getVisibleRow): minor clear row changes (still not perfect).
967         (setHeightOfRow): reformat
968
969 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
970
971         * converter.[hC] + affected files: move to (inital-char)lowercase
972         function names.
973
974         * ParagraphParameters.C (ParagraphParameters): remove commented code
975
976         * PainterBase.[Ch]: remove commented code
977
978         * LaTeXFeatures.h: add "bool floats" for float.sty
979
980         * LaTeXFeatures.C (LaTeXFeatures): init floats
981         (require): handle float
982         (getPackages): do it with floats
983
984 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
985
986         * BufferView_pimpl.C (Dispatch): improve handling of
987         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
988
989         * commandtags.h: #include lyxfont.h here temporarily to avoid
990         keybinding bug.
991
992         * bufferlist.h: include LString.h here.
993
994 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
995
996         * text2.C (getStringToIndex): new method.
997
998 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
999
1000         * *: Reduced header file dependencies all over.
1001
1002 2001-07-30  Baruch Even  <baruch@lyx.org>
1003
1004         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1005
1006 2001-07-29  Baruch Even  <baruch@lyx.org>
1007
1008         * buffer.C (readInset): Changed GRAPHICS to Graphics.
1009
1010 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1011
1012         * ParameterStruct.h (endif): add a default constructor to make
1013         sure that all variables is initialized.
1014
1015         * ParagraphParameters.C (ParagraphParameters): adjust
1016
1017 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1018
1019         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1020         index; also, check that there is something to index, and that it
1021         does not span over several paragraphs.
1022         (doubleClick): use WHOLE_WORD_STRICT for double click.
1023
1024         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1025
1026         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1027         scheme.
1028
1029 2001-07-26  Baruch Even  <baruch@lyx.org>
1030
1031         * buffer.C (readInset): Changed to call up InsetGraphics when reading
1032         an InsetFig figure, backwards compatible reading of old figure code.
1033
1034 2001-07-27  Juergen Vigna  <jug@sad.it>
1035
1036         * text2.C: font.realize function adaption.
1037
1038         * text.C (draw): add a warnings lyxerr text if needed.
1039
1040         * layout.C: font.realize function adaption.
1041
1042         * language.C: add inherit_language and implement it's handlings
1043
1044         * bufferview_funcs.C (StyleReset): remove language parameter from
1045         font creation (should be language_inherit now).
1046
1047         * bufferparams.C (writeFile): handle ignore_language.
1048
1049         * paragraph.C (getFontSettings): the language has to be resolved
1050         otherwise we have problems in LyXFont!
1051
1052         * lyxfont.C (lyxWriteChanges): added document_language parameter
1053         (update): removed unneeded language parameter
1054
1055         * paragraph.C (validate): fixed wrong output of color-package when
1056         using interface colors for certain fonts in certain environments,
1057         which should not seen as that on the final output.
1058
1059 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
1060
1061         * BufferView_pimpl.C:
1062         * Thesaurus.h:
1063         * Thesaurus.C:
1064         * Makefile.am:
1065         * commandtags.h:
1066         * LyXAction.C: add thesaurus support
1067
1068         * lyxfind.h:
1069         * lyxfind.C: add "once" parameter, for thesaurus, to not
1070           move to the next match
1071   
1072 2001-07-26  Juergen Vigna  <jug@sad.it>
1073
1074         * lyxfont.C (realize): honor ignore_language too!
1075         (resolved): ditto.
1076
1077         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1078
1079         * text.C (draw): one place more for ignore_language to not draw
1080         itself!
1081
1082 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
1083
1084         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1085
1086 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1087
1088         * buffer.C (parseSingleLyXformat2Token): a more general fix for
1089         the minipage conversion problem.
1090
1091 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1092
1093         * buffer.C (parseSingleLyXformat2Token): check minipage if we
1094         insert an inset.
1095
1096 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1097
1098         * BufferView.h: don't forward declare WorkArea
1099
1100         * BufferView.C: don't include WorkArea.h
1101
1102 2001-07-25  André Pönitz <poenitz@gmx.net>
1103
1104         * commandtags.h:
1105         * LyXAction.C:
1106         * lyxfunc.C:  new LFUN 'math-space'
1107
1108         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1109
1110 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1111
1112         * text2.C (toggleInset): call open/close
1113
1114 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1115
1116         * lyxfunc.C (dispatch): add debug for the disabled case
1117
1118         * font.C (buttonText): make similar to rectText
1119
1120         * buffer.C (readInset): comment out parsing of insetlist and
1121         insttheorem 
1122
1123         * PainterBase.C (rectText): small correction
1124
1125         * BufferView_pimpl.C: comment out insettheorem and insetlist
1126         * LyXAction.C: ditto
1127         * commandtags.h: ditto
1128
1129 2001-07-24  Juergen Vigna  <jug@sad.it>
1130
1131         * text.C (draw): honor the ignore_language.
1132
1133         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1134
1135 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1136
1137         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1138         char inset.
1139
1140 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * lyxtext.h: remove unused (and unimplemented) methods
1143
1144 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * text.C (getVisibleRow): honor background color
1147
1148         * PainterBase.h:
1149         * Painter.h: remove default color argument for fillRectangle
1150
1151         * text.C (backgroundColor): new method
1152
1153 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1154
1155         * text.C (getVisibleRow): adjust
1156
1157         * font.[Ch] (rectText): new method, metrics
1158         (buttonText): new method, metrics
1159
1160         * PainterBase.[hC]: make rectText and buttonText always draw and take
1161         fewer paramteres.
1162
1163 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * ToolbarDefaults.C (read): 
1166         * MenuBackend.C (read): allow escaping in all strings
1167
1168         * BufferView_pimpl.C (insertAndEditInset): new method.
1169         (Dispatch): use insertAndEditInset whenever appropriate.
1170
1171         * BufferView_pimpl.C (insertNote): removed
1172
1173         * BufferView_pimpl.C (smartQuote): new method, moved from
1174         BufferView; if an insetquote cannot be inserted, insert a '"'
1175         character instead.
1176
1177         * BufferView2.C: remove insertCorrectQuote();
1178
1179         * lyxfunc.C (getStatus): Add support for all remaingin
1180         inset-insert lfuns.
1181
1182         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1183
1184         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1185         command (necessary to pass " as parameter of self-insert.
1186
1187         * text.C (selectWordWhenUnderCursor):
1188         (selectWord): add word_location parameter
1189         (selectWordWhenUnderCursor): same + remove special code for word
1190         boundary.
1191         (selectNextWord): use kind() to guess type of insetspecialchar,
1192         not latex().
1193         
1194         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1195         (insertErtContents): create ert insets as collapsed.
1196         (readInset): better compatibility code for Info inset.
1197
1198 2001-07-20  Juergen Vigna  <jug@sad.it>
1199
1200         * lyxfunc.C (dispatch): use always LyXFind now!
1201
1202         * text2.C (init): add a reinit flag so that the LyXText can be
1203         reinited instead of deleted and reallocated (used in InsetText).
1204
1205         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1206
1207         * text.C: ditto
1208
1209         * text2.C: ditto
1210
1211 2001-07-18  Juergen Vigna  <jug@sad.it>
1212
1213         * text.C (selectNextWord): handle insets inside inset by calling
1214         always the bv->text functions so that we can go up the_locking_inset!
1215
1216         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1217         in strange locations when inside an inset!
1218
1219         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1220         handling to include insets.
1221
1222         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1223
1224 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1225
1226         * LyXAction.C (init): 
1227         * commandtags.h: 
1228         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1229         LIGATURE_BREAK, since the name is so stupid.
1230
1231 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1232
1233         * buffer.C (readInset): enable reading of new InsetNotes as well as old
1234         InsetInfos.
1235
1236         * FontLoader.C: remove FORMS_H_LOCATION cruft.
1237
1238         * sp_form.[Ch]: remove.
1239
1240         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1241
1242         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1243         InsetInfo.
1244
1245         * src/buffer.C (readInset): ditto.
1246
1247 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1248
1249         * BufferView_pimpl.C (specialChar): new method. Obsoletes
1250         menuSeparator(), endOfSentenceDot(), ldots() and
1251         hyphenationPoint(), which are therefore removed.
1252         (Dispatch): handle LFUN_HYPHENATION_BREAK.
1253
1254         * LyXAction.C (init): 
1255         * commandtags.h: add LFUN_HYPHENATION_BREAK.
1256
1257         * paragraph.C (getWord): removed.
1258
1259         * BufferView_pimpl.C (Dispatch): use last word or selection for
1260         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1261
1262         * lyx_main.C (queryUserLyXDir): do not ask before creating
1263         user_dir, except if it has been named explicitely.
1264
1265 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1266
1267         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1268         a document of zero size.
1269
1270 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
1271
1272         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1273         approriately in the c-tor and in require().
1274         (getPackages): output the appropriate LaTeX for natbib support.
1275
1276         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1277         variables "use_natbib" and "use_numerical_citations" when reading the
1278         LyX file.
1279         (readInset): read the various natbib cite commands.
1280         (validate): white-space change.
1281
1282         * bufferparams.[Ch]: new variables "bool use_natbib" and
1283         "bool use_numerical_citations".
1284         (writeFile): output them in the LyX file.
1285
1286 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * lyxfunc.C (getStatus): add support for all the inset insertion
1289         commands.
1290
1291         * text2.C (insertInset): 
1292         * paragraph.C (insetAllowed): 
1293         * BufferView_pimpl.C (insertInset): update to take in account the
1294         renaming of insertInsetAllowed
1295
1296         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1297
1298         * text2.C (getInset): new method. returns inset at cursor position. 
1299
1300         * BufferView_pimpl.C (Dispatch): changes because of this.
1301
1302         * LyXAction.C (init): rename open-stuff to inset-toggle.
1303
1304         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1305
1306         * text2.C (toggleInset): renamed from openStuff; use
1307         Inset::open().
1308
1309 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1310
1311         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1312
1313         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1314
1315 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
1316
1317         * buffer.C (readLyXformat2): Add filename to the error dialog
1318
1319 2001-07-18  Juergen Vigna  <jug@sad.it>
1320
1321         * tabular.C (GetCellNumber): put an assert here instead of the check!
1322
1323 2001-07-17  Juergen Vigna  <jug@sad.it>
1324
1325         * BufferView_pimpl.C (toggleSelection): adapted too.
1326
1327         * text.C (selectNextWord): adapted for use with insets.
1328         (selectSelectedWord): ditto
1329
1330 2001-07-17  Juergen Vigna  <jug@sad.it>
1331
1332         * sp_spell.C (PSpell): fix initialitation order.
1333
1334 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1335
1336         * paragraph.C: spacing
1337
1338 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
1339
1340         * sp_spell.C: repair language selection for pspell
1341
1342 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1343
1344         * lyxfunc.h: change more methods to begin with lower char.
1345
1346 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
1347
1348         * buffer.C (parseSingleLyXformat2Token): Generate error insets
1349         for unknown layouts.
1350
1351 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1352
1353         * buffer.C (readLyXformat2): Generate an error dialog if there are
1354         unknown layouts.
1355
1356 2001-07-16  Juergen Vigna  <jug@sad.it>
1357
1358         * sp_spell.C: always compile ISpell part.
1359
1360         * lyxrc.C: added use_pspell entry and it's handling.
1361
1362 2001-07-13  Juergen Vigna  <jug@sad.it>
1363
1364         * sp_spell.C: removed double includes.
1365
1366 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1367
1368         Consistent use of Lsstream.h:
1369         * Lsstream.h: added using std::stringstream for consistencies sake.
1370
1371         * buffer.C: removed using std::stringstream
1372
1373         * lyxfont.C (stateText):
1374         * paragraph.C (asString):
1375         * text.C (selectNextWord, selectSelectedWord):
1376         * text2.C (setCounter):
1377         * vspace.C (asString, asLatexString):
1378         std::ostringstream -> ostringstream.
1379
1380 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1381
1382         * LyXAction.C: add LFUN_HELP_ABOUTLYX
1383         * commandtags.h: add LFUN_HELP_ABOUTLYX
1384         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1385
1386 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1387
1388         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1389         cursorToggle()
1390         * lyx_gui_misc.C: remove spellchecker
1391         * lyxfunc.C: showSpellchecker
1392         * sp_base.h: added
1393         * sp_ispell.h: added
1394         * sp_pspell.h: added
1395         * sp_spell.C: added
1396         * sp_form.[Ch]: removed
1397         * spellchecker.[Ch]: removed
1398
1399 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
1400
1401         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
1402         is set.
1403         (simpleTeXSpecialChars): Simply print the input character without
1404         any special translation if pass_thru is set.
1405
1406         * layout.h: Added bool pass_thru to layout class for being able to
1407         implement pass through of a paragraph for Literate Programming.
1408         
1409         * layout.C: add LT_PASS_THRU to LayoutTags enum.
1410         * layout.C (LyXLayout): set pass_thru to flase in constructor.
1411         * layout.C (Read): add "passthru" to list of layout tags and add
1412         code to set the pass_thru boolean when it is read.
1413
1414 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1415
1416         * trans_decl.h: remove allowed from KmodInfo
1417
1418         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1419         remove allowed code 
1420         (Load): adjust
1421
1422         * paragraph_pimpl.C (erase): use boost::prior
1423
1424         * Painter.C (text): use data() instead of c_str() when length is
1425         also provided.
1426         * WorkArea.C (putClipboard): ditto
1427         * font.h (width): ditto
1428
1429         * BufferView2.C: use it-> instead of (*it). for iterators
1430         * texrow.C: ditto
1431         * paragraph_pimpl.C: ditto
1432         * paragraph.C: ditto
1433         * minibuffer.C: ditto
1434         * language.C: ditto
1435         * kbmap.C: ditto
1436         * encoding.C: ditto
1437         * counters.C: ditto
1438         * converter.C: ditto
1439         * chset.C: ditto
1440         * Variables.C: ditto
1441         * TextCache.C: ditto
1442         * MenuBackend.C: ditto
1443         * LyXAction.C: ditto
1444         * LColor.C: ditto
1445         * FloatList.C: ditto
1446         * DepTable.C: ditto
1447         * ColorHandler.C (LyXColorHandler): ditto
1448
1449 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1450
1451         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1452
1453         * text2.C (openStuff): reintroduce this method (which had been
1454         nuked in NEW_INSETS frenzy).
1455
1456         * lyxfunc.C (Dispatch): when an action has not been handled, use
1457         its name in the error message, not its number.
1458
1459         * paragraph.C (inInset): change method name to begin with lowercase.
1460
1461         * undo_funcs.C:
1462         * text2.C: updates because of this.
1463
1464 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1465
1466         * ToolbarDefaults.C (add): add spaces in error message
1467
1468 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1469
1470         * buffer.C (readLyXformat2): initialize the ert comp. variables.
1471         (readLyXformat2): rename return_par to first_par, use lyxlex's
1472         pushToken and remove the manual push handling.
1473         (parseSingleLyXformat2Token): add another ert comp. variable:
1474         in_tabular, rename return_par to first_par. handle newlines better
1475
1476 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1477
1478         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1479
1480 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1481
1482         * text2.C (getParFromID): removed
1483
1484         * buffer.C (getParFromID): new method moved form lyxtext.
1485         * BufferView2.C (insertErrors): adjust
1486         (setCursorFromRow): adjust
1487         * BufferView_pimpl.C (restorePosition): adjust
1488         * lyxfunc.C (Dispatch): adjust
1489         * undo_funcs.C (textUndo): adjust
1490         (textRedo): adjust
1491         (textHandleUndo): adjust
1492         (textHandleUndo): adjust
1493
1494 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1495
1496         * buffer.C: up' the LYX_FORMAT
1497
1498         * lyxfont.h: turn NO_LATEX on as default
1499
1500         * buffer.C (insertErtContents): new methods of tex style compability.
1501         (parseSingleLyXformat2Token): use it several places.
1502         * tabular.C (OldFormatRead): and here
1503
1504 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1505
1506         * text2.C: remove some commented code.
1507         reindent file.
1508
1509         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1510         * trans.C: changes because of the above.
1511
1512 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
1513
1514         * text2.C (setCounter): Fix counters bug with bibliography layout.
1515
1516 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1517
1518         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1519         own member functions
1520         (simpleTeXSpecialChars): ditto
1521
1522 2001-07-06  Juergen Vigna  <jug@sad.it>
1523
1524         * a lot of files: changed the access to LyXText::status and the
1525         call of undo-functions.
1526         
1527         * undo.[Ch]: added a inset_id to the undo informations.
1528
1529         * undo_funcs.[Ch]: added and moved here all undo functions.
1530
1531         * lyxtext.h: give the status enum a weight, made status_ a private
1532         variable and made accessor functions for it, removed the whole bunch
1533         of undo-functions as they are now in their own file, make some
1534         functions publically available. Added function ownerParagraph with
1535         int parameter.
1536
1537         * paragraph.[Ch]: added "bool same_ids" to the constructor,
1538         made InInset() a const function, added getParFromID() function.
1539
1540         * buffer.[Ch]: added const version for inset_iterator functions,
1541         added getInsetFromID() function.
1542
1543         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1544         changed undo functions for new version.
1545
1546 2001-07-05  Juergen Vigna  <jug@sad.it>
1547
1548         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1549         unknow mechanism does not call the proper constructor but only this
1550         one also if I request the other!?
1551
1552 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1553
1554         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1555
1556         * text2.C (LyXText): use initialization lists.
1557
1558         * lyxtext.h (Selection): initialize set_ and mark_
1559         (init): remove method
1560
1561 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
1562
1563         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1564
1565 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1566
1567         * screen.[Ch]: change method names to begin with lowercase 
1568
1569         * BufferView_pimpl.C (updateScrollbar): simplify further and
1570         hopefully make it a bit faster.
1571
1572 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1573
1574         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1575         calling directly xforms functions.
1576
1577         * Painter.C (Painter): 
1578         * lyx_cb.C (MenuWrite): 
1579         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1580         fl_display.
1581
1582         * lyx_gui.C: remove bogus guiruntime extern declaration.
1583
1584 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1585
1586         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1587         in NEW_INSETS
1588         (redoDrawingOfParagraph): ditto
1589         (redoParagraphs): ditto
1590         (cutSelection): don't create a object for CutAndPaste use the
1591         static method directly
1592         (pasteSelection): ditto
1593
1594         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1595         LyXview (+ rename)
1596
1597 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1598
1599         * modifications to some other files because of this.
1600         
1601         * Makefile.am (lyx_SOURCES): add XFormsView
1602
1603         * XFormsView.[Ch]: new files
1604
1605         * LyXView.[Ch]: make LyXView a base class for the gui handling for
1606         the main window. Move the gui dependent stuff to XFormsView
1607
1608 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1609
1610         * tabular.C (GetCellInset): update cur_cell also in the row/col
1611         version of this function.
1612
1613         * lyxfunc.C: no need to include figure_form.h here.
1614
1615         * FontLoader.h: 
1616         * lyxfunc.h: 
1617         * lyxscreen.h: 
1618         * text2.C: 
1619         * lyxvc.C: no need to include forms.h here.
1620
1621 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1622
1623         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1624
1625         * lyxfunc.C (Dispatch): 
1626         * Spacing.C (set): 
1627         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1628         constructor argument.
1629
1630 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1631
1632         * paragraph.C (Paragraph): dont't clear, and just set layout.
1633         (makeSameLayout): use params's copy contructor.
1634
1635         * ParagraphParameters.[Ch] (makeSame): delete method
1636
1637 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
1638
1639         * Variables.[Ch]: fix indentation, rename set to isSet
1640
1641 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1642
1643         * lyxfunc.C (Dispatch): fix typo
1644
1645 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1646
1647         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1648         upper_bound. 
1649
1650         * bufferlist.C: include assert.h for emergencyWrite().
1651
1652 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1653
1654         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1655           give up at last (bug #425202) !
1656  
1657 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
1658
1659         * lyx_gui_misc.C:
1660         * sp_form.h:
1661         * sp_form.C:
1662         * spellchecker.h:
1663         * spellchecker.C: strip spellchecker options and bring up
1664           preferences tab instead
1665          
1666 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1667
1668         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1669         the istringstream constructor
1670
1671 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1672
1673         * paragraph.C (getLayout): fix return value
1674
1675         * paragraph.h: do not declare getLayout as inline.
1676
1677         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1678
1679 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1680
1681         * lyxcursor.h (operator<): new func
1682         (operator>): new func
1683         (operator>=): new func
1684         (operator<=): new func
1685
1686         * text.C (changeCase): use selection.start and selection.end
1687         (changeRegionCase): require from to be <= to. Require par to be a
1688         valid paragraph.
1689
1690         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1691
1692 2001-06-27  Juergen Vigna  <jug@sad.it>
1693
1694         * text.C (cursorLeftOneWord): changed to return the cursor and added
1695         overlay with BufferView * parameter which calls this one.
1696         (getWord): added
1697         (selectWord): use new getWord function.
1698         (changeCase): renamed from changeWordCase as and extended to work
1699         also on selections.
1700
1701         * lyxtext.h: added enum word_location
1702
1703         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1704         changeCase as this operates now also on selections.
1705
1706 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1707
1708         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1709
1710         * many files: send debug output to Debug::INFO instead of
1711         Debug::ANY. 
1712
1713         * converter.C (View): 
1714         (Convert): 
1715         (Move): send debug output to Debug::FILES instead of console.
1716
1717 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
1718
1719         * lyxfunc.C (getStatus): use func_status
1720
1721         * func_status.h: new header, describing the results of
1722         LyXFunc::getStatus;
1723
1724         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1725         LFUN_MATH_HALIGN.
1726
1727 2001-06-25  The LyX Project  <jug@sad.it>
1728
1729         * buffer.C (sgmlOpenTag):
1730         (sgmlCloseTag):
1731         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
1732
1733 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1734
1735         * text2.C: remove some dead code
1736
1737         * tabular.C (GetCellInset): store the last cell checked (gotten)
1738
1739         * tabular.h: add the helper for the speedup
1740
1741         * lyxtext.h: remove some dead code
1742
1743 2001-06-26  The LyX Project  <Asger>
1744
1745         * paragraph.C: Change export to LaTeX of alignment to
1746         \begin{center} and family for better roundtrip work with reLyX.
1747
1748         * Tune the math drawing a bit.
1749
1750 2001-06-25  The LyX Project  <Asger>
1751
1752         * LColor.C (LColor): New color for math background. New color
1753         for buttons.
1754
1755 2001-06-25  The LyX Project  <jug@sad.it>
1756
1757         * lyxfunc.C (MenuNew): remove extra check for .lyx file
1758
1759         * lyxfunc.C (Open): 
1760         * bufferlist.C (newFile): do not restrict to files ending with
1761         .lyx
1762
1763         * BufferView_pimpl.C (MenuInsertLyXFile): 
1764
1765 2001-06-24  The LyX Project  <jug@sad.it>
1766
1767         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1768         of compare_no_case
1769
1770 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1771
1772         * lyxtext.h: rename most methods to begin with a small char.
1773         Lots of changes because of this.
1774
1775         * paragraph.C (Paragraph): do not call fitToSize
1776         (erase): call Pimpl::erase
1777         (insertChar): call Pimpl::insertChar
1778         (insertInset): call Pipl::insertInset
1779         (breakParagraph): do not call fitToSize
1780         (breakParagraphConservative): do not call fitToSize
1781         (fitToSize): remove method
1782
1783         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1784
1785 2001-06-24  The LyX Project  <Asger>
1786
1787         * Fix Qt compilation^2
1788
1789 2001-06-24  The LyX Project  <jug@sad.it>
1790
1791         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1792         depthHook(getDepth()-1).
1793
1794         * paragraph.h: 
1795         * ParagraphParameters.h: 
1796         * ParameterStruct.h: change type of depth to unsigned int ==
1797         depth_type. Many adaptations to other files before of that.
1798
1799 2001-06-24  The LyX Project  <Asger>
1800
1801         * Fix Qt compilation.
1802
1803 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1804
1805         * paragraph.h: renamed several methods to begin with small letter.
1806         several changes to many parts of the code because of this.
1807
1808 2001-06-23  The LyX Project  <jug@sad.it>
1809
1810         * text2.C (InsertStringAsLines): renamed from InsertStringA;
1811         rewritten to discard all double spaces when KeepEmpty is off
1812         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1813         to only handle newlines but not fiddle with spaces and friends.
1814
1815         * lyxfunc.C (MenuNew): when doing 'new from template', use
1816         template_path as default directory
1817
1818 2001-06-23  The LyX Project  <Asger>
1819
1820         * Clean-up of header file includes all over
1821         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1822         
1823 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1824
1825         * paragraph.h: renamed from lyxparagraph.h
1826
1827 2001-06-23  Asger  <lyx@violet.home.sad.it>
1828
1829         * Buffer.h: Removed Buffer::resize
1830         * BufferList.h: Removed BufferList::resize
1831         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
1832         the document lazily when we change the width, or the font settings.
1833
1834 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1835
1836         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1837
1838 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1839
1840         * buffer.h: remove out of date comment
1841
1842 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
1843
1844         * lyxscreen.h:
1845         * screen.C: fix "theoretical" GC leak
1846  
1847 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1848
1849         * LaTeX.C (scanAuxFile):
1850         (deplog): remove trailing \r when reading stream (useful under
1851         win32)  
1852
1853 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
1854
1855         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1856         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1857         and BufferView::theLockingInset(Inset*), so should use them and not
1858         access bv_->text->the_locking_inset directly.
1859
1860         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1861
1862 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
1863
1864         * Makefile.am:
1865         * tex-defs.h: remove old unused file
1866          
1867 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
1868
1869         * BufferView_pimpl.C: fix typo, remove minibuffer message
1870           when buffer has loaded
1871
1872 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1873
1874         * lyxfunc.C (Dispatch): use stringstream
1875         (MenuNew): use stringstream
1876         (Open): use stringstream
1877
1878         * importer.C (Import): use stringstream
1879
1880         * bufferview_funcs.C (CurrentState): use stringstream
1881
1882         * LaTeX.C (run): use stringstream
1883
1884         * BufferView_pimpl.C (savePosition): use stringstream
1885         (restorePosition): use stringstream
1886         (MenuInsertLyXFile): use stringstream
1887
1888 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
1889
1890         * BufferView.C:
1891         * Bullet.C:
1892         * ColorHandler.C:
1893         * FontInfo.C:
1894         * FontLoader.C:
1895         * LColor.C:
1896         * LaTeXFeatures.C:
1897         * Painter.C:
1898         * gettext.C:
1899         * lyx_gui_misc.C:
1900         * lyxserver.C:
1901         * vspace.C: removed // -*- C++ -*- as first line.
1902
1903         * lyxfind.h:
1904         * version.h: added // -*- C++ -*- as first line.
1905
1906 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1907
1908         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1909
1910         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1911         of string
1912
1913 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1914
1915         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1916         of floats.
1917
1918 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1919
1920         * gettext.C: include LString.h even when --disable-nls is on. 
1921
1922 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
1923
1924         * converter.h (Get): changed argument type from int to
1925         FormatList::size_type to avoid unnecessary conversion.
1926
1927         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1928         before using it.
1929
1930 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1931
1932         * gettext.h: include LString.h even when --disable-nls is on. 
1933
1934 2001-06-07  Juergen Vigna  <jug@sad.it>
1935
1936         * text.C (BreakAgain): subst spaces with tabs.
1937
1938         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1939         (resizeInsetsLyXText): set force on resizeLyXText.
1940
1941 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1942
1943         * gettext.h (gettext_init): 
1944         (locale_init): use a real definition instead of a macro
1945
1946 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
1947
1948         * Bufferview_pimpl.C:
1949         * LColor.h:
1950         * LColor.C: further lcolor tidies
1951
1952 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1953
1954         * BufferView_pimpl.C (updateScrollbar): simplify.
1955
1956         * BufferView2.C: don't include insets/insetinfo.h, change
1957         prototype for insertInset and call the Pimpl version. let
1958         updateInset call Pimpl version.
1959
1960         * BufferView.h: move inset_slept to BufferView::Pimpl, move
1961         gotoInset to BufferView::Pimpl
1962
1963 2001-06-01  Juergen Vigna  <jug@sad.it>
1964
1965         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1966         inside a LockingInset (is the update needed at all?).
1967
1968 2001-05-31  Juergen Vigna  <jug@sad.it>
1969
1970         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1971         here not the old one otherwise how should we compare it afterwards
1972         if it's the same!
1973
1974 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1975
1976         * lyxfont.C: 
1977         * tabular.C:
1978         * tabular-old.C: 
1979         * FontInfo.C: bring C functions into global namespace when
1980         necessary
1981
1982 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1983
1984         * LString.h: make sure config.h has been loaded before LString.h.
1985
1986         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1987         (one for each char read by EatLine!).
1988
1989         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1990         variables. 
1991
1992 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1993
1994         * paragraph.C (BreakParagraph): set the inset_owner in the new par
1995         to the same as the par we break from
1996
1997 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1998
1999         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2000
2001         * MenuBackend.C (expand): also create menu entries for wide
2002         versions of the floats.
2003
2004         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2005
2006         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2007
2008         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2009         frontends/Makefile.am
2010
2011         * text2.C: adjust
2012         * text.C: adjust
2013         
2014
2015         * tabular.C (getTokenValue): add std::
2016
2017         * tabular-old.C (getTokenValue): add std::
2018         (getTokenValue): ditto
2019         (getTokenValue): ditto
2020
2021         * screen.C (ToggleSelection): adjust
2022
2023         * lyxtext.h: put selection cursors inside a Selection struct.
2024
2025         * lyxfunc.C (moveCursorUpdate): adjust
2026
2027         * lyxfont.C (latexWriteStartChanges): add std::
2028
2029         * lyxfind.C: adjust
2030
2031         * font.h: delete with(char const *, LyXFont const &)
2032
2033         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2034
2035         * FontInfo.C (getFontname): add std::
2036
2037         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2038         (workAreaButtonPress): adjust
2039         (tripleClick): adjust
2040         (update): adjust
2041         (moveCursorUpdate): adjust
2042         (Dispatch): adjust
2043
2044         * BufferView2.C (gotoInset): adjust
2045
2046 2001-05-30  Juergen Vigna  <jug@sad.it>
2047
2048         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2049         to check pspell I add this as default as I now have new pspell
2050         libraries and they seem to use this.
2051
2052 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2053
2054         * text2.C (CutSelection): make the cursor valid before the call to
2055         ClearSelection.
2056
2057 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2058
2059         * kbsequence.C (parse): de-uglify a bit the parsing code, which
2060         relied on 0 terminated strings and other horrors. Bug found due to
2061         the new assert in lyxstring!
2062
2063         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2064         KP_ keys.
2065
2066 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2067
2068         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2069         to latinkeys.bind.
2070
2071         * lyxfunc.C (processKeySym): change method of getting to the
2072         self-insert char.
2073
2074         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2075         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2076         * BufferView_pimpl.[Ch]: here as private methods.
2077
2078 2001-05-28  Juergen Vigna  <jug@sad.it>
2079
2080         * text.C (SetHeightOfRow): added the update() call again as it is
2081         needed to initialize inset dimensions!
2082
2083 2001-05-16  Juergen Vigna  <jug@sad.it>
2084
2085         * text2.C (SetCharFont): Add new function with BufferView * and
2086         bool toggleall parameters for setting insets internal fonts.
2087         (SetFont): Freeze the undo as we may change fonts in Insets and
2088         all this change should be inside only one Undo!
2089
2090         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2091         setting font's in insets as for them we have the SetFont function!
2092
2093 2001-05-15  Juergen Vigna  <jug@sad.it>
2094
2095         * text2.C (ClearSelection): to be sure we REALLY don't have any
2096         selection anymore!
2097
2098         * tabular.C (TeXCellPreamble): fixed the left border problem for
2099         multicolumn cells.
2100
2101 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2102
2103         * LaTeX.C (deplog): Make sure that the main .tex file is in the
2104         dependancy file
2105
2106 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2107
2108         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2109         LFUN_BREAKPARAGRAPH.
2110
2111         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2112         help test to "internal only", similar for LFUN_INSERT_URL
2113
2114         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2115         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2116         auto_region_delete and deadkeys. 
2117
2118 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
2119
2120         * LColor.h:
2121         * LColor.C: remove some dead entries, tidy a little
2122  
2123 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2124
2125         * lyxfunc.C (processKeySym): comment the Escape handling, remove
2126         commented code.
2127         (Dispatch): implement LFUN_ESCAPE
2128
2129         * commandtags.h: add LFUN_ESCAPE
2130
2131         * LyXAction.C (init): add entry for LFUN_ESCAPE
2132
2133         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2134         Remove commented code.
2135         (insertNote): moved here
2136         (open_new_inset): moved here
2137
2138         * BufferView[2].[Ch]: move insertNote and open_new_inset to
2139         BufferView_pimpl
2140
2141 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2142
2143         * kbmap.C (findbinding): clean it up and make it work correctly.
2144
2145         * lyx_main.C (init): do not pass argc and argv as parameters
2146
2147 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2148
2149         * buffer.C: fix path for OS/2 & Win32
2150
2151         * lyx_gui.C:
2152         * lyx_main:
2153         * lyx_main.C: Added os:: class.
2154         
2155         * os2_defines.h: update
2156
2157 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2158
2159         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2160         better by trying again with reduced state.
2161
2162 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2163
2164         * lyxrc.C (read): print error about invalid key sequence only when
2165         debugging (because not all latinX keysyms are known to some X
2166         servers)
2167
2168         * kbsequence.C (getiso): add a few std:: qualifiers
2169         (getiso): comment out extra return statement.
2170
2171 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2172
2173         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2174         handling.
2175         (Dispatch): enhance the accent inset a bit. (not perfect)
2176
2177 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2178
2179         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2180
2181 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2182
2183         * bufferlist.C (emergencyWrite): fix assert() call
2184
2185 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
2186
2187         * text.C (InsertChar): Added trivial patch to only send the "you
2188         can not do multiple spaces this way" message once during a
2189         session.
2190
2191 2001-05-08  Baruch Even  <baruch@lyx.org>
2192
2193         * Makefile.am: Changed order of libraries to get LyX to link properly
2194         with the gnome frontend.
2195
2196 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2197
2198         * LaTeXFeatures.h: add a std:: qualifier
2199
2200 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2201
2202         * paragraph.C (String): use stringstream
2203
2204 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2205
2206         * paragraph.C (writeFile): remove footflag arg
2207
2208         * buffer.C (makeLaTeXFile): use stringstream
2209         (latexParagraphs): remove footnot gurba
2210
2211         * LaTeXFeatures.C (getPackages): use stringstream
2212         (getMacros): likewise
2213         (getTClassPreamble): likewise
2214         (getFloatDefinitions): new method
2215
2216         * paragraph.C (writeFile): reindent
2217         (Erase): reindent
2218
2219         * WorkArea.h: revert the xpos + etc changes.
2220
2221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2222
2223         * lyxparagraph.[Ch]: add copy constructor, remove Clone
2224
2225         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2226         (pasteSelection): likewise
2227         * text2.C (CreateUndo): likewise
2228
2229 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2230
2231         * minibuffer.C (peek_event): temporarily reduce the functionality
2232         of the minibuffer (to allow args on lfuns)
2233
2234         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2235         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2236
2237         * buffer.C (readInset): add compability reading of old float
2238         lists, add reading of new style float list.
2239         (readInset): avoid reevaluation of inscmd.getCmdName()
2240         (getLists): reindent
2241
2242         * MenuBackend.C (MenuItem): implement parsing of
2243         md_floatlistinsert and md_floatinsert.
2244         (expand::LastFiles): move initalizaton of iterators out of loop,
2245         avoid reevaluation.
2246         (expand::Documents): introduce typdedef vector<string> Strings,
2247         and use it. 
2248         (expand::ExportFormats): introduce typedef vector<Format const *>
2249         Formats, and use it.
2250         (expand): implement FloatListInsert and FloatInsert.
2251
2252         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2253         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2254         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2255
2256         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2257         handling. 
2258         (Dispatch::LFUN_FLOAT_LIST): implement
2259
2260 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
2261  
2262         * LaTeX.C (run): Fix problem with --export code.
2263  
2264 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2265
2266         * BufferView.[Ch] (workarea): removed.
2267         (getClipboard) new method; wrapper for workarea()->getClipboard()
2268
2269         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2270         bug.
2271
2272         * WorkArea.h (width, height, xpos, ypos): These methods all
2273         returned the dimensions of the work_area sub-area of WorkArea,
2274         resulting in a position error if the WorkArea were resized. Now
2275         return the dimensions of the entire WorkArea.
2276
2277         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2278
2279 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2280
2281         * LaTeX.C (deplog): correct the syntax of regex reg1
2282
2283 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2284
2285         * undo.C: remove !NEW_INSETS cruft
2286
2287 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2288
2289         * text2.C: remove !NEW_INSETS cruft
2290
2291         * text.C: remove !NEW_INSETS cruft
2292
2293         * tabular.C: remove !NEW_INSETS cruft
2294
2295         * spellchecker.C: remove !NEW_INSETS cruft
2296
2297         * lyxtext.h: remove !NEW_INSETS cruft
2298
2299         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2300
2301         * lyxfunc.C: remove !NEW_INSETS cruft
2302
2303         * lyxfind.C: remove !NEW_INSETS cruft
2304
2305         * lyx_cb.C: remove !NEW_INSETS cruft
2306
2307         * figureForm.C: remove  !NEW_INSETS cruft
2308
2309         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2310
2311         * buffer.[Ch]: remove !NEW_INSETS cruft
2312
2313         * ToolbarDefaults.C: remove !NEW_INSETS cruft
2314
2315         * CutAndPaste.C: remove !NEW_INSETS cruft
2316
2317         * BufferView_pimpl.C: remove !NEW_INSETS cruft
2318
2319         * BufferView2.C: remove !NEW_INSETS cruft
2320
2321         * BufferView.h: remove !NEW_INSETS cruft
2322
2323 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2324
2325         * Lsstream.h: include LString.h before the sstream headers to
2326         fix problem with gcc 2.95.3 and lyxstring
2327
2328 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2329
2330         * lyx_main.C: add using directives when needed for C functions
2331         declared in std:: namespace.
2332
2333 2001-04-27  Juergen Vigna  <jug@sad.it>
2334
2335         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2336         (SetHeightOfRow): comment out the update call should not be needed!
2337
2338 2001-04-13  Juergen Vigna  <jug@sad.it>
2339
2340         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2341         (LyXTabular): tried to minimize operator= operations (and realized
2342         hopfully Lars wish).
2343
2344 2001-04-27  Juergen Vigna  <jug@sad.it>
2345
2346         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2347
2348 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2349
2350         * lyxfunc.C (Dispatch): hack to make listof algorithm work
2351
2352         * buffer.C (readInset): hack to make listof algorithm work
2353
2354         * BufferView_pimpl.C: hack to make listof algorithm work
2355
2356 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2357
2358         * LyXAction.C: removed all !NEW_INSETS cruft
2359         (init): moved lfun_item in method
2360
2361         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2362
2363 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2364
2365         * BufferView2.C (theLockingInset): white space.
2366
2367 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2368
2369         * minibuffer.C: include <iostream>
2370
2371         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2372
2373         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2374
2375         * commandtags.h: add LFUN_TRANSPOSE_CHARS
2376
2377         * text.[Ch] (TransposeChars): new method
2378
2379 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2380
2381         * call message directly through LyXView instead of through LyXFunc
2382         * BufferView2.C: adjust
2383         * BufferView_pimpl.C: adjust
2384         * FontLoader.C: adjust
2385         * buffer.C: adjust
2386         * bufferview_funcs.C: adjust
2387         * converter.C: adjust
2388         * figureForm.C: adjust
2389         * importer.C: adjust
2390         * lyx_cb.C: adjust
2391         * lyx_gui_misc.C: adjust
2392         * lyxfunc.C: adjust
2393         * lyxvc.C: adjust
2394         * text2.C: adjust
2395         + more files in subdirs
2396         
2397         * lyxparagraph.h (size): move up int file
2398         (GetLayout): ditto
2399
2400         * adjust all uses of Assert to lyx::Assert.
2401
2402         * BufferView2.C (ChangeCitationsIfUnique): adjust for
2403         lyxfunctional in namespace lyx
2404         * layout.C (hasLayout): ditto
2405         (GetLayout): ditto
2406         (GetLayout): ditto
2407         (delete_layout): ditto
2408         (NumberOfClass): ditto
2409         * converter.C (GetFormat): ditto
2410         (GetNumber): ditto
2411         (Add): ditto
2412         (Delete): ditto
2413         (SetViewer): ditto
2414         * bufferlist.C (getFileNames): ditto
2415         (emergencyWriteAll): ditto
2416         (exists): ditto
2417         (getBuffer): ditto
2418         * MenuBackend.C (hasSubmenu): ditto
2419         (hasMenu): ditto
2420         (getMenu): ditto
2421         * BufferView_pimpl.C (getInsetByCode): ditto
2422
2423 2001-04-18  Juergen Vigna  <jug@sad.it>
2424
2425         * vspace.C (asLatexString): fixed the 100% problem.
2426
2427 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2428
2429         * lyxfunc.C (Dispatch): 
2430         * minibuffer.C: 
2431         * minibuffer.h: add a few std:: qualifiers
2432
2433 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2434
2435         * minibuffer.[Ch]: reimplement so that commands is initiated and
2436         run from lyxfunc, simplified som handling, and made the completion
2437         and history code for complete. wip. 
2438
2439         * lyxfunc.C (processKeySym): call message
2440         (miniDispatch): new temporary method
2441         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2442         (LFUN_MESSAGE): implement
2443         (LFUN_MESSAGE_PUSH): implement
2444         (LFUN_MESSAGE_POP): implement
2445         (initMiniBuffer): the initial/defualt minibuffer message.
2446
2447         * lyxfont.[Ch]: inline some more getters
2448
2449         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2450
2451         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
2452
2453         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2454         (AutoSave): use LFUN_MESSAGE
2455         (Reconfigure): ditto
2456
2457         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2458
2459         * figureForm.C: use LFUN_MESSAGE
2460
2461         * converter.C (runLaTeX): use LFUN_MESSAGE
2462
2463         * bufferview_funcs.C: use LFUN_MESSAGE
2464         (Melt): ditto
2465         (changeDepth): ditto
2466
2467         * bufferparams.h: use boost::
2468
2469         * bufferlist.h: inherit privately from noncopyable
2470
2471         * bufferlist.C (loadLyXFile): remove some commented code.
2472
2473         * buffer.C (runChktex): use LFUN_MESSAGE
2474
2475         * ShareContainer.h: inherit privately from noncopyable
2476
2477         * ParagraphParameters.[hC] (depth): inline it.
2478
2479         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2480         methods.
2481         (message): new method
2482         (messagePush): ditto
2483         (messagePop): ditto
2484         (show): init minibuffer
2485         (showState): direct call
2486
2487         * LaTeX.[Ch]: inherit privately from noncopyable
2488         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2489         instead of WriteStatus.
2490
2491         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2492
2493         * BufferView_pimpl.C (buffer): don't init minibuffer
2494         (workAreaButtonPress): use LFUN_MESSAGE
2495         (workAreaButtonRelease): ditto
2496         (savePosition): ditto
2497         (restorePosition): ditto
2498         (MenuInsertLyXFile): ditto
2499         (workAreaExpose): don't init minibuffer
2500         (update): remove commented code, simplify
2501
2502         * BufferView2.C (openStuff): use LFUN_MESSAGE
2503         (toggleFloat): ditto
2504         (menuUndo): ditto
2505         (menuRedo): ditto
2506         (copyEnvironment): ditto
2507         (pasteEnvironment): ditto
2508         (copy): ditto
2509         (cut): ditto
2510         (paste): ditto
2511         (gotoInset): ditto
2512         (updateInset): remove some commented code
2513
2514         * lastfiles.h: inherit privately from noncopyable
2515         * layout.h: ditto
2516         * lyx_gui.h: ditto
2517         * lyx_main.h: ditto
2518         * lyxlex.h: ditto
2519         * lyxlex_pimpl.h: ditto
2520
2521         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2522         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2523         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2524
2525         * LyXAction.h: inherit privately from noncopyable, add methods
2526         func_begin, func_end, returning iterators to the func map.
2527
2528         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2529         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2530         (func_begin): new method
2531         (func_end): new method
2532
2533         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2534         and not)
2535         (copySelection): ditto
2536         (pasteSelection): ditto
2537
2538         * BufferView.C: whitespace change
2539         * BufferView.h: inherit privately from noncopyable
2540
2541 2001-04-16  Allan Rae  <rae@lyx.org>
2542
2543         * tabular-old.C (l_getline): 
2544         * spellchecker.C (sc_check_word): 
2545         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2546         an unrecognised preprocessor directive.  So ensure they're wrapped. 
2547
2548 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
2549
2550         * src/exporter.C (Export): Give an error message when path to file 
2551         contains spaces.
2552
2553 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
2554
2555         * LaTeX.C (deplog): Always check that foundfile exists.
2556
2557 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2558
2559         * lyx_main.h: 
2560         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
2561
2562 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2563
2564         * tabular.[Ch] (getLabelList): implement new method
2565
2566         * minibuffer.h: comment ouf setTiimer
2567
2568         * minibuffer.C (ExecutingCB): constify res
2569         (peek_event): constify s
2570         (Set): constify ntext
2571         (Init): constify nicename
2572
2573         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2574
2575         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2576         (savePosition): use two params to Minibuffer::Set
2577         (restorePosition): ditto
2578
2579 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2580
2581         * lyx_main.C: include language.h
2582
2583         * Makefile.am (lyx_main.o): add language.h
2584
2585 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2586
2587         * exporter.C: 
2588         * paragraph.C: 
2589         * screen.C: 
2590         * tabular.C: 
2591         * CutAndPaste.C: include gettext.h
2592
2593         * lyxfont.h: remove old hack with ON and OFF.
2594
2595         * lyxparagraph.h: 
2596         * lyxfont.h: do not include language.h...
2597
2598         * BufferView2.C: 
2599         * LaTeXFeatures.C: 
2600         * Painter.C: 
2601         * bufferview_funcs.C: 
2602         * font.C: 
2603         * lyxfont.C: 
2604         * text.C: 
2605         * text2.C: 
2606         * trans_mgr.C: 
2607         * paragraph.C: ... but do it here instead
2608
2609 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2610
2611         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2612
2613         * tabular.C: small reformat
2614
2615         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2616         NEW_INSETS version
2617         (GetChar): ditto
2618         (BreakParagraph): ditto
2619         (SetOnlyLayout): ditto
2620         (SetLayout): ditto
2621
2622         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2623         with one arg less.
2624
2625         * lastfiles.C: removed most using decl, add std:: where needed
2626
2627         * buffer.C: ws changes
2628
2629         * MenuBackend.C (class compare_format): put into anon namespace
2630         (expand): constify label, names, action, action2
2631         (expand): 
2632
2633         * text.C (SingleWidth): constify font
2634         (IsBoundary): constify rtl2
2635         (GetVisibleRow): constify ww
2636
2637         * LaTeX.C (deplog): constify logfile
2638
2639         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2640         start_x, end_x
2641         (workAreaExpose): constify widthChange, heightChange
2642
2643         * lyxrow.C (par): moved
2644         (height): moved
2645         (next): moved
2646         * lyxrow.h: as inlines here
2647
2648         * lyxfont.h (shape): moved from lyxfont.C
2649         (emph): moved from lyxfont.C
2650
2651         * lyxfont.C (LyXFont): use initialization list for all
2652         constructors
2653         (shape): move to lyxfont.h as inline
2654         (emph): move to lyxfont.h as inline
2655         
2656
2657 2001-04-04  Juergen Vigna  <jug@sad.it>
2658
2659         * vspace.C: had to include stdio.h for use of sscanf
2660
2661 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
2662
2663         * BufferView.h: 
2664         * BufferView_pimpl.h: remove xforms cruft. Both classes are
2665         independent of xforms.
2666
2667 2001-04-02  Juergen Vigna  <jug@sad.it>
2668
2669         * spellchecker.C: fixed namespace placing!
2670
2671 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
2672
2673         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2674         the LyXParagraph * is 0.
2675
2676 2001-03-29  Juergen Vigna  <jug@sad.it>
2677
2678         * vspace.C: added support for %, c%, p%, l%.
2679         (stringFromUnit): added helper function.
2680         (asLatexString): changed to give right results for the %-values.
2681
2682         * buffer.C: convert the widthp in a width%.
2683
2684 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
2685
2686         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2687         figureForm.[Ch].
2688
2689         * figureForm.[Ch]: stripped the FD_from_figure manipulation
2690         code out of lux_cb.[Ch], ready for its (imminent?) removal.
2691
2692         * lyx_cb.[Ch]: see above.
2693
2694         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2695         form1.[Ch].
2696
2697         * form1.[Ch]:
2698         * lyx.[Ch]: replaced by figure_form.[Ch].
2699
2700         * lyx_gui.C:
2701         * lyx_gui_misc.C:
2702         * lyxfunc.C: changed headers associated with above changes.
2703
2704 2001-03-27  Juergen Vigna  <jug@sad.it>
2705
2706         * BufferView_pimpl.C: set the temporary cursor right!
2707
2708 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
2709
2710         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2711
2712 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
2713
2714         * LString.h: removed "using std::getline"!
2715
2716         * BufferView_pimpl.C (Dispatch): changes due to changes in
2717         InsetInclude::Params.
2718
2719         * buffer.C (tag_name): removed redundant break statements as they were
2720         producing lots of warnings with my compiler.
2721
2722 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2723
2724         * LString.h: add "using std::getline" when using the real <string>.
2725
2726 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
2727
2728         * buffer.C: removed bitset usage.
2729         PAR_TAG moved to an anonymous name space.
2730         (tag_name): new funtion, also in the anonymous namespace.
2731         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2732         (makeDocBookFile): clean code. Completed transition from string arrays
2733         to string vectors.
2734         (SimpleDocBookOnePar): code clean.
2735
2736 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2737
2738         * tabular.C: add some comments.
2739
2740 2001-03-22  Juergen Vigna  <jug@sad.it>
2741
2742         * buffer.C (parseSingleLyXformat2Token): redone the minipage
2743         compatibility read a bit and fixed bug with minipage in different
2744         depth.
2745
2746 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
2747
2748         * buffer.C (pop_tag): removed.
2749         (push_tag): removed.
2750         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2751         array replaced with vector. Added support for CDATA sections.
2752         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2753         at any nest level.
2754         (makeDocBookFile): XML conformant declaration of CDATA section,
2755         fixed bug related to <emphasis> in the first paragraph char.
2756         (sgmlOpenTag): exclude empty tags.
2757         (sgmlCloseTag): ditto.
2758         
2759         * buffer.h (pop_tag): removed.
2760         (push_tag): removed.
2761
2762 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
2763
2764         * language.h (Languages): added size_type and size().
2765
2766 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2767
2768         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2769         response on compability reading of minipages. One probliem is that
2770         the old usage of minipages was «flertydig» 
2771
2772         * several files here and in subdirs: don't use static at file
2773         scope use anon namespaces instead.
2774
2775 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
2776
2777         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2778         LaTeX output. This is necessary for Literate document
2779         processing.
2780
2781 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2782
2783         * buffer.C: insert hfill when needed.
2784
2785         * tabular.C (l_getline): use string::erase, small whitespace change.
2786
2787         * BufferView_pimpl.C: try the anon namespace.
2788         * WorkArea.C: ditto
2789
2790 2001-03-16  Juergen Vigna  <jug@sad.it>
2791
2792         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2793         otherwise it won't open options-dialogs.
2794
2795         * buffer.C: honor pextraWidth(p) on converting minipages.
2796
2797         * tabular.C (l_getline): changed the functions to strip trailing \r.
2798
2799 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
2800
2801         * BufferView_pimpl.C:
2802         * minibuffer..C: added "using SigC::slot" declaration.
2803
2804 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2805
2806         * lyxlex_pimpl.h: noncopyable is in namespace boost.
2807
2808         * text2.C: ditto
2809
2810         * text.C: ditto
2811
2812         * paragraph.C: ditto
2813
2814         * lyxtext.h: NO_PEXTRA
2815
2816         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2817
2818         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2819         * ParameterStruct.h: ditto
2820         * ParagraphParameters.h: ditto 
2821         * lyxparagraph.h: ditto
2822
2823 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2824
2825         * buffer.C: add compability for minipage alignment.
2826         (latexParagraphs): remove unwanted pextra check.
2827
2828         * several files: remove CXX_WORKING_NAMESPACES
2829
2830         * buffer.C (pop_tag): tie is in namespace boost
2831
2832         * BufferView.h: noncopyable is in namespace boost
2833         * lyxlex.h: ditto
2834         * lyx_main.h: ditto
2835         * lyx_gui.h: ditto
2836         * layout.h: ditto
2837         * lastfiles.h: ditto
2838         * bufferlist.h: ditto
2839         * ShareContainer.h: ditto
2840         * LyXView.h: ditto
2841         * LyXAction.h: ditto
2842         * LaTeX.h: ditto
2843
2844 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2845
2846         * Merging changes from BRANCH_MVC back into HEAD.
2847
2848         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2849
2850 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
2851
2852         * BufferView_pimpl.C: change from intl.C
2853
2854         * combox.h:
2855         * combox.C:
2856         * Makefile.am: move combox.*
2857
2858         * form1.h:
2859         * form1.C:
2860         * lyx_gui.C:
2861         * intl.h:
2862         * intl.C: remove dialog (covered by prefs)
2863
2864 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2865
2866         * lyxfunc.C (Dispatch): removed redundant break statement.
2867         
2868 2001-03-14  Juergen Vigna  <jug@sad.it>
2869
2870         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2871
2872 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2873
2874         * buffer.C: add hack to fix compability reading of minipages.
2875
2876 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
2877
2878         * buffer.C (getLists): Cleanup.
2879
2880 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2881
2882         * lyxfont.C (update): don't honor toggleall on font size.
2883
2884 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
2885
2886         * bmtable.c:
2887         * bmtable.h:
2888         * Makefile.am: moved to frontends/xforms/
2889
2890         * lyx_gui_misc.C:
2891         * lyxfunc.C:
2892         * BufferView_pimpl.C: changes for moved mathpanel
2893
2894 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
2895
2896         * gettext.h: fix gettext_init() in --disable-nls
2897
2898 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2899
2900         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2901
2902 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
2903
2904         * lyx.C:
2905         * lyx.h: strip external form
2906
2907 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
2908
2909         * BufferView_pimpl.C: add comment, destroySplash()
2910
2911 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
2912
2913         * BufferView_pimpl.C:
2914         * LyXAction.C:
2915         * buffer.C:
2916         * commandtags.h:
2917         * lyxfunc.C: use re-worked insetinclude
2918
2919 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2920
2921         * buffer.C: add using std::stringstream.
2922
2923         * lyx_cb.C: readd using std::ios.
2924
2925         * buffer.C: add using std::map.
2926
2927         * BufferView_pimpl.C: add using std::vector.
2928
2929         * ShareContainer.h: add std:: to swap.
2930
2931         * buffer.h: add some typedefs
2932         * buffer.C (getLists): use them
2933         (getLists): renamed from getTocList.
2934         add a counter for the different float types and use it in the
2935         generated string.
2936         (getLists): use the same counter for the NEW_INSETS and the "non"
2937         NEW_INSETS
2938
2939         * lyx_cb.h: remove unused items, includes, using etc.
2940
2941         * ShareContainer.h: remove some commented code, add more comments
2942         and "documentation".
2943
2944 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2945
2946         * buffer.C (getTocList): make the list also when NEW_INSETS is
2947         defined.
2948
2949         * buffer.h: remove TocType
2950
2951         * buffer.C (getTocList): change to return a map<string,
2952         vector<TocItem> >, implement for dynamic number of list.
2953
2954         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2955         * text2.C (PasteSelection): adjust
2956         * CutAndPaste.C (pasteSelection): adjust
2957
2958         * FloatList.C (FloatList): update from the new_insets branch.
2959         * Floating.[Ch]: ditto
2960         * LaTeXFeatures.C: ditto
2961         * buffer.C: ditto
2962         * lyxlex_pimpl.C: ditto
2963         
2964         * paragraph.C (Last): remove when NEW_INSETS is defined.
2965
2966         * other file: changes because of the above.
2967
2968 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2969
2970         * lyxparagraph.h: rename next to next_, previous to previous_,
2971         make them private for NEW_INSETS. Rename Next() to next(),
2972         Previous() to previous().
2973
2974         * other files: changes because of the above.
2975
2976 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
2977
2978         * BufferView.h: 
2979         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2980         problem.
2981
2982 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2983
2984         * main.C (main): pass lyx_localedir to gettext_init().
2985
2986         * gettext.h: remove locale_init and gettext_init macros
2987
2988         * gettext.C (locale_init): new function
2989         (gettext_init): new function
2990
2991         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2992         setlocale().
2993
2994 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
2995
2996         * Moved credits to frontends:
2997         * credits.[Ch]: removed
2998         * credits_form.[Ch]: removed
2999         * lyx_gui_misc.C: remove credits stuff
3000         * Makefile.am:
3001
3002 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3003
3004         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3005
3006         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3007         unneeded destructor.
3008
3009         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3010         a standalone pointer again.
3011
3012         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3013
3014 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
3015
3016         * Makefile.am:
3017         * filedlg.h:
3018         * filedlg.C:
3019         * LyXAction.C:
3020         * ToolbarDefaults.C:
3021         * bufferlist.C:
3022         * commandtags.h:
3023         * form1.C:
3024         * form1.h:
3025         * lyx_cb.C:
3026         * lyx_cb.h:
3027         * lyxfunc.h:
3028         * lyxfunc.C:
3029         * BufferView_pimpl.C: use new file dialog in GUII
3030
3031         * lyx_cb.h:
3032         * lyx_cb.C: remove LayoutsCB to Toolbar
3033
3034 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3035
3036         * ShareContainer.h (get): add std:: qualifier
3037
3038 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3039
3040         * ShareContainer.h: define a proper ShareContainer::value_type
3041         type (and use typename to please compaq cxx)
3042
3043 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3044
3045         * lyxparagraph.h: move serveral local vars to
3046         ParameterStruct/ParagraphParameters., use ShareContainer in
3047         FontTable., make vars in FontTable private and add getter and
3048         setter.
3049
3050         * paragraph.C: changes because of the above.
3051
3052         * lyxfont.h: remove copy constructor and copy assignment. (the
3053         default ones is ok), move number inside FontBits. move inlines to
3054         lyxfont.C 
3055
3056         * lyxfont.C: add number to initializaton of statics, move several
3057         inlines here. constify several local vars. some whitespace
3058         cleanup. Dont hide outerscope variables.
3059
3060         * Spacing.h: add two new constructors to match the set methods.
3061
3062         * ShareContainer.h: new file, will perhaps be moved to support
3063
3064         * ParameterStruct.h: new file
3065
3066         * ParagraphParameters.h: new file
3067
3068         * ParagraphParameters.C: new file
3069
3070         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3071         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3072
3073         * BufferView_pimpl.C: ParagraphParameter changes.
3074         * buffer.C: Likewise.
3075         * bufferview_funcs.C: Likewise.
3076         * text.C: Likewise.
3077         * text2.C: Likewise.
3078         
3079 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3080
3081         * lyxfind.C (LyXReplace): do not redefine default argument in
3082         implementation. 
3083         (IsStringInText): ditto
3084         (SearchForward): ditto
3085         (SearchBackward): ditto
3086
3087 2001-03-06  Juergen Vigna  <jug@sad.it>
3088
3089         * lyxfind.C (IsStringInText): put parentes around expressions.
3090
3091 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
3092
3093         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3094         
3095 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
3096
3097         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3098
3099         * stl_string_fwd.h: add comment
3100
3101         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3102
3103         * tabular.h:
3104         * tabular.C: remove unused DocBook methods
3105
3106         * intl.C:
3107         * language.C:
3108         * paragraph.C:
3109         * buffer.C:
3110         killed DO_USE_DEFAULT_LANGUAGE
3111
3112 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3113
3114         * lyx_gui.C: do not include language.h.
3115
3116         * bufferview_funcs.C (ToggleAndShow): do not provide optional
3117         arguments in function implementation.
3118
3119 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3120
3121         * BufferView_pimpl.C: add <ctime>
3122
3123 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3124
3125         * BufferView_pimpl.C: add using std::find_if
3126
3127 2001-02-27  José Matos  <jamatos@fep.up.pt>
3128         
3129         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3130         by OnlyPath.
3131         
3132 2001-02-11  José Matos  <jamatos@fep.up.pt>
3133
3134         * buffer.C (makeDocBookFile): command styles now have a parameter as
3135         "title" by default.
3136
3137 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
3138
3139         * layout_forms.[Ch]: removed
3140         * lyx_cb.[Ch]: out character
3141         * lyx_gui.C: out character
3142         * lyx_gui_misc.C: out character
3143         * bufferview_funcs.C: : out character,
3144         added toggleall as parameter in ToggleAndShow
3145                    
3146 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
3147
3148         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3149
3150         * text2.C (SetCurrentFont): Disable number property at boundary.
3151
3152 2001-02-26  Juergen Vigna  <jug@sad.it>
3153
3154         * lyxfunc.C (getStatus): added a string argument override function so
3155         that this is correctly called from LyXFunc::Dispatch if it contains a
3156         do_not_use_argument which is used!
3157         (Dispatch): added check for "custom" export and call appropriate func.
3158
3159 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
3160
3161         * lyxrc.C: Add language_command_local, language_use_babel and
3162         language_global_options.
3163
3164         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3165
3166         * buffer.C (makeLaTeXFile): Use language_use_babel and 
3167         language_global_options.
3168
3169 2001-02-23  Juergen Vigna  <jug@sad.it>
3170
3171         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3172         which works with LyXText and putted it inside BufferView. Here now we
3173         only call for that part the BufferView::Dispatch() function.
3174
3175         * BufferView.C (Dispatch): added.
3176
3177         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3178         functions which needs to use a LyXText over from LyXFunc.
3179         (MenuInsertLyXFile): added
3180         (getInsetByCode): added
3181         (moveCursorUpdate): added
3182         (static TEXT): added
3183
3184 2001-02-22  Juergen Vigna  <jug@sad.it>
3185
3186         * BufferView_pimpl.C (update): call a status update to see if LyXText
3187         needs it.
3188
3189 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3190
3191         * vc-backend.C (revert): implement for CVS
3192         (getLog): implement for CVS
3193
3194 2001-02-20  Juergen Vigna  <jug@sad.it>
3195
3196         * text2.C (ClearSelection): added BufferView param for inset_owner call
3197
3198         * lyxfunc.C (TEXT): added this function and use it instead of
3199         directly owner->view()-text of getLyXText().
3200
3201 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
3202
3203         * src/layout_forms.C: out preamble
3204         * src/layout_forms.h: out preamble
3205         * src/lyx_cb.C: out preamble
3206         * src/lyx_cb.h: out preamble
3207         * src/lyx_gui.C: out preamble
3208         * src/lyx_gui_misc.C: out preamble
3209         * src/lyxfunc.C: connect with guii preamble
3210
3211 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
3212
3213         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3214
3215 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
3216
3217         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3218         whether to run bibtex.
3219
3220 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
3221
3222         * Makefile.am (lyx_SOURCES): Remove BackStack.h
3223
3224 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3225
3226         * Makefile.am (lyx_SOURCES): removed bibforms.h
3227
3228         * vspace.h: doxygen
3229
3230         * text.C (GetVisibleRow): make several local vars const
3231
3232         * tabular.C: small cleanup.
3233
3234         * lyxserver.C (callback): use compare instead of strncmp
3235
3236         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3237         inlines to after class or to paragraph.C
3238
3239         * lyxfont.h: remove friend operator!=
3240
3241         * converter.h: move friend bool operator< to non friend and after
3242         class def.
3243
3244         * combox.h: small cleanup
3245
3246         * buffer.h: doxygen, remove unused constructor, move inclas inlies
3247         to inlines after class def.
3248
3249         * buffer.C (pop_tag): use string operations instead of strcmp
3250
3251         * bmtable.c: doxygen, small cleanup
3252
3253         * LaTeX.h: remove friend operator==
3254
3255 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3256
3257         * screen.C: 
3258         * lyxrc.[Ch]:
3259         * lyxfunc.C: 
3260         * lyxfont.[Ch]: 
3261         * lyx_cb.C: 
3262         * intl.[Ch]: 
3263         * commandtags.h: 
3264         * buffer.C: 
3265         * WorkArea.[Ch]: 
3266         * LyXAction.C: 
3267         * BufferView_pimpl.C:
3268         * BufferView.[Ch]: remove cruft
3269
3270 2001-02-14  Juergen Vigna  <jug@sad.it>
3271
3272         * lyxfunc.C: removed #if 0 unused code
3273
3274         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3275
3276         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3277
3278         * text2.C (SetSelection): added a BufferView * parameter
3279
3280 2001-02-13  Juergen Vigna  <jug@sad.it>
3281
3282         * lyxfunc.C (Dispatch): fixed protected blank problem.
3283         * BufferView2.C (protectedBlank): added LyxText * parameter.
3284
3285         * tabular.C (AppendRow): forgot to set row_info of newly added row.
3286         (AppendColumn): same as above for column_info.
3287
3288         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3289         (moveCursorUpdate): use a LyXText param for support of InsetText.
3290
3291         * BufferView_pimpl.C (doubleClick): added support for InsetText.
3292         (tripleClick): ditto
3293
3294         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3295
3296         * BufferView_pimpl.C (update): added LyXText param to honor insets.
3297
3298         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3299
3300         * text2.C (SetSelection): set correct update status if inset_owner
3301         (ToggleFree): ditto
3302
3303 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
3304
3305         * tabular.C: remove some commented code.
3306
3307 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
3308
3309         * BufferView_pimpl.C: call hideSplash()
3310
3311         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3312
3313         * include_form.h:
3314         * bibforms.h: remove
3315
3316         * lyxfunc.C:
3317         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3318           add LFUN_CHILD_CREATE
3319
3320         * counters.h: fix tiny typo
3321         
3322         * lyx_cb.C:
3323         * lyx.h:
3324         * lyx_gui.C:
3325         * lyx.C: move splash to frontends/xforms/
3326
3327         * lyx_gui_misc.C: move Include and Bibform to frontends
3328
3329         * lyxvc.h: clarify comment
3330
3331         * vspace.C: tiny housekeeping
3332
3333 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3334
3335         * text.C (PrepareToPrint): RTL Fix.
3336
3337         * paragraph.C (GetUChar): New method.
3338         (String):  Use GetUChar.
3339
3340         * buffer.C (asciiParagraph): Use GetUChar.
3341
3342 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
3343
3344         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3345
3346 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
3347
3348         * buffer.h:
3349         * buffer.C: rename to getLogName(), handle
3350           build log / latex log nicely
3351
3352 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3353
3354         * MenuBackend.C: 
3355         * MenuBackend.h: remove support for reference menuitem type.
3356
3357 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
3358
3359         * BufferView_pimpl.C: housekeeping
3360         * BufferView_pimpl.h:
3361         * LyXView.h:
3362         * Makefile.am:
3363         * Timeout.C:
3364         * Timeout.h:
3365         * minibuffer.h: move Timeout GUI-I
3366                           
3367 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
3368
3369         * lyxrc.C (read): Update converters data-structures.
3370
3371 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
3372
3373         * LaTeX.h (operator!=): add operator != for Aux_Info 
3374
3375 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
3376
3377         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3378
3379         * LaTeXLog.C: deleted, useful code moved to Buffer
3380
3381         * buffer.h:
3382         * buffer.C: new function getLatexLogName()
3383
3384         * lyx_gui_misc.C:
3385         * lyx_gui.C:
3386         * lyxvc.C:
3387         * lyxvc.h:
3388         * lyxfunc.C: use frontends for LaTeX and VC logs
3389
3390 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3391
3392         * LaTeX.h: yet another std:: that Allan forgot.
3393
3394         * Variables.C (set): renamed from isset(), because this clashes
3395         with some HP-UX macros (grr).
3396
3397 2001-02-06  Allan Rae  <rae@lyx.org>
3398
3399         * LaTeX.h: Another bug fix.  Missing std:: this time.
3400
3401 2001-02-04  Allan Rae  <rae@lyx.org>
3402
3403         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
3404         floats problem. I've left it commented out because it's not quite
3405         correct.  It should also test that the current object is a table or
3406         figure inset.  But I haven't gotten around to figuring out how to do
3407         that.  I *think* it'll be something like: "table" == inset.type()
3408
3409         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
3410         bool.
3411
3412 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
3413
3414         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
3415         all the citation/databases/styles in the auxilary file. 
3416         (run): Rerun latex if there was a babel language error.
3417
3418 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
3419
3420         * text.C (Backspace): Preserve the font when changing newline char
3421         with a space.
3422         (BreakParagraph): If the cursor is before a space, delete the space.
3423
3424         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3425
3426 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
3427
3428         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3429         new argument (code).
3430         (ChangeCitationsIfUnique): New method.
3431
3432         * paragraph.C (GetPositionOfInset): Handle bibkey.
3433
3434 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3435
3436         * BufferView_pimpl.h: change type of Position::par_pos to
3437         LyXParagraph::size_type. 
3438
3439 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
3440
3441         * BufferView_pimpl.C (savePosition, restorePosition): Write
3442         messages to minibuffer.
3443
3444 2001-01-28  José Matos  <jamatos@fep.up.pt>
3445
3446         * buffer.C (makeDocBookFile): adds support for document language.
3447         A silly restriction on the name of LatexCommand types where removed.
3448         Added support for CDATA sections, allows to chars unescaped, used
3449         among others in code, to avoid escape < and >.
3450         
3451 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
3452
3453         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
3454         saved positions instrad of a stack. Furthermore, a position is
3455         stored using paragraph id/paragraph position.
3456
3457         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3458         Remove LFUN_REF_BACK.
3459
3460 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
3461
3462         * converter.C (dvipdfm_options): New method.
3463
3464 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3465
3466         * vspace.C (isValidLength): Fix for empty input string.
3467
3468 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3469
3470         * LyXAction.C (init): change description of LFUN_FIGURE to
3471         "Insert Graphics"
3472
3473 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3474
3475         * LaTeX.C: add using directive
3476
3477 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
3478
3479         * MenuBackend.C (expand): Fix the sorting of the formats.
3480
3481 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
3482
3483         * lyx_main.C: tiny error message fix
3484
3485 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3486
3487         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3488         calling fl_initialize(). This fixes the problem with ',' as
3489         decimal separator in text files.
3490
3491 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
3492
3493         * trans.C (process): Fix the keymap bug.
3494
3495 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
3496
3497         * LaTeX.C (scanAuxFiles): New method. Provides support for
3498         multiple bibliographies (when using the bibtopic/bibunits pacakges).
3499         (scanLogFile) Scan for "run BibTeX" messages.
3500
3501         * buffer.C (makeLaTeXFile): Do not load the ae package when using
3502         OT1 font encoding. Also, load the aecompl package if the ae
3503         package is loaded.
3504
3505         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3506
3507 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3508
3509         * texrow.C (increasePos): turn two error messages into debug
3510         messages. 
3511
3512 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
3513
3514         * LaTeX.C (scanAux): Handle the \@input macro.
3515         (runBibTeX): Use scanAux().
3516
3517         * language.C (latex_options_): New field.
3518
3519         * LaTeXFeatures.C (getMacros): Add language macros.
3520
3521         * buffer.C (makeLaTeXFile): Small fix.
3522
3523 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3524
3525         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3526
3527         * text2.C: add a using directive.
3528
3529 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
3530
3531         * BufferView2.C:
3532         * lyx_gui_misc.h:
3533         * lyxfr1.C:
3534         * lyxfunc.C: kill LyXBell.
3535
3536 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
3537
3538         * text.C (IsBoundary): Remove the error message
3539         
3540         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3541
3542         * lyxrc.C (setDefaults): Correct initialization value for
3543         font_norm_type.
3544
3545 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3546
3547         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3548         gotoError().
3549
3550         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3551         and GotoNextNote().
3552
3553         * src/LyXAction.C: Added reference-next.
3554
3555         * text.C (InsertChar): Use contains instead of strchr.
3556
3557         * lyx_cb.C (MenuInsertLabel): Enable default value code.
3558
3559 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
3560
3561         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3562         alignment commands (when needed).
3563
3564         * text.C (InsertChar): Add ':' to number separator chars.