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