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