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