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