]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
compile fix
[lyx.git] / src / ChangeLog
1         
2         *       lyxfunc.C:
3           BufferView_pimpl.C: streamlining mathed <-> outer world interaction
4
5         * commandtags.h:
6           LyXAction.C: remove unused LFUN_MATH
7
8
9 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10
11         * paragraph.[Ch]: add some NO_NEXT ifdefs.
12
13 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
14
15         * paragraph.C (Paragraph): reformat a bit
16         (cutIntoMinibuffer): use builtin InsetList function instad of
17         doing it manually.
18         (getInset): ditto
19
20         * buffer.C: include boost/bind.hpp, add using std::for_each
21         (writeFileAscii): use ParagraphList iterators
22         (validate): use for_each for validate traversal of paragraphs
23         (getBibkeyList): use ParagraphList iterators
24         (resizeInsets): use for_each to resizeInsetsLyXText for all
25         paragraphs.
26         (getParFromID): use ParagraphList iterators
27
28         * BufferView2.C (lockInset): use paragraph list and iterators
29
30 2002-08-14  John Levon  <levon@movementarian.org>
31
32         * lyxserver.C: remove spurious xforms include
33
34 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
35
36         * lyxfunc.C (getStatus): disable math-extern outside of math mode
37
38 2002-08-13  André Pönitz <poenitz@gmx.net>
39
40         * LyXAction.[Ch]:
41         * lyxfunc.C: further cleaning
42
43 2002-08-13  André Pönitz <poenitz@gmx.net>
44
45         * funcrequest.h: new constructor
46
47         * funcrequest.C: move stuff here from .h
48
49         * Makefile.am:
50         * BufferView_pimpl.C:
51         * LyXAction.C:
52         * toc.C:
53         * lyxfunc.C: subsequent changes
54
55         * lyxfunc.h: new view() member function
56
57         * lyxfunc.C: subsequent changes
58
59 2002-08-13  Angus Leeming  <leeming@lyx.org>
60
61         * BufferView2.C:
62         * BufferView_pimpl.C:
63         * buffer.C:
64         * converter.C:
65         * importer.C:
66         * lyxfunc.C:
67         * lyxvc.C:
68         * toc.C:
69         * vc-backend.C:
70         changes due to the changed LyXView interface that now returns references
71         to member variables not pointers.
72
73 2002-08-13  Angus Leeming  <leeming@lyx.org>
74
75         * WordLangTuple (word, lang_code): return references to strings,
76         not strings.
77
78         * BufferView.h:
79         * SpellBase.h:
80         * lyxtext.h: forward-declare WordLangTuple.
81
82         * BufferView2.C:
83         * ispell.C:
84         * pspell.C:
85         * text.C: #include "WordLangTuple.h".
86
87         * lyxtext.h:
88         * text.C: (selectNextWordToSpellcheck): constify return type.
89
90 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
91
92         * buffer.C:
93         * buffer.h:
94         * lyxtext.h:
95         * paragraph.C:
96         * paragraph_pimpl.h:
97         * text.C:
98         * text2.C:
99         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
100         suggested by Angus.
101         Made updateCounter always count from start of buffer, and removed
102         second argument (par).
103         Reverted floats number display to '#'. Perhaps I'll try again when the
104         code base is sanitized a bit.
105
106 2002-08-12  Angus Leeming  <leeming@lyx.org>
107
108         * buffer.[Ch] (getLabelList): constify.
109
110 2002-08-07  André Pönitz <poenitz@gmx.net>
111
112         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
113
114         * funcrequest.h: extension to keep mouse (x,y) position
115
116 2002-08-12  Juergen Vigna  <jug@sad.it>
117
118         * BufferView2.C (insertErrors): forbid undo when inserting error
119         insets.
120
121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
122
123 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
124
125         * ParagraphList.[Ch]: new files
126
127         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
128
129         * BufferView2.C (lockInset): ParagraphList changes
130         * toc.C: ditto
131         * text2.C: ditto
132         * bufferlist.C: ditto
133         * buffer.h: ditto
134         * buffer.C: ditto
135
136 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
137
138         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
139         unused class variable counter_,
140
141         * paragraph.[Ch] (getFirstCounter): delete unused function
142
143         * counters.C: include LAssert.h
144         (reset): add a new function with no arg, change other version to
145         not have def. arg and to not allow empty arg.
146
147         * text2.C (setCounter): remove empty arg from call to Counters::reset
148
149 2002-08-11  John Levon  <levon@movementarian.org>
150
151         * Makefile.am: add WordLangTuple.h
152
153 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
154
155         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
156         lyxfunc.C lyxlex_pimpl.C: ws changes only.
157
158         * insets/insettext.C: InsetList changes
159
160         * graphics/GraphicsSupport.C (operator()): InsetList changes
161
162         * toc.C (getTocList): InsetList changes
163
164         * paragraph_pimpl.[Ch]: InsetList changes
165
166         * paragraph.[Ch]: InsetList changes
167
168         * buffer.C (inset_iterator): InsetList changes
169         (setParagraph): ditto
170         * buffer.h (inset_iterator): ditto
171         * iterators.C (operator++): ditto
172         * iterators.h: ditto
173
174         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
175
176         * InsetList.[Ch]: new files, most InsetList handling moved out of
177         paragraph.C.
178
179         * BufferView2.C (removeAutoInsets): InsetList changes
180         (lockInset): ditto
181         (ChangeInsets): ditto
182
183 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
184
185         * paragraph_pimpl.h (empty): new function
186
187         * paragraph.[Ch] (empty): new function
188
189         * other files: use the new Paragraph::empty function
190
191 2002-08-09  John Levon  <levon@movementarian.org>
192
193         * lyxtext.h: remove unused refresh_height
194
195 2002-08-09  John Levon  <levon@movementarian.org>
196
197         * Makefile.am:
198         * sgml.h:
199         * sgml.C:
200         * buffer.C:
201         * paragraph.h:
202         * paragraph.C: move sgml char escaping out of paragraph
203
204         * paragraph.h:
205         * paragraph.C: remove id setter
206
207         * buffer.C:
208         * paragraph.C:
209         * paragraph_pimpl.C: remove dead tex_code_break_column
210
211         * bufferview_funcs.C: small cleanup
212
213         * lyxfunc.C: remove dead proto
214
215         * lyxtext.h: make some stuff private. Remove some dead stuff.
216
217         * lyxgluelength.C: make as[LyX]String() readable
218
219 2002-08-08  John Levon  <levon@movementarian.org>
220
221         * LyXAction.h:
222         * LyXAction.C:
223         * MenuBackend.C:
224         * ToolbarDefaults.C:
225         * lyxfunc.C:
226         * lyxrc.C:
227         * toc.C: lyxaction cleanup
228
229 2002-08-08  John Levon  <levon@movementarian.org>
230
231         * BufferView2.C: small cleanup
232
233         * lyxfind.h:
234         * lyxfind.C: move unnecessary header into the .C
235
236 2002-08-08  John Levon  <levon@movementarian.org>
237
238         * funcrequest.h: just tedious nonsense
239
240         * lyx_main.h:
241         * lyx_main.C: cleanups
242
243         * buffer.C:
244         * vspace.C: remove dead header lyx_main.h
245
246 2002-08-07  Angus Leeming  <leeming@lyx.org>
247
248         * Paragraph.[Ch]:
249         * paragraph_pimpl.h:
250         Forward declare class Counters in paragraph.h by moving the ctrs member
251         variable into Paragraph::Pimpl.
252         (counters): new method, returning a reference to pimpl_->ctrs.
253
254         * text2.C: ensuing changes.
255
256 2002-08-07  John Levon  <levon@movementarian.org>
257
258         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
259
260         * BufferView_pimpl.C: announce X selection on double/triple
261           click
262
263         * lyx_main.C: use correct bool in batch dispatch
264
265         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
266
267 2002-08-07  André Pönitz <poenitz@gmx.net>
268
269         * funcrequest.h: new class to wrap a kb_action and its argument
270
271         * BufferView.[Ch]:
272         * BufferView_pimpl[Ch]:
273         * LaTeX.C:
274         * LyXAction.[Ch]:
275         * lyxfunc.[Ch]:
276         * lyxrc.C: subsequent changes
277
278
279 2002-08-07  John Levon  <levon@movementarian.org>
280
281         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
282           document options change.
283
284 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
285
286         * counters.[Ch]
287         * text2.C
288         * paragraph.[Ch]
289         * makefile.am: move counters functionality over from
290         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
291
292 2002-08-06  John Levon  <levon@movementarian.org>
293
294         * WordLangTuple.h: new file for word + language code tuple
295
296         * SpellBase.h:
297         * pspell.h:
298         * pspell.C:
299         * ispell.h:
300         * ispell.C:
301         * lyxtext.h:
302         * text.C:
303         * text2.C:
304         * BufferView.h:
305         * BufferView2.C: use WordLangTuple
306
307         * layout.h:
308         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
309
310 2002-08-06  John Levon  <levon@movementarian.org>
311
312         * lyx_main.C: fix cmdline batch handling
313
314 2002-08-06  André Pönitz <poenitz@gmx.net>
315
316         * lyxrc.C: set default for show_banner to true
317
318 2002-08-06  John Levon  <levon@movementarian.org>
319
320         * pspell.C: fix a crash, and allow new aspell to work
321
322 2002-08-06  John Levon  <levon@movementarian.org>
323
324         * lyxfunc.C:
325         * kbmap.C: small cleanup
326
327         * vspace.h:
328         * vspace.C: add const
329
330 2002-08-05  John Levon  <levon@movementarian.org>
331
332         * LyXAction.C: back to tabular-insert
333
334 2002-08-04  John Levon  <levon@movementarian.org>
335
336         * BufferView.h:
337         * BufferView.C: cosmetic change
338
339         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
340
341         * bufferlist.C:
342         * buffer.h:
343         * buffer.C:
344         * lyxcb.h:
345         * lyxcb.C:
346         * lyxserver.C:
347         * lyxvc.C:
348         * vc-backend.C:
349         * BufferView2.C: purge all "Lyx" not "LyX" strings
350
351         * lyxcursor.h:
352         * lyxcursor.C: attempt to add some documentation
353
354         * lyxfunc.C:
355         * commandtags.h:
356         * LyXAction.C:
357         * ToolbarDefaults.C:
358         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
359           merge with LFUN_TABULAR_INSERT
360
361         * Makefile.am:
362         * SpellBase.h:
363         * ispell.h:
364         * ispell.C:
365         * pspell.h:
366         * pspell.C: split up i/pspell implementations into separate
367           files, many cleanups
368
369         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
370
371         * text2.C: some cleanup
372
373         * lyxfunc.C: don't check for isp_command == "none" any more, it
374           didn't make any sense
375
376 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
377
378         * counters.[Ch]
379         * text2.C
380         * paragraph.[Ch]
381         * makefile.am: move counters functionality over
382         from text2.C/paragraph.[Ch] to counters.[Ch], and
383         make proper C++.
384 2002-08-02  John Levon  <levon@movementarian.org>
385
386         * buffer.C: s/lyxconvert/lyx2lyx/
387
388 2002-08-02  Angus Leeming  <leeming@lyx.org>
389
390         * lyxlex.C: revert John's change as it breaks reading of the user
391         preamble.
392
393 2002-08-02  Angus Leeming  <leeming@lyx.org>
394
395         * importer.C (Import):
396         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
397         changes due to LyXView::view() now returning a boost::shared_ptr.
398
399 2002-08-02  John Levon  <levon@movementarian.org>
400
401         * lyxlex.C: small cleanup
402
403 2002-08-02  John Levon  <levon@movementarian.org>
404
405         * text2.C (status): small cleanup, no logic change
406
407 2002-08-01  John Levon  <levon@movementarian.org>
408
409         * buffer.h:
410         * buffer.C (writeFile): don't output alerts, caller
411           handles this
412
413         * bufferlist.C:
414         * lyx_cb.C: from above
415
416         * lyxfunc.C: allow to open non-existent files
417
418 2002-07-31  John Levon  <levon@movementarian.org>
419
420         * lyxserver.C: don't let incidental errors get
421           in the way (errno)
422
423 2002-07-30  John Levon  <levon@movementarian.org>
424
425         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
426
427 2002-07-30  John Levon  <levon@movementarian.org>
428
429         * lyxserver.h:
430         * lyxserver.C: remove I/O callback too
431
432 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
433
434         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
435         log.
436
437 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
438
439         * many files: strip,frontStrip -> trim,ltrim,rtrim
440
441 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
442
443         * PrinterParams.h: remove extern containsOnly, and include
444         support/lstrings.h instead.
445
446         * LaTeX.C (scanAuxFile): modify because of strip changes
447         (deplog): ditto
448         * buffer.C (makeLaTeXFile): ditto
449         * bufferparams.C (writeFile): ditt
450         * lyxfont.C (stateText): ditto
451         * lyxserver.C (read_ready): ditto
452         * vc-backend.C (scanMaster): ditto
453
454         * BufferView_pimpl.h: ws changes
455
456         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
457
458 2002-07-26  André Pönitz <poenitz@gmx.net>
459
460         * kb_sequence.C: remove unnedred usings
461
462 2002-07-26  Juergen Vigna  <jug@sad.it>
463
464         * lyxfind.C (LyXReplace): we have to check better if the returned
465         text is not of theLockingInset()->getLockingInset().
466
467 2002-07-25  Juergen Vigna  <jug@sad.it>
468
469         * lyxfind.C (LyXReplace): don't replace if we don't get the
470         right LyXText.
471
472         * undo_funcs.C (createUndo): remove debugging code.
473
474 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
475
476         * buffer.C (parseSingleLyXformat2Token): Use default placement
477         when reading old floats.
478
479         * FloatList.C (FloatList): Change the default placement of figure
480         and tables to "tbp".
481
482 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
483
484         * MenuBackend.C: using std::max
485
486 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
487
488         * MenuBackend.C (expandToc):
489         (expandToc2): code moved from xforms menu frontend. It is now
490         generic and TOCs are transparent to menu frontends.
491
492 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
493
494         * toc.C (getTocList): protect against buf=0
495
496         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
497         Menu as first parameter. Now, this calls itself recursively to
498         expand a whole tree (this will be useful for TOC handling)
499         (expandFloatInsert): remove 'wide' version of floats
500
501         * MenuBackend.h (submenuname): returns the name of the submenu.
502         (submenu): returns the submenu itself, provided it has been
503         created by MenuBackend::expand
504
505 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
506
507         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
508         insets which have noFontChange == true. (bug #172)
509
510 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
511
512         * BufferView_pimpl.C: add connection objects and use them...
513         (Pimpl): here.
514
515 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
516
517         * MenuBackend.C (expandLastfiles):
518         (expandDocuments):
519         (expandFormats):
520         (expandFloatListInsert):
521         (expandFloatInsert):
522         (expand): split expand in parts
523
524 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
525
526         * lyx_gui.C: use lyx_gui::exit()
527
528 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
529
530         * LyXAction.C: show the failing pseudo action
531
532 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
533
534         * buffer.C (readFile): Run the lyxconvert script in order to read
535         old files.
536
537 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
538
539         * LyXAction.C:
540         * commandtags.h:
541         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
542
543 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
544
545         * LyXAction.C:
546         * commandtags.h:
547         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
548
549 2002-07-22  Herbert Voss  <voss@lyx.org>
550
551         * lengthcommon.C:
552         * lyxlength.[Ch]: add support for the vertical lengths
553
554 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
555
556         * toc.[Ch]: std:: fixes
557
558 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
559
560         * lyxrc.C: do not include lyx_main.h
561
562         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
563         for layouts
564
565         * lyxrc.C:
566         * encoding.C:
567         * bufferlist.C:
568         * BufferView2.C: include "lyxlex.h"
569
570         * tabular.h:
571         * bufferparams.h: do not #include "lyxlex.h"
572
573         * lyxtextclasslist.C (Add): remove method
574         (classlist): renamed to classlist_
575
576         * paragraph_pimpl.C:
577         * paragraph.C:
578         * text2.C:
579         * CutAndPaste.C:
580         * bufferview_funcs.C:
581         * bufferlist.C:
582         * text.C:
583         * LaTeXFeatures.C:
584         * buffer.C:
585         * toc.C (getTocList): use BufferParams::getLyXTextClass
586
587         * toc.C (getTocList): use InsetFloat::addToToc
588
589         * toc.[Ch]: new files, containing helper functions to handle table
590         of contents
591
592         * lyxfunc.C (dispatch): no need to remove spaces around command
593         given as a string
594         (getStatus): handle LFUN_SEQUENCE by returning the status of the
595         first command of the sequence; it is not very clever, but I do not
596         have a better idea, actually
597
598         * LyXAction.C (LookupFunc): make sure to remove space at the
599         beginning and end of the command
600
601 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
602
603         * MenuBackend.C (getMenubar): new method: return the menubar of
604         this menu set
605         (read): treat differently reading of menu and menubar (in
606         particular, the menubar has no name now)
607         (Menu::menubar): remove
608
609         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
610         saving is finished
611
612 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
613
614         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
615         a bibitem inset in a RTL paragraph.
616
617 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
618
619         * paragraph_pimpl.C: constify
620
621         * BufferView_pimpl.C:
622         * LaTeX.C:
623         * lyxfunc.C: fix dispatch in a nicer way
624
625 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
626
627         * lyxfunc.C (dispatch):
628         * BufferView_pimpl.C:
629         * BufferView_pimpl.h:
630         * BufferView.C:
631         * BufferView.h: rename Dispatch() to dispatch()
632
633         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
634
635         * lyxlayout.C (Read): honor DependsOn tag
636
637         * lyxlayout.[Ch] (depends_on): new method
638
639         * version.C.in: update lyx_docversion
640
641         * LaTeXFeatures.C (getMacros): only define \LyX when needed
642
643         * paragraph.C (validate): remove from here...
644         * paragraph_pimpl.C (validate): ... and move here
645         (isTextAt): make it const
646
647         * buffer.C (getLists): ws cleanup
648
649 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
650
651         * language.C (read): Use iso8859-1 encoding in latex_lang
652         (this prevents LyX from crashing when using iso10646-1 encoding).
653
654 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
655
656         * text2.C (toggleInset): if cursor is inside an inset, close the
657         inset and leave cursor _after_ it
658
659 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
660
661         * lyxfunc.C: move minibuffer completion handling out of here
662
663 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
664
665         * BufferView_pimpl.C:
666         * LaTeX.C: fix dispatch calls
667
668 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
669
670         * text.C (drawChars): Fix Arabic text rendering.
671
672 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
673
674         * LyXAction.C:
675         * commandtags.h:
676         * lyxfunc.C: remove message-push/pop
677
678         * lyxserver.C:
679         * lyxfunc.h:
680         * lyxfunc.C: rationalise some code by removing verboseDispatch
681           in favour of a bool argument to dispatch()
682
683 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
684
685         * lyx_main.C (init): make sure to read symlinks as absolute paths
686
687 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
688
689         * lyxfunc.h:
690         * lyxfunc.C: no need for commandshortcut to be a member
691
692 2002-07-15  André Pönitz <poenitz@gmx.net>
693
694         * converter.C: add support for $$s (scripts from lib/scripts dir)
695         * lyx_main.C: white space
696
697
698 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
699
700         * bufferlist.C:
701         * lyxrc.h:
702         * lyxrc.C: remove second exit confirmation
703
704 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
705
706         * BufferView.h:
707         * BufferView.C:
708         * BufferView2.C:
709         * BufferView_pimpl.h:
710         * BufferView_pimpl.C:
711         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
712
713 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
714
715         * MenuBackend.C (expand): add numeric shortcuts to document menu
716
717         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
718
719 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
720
721         * lyxfont.C (setLyXFamily):
722         (setLyXSeries):
723         (setLyXShape):
724         (setLyXSize):
725         (setLyXMisc):
726         (lyxRead):
727         * debug.C (value):
728         * buffer.C (asciiParagraph): use ascii_lowercase
729
730 2002-07-15  Mike Fabian  <mfabian@suse.de>
731
732         * lyxlex_pimpl.C (search_kw):
733         * lyxlex.C (getLongString):
734         * converter.h (operator<):
735         * converter.C (operator<):
736         * buffer.C (parseSingleLyXformat2Token):
737         (asciiParagraph):
738         * ToolbarDefaults.C (read):
739         * MenuBackend.C (checkShortcuts):
740         (read):
741         * LColor.C (getFromGUIName):
742         (getFromLyXName): use the compare_ascii_no_case instead of
743         compare_no_case, because in turkish, 'i' is not the lowercase
744         version of 'I', and thus turkish locale breaks parsing of tags.
745
746 2002-07-16  Angus Leeming  <leeming@lyx.org>
747
748         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
749         now takes a Buffer const & argument.
750
751 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
752
753         * BufferView.C (resize): check there's a buffer to resize
754
755 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
756
757         * lyxfunc.C: remove dead code
758
759         * lyxserver.h:
760         * lyxserver.C: use lyx_guii::set_read_callback
761
762 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
763
764         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
765         an inset in a RTL paragraph.
766
767 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
768
769         * lyxfunc.C: repaint after a font size update
770
771 2002-07-15  André Pönitz <poenitz@gmx.net>
772
773         * lyxlength.C: inBP should be able to return negative values
774
775 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
776
777         * lyxfunc.C: use lyx_gui::update_fonts()
778
779 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
780
781         * lyxfunc.C: use lyx_gui::update_color()
782
783 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
784
785         * bufferlist.C:
786         * lyxfunc.h:
787         * lyxfunc.C:
788         * lyxrc.h:
789         * lyxrc.C: remove file->new asks for name option, and let
790           buffer-new take an argument
791
792 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
793
794         * BufferView_pimpl.C: remove unneeded extra repaint()
795
796 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
797
798         * LyXAction.C: allow command-sequence with NoBuffer
799
800         * lyxfunc.C: don't insist on trailing ';' for command-sequence
801
802 2002-07-10  Angus Leeming  <leeming@lyx.org>
803
804         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
805
806 2002-07-09  Angus Leeming  <leeming@lyx.org>
807
808         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
809
810 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
811
812         * lengthcommon.h: whitespace
813
814         * lyxfunc.C: update scrollbar after goto paragraph
815
816         * lyxtext.h: factor out page break drawing, and fix it so
817           page break/added space paints as selected nicely
818
819 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
820
821         * BufferView_pimpl.C: add FIXMEs, clean up a little
822
823 2002-07-09  André Pönitz <poenitz@gmx.net>
824
825         * lyxfont.[Ch]: support for wasy symbols
826
827 2002-07-08  André Pönitz <poenitz@gmx.net>
828
829         * BufferView_pimpl.C: apply John's patch for #93.
830
831 2002-07-05  Angus Leeming  <leeming@lyx.org>
832
833         * BufferView_pimpl.C (buffer): generate previews if desired.
834
835         * LColor.h: add "preview" to the color enum.
836
837         * LColor.C (LColor): add a corresponding entry to the items array.
838
839         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
840         with this buffer.
841
842 2002-07-05  Angus Leeming  <leeming@lyx.org>
843
844         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
845         The body of the code is now in the method that is passed an ostream &
846         rather than a file name.
847         Pass an additional only_preamble parameter, useful for the forthcoming
848         preview stuff.
849
850 2002-07-03  André Pönitz <poenitz@gmx.net>
851
852         * lyxfunc.C: simplify getStatus() a bit for math stuff
853
854 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
855
856         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
857
858 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
859
860         * text.C (changeRegionCase): do not change case of all the
861         document when region ends at paragraph end (bug #461)
862
863 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
864
865         * paragraph.C (startTeXParParams):
866         (endTeXParParams): add \protect when necessary
867
868 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
869
870         * BufferView_pimpl.C (workAreaExpose): remove warning
871
872 2002-06-27  Angus Leeming  <leeming@lyx.org>
873
874         * Makefile.am: add lyxlayout_ptr_fwd.h.
875
876 2002-06-26  André Pönitz <poenitz@gmx.net>
877
878         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
879
880 2002-06-25  Angus Leeming  <leeming@lyx.org>
881
882         * lyxfunc.C (dispatch): Comment out the call to
883         grfx::GCache::changeDisplay. The method no longer exists now that the
884         pixmap generation part of the graphics loader has been moved into
885         InsetGraphics.
886
887 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
888
889         * text2.C: layout as layout
890
891         * text.C: layout as layout
892
893         * tabular.C (OldFormatRead): layout as layout
894
895         * paragraph_pimpl.C (TeXDeeper): layout as layout
896         (realizeFont): layout as layout
897
898         * paragraph.C (writeFile): layout as layout
899         (validate): layout as layout
900         (getFont): layout as layout
901         (getLabelFont): layout as layout
902         (getLayoutFont): layout as layout
903         (breakParagraph): layout as layout
904         (stripLeadingSpaces): layout as layout
905         (getEndLabel): layout as layout
906         (getMaxDepthAfter): layout as layout
907         (applyLayout): layout as layout
908         (TeXOnePar): layout as layout
909         (simpleTeXOnePar): layout as layout
910         (TeXEnvironment): layout as layout
911         (layout): layout as layout
912         (layout): layout as layout
913
914         * lyxtextclass.C (compare_name): new functor to work with
915         shared_ptr, layout as layout
916         (Read): layout as layout
917         (hasLayout): layout as layout
918         (operator): layout as layout
919         (delete_layout): layout as layout
920         (defaultLayout): layout as layout
921
922         * lyxlayout_ptr_fwd.h: new file
923
924         * lyxlayout.C (Read): layout as layout
925
926         * lyx_cb.C (MenuInsertLabel): layout as layout
927
928         * bufferlist.C (newFile): layout as layout
929
930         * buffer.C (readLyXformat2): layout as layout
931         (parseSingleLyXformat2Token): layout as layout
932         (insertStringAsLines): layout as layout
933         (asciiParagraph): layout as layout
934         (latexParagraphs): layout as layout
935         (makeLinuxDocFile): layout as layout
936         (simpleLinuxDocOnePar): layout as layout
937         (makeDocBookFile): layout as layout
938         (simpleDocBookOnePar): layout as layout
939         (getLists): layout as layout
940
941         * LaTeXFeatures.C (getTClassPreamble): layout as layout
942
943         * CutAndPaste.C (cutSelection): layout as layout
944         (pasteSelection): layout as layout
945         (SwitchLayoutsBetweenClasses): layout as layout
946
947         * BufferView_pimpl.C (Dispatch): layout as layout
948         (smartQuote): layout as layout
949
950         * BufferView2.C (unlockInset): layout as layout
951
952 2002-06-24  André Pönitz <poenitz@gmx.net>
953
954         * lyxfunc.C: fix #487
955
956 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
957
958         * lyxrc.h:
959         * lyxrc.C:
960         * lyxfunc.C: remove display_shortcuts, show_banner
961
962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
963
964         * Buffer_pimpl.C: oops, update on resize
965
966 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
967
968         * buffer.C:
969         * converter.C:
970         * exporter.C:
971         * lyxfunc.C:
972         * BufferView.h:
973         * BufferView.C: use repaint()
974
975         * BufferView_pimpl.h:
976         * BufferView_pimpl.C: s/updateScreen()/repaint()/
977           as it's a clearer description. Remove superfluous
978           redraws.
979
980 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
981
982         * text.C: fix bug 488. Not ideal, but getting
983           getWord() to work properly for the insets that
984           matter is more difficult ...
985
986 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
987
988         * BufferView_pimpl.C:
989         * LyXAction.C:
990         * commandtags.h:
991         * lyxfunc.C: remove the six million index lyxfuncs to just
992           one, and DTRT (bug 458)
993
994 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
995
996         * BufferView.h:
997         * BufferView.C:
998         * BufferView_pimpl.h:
999         * BufferView_pimpl.C: clean up resize() stuff,
1000           and unnecessary updateScreen()s
1001
1002 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
1003
1004         * BufferView.h:
1005         * BufferView.C:
1006         * BufferView_pimpl.h:
1007         * BufferView_pimpl.C:
1008         * lyxfind.h:
1009         * lyxfind.C:
1010         * minibuffer.C: remove focus management of workarea,
1011           not needed. Use screen's greyOut()
1012
1013 2002-06-17  Herbert Voss  <voss@lyx.org>
1014
1015         * converter.C: (convert) do not post a message, when converting
1016         fails, let the calling function decide what to do in this case
1017
1018 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
1019
1020         * lyxfunc.C: tidy up a little
1021
1022 2002-06-16    <alstrup@diku.dk>
1023
1024         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1025         Got rid of FORMS_H_LOCATION include. Now we are
1026         GUII.
1027
1028 2002-06-15  LyX Development team  <lyx@rilke>
1029
1030         * buffer.[Ch] (sgmlOpenTag):
1031         (sgmlCloseTag): Added support for avoiding pernicious mixed
1032         content. Return number of lines written.
1033
1034         (makeLinuxDocFile):
1035         (makeDocBookFile): Fixed calls to sgml*Tag.
1036         Simple white space clean.
1037
1038         (simpleDocBookOnePar): Simple white space clean.
1039
1040         * tabular.[Ch] (docBook): Renamed to docbook and got another
1041         argument to related with the pernicious mixed content.
1042
1043         (docbookRow): Fixed calls for docbook inset method.
1044
1045 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
1046
1047         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1048         so it's X11 independent.
1049
1050         * kb*.[Ch]: ditto.
1051
1052         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1053
1054 2002-06-15  Lyx Development team  <lyx@electronia>
1055
1056         * intl.h: Renamed getTrans to getTransManager.
1057
1058 2002-06-14  Angus Leeming  <leeming@lyx.org>
1059
1060         * Makefile.am: nuke forgotten stl_string_fwd.h.
1061
1062 2002-06-12  Angus Leeming  <leeming@lyx.org>
1063
1064         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1065
1066 2002-06-13  Angus Leeming  <leeming@lyx.org>
1067
1068         * LaTeX.C:
1069         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1070
1071 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
1072
1073         * kbmap.C (getiso): add support for cyrillic and greek
1074
1075 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1076
1077         * BufferView.h:
1078         * BufferView.C:
1079         * BufferView_pimpl.h:
1080         * BufferView_pimpl.C: move bogus scrolling logic
1081           to xforms
1082
1083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1084
1085         * lyxfunc.C:
1086         * BufferView_pimpl.C: view->resize() change
1087
1088 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1089
1090         * BufferView_pimpl.C: topCursorVisible
1091           prototype change
1092
1093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1094
1095         * Makefile.am:
1096         * lyx_gui.h:
1097         * lyx_gui.C: move to frontends/
1098
1099         * main.C:
1100         * lyx_main.h:
1101         * lyx_main.C: changes from above
1102
1103 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1104
1105         * intl.C:
1106         * intl.h:
1107         * kbmap.C:
1108         * kbsequence.C:
1109         * lyx_cb.C:
1110         * lyx_main.C: minor tidy
1111
1112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1113
1114         * BufferView_pimpl.h:
1115         * BufferView_pimpl.C:
1116         * BufferView.h:
1117         * BufferView.C: make painter() const,
1118           remove dead code
1119
1120         * BufferView2.C: use screen() accessor
1121
1122         * lyx_main.h:
1123         * lyx_main.C: some minor cleanup
1124
1125 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1126
1127         * BufferView_pimpl.h:
1128         * BufferView_pimpl.C: remove enter/leaveView,
1129           use workHeight()
1130
1131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1132
1133         * BufferView.h:
1134         * BufferView.C:
1135         * BufferView2.C:
1136         * BufferView_pimpl.h:
1137         * BufferView_pimpl.C: only construct screen once,
1138           rename
1139
1140         * lyxrc.C: remove pointless comment
1141
1142 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
1143
1144         * BufferView.h:
1145         * BufferView.C: remove active() and belowMouse()
1146
1147         * BufferView_pimpl.h:
1148         * BufferView_pimpl.C: use workarea() not workarea_,
1149           and make it use a scoped_ptr instead
1150
1151 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
1152
1153         * lyx_gui.C: add debug message on BadWindow
1154
1155 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1156
1157         * sp_spell.C: fdopen is not part of the C++ standard.
1158
1159         * paragraph.C (InsetIterator): use >= instead of ==
1160
1161 2002-06-07  Angus Leeming  <leeming@lyx.org>
1162
1163         Fixes needed to compile with Compaq cxx 6.5.
1164         * BufferView_pimpl.C:
1165         * DepTable.C:
1166         * buffer.C:
1167         * converter.C:
1168         * encoding.C:
1169         * lyx_gui.C:
1170         * lyx_main.C:
1171         * lyxtextclasslist.C:
1172         * minibuffer.C:
1173         * sp_spell.C:
1174         * tabular_funcs.C:
1175         * vc-backend.C:
1176         all c-library variables have been moved into namespace std. Wrap
1177         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1178
1179         * lyxlength.C:
1180         * tabular-old.C:
1181         * tabular.C:
1182         Add a using std::abs declaration.
1183
1184         * kbmap.h (modifier_pair):
1185         * paragraph.h (InsetTable, InsetList):
1186         * lyxfont.h (FontBits):
1187         type definition made public.
1188
1189         * bufferlist.C (emergencyWriteAll): the compiler complains that
1190         there is more than one possible lyx::class_fun template to choose from.
1191         I re-named the void specialisation as lyx::void_class_fun.
1192
1193         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1194
1195         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1196         the compiler is is unable to find tostr in write_attribute.
1197
1198 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1199
1200         * buffer.C (sgmlError): hide #warning
1201
1202 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1203
1204         * xtl/*: get rid of xtl, which is not in use anyway
1205
1206         * LyXAction.C (init):
1207         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1208         were unimplemented xtl experimentation
1209
1210 2002-06-04  André Pönitz <poenitz@gmx.net>
1211
1212         * lyxfunc.C: disable array operation on simple formulae
1213
1214 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
1215
1216         * converter.C: constify a bit
1217
1218 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
1219
1220         * lyx_gui.C: check xforms version correctly
1221
1222 2002-04-30  Herbert Voss  <voss@lyx.org>
1223
1224         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1225         "keep" option
1226
1227 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
1228
1229         * lyxvc.C: fix bug 416 (make sure buffer is saved before
1230           attempt to register it with a VCS)
1231
1232 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1233
1234         * lyx_main.C (init): honor variables LYX_DIR_13x and
1235         LYX_USERDIR_13x
1236
1237 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1238
1239         * buffer.h:
1240         * buffer.C:
1241         * lyx_main.C: fix a crash on bad command line,
1242           and give a useful exit status on error
1243
1244         * lyxfunc.C (doImport): allow -i lyx to work
1245
1246 2002-03-30  André Pönitz <poenitz@gmx.net>
1247
1248         * lyxfunc.C: mathed font changes
1249
1250 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1251
1252         * LaTeX.C:
1253         * importer.h:
1254         * importer.C:
1255         * lyx_sty.h:
1256         * lyx_sty.C:
1257         * lyxlex.C:
1258         * lyxrow.h:
1259         * lyxtext.h:
1260         * paragraph.h:
1261         * paragraph.C:
1262         * texrow.h:
1263         * texrow.C:
1264         * text.C:
1265         * trans_mgr.h: srcdocs, and some minor cleanups
1266
1267 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1268
1269         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
1270         call getFont all the time)
1271
1272 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1273
1274         * switch from SigC signals to boost::signals
1275
1276 2002-05-29  André Pönitz <poenitz@gmx.net>
1277
1278         * paragraph_pimpl.C (getChar): don't call size() too often...
1279
1280 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1281
1282         * paragraph_pimpl.C (insertChar): do not try to update tables when
1283         appending (pos == size())
1284
1285         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
1286         in order to reduce drastically the number of comparisons needed to
1287         parse a large document
1288
1289 2002-05-29  André Pönitz <poenitz@gmx.net>
1290
1291         * text.C:
1292         * text2.C:
1293         * lyxtextclass.C:
1294         * sp_pspell.h:
1295         * textclasslist.[Ch]:
1296         * sp_ispell.h: whitespace change
1297
1298 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1299
1300         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
1301         lyxaction directly now.
1302
1303 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
1304
1305         * trans.C:
1306         * lyxfont.C:
1307         * lyxvc.C: remove unused headers
1308
1309 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1310
1311         * Makefile.am:
1312         * buffer.h:
1313         * undostack.h:
1314         * undostack.C:
1315         * undo_funcs.h:
1316         * undo_funcs.C: some cleanups. Use shared_ptr
1317           and a template for the undo stacks.
1318
1319 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1320
1321         * BufferView_pimpl.h:
1322         * BufferView_pimpl.C:
1323         * kbmap.h:
1324         * kbmap.C:
1325         * kbsequence.h:
1326         * kbsequence.C:
1327         * lyxfunc.h:
1328         * lyxfunc.C:
1329         * text2.C: use key_state/mouse_state
1330
1331 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1332
1333         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
1334         and LSubstring
1335
1336         * chset.C: change include order
1337         (loadFile): use boost regex and get rid of LRegex and LSubstring
1338
1339         * Makefile.am (BOOST_LIBS): new variable
1340         (lyx_LDADD): use it
1341
1342         * LaTeX.C: change include order.
1343         (scanAuxFile): use boost regex and get rid of LRegex and
1344         LSubstring
1345         (deplog): ditto
1346
1347 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1348
1349         * ColorHandler.h:
1350         * ColorHandler.C:
1351         * FontInfo.h:
1352         * FontInfo.C: moved to frontends/xforms/
1353
1354         * FontLoader.h:
1355         * FontLoader.C: moved into frontends for GUIIzation
1356
1357         * Makefile.am:
1358         * lyx_gui.C:
1359         * lyxfont.C:
1360         * lyxfunc.C: changes from above
1361
1362 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1363
1364         * LColor.C: remove spurious X include
1365
1366         * BufferView_pimpl.C:
1367         * Makefile.am:
1368         * font.h:
1369         * font.C:
1370         * text.C:
1371         * text2.C: move font metrics to frontends/
1372
1373 2002-05-24  Juergen Vigna  <jug@sad.it>
1374
1375         * undo_funcs.C (textHandleUndo): fix the cursor selection after
1376         setting the undo_cursor.
1377
1378         * ParagraphParameters.h: include local includes first.
1379
1380 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1381
1382         * BufferView_pimpl.C:
1383         * BufferView_pimpl.h:
1384         * Makefile.am:
1385         * WorkArea.h:
1386         * WorkArea.C:
1387         * screen.C: move WorkArea into frontends/
1388
1389         * lyxscreen.h:
1390         * screen.C:
1391         * text.C:
1392         * BufferView.C:
1393         * BufferView2.C: move LyXScreen into frontends/
1394
1395         * lyxlookup.h:
1396         * lyxlookup.C:
1397         * lyx_gui.C: move lyxlookup into frontends/xforms/
1398
1399 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1400
1401         * BufferView2.C:
1402         * BufferView_pimpl.C:
1403         * FontLoader.C:
1404         * LyXView.h:
1405         * LyXView.C:
1406         * Makefile.am:
1407         * WorkArea.C:
1408         * XFormsView.h:
1409         * XFormsView.C:
1410         * buffer.C:
1411         * bufferlist.C:
1412         * bufferview_funcs.C:
1413         * converter.C:
1414         * importer.C:
1415         * lyx_cb.C:
1416         * lyx_gui.C:
1417         * lyx_main.C:
1418         * lyx_find.C:
1419         * lyxfunc.C:
1420         * lyxvc.C:
1421         * minibuffer.C:
1422         * text.C:
1423         * text2.C:
1424         * trans.C:
1425         * vc-backend.C: move LyX/XFormsView into frontends/
1426
1427 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1428
1429         * Makefile.am:
1430         * PainterBase.C:
1431         * PainterBase.h:
1432         * Painter.C:
1433         * Painter.h:
1434         * WorkArea.C:
1435         * WorkArea.h:
1436         * screen.C:
1437         * tabular.C:
1438         * text.C:
1439         * text2.C: move Painter to frontends/
1440
1441 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1442
1443         * buffer.C: comment out some some code that depend upon lyx_format
1444         < 220
1445
1446         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
1447         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
1448
1449         * buffer.h (NO_COMPABILITY): turn off compability
1450
1451         * ColorHandler.C: include scoped_array.hpp
1452
1453         * font.C: Use more specific smart_ptr header.
1454         * Painter.C: ditto
1455         * gettext.C: ditto
1456         * ShareContainer.h: ditto
1457         * lyx_main.h: ditto
1458         * kbmap.h: ditto
1459         * FontInfo.h: ditto
1460         * BufferView_pimpl.h: ditto
1461         * ColorHandler.h: ditto
1462
1463         * kbmap.C (defkey): change call to shared_ptr::reset
1464
1465 2002-05-21  Juergen Vigna  <jug@sad.it>
1466
1467         * buffer.C (insertErtContents): fix to insert ert asis if it is
1468         non empty. Skip it completely if it contains only whitespaces.
1469
1470 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
1471
1472         * BufferView_pimpl.C:
1473         * BufferView2.C: clear selection on paste (bug 393)
1474
1475 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1476
1477         * DepTable.C: include ctime
1478
1479 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
1480
1481         * buffer.C (latexParagraphs): Add new argument (moving_arg).
1482
1483 2002-05-14  Juergen Vigna  <jug@sad.it>
1484
1485         * text.C (breakParagraph): fixed function to honor the keepempty
1486         layout in the right maner and also to permit the right breaking
1487         algorithm on empty or non empyt keepempty paragraphs.
1488
1489         * paragraph.C (breakParagraph): we have to check also if the par
1490         is really empty (!size()) for isempty otherwise we do the wrong
1491         paragraph break.
1492
1493 2002-05-10  Juergen Vigna  <jug@sad.it>
1494
1495         * buffer.[Ch] : The following are only changes to the ert
1496         compatibility read reading old LaTeX layout and font stuff and
1497         convert it to ERTInsets.
1498
1499         * buffer.h: added isErtInset().
1500
1501         * buffer.C (struct ErtComp): add a fromlayout bool to check
1502         if we're inside a LaTeX layout.
1503         (isErtInset): new helper function.
1504         (insertErtContents): look for other ert insets before this one
1505         and insert the contents there, so that we don't have subsequent
1506         ERT insets with nothing between them. This way we create only one
1507         inset with multiple paragraphs. Also check if we don't insert only
1508         spaces ' ' as they are ignored anyway afterwards in the .tex file
1509         so if we have only spaces we will ignore this latex part in the
1510         new file.
1511         (parseSingleLyXformat2Token \\layout): better compatibility when
1512         reading layout-latex stuff.
1513         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
1514         language tag.
1515         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
1516         stuff after reading the inset only get the information back from
1517         the stack.
1518
1519 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
1520
1521         * buffer.C (makeLaTeXFile): Put language options after loading babel.
1522
1523         * LaTeXFeatures.C (getBabelOptions): New method.
1524
1525 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1526
1527         * BufferView_pimpl.C (Dispatch): work around missing argument for
1528         'layout'
1529
1530 2002-05-08  Juergen Vigna  <jug@sad.it>
1531
1532         * text.C (leftMargin): handle paragraph leftindent.
1533
1534         * paragraph.C (writeFile): write the new \\leftindent tag.
1535         (validate): handle leftindent code.
1536         (TeXEnvironment): handle paragraphleftindent code again.
1537
1538         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
1539
1540         * buffer.C (parseSingleLyXformat2Token): added compatibility code
1541         for paragrap_extra indent code and new token \\leftindent.
1542         (latexParagraphs): handle the leftindent as environment.
1543
1544         * ParameterStruct.h: added leftindent support.
1545
1546         * ParagraphParameters.C (leftIndent): added support functions for
1547         the paragraph left indent.
1548
1549         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
1550         more appropriate.
1551
1552 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
1553
1554         * paragraph.C (isRightToLeftPar): Return false for a paragraph
1555         inside insetERT.
1556
1557         * text.C (computeBidiTables): No bidi in insetERT.
1558
1559         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
1560         in RTL documents.
1561
1562 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1563
1564         * version.C.in: pre 5
1565
1566 2002-05-02  José Matos  <jamatos@fep.up.pt>
1567         * buffer.C (makeDocBookFile): white space changes, add newline to
1568         command styles.
1569         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
1570
1571         * tabular.C (docBook): fix typo.
1572
1573 2002-05-03  Juergen Vigna  <jug@sad.it>
1574
1575         * screen.C (drawFromTo): recalculate the rowpointer if we had a
1576         change in LyXText as we can not be sure it was not freed.
1577         (drawOneRow): remove unused code.
1578
1579         * text.C (drawInset): redo the calculation of the need_break_row as
1580         it could have a row which was already freed.
1581         (draw): look at the return value of drawInset and return false if
1582         it also returned false.
1583         (paintRowText): look at the return value of draw and return false if
1584         it also returned false.
1585
1586         * lyxtext.h: added bool return type to drawInset() and draw() so that
1587         if we have a change in the row so that the rowbreak has to be redone
1588         we abort drawing as it will be called again.
1589
1590 2002-05-02  Juergen Vigna  <jug@sad.it>
1591
1592         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
1593         a change in the maintext also if we're inside an inset.
1594         (Dispatch): set the cursor again after a break line and after the
1595         screen has been updated as it could be we're in a different row.
1596
1597         * text2.C (fixCursorAfterDelete): check to make sure we don't request
1598         to set the cursor behind the pargraph with > size().
1599         (setCursor): check also for the same paragraph when checking where
1600         to put the cursor if we have a NFR inset.
1601
1602         * buffer.C (parseSingleLyXformat2Token): move the compatibility
1603         parts of layout read further up as it still was in the wrong
1604         position.
1605
1606 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1607
1608         * screen.C (drawFromTo): change sine fullRebreak always return
1609         true.
1610
1611         * buffer.C (parseSingleLyXformat2Token): reindent some
1612
1613         * BufferView_pimpl.C (update): change since fullRebreak always
1614         return true.
1615         (Dispatch): git rid of the last hardcoded "Standard"s.
1616
1617 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1618
1619         * text2.[Ch] (fullRebreak): make it return void now that we always
1620         returned true.
1621
1622 2002-04-30  Juergen Vigna  <jug@sad.it>
1623
1624         * buffer.C (parseSingleLyXformat2Token): reset the font before the
1625         ert compatibility check for "latex" layout.
1626
1627 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
1628
1629         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
1630         minipages: use col% instead of p%, and also use the current font.
1631         (makeLaTeXFile): Fix use babel condition.
1632         (parseSingleLyXformat2Token): Correct font when reading old floats.
1633
1634 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
1635
1636         * BufferView_pimpl.C (Dispatch): Check that float type exists when
1637         inserting list of floats.
1638
1639 2002-04-25  Herbert Voss  <voss@lyx.org>
1640
1641         * MenuBackend.C (expand): don't add the graphics extensions to the
1642         export menu
1643
1644 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1645
1646         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
1647         non-existing layout, do not complain if it was the default layout
1648         of the original class (bug #342)
1649
1650 2002-04-24  Juergen Vigna  <jug@sad.it>
1651
1652         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
1653         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
1654
1655 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
1656
1657         * buffer.C (getBibkeyList): If using \bibliography, return the
1658         option field with the reference itself. Enables us to provide natbib
1659         support when using \bibliography.
1660
1661 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
1662
1663         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
1664
1665         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
1666         natbib is provided by the LaTeX class.
1667
1668 2002-04-23  Juergen Vigna  <jug@sad.it>
1669
1670         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
1671         Wakeup functions.
1672
1673         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
1674
1675 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1676
1677         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
1678
1679         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
1680         ensuremath around textordmasculine, textordfeminine and
1681         textdegree.
1682
1683 2002-04-19  Juergen Vigna  <jug@sad.it>
1684
1685         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
1686         reinitializing the buffer otherwise row-dimensions may be wrong.
1687         (update): reset also the selection cursors if they do exits otherwise
1688         their x/y positions may be wrong.
1689
1690         * text2.C (cursorDown): don't enter the inset if we came from a row
1691         above and are one row over the inset.
1692
1693         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
1694         really leaving an inset.
1695
1696 2002-04-18  Juergen Vigna  <jug@sad.it>
1697
1698         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
1699         of the selected paragraph does not have the selected layout also if
1700         the last one had!
1701
1702         * text2.C (setLayout): fixed bug which did not change last selected
1703         paragraph.
1704
1705         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
1706         changed the read and substituted \\end_float with \\end_inset!
1707
1708         * BufferView_pimpl.C (cursorPrevious):
1709         (cursorNext): fixed to make it work with rows heigher than the work
1710         area without moving the cursor only the draw of the row.
1711         (workAreaMotionNotify): fix jumping over high rows.
1712
1713 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1714
1715         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
1716         Ressler.
1717
1718 2002-04-16  Juergen Vigna  <jug@sad.it>
1719
1720         * text2.C (setCursor): set also the irow().
1721         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
1722         (cursorUp):
1723         (cursorDown): support for locking an inset if the x_fix value goes
1724         inside it. That way I can transverse insets too with cursor up/down.
1725
1726         * lyxrow.h: added irow helper function same as other (i) functions.
1727
1728         * BufferView_pimpl.C (cursorPrevious):
1729         (cursorNext): fixed for insets!
1730
1731 2002-04-15  Juergen Vigna  <jug@sad.it>
1732
1733         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
1734         position otherwise it is wrong in some cases.
1735
1736         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
1737         inside the inset before the call.
1738
1739 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1740
1741         * buffer.[Ch] (getBibkeyList): make it const.
1742
1743 2002-04-12  Juergen Vigna  <jug@sad.it>
1744
1745         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
1746
1747         * text2.C (getCursorX): new helper function
1748         (setCursor): compute also ix_
1749         (setCursorFromCoordinates): set also ix.
1750
1751         * lyxcursor.h: added ix_ and helper functions.
1752
1753         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
1754
1755         * buffer.C (insertStringAsLines): dont break paragraph if the this
1756         paragraph is inside an inset which does not permit it!
1757
1758         * text.C (breakParagraph): honor keepempty flag and break the paragraph
1759         also with no chars on this paragraph.
1760         (paintRowText): only paint stuff if it's inside the workarea!
1761
1762         * paragraph.C (breakParagraph): honor keepempty flag and break the
1763         paragraph always below not above.
1764
1765         * BufferView2.C (unlockInset): update the paragraph layout on inset
1766         unlock as we changed paragraph in such a case.
1767
1768         * lyxfind.C (LyXFind): clear the former selection if not found!
1769
1770         * text2.C (insertInset): freeze Undo after setUndo so that it is not
1771         again called in insertChar().
1772
1773         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
1774         an inset which uses the whole row!
1775         (rightMargin): ditto.
1776         (insertChar): force a rebreak if we inserted an inset!
1777
1778 2002-03-28  Herbert Voss  <voss@lyx.org>
1779
1780         * lyxlength.[Ch]: add inBP() to get the right PS-point
1781         units (BigPoint). With inPixels we have rounding errors
1782
1783 2002-04-11  Juergen Vigna  <jug@sad.it>
1784
1785         * text2.C (setCursorFromCoordinates): set iy to the right value.
1786         (setCursor): add check if row->previous exists!
1787
1788         * buffer.C (parseSingleLyXformat2Token): reset font after read of
1789         an old float_type as this was the case in the old code!
1790
1791         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
1792
1793         * BufferView2.C (showLockedInsetCursor): use iy
1794         (fitLockedInsetCursor): ditto
1795
1796         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
1797         locked insets as there we have the right value now.
1798
1799         * lyxcursor.C: added iy_ variable and iy functions to set to the
1800         baseline of cursor-y of the locked inset.
1801
1802         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
1803         (setCursor): fixed for insets which need a full row.
1804
1805         * text.C (rowLastPrintable): don't ignore the last space when before
1806         an inset which needs a full row.
1807         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
1808         as last character of a row when before a inset which needs a full row.
1809
1810 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1811
1812         * version.C.in: update date
1813
1814         * text2.C (fullRebreak): try to always return true and see what
1815         happens...
1816
1817 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1818
1819         * MenuBackend.C (expand): use Floating::listName
1820
1821         * FloatList.C (FloatList): add listName argument to the built-in
1822         floats
1823
1824         * Floating.[Ch]: add listName member, which is the 'List of XXX'
1825         text associated with the float.
1826
1827 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1828
1829         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
1830
1831 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1832
1833         * ShareContainer.h: add a couple of missing typenames.
1834
1835 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
1836
1837         * lyxrc.C (getDescription): use _() correctly rather than N_().
1838
1839 2002-03-28  Herbert Voss  <voss@lyx.org>
1840
1841         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
1842         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
1843
1844 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1845
1846         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
1847         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
1848
1849 2002-03-29  Juergen Vigna  <jug@sad.it>
1850
1851         * lyxfunc.C (dispatch): add a missing fitCursor call.
1852
1853         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
1854         it was scrolled by a cursor move, so return the bool status.
1855
1856         * BufferView.C (fitCursor): return the bool flag also to the outside
1857         world as this is needed.
1858
1859         * screen.C (toggleToggle): don't subtract the offset if it's positive.
1860
1861         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
1862         call the edit() as it is not needed (and wrong) IMO.
1863         (workAreaButtonPress): set the screen_first variable before evt.
1864         unlock the inset as this may change screen_first and then we have
1865         a wrong y position for the click!
1866
1867 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1868
1869         * MenuBackend.C (expand): another translation that I missed
1870
1871 2002-03-28  Juergen Vigna  <jug@sad.it>
1872
1873         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
1874
1875         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
1876
1877 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1878
1879         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
1880
1881         * MenuBackend.C (expand): fix export/view/update when there is no
1882         document open.
1883
1884 2002-03-27  Herbert Voss  <voss@lyx.org>
1885
1886         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
1887         and text%
1888
1889 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1890
1891         * bufferview_funcs.C (currentState): only show paragraph number
1892         for is DEVEL_VERSION is set.
1893
1894         * lyxfunc.C (dispatch): put warning in INFO channel
1895
1896         * MenuBackend.C (expand): translate the name of floats
1897
1898         * FloatList.C (FloatList): mark the float names for translation
1899
1900         * converter.C (convert): use LibScriptSearch
1901
1902 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1903
1904         * MenuBackend.C (defaults): fix default menu (we might as well get
1905         rid of it...)
1906
1907 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1908
1909         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
1910         directory.
1911
1912 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1913
1914         * lyxvc.C: reorder includes.
1915
1916 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
1917
1918         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
1919           properly
1920
1921 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
1922
1923         * CutAndPaste.C: change layouts earlier on paste
1924           to avoid crashing when calling getFont()
1925
1926 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
1927
1928         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
1929         irritating #error.
1930
1931 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1932
1933         * WorkArea.C: remove 'Pending' debug message.
1934
1935         * most files: ws cleanup
1936
1937         * buffer.[Ch]: ws changes
1938
1939         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
1940
1941 2002-03-21  Juergen Vigna  <jug@sad.it>
1942
1943         * tabular.C (SetMultiColumn): collapse also the contents of the
1944         cells and set the last border right. Added a Buffer const * param.
1945
1946 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1947
1948         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
1949         linking or not.
1950
1951 2002-03-19  Juergen Vigna  <jug@sad.it>
1952
1953         * text2.C (clearSelection): reset also xsel_cache.
1954
1955         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
1956         where it needs to be called (John tells us to do so too :)
1957         (selectionLost): reset sel_cache.
1958
1959         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
1960
1961 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1962
1963         * text2.C (setCursorIntern): put debuging code in INSETS channel
1964
1965 2002-03-19  André Pönitz <poenitz@gmx.net>
1966
1967         * lyxfunc.C: tiny whitespace change
1968
1969 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1970
1971         * ToolbarDefaults.C (init):
1972         * LyXAction.C (init):
1973         * commandtags.h:
1974         * BufferView_pimpl.C (Dispatch):
1975         * lyxfunc.C (dispatch): remove LFUN_DEPTH
1976
1977 2002-03-19  Allan Rae  <rae@lyx.org>
1978
1979         * exporter.C (Export): removeAutoInsets before doing anything else.
1980         While I've just introduced a dependency on BufferView this really is
1981         the best place to clean the buffer otherwise you need to cleanup in
1982         a dozen places before calling export or cleanup in a dozen functions
1983         that export calls.
1984
1985         * converter.C (runLaTeX):
1986         (scanLog): Better handling of removeAutoInsets and screen updates.
1987
1988         * lyxfunc.C (dispatch): small whitespace changes
1989
1990 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1991
1992         * WorkArea.C (C_WorkAreaEvent): return a value.
1993         (event_cb): return 1 if we handled the event, 0 otherwise.
1994
1995         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
1996
1997 2002-03-18  Juergen Vigna  <jug@sad.it>
1998
1999         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2000         (GetAdditionalWidth): ditto.
2001         (RightLine): ditto.
2002         (LeftLine): ditto.
2003
2004         * BufferView2.C (copy): use getLyXText() so that we do it inside an
2005         inset if we're there actually (probably not used right now but this
2006         is the direction to go for unifying code).
2007         (paste): disable code to clear the selection.
2008
2009         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2010         inside an InsetText and move the check further up as it is in the
2011         wrong place.
2012
2013         * text2.C (pasteSelection): set a selection over the pasted text.
2014
2015 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
2016
2017         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2018         and libgraphics to build on Cygwin.
2019
2020 2002-03-15  Juergen Vigna  <jug@sad.it>
2021
2022         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2023         inserting an Inset into the paragraph. I know this is not the best
2024         fix but we already use current_view in CutAndPaste so we will remove
2025         all of it's using at the same time.
2026
2027         * buffer.C (sgmlError): deactivated function till it is rewritten in
2028         the right mode, now it can create problems.
2029
2030         * paragraph.C (isLineSeparator): check if getInset returns != 0,
2031         before accessing it.
2032
2033 2002-03-14  Juergen Vigna  <jug@sad.it>
2034
2035         * undo_funcs.C (textHandleUndo): do the right thing when updating
2036         the inset after the undo/redo.
2037
2038         * text2.C (setCursor): just some testcode for #44 not ready yet.
2039
2040         * undo_funcs.C (textHandleUndo): set the next() and previous()
2041         pointers of the paragraph to 0 before deleting otherwise we have
2042         problems with the Paragraph::[destructor].
2043
2044         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2045         on a paragraph insertion.
2046
2047 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2048
2049         * buffer.C (asciiParagraph): use += operator for char append to
2050         string.
2051
2052         * paragraph.C (getFontSettings): compare >= not just >
2053         (highestFontInRange): ditto
2054         (setFont): ditto
2055
2056 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2057
2058         * paragraph.C: change several algorithm to be more appripriate for
2059         the problem domain. This is lookip in FontList and in the InsetList.
2060
2061 2002-03-13  André Pönitz <poenitz@gmx.net>
2062
2063         * commandtags.h:
2064         * LyXAction.C: remove unused LFUN_MATH_MACROARG
2065
2066 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
2067
2068         * commandtags.h:
2069         * LyXAction.C:
2070         * lyxfunc.C:
2071         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2072
2073 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2074
2075         * Painter.C (display): anon helper function, adjust code for this
2076         change.
2077         (pixmap): remove function.
2078
2079         * Painter.h: remove private display variable.
2080
2081         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2082
2083 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
2084
2085         * WorkArea.[Ch]: remove figinset_canvas cruft.
2086
2087 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2088
2089         * lyxtextclass.C (operator): add one item cache optimization.
2090
2091         * bufferlist.h: doxy changes
2092
2093         * bufferlist.C: ws changes
2094
2095         * DepTable.[Ch] (ext_exist): place const in the right spot.
2096
2097         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2098         call resizeInsets.
2099         (workAreaExpose): call resizeInsets when the with BufferView changes.
2100         (Dispatch): adjust for protectedBlank removal
2101         (specialChar): call updateInset if the insert went ok.
2102
2103         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2104         specialChar instead.
2105
2106         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2107
2108         * BufferView.h: doxy change
2109
2110         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2111
2112         * lyxtextclass.C (operator[]): remove non-const version
2113         (defaultLayout): remove non-const version
2114
2115 2002-03-12  Juergen Vigna  <jug@sad.it>
2116
2117         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2118         did resize the LyXText too.
2119
2120         * buffer.C (readLyXformat2): set layout information on newly allocated
2121         paragraphs.
2122
2123         * tabular.C (OldFormatRead): set layout information on the paragraph.
2124
2125 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2126
2127         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2128
2129 2002-03-11  Juergen Vigna  <jug@sad.it>
2130
2131         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2132         plainly wrong.
2133         (resizeCurrentBuffer): force also the insets to resize themselfes.
2134         (moveCursorUpdate): fixed up for InsetText.
2135
2136 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
2137
2138         * commandtags.h:
2139         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2140         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2141         value of Dialogs::tooltipsEnabled().
2142         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2143
2144 2002-03-08  Juergen Vigna  <jug@sad.it>
2145
2146         * BufferView_pimpl.C (updateInset): update inset inside inset also
2147         if it isn't inside theLockingInset().
2148
2149 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2150
2151         * buffer.C (asciiParagraph): redo some of the word and line length
2152         handling.
2153         (getLists): look for Caption instead of caption.
2154
2155 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2156
2157         * buffer.C (Buffer): initialize niceFile to true
2158         (makeLaTeXFile):
2159         (makeLinuxDocFile):
2160         (makeDocBookFile): make sure niceFile is true on exit
2161
2162 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2163
2164         * buffer.C (makeLaTeXFile): escape ~ in \input@path
2165
2166 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
2167
2168         * LyXSendto.C: remove.
2169         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2170         * lyx_gui.C: remove now-redundant comment.
2171         * ColorHandler.h: remove forward declaration of class WorkArea.
2172         * lyxfunc.C: remove #include "WorkArea.h".
2173
2174 2002-03-07  Juergen Vigna  <jug@sad.it>
2175
2176         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2177         got moved away with the DEPM and also set the inset_owner always
2178         right which before could have been omitted.
2179
2180 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2181
2182         * buffer.C (parseSingleLyXformat2Token): use default layout is the
2183         wanted layout is not found.
2184
2185 2002-03-07  Juergen Vigna  <jug@sad.it>
2186
2187         * CutAndPaste.C (cutSelection): another layout settings forgotten.
2188
2189 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2190
2191         * paragraph.C (breakParagraph): use default layout not layout of
2192         prev paragraph.
2193         (Paragraph): clear ParagraphParameters.
2194
2195 2002-03-06  Juergen Vigna  <jug@sad.it>
2196
2197         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2198         otherwise it would not be a valid lenght. Fixed a special case in
2199         the minipage compatibility read where we end the document with a
2200         minipage.
2201
2202         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2203         was set as it could be 0 for InsetTexts first entry.
2204
2205 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2206
2207         * paragraph.C (writeFile): if layout is empty write out
2208         defaultLayoutName().
2209
2210         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2211         file without named layout we set layout to defaultLayoutName().
2212
2213 2002-03-06  Juergen Vigna  <jug@sad.it>
2214
2215         * CutAndPaste.C (copySelection): set layout for new paragraph.
2216
2217         * text.C (prepareToPrint): leave ERT inset left aligned
2218         (leftMargin): don't indent paragraphs inside ERT insets
2219
2220 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2221
2222         * paragraph.C (breakParagraph): dont call clear do the work manually
2223
2224         * paragraph.[Ch] (clear): remove function
2225
2226 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2227
2228         * paragraph.C (Paragraph): dont call clear, the work has already
2229         been done.
2230
2231         * lyxtextclass.C (operator): assert if n is empty
2232
2233         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2234         work manually instead.
2235
2236 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
2237
2238         * BufferView_pimpl.C: protect selectionLost against text == 0
2239
2240 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2241
2242         * text.C (breakParagraph): fix a setting layout to '0' problem.
2243
2244 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2245
2246         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
2247         final location of file, for the included files, and graphics.
2248
2249 2002-03-05  Juergen Vigna  <jug@sad.it>
2250
2251         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
2252
2253 2002-03-04  Juergen Vigna  <jug@sad.it>
2254
2255         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
2256
2257         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
2258         last column of multicolumn cells.
2259         (SetWidthOfMulticolCell): recalculate NMC and real columns.
2260
2261 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
2262
2263         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
2264         file if it doesn't go to a temporary file.
2265
2266         * buffer.C (sgmlOpenTag):
2267         (sgmlCloseTag):  remove extra newline insertion.
2268
2269 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2270
2271         * text.C (getRowNearY): comment out debug msg
2272
2273 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2274
2275         * text2.C: first -> first_y
2276
2277         * text.C (getRowNearY): add some attemts at a possible
2278         optimization, not working.
2279
2280         * tabular.[Ch]: add BufferParams to several function so that newly
2281         created paragraph can be initialized to he default layotu for the
2282         buffers textclass.
2283
2284         * tabular-old.C (ReadOld): add buf->params to call of Init
2285
2286         * screen.C: rename text->first to text->first_y
2287
2288         * paragraph.C (breakParagraph): always set layout in the broken
2289         paragraph
2290
2291         * lyxtextclass.C (Read): remove lowercase
2292         (hasLayout): ditto
2293         (operator): ditto
2294         (delete_layout): ditto
2295
2296         * lyxtext.h: rename first -> first_y
2297
2298         * lyxlayout.C (Read): remove lowercase
2299         (name): ditto
2300         (setName): ditto
2301         (obsoleted_by): ditto
2302
2303         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
2304
2305         * buffer.C (insertErtContents): add params are to InsetERT
2306         (parseSingleLyXformat2Token): add code to check if a paragraphs
2307         layout really exist.
2308         (parseSingleLyXformat2Token): add params to several inset
2309         constructors
2310         (asciiParagraph): remove lowercase, do the layout comparisons with
2311         no_case
2312
2313         * BufferView_pimpl.C (cursorNext): first -> first_y
2314         (resizeCurrentBuffer): first -> first_y
2315         (updateScrollbar): first -> first_y
2316         (scrollCB): first -> first_y
2317         (workAreaMotionNotify): first -> first_y
2318         (workAreaButtonPress): first -> first_y
2319         (checkInsetHit): first -> first_y
2320         (cursorPrevious): first -> first_y
2321         (cursorNext): first -> first_y
2322         (Dispatch): add buffer_->params to severl inset contructors
2323
2324 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2325
2326         * lyxlayout.C (Read): remove some debug info that I forgot.
2327
2328         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
2329         clean up the code slightly.
2330         (makeLinuxDocFile): ditto
2331         (makeDocBookFile): ditto
2332
2333         * text2.C: layout as string
2334
2335         * text.C: layout as string
2336
2337         * paragraph_pimpl.C: layout as string
2338
2339         * paragraph.[Ch]: layout as string
2340
2341         * lyxtextclasslist.[Ch]: layout as string
2342
2343         * lyxtextclass.[Ch]: layout as string
2344
2345         * lyxtext.h: layout as string
2346
2347         * lyxlayout.[Ch]: layout as string
2348
2349         * lyx_cb.C: layout as string
2350
2351         * bufferview_funcs.C: layout as string
2352
2353         * bufferparams.C: layout as string
2354
2355         * buffer.C: layout as string
2356
2357         * LyXView.[Ch]: layout as string
2358
2359         * LaTeXFeatures.[Ch]: layout as string
2360
2361         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
2362
2363         * BufferView_pimpl.C: change current_layout to string, remove
2364         lyx::layout_type.
2365         (Dispatch):
2366         (smartQuote):
2367         (insertInset):
2368         (workAreaButtonRelease): layout as string
2369
2370         * BufferView2.C (unlockInset): adjust
2371
2372         * vspace.C (asLatexCommand): use an explict temp variable.
2373
2374 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
2375
2376         * Makefile.am: use FRONTEND_*
2377
2378 2002-03-01  Juergen Vigna  <jug@sad.it>
2379
2380         * tabular.C (SetWidthOfMulticolCell): changed to something better
2381         I hope but still work in progress.
2382         (recalculateMulticolumnsOfColumn): renamed function from
2383         recalculateMulticolCells as it is more appropriate now.
2384         (SetWidthOfCell): calculate multicols better.
2385
2386 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2387
2388         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
2389
2390         * lyxfunc.C (processKeySym): print sequence also if it is
2391         `deleted' (complete)
2392
2393         * kbsequence.C (print): print sequence even if it is deleted
2394         (complete would be a better word, actually).
2395
2396         * lyxfunc.C (dispatch): print complete options after a prefix key
2397
2398         * vspace.C (asLatexCommand): rewrite in a slightly different form.
2399
2400 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
2401
2402         * text2.C (setCharFont): eliminate setCharFont code duplication.
2403
2404 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2405
2406         * BufferView_pimpl.C (Dispatch): remove bogus handling of
2407         LFUN_TABULAR_FEATURE (bug #177)
2408
2409 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
2410
2411         * Makefile.am: remove figure.h
2412
2413 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
2414
2415         * Bufferview_pimpl.C:
2416         * CutAndPasteC:
2417         * LaTeX.C:
2418         * LyXSendto.C:
2419         * buffer.C:
2420         * bufferlist.C:
2421         * converter.C:
2422         * language.C:
2423         * lyxfunc.C:
2424         * lyxvc.C:
2425         * paragraph.C:
2426         * text.C:
2427         * text2.C: remove #include "lyx_gui_misc.h".
2428
2429         * LaTeX.C: added #include <cstdio>
2430
2431 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2432
2433         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
2434         that the paragraph following this one can have.
2435
2436         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
2437
2438         * vspace.C (asLatexCommand): fix bogus gcc warning
2439
2440         * Makefile.am (lyx_SOURCES): remove vms_defines.h
2441
2442 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
2443
2444         * text2.C (setLayout): get rid of redundant code
2445
2446 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
2447
2448         * text2.C (incDepth): make sure depth cannot be increased beyond
2449         reasonable values.
2450
2451 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
2452
2453         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
2454         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
2455
2456         * PainterBase.h (image):
2457         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
2458         a LyXImage const *.
2459
2460 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
2461
2462         * BufferView.C:
2463         * BufferView.h:
2464         * BufferView_pimpl.C:
2465         * BufferView_pimpl.h:
2466         * LaTeXFeatures.C:
2467         * LyXAction.C:
2468         * LyXView.C:
2469         * Makefile.am:
2470         * UpdateList.h:
2471         * UpdateList.C:
2472         * buffer.C:
2473         * figure.h:
2474         * figureForm.C:
2475         * figureForm.h:
2476         * figure_form.C:
2477         * figure_form.h:
2478         * lyx_cb.C:
2479         * lyx_gui.C:
2480         * lyx_gui_misc.C:
2481         * lyxfunc.C:
2482         * sp_base.h:
2483         * sp_ispell.h:
2484         * sp_pspell.h:
2485         * sp_spell.C: remove fig inset, and the crap house of
2486           cards that follows it
2487
2488 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
2489
2490         * Makefile.am:
2491         * lyxserver.C:
2492         * os2_defines.h:
2493         * os2_errortable.h:
2494         * nt_defines.h: move .h into support/
2495
2496         * vms_defines.h: remove
2497
2498         * WorkArea.C: add space in debug output
2499
2500         * text2.C:
2501         * paragraph.C:
2502         * buffer.C: add WITH_WARNINGS
2503
2504         * vc-backend.h:
2505         * vc-backend.C:
2506         * bufferlist.C: s/retrive/retrieve/, add docs
2507
2508         * vspace.h:
2509         * vspace.C:
2510         * kbmap.h:
2511         * lyxlength.h:
2512         * lyxgluelength.h:
2513         * length_common.h:
2514         * chset.h:
2515         * chset.C: add docs
2516
2517         * lyxgui.C: add ID to X error handler
2518
2519         * lyxtestclass.c: fix typo
2520
2521 2002-02-26  Juergen Vigna  <jug@sad.it>
2522
2523         * tabular_funcs.C (write_attribute): changed so that some default
2524         attributes are not written at all.
2525         (getTokenValue): set default values before trying to read the
2526         value so we have the return value always set as default if we don't
2527         find the token we search for.
2528
2529         * tabular.C (Write): write bools as bools not as strings!
2530
2531 2002-02-22  Juergen Vigna  <jug@sad.it>
2532
2533         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
2534         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
2535
2536         * text.C (leftMargin): don't add an indent for paragraphs inside
2537         tabular cells (fix #208).
2538
2539 2002-02-21  José Matos  <jamatos@fep.up.pt>
2540
2541         * tabular.C (docBook): fixed support for long tables.
2542
2543 2002-02-20  Juergen Vigna  <jug@sad.it>
2544
2545         * text2.C (getFont): get the drawing font of the Inset if this
2546         paragraph is inside an inset (only important for InsetERT for now).
2547
2548         * buffer.C (insertErtContents): use new lanugage params in ERT
2549         constructor.
2550
2551         * CutAndPaste.C: commenting out seemingly uneeded code.
2552
2553 2002-02-19  Allan Rae  <rae@lyx.org>
2554
2555         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
2556         Iterators might be simple to use but they also get invalidated.
2557         (removeAutoInsets): renamed saved cursor tracking variables and added
2558         some comments to clarify what everything does.
2559
2560 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
2561
2562         * Chktex.C:
2563         * LaTeX.C:
2564         * LyXSendto.C:
2565         * converter.C:
2566         * lyx_cb.C:
2567         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
2568         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2569
2570         * lyxfunc.C:
2571         * vc-backend.h: remove #include "support/syscall.h"
2572
2573         * LaTeX.C:
2574         * LyXSendto.C:
2575         * converter.C: rearrange #includes in Lars' approved fashion.
2576
2577         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
2578         forward declare class Timeout in the header file.
2579
2580         * XFormsView.C: changes due to the above.
2581
2582         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
2583         similar to LyXView.
2584
2585         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
2586         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
2587
2588 2002-02-18  José Matos  <jamatos@fep.up.pt>
2589
2590         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
2591         insets contents.
2592
2593 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2594
2595         * a lot of small ws changes
2596         * add a lot of using std::XXX
2597         * use std construcs some places where approp.
2598         * use some exisint stuff from lyxfunctional where approp.
2599         * Make file changes to use partial linking (lets test this now...)
2600
2601 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
2602
2603         * Chktex.C:
2604         * buffer.C:
2605         remove #include "support/syscontr.h" as it's redundant. Always has been.
2606
2607         * Chktex.C:
2608         * LaTeX.C:
2609         * LyXSendto.C:
2610         * converter.C:
2611         * lyx_cb.C:
2612         * vc-backend.C:
2613         change Systemcalls::System to Systemcalls::Wait and
2614         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
2615         No change of functionality, just reflects the stripped down Systemcalls
2616         class.
2617
2618 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
2619
2620         * debug.[Ch]: add a GRAPHICS type to the enum.
2621
2622 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2623
2624         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
2625
2626         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
2627         there is an inset.
2628
2629 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2630
2631         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
2632         match the changes below.
2633
2634         * text2.C (toggleInset): if there is not editable inset at cursor
2635         position, try to see if cursor is _inside_ a collapsable inset
2636         and close it.
2637
2638 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2639
2640         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
2641         document menu has a nice checkbox
2642
2643 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2644
2645         * lyxlength.C (asLatexString): change PW to output as percent of
2646         \textwidth.
2647
2648         * lengthcommon.C: change '%' to 't%'
2649
2650         * lyxfunc.C (dispatch): a few comments from Martin
2651
2652 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
2653
2654         * WorkArea.h:
2655         * WorkArea.C:
2656         * BufferView_pimpl.h:
2657         * BufferView_pimpl.C: clear our selection when X tells us we've lost
2658           the X selection.
2659
2660 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2661
2662         * vspace.C (inPixels): fix compiler warning
2663
2664 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2665
2666         * lyxfunc.C (getStatus): fix status message for disabled commands.
2667
2668 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
2669
2670         * BufferView_pimpl.C: fix crash on close buffer
2671         during selection (#227)
2672
2673 2002-01-27  Herbert Voss  <voss@lyx.org>
2674
2675         * buffer.C: link old Figure to new graphic inset
2676
2677 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
2678
2679         * FontLoader.C (getFontinfo): Change the latex font names in order
2680         to match the names of type1inst.
2681
2682 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2683
2684         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
2685
2686         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
2687         (extchanged): ditto
2688         (ext_exist): ditto
2689         (remove_files_with_extension): ditto
2690         (remove_file): ditto
2691         (write): ditto
2692
2693         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
2694         document is smaller than the work area height. Do not initialize
2695         static variables to 0.
2696
2697 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2698
2699         * lyx_gui.C (init): give the toolbar tooltips a normal font.
2700
2701         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
2702         LFUN_LAYOUT_PARAGRAPHS.
2703
2704         * tabular.C (GetCellFromInset): new method. Finds an inset in a
2705         tabular. It is possible to provide a possible cell, which will
2706         typically be the actcell from the corresponding insettabular
2707
2708         * lyxfunc.C (getStatus): small cleanup; disable
2709         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
2710         true
2711
2712 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2713
2714         * tabular.C (Validate): remove broken optimization (fixes bug #201)
2715
2716         * paragraph.C (startTeXParParams):
2717         (endTeXParParams): new methods. The LaTeX code to
2718         start/end paragraph formatting
2719         (simpleTeXOnePar): call startTeXParParams also when paragraph is
2720         empty (fixes bug #200)
2721
2722         * vspace.C (inPixels): adapt to the change below
2723         (inPixels): [later] more cleanups (remove unused variables)
2724
2725         * lyxlength.C (inPixels): change to use a width and a height as
2726         parameter.
2727
2728 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2729
2730         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
2731         Replaced with \paperwidth
2732
2733         * DepTable.C (insert): add std:: qualifier
2734
2735 2002-01-18  Allan Rae  <rae@lyx.org>
2736
2737         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
2738         updated also?
2739
2740         * text.C (drawInset): Turned out I didn't know enough about how
2741         rebreaking worked.  This fixes most of the redraw problems.  I see
2742         an occasional cursor trail when a line is broken now and the cursor
2743         placement can seem out by a few pixels also after a rebreak.
2744
2745 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2746
2747         * buffer.C (parseSingleLyXformat2Token): update because minipage
2748         width is now a LyXLength
2749
2750         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
2751
2752         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
2753         math insets
2754
2755 2002-01-17  Juergen Vigna  <jug@sad.it>
2756
2757         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
2758
2759         * BufferView2.C (lockInset): call edit() so that theLockingInset()
2760         is set correctly and the inset is updated correctly.
2761
2762 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2763
2764         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
2765         the beginning of the loop.
2766
2767 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
2768
2769         * lyxrc.C: improve help for use_scalable_fonts
2770
2771 2002-01-17  Allan Rae  <rae@lyx.org>
2772
2773         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
2774
2775 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2776
2777         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
2778         make sure to set their inset_owner to the right value (bug #171)
2779
2780 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
2781
2782         * DepTable.h
2783         * DepTable.C: Implement mtime checking to reduce time spent doing
2784         CRCs.
2785
2786 2002-01-16  Juergen Vigna  <jug@sad.it>
2787
2788         * tabular.C (GetAdditionalHeight): one of error fixed.
2789
2790         * lyxrc.C (output): small fix in writing use_pspell.
2791
2792 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
2793
2794         * sp_base.h: #include LString.h
2795
2796 2002-01-16  Allan Rae  <rae@lyx.org>
2797
2798         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
2799         Can someone check this please?
2800
2801         * text.C (drawInset): It was possible that p.row would be removed by
2802         breakAgainOneRow upsetting a few other settings.  There may be another
2803         small tweak possible by setting need_break_row = 0 when p.row has been
2804         removed but I don't know enough about the logic here.
2805
2806 2002-01-15  Allan Rae  <rae@lyx.org>
2807
2808         * text.C (insertChar): removed conditional truism.
2809
2810         * BufferView2.C (removeAutoInsets): More tweaks.
2811         cur_par_prev could be a stray pointer.  Check for trailing empty line
2812         in case last line was cur_par and only had an error inset on it.
2813
2814 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2815
2816         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
2817         absolute
2818
2819         * vc-backend.C (most methods):
2820         * exporter.C (Export):
2821         * converter.C (convert):
2822         (runLaTeX):
2823         * LyXSendto.C (SendtoApplyCB):
2824         * lyxfunc.C (dispatch):
2825         (menuNew):
2826         (open):
2827         (doImport):
2828         * lyx_cb.C (AutoSave):
2829         (InsertAsciiFile):
2830         * BufferView_pimpl.C (MenuInsertLyXFile):
2831         * buffer.C (runChktex): use Buffer::filePath().
2832
2833         * buffer.h: rename filename to filename_; rename filepath to
2834         filepath_ and make it private
2835         (filePath): new method
2836
2837         * buffer.C (writeFile): use fileName()
2838         (getLatexName):
2839
2840         * lyx_main.C (init): fix starting  of LyX when the binary is a
2841         link from so,ewhere else.
2842
2843         * minibuffer.C: include <cctype> for isprint
2844
2845 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2846
2847         * buffer.C (parseSingleLyXformat2Token): changes associated with the
2848         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
2849         name clash with InsetCollapsable's width function.
2850
2851 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2852
2853         * lastfiles.C: include <iterator>
2854
2855 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2856
2857         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
2858         std::count.
2859
2860         * buffer.C (makeLaTeXFile): ditto.
2861         Also make loop operation more transparent.
2862
2863 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2864
2865         * ToolbarDefaults.C: remove trailing comma closing namespace.
2866
2867         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
2868
2869         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
2870         as in WorkArea.
2871
2872         * trans.C (Load): comment out unused variable, allowed.
2873
2874 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
2875
2876         * minibuffer.[Ch] (append_char): new method to recieve input from the
2877         drop-down completion browser. If a key was pressed, then recieve this
2878         char and append it to the existing string.
2879         (peek_event): modify the positioning data passed to the completion
2880         browser so that it can be placed above the minibuffer rather than below.
2881 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2882
2883         * LyXAction.C (init): alloe error-next for readonly documents.
2884
2885         * BufferView2.C (ChangeRefsIfUnique): use standard version of
2886         count.
2887
2888 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2889
2890         * bufferlist.C (readFile): create the buffer _after_ checking that
2891         the file exists.
2892
2893         * lyxfunc.C (verboseDispatch): fix handling of arguments
2894
2895         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
2896
2897         * lyxrc.C: use string::erase() instead of initializing to "".
2898
2899
2900 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2901
2902         * BufferView_pimpl.h:
2903         * BufferView_pimpl.C:
2904         * WorkArea.h:
2905         * WorkArea.C:
2906         * text2.C: tell X when we have made a selection for copying
2907
2908 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2909
2910         * BufferView_pimpl.C (MenuInsertLyXFile):
2911         * lyxfunc.C (menuNew):
2912         (open):
2913         (doImport): add shortcuts to directory buttons
2914
2915         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
2916         open a float)
2917
2918         * lyxfunc.C (setStatusMessage):
2919         (getStatusMessage): new methods
2920         (getStatus):use setStatusMessage instead of setErrorMessage
2921         (dispatch): when function is disabled, set error message here
2922         [instead of in getStatus previously]
2923
2924         * BufferView_pimpl.C (workAreaButtonRelease): update
2925         toolbar/menubar here too.
2926
2927 2002-01-13  Allan Rae  <rae@lyx.org>
2928
2929         * BufferView2.C (removeAutoInsets): finished off earlier fix.
2930         Now seems indestructible.  Remaining task is to audit all other
2931         code affected by deleteEmptyParagraphMechanism.  One small quirk
2932         left is that an empty document with an error in the preamble can
2933         be made to report an error but no error box appears.  I don't know
2934         where it goes.
2935         (removeAutoInsets): Improved comments.
2936
2937 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
2938
2939         * Thesaurus.h:
2940         * Thesaurus.C: update for Aiksaurus 0.14
2941
2942 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2943
2944         * text2.C (firstParagraph): removed member function, all uses
2945         replaces with ownerParagraph
2946         (redoParagraphs): here
2947         (updateInset): here
2948         (toggleAppendix): here
2949         * BufferView2.C (insertErrors): here
2950         (setCursorFromRow): here
2951
2952 2002-01-13  Allan Rae  <rae@lyx.org>
2953
2954         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
2955         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
2956         There is still a way to segfault this although you may have to do this
2957         multiple times: Have an InsetERT with an unknown command in it.
2958         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
2959         <down-arrow>, <Enter> again, View->DVI, BANG!
2960
2961         * text2.C (setCursor):
2962         (deleteEmptyParagraphMechanism):
2963         * lyxtext.h (setCursor):
2964         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
2965         Making use of the return value may help fix other bugs.
2966
2967 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2968
2969         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
2970
2971         * LyXView.C (updateMenubar): call MenuBar::update here
2972         (updateToolbar): but not here
2973         (showState): do not update toolbar/menubar
2974
2975         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
2976         should need to care about that.
2977
2978         * lyxfunc.C (verboseDispatch): simplify a bit
2979         (getStatus): have a version which takes a pseudoaction, and
2980         another which requires a (kb_action,string).
2981
2982         * LyXAction.C (retrieveActionArg): make it work also when action
2983         is not a pseudo-action.
2984         (getActionName): simplify a bit
2985         (helpText):
2986
2987 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2988
2989         * lyxfunc.C (verboseDispatch): new families of methods with
2990         several ways to specify a command and a bool to indicate whether
2991         the command name and shortcut should be displayed in minibuffer
2992         (eventually, we could extend that to a finer bitmask like
2993         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
2994         (dispatch): the pristine dispatch command which just, well,
2995         dispatchs! Note it still sets its result to minibuffer; I'm not
2996         sure we want that.
2997
2998         * lyxfunc.h: remove setHintMessage
2999
3000         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3001
3002 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3003
3004         * BufferView_pimpl.C (specialChar): delete new inset if we have
3005         not been able to insert it.
3006
3007         * kbmap.C: revert to using int instead of kb_action, since all we
3008         are dealing with is pseudo-actions.
3009
3010         * LyXAction.C (searchActionArg): change to return int instead of
3011         kb_action, since the result is a pseudoaction.
3012
3013 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
3014
3015         * buffer.C (insertErtContents): Fix (partially) the font bug.
3016
3017 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
3018
3019         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3020         as the other one is broken on my machine!
3021
3022 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
3023
3024         * commandtags.h:
3025         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3026
3027 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
3028
3029         * lyxrc.[Ch]: change names and descriptions of popup font variables to
3030         reflect their actual use. Provide compatibility code for older lyxrc
3031         files.
3032
3033         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3034         FL_NORMAL_STYLE.
3035         change names of popup font variables in line with the changes to lyxrc.C
3036
3037 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3038
3039         * buffer.C (asciiParagraph): avoid outputing a word twice after
3040         an inset.
3041
3042         * lyxrc.C (getDescription): document that document_path and
3043         template_path can be empty.
3044
3045 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3046
3047         * LaTeXFeatures.C (getMacros):
3048         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3049
3050         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3051
3052         * LaTeXFeatures.C (useFloat): require "float" here instead of in
3053         getPackages.
3054         (getPackages): rename feature "floats" to "float". Use an array to
3055         iterate over 'simple' features (i.e. just a \usepackage). Add
3056         handling of "amsmath" (renamed from "amsstyle").
3057
3058 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
3059
3060         * LaTeXFeatures.C (require): Prevent duplicate entries in the
3061         features list.
3062
3063 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
3064
3065         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3066         FuncStaus::FuncStatus & FuncStaus::some_method().
3067
3068 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
3069
3070         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3071         of the func_satus stuff. Edited and massaged in various ways by
3072         JMarc.
3073
3074         * lyxfunc.C (getStatus): use FuncStatus
3075
3076 2002-01-08  Juergen Vigna  <jug@sad.it>
3077
3078         * text.C (nextBreakPoint): use function Inset::isChar().
3079
3080         * paragraph.C (TeXOnePar): use function
3081         Inset::forceDefaultParagraphs.
3082
3083         * buffer.C (latexParagraphs): use function
3084         Inset::forceDefaultParagraphs.
3085
3086 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3087
3088         * lyx_gui.C (init): set the style of the menu popups to
3089         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3090
3091 2002-01-07  Juergen Vigna  <jug@sad.it>
3092
3093         * text.C (setHeightOfRow): small fix
3094         (prepareToPrint): don't look at alignment if we don't have the place
3095         for doing it.
3096
3097 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3098
3099         * box.C: New file. Move the Box methods and functions out of box.h,
3100         following Lars' suggestion.
3101
3102 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
3103
3104         * box.h: #include "support/LOstream.h", needed for inlined function.
3105
3106         * lyxtextclass.C:
3107         * lyxtextclasslist.C: added some using std declarations.
3108
3109 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
3110
3111         * box.h: make signed dimensions to allow insets wider than
3112           the screen (bug #162)
3113
3114         * BufferView_pimpl.C: add some insetHit debug
3115
3116 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
3117
3118         * vc-backend.C: add FIXME
3119
3120 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3121
3122         * lyxfunc.C (getStatus): enable code for showing math font status
3123         in toolbar/menu.
3124
3125 2002-01-07  Juergen Vigna  <jug@sad.it>
3126
3127         * text.C (nextBreakPoint): removed debug output not needed anymore.
3128
3129 2002-01-06  Juergen Vigna  <jug@sad.it>
3130
3131         * text.C (nextBreakPoint): fixed up this function we had this bug
3132         since ever but now hopefully we break row better.
3133         (insertChar): we have to check if an inset is the next char as it
3134         could now happen that a large inset is causing a break.
3135
3136 2002-01-05  Juergen Vigna  <jug@sad.it>
3137
3138         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3139         if it doesn't like to be drawed.
3140
3141 2002-01-04  Juergen Vigna  <jug@sad.it>
3142
3143         * BufferView2.C (lockInset): forgot to set a cursor.
3144
3145         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3146
3147 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
3148
3149         * FormMathsPanel.C:
3150         * FormMathsPanel.h
3151         * MathsSymbols.C:
3152         * form_maths_panel.C:
3153         * form_maths_panel.h:
3154         * form_maths_panel.fd: implemented sub- and super- buttons in math
3155         panel.
3156
3157         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3158         (or ^ space) to be used as in TeX (req'd by André).
3159
3160         * lyxfunc.C: Allow ^ and _ again to be used both as
3161         super/subscript (mathed) and as themselves (in text).
3162
3163 2002-01-03  Allan Rae  <rae@lyx.org>
3164
3165         * LyXView.C (updateWindowTitle): Setup a short icon title of either
3166         "LyX" or the filename of the current buffer if it has one.  This is a
3167         modified form of John Levon's patch.
3168
3169         * XFormsView.C (setWindowTitle): also set icon title.
3170
3171         * LyXView.h (setWindowTitle): signature changed.
3172         * XFormsView.h (setWindowTitle): ditto.
3173
3174 2002-01-02  Juergen Vigna  <jug@sad.it>
3175
3176         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3177
3178 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3179
3180         * screen.C (topCursorVisible): introduce a temp var for
3181         text->cursor.row(), handle the case where this row is null. (kindo
3182         hachish)
3183
3184         * text2.C (setCursor): add a couple of asserts.
3185
3186         * paragraph.h (inset_iterator): add -> operator
3187
3188         * paragraph.[Ch] (autoDeleteInsets): remove member function
3189
3190         * BufferView2.C (removeAutoInsets): rewrite to handle the old
3191         cursor pos correctly and handle inset deletion by itself.
3192         (insertErrors): move iterator declaration out of for expression
3193
3194         * lyxtextclass.C: add <algorithm>
3195
3196         * Makefile.am: added the new files to sources, removed layout.C
3197
3198         * layout.C: removed file
3199
3200         * layout.h: remove LYX_DUMMY_LAYOUT
3201
3202         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3203         layout.
3204
3205         * lyxlayout.[Ch]:
3206         * lyxtextclass.[Ch]:
3207         * lyxtextclasslist.[Ch]: new files
3208
3209         * include order changes to a lot of files, also changes because of
3210         the six new files.
3211
3212 2001-12-27  Juergen Vigna  <jug@sad.it>
3213
3214         * buffer.C (asciiParagraph): more fixes.
3215
3216         * tabular.C (ascii): make ascii export support export of only the
3217         data separated by a column-delimiter.
3218         (ascii): better support for ascii export.
3219
3220         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3221
3222 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3223
3224         * tabular_funcs.C: use a "using std::getline" instead of the
3225         previous fix from Angus (necessary for cxx + lyxstring)
3226
3227 2001-12-24  Juergen Vigna  <jug@sad.it>
3228
3229         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3230
3231         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3232         problems. First check a minipage also if we have some ert-contents
3233         (not only on par->size(), second set the right depth of the paragraph
3234         on the relink to the root-paragraph-list!
3235
3236         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3237         which then did not anymore update the main paragraphs on undo/redo!
3238
3239 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3240
3241         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3242         code. Support all font-changing funcs (even those which are not in
3243         menu currently). Support for reporting font settings in
3244         mathed (disabled until Andre provides a function on mathed's side).
3245
3246         * func_status.h (toggle): small helper function to set toggle
3247         state on a flag.
3248
3249 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
3250
3251         * tabular_funcs.C: getline -> std::getline
3252
3253 2001-12-21  Juergen Vigna  <jug@sad.it>
3254
3255         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
3256         accessed and could be 0 (I couldn't generate this but it seems
3257         Michael could!).
3258
3259 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3260
3261         * tabular_funcs.C: add LIstream.h, move write_attribute to..
3262         * tabular_funcs.h: here and include iosfwd
3263
3264 2001-12-20  Juergen Vigna  <jug@sad.it>
3265
3266         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
3267         inside inset but undo_par was.
3268
3269 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3270
3271         * Thesaurus.C: always include <config.h> in sources.
3272
3273         * Painter.h:
3274         * lyxlookup.h:
3275         * box.h: do not include <config.h> in header files
3276
3277         * text.C (paintLastRow): remove unused variable
3278
3279         * text.C (transformChar):
3280         (insertChar):
3281         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
3282
3283         * Painter.C (text):
3284         * font.C (width): rewrite to use uppercase() instead of
3285         islower/toupper.
3286
3287         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
3288
3289 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
3290
3291         * lyxfind.C: clean up of find failure position change
3292
3293 2001-12-20  Juergen Vigna  <jug@sad.it>
3294
3295         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
3296
3297         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
3298         (TeXRow): added to LaTeX a single tabular row.
3299         (TeXLongtableHeaderFooter): added to output LT-h/f data.
3300         (Latex): simplified and finally good LT-h/f support.
3301         (various_functions): just small adaptions for LT-h/f support.
3302
3303         * tabular_funcs.[hC]: added and moved here all not classfunctions
3304         of LyXTabular.
3305
3306 2001-12-19  Juergen Vigna  <jug@sad.it>
3307
3308         * tabular.[Ch]: better support for longtabular options (not finished
3309         yet!)
3310
3311 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3312
3313         * text.C (paintLastRow): use the label font instead of the font of
3314         the last character to compute the size of *_BOX. This makes more
3315         sense and avoids a crash with empty paragraphs.
3316         Use Painter::rectangle to draw EMPTY_BOX.
3317
3318 2001-12-19  Juergen Vigna  <jug@sad.it>
3319
3320         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
3321         the paragraphs if the replaced paragraph is not the first one!
3322         Tried to delete not used paragraphs but does not work yet so for
3323         now it's inside #ifdef's and by default off!
3324
3325 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3326
3327         * MenuBackend.C: include "lyx_main.h" instead of declaring
3328         lastfiles (actually was declared as LastFiles* instead of a
3329         scoped_ptr).
3330
3331 2001-12-17  Juergen Vigna  <jug@sad.it>
3332
3333         * tabular.C (AppendColumn): applied John's fix
3334
3335 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
3336
3337         * BufferView.h:
3338         * BufferView.C:
3339         * BufferView_pimpl.h:
3340         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
3341
3342         * Makefile.am:
3343         * box.h: new start of class for above
3344
3345         * lyxfunc.C: ignore space-only minibuffer dispatches.
3346           Show the command name when it doesn't exist
3347
3348         * minibuffer.C: don't add empty lines to the history
3349
3350         * minibuffer.C: add a space on dropdown completion
3351
3352 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
3353
3354         * text.C: fix line above/below drawing in insets
3355
3356 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3357
3358         * lyxlength.C (LyXLength): Initialize private variables.
3359
3360 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
3361
3362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
3363         when inserting error insets.
3364
3365 2001-12-13  Juergen Vigna  <jug@sad.it>
3366
3367         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
3368         actually sometimes the before-paragraph.
3369         (setUndo): don't clear the redostack if we're not actually undoing!
3370
3371 2001-12-06  Juergen Vigna  <jug@sad.it>
3372
3373         * undo_funcs.C (textHandleUndo): well after John's hint I got here
3374         and fixed redoing of main paragraph, so we can use it now ;)
3375
3376         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
3377
3378 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3379
3380         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
3381         Juergen's request
3382
3383 2001-12-13  André Pönitz <poenitz@gmx.net>
3384
3385         * undostack.[Ch]:
3386         * undo_func.C: minor cleanup
3387
3388 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3389
3390         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
3391         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
3392         font in urw-fonts package which is marked as -urw-fontspecific and
3393         does not work (incidentally, changing the encoding in the
3394         fonts.dir of this package to -adobe-fontspecific fixes the
3395         problem).
3396
3397         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
3398         is a crash when undoing first paragraph (Juergen, please take a
3399         look). THis does not mean the undo fix is wrong, just that it
3400         uncovers problems.
3401
3402         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
3403         the (Paragraph*) version when needed instead of duplicating the
3404         code.
3405
3406         * text.C (workWidth): use Inset::parOwner to find out where the
3407         inset has been inserted. This is a huge performance gain for large
3408         documents with lots of insets. If Inset::parOwner is not set, fall
3409         back on the brute force method
3410
3411         * paragraph_pimpl.C (insertInset):
3412         * paragraph.C (Paragraph):
3413         (cutIntoMinibuffer): set parOwner of insets when
3414         inserting/removing them
3415
3416         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3417
3418 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
3419
3420         * commandtags.h:
3421         * LyXAction.C:
3422         * lyx_main.C:
3423         * lyxfunc.C:
3424         * mathed/formulabase.C:
3425         * mathed/math_cursor.[Ch]:
3426         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
3427
3428
3429 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3430
3431         * lyxlength.[Ch] (operator!=): new function
3432
3433 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3434
3435         * text.C (workWidth): use Inset::parOwner to find out where the
3436         inset has been inserted. This is a huge performance gain for large
3437         documents with lots of insets. If Inset::parOwner is not set, fall
3438         back on the brute force method
3439
3440         * paragraph_pimpl.C (insertInset):
3441         * paragraph.C (Paragraph):
3442         (cutIntoMinibuffer): set parOwner of insets when
3443         inserting/removing them
3444
3445         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3446
3447 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3448
3449         * tabular-old.C (getTokenValue):
3450         * tabular.C (getTokenValue):
3451         (write_attribute): new versions for LyXLength
3452         (everywhere): adjust the use of widths
3453
3454         * tabular.h: change the type of widths from string to LyXLength
3455
3456 2001-12-11  Ben Stanley <bds02@uow.edu.au>
3457
3458         * paragraph.C: fixed missing line number count when exporting
3459         Environments to LaTeX file
3460
3461         * buffer.C: added informational message for checking line numbers.
3462
3463 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3464
3465         * text2.C (deleteEmptyParagraphMechanism): if there is only one
3466         paragraph, do the 'double space' part, but not the 'empty
3467         paragraph' one.
3468
3469         * text.C (workWidth): small optimization
3470         (getLengthMarkerHeight): use minimal size for negative lengths.
3471
3472 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
3473
3474         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
3475
3476         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
3477
3478 2001-12-11  André Pönitz <poenitz@gmx.net>
3479
3480         * FontLoader.C:
3481         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
3482
3483 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3484
3485         * text2.C: keep selection on a setFont()
3486
3487 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3488
3489         * lyx_cb.C: another bv->text misuse, from insert label
3490
3491 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
3492
3493         * kbsequence.h:
3494         * kbsequence.C: re-instate nmodifier mask
3495
3496 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
3497
3498         * lyx_main.h: make lyxGUI private.
3499
3500 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
3501
3502         * lyxfind.C: place the cursor correctly on failed search
3503
3504 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3505
3506         * text.C (getLengthMarkerHeight): for small heights, the arrows
3507         are not always on top/bottom of the text
3508         (drawLengthMarker): smaller arrows; take the left margin in
3509         account; draw also vfills.
3510         (paintFirstRow):
3511         (paintLastRow): remove special code for vfill and standard spaces,
3512         since everything is handled in drawLengthMarker now.
3513
3514 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3515
3516         * buffer.C (insertErtContents): try to handle font and language
3517         interaction a bit better.g
3518
3519         * ColorHandler.C (updateColor): change the hash to cover the whole
3520         LColor enum, ws cleanup
3521         (getGCLinepars): ditto
3522         (getGCLinepars): only lookup in the linecache once.
3523
3524 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
3525
3526         * iterators.C (operator++): Make the iterator more robust
3527
3528         * BufferView2.C (removeAutoInsets): Use paragraph iterators
3529         (John's patch)
3530         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
3531
3532 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3533
3534         * lyxtext.h:
3535         * text.C: better added space drawing
3536
3537 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3538
3539         * LyXView.C:
3540         * BufferView2.C: fix layout combo update on inset unlock
3541
3542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3543
3544         * Makefile.am: don't compile unused files
3545
3546 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3547
3548         * lyxfunc.C:
3549         * commandtags.h:
3550         * LyXAction.C: remove old LFUN_LAYOUTNO
3551
3552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3553
3554         * paragraph_pimpl.h:
3555         * paragraph_pimpl.C: isTextAt() doesn't need font param
3556
3557 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3558
3559         * lyxlex.h:
3560         * lyxlex.C: little cleanup
3561
3562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
3563
3564         * BufferView_pimpl.C: fix insertAscii for insets
3565
3566 2001-12-05  Juergen Vigna  <jug@sad.it>
3567
3568         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
3569         set the right font on the "multi" paragraph paste!
3570
3571 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3572
3573         * trans_decl.h:
3574         * trans_mgr.[Ch]:
3575         * trans.[Ch]:
3576         * lyxgluelength.C:
3577         * lyxlength.C: remove out-commented code.
3578
3579         * BufferView_pimpl:
3580         * CutAndPaste.C:
3581         * DepTable.C:
3582         * buffer.C:
3583         * chset.C:
3584         * lastfiles.C:
3585         * lyxlex.C:
3586         * lyxlex_pimpl.C:
3587         * lyxserver.C:
3588         * screen.C:
3589         * tabular-old.C:
3590         * tabular.C:
3591         * text.C:
3592         * trans_mgr.C:
3593         * vc-backend.C: change "while(" to "while ("
3594
3595         * lyxlength.[Ch]: add zero function to check if length is zero or
3596         not
3597         * lyxgluelength.C: use it
3598
3599 2001-12-05  Allan Rae  <rae@lyx.org>
3600
3601         * lyxlength.C: Attempted a fix for the abs(int) header selection.
3602         Works for 2.95.3, from what I understand of Garst's reports this should
3603         work for other g++ versions.  We're screwed if the abs(int) definition
3604         changed between bugfix releases of gcc.
3605
3606 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
3607
3608         * text.C: fix chapter label offset !
3609
3610 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
3611
3612         * lyxtext.h:
3613         * text.C: fix hfill at end of line, clean up
3614
3615 2001-12-04  Juergen Vigna  <jug@sad.it>
3616
3617         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
3618         that we force an update of the inset and it's owners if neccessary.
3619
3620 2001-12-03  Juergen Vigna  <jug@sad.it>
3621
3622         * text.C (rowLast): simplified code
3623
3624 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
3625
3626         * lyxfunc.C: fix show options on timeout
3627
3628 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3629
3630         * screen.C (topCursorVisible): scroll half a page when the cursor
3631         reached top of bottom of screen
3632
3633 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
3634
3635         * minibuffer.C: deactivate on loss of focus
3636
3637 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3638
3639         * vspace.[Ch] (operator!=): add operator.
3640
3641 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
3642
3643         * BufferView_pimpl.C: refuse to open an inset when
3644         there's a selection.
3645
3646 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
3647
3648         * BufferView_pimpl.C: allow to click on RHS of full row insets
3649
3650 2001-11-30  Juergen Vigna  <jug@sad.it>
3651
3652         * tabular.C (LyXTabular): add a same_id to set the same id's in the
3653         insets for undo reasons.
3654
3655 2001-11-28  André Pönitz <poenitz@gmx.net>
3656
3657         * vspace.[Ch]: cosmetical changes
3658
3659 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3660
3661         * LyXAction.h:
3662         * LyXAction.C:
3663         * lyxfunc.h:
3664         * lyxfunc.C:
3665         * kbmap.h:
3666         * kbmap.C:
3667         * lyxrc.C:
3668         * kbsequence.h:
3669         * kbsequence.C: part re-write of old kb code
3670
3671         * Painter.C:
3672         * WorkArea.C: remove Lgb_bug_find_hack
3673
3674 2001-11-30  José Matos <jamatos@fep.up.pt>
3675
3676         * buffer.C (makeDocBookFile): add a comment to point a hack.
3677         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
3678         Fixed a double write of labels.
3679
3680 2001-11-29 Ben Stanley <bds02@uow.edu.au>
3681
3682         * LaTeX.C:
3683         * LaTeX.h Fixed bug in LaTeX class where it would not
3684         re-run latex if no depfiles were changed, but the .dvi was removed.
3685
3686 2001-11-28  André Pönitz <poenitz@gmx.net>
3687
3688         * all the files from the change on 2001/11/26:
3689         use lyx::layout_type instead of LyXTextClass::size_type
3690         use lyx::textclass_type instead of LyXTextClassList::size_type
3691
3692 2001-11-29  Juergen Vigna  <jug@sad.it>
3693
3694         * text.C: added support for paragraph::isFreeSpacing()
3695
3696         * buffer.C: same as above
3697
3698         * paragraph.h: inserted isFreeSpacing() function to enable
3699         FreeSpacing inside InsetERT.
3700
3701         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
3702         of the paragraph's in the cut/copy buffer to 0!
3703
3704         * text2.C (removeRow): remove the assert as it can!
3705
3706         * lyxtext.h: added helper function firstRow returning firstrow and
3707         made firstrow private again.
3708
3709         * BufferView2.C (lockInset): don't relock if we're already locked!
3710
3711         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
3712         the only paragraph.
3713         (removeRow): added Assert::(firstrow)
3714
3715         * debug.C: forgot to add INSETTEXT here.
3716
3717 2001-11-28  Juergen Vigna  <jug@sad.it>
3718
3719         * sp_spell.C (initialize): changed error text to more general
3720         spellchecker command use (not only ispell!)
3721
3722         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
3723
3724         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
3725
3726 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3727
3728         * vspace.C: initialise lyxgluelength on failure
3729
3730 2001-11-28  Allan Rae  <rae@lyx.org>
3731
3732         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
3733         declaration & definition that looks like a function declaration.
3734
3735 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3736
3737         * BufferView2.C (copy):
3738         (copyEnvironment): do not clear the selection when doing a copy.
3739
3740         * text.C (paintFirstRow): compilation fix
3741
3742 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
3743
3744         * tabular.C (Latex): correct line count when writing latex.
3745
3746 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
3747
3748         * paragraph_pimpl.h:
3749         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
3750           bug a bit
3751
3752 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3753
3754         * text.C:
3755         * LColor.h:
3756         * LColor.C: change vfillline->added_space
3757
3758         * text.C: add markers and text for added space
3759
3760         * vspace.C: fix comment
3761
3762 2001-11-28  André Pönitz <poenitz@gmx.net>
3763
3764         * paragraph.C: whitespace changes
3765         * all the other files from the change on 2001/11/26:
3766         change *::pos_type into lyx::pos_type
3767
3768 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3769
3770         * buffer.C (parseSingleLyXformat2Token): Set the language to the
3771         language of the document when inserting error insets.
3772
3773 2001-11-26  André Pönitz <poenitz@gmx.net>
3774
3775         * BufferView_pimpl.[Ch]:
3776         *       CutAndPaste.C:
3777         * buffer.[Ch]:
3778         * lyxcursor.[Ch]:
3779         * lyxfind.C:
3780         * lyxfunc.C:
3781         * lyxrow.[Ch]:
3782         * paragraph.[Ch]:
3783         * paragraph_pimpl.[Ch]:
3784         * sp_spell.C:
3785         * text.C:
3786         * text2.C: reduce header dependencies, introduce type for positions
3787
3788 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3789
3790         * <various>: change to use Alert.h
3791
3792 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3793
3794         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
3795         when encountering an unknown token.
3796         (readLyXformat2): Show an error message if there were unknown tokens.
3797
3798 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
3799
3800         * BufferView2.C:
3801         * BufferView_pimpl.C:
3802         * buffer.C:
3803         * paragraph.h:
3804         * text.C:
3805         * text2.C: use par->isInset()
3806
3807 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3808
3809         * paragraph_pimpl.h:
3810         * paragraph_pimpl.C: cleanup
3811
3812 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3813
3814         * text2.C (removeRow):
3815         * text.C (setHeightOfRow): remove useless (and costly) call to
3816         getRow.
3817
3818 2001-11-20  Allan Rae  <rae@lyx.org>
3819
3820         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
3821         Now need Inset*::checkInsertChar() to return true for appropriate
3822         cases so that the characters in the minibuffer will actually be
3823         inserted.
3824
3825 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3826
3827         * text.C: change the order of the includes.
3828         (workWidth): initialize it at once.
3829         (workWidth): make maxw unsigned
3830         (setHeightOfRow): remove unused variable (inset)
3831         (selectSelectedWord): remove unused variable (inset)
3832         (paintRowText): fix drawing of hfill characters, and clean up a bit.
3833
3834 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3835
3836         * lyxserver.C (emergencyCleanup): do not try to close pipes if
3837         server is not running.
3838         (openConnection):
3839         (closeConnection): add debug info when server is disabled.
3840
3841         * ColorHandler.C (getGCForeground): send debug message to GUI
3842         channel.
3843
3844         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
3845
3846         * kbmap.C (bind): modify because return conventions of
3847         kb_sequence::parse have changed.
3848
3849         * kbsequence.C (parse): only ignore spaces and not any stupid
3850         control character. This avoids tests like s[i] <= ' ', which are
3851         guaranteed to fail with 8bit characters and signed chars.
3852         Change return code to string::npos when there have been no error
3853         (0 was a bad idea when error is at first character)
3854
3855 2001-11-14  José Matos  <jamatos@fep.up.pt>
3856
3857         * buffer.h:
3858         * buffer.C (simpleDocBookOnePar): removed unused argument.
3859
3860 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3861
3862         * text.C (selectNextWordToSpellcheck): do not test explicitely for
3863         insets which are part of a word. Paragraph::isLetter takes care of
3864         that now. Use Paragraph::isInset to identify insets.
3865         (selectSelectedWord): do not test for hyphenation break.
3866
3867         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
3868         that protected spaces are considered as spaces.
3869
3870         * paragraph.C (isLetter): cleanup the code for ispell extras; use
3871         Inset::isLetter.
3872
3873 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
3874
3875         * lyxserver.h:
3876         * lyxserver.C: fix it. and small cleanup.
3877
3878 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
3879
3880         * BufferView_pimpl.C: use inline helpers
3881
3882         * LaTeXFeatures.h:
3883         * LaTeXFeatures.C: fix typos
3884
3885         * Spacing.h:
3886         * Spacing.C: move spacing_string into class
3887
3888         * ToolbarDefaults.C: move stuff into namespace anon
3889
3890         * layout.h: update enum
3891
3892         * lyxfunc.C: use better debug
3893
3894         * minibuffer.h: fix typo
3895
3896         * debug.h:
3897         * debug.C:
3898         * WorkArea.C: add and use Debug::WORKAREA
3899
3900         * lyxtext.h:
3901         * text.C:
3902         * text2.C: code re-organisation, inline helpers
3903
3904 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
3905
3906         * Layout.C: replaced a few cases of std::vector.size() == 0 with
3907         std::vector.empty().
3908
3909 2001-11-09  Allan Rae  <rae@lyx.org>
3910
3911         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
3912         '\n's after tables.  Tabular and ERT inset work now makes this no
3913         longer necessary.
3914
3915 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
3916
3917         * minibuffer.h:
3918         * minibuffer.C: fix crash, improve drop-down completion
3919
3920 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
3921
3922         * lyxserver.h:
3923         * lyxserver.C: invalidate fd's when doing endPipe()
3924
3925 2001-11-08  José Matos  <jamatos@fep.up.pt>
3926
3927         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
3928         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
3929
3930         * paragraph.h:
3931         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
3932
3933 2001-11-07  José Matos  <jamatos@fep.up.pt>
3934
3935         * buffer.h:
3936         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
3937         const qualifier.
3938
3939         * buffer.C (sgmlOpenTag):
3940         * buffer.C (sgmlCloseTag): removed debug info.
3941
3942         * buffer.h (sgmlOpenTag):
3943         * buffer.h (sgmlCloseTag): made public.
3944
3945 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3946
3947         * buffer.C (saveParamsAsDefaults):
3948         * lyx_cb.C (MenuLayoutSave): remove
3949
3950         * LyXAction.C (init):
3951         * commandtags.h:
3952         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
3953
3954 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3955
3956         * buffer.C (setPaperStuff): removed from here...
3957
3958         * bufferparams.C (setPaperStuff): ... and moved there.
3959
3960 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
3961
3962         * minibuffer.h:
3963         * minibuffer.C:
3964         * XFormsView.C: add support for drop-down completion
3965
3966 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
3967
3968         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
3969         commands.
3970
3971 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3972
3973         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
3974         disabled.
3975
3976 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
3977
3978         * lyx_main.C: change ref to known bugs
3979
3980 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
3981
3982         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
3983         to work around older babel problems.
3984
3985 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
3986
3987         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
3988
3989 2001-10-24  Juergen Vigna  <jug@sad.it>
3990
3991         * tabular-old.C (ReadOld): below variable changes reflected.
3992
3993         * tabular.[Ch]: added ltType struct for longtable header/footer
3994         defines and changed all instances where they are used. Added
3995         future support for double top/bottom rows.
3996
3997 2001-10-24  José Matos  <jamatos@fep.up.pt>
3998
3999         * buffer.h (docbookHandleCaption):
4000         * buffer.C (docbookHandleCaption): removed unused function.
4001         (makeDocBookFile): moved docbook supported version to v4.1.
4002
4003 2001-10-24  José Matos  <jamatos@fep.up.pt>
4004
4005         * tabular.h:
4006         * tabular.C (docbookRow): new function to export docbook code of a row.
4007         (DocBook): now honors the longtable flags.
4008
4009 2001-10-23  José Matos  <jamatos@fep.up.pt>
4010
4011         * LaTeXFeatures.h:
4012         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4013         of the lyx defined sgml entities used in a docbook/linuxdoc document.
4014
4015         * buffer.C (makeLinuxDocFile):
4016         (makeDocBookFile): reworked the preamble, more clean, and with
4017         support for lyx defined entities. Changed the document declaration
4018         to be more XML friendly.
4019
4020         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4021         if we need to output XML that should be done with a filter.
4022
4023 2001-10-22  Juergen Vigna  <jug@sad.it>
4024
4025         * sp_pspell.h (class PSpell): add alive function needed in the
4026         controller to see if the spellchecker could be started.
4027
4028 2001-10-22  Juergen Vigna  <jug@sad.it>
4029
4030         * buffer.C (insertStringAsLines): modify the font for inserting
4031         chars in certain conditions by calling checkInsertChar(font).
4032
4033 2001-10-19  Juergen Vigna  <jug@sad.it>
4034
4035         * text.C (workWidth): use getRow instead of wrong algorithm.
4036         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4037
4038 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
4039
4040         * lyxserver.h:
4041         * lyxserver.C:
4042         * lyx_main.h:
4043         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4044
4045 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4046
4047         * text.C (workWidth): do not search for the exact row when
4048         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4049         optimization for big documents.
4050
4051 2001-10-18  Juergen Vigna  <jug@sad.it>
4052
4053         * text.C (workWidth): new function with added Inset * parameter.
4054
4055 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4056
4057         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4058
4059         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4060         change return type of getColumnNearX.
4061
4062
4063         * text.C (changeRegionCase): use uppercase/lowercase instead of
4064         toupper/tolower.
4065         (leftMargin):
4066         (rightMargin): simplify code by factoring out the uses of
4067         textclasslist.
4068         (labelFill):
4069         (numberOfHfills):
4070         (setHeightOfRow):
4071         (appendParagraph): use Paragraph::size_type
4072
4073 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4074
4075         * vspace.C (asLatexString): add a missing break
4076
4077 2001-10-15  Herbert Voss  <voss@perce.de>
4078
4079         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4080
4081 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4082
4083         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4084         is not available.
4085
4086 2001-10-10  André Pönitz <poenitz@gmx.net>
4087
4088         * lyxfunc.C: removed greek_kb_flag.
4089
4090 2001-10-10  Herbert Voss  <voss@perce.de>
4091
4092         * lyx_main.C: delete global string help_lyxdir.
4093
4094 2001-10-09  Herbert Voss  <voss@perce.de>
4095
4096         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4097
4098         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4099
4100         * lyx_main.C: added global string help_lyxdir.
4101
4102         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4103
4104 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4105
4106         * lyxrc.C (set_font_norm_type): support iso8859-4
4107
4108 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
4109
4110         * LaTeX.C (deplog): add another regex for MikTeX
4111
4112 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4113
4114         * lyxrc.C (set_font_norm_type): support iso8859-3
4115
4116 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4117
4118         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4119
4120         * LaTeXFeatures.C: remove special case of french and index
4121
4122         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4123         before \begin{document}). This solves several incompatibilities.
4124
4125 2001-10-03  Garst Reese  <reese@isn.net>
4126
4127         * lyx_cb.C: change CheckTex error msg.
4128
4129 2001-10-03  José Matos  <jamatos@fep.up.pt>
4130
4131         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4132
4133 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4134
4135         * .cvsignore: update
4136
4137         * lyx_main.C (commandLineVersionInfo): use new style version info.
4138
4139         * buffer.C (writeFile):
4140         (makeLaTeXFile):
4141         (makeLinuxDocFile):
4142         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4143
4144         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4145
4146         * version.h: update to use stuff in version.C
4147
4148         * version.C.in: new file. Contains version information determined
4149         at compile time. This is a merging of version.h and
4150         version_info.h.in.
4151
4152 2001-10-03  Juergen Vigna  <jug@sad.it>
4153
4154         * BufferView_pimpl.C (update): don't change "dirty" status in
4155         updateInset call.
4156
4157 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
4158
4159         * WorkArea.C (c-tor): re-position version string slightly.
4160
4161 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
4162
4163         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4164         revert to previous code.
4165
4166         WorkArea.[Ch]: (show, destroySplash): methods removed.
4167
4168         WorkArea.C: rework code so that it's an amalgam of the codes before and
4169         after the splash screen was moved to WorkArea.
4170
4171 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4172
4173         * lyxrc.C (read):
4174         * vspace.C (inPixels):
4175         (lyx_advance):
4176         * kbmap.C (bind):
4177         * buffer.C (insertStringAsLines):
4178         (asciiParagraph): fix types to be large enough
4179
4180         * lyxlex_pimpl.h: change member status from short to int
4181
4182         * layout.h: fix type of endlabeltype
4183
4184         * kbmap.C (bind):
4185         * kbsequence.C (parse): change return type to string::size_type
4186
4187         * LaTeX.C (updateBibtexDependencies): comment out unneeded
4188         variable
4189
4190         * Bullet.C (bulletSize):
4191         (bulletEntry): do not use short ints as parameters
4192
4193         * BufferView2.C (insertLyXFile): change a char to an int.
4194
4195         * WorkArea.C (WorkArea): remove unneeded floats in computation
4196
4197 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
4198
4199         * buffer.C (asciiParagraph): Treat '\\' as other chars.
4200
4201         * paragraph.C (asString): Do not ignore newline/hfill chars when
4202         copying to the clipboard.
4203
4204 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
4205
4206         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4207         after a multi-line inset.
4208
4209 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
4210
4211         * paragraph.C (validate): Set NeedLyXFootnoteCode
4212
4213 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
4214
4215         * lyxfont.C (LyXSizeNames): changed increase-error to increase
4216         and decrease-error to decrease.
4217
4218 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4219
4220         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4221         it more readable (should be equivalent)
4222
4223 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4224
4225         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4226
4227 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4228
4229         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4230         of a cursor (row, etc.) after a character has been deleted
4231         (deleteEmptyParagraphMechanism): call the method above on _all_
4232         cursors held by the LyXText when a double space has been
4233         detected/deleted.
4234
4235 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
4236
4237         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4238         pixmap.
4239         (resizeCurrentBuff): remove code to destroy the old splash dialog.
4240
4241         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4242         background. Use greyOut() and the new show() methods to toggle between
4243         the foreground and background. Add code to remove the splash after
4244         its initial showing.
4245
4246         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
4247         (create_forms): no longer call Dialogs::showSplash.
4248
4249 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4250
4251         * .cvsignore: add version_info.h
4252
4253 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4254
4255         * version_info.h.in: new file
4256
4257         * Makefile.am: add version_info.h.in
4258
4259         * lyx_main.C (commandLineVersionInfo): use version_info defined in
4260         version_info.h instead of VERSION_INFO
4261
4262 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
4263
4264         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
4265         The ERT inset now returns string().
4266
4267 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
4268
4269         * lyxtext.h, text.C (selectNextWord): renamed as
4270         selectNextWordToSpellcheck.
4271
4272         * text.C (selectNextWordToSpellcheck): Modified to not select
4273         words inside an ERT inset.
4274
4275 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4276
4277         * lyx_cb.C (MenuLayoutSave): change a bit the question
4278
4279         * sp_base.h: include <sys/types.h>
4280
4281 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
4282
4283         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
4284
4285 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
4286
4287         * several files: fix typos in user-visible strings
4288
4289 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4290
4291         * text2.C (pasteSelection): do not set the selection, since it
4292         will be cleared later. Actually, the intent was to fix the way the
4293         selection was set, but I figured rmoving the code was just as good.
4294
4295 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
4296
4297         * FontLoader.C (available): Check if font is available without
4298         loading the font.
4299
4300 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4301
4302         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
4303
4304 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
4305
4306         * lyxrc.[Ch]: added display_graphics variable and associated code.
4307
4308 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4309
4310         * bufferparams.C (hasClassDefaults): new method. Returns true if
4311         the buffer parameters correspond to known class defaults
4312
4313 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
4314
4315         * XFormsView.C (show): set minimum size to the main window.
4316
4317 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4318
4319         * text2.C (copySelection):
4320         (cutSelection):
4321         * lyxfind.C (LyXReplace):
4322         * BufferView_pimpl.C (Dispatch): pass the correct flag to
4323         LyXText::selectionAsString.
4324
4325         * paragraph.C (asString): add "label" argument to the second form
4326
4327         * text2.C (selectionAsString): add "label" argument and pass it to
4328         Paragraph::asString.
4329
4330 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4331
4332         * lyx_main.C (commandLineHelp): remove version information
4333
4334 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
4335
4336         * lyx_main.C: add -version commandline option
4337
4338 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4339
4340         * paragraph.h: make the optional constructor arg required instead.
4341         some modifications to other files because of this.
4342
4343         * minibuffer.C (C_MiniBuffer_peek_event): make it static
4344
4345         * lyxserver.C (C_LyXComm_callback): make it static
4346
4347         * lyx_main.C (error_handler): make it static
4348
4349         * lyx_gui.C (LyX_XErrHandler): make it static
4350
4351         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
4352
4353         * WorkArea.C: make the extern "C" methods static.
4354
4355         * Makefile.am (lyx_LDADD): simplify
4356
4357 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4358
4359         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
4360         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
4361
4362         * LyXAction.C (init):
4363         * lyxfunc.C (dispatch): associated code removal.
4364
4365 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4366
4367         * lyxfont.h (isSymbolFont): shut off warning
4368
4369         * text.C (setHeightOfRow):
4370         (getVisibleRow): fix crash with empty paragraphs which have a
4371         bottom line
4372
4373 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
4374
4375         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
4376         code.
4377
4378 2001-09-04  José Matos  <jamatos@fep.up.pt>
4379         * buffer.C
4380         * buffer.h
4381         * tabular.C (docbook): rename docBook method to docbook.
4382
4383 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4384
4385         * Makefile.am: add dependencies to main.o.
4386
4387 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
4388
4389         * FontLoader.C (available): Return false if !lyxrc.use_gui
4390
4391 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
4392
4393         * FontInfo.C (query):
4394         * converter.C (view):
4395         * importer.C (Import):
4396         * exporter.C (Export): Can not -> cannot.
4397
4398 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
4399
4400         * BufferView_pimpl.C: allow to create index inset even if
4401           string is empty
4402
4403 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
4404
4405         * buffer.C (getLists): replace boost::tie code with an explicit pair
4406         as boost::tie can break some compilers.
4407
4408         * iterators.h: Added a std:: declaration to the return type of
4409         ParIterator::size.
4410
4411 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
4412
4413         * lyxrc.C: add help for view_dvi_paper_option, default to safe
4414           case.
4415
4416 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
4417
4418         * iterators.[Ch]: New files. Provide paragraph iterators.
4419
4420         * buffer.C (changeLanguage): Use paragraph iterators.
4421         (isMultiLingual): ditto
4422
4423         * BufferView2.C (ChangeInsets): Use paragraph iterators.
4424
4425 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
4426
4427         * FontLoader.C: Support for cmr font.
4428
4429 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
4430
4431         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
4432         (available): New method.
4433
4434         * FontInfo.C (getFontname): Use scalable fonts even when
4435         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
4436         found.
4437
4438 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
4439
4440         * converter.C (Formats::view): reverted! Incorrect fix.
4441
4442 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
4443
4444         * converter.C (Formats::view): only output the -paper option
4445         if the dvi viewer is xdvi, thereby fixing bug #233429.
4446
4447 2001-08-23  Herbert Voss  <voss@perce>
4448
4449         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
4450
4451 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4452
4453         * Spacing.h (Spacing): Set space to Default on in the default
4454         constructor.
4455
4456 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4457
4458         * vc-backend.h (RCS::versionString): add RCS to version
4459         (CVS::versionString): add CVS to version
4460
4461         * vc-backend.C (scanMaster): do not add CVS to version.
4462         (scanMaster): do not add RCS to version
4463
4464         * lyxvc.C (versionString): new method
4465
4466         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
4467
4468 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4469
4470         * Spacing.C (set): initialize fval
4471
4472 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
4473
4474         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
4475         " or \.
4476
4477 2001-08-16  Juergen Vigna  <jug@sad.it>
4478
4479         * lyxfunc.C (dispatch): implemented the new FINISHED states.
4480
4481 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
4482
4483         * BufferView_pimpl.C:
4484         * figureForm.C:
4485         * lyxtext.h:
4486         * text2.C: setParagraph takes linespacing now
4487
4488 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
4489
4490         * LyxAction.C: add internal LFUN_CITATION_INSERT
4491
4492         * LyXView.C: actually apply fix
4493
4494         * bufferlist.C: fix open non-existent file
4495
4496         * lyxfind.C: fix indentation
4497
4498         * lyxfunc.C: remove unneeded assert, fix typo
4499
4500 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
4501
4502         * MenuBackend.C: use "Floatname List"
4503
4504 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
4505
4506         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
4507         when converting LaTeX layout to insetERT.
4508         Generate a non-collapsed float when reading old float
4509
4510 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
4511
4512         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
4513         ERT insets.
4514
4515 2001-08-13  Juergen Vigna  <jug@sad.it>
4516
4517         * text.C (fill): return 0 instead of 20 as this seems to be the more
4518         correct value.
4519
4520 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
4521
4522         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
4523         lyxrc.font_norm.
4524
4525 2001-08-13  Juergen Vigna  <jug@sad.it>
4526
4527         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
4528         casesensitive off.
4529         (SearchBackward): comment out the unlocking of the inset_owner this
4530         should not be needed!
4531
4532 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
4533
4534         * Many files: Remove inherit_language, and add latex_language
4535
4536         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
4537         collapsible insets.
4538
4539 2001-08-10  Juergen Vigna  <jug@sad.it>
4540
4541         * text.C (prepareToPrint): fixed hfill-width in draw!
4542
4543         * BufferView2.C (selectLastWord): save the selection cursor as this
4544         now is cleared in the function LyXText::clearSelection!
4545
4546 2001-08-08  Juergen Vigna  <jug@sad.it>
4547
4548         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
4549         BACKSPACE type functions.
4550
4551         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
4552         is only cutted from the document but not put in the cut-buffer, where
4553         still the old stuff should be.
4554
4555         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
4556
4557         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
4558
4559         * tabular.C (SetWidthOfCell): fixed special case where the width
4560         was not updated!
4561         (LeftLine): handle '|' in align_special.
4562         (RightLine): ditto
4563         (LeftAlreadyDrawed): ditto
4564         (SetWidthOfCell): ditto
4565
4566 2001-08-07  Juergen Vigna  <jug@sad.it>
4567
4568         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
4569
4570 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4571
4572         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
4573         * lyxlex.[hC]: ditto
4574
4575 2001-08-06  Juergen Vigna  <jug@sad.it>
4576
4577         * text.C (getVisibleRow): fix up row clearing a bit.
4578
4579 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4580
4581         * minibuffer.C: make sure the X server sees the changes in the input.
4582
4583 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4584
4585         * paragraph.C (getFont): split into...
4586         (getLabelFont): this
4587         (getLayoutFont): and this
4588         * paragraph_pimpl.C (realizeFont): calling this
4589
4590         * text2.C (getFont): split into...
4591         (getLayoutFont): this
4592         (getLabelFont): and this
4593         (realizeFont): all three calling this
4594
4595         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
4596         files where used.
4597
4598 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4599
4600         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
4601
4602 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
4603
4604         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
4605         layouts from the Quote inset insertion.
4606
4607 2001-08-03  Juergen Vigna  <jug@sad.it>
4608
4609         * BufferView_pimpl.C (update): do the fitCursor only at the end!
4610
4611         * screen.C (drawFromTo): don't call fitcursor here and do the loop
4612         only if status not is already CHANGED_IN_DRAW (second level).
4613
4614         * text.C (draw): don't set the need_break_row when inside an
4615         InsetText LyXText.
4616
4617 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4618
4619         * buffer.C (parseSingleLyXformat2Token): handle more latex
4620         conversion cases.
4621
4622         * bufferview_funcs.[hC]: change function names to
4623         begin with small char, adjust other files.
4624
4625 2001-08-02  André Pönitz <poenitz@gmx.net>
4626
4627         * lyxfunc.C:
4628         BufferView_pimpl.C: remove broken special code for math-greek
4629
4630 2001-08-02  Juergen Vigna  <jug@sad.it>
4631
4632         * BufferView_pimpl.C (update): redone this function so that we
4633         update the text again if there was a CHANGE_IN_DRAW.
4634
4635         * screen.C (cursorToggle): removed LyXText parameter and recoded.
4636         (drawFromTo): added a new internal bool which is used by draw() and
4637         redraw() function.
4638         (general): some cursor drawing problems fixed.
4639
4640 2001-08-01  Juergen Vigna  <jug@sad.it>
4641
4642         * lyxfind.C (LyXFind): fixed
4643         (SearchForward): ditto
4644         (SearchBackward): ditto
4645
4646         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
4647         spurius drawing of the cursor in the main area.
4648
4649         * text2.C (status): small fix which could lead to a segfault!
4650         (clearSelection): remove unneeded BufferView param.
4651
4652 2001-08-01  André Pönitz <poenitz@gmx.net>
4653
4654         * lyxfunc.C: small change due to changed mathed interface
4655
4656 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4657
4658         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
4659
4660 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
4661
4662         * lyxfunc.c: fail gracefully if file doesn't exist
4663
4664         * LyXSendto.C:
4665         * buffer.C:
4666         * lyxfunc.C:
4667         * BufferView_pimpl.C: IsDirWriteable() proto changed
4668
4669         * LyXView.C: fix updateWindowTitle() to store the last title
4670
4671 2001-07-31  Juergen Vigna  <jug@sad.it>
4672
4673         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
4674         the font (wrong since using of Paragraph::highestFontInRange).
4675
4676         * paragraph.C (highestFontInRange): added a default_size parameter.
4677
4678         * text.C (getVisibleRow): minor clear row changes (still not perfect).
4679         (setHeightOfRow): reformat
4680
4681 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4682
4683         * converter.[hC] + affected files: move to (inital-char)lowercase
4684         function names.
4685
4686         * ParagraphParameters.C (ParagraphParameters): remove commented code
4687
4688         * PainterBase.[Ch]: remove commented code
4689
4690         * LaTeXFeatures.h: add "bool floats" for float.sty
4691
4692         * LaTeXFeatures.C (LaTeXFeatures): init floats
4693         (require): handle float
4694         (getPackages): do it with floats
4695
4696 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4697
4698         * BufferView_pimpl.C (Dispatch): improve handling of
4699         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
4700
4701         * commandtags.h: #include lyxfont.h here temporarily to avoid
4702         keybinding bug.
4703
4704         * bufferlist.h: include LString.h here.
4705
4706 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4707
4708         * text2.C (getStringToIndex): new method.
4709
4710 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
4711
4712         * *: Reduced header file dependencies all over.
4713
4714 2001-07-30  Baruch Even  <baruch@lyx.org>
4715
4716         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
4717
4718 2001-07-29  Baruch Even  <baruch@lyx.org>
4719
4720         * buffer.C (readInset): Changed GRAPHICS to Graphics.
4721
4722 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4723
4724         * ParameterStruct.h (endif): add a default constructor to make
4725         sure that all variables is initialized.
4726
4727         * ParagraphParameters.C (ParagraphParameters): adjust
4728
4729 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4730
4731         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4732         index; also, check that there is something to index, and that it
4733         does not span over several paragraphs.
4734         (doubleClick): use WHOLE_WORD_STRICT for double click.
4735
4736         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
4737
4738         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
4739         scheme.
4740
4741 2001-07-26  Baruch Even  <baruch@lyx.org>
4742
4743         * buffer.C (readInset): Changed to call up InsetGraphics when reading
4744         an InsetFig figure, backwards compatible reading of old figure code.
4745
4746 2001-07-27  Juergen Vigna  <jug@sad.it>
4747
4748         * text2.C: font.realize function adaption.
4749
4750         * text.C (draw): add a warnings lyxerr text if needed.
4751
4752         * layout.C: font.realize function adaption.
4753
4754         * language.C: add inherit_language and implement it's handlings
4755
4756         * bufferview_funcs.C (StyleReset): remove language parameter from
4757         font creation (should be language_inherit now).
4758
4759         * bufferparams.C (writeFile): handle ignore_language.
4760
4761         * paragraph.C (getFontSettings): the language has to be resolved
4762         otherwise we have problems in LyXFont!
4763
4764         * lyxfont.C (lyxWriteChanges): added document_language parameter
4765         (update): removed unneeded language parameter
4766
4767         * paragraph.C (validate): fixed wrong output of color-package when
4768         using interface colors for certain fonts in certain environments,
4769         which should not seen as that on the final output.
4770
4771 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
4772
4773         * BufferView_pimpl.C:
4774         * Thesaurus.h:
4775         * Thesaurus.C:
4776         * Makefile.am:
4777         * commandtags.h:
4778         * LyXAction.C: add thesaurus support
4779
4780         * lyxfind.h:
4781         * lyxfind.C: add "once" parameter, for thesaurus, to not
4782           move to the next match
4783
4784 2001-07-26  Juergen Vigna  <jug@sad.it>
4785
4786         * lyxfont.C (realize): honor ignore_language too!
4787         (resolved): ditto.
4788
4789         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
4790
4791         * text.C (draw): one place more for ignore_language to not draw
4792         itself!
4793
4794 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
4795
4796         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
4797
4798 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4799
4800         * buffer.C (parseSingleLyXformat2Token): a more general fix for
4801         the minipage conversion problem.
4802
4803 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4804
4805         * buffer.C (parseSingleLyXformat2Token): check minipage if we
4806         insert an inset.
4807
4808 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4809
4810         * BufferView.h: don't forward declare WorkArea
4811
4812         * BufferView.C: don't include WorkArea.h
4813
4814 2001-07-25  André Pönitz <poenitz@gmx.net>
4815
4816         * commandtags.h:
4817         * LyXAction.C:
4818         * lyxfunc.C:  new LFUN 'math-space'
4819
4820         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
4821
4822 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4823
4824         * text2.C (toggleInset): call open/close
4825
4826 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4827
4828         * lyxfunc.C (dispatch): add debug for the disabled case
4829
4830         * font.C (buttonText): make similar to rectText
4831
4832         * buffer.C (readInset): comment out parsing of insetlist and
4833         insttheorem
4834
4835         * PainterBase.C (rectText): small correction
4836
4837         * BufferView_pimpl.C: comment out insettheorem and insetlist
4838         * LyXAction.C: ditto
4839         * commandtags.h: ditto
4840
4841 2001-07-24  Juergen Vigna  <jug@sad.it>
4842
4843         * text.C (draw): honor the ignore_language.
4844
4845         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
4846
4847 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4848
4849         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
4850         char inset.
4851
4852 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4853
4854         * lyxtext.h: remove unused (and unimplemented) methods
4855
4856 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4857
4858         * text.C (getVisibleRow): honor background color
4859
4860         * PainterBase.h:
4861         * Painter.h: remove default color argument for fillRectangle
4862
4863         * text.C (backgroundColor): new method
4864
4865 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4866
4867         * text.C (getVisibleRow): adjust
4868
4869         * font.[Ch] (rectText): new method, metrics
4870         (buttonText): new method, metrics
4871
4872         * PainterBase.[hC]: make rectText and buttonText always draw and take
4873         fewer paramteres.
4874
4875 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4876
4877         * ToolbarDefaults.C (read):
4878         * MenuBackend.C (read): allow escaping in all strings
4879
4880         * BufferView_pimpl.C (insertAndEditInset): new method.
4881         (Dispatch): use insertAndEditInset whenever appropriate.
4882
4883         * BufferView_pimpl.C (insertNote): removed
4884
4885         * BufferView_pimpl.C (smartQuote): new method, moved from
4886         BufferView; if an insetquote cannot be inserted, insert a '"'
4887         character instead.
4888
4889         * BufferView2.C: remove insertCorrectQuote();
4890
4891         * lyxfunc.C (getStatus): Add support for all remaingin
4892         inset-insert lfuns.
4893
4894         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
4895
4896         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
4897         command (necessary to pass " as parameter of self-insert.
4898
4899         * text.C (selectWordWhenUnderCursor):
4900         (selectWord): add word_location parameter
4901         (selectWordWhenUnderCursor): same + remove special code for word
4902         boundary.
4903         (selectNextWord): use kind() to guess type of insetspecialchar,
4904         not latex().
4905
4906         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
4907         (insertErtContents): create ert insets as collapsed.
4908         (readInset): better compatibility code for Info inset.
4909
4910 2001-07-20  Juergen Vigna  <jug@sad.it>
4911
4912         * lyxfunc.C (dispatch): use always LyXFind now!
4913
4914         * text2.C (init): add a reinit flag so that the LyXText can be
4915         reinited instead of deleted and reallocated (used in InsetText).
4916
4917         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
4918
4919         * text.C: ditto
4920
4921         * text2.C: ditto
4922
4923 2001-07-18  Juergen Vigna  <jug@sad.it>
4924
4925         * text.C (selectNextWord): handle insets inside inset by calling
4926         always the bv->text functions so that we can go up the_locking_inset!
4927
4928         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
4929         in strange locations when inside an inset!
4930
4931         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
4932         handling to include insets.
4933
4934         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
4935
4936 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4937
4938         * LyXAction.C (init):
4939         * commandtags.h:
4940         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
4941         LIGATURE_BREAK, since the name is so stupid.
4942
4943 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4944
4945         * buffer.C (readInset): enable reading of new InsetNotes as well as old
4946         InsetInfos.
4947
4948         * FontLoader.C: remove FORMS_H_LOCATION cruft.
4949
4950         * sp_form.[Ch]: remove.
4951
4952         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
4953
4954         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
4955         InsetInfo.
4956
4957         * src/buffer.C (readInset): ditto.
4958
4959 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4960
4961         * BufferView_pimpl.C (specialChar): new method. Obsoletes
4962         menuSeparator(), endOfSentenceDot(), ldots() and
4963         hyphenationPoint(), which are therefore removed.
4964         (Dispatch): handle LFUN_HYPHENATION_BREAK.
4965
4966         * LyXAction.C (init):
4967         * commandtags.h: add LFUN_HYPHENATION_BREAK.
4968
4969         * paragraph.C (getWord): removed.
4970
4971         * BufferView_pimpl.C (Dispatch): use last word or selection for
4972         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
4973
4974         * lyx_main.C (queryUserLyXDir): do not ask before creating
4975         user_dir, except if it has been named explicitely.
4976
4977 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4978
4979         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4980         a document of zero size.
4981
4982 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
4983
4984         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
4985         approriately in the c-tor and in require().
4986         (getPackages): output the appropriate LaTeX for natbib support.
4987
4988         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
4989         variables "use_natbib" and "use_numerical_citations" when reading the
4990         LyX file.
4991         (readInset): read the various natbib cite commands.
4992         (validate): white-space change.
4993
4994         * bufferparams.[Ch]: new variables "bool use_natbib" and
4995         "bool use_numerical_citations".
4996         (writeFile): output them in the LyX file.
4997
4998 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4999
5000         * lyxfunc.C (getStatus): add support for all the inset insertion
5001         commands.
5002
5003         * text2.C (insertInset):
5004         * paragraph.C (insetAllowed):
5005         * BufferView_pimpl.C (insertInset): update to take in account the
5006         renaming of insertInsetAllowed
5007
5008         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5009
5010         * text2.C (getInset): new method. returns inset at cursor position.
5011
5012         * BufferView_pimpl.C (Dispatch): changes because of this.
5013
5014         * LyXAction.C (init): rename open-stuff to inset-toggle.
5015
5016         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5017
5018         * text2.C (toggleInset): renamed from openStuff; use
5019         Inset::open().
5020
5021 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5022
5023         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5024
5025         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5026
5027 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
5028
5029         * buffer.C (readLyXformat2): Add filename to the error dialog
5030
5031 2001-07-18  Juergen Vigna  <jug@sad.it>
5032
5033         * tabular.C (GetCellNumber): put an assert here instead of the check!
5034
5035 2001-07-17  Juergen Vigna  <jug@sad.it>
5036
5037         * BufferView_pimpl.C (toggleSelection): adapted too.
5038
5039         * text.C (selectNextWord): adapted for use with insets.
5040         (selectSelectedWord): ditto
5041
5042 2001-07-17  Juergen Vigna  <jug@sad.it>
5043
5044         * sp_spell.C (PSpell): fix initialitation order.
5045
5046 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5047
5048         * paragraph.C: spacing
5049
5050 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
5051
5052         * sp_spell.C: repair language selection for pspell
5053
5054 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5055
5056         * lyxfunc.h: change more methods to begin with lower char.
5057
5058 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
5059
5060         * buffer.C (parseSingleLyXformat2Token): Generate error insets
5061         for unknown layouts.
5062
5063 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5064
5065         * buffer.C (readLyXformat2): Generate an error dialog if there are
5066         unknown layouts.
5067
5068 2001-07-16  Juergen Vigna  <jug@sad.it>
5069
5070         * sp_spell.C: always compile ISpell part.
5071
5072         * lyxrc.C: added use_pspell entry and it's handling.
5073
5074 2001-07-13  Juergen Vigna  <jug@sad.it>
5075
5076         * sp_spell.C: removed double includes.
5077
5078 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
5079
5080         Consistent use of Lsstream.h:
5081         * Lsstream.h: added using std::stringstream for consistencies sake.
5082
5083         * buffer.C: removed using std::stringstream
5084
5085         * lyxfont.C (stateText):
5086         * paragraph.C (asString):
5087         * text.C (selectNextWord, selectSelectedWord):
5088         * text2.C (setCounter):
5089         * vspace.C (asString, asLatexString):
5090         std::ostringstream -> ostringstream.
5091
5092 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
5093
5094         * LyXAction.C: add LFUN_HELP_ABOUTLYX
5095         * commandtags.h: add LFUN_HELP_ABOUTLYX
5096         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5097
5098 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
5099
5100         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5101         cursorToggle()
5102         * lyx_gui_misc.C: remove spellchecker
5103         * lyxfunc.C: showSpellchecker
5104         * sp_base.h: added
5105         * sp_ispell.h: added
5106         * sp_pspell.h: added
5107         * sp_spell.C: added
5108         * sp_form.[Ch]: removed
5109         * spellchecker.[Ch]: removed
5110
5111 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
5112
5113         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5114         is set.
5115         (simpleTeXSpecialChars): Simply print the input character without
5116         any special translation if pass_thru is set.
5117
5118         * layout.h: Added bool pass_thru to layout class for being able to
5119         implement pass through of a paragraph for Literate Programming.
5120
5121         * layout.C: add LT_PASS_THRU to LayoutTags enum.
5122         * layout.C (LyXLayout): set pass_thru to flase in constructor.
5123         * layout.C (Read): add "passthru" to list of layout tags and add
5124         code to set the pass_thru boolean when it is read.
5125
5126 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5127
5128         * trans_decl.h: remove allowed from KmodInfo
5129
5130         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5131         remove allowed code
5132         (Load): adjust
5133
5134         * paragraph_pimpl.C (erase): use boost::prior
5135
5136         * Painter.C (text): use data() instead of c_str() when length is
5137         also provided.
5138         * WorkArea.C (putClipboard): ditto
5139         * font.h (width): ditto
5140
5141         * BufferView2.C: use it-> instead of (*it). for iterators
5142         * texrow.C: ditto
5143         * paragraph_pimpl.C: ditto
5144         * paragraph.C: ditto
5145         * minibuffer.C: ditto
5146         * language.C: ditto
5147         * kbmap.C: ditto
5148         * encoding.C: ditto
5149         * counters.C: ditto
5150         * converter.C: ditto
5151         * chset.C: ditto
5152         * Variables.C: ditto
5153         * TextCache.C: ditto
5154         * MenuBackend.C: ditto
5155         * LyXAction.C: ditto
5156         * LColor.C: ditto
5157         * FloatList.C: ditto
5158         * DepTable.C: ditto
5159         * ColorHandler.C (LyXColorHandler): ditto
5160
5161 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5162
5163         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5164
5165         * text2.C (openStuff): reintroduce this method (which had been
5166         nuked in NEW_INSETS frenzy).
5167
5168         * lyxfunc.C (Dispatch): when an action has not been handled, use
5169         its name in the error message, not its number.
5170
5171         * paragraph.C (inInset): change method name to begin with lowercase.
5172
5173         * undo_funcs.C:
5174         * text2.C: updates because of this.
5175
5176 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5177
5178         * ToolbarDefaults.C (add): add spaces in error message
5179
5180 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5181
5182         * buffer.C (readLyXformat2): initialize the ert comp. variables.
5183         (readLyXformat2): rename return_par to first_par, use lyxlex's
5184         pushToken and remove the manual push handling.
5185         (parseSingleLyXformat2Token): add another ert comp. variable:
5186         in_tabular, rename return_par to first_par. handle newlines better
5187
5188 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5189
5190         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5191
5192 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5193
5194         * text2.C (getParFromID): removed
5195
5196         * buffer.C (getParFromID): new method moved form lyxtext.
5197         * BufferView2.C (insertErrors): adjust
5198         (setCursorFromRow): adjust
5199         * BufferView_pimpl.C (restorePosition): adjust
5200         * lyxfunc.C (Dispatch): adjust
5201         * undo_funcs.C (textUndo): adjust
5202         (textRedo): adjust
5203         (textHandleUndo): adjust
5204         (textHandleUndo): adjust
5205
5206 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5207
5208         * buffer.C: up' the LYX_FORMAT
5209
5210         * lyxfont.h: turn NO_LATEX on as default
5211
5212         * buffer.C (insertErtContents): new methods of tex style compability.
5213         (parseSingleLyXformat2Token): use it several places.
5214         * tabular.C (OldFormatRead): and here
5215
5216 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5217
5218         * text2.C: remove some commented code.
5219         reindent file.
5220
5221         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5222         * trans.C: changes because of the above.
5223
5224 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
5225
5226         * text2.C (setCounter): Fix counters bug with bibliography layout.
5227
5228 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5229
5230         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5231         own member functions
5232         (simpleTeXSpecialChars): ditto
5233
5234 2001-07-06  Juergen Vigna  <jug@sad.it>
5235
5236         * a lot of files: changed the access to LyXText::status and the
5237         call of undo-functions.
5238
5239         * undo.[Ch]: added a inset_id to the undo informations.
5240
5241         * undo_funcs.[Ch]: added and moved here all undo functions.
5242
5243         * lyxtext.h: give the status enum a weight, made status_ a private
5244         variable and made accessor functions for it, removed the whole bunch
5245         of undo-functions as they are now in their own file, make some
5246         functions publically available. Added function ownerParagraph with
5247         int parameter.
5248
5249         * paragraph.[Ch]: added "bool same_ids" to the constructor,
5250         made InInset() a const function, added getParFromID() function.
5251
5252         * buffer.[Ch]: added const version for inset_iterator functions,
5253         added getInsetFromID() function.
5254
5255         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
5256         changed undo functions for new version.
5257
5258 2001-07-05  Juergen Vigna  <jug@sad.it>
5259
5260         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
5261         unknow mechanism does not call the proper constructor but only this
5262         one also if I request the other!?
5263
5264 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5265
5266         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5267
5268         * text2.C (LyXText): use initialization lists.
5269
5270         * lyxtext.h (Selection): initialize set_ and mark_
5271         (init): remove method
5272
5273 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
5274
5275         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
5276
5277 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5278
5279         * screen.[Ch]: change method names to begin with lowercase
5280
5281         * BufferView_pimpl.C (updateScrollbar): simplify further and
5282         hopefully make it a bit faster.
5283
5284 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5285
5286         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
5287         calling directly xforms functions.
5288
5289         * Painter.C (Painter):
5290         * lyx_cb.C (MenuWrite):
5291         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
5292         fl_display.
5293
5294         * lyx_gui.C: remove bogus guiruntime extern declaration.
5295
5296 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5297
5298         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
5299         in NEW_INSETS
5300         (redoDrawingOfParagraph): ditto
5301         (redoParagraphs): ditto
5302         (cutSelection): don't create a object for CutAndPaste use the
5303         static method directly
5304         (pasteSelection): ditto
5305
5306         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
5307         LyXview (+ rename)
5308
5309 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5310
5311         * modifications to some other files because of this.
5312
5313         * Makefile.am (lyx_SOURCES): add XFormsView
5314
5315         * XFormsView.[Ch]: new files
5316
5317         * LyXView.[Ch]: make LyXView a base class for the gui handling for
5318         the main window. Move the gui dependent stuff to XFormsView
5319
5320 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5321
5322         * tabular.C (GetCellInset): update cur_cell also in the row/col
5323         version of this function.
5324
5325         * lyxfunc.C: no need to include figure_form.h here.
5326
5327         * FontLoader.h:
5328         * lyxfunc.h:
5329         * lyxscreen.h:
5330         * text2.C:
5331         * lyxvc.C: no need to include forms.h here.
5332
5333 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5334
5335         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5336
5337         * lyxfunc.C (Dispatch):
5338         * Spacing.C (set):
5339         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
5340         constructor argument.
5341
5342 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5343
5344         * paragraph.C (Paragraph): dont't clear, and just set layout.
5345         (makeSameLayout): use params's copy contructor.
5346
5347         * ParagraphParameters.[Ch] (makeSame): delete method
5348
5349 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
5350
5351         * Variables.[Ch]: fix indentation, rename set to isSet
5352
5353 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5354
5355         * lyxfunc.C (Dispatch): fix typo
5356
5357 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5358
5359         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
5360         upper_bound.
5361
5362         * bufferlist.C: include assert.h for emergencyWrite().
5363
5364 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5365
5366         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
5367           give up at last (bug #425202) !
5368
5369 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
5370
5371         * lyx_gui_misc.C:
5372         * sp_form.h:
5373         * sp_form.C:
5374         * spellchecker.h:
5375         * spellchecker.C: strip spellchecker options and bring up
5376           preferences tab instead
5377
5378 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5379
5380         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
5381         the istringstream constructor
5382
5383 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5384
5385         * paragraph.C (getLayout): fix return value
5386
5387         * paragraph.h: do not declare getLayout as inline.
5388
5389         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
5390
5391 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5392
5393         * lyxcursor.h (operator<): new func
5394         (operator>): new func
5395         (operator>=): new func
5396         (operator<=): new func
5397
5398         * text.C (changeCase): use selection.start and selection.end
5399         (changeRegionCase): require from to be <= to. Require par to be a
5400         valid paragraph.
5401
5402         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
5403
5404 2001-06-27  Juergen Vigna  <jug@sad.it>
5405
5406         * text.C (cursorLeftOneWord): changed to return the cursor and added
5407         overlay with BufferView * parameter which calls this one.
5408         (getWord): added
5409         (selectWord): use new getWord function.
5410         (changeCase): renamed from changeWordCase as and extended to work
5411         also on selections.
5412
5413         * lyxtext.h: added enum word_location
5414
5415         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
5416         changeCase as this operates now also on selections.
5417
5418 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
5419
5420         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
5421
5422         * many files: send debug output to Debug::INFO instead of
5423         Debug::ANY.
5424
5425         * converter.C (View):
5426         (Convert):
5427         (Move): send debug output to Debug::FILES instead of console.
5428
5429 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
5430
5431         * lyxfunc.C (getStatus): use func_status
5432
5433         * func_status.h: new header, describing the results of
5434         LyXFunc::getStatus;
5435
5436         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
5437         LFUN_MATH_HALIGN.
5438
5439 2001-06-25  The LyX Project  <jug@sad.it>
5440
5441         * buffer.C (sgmlOpenTag):
5442         (sgmlCloseTag):
5443         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
5444
5445 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5446
5447         * text2.C: remove some dead code
5448
5449         * tabular.C (GetCellInset): store the last cell checked (gotten)
5450
5451         * tabular.h: add the helper for the speedup
5452
5453         * lyxtext.h: remove some dead code
5454
5455 2001-06-26  The LyX Project  <Asger>
5456
5457         * paragraph.C: Change export to LaTeX of alignment to
5458         \begin{center} and family for better roundtrip work with reLyX.
5459
5460         * Tune the math drawing a bit.
5461
5462 2001-06-25  The LyX Project  <Asger>
5463
5464         * LColor.C (LColor): New color for math background. New color
5465         for buttons.
5466
5467 2001-06-25  The LyX Project  <jug@sad.it>
5468
5469         * lyxfunc.C (MenuNew): remove extra check for .lyx file
5470
5471         * lyxfunc.C (Open):
5472         * bufferlist.C (newFile): do not restrict to files ending with
5473         .lyx
5474
5475         * BufferView_pimpl.C (MenuInsertLyXFile):
5476
5477 2001-06-24  The LyX Project  <jug@sad.it>
5478
5479         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
5480         of compare_no_case
5481
5482 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5483
5484         * lyxtext.h: rename most methods to begin with a small char.
5485         Lots of changes because of this.
5486
5487         * paragraph.C (Paragraph): do not call fitToSize
5488         (erase): call Pimpl::erase
5489         (insertChar): call Pimpl::insertChar
5490         (insertInset): call Pipl::insertInset
5491         (breakParagraph): do not call fitToSize
5492         (breakParagraphConservative): do not call fitToSize
5493         (fitToSize): remove method
5494
5495         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
5496
5497 2001-06-24  The LyX Project  <Asger>
5498
5499         * Fix Qt compilation^2
5500
5501 2001-06-24  The LyX Project  <jug@sad.it>
5502
5503         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
5504         depthHook(getDepth()-1).
5505
5506         * paragraph.h:
5507         * ParagraphParameters.h:
5508         * ParameterStruct.h: change type of depth to unsigned int ==
5509         depth_type. Many adaptations to other files before of that.
5510
5511 2001-06-24  The LyX Project  <Asger>
5512
5513         * Fix Qt compilation.
5514
5515 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5516
5517         * paragraph.h: renamed several methods to begin with small letter.
5518         several changes to many parts of the code because of this.
5519
5520 2001-06-23  The LyX Project  <jug@sad.it>
5521
5522         * text2.C (InsertStringAsLines): renamed from InsertStringA;
5523         rewritten to discard all double spaces when KeepEmpty is off
5524         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
5525         to only handle newlines but not fiddle with spaces and friends.
5526
5527         * lyxfunc.C (MenuNew): when doing 'new from template', use
5528         template_path as default directory
5529
5530 2001-06-23  The LyX Project  <Asger>
5531
5532         * Clean-up of header file includes all over
5533         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
5534
5535 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5536
5537         * paragraph.h: renamed from lyxparagraph.h
5538
5539 2001-06-23  Asger  <lyx@violet.home.sad.it>
5540
5541         * Buffer.h: Removed Buffer::resize
5542         * BufferList.h: Removed BufferList::resize
5543         * LyXView.h: Added LyXView::resize. This way, we will only reflow
5544         the document lazily when we change the width, or the font settings.
5545
5546 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5547
5548         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
5549
5550 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5551
5552         * buffer.h: remove out of date comment
5553
5554 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
5555
5556         * lyxscreen.h:
5557         * screen.C: fix "theoretical" GC leak
5558
5559 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5560
5561         * LaTeX.C (scanAuxFile):
5562         (deplog): remove trailing \r when reading stream (useful under
5563         win32)
5564
5565 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
5566
5567         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
5568         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
5569         and BufferView::theLockingInset(Inset*), so should use them and not
5570         access bv_->text->the_locking_inset directly.
5571
5572         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
5573
5574 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
5575
5576         * Makefile.am:
5577         * tex-defs.h: remove old unused file
5578
5579 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
5580
5581         * BufferView_pimpl.C: fix typo, remove minibuffer message
5582           when buffer has loaded
5583
5584 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5585
5586         * lyxfunc.C (Dispatch): use stringstream
5587         (MenuNew): use stringstream
5588         (Open): use stringstream
5589
5590         * importer.C (Import): use stringstream
5591
5592         * bufferview_funcs.C (CurrentState): use stringstream
5593
5594         * LaTeX.C (run): use stringstream
5595
5596         * BufferView_pimpl.C (savePosition): use stringstream
5597         (restorePosition): use stringstream
5598         (MenuInsertLyXFile): use stringstream
5599
5600 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
5601
5602         * BufferView.C:
5603         * Bullet.C:
5604         * ColorHandler.C:
5605         * FontInfo.C:
5606         * FontLoader.C:
5607         * LColor.C:
5608         * LaTeXFeatures.C:
5609         * Painter.C:
5610         * gettext.C:
5611         * lyx_gui_misc.C:
5612         * lyxserver.C:
5613         * vspace.C: removed // -*- C++ -*- as first line.
5614
5615         * lyxfind.h:
5616         * version.h: added // -*- C++ -*- as first line.
5617
5618 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5619
5620         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
5621
5622         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
5623         of string
5624
5625 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5626
5627         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
5628         of floats.
5629
5630 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5631
5632         * gettext.C: include LString.h even when --disable-nls is on.
5633
5634 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
5635
5636         * converter.h (Get): changed argument type from int to
5637         FormatList::size_type to avoid unnecessary conversion.
5638
5639         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
5640         before using it.
5641
5642 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5643
5644         * gettext.h: include LString.h even when --disable-nls is on.
5645
5646 2001-06-07  Juergen Vigna  <jug@sad.it>
5647
5648         * text.C (BreakAgain): subst spaces with tabs.
5649
5650         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
5651         (resizeInsetsLyXText): set force on resizeLyXText.
5652
5653 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5654
5655         * gettext.h (gettext_init):
5656         (locale_init): use a real definition instead of a macro
5657
5658 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
5659
5660         * Bufferview_pimpl.C:
5661         * LColor.h:
5662         * LColor.C: further lcolor tidies
5663
5664 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5665
5666         * BufferView_pimpl.C (updateScrollbar): simplify.
5667
5668         * BufferView2.C: don't include insets/insetinfo.h, change
5669         prototype for insertInset and call the Pimpl version. let
5670         updateInset call Pimpl version.
5671
5672         * BufferView.h: move inset_slept to BufferView::Pimpl, move
5673         gotoInset to BufferView::Pimpl
5674
5675 2001-06-01  Juergen Vigna  <jug@sad.it>
5676
5677         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
5678         inside a LockingInset (is the update needed at all?).
5679
5680 2001-05-31  Juergen Vigna  <jug@sad.it>
5681
5682         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
5683         here not the old one otherwise how should we compare it afterwards
5684         if it's the same!
5685
5686 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5687
5688         * lyxfont.C:
5689         * tabular.C:
5690         * tabular-old.C:
5691         * FontInfo.C: bring C functions into global namespace when
5692         necessary
5693
5694 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5695
5696         * LString.h: make sure config.h has been loaded before LString.h.
5697
5698         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
5699         (one for each char read by EatLine!).
5700
5701         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
5702         variables.
5703
5704 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5705
5706         * paragraph.C (BreakParagraph): set the inset_owner in the new par
5707         to the same as the par we break from
5708
5709 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5710
5711         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
5712
5713         * MenuBackend.C (expand): also create menu entries for wide
5714         versions of the floats.
5715
5716         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
5717
5718         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
5719
5720         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
5721         frontends/Makefile.am
5722
5723         * text2.C: adjust
5724         * text.C: adjust
5725
5726
5727         * tabular.C (getTokenValue): add std::
5728
5729         * tabular-old.C (getTokenValue): add std::
5730         (getTokenValue): ditto
5731         (getTokenValue): ditto
5732
5733         * screen.C (ToggleSelection): adjust
5734
5735         * lyxtext.h: put selection cursors inside a Selection struct.
5736
5737         * lyxfunc.C (moveCursorUpdate): adjust
5738
5739         * lyxfont.C (latexWriteStartChanges): add std::
5740
5741         * lyxfind.C: adjust
5742
5743         * font.h: delete with(char const *, LyXFont const &)
5744
5745         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
5746
5747         * FontInfo.C (getFontname): add std::
5748
5749         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5750         (workAreaButtonPress): adjust
5751         (tripleClick): adjust
5752         (update): adjust
5753         (moveCursorUpdate): adjust
5754         (Dispatch): adjust
5755
5756         * BufferView2.C (gotoInset): adjust
5757
5758 2001-05-30  Juergen Vigna  <jug@sad.it>
5759
5760         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
5761         to check pspell I add this as default as I now have new pspell
5762         libraries and they seem to use this.
5763
5764 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5765
5766         * text2.C (CutSelection): make the cursor valid before the call to
5767         ClearSelection.
5768
5769 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5770
5771         * kbsequence.C (parse): de-uglify a bit the parsing code, which
5772         relied on 0 terminated strings and other horrors. Bug found due to
5773         the new assert in lyxstring!
5774
5775         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
5776         KP_ keys.
5777
5778 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5779
5780         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
5781         to latinkeys.bind.
5782
5783         * lyxfunc.C (processKeySym): change method of getting to the
5784         self-insert char.
5785
5786         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
5787         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
5788         * BufferView_pimpl.[Ch]: here as private methods.
5789
5790 2001-05-28  Juergen Vigna  <jug@sad.it>
5791
5792         * text.C (SetHeightOfRow): added the update() call again as it is
5793         needed to initialize inset dimensions!
5794
5795 2001-05-16  Juergen Vigna  <jug@sad.it>
5796
5797         * text2.C (SetCharFont): Add new function with BufferView * and
5798         bool toggleall parameters for setting insets internal fonts.
5799         (SetFont): Freeze the undo as we may change fonts in Insets and
5800         all this change should be inside only one Undo!
5801
5802         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
5803         setting font's in insets as for them we have the SetFont function!
5804
5805 2001-05-15  Juergen Vigna  <jug@sad.it>
5806
5807         * text2.C (ClearSelection): to be sure we REALLY don't have any
5808         selection anymore!
5809
5810         * tabular.C (TeXCellPreamble): fixed the left border problem for
5811         multicolumn cells.
5812
5813 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
5814
5815         * LaTeX.C (deplog): Make sure that the main .tex file is in the
5816         dependancy file
5817
5818 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5819
5820         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
5821         LFUN_BREAKPARAGRAPH.
5822
5823         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
5824         help test to "internal only", similar for LFUN_INSERT_URL
5825
5826         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
5827         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
5828         auto_region_delete and deadkeys.
5829
5830 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
5831
5832         * LColor.h:
5833         * LColor.C: remove some dead entries, tidy a little
5834
5835 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5836
5837         * lyxfunc.C (processKeySym): comment the Escape handling, remove
5838         commented code.
5839         (Dispatch): implement LFUN_ESCAPE
5840
5841         * commandtags.h: add LFUN_ESCAPE
5842
5843         * LyXAction.C (init): add entry for LFUN_ESCAPE
5844
5845         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
5846         Remove commented code.
5847         (insertNote): moved here
5848         (open_new_inset): moved here
5849
5850         * BufferView[2].[Ch]: move insertNote and open_new_inset to
5851         BufferView_pimpl
5852
5853 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5854
5855         * kbmap.C (findbinding): clean it up and make it work correctly.
5856
5857         * lyx_main.C (init): do not pass argc and argv as parameters
5858
5859 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
5860
5861         * buffer.C: fix path for OS/2 & Win32
5862
5863         * lyx_gui.C:
5864         * lyx_main:
5865         * lyx_main.C: Added os:: class.
5866
5867         * os2_defines.h: update
5868
5869 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5870
5871         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
5872         better by trying again with reduced state.
5873
5874 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5875
5876         * lyxrc.C (read): print error about invalid key sequence only when
5877         debugging (because not all latinX keysyms are known to some X
5878         servers)
5879
5880         * kbsequence.C (getiso): add a few std:: qualifiers
5881         (getiso): comment out extra return statement.
5882
5883 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5884
5885         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
5886         handling.
5887         (Dispatch): enhance the accent inset a bit. (not perfect)
5888
5889 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5890
5891         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5892
5893 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5894
5895         * bufferlist.C (emergencyWrite): fix assert() call
5896
5897 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
5898
5899         * text.C (InsertChar): Added trivial patch to only send the "you
5900         can not do multiple spaces this way" message once during a
5901         session.
5902
5903 2001-05-08  Baruch Even  <baruch@lyx.org>
5904
5905         * Makefile.am: Changed order of libraries to get LyX to link properly
5906         with the gnome frontend.
5907
5908 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5909
5910         * LaTeXFeatures.h: add a std:: qualifier
5911
5912 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5913
5914         * paragraph.C (String): use stringstream
5915
5916 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5917
5918         * paragraph.C (writeFile): remove footflag arg
5919
5920         * buffer.C (makeLaTeXFile): use stringstream
5921         (latexParagraphs): remove footnot gurba
5922
5923         * LaTeXFeatures.C (getPackages): use stringstream
5924         (getMacros): likewise
5925         (getTClassPreamble): likewise
5926         (getFloatDefinitions): new method
5927
5928         * paragraph.C (writeFile): reindent
5929         (Erase): reindent
5930
5931         * WorkArea.h: revert the xpos + etc changes.
5932
5933         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
5934
5935         * lyxparagraph.[Ch]: add copy constructor, remove Clone
5936
5937         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
5938         (pasteSelection): likewise
5939         * text2.C (CreateUndo): likewise
5940
5941 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5942
5943         * minibuffer.C (peek_event): temporarily reduce the functionality
5944         of the minibuffer (to allow args on lfuns)
5945
5946         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
5947         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
5948
5949         * buffer.C (readInset): add compability reading of old float
5950         lists, add reading of new style float list.
5951         (readInset): avoid reevaluation of inscmd.getCmdName()
5952         (getLists): reindent
5953
5954         * MenuBackend.C (MenuItem): implement parsing of
5955         md_floatlistinsert and md_floatinsert.
5956         (expand::LastFiles): move initalizaton of iterators out of loop,
5957         avoid reevaluation.
5958         (expand::Documents): introduce typdedef vector<string> Strings,
5959         and use it.
5960         (expand::ExportFormats): introduce typedef vector<Format const *>
5961         Formats, and use it.
5962         (expand): implement FloatListInsert and FloatInsert.
5963
5964         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
5965         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
5966         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
5967
5968         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
5969         handling.
5970         (Dispatch::LFUN_FLOAT_LIST): implement
5971
5972 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5973
5974         * LaTeX.C (run): Fix problem with --export code.
5975
5976 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
5977
5978         * BufferView.[Ch] (workarea): removed.
5979         (getClipboard) new method; wrapper for workarea()->getClipboard()
5980
5981         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
5982         bug.
5983
5984         * WorkArea.h (width, height, xpos, ypos): These methods all
5985         returned the dimensions of the work_area sub-area of WorkArea,
5986         resulting in a position error if the WorkArea were resized. Now
5987         return the dimensions of the entire WorkArea.
5988
5989         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
5990
5991 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5992
5993         * LaTeX.C (deplog): correct the syntax of regex reg1
5994
5995 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5996
5997         * undo.C: remove !NEW_INSETS cruft
5998
5999 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6000
6001         * text2.C: remove !NEW_INSETS cruft
6002
6003         * text.C: remove !NEW_INSETS cruft
6004
6005         * tabular.C: remove !NEW_INSETS cruft
6006
6007         * spellchecker.C: remove !NEW_INSETS cruft
6008
6009         * lyxtext.h: remove !NEW_INSETS cruft
6010
6011         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6012
6013         * lyxfunc.C: remove !NEW_INSETS cruft
6014
6015         * lyxfind.C: remove !NEW_INSETS cruft
6016
6017         * lyx_cb.C: remove !NEW_INSETS cruft
6018
6019         * figureForm.C: remove  !NEW_INSETS cruft
6020
6021         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6022
6023         * buffer.[Ch]: remove !NEW_INSETS cruft
6024
6025         * ToolbarDefaults.C: remove !NEW_INSETS cruft
6026
6027         * CutAndPaste.C: remove !NEW_INSETS cruft
6028
6029         * BufferView_pimpl.C: remove !NEW_INSETS cruft
6030
6031         * BufferView2.C: remove !NEW_INSETS cruft
6032
6033         * BufferView.h: remove !NEW_INSETS cruft
6034
6035 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6036
6037         * Lsstream.h: include LString.h before the sstream headers to
6038         fix problem with gcc 2.95.3 and lyxstring
6039
6040 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6041
6042         * lyx_main.C: add using directives when needed for C functions
6043         declared in std:: namespace.
6044
6045 2001-04-27  Juergen Vigna  <jug@sad.it>
6046
6047         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6048         (SetHeightOfRow): comment out the update call should not be needed!
6049
6050 2001-04-13  Juergen Vigna  <jug@sad.it>
6051
6052         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6053         (LyXTabular): tried to minimize operator= operations (and realized
6054         hopfully Lars wish).
6055
6056 2001-04-27  Juergen Vigna  <jug@sad.it>
6057
6058         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6059
6060 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6061
6062         * lyxfunc.C (Dispatch): hack to make listof algorithm work
6063
6064         * buffer.C (readInset): hack to make listof algorithm work
6065
6066         * BufferView_pimpl.C: hack to make listof algorithm work
6067
6068 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6069
6070         * LyXAction.C: removed all !NEW_INSETS cruft
6071         (init): moved lfun_item in method
6072
6073         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6074
6075 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
6076
6077         * BufferView2.C (theLockingInset): white space.
6078
6079 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6080
6081         * minibuffer.C: include <iostream>
6082
6083         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6084
6085         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6086
6087         * commandtags.h: add LFUN_TRANSPOSE_CHARS
6088
6089         * text.[Ch] (TransposeChars): new method
6090
6091 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6092
6093         * call message directly through LyXView instead of through LyXFunc
6094         * BufferView2.C: adjust
6095         * BufferView_pimpl.C: adjust
6096         * FontLoader.C: adjust
6097         * buffer.C: adjust
6098         * bufferview_funcs.C: adjust
6099         * converter.C: adjust
6100         * figureForm.C: adjust
6101         * importer.C: adjust
6102         * lyx_cb.C: adjust
6103         * lyx_gui_misc.C: adjust
6104         * lyxfunc.C: adjust
6105         * lyxvc.C: adjust
6106         * text2.C: adjust
6107         + more files in subdirs
6108
6109         * lyxparagraph.h (size): move up int file
6110         (GetLayout): ditto
6111
6112         * adjust all uses of Assert to lyx::Assert.
6113
6114         * BufferView2.C (ChangeCitationsIfUnique): adjust for
6115         lyxfunctional in namespace lyx
6116         * layout.C (hasLayout): ditto
6117         (GetLayout): ditto
6118         (GetLayout): ditto
6119         (delete_layout): ditto
6120         (NumberOfClass): ditto
6121         * converter.C (GetFormat): ditto
6122         (GetNumber): ditto
6123         (Add): ditto
6124         (Delete): ditto
6125         (SetViewer): ditto
6126         * bufferlist.C (getFileNames): ditto
6127         (emergencyWriteAll): ditto
6128         (exists): ditto
6129         (getBuffer): ditto
6130         * MenuBackend.C (hasSubmenu): ditto
6131         (hasMenu): ditto
6132         (getMenu): ditto
6133         * BufferView_pimpl.C (getInsetByCode): ditto
6134
6135 2001-04-18  Juergen Vigna  <jug@sad.it>
6136
6137         * vspace.C (asLatexString): fixed the 100% problem.
6138
6139 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6140
6141         * lyxfunc.C (Dispatch):
6142         * minibuffer.C:
6143         * minibuffer.h: add a few std:: qualifiers
6144
6145 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6146
6147         * minibuffer.[Ch]: reimplement so that commands is initiated and
6148         run from lyxfunc, simplified som handling, and made the completion
6149         and history code for complete. wip.
6150
6151         * lyxfunc.C (processKeySym): call message
6152         (miniDispatch): new temporary method
6153         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6154         (LFUN_MESSAGE): implement
6155         (LFUN_MESSAGE_PUSH): implement
6156         (LFUN_MESSAGE_POP): implement
6157         (initMiniBuffer): the initial/defualt minibuffer message.
6158
6159         * lyxfont.[Ch]: inline some more getters
6160
6161         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6162
6163         * lyx_gui_misc.[Ch] (WriteStatus): remove method
6164
6165         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6166         (AutoSave): use LFUN_MESSAGE
6167         (Reconfigure): ditto
6168
6169         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6170
6171         * figureForm.C: use LFUN_MESSAGE
6172
6173         * converter.C (runLaTeX): use LFUN_MESSAGE
6174
6175         * bufferview_funcs.C: use LFUN_MESSAGE
6176         (Melt): ditto
6177         (changeDepth): ditto
6178
6179         * bufferparams.h: use boost::
6180
6181         * bufferlist.h: inherit privately from noncopyable
6182
6183         * bufferlist.C (loadLyXFile): remove some commented code.
6184
6185         * buffer.C (runChktex): use LFUN_MESSAGE
6186
6187         * ShareContainer.h: inherit privately from noncopyable
6188
6189         * ParagraphParameters.[hC] (depth): inline it.
6190
6191         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6192         methods.
6193         (message): new method
6194         (messagePush): ditto
6195         (messagePop): ditto
6196         (show): init minibuffer
6197         (showState): direct call
6198
6199         * LaTeX.[Ch]: inherit privately from noncopyable
6200         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6201         instead of WriteStatus.
6202
6203         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6204
6205         * BufferView_pimpl.C (buffer): don't init minibuffer
6206         (workAreaButtonPress): use LFUN_MESSAGE
6207         (workAreaButtonRelease): ditto
6208         (savePosition): ditto
6209         (restorePosition): ditto
6210         (MenuInsertLyXFile): ditto
6211         (workAreaExpose): don't init minibuffer
6212         (update): remove commented code, simplify
6213
6214         * BufferView2.C (openStuff): use LFUN_MESSAGE
6215         (toggleFloat): ditto
6216         (menuUndo): ditto
6217         (menuRedo): ditto
6218         (copyEnvironment): ditto
6219         (pasteEnvironment): ditto
6220         (copy): ditto
6221         (cut): ditto
6222         (paste): ditto
6223         (gotoInset): ditto
6224         (updateInset): remove some commented code
6225
6226         * lastfiles.h: inherit privately from noncopyable
6227         * layout.h: ditto
6228         * lyx_gui.h: ditto
6229         * lyx_main.h: ditto
6230         * lyxlex.h: ditto
6231         * lyxlex_pimpl.h: ditto
6232
6233         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6234         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6235         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6236
6237         * LyXAction.h: inherit privately from noncopyable, add methods
6238         func_begin, func_end, returning iterators to the func map.
6239
6240         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6241         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6242         (func_begin): new method
6243         (func_end): new method
6244
6245         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
6246         and not)
6247         (copySelection): ditto
6248         (pasteSelection): ditto
6249
6250         * BufferView.C: whitespace change
6251         * BufferView.h: inherit privately from noncopyable
6252
6253 2001-04-16  Allan Rae  <rae@lyx.org>
6254
6255         * tabular-old.C (l_getline):
6256         * spellchecker.C (sc_check_word):
6257         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
6258         an unrecognised preprocessor directive.  So ensure they're wrapped.
6259
6260 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
6261
6262         * src/exporter.C (Export): Give an error message when path to file
6263         contains spaces.
6264
6265 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
6266
6267         * LaTeX.C (deplog): Always check that foundfile exists.
6268
6269 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6270
6271         * lyx_main.h:
6272         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
6273
6274 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6275
6276         * tabular.[Ch] (getLabelList): implement new method
6277
6278         * minibuffer.h: comment ouf setTiimer
6279
6280         * minibuffer.C (ExecutingCB): constify res
6281         (peek_event): constify s
6282         (Set): constify ntext
6283         (Init): constify nicename
6284
6285         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
6286
6287         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
6288         (savePosition): use two params to Minibuffer::Set
6289         (restorePosition): ditto
6290
6291 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6292
6293         * lyx_main.C: include language.h
6294
6295         * Makefile.am (lyx_main.o): add language.h
6296
6297 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6298
6299         * exporter.C:
6300         * paragraph.C:
6301         * screen.C:
6302         * tabular.C:
6303         * CutAndPaste.C: include gettext.h
6304
6305         * lyxfont.h: remove old hack with ON and OFF.
6306
6307         * lyxparagraph.h:
6308         * lyxfont.h: do not include language.h...
6309
6310         * BufferView2.C:
6311         * LaTeXFeatures.C:
6312         * Painter.C:
6313         * bufferview_funcs.C:
6314         * font.C:
6315         * lyxfont.C:
6316         * text.C:
6317         * text2.C:
6318         * trans_mgr.C:
6319         * paragraph.C: ... but do it here instead
6320
6321 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6322
6323         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
6324
6325         * tabular.C: small reformat
6326
6327         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
6328         NEW_INSETS version
6329         (GetChar): ditto
6330         (BreakParagraph): ditto
6331         (SetOnlyLayout): ditto
6332         (SetLayout): ditto
6333
6334         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
6335         with one arg less.
6336
6337         * lastfiles.C: removed most using decl, add std:: where needed
6338
6339         * buffer.C: ws changes
6340
6341         * MenuBackend.C (class compare_format): put into anon namespace
6342         (expand): constify label, names, action, action2
6343         (expand):
6344
6345         * text.C (SingleWidth): constify font
6346         (IsBoundary): constify rtl2
6347         (GetVisibleRow): constify ww
6348
6349         * LaTeX.C (deplog): constify logfile
6350
6351         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
6352         start_x, end_x
6353         (workAreaExpose): constify widthChange, heightChange
6354
6355         * lyxrow.C (par): moved
6356         (height): moved
6357         (next): moved
6358         * lyxrow.h: as inlines here
6359
6360         * lyxfont.h (shape): moved from lyxfont.C
6361         (emph): moved from lyxfont.C
6362
6363         * lyxfont.C (LyXFont): use initialization list for all
6364         constructors
6365         (shape): move to lyxfont.h as inline
6366         (emph): move to lyxfont.h as inline
6367
6368
6369 2001-04-04  Juergen Vigna  <jug@sad.it>
6370
6371         * vspace.C: had to include stdio.h for use of sscanf
6372
6373 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
6374
6375         * BufferView.h:
6376         * BufferView_pimpl.h: remove xforms cruft. Both classes are
6377         independent of xforms.
6378
6379 2001-04-02  Juergen Vigna  <jug@sad.it>
6380
6381         * spellchecker.C: fixed namespace placing!
6382
6383 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
6384
6385         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
6386         the LyXParagraph * is 0.
6387
6388 2001-03-29  Juergen Vigna  <jug@sad.it>
6389
6390         * vspace.C: added support for %, c%, p%, l%.
6391         (stringFromUnit): added helper function.
6392         (asLatexString): changed to give right results for the %-values.
6393
6394         * buffer.C: convert the widthp in a width%.
6395
6396 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
6397
6398         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
6399         figureForm.[Ch].
6400
6401         * figureForm.[Ch]: stripped the FD_from_figure manipulation
6402         code out of lux_cb.[Ch], ready for its (imminent?) removal.
6403
6404         * lyx_cb.[Ch]: see above.
6405
6406         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
6407         form1.[Ch].
6408
6409         * form1.[Ch]:
6410         * lyx.[Ch]: replaced by figure_form.[Ch].
6411
6412         * lyx_gui.C:
6413         * lyx_gui_misc.C:
6414         * lyxfunc.C: changed headers associated with above changes.
6415
6416 2001-03-27  Juergen Vigna  <jug@sad.it>
6417
6418         * BufferView_pimpl.C: set the temporary cursor right!
6419
6420 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
6421
6422         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
6423
6424 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
6425
6426         * LString.h: removed "using std::getline"!
6427
6428         * BufferView_pimpl.C (Dispatch): changes due to changes in
6429         InsetInclude::Params.
6430
6431         * buffer.C (tag_name): removed redundant break statements as they were
6432         producing lots of warnings with my compiler.
6433
6434 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6435
6436         * LString.h: add "using std::getline" when using the real <string>.
6437
6438 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
6439
6440         * buffer.C: removed bitset usage.
6441         PAR_TAG moved to an anonymous name space.
6442         (tag_name): new funtion, also in the anonymous namespace.
6443         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
6444         (makeDocBookFile): clean code. Completed transition from string arrays
6445         to string vectors.
6446         (SimpleDocBookOnePar): code clean.
6447
6448 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6449
6450         * tabular.C: add some comments.
6451
6452 2001-03-22  Juergen Vigna  <jug@sad.it>
6453
6454         * buffer.C (parseSingleLyXformat2Token): redone the minipage
6455         compatibility read a bit and fixed bug with minipage in different
6456         depth.
6457
6458 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
6459
6460         * buffer.C (pop_tag): removed.
6461         (push_tag): removed.
6462         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
6463         array replaced with vector. Added support for CDATA sections.
6464         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
6465         at any nest level.
6466         (makeDocBookFile): XML conformant declaration of CDATA section,
6467         fixed bug related to <emphasis> in the first paragraph char.
6468         (sgmlOpenTag): exclude empty tags.
6469         (sgmlCloseTag): ditto.
6470
6471         * buffer.h (pop_tag): removed.
6472         (push_tag): removed.
6473
6474 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
6475
6476         * language.h (Languages): added size_type and size().
6477
6478 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6479
6480         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
6481         response on compability reading of minipages. One probliem is that
6482         the old usage of minipages was «flertydig»
6483
6484         * several files here and in subdirs: don't use static at file
6485         scope use anon namespaces instead.
6486
6487 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
6488
6489         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
6490         LaTeX output. This is necessary for Literate document
6491         processing.
6492
6493 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6494
6495         * buffer.C: insert hfill when needed.
6496
6497         * tabular.C (l_getline): use string::erase, small whitespace change.
6498
6499         * BufferView_pimpl.C: try the anon namespace.
6500         * WorkArea.C: ditto
6501
6502 2001-03-16  Juergen Vigna  <jug@sad.it>
6503
6504         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
6505         otherwise it won't open options-dialogs.
6506
6507         * buffer.C: honor pextraWidth(p) on converting minipages.
6508
6509         * tabular.C (l_getline): changed the functions to strip trailing \r.
6510
6511 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
6512
6513         * BufferView_pimpl.C:
6514         * minibuffer..C: added "using SigC::slot" declaration.
6515
6516 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6517
6518         * lyxlex_pimpl.h: noncopyable is in namespace boost.
6519
6520         * text2.C: ditto
6521
6522         * text.C: ditto
6523
6524         * paragraph.C: ditto
6525
6526         * lyxtext.h: NO_PEXTRA
6527
6528         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
6529
6530         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
6531         * ParameterStruct.h: ditto
6532         * ParagraphParameters.h: ditto
6533         * lyxparagraph.h: ditto
6534
6535 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6536
6537         * buffer.C: add compability for minipage alignment.
6538         (latexParagraphs): remove unwanted pextra check.
6539
6540         * several files: remove CXX_WORKING_NAMESPACES
6541
6542         * buffer.C (pop_tag): tie is in namespace boost
6543
6544         * BufferView.h: noncopyable is in namespace boost
6545         * lyxlex.h: ditto
6546         * lyx_main.h: ditto
6547         * lyx_gui.h: ditto
6548         * layout.h: ditto
6549         * lastfiles.h: ditto
6550         * bufferlist.h: ditto
6551         * ShareContainer.h: ditto
6552         * LyXView.h: ditto
6553         * LyXAction.h: ditto
6554         * LaTeX.h: ditto
6555
6556 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
6557
6558         * Merging changes from BRANCH_MVC back into HEAD.
6559
6560         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
6561
6562 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
6563
6564         * BufferView_pimpl.C: change from intl.C
6565
6566         * combox.h:
6567         * combox.C:
6568         * Makefile.am: move combox.*
6569
6570         * form1.h:
6571         * form1.C:
6572         * lyx_gui.C:
6573         * intl.h:
6574         * intl.C: remove dialog (covered by prefs)
6575
6576 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
6577
6578         * lyxfunc.C (Dispatch): removed redundant break statement.
6579
6580 2001-03-14  Juergen Vigna  <jug@sad.it>
6581
6582         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
6583
6584 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6585
6586         * buffer.C: add hack to fix compability reading of minipages.
6587
6588 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
6589
6590         * buffer.C (getLists): Cleanup.
6591
6592 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6593
6594         * lyxfont.C (update): don't honor toggleall on font size.
6595
6596 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
6597
6598         * bmtable.c:
6599         * bmtable.h:
6600         * Makefile.am: moved to frontends/xforms/
6601
6602         * lyx_gui_misc.C:
6603         * lyxfunc.C:
6604         * BufferView_pimpl.C: changes for moved mathpanel
6605
6606 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * gettext.h: fix gettext_init() in --disable-nls
6609
6610 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6611
6612         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
6613
6614 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
6615
6616         * lyx.C:
6617         * lyx.h: strip external form
6618
6619 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
6620
6621         * BufferView_pimpl.C: add comment, destroySplash()
6622
6623 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
6624
6625         * BufferView_pimpl.C:
6626         * LyXAction.C:
6627         * buffer.C:
6628         * commandtags.h:
6629         * lyxfunc.C: use re-worked insetinclude
6630
6631 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6632
6633         * buffer.C: add using std::stringstream.
6634
6635         * lyx_cb.C: readd using std::ios.
6636
6637         * buffer.C: add using std::map.
6638
6639         * BufferView_pimpl.C: add using std::vector.
6640
6641         * ShareContainer.h: add std:: to swap.
6642
6643         * buffer.h: add some typedefs
6644         * buffer.C (getLists): use them
6645         (getLists): renamed from getTocList.
6646         add a counter for the different float types and use it in the
6647         generated string.
6648         (getLists): use the same counter for the NEW_INSETS and the "non"
6649         NEW_INSETS
6650
6651         * lyx_cb.h: remove unused items, includes, using etc.
6652
6653         * ShareContainer.h: remove some commented code, add more comments
6654         and "documentation".
6655
6656 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6657
6658         * buffer.C (getTocList): make the list also when NEW_INSETS is
6659         defined.
6660
6661         * buffer.h: remove TocType
6662
6663         * buffer.C (getTocList): change to return a map<string,
6664         vector<TocItem> >, implement for dynamic number of list.
6665
6666         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
6667         * text2.C (PasteSelection): adjust
6668         * CutAndPaste.C (pasteSelection): adjust
6669
6670         * FloatList.C (FloatList): update from the new_insets branch.
6671         * Floating.[Ch]: ditto
6672         * LaTeXFeatures.C: ditto
6673         * buffer.C: ditto
6674         * lyxlex_pimpl.C: ditto
6675
6676         * paragraph.C (Last): remove when NEW_INSETS is defined.
6677
6678         * other file: changes because of the above.
6679
6680 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6681
6682         * lyxparagraph.h: rename next to next_, previous to previous_,
6683         make them private for NEW_INSETS. Rename Next() to next(),
6684         Previous() to previous().
6685
6686         * other files: changes because of the above.
6687
6688 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
6689
6690         * BufferView.h:
6691         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
6692         problem.
6693
6694 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6695
6696         * main.C (main): pass lyx_localedir to gettext_init().
6697
6698         * gettext.h: remove locale_init and gettext_init macros
6699
6700         * gettext.C (locale_init): new function
6701         (gettext_init): new function
6702
6703         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
6704         setlocale().
6705
6706 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
6707
6708         * Moved credits to frontends:
6709         * credits.[Ch]: removed
6710         * credits_form.[Ch]: removed
6711         * lyx_gui_misc.C: remove credits stuff
6712         * Makefile.am:
6713
6714 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6715
6716         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
6717
6718         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
6719         unneeded destructor.
6720
6721         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
6722         a standalone pointer again.
6723
6724         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
6725
6726 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
6727
6728         * Makefile.am:
6729         * filedlg.h:
6730         * filedlg.C:
6731         * LyXAction.C:
6732         * ToolbarDefaults.C:
6733         * bufferlist.C:
6734         * commandtags.h:
6735         * form1.C:
6736         * form1.h:
6737         * lyx_cb.C:
6738         * lyx_cb.h:
6739         * lyxfunc.h:
6740         * lyxfunc.C:
6741         * BufferView_pimpl.C: use new file dialog in GUII
6742
6743         * lyx_cb.h:
6744         * lyx_cb.C: remove LayoutsCB to Toolbar
6745
6746 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6747
6748         * ShareContainer.h (get): add std:: qualifier
6749
6750 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6751
6752         * ShareContainer.h: define a proper ShareContainer::value_type
6753         type (and use typename to please compaq cxx)
6754
6755 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6756
6757         * lyxparagraph.h: move serveral local vars to
6758         ParameterStruct/ParagraphParameters., use ShareContainer in
6759         FontTable., make vars in FontTable private and add getter and
6760         setter.
6761
6762         * paragraph.C: changes because of the above.
6763
6764         * lyxfont.h: remove copy constructor and copy assignment. (the
6765         default ones is ok), move number inside FontBits. move inlines to
6766         lyxfont.C
6767
6768         * lyxfont.C: add number to initializaton of statics, move several
6769         inlines here. constify several local vars. some whitespace
6770         cleanup. Dont hide outerscope variables.
6771
6772         * Spacing.h: add two new constructors to match the set methods.
6773
6774         * ShareContainer.h: new file, will perhaps be moved to support
6775
6776         * ParameterStruct.h: new file
6777
6778         * ParagraphParameters.h: new file
6779
6780         * ParagraphParameters.C: new file
6781
6782         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
6783         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
6784
6785         * BufferView_pimpl.C: ParagraphParameter changes.
6786         * buffer.C: Likewise.
6787         * bufferview_funcs.C: Likewise.
6788         * text.C: Likewise.
6789         * text2.C: Likewise.
6790
6791 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6792
6793         * lyxfind.C (LyXReplace): do not redefine default argument in
6794         implementation.
6795         (IsStringInText): ditto
6796         (SearchForward): ditto
6797         (SearchBackward): ditto
6798
6799 2001-03-06  Juergen Vigna  <jug@sad.it>
6800
6801         * lyxfind.C (IsStringInText): put parentes around expressions.
6802
6803 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
6804
6805         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
6806
6807 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
6808
6809         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
6810
6811         * stl_string_fwd.h: add comment
6812
6813         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
6814
6815         * tabular.h:
6816         * tabular.C: remove unused DocBook methods
6817
6818         * intl.C:
6819         * language.C:
6820         * paragraph.C:
6821         * buffer.C:
6822         killed DO_USE_DEFAULT_LANGUAGE
6823
6824 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6825
6826         * lyx_gui.C: do not include language.h.
6827
6828         * bufferview_funcs.C (ToggleAndShow): do not provide optional
6829         arguments in function implementation.
6830
6831 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6832
6833         * BufferView_pimpl.C: add <ctime>
6834
6835 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6836
6837         * BufferView_pimpl.C: add using std::find_if
6838
6839 2001-02-27  José Matos  <jamatos@fep.up.pt>
6840
6841         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
6842         by OnlyPath.
6843
6844 2001-02-11  José Matos  <jamatos@fep.up.pt>
6845
6846         * buffer.C (makeDocBookFile): command styles now have a parameter as
6847         "title" by default.
6848
6849 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
6850
6851         * layout_forms.[Ch]: removed
6852         * lyx_cb.[Ch]: out character
6853         * lyx_gui.C: out character
6854         * lyx_gui_misc.C: out character
6855         * bufferview_funcs.C: : out character,
6856         added toggleall as parameter in ToggleAndShow
6857
6858 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
6859
6860         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
6861
6862         * text2.C (SetCurrentFont): Disable number property at boundary.
6863
6864 2001-02-26  Juergen Vigna  <jug@sad.it>
6865
6866         * lyxfunc.C (getStatus): added a string argument override function so
6867         that this is correctly called from LyXFunc::Dispatch if it contains a
6868         do_not_use_argument which is used!
6869         (Dispatch): added check for "custom" export and call appropriate func.
6870
6871 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
6872
6873         * lyxrc.C: Add language_command_local, language_use_babel and
6874         language_global_options.
6875
6876         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
6877
6878         * buffer.C (makeLaTeXFile): Use language_use_babel and
6879         language_global_options.
6880
6881 2001-02-23  Juergen Vigna  <jug@sad.it>
6882
6883         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
6884         which works with LyXText and putted it inside BufferView. Here now we
6885         only call for that part the BufferView::Dispatch() function.
6886
6887         * BufferView.C (Dispatch): added.
6888
6889         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
6890         functions which needs to use a LyXText over from LyXFunc.
6891         (MenuInsertLyXFile): added
6892         (getInsetByCode): added
6893         (moveCursorUpdate): added
6894         (static TEXT): added
6895
6896 2001-02-22  Juergen Vigna  <jug@sad.it>
6897
6898         * BufferView_pimpl.C (update): call a status update to see if LyXText
6899         needs it.
6900
6901 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6902
6903         * vc-backend.C (revert): implement for CVS
6904         (getLog): implement for CVS
6905
6906 2001-02-20  Juergen Vigna  <jug@sad.it>
6907
6908         * text2.C (ClearSelection): added BufferView param for inset_owner call
6909
6910         * lyxfunc.C (TEXT): added this function and use it instead of
6911         directly owner->view()-text of getLyXText().
6912
6913 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
6914
6915         * src/layout_forms.C: out preamble
6916         * src/layout_forms.h: out preamble
6917         * src/lyx_cb.C: out preamble
6918         * src/lyx_cb.h: out preamble
6919         * src/lyx_gui.C: out preamble
6920         * src/lyx_gui_misc.C: out preamble
6921         * src/lyxfunc.C: connect with guii preamble
6922
6923 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
6924
6925         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
6926
6927 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
6928
6929         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
6930         whether to run bibtex.
6931
6932 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
6933
6934         * Makefile.am (lyx_SOURCES): Remove BackStack.h
6935
6936 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6937
6938         * Makefile.am (lyx_SOURCES): removed bibforms.h
6939
6940         * vspace.h: doxygen
6941
6942         * text.C (GetVisibleRow): make several local vars const
6943
6944         * tabular.C: small cleanup.
6945
6946         * lyxserver.C (callback): use compare instead of strncmp
6947
6948         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
6949         inlines to after class or to paragraph.C
6950
6951         * lyxfont.h: remove friend operator!=
6952
6953         * converter.h: move friend bool operator< to non friend and after
6954         class def.
6955
6956         * combox.h: small cleanup
6957
6958         * buffer.h: doxygen, remove unused constructor, move inclas inlies
6959         to inlines after class def.
6960
6961         * buffer.C (pop_tag): use string operations instead of strcmp
6962
6963         * bmtable.c: doxygen, small cleanup
6964
6965         * LaTeX.h: remove friend operator==
6966
6967 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
6968
6969         * screen.C:
6970         * lyxrc.[Ch]:
6971         * lyxfunc.C:
6972         * lyxfont.[Ch]:
6973         * lyx_cb.C:
6974         * intl.[Ch]:
6975         * commandtags.h:
6976         * buffer.C:
6977         * WorkArea.[Ch]:
6978         * LyXAction.C:
6979         * BufferView_pimpl.C:
6980         * BufferView.[Ch]: remove cruft
6981
6982 2001-02-14  Juergen Vigna  <jug@sad.it>
6983
6984         * lyxfunc.C: removed #if 0 unused code
6985
6986         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
6987
6988         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
6989
6990         * text2.C (SetSelection): added a BufferView * parameter
6991
6992 2001-02-13  Juergen Vigna  <jug@sad.it>
6993
6994         * lyxfunc.C (Dispatch): fixed protected blank problem.
6995         * BufferView2.C (protectedBlank): added LyxText * parameter.
6996
6997         * tabular.C (AppendRow): forgot to set row_info of newly added row.
6998         (AppendColumn): same as above for column_info.
6999
7000         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7001         (moveCursorUpdate): use a LyXText param for support of InsetText.
7002
7003         * BufferView_pimpl.C (doubleClick): added support for InsetText.
7004         (tripleClick): ditto
7005
7006         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7007
7008         * BufferView_pimpl.C (update): added LyXText param to honor insets.
7009
7010         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7011
7012         * text2.C (SetSelection): set correct update status if inset_owner
7013         (ToggleFree): ditto
7014
7015 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
7016
7017         * tabular.C: remove some commented code.
7018
7019 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * BufferView_pimpl.C: call hideSplash()
7022
7023         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7024
7025         * include_form.h:
7026         * bibforms.h: remove
7027
7028         * lyxfunc.C:
7029         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7030           add LFUN_CHILD_CREATE
7031
7032         * counters.h: fix tiny typo
7033
7034         * lyx_cb.C:
7035         * lyx.h:
7036         * lyx_gui.C:
7037         * lyx.C: move splash to frontends/xforms/
7038
7039         * lyx_gui_misc.C: move Include and Bibform to frontends
7040
7041         * lyxvc.h: clarify comment
7042
7043         * vspace.C: tiny housekeeping
7044
7045 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
7046
7047         * text.C (PrepareToPrint): RTL Fix.
7048
7049         * paragraph.C (GetUChar): New method.
7050         (String):  Use GetUChar.
7051
7052         * buffer.C (asciiParagraph): Use GetUChar.
7053
7054 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
7055
7056         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7057
7058 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
7059
7060         * buffer.h:
7061         * buffer.C: rename to getLogName(), handle
7062           build log / latex log nicely
7063
7064 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7065
7066         * MenuBackend.C:
7067         * MenuBackend.h: remove support for reference menuitem type.
7068
7069 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
7070
7071         * BufferView_pimpl.C: housekeeping
7072         * BufferView_pimpl.h:
7073         * LyXView.h:
7074         * Makefile.am:
7075         * Timeout.C:
7076         * Timeout.h:
7077         * minibuffer.h: move Timeout GUI-I
7078
7079 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
7080
7081         * lyxrc.C (read): Update converters data-structures.
7082
7083 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
7084
7085         * LaTeX.h (operator!=): add operator != for Aux_Info
7086
7087 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
7088
7089         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7090
7091         * LaTeXLog.C: deleted, useful code moved to Buffer
7092
7093         * buffer.h:
7094         * buffer.C: new function getLatexLogName()
7095
7096         * lyx_gui_misc.C:
7097         * lyx_gui.C:
7098         * lyxvc.C:
7099         * lyxvc.h:
7100         * lyxfunc.C: use frontends for LaTeX and VC logs
7101
7102 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7103
7104         * LaTeX.h: yet another std:: that Allan forgot.
7105
7106         * Variables.C (set): renamed from isset(), because this clashes
7107         with some HP-UX macros (grr).
7108
7109 2001-02-06  Allan Rae  <rae@lyx.org>
7110
7111         * LaTeX.h: Another bug fix.  Missing std:: this time.
7112
7113 2001-02-04  Allan Rae  <rae@lyx.org>
7114
7115         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7116         floats problem. I've left it commented out because it's not quite
7117         correct.  It should also test that the current object is a table or
7118         figure inset.  But I haven't gotten around to figuring out how to do
7119         that.  I *think* it'll be something like: "table" == inset.type()
7120
7121         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7122         bool.
7123
7124 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
7125
7126         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7127         all the citation/databases/styles in the auxilary file.
7128         (run): Rerun latex if there was a babel language error.
7129
7130 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * text.C (Backspace): Preserve the font when changing newline char
7133         with a space.
7134         (BreakParagraph): If the cursor is before a space, delete the space.
7135
7136         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7137
7138 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
7139
7140         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7141         new argument (code).
7142         (ChangeCitationsIfUnique): New method.
7143
7144         * paragraph.C (GetPositionOfInset): Handle bibkey.
7145
7146 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7147
7148         * BufferView_pimpl.h: change type of Position::par_pos to
7149         LyXParagraph::size_type.
7150
7151 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
7152
7153         * BufferView_pimpl.C (savePosition, restorePosition): Write
7154         messages to minibuffer.
7155
7156 2001-01-28  José Matos  <jamatos@fep.up.pt>
7157
7158         * buffer.C (makeDocBookFile): adds support for document language.
7159         A silly restriction on the name of LatexCommand types where removed.
7160         Added support for CDATA sections, allows to chars unescaped, used
7161         among others in code, to avoid escape < and >.
7162
7163 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
7164
7165         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7166         saved positions instrad of a stack. Furthermore, a position is
7167         stored using paragraph id/paragraph position.
7168
7169         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7170         Remove LFUN_REF_BACK.
7171
7172 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * converter.C (dvipdfm_options): New method.
7175
7176 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7177
7178         * vspace.C (isValidLength): Fix for empty input string.
7179
7180 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7181
7182         * LyXAction.C (init): change description of LFUN_FIGURE to
7183         "Insert Graphics"
7184
7185 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * LaTeX.C: add using directive
7188
7189 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
7190
7191         * MenuBackend.C (expand): Fix the sorting of the formats.
7192
7193 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
7194
7195         * lyx_main.C: tiny error message fix
7196
7197 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7198
7199         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7200         calling fl_initialize(). This fixes the problem with ',' as
7201         decimal separator in text files.
7202
7203 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
7204
7205         * trans.C (process): Fix the keymap bug.
7206
7207 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
7208
7209         * LaTeX.C (scanAuxFiles): New method. Provides support for
7210         multiple bibliographies (when using the bibtopic/bibunits pacakges).
7211         (scanLogFile) Scan for "run BibTeX" messages.
7212
7213         * buffer.C (makeLaTeXFile): Do not load the ae package when using
7214         OT1 font encoding. Also, load the aecompl package if the ae
7215         package is loaded.
7216
7217         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7218
7219 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7220
7221         * texrow.C (increasePos): turn two error messages into debug
7222         messages.
7223
7224 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
7225
7226         * LaTeX.C (scanAux): Handle the \@input macro.
7227         (runBibTeX): Use scanAux().
7228
7229         * language.C (latex_options_): New field.
7230
7231         * LaTeXFeatures.C (getMacros): Add language macros.
7232
7233         * buffer.C (makeLaTeXFile): Small fix.
7234
7235 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7236
7237         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7238
7239         * text2.C: add a using directive.
7240
7241 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
7242
7243         * BufferView2.C:
7244         * lyx_gui_misc.h:
7245         * lyxfr1.C:
7246         * lyxfunc.C: kill LyXBell.
7247
7248 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
7249
7250         * text.C (IsBoundary): Remove the error message
7251
7252         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
7253
7254         * lyxrc.C (setDefaults): Correct initialization value for
7255         font_norm_type.
7256
7257 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7258
7259         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
7260         gotoError().
7261
7262         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
7263         and GotoNextNote().
7264
7265         * src/LyXAction.C: Added reference-next.
7266
7267         * text.C (InsertChar): Use contains instead of strchr.
7268
7269         * lyx_cb.C (MenuInsertLabel): Enable default value code.
7270
7271 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
7272
7273         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
7274         alignment commands (when needed).
7275
7276         * text.C (InsertChar): Add ':' to number separator chars.