]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f4a56ee1319af7f310cb198dba8558d10523459d
[lyx.git] / src / ChangeLog
1
2 2003-07-14  André Pönitz  <poenitz@gmx.net>
3
4         * rowpainter.[Ch]: reduce interface
5
6 2003-07-14  André Pönitz  <poenitz@gmx.net>
7
8         * BufferView_pimpl.C:
9         * text2.C: adjust after removing unused BufferView * argument
10
11 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
12
13         * text2.C (init): fix a crash fired on resize
14         
15 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
16
17         * buffer.[Ch]: added new closing signal
18         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
19         * lyxfunc.C: removed BufferView::buffer(0) call now handled in 
20         BufferView::Pimpl via the closing the signal
21         
22 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
23
24         * buffer.[Ch]: take out all bv-related from buffer
25         * BufferView.C: 
26         * BufferView_pimpl.[Ch]: connect to new signals
27         * CutAndPaste.C: removed useless asserts
28         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
29         * lyxvc.[Ch]:
30         * vc-backend.[Ch]:
31         * lyxfunc.C: moved view-related funciontality from vc here
32         * paragraph.C: removed outdated comments
33         * text.C: ws
34
35 2003-07-10  André Pönitz  <poenitz@gmx.net>
36
37         * BufferView_pimpl.C:
38         * tabular.h:
39         * tabular_funcs.C:
40         * text.C:
41         * text2.C: remove InsetText::InnerCache, clean up consequences
42
43 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
44
45         * ispell.C: fix two typos in error messages
46
47 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
48
49         * Extend Note inset to other forms of annotation like Comment
50         and Greyedout. Right button click gives dialog.
51
52         Files modified or added (+):
53
54         * insetnote.[Ch]
55         * FormNote.[Ch]      +
56         * ControlNote.[Ch]   +
57         * form_note.fd       +
58         * Makefile.am in frontends/xforms, frontends/xforms/forms,
59         frontends/controllers
60         * xforms/Dialogs.C
61         * factory.C
62
63 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
64
65         * aspell.C: add missing namespace lyx::support
66
67 2003-07-07  Alfredo Brauntein  <abraunst@libero.it>
68
69         * BufferView.[Ch] (newFile): Add
70         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
71         * LaTeX.[Ch] (message): added this signal and use it
72         * buffer.[Ch] (busy, message): added these signals and use them
73         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
74         * converter.C:
75         * exporter.C:
76         * format.C:
77         * importer.C: use buffer signals instead of direct bv calling
78         * lyx_cb.[Ch] (ShowMessage): removed
79         * lyx_main.C:
80         * lyxfunc.C:
81         * paragraph_funcs.C:
82         * text2.C: use buffer signals
83
84 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
85
86         * introduce namespace lyx::graphics
87
88 2003-07-02  André Pönitz  <poenitz@gmx.net>
89
90         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
91
92 2003-07-01  André Pönitz  <poenitz@gmx.net>
93
94         * text.C:
95         * text2.C:
96         * text3.C:
97         * text_funcs.[Ch]:
98         * textcursor.h:
99         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
100           text*.C to text_func.C
101
102 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
103
104         * introduce namespace lyx::support
105
106 2003-06-30  André Pönitz  <poenitz@gmx.net>
107
108         * Chktex.C:
109         * funcrequest.C:
110         * lyxtext.h:
111         * text.C: re-enable --with-included-string
112
113 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
114
115         * textcursor.C: add <config.h>
116
117         * text.C (getWord): remove const from word_location arg
118
119         * lyxvc.C (getLogFile): fix const type order
120
121         * lyxtext.h: remove const from word_location arg, add arg name
122
123         * lyxlayout.h: currect type on labeltype.
124
125         * importer.C: correct \file
126
127         * converter.C (intToFormat): use std:: on ret val, ws changes
128
129         * bufferlist.h: correct \file
130
131         * buffer.C (makeLinuxDocFile): fix const type order
132         (makeDocBookFile): ditto
133         (fillWithBibKeys): use std:: on stdlib args.
134
135         * CutAndPaste.C: fix authors.
136         (availableSelections): use std:: on return vector
137
138 2003-06-27  André Pönitz  <poenitz@gmx.net>
139
140         * BufferView_pimpl.C:
141         * bufferview_funcs.C:
142         * lyxcursor.C:
143         * lyxcursor.h:
144         * lyxfunc.C:
145         * lyxtext.h:
146         * rowpainter.C:
147         * text.C:
148         * text2.C:
149         * text3.C: remove LyXCursor::row_ member
150
151         * lyxtext.h:
152         * text.C: rename fullRebreak() to partialRebreak() and implement
153           a fullRebreak() that really bereks fully
154
155         * textcursor.h: new struct for cursor-related data
156
157 2003-06-26  Alfredo Brauntein  <abraunst@lyx.org>
158
159         * lyx_main.C (LyX): get full path of document loaded on the
160         command line
161
162 2003-06-26  André Pönitz  <poenitz@gmx.net>
163
164         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
165           remove unused/broken operator>,<,>=.
166
167         *       text.C: remove only use of broken operator<= in an Assert().
168
169 2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
170
171         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
172         moved errorlist_.clear to showErrorList
173
174 2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
175
176         * converter.C (scanLog, runLaTeX):
177         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
178         move the bv->showErrorList call to the callers
179         * lyxfunc.C: i.e. here...
180         * text2.C: and here
181         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
182         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
183         namespace, the second to...
184         * buffer_funcs (BufferFormat, parseErrors): added
185         * errorlist.C (ErrorList(TeXErrors const &)): removed
186
187 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * ToolbarBackend.C (getIcon): complain when icon cannot be found
190
191 2003-06-24  "Garst R. Reese" <reese@isn.net>
192
193         * debug.C: fix typo
194
195 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
198
199         * version.C.in: change docversion to 1.4
200
201 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
202
203         * buffer.C: fix a bug just introduced
204
205 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
206
207         * buffer.[Ch]: added the parseError signal and use it, removed
208         sgmlError
209         * BufferView.[Ch] (addError): moved to ...
210         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
211         to the Buffer::parseError signal to catch (guess what) parse errors
212         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
213
214 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
215
216         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
217         ability to create a buffer and to return an existing one from
218         the list. Moved these functions to...
219         * buffer_funcs.[Ch]: added
220         * BufferView.[Ch] (loadLyXFile): added
221         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
222         job removed from bufferlist::loadLyXFile.
223         * buffer.C (setReadOnly): make it work without view
224         (i.e added an if (users))
225
226 2003-06-19  Angus Leeming  <leeming@lyx.org>
227
228         * lfuns.h:
229         * LyXAction.C (init):
230         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
231         with LFUN_DIALOG_SHOW <name> <data>.
232
233 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * CutAndPaste.C (availableSelections): small compilation fix for
236         ancient (gcc 2.9x) compilers
237
238 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
239
240         * text3.C (cursorNext): add tmp var
241
242         * text2.C (updateCounters): for function calling out of for clause
243         (replaceSelectionWithString): ditto
244         (insertStringAsParagraphs): ditto
245         (getColumnNearX): add tmp var
246         (setCursorFromCoordinates): add tmp var
247         (cursorDownParagraph): add tmp var
248         (deleteEmptyParagraphMechanism): add tmp var
249
250         * text.C (insertChar): add tmp var
251
252         * rowpainter.C (paintDepthBar): add tmp var
253
254         * CutAndPaste.C (availableSelections): potentially check all
255         paragraphs in a cut to fill the shown strings.
256
257 2003-06-18  André Pönitz  <poenitz@gmx.net>
258
259         * kbmap.[Ch]: use vector<> instead of list<>
260
261 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
262
263         * text3.C (dispatch): handle arg to LFUN_PASTE, call
264         pasteSelection with index
265
266         * text2.C (pasteSelection): modify, call pasteSelection with index
267
268         * paragraph.C (asString): reimplement version with no interval to
269         call the one with interval.
270
271         * lyxtext.h: add index arg to pasteSelection
272
273         * MenuBackend.C (MenuItem): handle PasteRecent
274         (Menu::read::Menutags): add md_pasterecent
275         (read): handle it
276         (expandPasteRecent): new function
277         (expand): use it
278
279         * MenuBackend.h: add PasteRecent to MenuItem::Kind
280
281         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
282         the limited stack
283         (availableSelections): new function
284
285 2003-06-17  Angus Leeming  <leeming@lyx.org>
286
287         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
288
289 2003-06-17  Angus Leeming  <leeming@lyx.org>
290
291         * lfuns.h:
292         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
293
294         * lyxfunc.C (dispatch): invoke it.
295
296 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * iterators.C (operator++, ParPosition): reintroduce some
299         const_cast for the benefit of older compilers.
300
301 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * text3.C (dispatch): do not modify clipboard when doing
304         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
305         LFUN_DELETE_SKIP on a selection selection
306
307 2003-06-16  André Pönitz  <poenitz@gmx.net>
308
309         * BufferView.C:
310         * buffer.C:
311         * buffer.h:
312         * paragraph.C:
313         * tabular.[Ch]: IU of clone() and getLabelList();
314
315 2003-06-13  André Pönitz  <poenitz@gmx.net>
316
317         * tabular.h: compactification
318
319 2003-06-12  André Pönitz  <poenitz@gmx.net>
320
321         * tabular.C:
322         * tabular.h:
323         * tabular_funcs.h: some renaming plus whitespace
324
325 2003-06-12  André Pönitz  <poenitz@gmx.net>
326
327         * BufferView.C:
328         * BufferView_pimpl.C:
329         * CutAndPaste.C:
330         * buffer.C:
331         * iterators.[Ch]:
332         * lyxfunc.C:
333         * text.C:
334         * toc.C: Return a Paragraph & for ParIterator::operator*()
335
336 2003-06-11  John Levon  <levon@movementarian.org>
337
338         * lyx_main.C:
339         * ToolbarBackend.h:
340         * ToolbarBackend.C: add "Toolbars" section and
341         put the flags there
342
343 2003-06-10  Angus Leeming  <leeming@lyx.org>
344
345         * lfuns.h:
346         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
347
348         * lyxfunc.C (dispatch): invoke it.
349
350 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
351
352         * main.C: protect <ios> with HAVE_IOS
353         (main): protect sync_with_stdio with HAVE_IOS
354
355 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
356
357         * text2.C (cutSelection): adjust
358         (pasteSelection): adjust
359
360         * messages.C: handle get of empty string
361
362         * main.C (main): use sync_with_stdio(false)
363
364         * lyxfunc.C (dispatch): adjust
365
366         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
367         (WriteAs): remove unneeded BufferView arg.
368
369         * bufferparams.h: use correct types on papersize, papersize2 and
370         paperpackage.
371
372         * bufferparams.C (readToken): adjust for type
373         (writeLaTeX): add missing cases to switch.
374
375         * bufferlist.C (quitWriteBuffer): adjust
376         (close): adjust
377
378         * buffer.C (asciiParagraph): remove some commented code.
379
380         * CutAndPaste.C: remove current_view extern variable.
381         (cutSelection): add BufferParams arg.
382         (eraseSelection): add BufferParams arg.
383         (pasteSelection): add Buffer const & arg
384
385 2003-06-07  John Levon  <levon@movementarian.org>
386
387         * buffer.C:
388         * paragraph_funcs.C:
389         * paragraph_pimpl.C:
390         * text.C:
391         * text2.C:
392         * paragraph.h:
393         * paragraph.C: allow InsetERT to freely space lines,
394         and some consolidation of code
395
396 2003-06-06  José Matos  <jamatos@fep.up.pt>
397
398         * buffer.C (makeDocBookFile): fix bug #821
399
400 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
401
402         * BufferView_pimpl.C (dispatch): use Dialogs::visible
403
404 2003-06-04  Angus Leeming  <leeming@lyx.org>
405
406         * buffer.C: bump format to 224.
407
408 2003-06-05  André Pönitz  <poenitz@gmx.net>
409
410         * text2.C (redoParagraphs): remove two const_cast<>
411
412 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
413
414         * ParagraphList.h: remove last remnants of NO_STD_LIST
415
416 2003-06-03  Angus Leeming  <leeming@lyx.org>
417
418         * factory.C (createInset): small change to the way InsetExternal's params
419         are set.
420
421 2003-06-04  André Pönitz  <poenitz@gmx.net>
422
423         * buffer.h: use Undo directly instead of shared_ptr<Undo>
424
425         * paragraph_pimpl.h:
426         * paragraph.[Ch]: some Inset -> UpdatableInset changes
427
428         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
429
430         * undo_funcs.C: make some simple cases of undo work again
431
432 2003-06-03  John Levon  <levon@movementarian.org>
433
434         * ispell.C: HPUX doesn't have sys/select.h
435         (from Albert Chin)
436
437 2003-06-03  John Levon  <levon@movementarian.org>
438
439         * CutAndPaste.C: update tabular and include inset
440         buffer references
441
442         * buffer.h:
443         * paragraph.h:
444         * paragraph.C: remove owningBuffer(), don't pass Buffer
445         to clone()
446
447         * factory.C: insetGraphicsParams changed
448
449 2003-06-02  John Levon  <levon@movementarian.org>
450
451         * LyXAction.C:
452         * factory.C:
453         * lfuns.h:
454         * lyxfunc.C:
455         * text3.C: remove insetparent
456
457 2003-06-02  John Levon  <levon@movementarian.org>
458
459         * buffer.h:
460         * buffer.C: fix inset_iterator.end(), move out of line
461         (bug 1149)
462
463 2003-06-01  John Levon  <levon@movementarian.org>
464
465         * text3.C: use a proper cut/paste when doing inset
466         insert (from Jürgen Spitzmüller)
467
468 2003-06-01  John Levon  <levon@movementarian.org>
469
470         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
471
472 2003-05-30  André Pönitz  <poenitz@gmx.net>
473
474         * rowpainter.C: unify second drawing phase
475
476 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
477
478         * trans_mgr.C: remove one case of current_view
479
480         * text2.C (cursorBottom): delete NO_STD_LIST stuff
481
482         * paragraph_funcs.h: remove paragraph.h include
483
484         * paragraph.h: delete NO_STD_LIST stuff
485
486         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
487
488         * buffer.h: remove paragraph.h include
489
490         * ParagraphList.C: delete file
491
492         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
493
494         * toc.C (getTocList): adjust
495
496         * paragraph_pimpl.C (validate): adjust
497
498         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
499
500         * paragraph.C (Paragraph): adjust
501         (getPositionOfInset): use const_iterator, adjust
502         (bibitem): use const_iterator, adjust
503         (setInsetOwner): adjust
504
505         * iterators.C (operator++): adjust
506
507         * InsetList.[Ch]: Replace selfmade iterator with standard
508         vector::iterator also introduce const_iterator. Remove getPos,
509         getInset and setInset from InsetTable. Adjust accordingly.
510
511         * BufferView.C (lockInset): adjust
512         (ChangeInsets): adjust
513
514         * tabular.[Ch]: delete commented same_id functions
515
516 2003-05-28  John Levon  <levon@movementarian.org>
517
518         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
519
520 2003-05-28  André Pönitz  <poenitz@gmx.net>
521
522         * metricsinfo.[Ch]: remove 'fullredraw' member
523
524 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
525
526         * lyxtextclass.C (operator): remove caching.
527
528 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
529
530         * text3.C: adjust
531
532         * text2.C (cursorBottom): adjust
533         (setCounter): use ParagraphList::find, adjust
534
535         * text.C (workWidth): use ParagraphList::find, adjust
536
537         * lyxcursor.C (LyXCursor): adjust
538
539         * buffer.C (inset_iterator): adjust
540
541         * ParagraphList.h: make iterator(value_type) private, make
542         ParagraphList a friend of iterator.
543
544         * ParagraphList.C (find): new function
545
546         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
547
548 2003-05-27  André Pönitz  <poenitz@gmx.net>
549
550         * dimension.[Ch]: a -> asc, d -> des, w -> wid
551
552 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
555
556 2003-05-26  John Levon  <levon@movementarian.org>
557
558         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
559
560 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
561
562         * remove same_id from function signatures, adjust.
563
564 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
565
566         * undo_funcs.C (createUndo): use the id functions directly, adjust.
567
568         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
569
570         * paragraph.C (Paragraph): get rid of same_ids parameter
571
572         * ParagraphList.C (insert): adjust
573         (push_back): adjust
574
575 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
576
577         * paragraph_funcs.C (breakParagraph): adjust
578         (breakParagraphConservative): adjust
579
580         * buffer.C (readParagraph): adjust
581
582         * ParagraphList.C (insert): take a reference instead of a pointer
583         (insert): adjust
584
585         * paragraph.[Ch] (id): new function
586
587         * bufferlist.C (newFile): adjust
588
589         * ParagraphList.C (ParagraphList): adjust
590         (assign): adjust
591         (push_back): take a reference instead of a pointer.
592
593         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
594
595         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
596         instead.
597
598         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
599         set else use old code.
600
601         * ParagraphList.C: remove all NO_NEXT code and only compile this
602         code of NO_STD_LIST is set.
603
604 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
605
606         * BufferView_pimpl.C:
607         * TextCache.C:
608         * TextCache.h:
609         * bufferlist.C:
610         * errorlist.h:
611         * format.C:
612         * format.h:
613         * graph.C:
614         * lyxfunc.C:
615         * lyxrc.C:
616         * graphics/GraphicsConverter.C:
617         * graphics/PreviewLoader.C: header adjustment
618
619 2003-05-23  Angus Leeming  <leeming@lyx.org>
620
621         * LaTeXFeatures.[Ch] (useBabel): new method.
622         * bufferparams.C (writeLaTeX): use it.
623
624 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
625
626         * ParagraphList.h (set): remove unused function.
627
628 2003-05-23  André Pönitz  <poenitz@gmx.net>
629
630         * BufferView.C:
631         * BufferView_pimpl.C:
632         * buffer.C:
633         * buffer.h:
634         * lyxfunc.C:
635         * undo_funcs.C: setUndo reworked
636
637         * iterators.[Ch]: add access to topmost ParagraphList
638
639         * lyxtext.[Ch] (workWidth): add a const
640
641 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
642
643         * texrow.[Ch] (increasePos): remove function
644         * exporter.C (export): removed unused var and outdated comment
645
646 2003-05-23  Angus Leeming  <leeming@lyx.org>
647
648         * latexrunparams.h: rename fragile as moving_arg.
649         * paragraph.C (simpleTeXOnePar): ditto.
650         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
651
652 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
653
654         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
655         (createUndo): ditto
656         (textUndoOrRedo): comment out a currently unused var.
657
658         * paragraph.h (NO_NEXT): enable NO_NEXT
659
660         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
661
662         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
663
664         * exporter.C (Export): adjust for removeAutoInsets removal.
665
666         * buffer.C (runChktex): adjust for removeAutoInsets removal.
667
668         * LyXAction.C (init): remove LFUN_REMOVEERRORS
669
670         * BufferView.[Ch] (removeAutoInsets): delete function
671
672 2003-05-22  Angus Leeming  <leeming@lyx.org>
673
674         * latexrunparams.h: add a free_spacing variable.
675
676         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
677         to pass moving_arg, as the data is stored in runparams.fragile.
678
679         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
680         to Inset::latexOptional or to simpleTeXOnePar.
681
682         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
683         free_spacing arg to Inset::latexOptional.
684
685         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
686         free_spacing arg.
687
688 2003-05-22  Angus Leeming  <leeming@lyx.org>
689
690         * latexrunparams.h: add fragile and use_babel variables.
691
692         * bufferparams.[Ch] (writeLaTeX): return use_babel.
693         * buffer.C (makeLaTeXFile): store this returned value in
694         runparams.use_babel, thus passing it to the inset::latex methods.
695
696         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
697         simpleTeXSpecialChars as it is now stored in runparams.fragile.
698
699         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
700         longer has a fragile arg, as it is stored in runparams.fragile.
701
702         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
703         moving_arg parameter as the data is stored in runparams.fragile.
704
705         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
706         a fragile parameter as the data is stored in runparams.fragile.
707
708 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
711
712 2003-05-22  Angus Leeming  <leeming@lyx.org>
713
714         * latexrunparams.h: add a 'bool nice' which defaults to false.
715
716         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
717         now encapsulated within runparams.
718
719         * bufferlist.C (updateIncludedTeXfiles):
720         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
721
722 2003-05-22  Angus Leeming  <leeming@lyx.org>
723
724         * latexrunparams.h: new file containing struct LatexRunParams.
725         * Makefile.am: add new file.
726
727         * LaTeX.[Ch] (c-tor, run):
728         * buffer.[Ch] (makeLaTeXFile):
729         * bufferlist.[Ch] (updateIncludedTeXfiles):
730         * converter.C (convert, scanLog):
731         * converter.[Ch] (runLaTeX):
732         * exporter.C (Export):
733         * paragraph.[Ch] (simpleTeXOnePar):
734         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
735         * paragraph_funcs.[Ch] (latexParagraphs):
736         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
737         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
738         pass around a LatexRunParams parameter.
739
740 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
741
742         * paragraph.[Ch]: remove unused constructor
743
744         * ParagraphList.C (erase): new function, taking two iterators
745
746 2003-05-22  André Pönitz  <poenitz@gmx.net>
747
748         * undo_funcs.C: remove duplicated code
749
750         * iterator.[Ch]: operator=
751
752 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
753
754         * tabular.C (SetMultiColumn): ws changes
755
756         * rowpainter.C (paintFirst): get rid of a ->previous
757
758         * lyx_cb.C (getPossibleLabel): parlist simplification
759
760         * BufferView.C (ChangeInsets): simplify slightly.
761
762 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * LyXAction.C: new lfun space-insert, kill protected-space-insert
765         * lfuns.h: new LFUN_SPACE
766         * lyxfunc.C: protected space has a new lfun
767         * paragraph_funcs.C: read new space insets
768         * text3.C:
769         * factory.C: handle new space insets
770
771 2003-05-22  André Pönitz  <poenitz@gmx.net>
772
773         * BufferView.C:
774         * BufferView_pimpl.C:
775         * buffer.[Ch]:
776         * lyxfunc.C:
777         * undo_funcs.C: return a ParIterator from getParFromID.
778
779         * iterators.[Ch]: add two const's
780
781 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
782
783         * toc.C (getTocList): adjust
784
785         * iterators.[Ch]: rework for parlist
786
787         * buffer.C (par_iterator_begin): adjust
788         (par_iterator_end): adjust
789
790         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
791
792         * BufferView.C (removeAutoInsets): adjust
793         (ChangeInsets): adjust
794
795 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
796
797         * text.C (top_y): fix bug 1110
798
799 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
800
801         * errorlist.[Ch]: added
802         * buffer.C:
803         * BufferView.[Ch]:
804         * BufferView_pimpl.C:
805         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
806         instead
807
808 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * Makefile.am: ensure that lyx is relinked upon changes to the
811         various "convenience" libs.
812
813 2003-05-20  Angus Leeming  <leeming@lyx.org>
814
815         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
816         files are compiled in alphabetical order again.
817
818         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
819
820 2003-05-19  Angus Leeming  <leeming@lyx.org>
821
822         * gettext.[Ch]: remove "char const * _(char const *)".
823
824 2003-05-19  André Pönitz  <poenitz@gmx.net>
825
826         * dimension.[Ch]: promote from mathed/dimension.[Ch]
827
828         * Makefile.am:
829         * BufferView.C:
830         * DepTable.h:
831         * LaTeXFeatures.C:
832         * buffer.C:
833         * lyxfont.C:
834         * lyxlex.h:
835         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
836
837 2003-05-19  André Pönitz  <poenitz@gmx.net>
838
839         * buffer.C:
840         * lyxlayout.[Ch]:
841         * lyxtextclass.[Ch]:
842         * paragraph.C:
843         * paragraph_funcs.[Ch]:
844         * text2.C:
845         * text3.C: more insetenv work
846
847 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
848
849         * ParagraphParameters.C (params2string): small bug fixed
850
851 2003-05-16  André Pönitz  <poenitz@gmx.net>
852
853         * debug.C:
854         * bufferview_funcs.C: patch from Kornel Benko to prevent
855           crash when _(...) is called twice in a statement
856
857 2003-05-16  André Pönitz  <poenitz@gmx.net>
858
859         * BufferView.C:
860         * lyxfunc.C:
861         * text.C:
862         * text2.C:
863         * text3.C:
864         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
865
866 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
867
868         * lyx_main.C (init): remove spurious static_cast
869
870 2003-05-14  André Pönitz  <poenitz@gmx.net>
871
872         * BufferView.C: fix format string
873
874 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
875
876         * BufferView.[Ch] (insertErrors): removed
877         * BufferView.[Ch] (showErrorList): added
878         * buffer.C (runChkTeX):
879         * converter.C (scanLog): call showErrorList instead of inserterrors
880
881 2003-05-13  André Pönitz  <poenitz@gmx.net>
882
883         * BufferView_pimpl.C:
884         * buffer.C:
885         * bufferview_func.C:
886         * MenuBackend.C:
887         * lyxfunc.C:
888         * lyxrc.C:
889         * tex-accent.C:
890         * text3.C:
891         * toc.C:
892         * tabular_funcs.h: tostr() from its own header
893
894         * ParagraphParameters.C:
895         * ToolbarBackend.C:
896         * bufferparams.C:
897         * format.C:
898         * lyxlex_pimpl.C:
899         * text3.C: STRCONV()
900
901 2003-05-12  André Pönitz  <poenitz@gmx.net>
902
903         * BufferView.C:
904         * BufferView_pimpl.C:
905         * CutAndPaste.C:
906         * LaTeX.C:
907         * LaTeXFeatures.C:
908         * ParagraphParameters.C:
909         * buffer.C:
910         * bufferlist.C:
911         * bufferparams.C:
912         * bufferview_funcs.C:
913         * converter.C:
914         * counters.C:
915         * debug.C:
916         * exporter.C:
917         * format.C:
918         * importer.C:
919         * lyx_cb.C:
920         * lyx_main.C:
921         * lyxfont.C:
922         * lyxfunc.C:
923         * lyxvc.C:
924         * paragraph.C:
925         * paragraph_funcs.C:
926         * tabular.C:
927         * tabular_funcs.C:
928         * text2.C:
929         * text3.C:  boost::format -> bformat  all over the place
930
931
932 2003-05-09  André Pönitz  <poenitz@gmx.net>
933
934         * LColor.[Ch]: Pimpl the #include <map> away
935
936 2003-05-09  John Levon  <levon@movementarian.org>
937
938         * bufferlist.C: never remove emergency saves
939
940 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * Makefile.am: better lib building
943
944 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
945
946         * texrow.[Ch]: remove dependency on Paragraph and just store a id
947         instead.
948         * paragraph_pimpl.C (simpleTeXBlanks): adjust
949         (simpleTeXSpecialChars): adjust
950         (simpleTeXSpecialChars): adjust
951         * paragraph.C (simpleTeXOnePar): adjust
952         * buffer.C (makeLaTeXFile): adjust
953
954         * Makefile.am (BOOST_LIBS): allow boost as system lib.
955
956         * text2.C (changeDepth): parlist cleanup
957         (getColumnNearX): ditto
958
959         * rowpainter.C (getLabelFont): parlist cleanup
960
961         * bufferlist.C (newFile): parlist cleanup
962
963         * CutAndPaste.C (eraseSelection): parlist cleanup
964
965         * BufferView_pimpl.C (trackChanges): parlist cleanup
966         (dispatch): ditto
967
968         * BufferView.C (lockInset): parlist cleanup.
969         (ChangeInsets): ditto
970
971 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
972
973         * CutAndPaste.h: Update file header.
974
975         * CutAndPaste.C: Update file header.
976         Store the parts cut out of the Document in a limited_stack.
977         (copySelection): adjust
978         (pasteSelection): new function, takes the index in the limited stack.
979         (nrOfParagraphs): adjust
980         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
981         simplify error inset insertion.
982         (checkPastePossible): adjust
983
984 2003-05-06  John Levon  <levon@movementarian.org>
985
986         * text2.C: don't cast wrap inset to float
987
988 2003-05-05  André Pönitz  <poenitz@gmx.net>
989
990         * iterator.C:
991         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
992
993         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
994           few naked Paragraph *.
995
996 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
997
998         * bufferparams.C: Output warning if a document with missing
999         TeX document class is loaded
1000         * exporter.C: Disable TeX exports if the document class is missing
1001         * lyxtextclass.C:
1002         * lyxtextclass.h:
1003         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1004         isTeXClassAvailable()
1005
1006 2003-05-03  John Levon  <levon@movementarian.org>
1007
1008         * BufferView.h:
1009         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1010         explicit cursor show/hide
1011
1012         * BufferView_pimpl.h:
1013         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1014         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1015
1016         * lyxfunc.C: hide cursor before dispatching.
1017
1018         * lyx_cb.C:
1019         * lyxfind.C:
1020         * text.C:
1021         * text3.C: remove explicit cursor hides
1022
1023 2003-05-02  André Pönitz  <poenitz@gmx.net>
1024
1025         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1026
1027         * undo_funcs.C:
1028         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1029           linked lists
1030
1031         * text2.C: tiny whitespace
1032
1033 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1034
1035         * undo_funcs.C: almost only ws changes.
1036
1037         * ParagraphList.C (splice): just return if pl is empty.
1038
1039 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * ParagraphList.C (splice): new function.
1042
1043         * CutAndPaste.C (pasteSelection): use it
1044
1045 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1046
1047         * CutAndPaste.C (pasteSelection): remove the last next and
1048         previous from this file.
1049
1050 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1051
1052         * CutAndPaste.C (pasteSelection): more clean up, user proper
1053         ParagraphList functions for pasteing.
1054
1055         * ParagraphList.C (insert): new function, three arg insert
1056
1057 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * ParagraphList.C (insert): new function, three arg insert
1060
1061         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1062         not on paragraphs.
1063
1064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1065
1066         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1067
1068 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1069
1070         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1071
1072 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1073
1074         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1075         (copySelection): clean up a bit.
1076         (pasteSelection): use make_pair
1077
1078         * ParagraphList.C (ParagraphList): implement copy constructor
1079         (operator=): implement, base on copy constructor.
1080         (assign): new func
1081
1082         * paragraph.C (erase): return a bool
1083
1084         * paragraph_pimpl.C (erasePos): remove function, move contents...
1085         (erase): ... here. Return a bool.
1086         (erase): call erase instead of erasePos.
1087
1088 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1089
1090         * ParagraphList.h: define PitPosPair
1091         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1092         ParagraphList, fix a bug on pasting multiple pars
1093         * text2.C: change interface to C&P
1094
1095 2003-04-30  André Pönitz  <poenitz@gmx.net>
1096
1097         * undo_func.C: revert part of yesterday's patch 2
1098
1099 2003-04-30  John Levon  <levon@movementarian.org>
1100
1101         * LColor.C: s/tabular/table/
1102
1103 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1104
1105         * text3.C (dispatch): do not convert iterator -> pointer
1106         * undo_funcs.C (setCursorParUndo): ditto
1107         * text_funcs.C (transposeChars): ditto
1108
1109         * text2.C (setLayout): ws changes only
1110
1111         * text.C (breakParagraph): do not convert iterator -> pointer
1112         (insertChar): ditto
1113         (acceptChange): ditto
1114         (rejectChange): ditto
1115         (changeCase): ditto
1116         (Delete): ditto
1117         (backspace): ditto
1118
1119         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1120         pointer
1121
1122 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1123
1124         * text3.C (gotoInset): YABG (yet another bad getChar)
1125
1126 2003-04-29  André Pönitz  <poenitz@gmx.net>
1127
1128         * paragraph.h: make operator= private unimplemented as long as
1129           it is unusable
1130
1131         * ParagraphList.C: whitespace
1132
1133         * paragraph.[Ch]:
1134         * paragraph_pimpl.[Ch]:
1135         * paragraph_funcs.C:
1136         * CutAndPaste.C:
1137         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1138
1139         * text2.C:
1140           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1141
1142 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1143
1144         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1145         * paragraph.[Ch] (erase):
1146         * paragraph_pimpl.[Ch] (erase): change return type and value
1147         * text2.C (cutSelection): some rework
1148
1149 2003-04-28  John Levon  <levon@movementarian.org>
1150
1151         * bufferlist.C: changes for unsaved changes dialog
1152
1153 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * bufferlist.C (newFile): set language (messages_) for new
1156         documents also.
1157
1158         * buffer.C (readFile): ws changes only.
1159
1160 2003-04-28  André Pönitz  <poenitz@gmx.net>
1161
1162         * undo_funcs.C:
1163         * lyxfunc.C:
1164         * buffer.[Ch]:
1165         * BufferView_pimpl.C:
1166         * BufferView.C: getParFromID related ParagraphList::iterator changes
1167
1168 2003-04-28  André Pönitz  <poenitz@gmx.net>
1169
1170         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1171           Changes
1172
1173 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * messages.C: remove one more localedir class variable.
1176
1177 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1178
1179         * messages.C (getLocaleDir): singleton generation function
1180         (Pimpl): use it.
1181         (Messages): add a default constructor.
1182
1183         * main.C (main): do not setup localedir here, do not call
1184         gettext_init.
1185
1186         * gettext.C (_): use it.
1187         (gettext_init): delete funciton
1188
1189 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1190
1191         * gettext.C (getLyXMessages): new singleton generating function.
1192
1193         * buffer.C (updateDocLang): adjust
1194
1195         * Makefile.am (messages.o): add target
1196         (main.o): remove target
1197
1198 2003-04-27  John Levon  <levon@movementarian.org>
1199
1200         * bufferlist.C:
1201         * lyx_cb.C:
1202         * lyxfunc.C:
1203         * lyxvc.C: specify cancel button in Alert::prompt
1204
1205 2003-04-26  John Levon  <levon@movementarian.org>
1206
1207         * text3.C:
1208         * lyxfunc.C:
1209         * lfuns.h:
1210         * LyXAction.C: add LFUN_INSET_SETTINGS
1211
1212         * lyxfunc.C: don't enable tabular-feature when there's
1213         just any locking inset
1214
1215 2003-04-26  John Levon  <levon@movementarian.org>
1216
1217         * bufferlist.C: re-add Cancel to buffer close question
1218
1219         * lyxfunc.C: fix import UI a bit
1220
1221 2003-04-25  John Levon  <levon@movementarian.org>
1222
1223         * gettext.C: remove the broken asserts for now
1224
1225 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1226
1227         * messages.C: make case where setlocale cannot comply work better.
1228
1229         * buffer.C (updateDocLang): new function
1230         (changeLanguage): use it
1231         (readFile): use it
1232
1233         * text2.C (setCounter): use B_ a bit.
1234
1235         * lyxlayout.C (Read): be sure to trim the label strings.
1236
1237         * messages.C (Messages): fix typo in comment
1238
1239         * buffer.C (readFile): set message_ after file is loaded.
1240         (makeDocBookFile): remove double return
1241         (changeLanguage): reset message_ upon language change.
1242         (B_): new func, use this to get translated buffer strings.
1243
1244         * main.C: add myself and Jean Marc as authors.
1245
1246 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1247
1248         * messages.[hC]: pimplify Messages, and three different pimpls to be
1249         used in different circumstances.
1250
1251         * gettext.[Ch]: change for use with new message code.
1252
1253 2003-04-24 André Pönitz <poenitz@gmx.net>
1254
1255         * factory.C: support for eqref
1256
1257 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * messages.[Ch]: add missing char
1260
1261         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1262
1263         * messages.[Ch]: New files
1264
1265 2003-04-18  John Levon  <levon@movementarian.org>
1266
1267         * BufferView.h:
1268         * BufferView.C:
1269         * BufferView_pimpl.C:
1270         * lfuns.h:
1271         * LyXAction.C:
1272         * lyxtext.h:
1273         * text2.C: remove layout-copy/paste (bug 778)
1274
1275 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1276
1277         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1278
1279 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1280
1281         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1282         if they succeed. Act accordingly.
1283
1284 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * text2.C (setCharFont): adjust
1287         (setCounter): adjust
1288         (insertStringAsLines): adjust
1289
1290         * text.C (leftMargin): adjust
1291         (setHeightOfRow): adjust
1292
1293         * rowpainter.C (paintFirst): adjust
1294         (paintLast): adjust
1295
1296         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1297         (outerHook): ditto
1298         (isFirstInSequence): ditto
1299         (getEndLabel): ditto
1300         (outerFont): adjust
1301
1302         * paragraph.C (getParLanguage): comment out some hard stuff.
1303
1304         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1305         (sgmlError): ditto
1306         (simpleDocBookOnePar): ditto
1307         (makeDocBookFile): use ParagraphList::iterator
1308
1309         * CutAndPaste.C (pasteSelection): adjust
1310
1311 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1312
1313         * text2.C (getFont): adjust
1314         (getLayoutFont): adjust
1315         (getLabelFont): adjust
1316
1317         * paragraph_funcs.C (TeXOnePar): adjust
1318
1319         * buffer.C (simpleLinuxDocOnePar): adjust
1320         (simpleDocBookOnePar): adjust
1321
1322         * CutAndPaste.C (pasteSelection): adjust
1323
1324         * BufferView.C (getEncoding): adjust
1325
1326         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1327
1328 2003-04-16  John Levon  <levon@movementarian.org>
1329
1330         * lyxfind.C: use parlist stuff for search/changes
1331
1332 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1335
1336         * text2.C (deleteEmptyParagraphMechanism): adjust
1337
1338         * text2.[Ch] (ownerParagraph): delete func (both of them
1339
1340 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1343
1344 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * ParagraphList.C: prepare for NO_NEXT
1347
1348 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1349
1350         * text2.C (getFont): adjust
1351         (getLayoutFont): adjust
1352         (getLabelFont): adjust
1353
1354         * paragraph.C (getFont): adjust
1355         (getLabelFont): adjust
1356         (getLayoutFont): adjust
1357
1358         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1359
1360 2003-04-15  John Levon  <levon@movementarian.org>
1361
1362         From Angus Leeming
1363
1364         * lyx_main.C: handle Include in .ui files
1365
1366 2003-04-15  John Levon  <levon@movementarian.org>
1367
1368         * MenuBackend.C: make the doc files length shorter
1369
1370         * ToolbarBackend.h:
1371         * ToolbarBackend.C: handle toolbar placement flags,
1372         Minibuffer
1373
1374 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1375
1376         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1377         adjust
1378
1379         * paragraph_funcs.C (TeXOnePar): adjust
1380
1381         * paragraph.C (getLabelFont): add outerfont arg, adjust
1382         (getLayoutFont): ditto
1383         (simpleTeXOnePar): adjust
1384
1385         * paragraph_pimpl.C (realizeFont): delete func
1386
1387 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1388
1389         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1390         row argument, constify cur argument.
1391
1392 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1393
1394         * text2.C (getFont): adjust
1395         (getLayoutFont): adjust
1396         (getLabelFont): adjust
1397
1398         * paragraph_funcs.C (TeXOnePar): adjust
1399         (outerFont): new func...
1400         (realizeFont): ...moved out from here, changed this to facilitate
1401         transition
1402
1403         * paragraph.C (getFont): take outerfont as arg, adjust
1404         (simpleTeXOnePar): add outerfont arg, adjust
1405
1406         * buffer.C (simpleLinuxDocOnePar): adjust
1407         (simpleDocBookOnePar): adjust
1408
1409         * CutAndPaste.C (pasteSelection): adjust
1410
1411         * BufferView.C (getEncoding): adjust
1412
1413 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1414
1415         * text2.C (setCharFont): adjust
1416         (setCounter): adjust
1417
1418         * text.C (leftMargin): adjust
1419         (setHeightOfRow): adjust
1420
1421         * rowpainter.C (paintFirst): adjust
1422         (paintLast): adjust
1423
1424         * paragraph_pimpl.C (realizeFont): adjust
1425
1426         * paragraph.C (isFirstInSequence): move from here...
1427         * paragraph_funcs.C (isFirstInSequence): ...to here
1428
1429         * paragraph.C (outerHook): move from here...
1430         * paragraph_funcs.C (outerHook): ...to here
1431
1432         * paragraph.C (depthHook): move from here...
1433         * paragraph_funcs.C (depthHook): ...to here
1434
1435         * paragraph.C (getEndLabel): move from here...
1436         * paragraph_funcs.C (getEndLabel): ...to here
1437
1438         * text2.C (realizeFont): move from here...
1439         * paragraph_funcs.C (realizeFont): ...to here
1440
1441 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1442
1443         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1444
1445 2003-04-14  Angus Leeming  <leeming@lyx.org>
1446
1447         * LColor.[Ch]: scrap LColor mathcursor.
1448
1449 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1450
1451         * lyxlex.[Ch] (text): delete function
1452         * trans.C (Load): adjust
1453         * paragraph_funcs.C (readParToken): adjust
1454
1455 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1456
1457         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1458         vector<char> instead of a char[].
1459
1460         * lyxlex_pimpl.C (getString): adjust
1461         (next): adjust
1462         (lex): use getString
1463         (eatLine): adjust
1464         (nextToken): adjust
1465
1466         * lyxlex.C (text): use pimpl_->getString()
1467         (getBool): ditto
1468         (findToken): ditto
1469
1470 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1471
1472         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1473         (makeFontEntriesLayoutSpecific): temp var for par.size()
1474         (setLayout): temp var for ownerParagraphs().end()
1475         (fullRebreak): temp var for rows().end()
1476         (selectionAsString): temp var for boost::next(startpit), realize
1477         that the while really is a regular for loop.
1478         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1479         setCursor in one place.
1480         (setParagraph): temp vr for ownerParagraphs().end()
1481         (updateCounters): make the while loop a for loop
1482         (cutSelection): temp var for ownerParagraphs().end()
1483         (updateInset): make the do {} while() a regular for loop
1484         (getCursorX): use temp vars
1485         (setCurrentFont): use temp vars
1486         (getColumnNearX): use temp vars
1487
1488 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * text.C (transformChar): use temp var for getChar
1491         (computeBidiTables): use temp var for row->par()
1492         (fill): move temp vars for row->par() and pit->layout() earlier in
1493         the function.
1494         (labelFill): use temp var for row->par()
1495         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1496         asc and desc, realize that pit never changes and that firstpit is
1497         just a duplicate and not needed. Exchange rit->par() with pit in a
1498         lot of places.
1499         (breakAgain): use a temp var for boost::next(rit)
1500         (breakAgainOneRow): ditto
1501         (breakParagraph): use a temp var for rows().begin()
1502         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1503         (cursorRightOneWord): use temp var for cursor.par() and
1504         cursor.pos(), remove usage of tmpcursor.
1505         (cursorLeftOneWord): use temp var for cursor.par() and
1506         cursor.pos() only set cur at end of function.
1507
1508 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * text.C, text2.C: exchange all usage of Paragraph::next with
1511         boost::next(ParagraphList::iterator)
1512
1513         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1514
1515         * text2.C (cursorTop): simplify implementation
1516         (cursorBottom): ditto
1517         (setParagraph): use ParagraphList::iterator
1518         (setCurrentFont): adjust
1519         (getColumnNearX): adjust
1520         (cursorRight): adjust
1521         (cursorLeft): remove usage of Paragraph::previous
1522         (cursorUpParagraph): ditto
1523         (deleteEmptyParagraphMechanism): slight cleanup
1524
1525         * text.C (isBoundary): take a Paragraph const & instead of a
1526         pointer as arg.
1527         (addressBreakPoint): ditto
1528         (leftMargin): remove usage of Paragraph::previous.
1529         (setHeightOfRow): ditto
1530         (cursorLeftOneWord): ditto
1531         (selectNextWordToSpellcheck): ditto
1532         (Delete): ditto
1533         (backspace): ditto
1534         (breakParagraph): remove one usage of Paragraph::next
1535         (redoParagraph): ditto
1536         (acceptChange): ditto
1537         (insertChar): adjust
1538         (rowBreakPoint): adjust
1539
1540         * bufferview_funcs.C (toggleAndShow): adjust
1541
1542 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1543
1544         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1545         methods to access it.
1546         * lyxtext.h:
1547         * text.C: Added updateRowPositions to compute all row positions.
1548         Make top_y and getRowNearY() to use the cached y position
1549
1550 2003-04-11  John Levon  <levon@movementarian.org>
1551
1552         * text.C (rowBreakPoint): reintroduce the labelEnd
1553         checks, code copied from the row fill stuff. Deep voodoo.
1554
1555         * text.C (fill): add a comment and debugging for the
1556         next poor soul.
1557
1558 2003-04-11  John Levon  <levon@movementarian.org>
1559
1560         * text.C: make sure fullrow insets get wrapped to the next line,
1561         even when they're in a manual label
1562
1563 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1564
1565         * text2.C (insertParagraph): make it take ParagraphList::iterator
1566         as arg.
1567         (setLayout): make it return ParagraphList::iterator
1568         (redoParagraphs): ditto
1569         (setCounter): ditto
1570         (checkParagraph): ditto
1571
1572         * text.C (getRow): make getrow take ParagraphList::iterator as arg
1573
1574         * text2.C: adjust several funcs.
1575         (realizeFont): take a ParagraphList::iterator as arg.
1576         (getLayoutFont): ditto
1577         (getLabelFont): ditto
1578         (setCharFont): ditto
1579
1580         * text.C: adjust several funcs.
1581
1582 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1583
1584         * text.C (selectNextWordToSpellcheck): don't accidentally
1585         skip insets
1586
1587 2003-04-10  John Levon  <levon@movementarian.org>
1588
1589         * ToolbarBackend.C (getIcon): special handling for
1590         LFUN_MATH_DELIM
1591
1592 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1593
1594         * text2.C (cursorRight): a getChar assert fixed
1595
1596 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1597
1598         * text2.C (getFont): change to take a ParagraphList::iterator
1599         instead of Paragraph*
1600         Adjust several functions.
1601
1602         * text.C (transformChar): change to take a ParagraphList::iterator
1603         instead of Paragraph*
1604         (singleWidth): ditto
1605         Adjust several functions.
1606
1607         * rowpainter.C: adjust several functions
1608         * rowpainter.h:store a ParagraphList::iterator and not a
1609         Paragraph&.
1610
1611
1612 2003-04-09  John Levon  <levon@movementarian.org>
1613
1614         * lyxfunc.C:
1615         * lfuns.h:
1616         * LyXAction.h:
1617         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1618         and the "help" bits as well
1619
1620 2003-04-09  John Levon  <levon@movementarian.org>
1621
1622         * ToolbarBackend.h:
1623         * ToolbarBackend.C: allow multiple toolbars
1624
1625 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * undo_funcs.C (setCursorParUndo): adjust
1628
1629         * text_funcs.C (transposeChars): adjust
1630
1631         * text3.C (gotoNextInset): adjust
1632         (dispatch): adjust
1633
1634         * text2.C (setLayout): adjust
1635         (changeDepth): adjust
1636         (setFont): adjust
1637         (redoParagraphs): adjust
1638         (selectionAsString): adjust
1639         (setParagraph): adjust
1640         (insertInset): adjust
1641         (cutSelection): adjust
1642         (copySelection): adjust
1643         (pasteSelection): adjust
1644         (insertStringAsLines): adjust
1645         (updateInset): adjust
1646         (setCursor): change to take a ParagraphList::iterator parameter
1647         (setCursorIntern): change to take a ParagraphList::iterator parameter
1648         (setCurrentFont): adjust
1649         (cursorLeft): adjust
1650         (cursorRight): adjust
1651         (deleteEmptyParagraphMechanism): adjust
1652
1653         * text.C (breakParagraph): adjust
1654         (insertChar): adjust
1655         (acceptChange): adjust
1656         (rejectChange): adjust
1657         (selectNextWordToSpellcheck): adjust
1658         (changeCase): adjust
1659         (Delete): adjust
1660         (backspace): adjust
1661
1662         * lyxfind.C (SearchForward): adjust
1663         (SearchBackward): adjust
1664         (nextChange): adjust
1665
1666         * lyxcursor.C (par): adjust
1667
1668         * lyxcursor.h: store a ParagraphList::iterator instead of a
1669         Paragraph*
1670
1671         * lyx_cb.C (getPossibleLabel): adjust
1672
1673         * bufferview_funcs.C (toggleAndShow): adjust
1674
1675         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1676         (dispatch): adjust
1677
1678         * BufferView.C (removeAutoInsets): adjust
1679         (lockedInsetStoreUndo): adjust
1680
1681 2003-04-09  John Levon  <levon@movementarian.org>
1682
1683         * ToolbarBackend.C: try icon without argument
1684         if with argument fails
1685
1686 2003-04-08  John Levon  <levon@movementarian.org>
1687
1688         * ToolbarBackend.h:
1689         * ToolbarBackend.C: add getIcon(), handle tooltip,
1690         and change from "Icon" to "Item".
1691
1692 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * BufferView.C (lockInset): another bad getchar crunched
1695
1696 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1697
1698         * text2.C (changeDepth): do not setUndo on test_only (make undo work
1699         again)
1700
1701 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * lyxfind.C (searchForward, searchBackwards): bug 782
1704
1705 2003-04-07  John Levon  <levon@movementarian.org>
1706
1707         * paragraph.C: remove dead comment
1708
1709         * text.C: remove troublesome depth-fiddling code
1710         in leftMargin() and rightMargin() (bug 1017)
1711
1712         * text.C: fix breaking of rows in nested lists
1713         (bug 1004)
1714
1715         * text2.C (updateCounters): fix up depth values
1716         (bug 1013)
1717
1718 2003-04-07  John Levon  <levon@movementarian.org>
1719
1720         * BufferView_pimpl.C: clear message when doc finishes resizing,
1721         and after a mouse event
1722
1723         * lyxfunc.C: clear message after exiting inset
1724
1725 2003-04-07  John Levon  <levon@movementarian.org>
1726
1727         * bufferview_funcs.C: show math status not outside
1728         status in the statusbar
1729
1730 2003-04-07  John Levon  <levon@movementarian.org>
1731
1732         * lyxfunc.C: note status changed after a depth change
1733
1734 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
1735
1736         * LaTeX.h: move AuxInfo operator==, != out of line.
1737         Remove LaTeX virtual destructor; nothing derives from it.
1738         Move operator()() out of public area and rename it startscript().
1739         Change protected for private.
1740
1741 2003-04-04  Angus Leeming  <leeming@lyx.org>
1742
1743         * lyxfunc.C:
1744         * text2.C: remove unneeded #includes.
1745
1746 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1747
1748         * text2.C (dEPM): fix the heigth of the next row
1749
1750 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1751
1752         * text.C: squashed an invalid getChar requester + some ws changes
1753
1754 2003-04-03  John Levon  <levon@movementarian.org>
1755
1756         * bufferview_funcs.h:
1757         * bufferview_funcs.C:
1758         * lyxfunc.C:
1759         * lyxtext.h:
1760         * text2.C: make getStatus work for the env depth lfuns
1761
1762 2003-04-03  John Levon  <levon@movementarian.org>
1763
1764         * bufferview_funcs.h:
1765         * bufferview_funcs.C:
1766         * lyxfunc.C:
1767         * lyxtext.h:
1768         * text2.C: parlistize decDepth(), by merging it with incDepth()
1769
1770 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1771
1772         * lyxrow.h: store a ParagraphList::iterator instead of a
1773         Paragraph* and adjust other class functions to suit.
1774
1775         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1776         above.
1777
1778 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
1779
1780         * text2.C (setCursor): do not anchor to cursor row for the time being
1781
1782 2003-04-02  John Levon  <levon@movementarian.org>
1783
1784         * LyXAction.C:
1785         * lfuns.h:
1786         * lyx_main.C:
1787         * lyxtext.h:
1788         * text.C:
1789         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1790
1791 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1792
1793         * paragraph.h: make ParagraphList and ParagraphList::iterator
1794         friends of Paragraph.
1795
1796         * buffer.C (makeLinuxDocFile): move towards ParagraphList
1797
1798         * ParagraphList.C: Use the private next_ and previous_ from
1799         Paragraph.
1800
1801 2003-04-01  John Levon  <levon@movementarian.org>
1802
1803         * ToolbarBackend.h:
1804         * ToolbarBackend.C:
1805         * Makefile.am: rename, remove defaults gunk
1806
1807         * MenuBackend.h:
1808         * MenuBackend.C: remove defaults gunk
1809
1810         * Languages.h:
1811         * Languages.C: remove defaults gunk
1812
1813         * lyx_main.h:
1814         * lyx_main.C: error out if files couldn't be found.
1815
1816 2003-04-02  John Levon  <levon@movementarian.org>
1817
1818         * text2.C: make incDepth() use parlist
1819
1820 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * undo_funcs.C (firstUndoParagraph): adjust
1823
1824         * text3.C (gotoInset): adjust
1825         (dispatch): adjust, and rewrite loop.
1826
1827         * text2.C (init): adjust, and rewrite loop.
1828         (redoParagraphs): adjust
1829         (updateInset): adjust, and rewrite loop.
1830         (deleteEmptyParagraphMechanism): adjust
1831
1832         * tabular.C (LyXTabular): adjust
1833         (SetMultiColumn): adjust
1834         (TeXRow): adjust
1835
1836         * lyxtext.[Ch] (ownerParagraph): delete function
1837         (ownerParagraphs): new function returns a ParagraphList.
1838
1839         * BufferView.C (removeAutoInsets): adjust
1840         (insertErrors): adjust
1841         (setCursorFromRow): adjust
1842
1843 2003-04-01  Angus Leeming  <leeming@lyx.org>
1844
1845         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1846         in the frontends.
1847
1848 2003-04-02  John Levon  <levon@movementarian.org>
1849
1850         * lyxtext.h:
1851         * text.C:
1852         * Makefile.am:
1853         * text_funcs.h:
1854         * text_funcs.C: make transposeChars a free function
1855
1856         * lyxrow_funcs.C: remove wrong comment
1857
1858 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * lyxtext.h: adjust
1861         * rowpainter.C: adjust
1862         * text.C: adjust
1863         * text2.C: adjust
1864         * text3.C: adjust
1865
1866         * lyxrow_funcs. [Ch]: new files
1867
1868         * lyxrow.[Ch]: remove next and previous pointers
1869         (next,previous): remove accessor functions
1870         (isParEnd): move to lyxrow_funcs
1871         (lastPos): move to lyxrow_funcs
1872         (nextRowIsAllInset): move to lyxrow_funcs
1873         (lastPrintablePos): move to lyxrow_funcs
1874         (numberOfSeparators): move to lyxrow_funcs
1875         (numberOfHfills): move to lyxrow_funcs
1876         (numberOfLabelHfills): move to lyxrow_funcs
1877         (hfillExpansion): move to lyxrow_funcs
1878
1879         * lyxfunc.C: adjust
1880
1881         * bufferview_funcs.C (toggleAndShow): adjust
1882
1883         * RowList.h: Remove class RowList from file leave just a
1884         std::list<Row>.
1885
1886         * RowList.C: delete file
1887
1888         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1889         and lyxrow_funcs.h
1890
1891 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * text3.C (cursorPrevious): adjust
1894         (cursorNext): adjust
1895         (dispatch): adjust
1896
1897         * text2.C (redoHeightOfParagraph): adjust
1898         (redoDrawingOfParagraph): adjust
1899         (setCursor): adjust
1900
1901         * text.C (breakParagraph): adjust
1902         (insertChar): adjust
1903         (backspace): adjust
1904
1905         * rowpainter.C (RowPainter): adjust
1906         (leftMargin): simplify and adjust
1907         (most rowpainter functions): adjust.
1908
1909         * rowpainter.h: store the row as RowList::iterator not as Row*
1910
1911         * lyxcursor.C (row): taka RowList::iterator as arg
1912         (irow): ditto
1913
1914         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1915         of Row*.
1916
1917 2003-04-01  Angus Leeming  <leeming@lyx.org>
1918
1919         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1920         stuff like bool Bool.
1921
1922 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
1923
1924         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1925         rewrite a loop
1926
1927 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1930         RowList::iterator.
1931
1932         * lyxtext.h (rows): drop one version and leve a const variant that
1933         returns a RowList::iterator.
1934
1935 2003-03-31  Angus Leeming  <leeming@lyx.org>
1936
1937         * text.C (fill): ensure that the signature is the same as that in the
1938         header file.
1939
1940 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * text2.C (redoParagraphs): adjust
1943         (updateCounters): adjust
1944         (checkParagraph): adjust
1945         (getColumnNearX): adjust and reformat a bit.
1946
1947         * text.C (top_y): adjust
1948         (workWidth): adjust
1949         (leftMargin): adjust
1950         (prepareToPrint): adjust
1951         (getRow): adjust
1952         (getRowNearY): adjust
1953
1954         * lyxtext.h: make rowlist_ mutable.
1955
1956         * RowList.h: add const_iterator
1957         * RowList.C: adjust for RowList::const_iterator.
1958
1959         * text2.C (getCursorX): make it take a RowList::iterator as arg,
1960         adjust.
1961
1962 2003-03-31  John Levon  <levon@movementarian.org>
1963
1964         * lyxrc.h:
1965         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1966
1967         * lyx_main.C: set default fonts from using lyx_gui funcs
1968
1969         * exporter.C: pdf_mode moved from lyxrc
1970
1971         * lyx_cb.C:
1972         * lyxfunc.C: changes from above
1973
1974 2003-03-31  John Levon  <levon@movementarian.org>
1975
1976         * lyx_main.C: fix to the last fix
1977
1978 2003-03-31  John Levon  <levon@movementarian.org>
1979
1980         * bufferlist.C: "Load original" -> "Load Original"
1981
1982         * converter.C:
1983         * exporter.C:
1984         * importer.C:
1985         * lyx_main.C:
1986         * format.C: more Alert cleanups
1987
1988 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * text2.C (removeParagraph): make it take a RowList::iterator as
1991         arg, adjust.
1992         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1993         (postRowPaint): make it take a RowList::iterator as arg, adjust.
1994
1995         * text.C (anchor_row): make it take a RowList::iterator as arg,
1996         adjust.
1997         (computeBidiTables): make it take a const reference to Row instead
1998         of Row pointer, adjust.
1999         (leftMargin): make it take a RowList::iterator as arg, adjust.
2000         (rowBreakPoint): adjust
2001         (breakAgainOneRow): make it take a RowList::iterator as arg,
2002         adjust.
2003         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2004
2005         * bufferview_funcs.C (toggleAndShow): adjust
2006
2007 2003-03-30  John Levon  <levon@movementarian.org>
2008
2009         * Makefile.am:
2010         * BoostFormat.h:
2011         * boost-inst.C: moved to support
2012
2013         * several files: changes as a result
2014
2015 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2016
2017         * text2.C (LyXText): adjust.
2018         (init): adjust
2019         (removeRow): make it take a RowList::iterator as arg, adjust.
2020         (fullRebreak): adjust
2021         (deleteEmptyParagraphMechanism): adjust
2022         (clearPaint): adjust
2023         (postPaint): adjust
2024
2025         * text.C (top_y): adjust
2026         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2027         (breakAgain): make it take a RowList::iterator as arg, adjust.
2028         (breakParagraph): adjust
2029         (insertChar): adjust
2030         (backspace): adjust
2031
2032         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2033         need_break_row, and refresh_row.
2034
2035         * text3.C (dispatch): adjust
2036
2037         * text2.C (checkParagraph): adjust
2038         (setCursor): adjust
2039         (setCursorFromCoordinates): adjust
2040
2041         * text.C (top_y): adjust
2042         (workWidth): adjust
2043         (getRow): make it return a RowList::iterator, adjust
2044         (getRowNearY): make it return a RowList::iterator, adjust
2045
2046         * text2.C (init): adjust
2047         (insertRow): remove function
2048         (insertParagraph): adjust
2049         (redoParagraphs): adjust
2050         (fullRebreak): adjust
2051         (updateCounters): adjust
2052
2053         * text.C (top_y): rewrite to use RowList iterators.
2054         (top_y): adjust
2055         (setHeightOfRow): rewrite to sue RowList iterators.
2056         (appendParagraph): adjust
2057         (breakAgain): adjust
2058         (breakAgainOneRow): adjust
2059         (breakParagraph): adjust
2060         (getRow): adjust
2061         (getRowNearY): adjust, and remove commented code.
2062
2063         * lyxtext.h (firstRow): delete function
2064         (lastRow): delete function
2065         (rows): new function (const and non-const versions.)
2066         (insertRow): delete function
2067
2068         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2069
2070 2003-03-29  John Levon  <levon@movementarian.org>
2071
2072         * BufferView_pimpl.C: always update scrollbar top
2073         because pasting text when we're anchored could mean we
2074         miss an update altogether
2075
2076 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * text2.C (init): use rowlist_.end() and not 0.
2079         (insertRow): change to take a RowList::iterator as arg, adjust
2080         for this.
2081         (insertParagraph): change to take a RowList::iterator as arg,
2082         adjust for this.
2083         (redoParagraphs): remove some debug msgs.
2084
2085         * text.C (appendParagraph): change to take a RowList::iterator
2086         arg, adjust for this.
2087         (breakAgain): add an assert
2088         (breakAgainOneRow): ditto
2089
2090 2003-03-29  John Levon  <levon@movementarian.org>
2091
2092         * text2.C: do not clear selection after inc/decDepth
2093         (bug 550)
2094
2095 2003-03-29  John Levon  <levon@movementarian.org>
2096
2097         * BufferView.C:
2098         * buffer.C: fix broken strerrors according to Lars
2099
2100 2003-03-29  John Levon  <levon@movementarian.org>
2101
2102         * converters.C: more Alert cleanups
2103
2104 2003-03-29  John Levon  <levon@movementarian.org>
2105
2106         * bufferview_funcs.C: remove pointless Alert
2107
2108         * buffer.C: fix confusing error message when
2109         a template is chmoded 000
2110
2111 2003-03-29  John Levon  <levon@movementarian.org>
2112
2113         * BufferView.C:
2114         * BufferView.h:
2115         * BufferView_pimpl.C: Alert fixes
2116
2117         * Makefile.am:
2118         * tabular.C:
2119         * tabular-old.C: remove unused table compat reading
2120
2121 2003-03-29  John Levon  <levon@movementarian.org>
2122
2123         * BufferView.C:
2124         * buffer.C:
2125         * lyx_cb.h:
2126         * lyx_cb.C: more Alert cleanups
2127
2128         * lyxfunc.C: don't allow chktex if not latex document
2129
2130 2003-03-29  John Levon  <levon@movementarian.org>
2131
2132         * lyx_cb.C:
2133         * BufferView.C:
2134         * buffer.C: warnings pushed down from support/,
2135         kill err_alert
2136
2137 2003-03-29  John Levon  <levon@movementarian.org>
2138
2139         * lyxfunc.C: safety check for C-r (revert)
2140
2141 2003-03-29  John Levon  <levon@movementarian.org>
2142
2143         * bufferlist.h:
2144         * bufferlist.C: several UI fixes using Alert::prompt.
2145         Fix the pointless looping quit code. Fix stupid revert
2146         behaviour (bug 938)
2147
2148         * lyxvc.h:
2149         * lyxvc.C:
2150         * lyx_cb.C: use Alert::prompt
2151
2152         * lyx_main.C: remove a silly question
2153
2154         * lyxfunc.C: remove a couple of silly questions,
2155         use Alert::prompt
2156
2157 2003-03-28  John Levon  <levon@movementarian.org>
2158
2159         * text2.C: fix bug 974 (End on empty par)
2160
2161 2003-03-28  John Levon  <levon@movementarian.org>
2162
2163         * BufferView_pimpl.C:
2164         * LyXAction.C:
2165         * lfuns.h: remove do-nothing math greek lfuns
2166
2167 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2168
2169         * lyxgluelength.h (isValidGlueLength): add default arg on
2170         parameter 2. Remove default arg from friend in class.
2171
2172         * lyxlength.h (isValidLength): add default arg on parameter 2.
2173         Remove default arg from friend in class.
2174
2175         * text2.C (LyXText): adjust, initialize refresh_row.
2176         (init): adjust
2177         (removeRow): adjust
2178         (insertRow): adjust
2179         (insertParagraph): adjst
2180         (redoParagraphs): adjust
2181         (fullRebreak): adjust
2182         (updateCounters): adjust
2183         (deleteEmptyParagraphMechanism): first attempt at fixing a
2184         crashing bug.
2185
2186         * text.C (top_y): adjust
2187         (setHeightOfRow): adjust
2188         (getRow): adjust
2189         (getRowNearY): adjust
2190
2191         * lyxtext.h: include RowList.h
2192         (~LyXText): not needed anymore, deleted.
2193         (firstRow): modify for RowList
2194         (lastRow): new function
2195         Delete firstrow and lastrow class variables, add a Rowlist
2196         rowlist_ class variable.
2197
2198         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2199         paragraph is empty.
2200
2201         * RowList.C (insert): fix case where it == begin().
2202
2203 2003-03-26  Angus Leeming  <leeming@lyx.org>
2204
2205         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2206         the thesaurus dialog.
2207
2208 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2211
2212         * RowList.[Ch]: new files
2213
2214         * ParagraphList.C (erase): handle the case where it == begin
2215         correctly.
2216
2217 2003-03-25  John Levon  <levon@movementarian.org>
2218
2219         * Makefile.am:
2220         * aspell_local.h:
2221         * aspell.C: add new aspell support
2222
2223         * lyxrc.h:
2224         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2225         have it accessible.
2226
2227 2003-03-25  Angus Leeming  <leeming@lyx.org>
2228
2229         * lfuns.h:
2230         * LyXAction.C (init): new LFUN_INSET_INSERT.
2231
2232         * BufferView_pimpl.C (dispatch): split out part of the
2233         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2234
2235         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2236         LFUN_INSET_APPLY.
2237
2238 2003-03-25  Angus Leeming  <leeming@lyx.org>
2239
2240         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2241
2242 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2243
2244         * text2.C:
2245         * text3.C: remove useless row->height(0)
2246
2247 2003-03-25  John Levon  <levon@movementarian.org>
2248
2249         * lyxtext.h:
2250         * text2.C:
2251         * text3.C: rename the refreshing stuff to better names
2252
2253 2003-03-24  John Levon  <levon@movementarian.org>
2254
2255         * BufferView_pimpl.h:
2256         * BufferView_pimpl.C: update layout choice on a mouse
2257         press/release
2258
2259 2003-03-23  John Levon  <levon@movementarian.org>
2260
2261         * Makefile.am: fix commandtags.h reference
2262
2263 2003-03-22  John Levon  <levon@movementarian.org>
2264
2265         * BufferView_pimpl.C:
2266         * lyxtext.h:
2267         * rowpainter.C:
2268         * rowpainter.h:
2269         * text.C:
2270         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2271
2272 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2273
2274         * lyxtext.h:
2275         * text.C: take the rtl methods out of line
2276
2277 2003-03-21 André Pönitz <poenitz@gmx.net>
2278
2279         * metricsinfo.[Ch]: new files containing structures to be passed around
2280         during the two-phase-drawing...
2281
2282 2003-03-21 André Pönitz <poenitz@gmx.net>
2283
2284         * lyxtextclass.C: read 'environment' tag.
2285
2286 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2287
2288         * text2.C (removeRow): fix bug 964
2289
2290 2003-03-20  John Levon  <levon@movementarian.org>
2291
2292         * rowpainter.C:
2293         * text.C:
2294         * text2.C: paint cleanups. Inset::update() dropped font
2295         parameter
2296
2297 2003-03-19  John Levon  <levon@movementarian.org>
2298
2299         * lyxfunc.C: only fitcursor/markDirty if available()
2300
2301 2003-03-19  John Levon  <levon@movementarian.org>
2302
2303         * commandtags.h: rename to ...
2304
2305         * lfuns.h: ... this, and renumber / cleanup
2306
2307 2003-03-19  John Levon  <levon@movementarian.org>
2308
2309         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2310         fit the cursor after an lfun
2311
2312         * BufferView.h:
2313         * BufferView.C:
2314         * BufferView_pimpl.h:
2315         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2316
2317         * LyXAction.C: layout-character should have ReadOnly
2318
2319         * ParagraphParameters.C:
2320         * buffer.C:
2321         * bufferview_funcs.C:
2322         * lyx_cb.C:
2323         * lyxfind.C:
2324         * lyxtext.h:
2325         * text.C:
2326         * text2.C:
2327         * text3.C:
2328         * undo_funcs.C: changes from above
2329
2330 2003-03-18  John Levon  <levon@movementarian.org>
2331
2332         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2333         remove it from update()
2334
2335         * lyxfunc.C: update layout choice after an lfun
2336
2337         * text3.C: remove extra updateLayoutChoice()s
2338
2339 2003-03-18  John Levon  <levon@movementarian.org>
2340
2341         * text.C: top_y change means full repaint, fix
2342         a drawing bug with cursor movement
2343
2344 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2345
2346         * lyxtext.h:
2347         * text.C:
2348         * text2.C: anchor row on setCursor
2349
2350 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2351
2352         * lyxtext.h: remove almost all mutable keywords
2353         * text.C:
2354         * text2.C:
2355         * text3.C: remove const keywords accordingly
2356
2357 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2360         anon namespace
2361         (TeXEnvironment): ditto
2362         (TeXOnePar): ditto
2363
2364 2003-03-17  John Levon  <levon@movementarian.org>
2365
2366         * text.C (rowBreakPoint): remove attempt to fix displayed
2367         math insets inside a manual label
2368
2369 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2370
2371         * lyxtext.h: remove BufferView* as first arg from almost all class
2372         functions.
2373         * other files: adjust.
2374
2375 2003-03-17  John Levon  <levon@movementarian.org>
2376
2377         * lyxtext.h:
2378         * undo_funcs.C:
2379         * text2.C: more paint cleanups
2380
2381         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2382
2383         * rowpainter.h:
2384         * rowpainter.C: remove "smart" background painting code
2385
2386 2003-03-16  John Levon  <levon@movementarian.org>
2387
2388         * lyxtext.h:
2389         * text.C:
2390         * text2.C:
2391         * text3.C: add helper functions for setting refresh_row/y
2392
2393 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2394
2395         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2396         newline inset which *can* get inserted in the pass_thru layouts.
2397         This is primarily for literate documents.
2398
2399 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2400
2401         * buffer.C: increment LYX_FORMAT to 223
2402
2403 2003-03-14 André Pönitz <poenitz@gmx.net>
2404
2405         * textclass.h: prepare for environment handling, ws changes
2406         * lyxlayout.C: read latexheader and latexfooter tags
2407
2408 2003-03-14  John Levon  <levon@movementarian.org>
2409
2410         * text2.C: rewrite ::status() a bit
2411
2412 2003-03-13  John Levon  <levon@movementarian.org>
2413
2414         * lyxtext.h: add some docs
2415
2416 2003-03-13  John Levon  <levon@movementarian.org>
2417
2418         * lyxtext.h:
2419         * text.C:
2420         * text2.C:
2421         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2422
2423 2003-03-13  John Levon  <levon@movementarian.org>
2424
2425         * text3.C: fix appendix redrawing
2426
2427 2003-03-13  John Levon  <levon@movementarian.org>
2428
2429         * text.C (setHeightOfRow):
2430         * rowpainter.h:
2431         * rowpainter.C: make appendix mark have the text
2432           "Appendix" so the user knows what it is
2433
2434         * LColor.h:
2435         * LColor.C: s/appendixline/appendix/ from above
2436
2437 2003-03-13  John Levon  <levon@movementarian.org>
2438
2439         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2440
2441         * text.C: fix a getChar(pos) bug properly
2442
2443 2003-03-13  Angus Leeming  <leeming@lyx.org>
2444
2445         * commandtags.h:
2446         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2447         Probably only temporary. Let's see how things pan out.
2448
2449         * BufferView.C (unlockInset):
2450         * BufferView_pimpl.C (fitCursor):
2451         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2452
2453         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2454         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2455
2456         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2457         new functions that convert ParagraphParameters to and from a string.
2458
2459         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2460         BufferView::Pimpl's dispatch.
2461         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2462
2463 2003-03-13 André Pönitz <poenitz@gmx.net>
2464
2465         * lyxfunc.C:
2466         * text3.C:
2467         * factory.C: make it aware of InsetEnv
2468
2469 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * text2.C (setCursor): never ask for one past last
2472         (setCursor): add some debugging messages.
2473
2474         * text.C (singleWidth): never ask for one past last
2475         (singleWidth): ditto
2476         (leftMargin): ditto
2477         (rightMargin): ditto
2478         (rowBreakPoint): ditto
2479         (setHeightOfRow): ditto
2480         (prepareToPrint): ditto
2481
2482         * rowpainter.C (paintBackground): never ask for one past last
2483         (paintText): never ask for one past last
2484
2485         * paragraph_pimpl.C (getChar): make the assert stricter, never
2486         allow the one past last pos to be taken
2487
2488         * paragraph.C (getChar): ws changes only
2489
2490         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2491         (numberOfSeparators): ditto
2492         (numberOfHfills): ditto
2493
2494 2003-03-12  John Levon  <levon@movementarian.org>
2495
2496         * author.h:
2497         * author.C:
2498         * bufferparams.h:
2499         * bufferparams.C:
2500         * paragraph_funcs.C: fix per-buffer authorlists
2501
2502 2003-03-12  John Levon  <levon@movementarian.org>
2503
2504         * text.C: fix newline in right address
2505
2506 2003-03-12  Angus Leeming  <leeming@lyx.org>
2507
2508         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2509         duplicate those in LyXFunc::dispatch.
2510
2511         * commandtags.h:
2512         * LyXAction.C:
2513         * ToolbarDefaults.C:
2514         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2515         Add LFUN_FONTFREE_UPDATE.
2516
2517         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2518         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2519
2520         * bufferview_func.[Ch]: several new functions to facilliate
2521         transfer of data to and from the character dialog.
2522
2523 2003-03-12  John Levon  <levon@movementarian.org>
2524
2525         * buffer.C:
2526         * paragraph.h:
2527         * paragraph.C:
2528         * paragraph_funcs.C:
2529         * paragraph_pimpl.C:
2530         * sgml.C:
2531         * tabular.C:
2532         * text.C:
2533         * text3.C: remove META_NEWLINE in favour of an inset
2534
2535         * rowpainter.h:
2536         * rowpainter.C: remove paintNewline (done by inset)
2537
2538 2003-03-12  John Levon  <levon@movementarian.org>
2539
2540         * paragraph_pimpl.C: complain about bad getChar()s
2541         for a while at least
2542
2543 2003-03-12  John Levon  <levon@movementarian.org>
2544
2545         * buffer.h:
2546         * buffer.C: move paragraph read into a separate function,
2547         a little renaming to reflect that.
2548
2549         * bufferparams.h:
2550         * bufferparams.C: remove the author_ids map, not necessary now
2551
2552         * factory.h:
2553         * factory.C: moved Buffer::readInset to here
2554
2555         * paragraph_funcs.h:
2556         * paragraph_funcs.C: readParagraph free function moved from
2557         buffer.C
2558
2559         * tabular.C: name change
2560
2561 2003-03-12  John Levon  <levon@movementarian.org>
2562
2563         * buffer.C:
2564         * ParagraphParameters.C: move par params input to
2565         a read() method
2566
2567         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2568         behave like a normal read from the stream wrt reading
2569         a line vs. a \\token
2570
2571 2003-03-12  John Levon  <levon@movementarian.org>
2572
2573         * paragraph.C:
2574         * ParagraphParameters.h:
2575         * ParagraphParameters.C: move output code to a
2576         ::write() method
2577
2578 2003-03-12  John Levon  <levon@movementarian.org>
2579
2580         * BufferView.C (insertLyXFile):
2581         * buffer.h:
2582         * buffer.C:
2583         * tabular.C: use a parlist iterator for creating the
2584           document.
2585
2586 2003-03-12  John Levon  <levon@movementarian.org>
2587
2588         * buffer.C: make current_change static local not
2589           static file-scope
2590
2591 2003-03-12  John Levon  <levon@movementarian.org>
2592
2593         * buffer.C: fix insertStringAsLines for change tracking
2594
2595 2003-03-12  John Levon  <levon@movementarian.org>
2596
2597         * BufferView.C:
2598         * tabular.C:
2599         * buffer.h:
2600         * buffer.C:
2601         * bufferparams.h:
2602         * bufferparams.C: move author list into params. Rename some
2603           functions. Move the header reading into a separate token
2604           loop. Move the header token reading into BufferParams.
2605
2606 2003-03-12  John Levon  <levon@movementarian.org>
2607
2608         * changes.C: put debug inside lyxerr.debugging() checks
2609
2610 2003-03-11 André Pönitz <poenitz@gmx.net>
2611
2612         * factory.C: make it aware of InsetHFill
2613
2614 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2615
2616         * buffer.C (latexParagraphs): move function from here...
2617         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2618         args.
2619
2620 2003-03-10  Angus Leeming  <leeming@lyx.org>
2621
2622         * LyXAction.C (init): fix bug in poplating array with multiple entries
2623         with the same LFUN (spotted by JMarc).
2624
2625 2003-03-10  John Levon  <levon@movementarian.org>
2626
2627         * text.C:
2628         * text2.C: move getColumnNearX() near its
2629         only call site
2630
2631 2003-03-10  John Levon  <levon@movementarian.org>
2632
2633         * text.C: fix break before a minipage
2634
2635 2003-03-10  John Levon  <levon@movementarian.org>
2636
2637         * text.C: fix the last commit
2638
2639 2003-03-09  John Levon  <levon@movementarian.org>
2640
2641         * lyxtext.h:
2642         * text.C:
2643         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2644         bug 365 (don't break before insets unless needed). Don't
2645         return a value > last under any circumstances.
2646
2647 2003-03-09  Angus Leeming  <leeming@lyx.org>
2648
2649         * BufferView_pimpl.C (trackChanges, dispatch): call
2650         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2651
2652 2003-03-09  Angus Leeming  <leeming@lyx.org>
2653
2654         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2655         than Dialogs::showAboutlyx().
2656
2657 2003-03-09  Angus Leeming  <leeming@lyx.org>
2658
2659         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2660         than Dialogs::showTabularCreate().
2661
2662 2003-03-09  John Levon  <levon@movementarian.org>
2663
2664         * lyxtext.h:
2665         * text.C:
2666         * text2.C: 3rd arg to nextBreakPoint was always the same.
2667           Use references.
2668
2669 2003-03-08  John Levon  <levon@movementarian.org>
2670
2671         * lyxrow.C:
2672         * paragraph.C:
2673         * paragraph.h:
2674         * rowpainter.C:
2675         * text.C:
2676         * text2.C: Remove the "main" bit from the "main body"
2677           notion.
2678
2679 2003-03-08  John Levon  <levon@movementarian.org>
2680
2681         * text.C (leftMargin): The left margin of an empty
2682         manual label paragraph should not include the label width
2683         string length.
2684
2685         * text.C (prepareToPrint): don't attempt to measure hfills
2686         for empty manual label paragraphs - the answer should be 0
2687
2688 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2689
2690         * CutAndPaste.C: remove commented code and reindent.
2691
2692 2003-03-08  John Levon  <levon@movementarian.org>
2693
2694         * lyxfunc.h:
2695         * lyxfunc.C: move reloadBuffer()
2696
2697         * BufferView.h:
2698         * BufferView.C: to here
2699
2700         * lyxvc.C: add comment
2701
2702         * vc-backend.h:
2703         * vc-backend.C: call bv->reload() to avoid
2704           getStatus() check on MENURELOAD
2705
2706 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
2707
2708         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2709         to an old format .dep file.
2710
2711 2003-03-07  Angus Leeming  <leeming@lyx.org>
2712
2713         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2714         when the LFUN_MOUSE_RELEASE should have been handled by
2715         inset->localDispatch.
2716
2717 2003-03-07  Angus Leeming  <leeming@lyx.org>
2718
2719         * BufferView_pimpl.C (dispatch):
2720         * LyXAction.C (init):
2721         * ToolbarDefaults.C (init):
2722         * commandtags.h:
2723         * lyxfunc.C (getStatus):
2724         remove LFUN_INSET_GRAPHICS.
2725
2726         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2727
2728 2003-03-07  Angus Leeming  <leeming@lyx.org>
2729
2730         * commandtags.h:
2731         * LyXAction.C (init):
2732         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2733
2734         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2735
2736         * commandtags.h:
2737         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2738
2739         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2740         localDispatch method LFUN_INSET_DIALOG_UPDATE.
2741
2742 2003-03-07  Angus Leeming  <leeming@lyx.org>
2743
2744         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2745         remove "ert".
2746
2747 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * ParagraphList.C (front): new function
2750         (back): implement
2751
2752 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2755         and top_row_offset_. removed var first_y.
2756         * text.C (top_y):
2757         * text2.C (LyXText, removeRow):
2758         * text3.C:
2759         * BufferView_pimpl.C:
2760         use these methods instead of using first_y
2761
2762 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * text2.C (pasteSelection): adjust for checkPastePossible
2765
2766         * CutAndPaste.C: remove Paragraph * buf and replace with
2767         ParagraphList paragraphs.
2768         (DeleteBuffer): delete
2769         (cutSelection): change the tc type to textclass_type
2770         (copySelection): change the tc type to textclass_type
2771         (copySelection): adjust for ParagraphList
2772         (pasteSelection): change the tc type to textclass_type
2773         (pasteSelection): adjust for Paragraphlist
2774         (nrOfParagraphs): simplify for ParagraphList
2775         (checkPastePossible): simplify for ParagraphList
2776         (checkPastePossible): remove unused arg
2777
2778         * ParagraphList.C (insert): handle the case where there are no
2779         paragraphs yet.
2780
2781         * CutAndPaste.h: make CutAndPaste a namespace.
2782
2783         * text3.C (dispatch): adjust
2784
2785         * text.C (breakParagraph): add a ParagraphList as arg
2786
2787         * paragraph_funcs.C (breakParagraph): change to take a
2788         BufferParams and a ParagraphList as args.
2789         (breakParagraphConservative): ditto
2790         (mergeParagraph): ditto
2791         (TeXDeeper): add a ParagraphList arg
2792         (TeXEnvironment): ditto
2793         (TeXOnePar): ditto
2794
2795         * buffer.C (readLyXformat2): adjust
2796         (insertStringAsLines): adjust
2797         (latexParagraphs): adjust
2798
2799         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2800         (cutSelection): adjust
2801         (pasteSelection): adjust
2802
2803         * BufferView_pimpl.C (insertInset): adjust
2804
2805 2003-03-05  Angus Leeming  <leeming@lyx.org>
2806
2807         * commandtags.h:
2808         * LyXAction.C (init):
2809         * BufferView_pimpl.C (dispatch):
2810         * lyxfunc.C (getStatus):
2811         remove LFUN_CHILD_INSERT.
2812
2813         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2814
2815 2003-03-05  Angus Leeming  <leeming@lyx.org>
2816
2817         * commandtags.h:
2818         * LyXAction.C (init):
2819         * src/factory.C (createInset):
2820         * lyxfunc.C (getStatus):
2821         * text3.C (dispatch):
2822         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2823
2824         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2825
2826 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * ParagraphList.C (insert): handle insert right before end()
2829         (erase): fix cases where it can be first or last paragraph.
2830
2831 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * paragraph_funcs.C (TeXEnvironment): remove all usage of
2834         Paragraph::next and Paragraph::previous
2835         (TeXOnePar): ditto
2836
2837         * text.C (breakParagraph): adjust
2838
2839         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2840         BufferParams& as arg.
2841         (breakParagraph): use ParagraphList::insert
2842         (breakParagraphConservative): take a Buffer* instead of a
2843         BufferParams& as arg.
2844         (breakParagraphConservative): use ParagraphList::insert.
2845
2846         * buffer.C (insertStringAsLines): un-const it
2847         (insertStringAsLines): adjust
2848
2849         * ParagraphList.C (insert): new function
2850
2851         * CutAndPaste.C (pasteSelection): adjust
2852
2853         * text.C (backspace): adjust
2854
2855         * tabular.C (SetMultiColumn): adjust
2856
2857         * CutAndPaste.C (cutSelection): adjust
2858         (pasteSelection): adjust
2859
2860         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2861         Buffer const * as arg
2862
2863         * ParagraphList.C (erase): new function
2864         * paragraph_funcs.C (mergeParagraph): use it
2865         (mergeParagraph): make it take a Buffer* instead of a
2866         BufferParams* as arg
2867
2868         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2869         as arg
2870         (breakParagraphConservative): ditto
2871
2872         * paragraph.h: remove the breakParagraph friend
2873
2874         * paragraph.C (eraseIntern): new function
2875         (setChange): new function
2876
2877         * paragraph_funcs.C (mergeParagraph): make it take a
2878         ParagraphList::iterator instead of a Paragraph *, adjust
2879         accordingly.
2880
2881         * paragraph.h: move an #endif so that the change tracking stuff
2882         also works in the NO_NEXT case.
2883
2884 2003-03-04  Angus Leeming  <leeming@lyx.org>
2885
2886         * commandtags.h:
2887         * LyXAction.C: new LFUN_INSET_MODIFY.
2888
2889         * BufferView_pimpl.C (dispatch): if an inset is found to be open
2890         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2891
2892 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * several files: ws changes only
2895
2896         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2897         (TeXEnvironment): ditto
2898         (TeXDeeper): ditto
2899
2900         * buffer.C (makeLaTeXFile): adjust
2901         (latexParagraphs): make it take ParagraphList::iterator as args
2902
2903 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * buffer.C (latexParagraphs): adjust
2906
2907         * paragraph.C (TeXOnePar): move function...
2908         (optArgInset): move function...
2909         (TeXEnvironment): move function...
2910         * paragraph_pimpl.C (TeXDeeper): move function...
2911         * paragraph_funcs.C: ...here
2912
2913         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2914
2915 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * buffer.C (readInset): remove compability code for old Figure and
2918         InsetInfo insets
2919
2920 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * buffer.C: ws changes
2923         (readInset):
2924
2925         * BufferView_pimpl.C: ditto
2926         * author.C: ditto
2927         * buffer.h: ditto
2928         * bufferlist.h: ditto
2929         * changes.h: ditto
2930         * lyxfunc.C: ditto
2931
2932 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
2933
2934         * converter.[Ch]: split into itself +
2935         * graph.[Ch]
2936         * format.[Ch]
2937         * Makefile.am: += graph.[Ch] + format.[Ch]
2938         * MenuBackend.C
2939         * buffer.C
2940         * exporter.C
2941         * importer.C
2942         * lyx_main.C
2943         * lyxfunc.C
2944         * lyxrc.C: added #include "format.h"
2945
2946 2003-02-27  Angus Leeming  <leeming@lyx.org>
2947
2948         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2949           a label.
2950
2951         * factory.C (createInset): add "label" to the factory.
2952
2953         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2954           string and do no more.
2955
2956 2003-02-27  Angus Leeming  <leeming@lyx.org>
2957
2958         * commandtags.h:
2959         * LyXAction.C (init):
2960         * factory.C (createInset):
2961         * BufferView_pimpl.C (dispatch):
2962           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2963
2964         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2965
2966         * lyxfunc.C (dispatch):
2967         * text3.C (dispatch): pass name to params2string.
2968
2969 2003-02-26  Angus Leeming  <leeming@lyx.org>
2970
2971         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2972           blocks together.
2973           Rearrange the ~includes. Strip out the unnecessary ones.
2974
2975         * factory.C (createInset): reformat.
2976           create new insets for the various LFUN_XYZ_APPLY lfuns.
2977
2978 2003-02-26  John Levon  <levon@movementarian.org>
2979
2980         * lyxrow.h:
2981         * lyxrow.C: add isParStart,isParEnd helpers
2982
2983         * paragraph.h: make isInserted/DeletedText take refs
2984
2985         * paragraph_funcs.h:
2986         * paragraph_funcs.C: remove #if 0'd code
2987
2988         * lyxtext.h:
2989         * text3.C:
2990         * text2.C:
2991         * text.C: use lyxrow helpers above.
2992           Move draw and paint routines to RowPainter.
2993           Make several methods use refs not pointers.
2994           Make backgroundColor() const.
2995           Add markChangeInDraw(), isInInset().
2996           Merge changeRegionCase into changeCase.
2997           Make workWidth() shouldn't-happen code into an Assert.
2998
2999         * rowpainter.h:
3000         * rowpainter.C: new class for painting a row.
3001
3002         * vspace.h:
3003         * vspace.C: make inPixels take a ref
3004
3005 2003-02-26  Angus Leeming  <leeming@lyx.org>
3006
3007         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3008         LFUN_REF_APPLY.
3009
3010 2003-02-25  John Levon  <levon@movementarian.org>
3011
3012         * ispell.C: give the forked command a more accurate name
3013
3014 2003-02-22  John Levon  <levon@movementarian.org>
3015
3016         * toc.h:
3017         * toc.C: make TocItem store an id not a Paragraph *
3018           (bug #913)
3019
3020 2003-02-21  Angus Leeming  <leeming@lyx.org>
3021
3022         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3023           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3024           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3025           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3026           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3027           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3028
3029         * BufferView_pimpl.C (dispatch):
3030         * LyXAction.C (init):
3031         * factory.C (createInset):
3032         * lyxfunc.C (getStatus, dispatch):
3033         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3034
3035 2003-02-21  Angus Leeming  <leeming@lyx.org>
3036
3037         * BufferView_pimpl.C (MenuInsertLyXFile):
3038         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3039         * lyxfunc.C (menuNew, open, doImport):
3040           no longer pass a LyXView & to fileDlg.
3041
3042 2003-02-21  Angus Leeming  <leeming@lyx.org>
3043
3044         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3045         * LyXAction.C: change, BIBKEY to BIBITEM.
3046         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3047         Change InsetBibKey to InsetBibitem.
3048         Change BIBKEY_CODE to BIBITEM_CODE.
3049         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3050         * factory.C: replace insetbib.h with insetbibitem.h.
3051         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3052         * paragraph.C: replace insetbib.h with insetbibitem.h.
3053         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3054         Change bibkey() to bibitem().
3055         * text.C: remove insetbib.h.
3056         * text2.C: replace insetbib.h with insetbibitem.h.
3057         change bibkey() to bibitem().
3058         * text3.C: remove insetbib.h.
3059         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3060
3061 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3062
3063         * lyxrc.C (output): enclose user email in quotes (in case there are
3064         several words)
3065
3066 2003-02-18  John Levon  <levon@movementarian.org>
3067
3068         * buffer.h: add std::
3069
3070 2003-02-17  John Levon  <levon@movementarian.org>
3071
3072         * SpellBase.h:
3073         * ispell.h:
3074         * ispell.C:
3075         * pspell.h:
3076         * pspell.C: reworking. Especially in ispell, a large
3077           number of clean ups and bug fixes.
3078
3079         * lyxfunc.C: fix revert to behave sensibly
3080
3081 2003-02-17 André Pönitz <poenitz@gmx.net>
3082
3083         * LyXAction.C:
3084         * commandtags.h: new LFUN_INSERT_BIBKEY
3085
3086         * layout.h:
3087         * lyxlayout.C:
3088         * buffer.C:
3089         * factory.C:
3090         * text.C:
3091         * text2.C:
3092         * text3.C:
3093         * paragraph.[Ch]:
3094         * paragraph_func.C: remove special bibkey handling
3095
3096 2003-02-17  John Levon  <levon@movementarian.org>
3097
3098         * text.C (Delete): fix case where delete at the end of
3099           the very first paragraph would not merge the pars
3100
3101 2003-02-17  John Levon  <levon@movementarian.org>
3102
3103         * lyxrow.C: fix lastPrintablePos()
3104
3105 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3106
3107         * bufferparams.C (writeLaTeX): add a std:here
3108
3109         * buffer.C: and remove a using directive there
3110
3111 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3112
3113         * buffer.C (makeLaTeXFile): move the code that generates the
3114           preamble...
3115
3116         * bufferparams.C (writeLaTeX): ... in this new method
3117
3118         * LaTeXFeatures.C (getEncodingSet): make const
3119           (getLanguages): make const
3120
3121         * MenuBackend.C (binding): returns the binding associated to this
3122           action
3123           (add): sets the status of each item by calling getStatus. Adds
3124           some intelligence.
3125           (read): add support for OptSubMenu
3126           (expand): remove extra separator at the end of expanded menu
3127
3128 2003-02-15  John Levon  <levon@movementarian.org>
3129
3130         * BufferView.C:
3131         * BufferView_pimpl.C:
3132         * bufferlist.h:
3133         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3134           inset code that had no actual effect. Remove unneeded status
3135           code.
3136
3137 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3138
3139         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3140           in preamble
3141
3142 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3143
3144         * text.C (drawLengthMarker): also draw an arrow marker for
3145           symbolic lengths (medskip...)
3146
3147 2003-02-14  John Levon  <levon@movementarian.org>
3148
3149         * tabular.h:
3150         * tabular.C: better method names
3151
3152 2003-02-14  John Levon  <levon@movementarian.org>
3153
3154         * BufferView_pimpl.C:
3155         * bufferlist.C:
3156         * buffer.C:
3157         * converter.C:
3158         * lyx_cb.C:
3159         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3160           it's a more accurate name. Remove some pointless uses.
3161
3162 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3163
3164         * text2.C (LyXText): change order of initilizers to shut off
3165           warnings
3166
3167 2003-02-14  John Levon  <levon@movementarian.org>
3168
3169         * buffer.C: use ParIterator for getParFromID()
3170
3171         * paragraph.h:
3172         * paragraph.C:
3173         * paragraph_pimpl.h:
3174         * paragraph_pimpl.C: remove unused getParFromID()
3175
3176 2003-02-14  John Levon  <levon@movementarian.org>
3177
3178         * buffer.C: remove some very old #if 0'd parse code
3179
3180 2003-02-13  John Levon  <levon@movementarian.org>
3181
3182         * text.h:
3183         * text.C:
3184         * text2.C: move hfillExpansion(), numberOfSeparators(),
3185           rowLast(), rowLastPrintable(), numberofHfills(),
3186           numberOfLabelHfills() ...
3187
3188         * lyxrow.h:
3189         * lyxrow.C: ... to member functions here.
3190
3191         * paragraph.h:
3192         * paragraph.C:
3193         * lyxtext.h:
3194         * text.C: remove LyXText::beginningOfMainBody(), and call
3195           p->beginningOfMainBody() directly. Move the check for
3196           LABEL_MANUAL into the latter.
3197
3198         * text.h:
3199         * text.C:
3200         * text2.C:
3201         * vspace.C:
3202         * BufferView.h:
3203         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3204
3205         * text.h:
3206         * text.C:
3207         * text2.C:
3208         * text3.C:
3209         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3210           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3211
3212 2003-02-13  John Levon  <levon@movementarian.org>
3213
3214         * CutAndPaste.C: remove debug
3215
3216 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3217
3218         * paragraph.C (asString): remove two unused variables
3219
3220         * lyxtextclass.C (readTitleType):
3221           (Read):
3222           (LyXTextClass): handle new members titletype_ and titlename_
3223
3224         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3225
3226 2003-02-09  John Levon  <levon@movementarian.org>
3227
3228         * buffer.h:
3229         * buffer.C: replace hand-coded list with a map for the dep clean
3230
3231 2003-02-08  John Levon  <levon@movementarian.org>
3232
3233         * LaTeX.C: consolidate code into showRunMessage() helper
3234
3235 2003-02-08  John Levon  <levon@movementarian.org>
3236
3237         * lyxfind.C:
3238         * lyxtext.h:
3239         * text2.C:
3240         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3241           and pass the size in explicitly
3242
3243         * BufferView_pimpl.h:
3244         * BufferView_pimpl.C:
3245         * BufferView.h:
3246         * BufferView.C: add getCurrentChange()
3247
3248         * BufferView_pimpl.h:
3249         * BufferView_pimpl.C: handle change lfuns
3250
3251         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3252           for changes. Mark pasted paragraphs as new.
3253
3254         * support/lyxtime.h:
3255         * support/lyxtime.C:
3256         * DepTable.C: abstract time_t as lyx::time_type
3257
3258         * LColor.h:
3259         * LColor.C: add colours for new text, deleted text, changebars
3260
3261         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3262           package use "usenames" option.
3263
3264         * commandtags.h:
3265         * lyxfunc.C:
3266         * LyXAction.C: add change lfuns
3267
3268         * Makefile.am:
3269         * author.h:
3270         * author.C: author handling
3271
3272         * buffer.h:
3273         * buffer.C: add a per-buffer author list, with first entry as
3274           current author. Handle new .lyx tokens for change tracking. Output
3275           author list to .lyx file. Output dvipost stuff to .tex preamble.
3276           Bump lyx format to 222.
3277
3278         * bufferlist.h:
3279         * bufferlist.C: add setCurrentAuthor() to reset current author details
3280           in all buffers.
3281
3282         * bufferparams.h:
3283         * bufferparams.C: add param for tracking
3284
3285         * bufferview_funcs.C: output change info in minibuffer
3286
3287         * Makefile.am:
3288         * changes.h:
3289         * changes.C: add change-tracking structure
3290
3291         * debug.h:
3292         * debug.C: add CHANGES debug flag
3293
3294         * lyxfind.h:
3295         * lyxfind.C: add code for finding the next change piece
3296
3297         * lyxrc.h:
3298         * lyxrc.C: add user_name and user_email
3299
3300         * lyxrow.h:
3301         * lyxrow.C: add a metric for the top of the text line
3302
3303         * lyxtext.h:
3304         * text.C: implement accept/rejectChange()
3305
3306         * lyxtext.h:
3307         * text.C: paint changebars. Paint new/deleted text in the chosen
3308         colours. Strike through deleted text.
3309
3310         * paragraph.h:
3311         * paragraph.C:
3312         * paragraph_pimpl.h:
3313         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3314           in the current change to the insert functions. Rework erase to
3315           mark text as deleted, adding an eraseIntern() and a range-based
3316           erase(). Implement per-paragraph change lookup and
3317           accept/reject.
3318
3319         * paragraph_funcs.C: Fixup paste for change tracking.
3320
3321         * tabular.C: mark added row/columns as new.
3322
3323         * text.C: fix rowLast() to never return -1. Don't allow
3324           spellchecking of deleted text. Track transpose changes. Don't
3325           allow paragraph break or merge where appropriate.
3326
3327         * text2.C: leave cursor at end of selection after a cut.
3328
3329 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3330
3331         * text.C (getLengthMarkerHeight):
3332         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3333         visible on screen too.
3334
3335 2003-02-07  John Levon  <levon@movementarian.org>
3336
3337         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3338
3339 2003-02-05  Angus Leeming  <leeming@lyx.org>
3340
3341         * lyxserver.C (read_ready): revert my patch of 11 September last year
3342         as it sends PC cpu through the roof. Presumably this means that
3343         the lyxserver will no longer run on an Alpha...
3344
3345 2003-01-30  Angus Leeming  <leeming@lyx.org>
3346
3347         * factory.C (createInset): create an InsetCommandParam of type "index"
3348         and use it to 'do the right thing'.
3349
3350         * text2.C (getStringToIndex): ensure that cursor position is always
3351         reset to the reset_cursor position.
3352
3353 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3354
3355         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3356         disabled.
3357
3358 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3359
3360         * bufferview.C:
3361         * lyxcb.C:
3362         * lyxfunc.C: Output messages with identical spelling, punctuation,
3363         and spaces
3364
3365 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3366
3367         * MenuBackend.C (expandFormats): List only viewable export formats
3368         in "View" menu
3369
3370         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3371         message
3372
3373         * lyxfunc.C (getStatus): Make sure that formats other than
3374         "fax" can also be disabled
3375
3376 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3377
3378         * text3.C (dispatch): put the lfuns that insert insets in 3
3379         groups, and call doInsertInset with appropriate arguments.
3380         (doInsertInset): new function, that creates an inset and inserts
3381         it according to some boolean parameters.
3382
3383 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * buffer.C (readFile): remember to pass on 'par' when calling
3386         readFile recursively.
3387
3388 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3389
3390         * MenuBackend.C (expandFormats): add "..." to import formats.
3391
3392 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3393
3394         * paragraph.C (asString): Remove XForms RTL hacks.
3395
3396 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3397         * buffer.C: fix typo
3398
3399 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3400
3401         * Makefile.am (LIBS): delete var
3402         (lyx_LDADD): add @LIBS@ here instead.
3403
3404 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3405
3406         * Clarify the meaning of "wheel mouse jump"
3407
3408 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3409
3410         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3411         tabular in a float
3412
3413 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3414
3415         * importer.C (Loaders): do not preallocate 3 elements in the
3416         vector, since one ends up with 6 elements otherwise
3417
3418 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3419
3420         * DepTable.C (write): write the file name as last element of the
3421         .dep file (because it may contain spaces)
3422         (read): read info in the right order
3423
3424 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3425
3426         * paragraph_pimpl.C (simpleTeXBlanks):
3427         (simpleTeXSpecialChars):
3428         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3429
3430         * tabular.C (latex): add some missing case statements. Reindent.
3431
3432         * MenuBackend.C (expandToc): remove unused variable.
3433
3434 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3435
3436         * LColor.C:
3437         * LaTeX.C:
3438         * LyXAction.C:
3439         * MenuBackend.C:
3440         * buffer.C:
3441         * exporter.C:
3442         * lyxfunc.C:
3443         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3444         and the like.
3445
3446 2003-01-05  John Levon  <levon@movementarian.org>
3447
3448         * BufferView.h:
3449         * BufferView.C: add getEncoding()
3450
3451         * kbsequence.h:
3452         * kbsequence.C: do not store last keypress
3453
3454         * lyxfunc.h:
3455         * lyxfunc.C: store last keypress here instead. Pass encoding
3456           to getISOEncoded()
3457
3458 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3459
3460         * lyx_main.C (init): remove annoying error message when following
3461         symbolic links (bug #780)
3462
3463 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3464
3465         * text.C (insertChar):
3466         * lyxrc.C (getDescription): remove extra spaces
3467
3468 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3469
3470         * lyxrc.C (getDescription): remove extra spaces
3471
3472 2002-12-20  John Levon  <levon@movementarian.org>
3473
3474         * text3.C: hack fix for page up/down across tall rows
3475
3476 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3477
3478         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3479         not been invoked
3480
3481 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3482
3483         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3484         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3485         thesaurus is not compiled in
3486
3487 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3488
3489         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3490
3491 2002-12-16  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxrc.[Ch]:
3494         * lyx_main.C (init): remove override_x_deadkeys stuff.
3495
3496 2002-12-12  John Levon  <levon@movementarian.org>
3497
3498         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3499           insert. Only remove shift modifier under strict
3500           circumstances.
3501
3502 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * MenuBackend.C (expandToc): fix crash.
3505
3506 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * MenuBackend.C (expandToc): gettext on float names.
3509
3510 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3511
3512         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3513         implement bool empty() [bug 490]
3514
3515 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3518
3519 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * several files: ws changes
3522
3523 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * text2.C (setCounter): clean up a bit, use boost.format.
3526         (updateCounters): initialize par upon declaration.
3527
3528         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3529         if the layout exists. We do not just store the layout any more.
3530         (SwitchLayoutsBetweenClasses): use boost.format
3531
3532 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3533
3534         * converter.C (convert): if from and to files are the same, use a
3535         temporary files as intermediary
3536
3537 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3538
3539         * commandtags.h:
3540         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3541
3542 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3543
3544         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3545
3546 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * tabular.C (asciiPrintCell): use string(size, char) instead of
3549         explicit loop.
3550
3551         * sgml.C (openTag): fix order of arguments to string constructor
3552         (closeTag): ditto
3553
3554         * lyxfunc.C (dispatch): use boost.format
3555
3556         * lots of files: change "c" -> 'c'
3557
3558 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3559
3560         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3561
3562 2002-11-25  Angus Leeming  <leeming@lyx.org>
3563
3564         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3565
3566         * lyx_main.C (init): compile fix.
3567
3568 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * lyx_cb.C (start): boost.formatify
3571         do not include <iostream>
3572
3573         * lengthcommon.C: ws only
3574
3575         * boost-inst.C,BoostFormat.h: add more explict instantations
3576
3577 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * lots of files: handle USE_BOOST_FORMAT
3580
3581 2002-11-21  John Levon  <levon@movementarian.org>
3582
3583         * pspell.C: fix compile
3584
3585 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3586
3587         * lyxfunc.C (dispatch): use boost::format
3588         (open): ditto
3589         (doImport): ditto
3590
3591         * lyxfont.C (stateText): use boost::format
3592
3593         * lyx_main.C (LyX): use boost::format
3594         (init): ditto
3595         (queryUserLyXDir): ditto
3596         (readRcFile): ditto
3597         (parse_dbg): ditto
3598         (typedef boost::function): use the recommened syntax.
3599
3600         * importer.C (Import): use boost::format
3601
3602         * debug.C (showLevel): use boost::format
3603
3604         * converter.C (view): use boost::format
3605         (convert): ditto
3606         (move): ditto
3607         (scanLog): ditto
3608
3609         * bufferview_funcs.C (currentState): use boost::format
3610
3611         * bufferlist.C (emergencyWrite): use boost::format
3612
3613         * buffer.C (readLyXformat2): use boost::format
3614         (parseSingleLyXformat2Token): ditto
3615
3616         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3617
3618         * LaTeX.C (run): use boost::format
3619
3620         * Chktex.C (scanLogFile): use boost::format
3621
3622         * BufferView_pimpl.C (savePosition): use boost::format
3623         (restorePosition): ditto
3624         (MenuInsertLyXFile): ditto
3625
3626         * BoostFormat.h: help file for explicit instation.
3627
3628 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3629
3630         * tabular.C (latex): Support for block alignment in fixed width
3631         columns.
3632
3633 2002-11-17  John Levon  <levon@movementarian.org>
3634
3635         * BufferView_pimpl.C:
3636         * lyx_cb.C:
3637         * lyxfunc.C: split filedialog into open/save
3638
3639 2002-11-08  Juergen Vigna  <jug@sad.it>
3640
3641         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3642         by my last patch (hopefully).
3643
3644 2002-11-08  John Levon  <levon@movementarian.org>
3645
3646         * iterators.h:
3647         * iterators.C:
3648         * buffer.h:
3649         * buffer.C:
3650         * paragraph.h:
3651         * paragraph.C:
3652         * toc.h:
3653         * toc.C: ParConstIterator, and use it (from Lars)
3654
3655 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
3656
3657         * lyxtextclass.[Ch]: revise and add doxygen comments
3658
3659 2002-11-07  John Levon  <levon@movementarian.org>
3660
3661         * text.C: fix progress value for spellchecker
3662
3663         * toc.C: fix navigate menu for insetwrap inside minipage
3664
3665         * paragraph_funcs.C: added FIXME for suspect code
3666
3667 2002-11-07  John Levon  <levon@movementarian.org>
3668
3669         * BufferView_pimpl.C: fix redrawing of insets
3670           on buffer switch
3671
3672 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3673
3674         * text2.C (updateCounters): fix bug 668
3675
3676 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
3677
3678         * text3.C (dispatch): Do not make the buffer dirty when moving the
3679         cursor.
3680
3681 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * vc-backend.C: STRCONV
3684         (scanMaster): ditto
3685
3686         * text2.C (setCounter): STRCONV
3687
3688         * paragraph.C (asString): STRCONV
3689
3690         * lyxlength.C (asString): STRCONV
3691         (asLatexString): ditto
3692
3693         * lyxgluelength.C (asString): STRCONV
3694         (asLatexString): ditto
3695
3696         * lyxfunc.C (dispatch): STRCONV
3697         (open): ditto
3698
3699         * lyxfont.C (stateText): STRCONV
3700
3701         * importer.C (Import): STRCONV
3702
3703         * counters.C (labelItem): STRCONV
3704         (numberLabel): ditto
3705         (numberLabel): remove unused ostringstream o
3706
3707         * chset.C: STRCONV
3708         (loadFile): ditto
3709
3710         * bufferview_funcs.C (currentState): STRCONV
3711
3712         * buffer.C (readFile): STRCONV
3713         (asciiParagraph): ditto
3714         (makeLaTeXFile): ditto
3715
3716         * Spacing.C (writeEnvirBegin): STRCONV
3717
3718         * LaTeXFeatures.C (getLanguages): STRCONV
3719         (getPackages): ditto
3720         (getMacros): ditto
3721         (getBabelOptions): ditto
3722         (getTClassPreamble): ditto
3723         (getLyXSGMLEntities): ditto
3724         (getIncludedFiles): ditto
3725
3726         * LaTeX.C: STRCONV
3727         (run): ditto
3728         (scanAuxFile): ditto
3729         (deplog): ditto
3730
3731         * LString.h: add the STRCONV macros
3732
3733         * BufferView_pimpl.C (savePosition): STRCONV
3734         (restorePosition): ditto
3735         (MenuInsertLyXFile): ditto
3736
3737         * vc-backend.C (scanMaster): change from submatch[...] to
3738         submatch.str(...)
3739
3740         * funcrequest.C: include config.h
3741
3742         * factory.C: include config.h
3743
3744         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3745
3746         * box.C: include config.h
3747
3748         * LaTeX.C (scanAuxFile): change from submatch[...] to
3749         submatch.str(...)
3750         (deplog): ditto
3751
3752 2002-10-25  Angus Leeming  <leeming@lyx.org>
3753
3754         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3755
3756         * ispell.[Ch] (setError): new method.
3757         * ispell.C (c-tor): move out child process into new class LaunchIspell.
3758         Use setError() insetead of goto END.
3759
3760         * lyx_cb.C (AutoSave): move out child process into new class
3761         AutoSaveBuffer.
3762
3763 2002-10-30  John Levon  <levon@movementarian.org>
3764
3765         * text3.C: make start appendix undoable
3766
3767 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
3768
3769         * lyxlength.C (inPixels): Fix returned value.
3770
3771         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3772         environment.
3773
3774 2002-10-24  Angus Leeming  <leeming@lyx.org>
3775
3776         * lyxgluelength.h: no need to forward declare BufferParams
3777         or BufferView, so don't.
3778
3779 2002-10-21  John Levon  <levon@movementarian.org>
3780
3781         * BufferView.C: menuUndo ->undo, redo
3782
3783         * BufferView.h: document, remove dead, make some methods private
3784
3785         * paragraph_funcs.h:
3786         * paragraph_funcs.C:
3787         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3788
3789         * buffer.h:
3790         * buffer.C:
3791         * sgml.h:
3792         * sgml.C: move sgml open/close tag into sgml.C
3793
3794         * bufferview_funcs.h: unused prototype
3795
3796         * lyxfunc.h:
3797         * lyxfunc.C: remove unused
3798
3799         * lyxtext.h:
3800         * text.C: remove unused
3801
3802 2002-10-21  John Levon  <levon@movementarian.org>
3803
3804         * BufferView.h:
3805         * BufferView.C:
3806         * BufferView_pimpl.h:
3807         * BufferView_pimpl.C: fix mouse wheel handling based on
3808           patch from Darren Freeman
3809
3810 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
3811
3812         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3813
3814 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
3815
3816         * lyxlength.C (inPixels): Fix hanfling of negative length.
3817         Fix LyXLength::MU case.
3818
3819 2002-10-16  John Levon  <levon@movementarian.org>
3820
3821         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3822
3823 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3824
3825         * converter.C (view): add support for $$i (file name) and $$p
3826         (file path) for the viewer command. If $$i is not specified, then
3827         it is appended to the command (for compatibility with old syntax)
3828
3829 2002-10-14  Juergen Vigna  <jug@sad.it>
3830
3831         * undo_funcs.C (textHandleUndo): alter the order in which the
3832         new undopar is added to the LyXText, as we have to set first
3833         the right prev/next and then add it as otherwise the rebuild of
3834         LyXText is not correct. Also reset the cursor to the right paragraph,
3835         with this IMO we could remove the hack in "redoParagraphs()".
3836
3837 2002-10-09  Angus Leeming  <leeming@lyx.org>
3838
3839         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3840         to turn off an optimisation if a new inset is to be inserted.
3841
3842 2002-10-11 André Pönitz <poenitz@gmx.net>
3843
3844         * lyxtext.h: make some functions public to allow access
3845         from inset/lyxtext for handling LFUN_PRIOR/NEXT
3846
3847 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3848
3849         * text3.C (dispatch): when changing layout, avoid an infinite loop
3850         [bug #652]
3851
3852 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3853
3854         * lyxrc.C (read): treat a viewer or converter command of "none" as
3855         if it were empty.
3856
3857         * MenuBackend.C (expandFormats): for an update, also allow the
3858         formats that are not viewable
3859
3860         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3861         script if it is newer than the lyxrc.defaults in user directory
3862
3863 2002-10-07 André Pönitz <poenitz@gmx.net>
3864
3865         * text.C: Vitaly Lipatov's small i18n fix
3866
3867 2002-09-25  Angus Leeming  <leeming@lyx.org>
3868
3869         * ispell.h: doxygen fix.
3870
3871 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
3872
3873         * buffer.h (readFile): Add a new argument to the method, to allow
3874         reading of old-format templates.
3875
3876 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
3877
3878         * toc.C (getTocList): Get TOC from InsetWrap.
3879
3880 2002-09-16  John Levon  <levon@movementarian.org>
3881
3882         * lyxfunc.C: check tabular for cut/copy too
3883
3884 2002-09-12  John Levon  <levon@movementarian.org>
3885
3886         * LyXAction.C: tidy
3887
3888         * factory.h:
3889         * factory.C: add header
3890
3891         * paragraph_funcs.h:
3892         * paragraph_funcs.C: cleanup
3893
3894 2002-09-11  John Levon  <levon@movementarian.org>
3895
3896         * PrinterParams.h: odd/even default to true
3897
3898 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
3899
3900         * PrinterParams.h: update printer parameters for new xforms dialog
3901
3902 2002-09-11  Angus Leeming  <leeming@lyx.org>
3903
3904         * lyxserver.C (read_ready): re-write to make it more transparent
3905         and to make it work in coherent fashion under Tru64 Unix.
3906
3907 2002-09-11  André Pönitz <poenitz@gmx.net>
3908
3909         * commandtags.h:
3910         * LyXAction.C:
3911         * text3.C: implement LFUN_WORDSEL
3912
3913 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3916         make floatlist_ a boost::shared_ptr<FloatList>
3917
3918         * lyxtextclass.C: include FloatList.h
3919         (LyXTextClass): initialize floatlist_
3920         (TextClassTags): add TC_NOFLOAT
3921         (Read): match "nofloat" to TC_NOFLOAT and use it.
3922         (readFloat): modify call to floatlist_
3923         (floats): ditto
3924         (floats): ditto
3925
3926         * FloatList.[Ch] (FloatList): remove commented out float
3927         initialization.
3928         (erase): new function
3929
3930 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3931
3932         * MenuBackend.C (expandToc): fix crash when there is no document
3933         open
3934
3935 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
3936
3937         * many files: Add insetwrap.
3938
3939 2002-09-09  John Levon  <levon@movementarian.org>
3940
3941         * text2.C: remove confusing and awkward depth wraparound
3942
3943 2002-09-09  John Levon  <levon@movementarian.org>
3944
3945         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3946
3947         * buffer.h:
3948         * buffer.C: remove getIncludeonlyList()
3949
3950         * paragraph.C:
3951         * lyxfunc.C: remove headers
3952
3953 2002-09-09  Juergen Vigna  <jug@sad.it>
3954
3955         * text.C (getColumnNearX): fix form Michael this is most
3956         probably a cut&paste bug.
3957
3958 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3961
3962         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3963         references, ws changes.
3964
3965         * text2.C (init): update counters after init
3966         (insertParagraph): no need to set counter on idividual paragraphs.
3967         (setCounter): access the counters object in the textclass object
3968         on in the buffer object.
3969         (updateCounters): ditto
3970
3971         * lyxtextclass.C: include counters.h, add variable ctrs_ as
3972         shared_ptr<Counters> to avoid loading counters.h in all
3973         compilation units.
3974         (LyXTextClass): initialize ctrs_
3975         (TextClassTags): add TC_COUNTER, and ...
3976         (Read): use it here.
3977         (CounterTags): new tags
3978         (readCounter): new function
3979         (counters): new funtion
3980         (defaultLayoutName): return a const reference
3981
3982         * counters.C (Counters): remove contructor
3983         (newCounter): remove a couple of unneeded statements.
3984         (newCounter): simplify a bit.
3985         (numberLabel): some small formatting changes.
3986
3987         * buffer.[Ch]: remove all traces of counters, move the Counters
3988         object to the LyXTextClass.
3989
3990 2002-09-06  Alain Castera  <castera@in2p3.fr>
3991
3992         * tabular.C: uses \tabularnewline; uses >{...} construct from array
3993         package to set the horizontal alignment on fixed width columns.
3994
3995         * lyx_sty.C:
3996         * lyx_sty.h: added tabularnewline macro def.
3997
3998         * LaTeXFeatures.C: added NeedTabularnewline macro feature
3999
4000 2002-09-06  John Levon  <levon@movementarian.org>
4001
4002         * LyXAction.C: tooltips for sub/superscript
4003
4004         * MenuBackend.C: a bit more verbose
4005
4006         * lyxfunc.C: tiny clean
4007
4008         * undo_funcs.C: document undo_frozen
4009
4010 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * counters.C (Counters): add missing algorithm counter.
4013
4014         * text2.C (setCounter): lookup the counter with layouts latexname
4015         instead of by section number.
4016         (setCounter): use a hackish way to lookup the correct enum
4017         counter.
4018         a float name->type change
4019         reset enum couners with counter name directly instead of depth value.
4020
4021         * counters.C (Counters): remove the push_backs, change to use the
4022         float type not the float name.
4023         (labelItem): remove unused string, float name->type change
4024
4025         * counters.h: don't include vector, loose the enums and sects vectors
4026
4027 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4030         (Read): add float->TC_FLOAT to textclassTags
4031         (Read): and handle it in the switch
4032         (readFloat): new function
4033
4034         * FloatList.C (FloatList): comment out the hardcoded float
4035         definitions.
4036
4037         * lyxlayout.h: ws change.
4038
4039 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4040
4041         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4042
4043 2002-09-03  Angus Leeming  <leeming@lyx.org>
4044
4045         * BufferView_pimpl.h: qualified name is not allowed in member
4046         declaration: WorkArea & Pimpl::workarea() const;
4047
4048         * factory.C: added using std::endl directive.
4049
4050         * text3.C: added using std::find and std::vector directives.
4051
4052 2002-08-29  André Pönitz <poenitz@gmx.net>
4053
4054         * lyxtext.h:
4055         * text2.C: remove unused member number_of_rows
4056
4057         * Makefile.am:
4058         * BufferView2.C: remove file, move contents to...
4059         * BufferView.C: ... here
4060
4061         * BufferView_pimpl.C:
4062         * factory.C: move more inset creation to factory
4063
4064         * vspace.C: avoid direct usage of LyXText, ws changes
4065
4066         * BufferView.[Ch]:
4067                 don't provide direct access to WorkArea, use two simple
4068                 acessors haveSelction() and workHeight() instead
4069
4070
4071 2002-08-29  John Levon  <levon@movementarian.org>
4072
4073         * BufferView_pimpl.C (dispatch): do not continue when
4074           no buffer
4075
4076 2002-08-28  André Pönitz <poenitz@gmx.net>
4077
4078         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4079
4080         * BufferView.h:
4081         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4082
4083 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4084
4085         * buffer.C: increment LYX_FORMAT to 221
4086
4087         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4088         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4089
4090         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4091
4092         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4093
4094 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4095
4096         * factory.C (createInset): use LyXTextClass::floats
4097
4098         * MenuBackend.C (expandFloatListInsert):
4099         (expandFloatInsert):
4100         (expandToc):
4101
4102         * text2.C (setCounter):
4103
4104         * LaTeXFeatures.C (useFloat):
4105         (getFloatDefinitions):
4106
4107         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4108
4109         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4110         floatlist_, with accessor floats().
4111
4112         * FloatList.h: remove global FloatList
4113
4114 2002-08-26  André Pönitz <poenitz@gmx.net>
4115
4116         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4117
4118         * BufferView.h:
4119         * BufferView2.C:
4120         * BufferView_pimpl.C:
4121         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4122
4123 2002-08-25  John Levon  <levon@movementarian.org>
4124
4125         * LyXAction.C: fix margin note description
4126
4127 2002-08-24  John Levon  <levon@movementarian.org>
4128
4129         * buffer.C:
4130         * bufferlist.C:
4131         * bufferview_funcs.C:
4132         * lyxfont.C:
4133         * undo_funcs.C: cleanups
4134
4135         * lyxfunc.C: disable CUT/COPY when no selection
4136
4137 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4138
4139         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4140         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4141
4142         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4143         Add backward compatibility to "mono", "gray" and "no".
4144
4145 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4146
4147         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4148         (and file_format >= 200).
4149
4150 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4151
4152         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4153
4154 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4155
4156         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4157
4158 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4159
4160         * BufferView_pimpl.C:
4161         * LyXAction.C:
4162         * buffer.C:
4163         * commandtags.h:
4164         * lyxfunc.C:
4165         * paragraph.[Ch]:
4166         * text2.C:
4167         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4168         inset and code to make it  work with the paragraph code. The inset
4169         can be anywhere in the paragraph, but will only do the expected
4170         thing in LaTeX if the layout file contains the parameter line
4171                         OptionalArgs    1
4172         (or more generally, a nonzero value) for that layout.
4173
4174 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4175
4176         * paragraph.h: remove the declaration of undefined counters class
4177         function.
4178
4179 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4180
4181         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4182         Dr. Richard Hawkins.
4183
4184 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4185
4186         * paragraph_funcs.h: remove some unneeded includes
4187
4188         * text.C (backspace): pasteParagraph now in global scipe
4189
4190         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4191         (pasteSelection): ditto
4192
4193         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4194         * paragraph_funcs.C (pasteParagraph): ... here
4195
4196 2002-08-20  André Pönitz <poenitz@gmx.net>
4197
4198         * commandtags.h: new LFUNs for swapping/copying table row/colums
4199
4200         * LyXAction.C:
4201         * lyxfunc.C: support for new lfuns
4202
4203 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4204
4205         * tabular.C:
4206         * buffer.[Ch]: remove NO_COMPABILITY stuff
4207
4208 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * boost.C (throw_exception): new file, with helper function for
4211         boost compiled without exceptions.
4212
4213         * paragraph.h:
4214         * lyxlength.C:
4215         * buffer.C:
4216         * ParameterStruct.h:
4217         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4218
4219         * bufferlist.C (emergencyWriteAll): use boost bind
4220
4221         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4222
4223         * text.C: include paragraph_funcs.h
4224         (breakParagraph): breakParagraph is now in global scope
4225
4226         * paragraph_funcs.[Ch]: new files
4227
4228         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4229         global scope
4230
4231         * buffer.C: include paragraph_funcs.h
4232         (insertStringAsLines): breakParagraph is now in global scope
4233
4234         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4235         paragraph_funcs.C
4236
4237         * CutAndPaste.C: include paragraph_funcs.h
4238         (cutSelection): breakParagraphConservative is now in global scope
4239         (pasteSelection): ditto
4240
4241         * buffer.h: declare oprator== and operator!= for
4242         Buffer::inset_iterator
4243
4244         * bufferlist.C (emergencyWrite): don't use fmt(...)
4245
4246         * text3.C: add using std::endl
4247
4248         * BufferView.C (moveCursorUpdate): remove default arg
4249
4250 2002-08-20  André Pönitz <poenitz@gmx.net>
4251
4252         * buffer.[Ch]: move inline functions to .C
4253
4254         * BufferView2.C:
4255         * BufferView_pimpl.C:
4256         * text.C:
4257         * buffer.[Ch]: use improved inset_iterator
4258
4259         * buffer.C:
4260         * paragraph.[Ch]: write one paragraph at a time
4261
4262 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4263
4264         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4265         style if style is not specified.
4266
4267 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4268
4269         * text2.C (setCounter): when searching for right label for a
4270         caption, make sure to recurse to parent insets (so that a caption
4271         in a minipage in a figure float works) (bug #568)
4272
4273 2002-08-20  André Pönitz <poenitz@gmx.net>
4274
4275         * text3.C: new file for LyXText::dispatch() and helpers
4276
4277         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4278
4279         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4280
4281 2002-08-19  André Pönitz <poenitz@gmx.net>
4282
4283         * lyxtext.h:
4284         * text.C: new LyXText::dispatch()
4285
4286         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4287
4288 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4289
4290         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4291
4292         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4293         Hebrew text.
4294
4295 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4296
4297         * Makefile.am: use $(variables) instead of @substitutions@
4298
4299 2002-08-15  André Pönitz <poenitz@gmx.net>
4300
4301         * lyxfunc.C:
4302         * BufferView_pimpl.C: streamlining mathed <-> outer world
4303         interaction
4304
4305         * commandtags.h:
4306         * LyXAction.C: remove unused LFUN_MATH
4307
4308 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4311
4312 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * paragraph.C (Paragraph): reformat a bit
4315         (cutIntoMinibuffer): use builtin InsetList function instad of
4316         doing it manually.
4317         (getInset): ditto
4318
4319         * buffer.C: include boost/bind.hpp, add using std::for_each
4320         (writeFileAscii): use ParagraphList iterators
4321         (validate): use for_each for validate traversal of paragraphs
4322         (getBibkeyList): use ParagraphList iterators
4323         (resizeInsets): use for_each to resizeInsetsLyXText for all
4324         paragraphs.
4325         (getParFromID): use ParagraphList iterators
4326
4327         * BufferView2.C (lockInset): use paragraph list and iterators
4328
4329 2002-08-14  John Levon  <levon@movementarian.org>
4330
4331         * lyxserver.C: remove spurious xforms include
4332
4333 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4334
4335         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4336
4337 2002-08-13  André Pönitz <poenitz@gmx.net>
4338
4339         * LyXAction.[Ch]:
4340         * lyxfunc.C: further cleaning
4341
4342 2002-08-13  André Pönitz <poenitz@gmx.net>
4343
4344         * funcrequest.h: new constructor
4345
4346         * funcrequest.C: move stuff here from .h
4347
4348         * Makefile.am:
4349         * BufferView_pimpl.C:
4350         * LyXAction.C:
4351         * toc.C:
4352         * lyxfunc.C: subsequent changes
4353
4354         * lyxfunc.h: new view() member function
4355
4356         * lyxfunc.C: subsequent changes
4357
4358 2002-08-13  Angus Leeming  <leeming@lyx.org>
4359
4360         * BufferView2.C:
4361         * BufferView_pimpl.C:
4362         * buffer.C:
4363         * converter.C:
4364         * importer.C:
4365         * lyxfunc.C:
4366         * lyxvc.C:
4367         * toc.C:
4368         * vc-backend.C:
4369         changes due to the changed LyXView interface that now returns references
4370         to member variables not pointers.
4371
4372 2002-08-13  Angus Leeming  <leeming@lyx.org>
4373
4374         * WordLangTuple (word, lang_code): return references to strings,
4375         not strings.
4376
4377         * BufferView.h:
4378         * SpellBase.h:
4379         * lyxtext.h: forward-declare WordLangTuple.
4380
4381         * BufferView2.C:
4382         * ispell.C:
4383         * pspell.C:
4384         * text.C: #include "WordLangTuple.h".
4385
4386         * lyxtext.h:
4387         * text.C: (selectNextWordToSpellcheck): constify return type.
4388
4389 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4390
4391         * buffer.C:
4392         * buffer.h:
4393         * lyxtext.h:
4394         * paragraph.C:
4395         * paragraph_pimpl.h:
4396         * text.C:
4397         * text2.C:
4398         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4399         suggested by Angus.
4400         Made updateCounter always count from start of buffer, and removed
4401         second argument (par).
4402         Reverted floats number display to '#'. Perhaps I'll try again when the
4403         code base is sanitized a bit.
4404
4405 2002-08-12  Angus Leeming  <leeming@lyx.org>
4406
4407         * buffer.[Ch] (getLabelList): constify.
4408
4409 2002-08-07  André Pönitz <poenitz@gmx.net>
4410
4411         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4412
4413         * funcrequest.h: extension to keep mouse (x,y) position
4414
4415 2002-08-12  Juergen Vigna  <jug@sad.it>
4416
4417         * BufferView2.C (insertErrors): forbid undo when inserting error
4418         insets.
4419
4420         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4421
4422 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * ParagraphList.[Ch]: new files
4425
4426         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4427
4428         * BufferView2.C (lockInset): ParagraphList changes
4429         * toc.C: ditto
4430         * text2.C: ditto
4431         * bufferlist.C: ditto
4432         * buffer.h: ditto
4433         * buffer.C: ditto
4434
4435 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4438         unused class variable counter_,
4439
4440         * paragraph.[Ch] (getFirstCounter): delete unused function
4441
4442         * counters.C: include LAssert.h
4443         (reset): add a new function with no arg, change other version to
4444         not have def. arg and to not allow empty arg.
4445
4446         * text2.C (setCounter): remove empty arg from call to Counters::reset
4447
4448 2002-08-11  John Levon  <levon@movementarian.org>
4449
4450         * Makefile.am: add WordLangTuple.h
4451
4452 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4455         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4456
4457         * insets/insettext.C: InsetList changes
4458
4459         * graphics/GraphicsSupport.C (operator()): InsetList changes
4460
4461         * toc.C (getTocList): InsetList changes
4462
4463         * paragraph_pimpl.[Ch]: InsetList changes
4464
4465         * paragraph.[Ch]: InsetList changes
4466
4467         * buffer.C (inset_iterator): InsetList changes
4468         (setParagraph): ditto
4469         * buffer.h (inset_iterator): ditto
4470         * iterators.C (operator++): ditto
4471         * iterators.h: ditto
4472
4473         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4474
4475         * InsetList.[Ch]: new files, most InsetList handling moved out of
4476         paragraph.C.
4477
4478         * BufferView2.C (removeAutoInsets): InsetList changes
4479         (lockInset): ditto
4480         (ChangeInsets): ditto
4481
4482 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * paragraph_pimpl.h (empty): new function
4485
4486         * paragraph.[Ch] (empty): new function
4487
4488         * other files: use the new Paragraph::empty function
4489
4490 2002-08-09  John Levon  <levon@movementarian.org>
4491
4492         * lyxtext.h: remove unused refresh_height
4493
4494 2002-08-09  John Levon  <levon@movementarian.org>
4495
4496         * Makefile.am:
4497         * sgml.h:
4498         * sgml.C:
4499         * buffer.C:
4500         * paragraph.h:
4501         * paragraph.C: move sgml char escaping out of paragraph
4502
4503         * paragraph.h:
4504         * paragraph.C: remove id setter
4505
4506         * buffer.C:
4507         * paragraph.C:
4508         * paragraph_pimpl.C: remove dead tex_code_break_column
4509
4510         * bufferview_funcs.C: small cleanup
4511
4512         * lyxfunc.C: remove dead proto
4513
4514         * lyxtext.h: make some stuff private. Remove some dead stuff.
4515
4516         * lyxgluelength.C: make as[LyX]String() readable
4517
4518 2002-08-08  John Levon  <levon@movementarian.org>
4519
4520         * LyXAction.h:
4521         * LyXAction.C:
4522         * MenuBackend.C:
4523         * ToolbarDefaults.C:
4524         * lyxfunc.C:
4525         * lyxrc.C:
4526         * toc.C: lyxaction cleanup
4527
4528 2002-08-08  John Levon  <levon@movementarian.org>
4529
4530         * BufferView2.C: small cleanup
4531
4532         * lyxfind.h:
4533         * lyxfind.C: move unnecessary header into the .C
4534
4535 2002-08-08  John Levon  <levon@movementarian.org>
4536
4537         * funcrequest.h: just tedious nonsense
4538
4539         * lyx_main.h:
4540         * lyx_main.C: cleanups
4541
4542         * buffer.C:
4543         * vspace.C: remove dead header lyx_main.h
4544
4545 2002-08-07  Angus Leeming  <leeming@lyx.org>
4546
4547         * Paragraph.[Ch]:
4548         * paragraph_pimpl.h:
4549         Forward declare class Counters in paragraph.h by moving the ctrs member
4550         variable into Paragraph::Pimpl.
4551         (counters): new method, returning a reference to pimpl_->ctrs.
4552
4553         * text2.C: ensuing changes.
4554
4555 2002-08-07  John Levon  <levon@movementarian.org>
4556
4557         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4558
4559         * BufferView_pimpl.C: announce X selection on double/triple
4560           click
4561
4562         * lyx_main.C: use correct bool in batch dispatch
4563
4564         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4565
4566 2002-08-07  André Pönitz <poenitz@gmx.net>
4567
4568         * funcrequest.h: new class to wrap a kb_action and its argument
4569
4570         * BufferView.[Ch]:
4571         * BufferView_pimpl[Ch]:
4572         * LaTeX.C:
4573         * LyXAction.[Ch]:
4574         * lyxfunc.[Ch]:
4575         * lyxrc.C: subsequent changes
4576
4577
4578 2002-08-07  John Levon  <levon@movementarian.org>
4579
4580         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4581           document options change.
4582
4583 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
4584
4585         * counters.[Ch]
4586         * text2.C
4587         * paragraph.[Ch]
4588         * makefile.am: move counters functionality over from
4589         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4590
4591 2002-08-06  John Levon  <levon@movementarian.org>
4592
4593         * WordLangTuple.h: new file for word + language code tuple
4594
4595         * SpellBase.h:
4596         * pspell.h:
4597         * pspell.C:
4598         * ispell.h:
4599         * ispell.C:
4600         * lyxtext.h:
4601         * text.C:
4602         * text2.C:
4603         * BufferView.h:
4604         * BufferView2.C: use WordLangTuple
4605
4606         * layout.h:
4607         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4608
4609 2002-08-06  John Levon  <levon@movementarian.org>
4610
4611         * lyx_main.C: fix cmdline batch handling
4612
4613 2002-08-06  André Pönitz <poenitz@gmx.net>
4614
4615         * lyxrc.C: set default for show_banner to true
4616
4617 2002-08-06  John Levon  <levon@movementarian.org>
4618
4619         * pspell.C: fix a crash, and allow new aspell to work
4620
4621 2002-08-06  John Levon  <levon@movementarian.org>
4622
4623         * lyxfunc.C:
4624         * kbmap.C: small cleanup
4625
4626         * vspace.h:
4627         * vspace.C: add const
4628
4629 2002-08-05  John Levon  <levon@movementarian.org>
4630
4631         * LyXAction.C: back to tabular-insert
4632
4633 2002-08-04  John Levon  <levon@movementarian.org>
4634
4635         * BufferView.h:
4636         * BufferView.C: cosmetic change
4637
4638         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4639
4640         * bufferlist.C:
4641         * buffer.h:
4642         * buffer.C:
4643         * lyxcb.h:
4644         * lyxcb.C:
4645         * lyxserver.C:
4646         * lyxvc.C:
4647         * vc-backend.C:
4648         * BufferView2.C: purge all "Lyx" not "LyX" strings
4649
4650         * lyxcursor.h:
4651         * lyxcursor.C: attempt to add some documentation
4652
4653         * lyxfunc.C:
4654         * commandtags.h:
4655         * LyXAction.C:
4656         * ToolbarDefaults.C:
4657         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4658           merge with LFUN_TABULAR_INSERT
4659
4660         * Makefile.am:
4661         * SpellBase.h:
4662         * ispell.h:
4663         * ispell.C:
4664         * pspell.h:
4665         * pspell.C: split up i/pspell implementations into separate
4666           files, many cleanups
4667
4668         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4669
4670         * text2.C: some cleanup
4671
4672         * lyxfunc.C: don't check for isp_command == "none" any more, it
4673           didn't make any sense
4674
4675 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
4676
4677         * counters.[Ch]
4678         * text2.C
4679         * paragraph.[Ch]
4680         * makefile.am: move counters functionality over
4681         from text2.C/paragraph.[Ch] to counters.[Ch], and
4682         make proper C++.
4683 2002-08-02  John Levon  <levon@movementarian.org>
4684
4685         * buffer.C: s/lyxconvert/lyx2lyx/
4686
4687 2002-08-02  Angus Leeming  <leeming@lyx.org>
4688
4689         * lyxlex.C: revert John's change as it breaks reading of the user
4690         preamble.
4691
4692 2002-08-02  Angus Leeming  <leeming@lyx.org>
4693
4694         * importer.C (Import):
4695         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4696         changes due to LyXView::view() now returning a boost::shared_ptr.
4697
4698 2002-08-02  John Levon  <levon@movementarian.org>
4699
4700         * lyxlex.C: small cleanup
4701
4702 2002-08-02  John Levon  <levon@movementarian.org>
4703
4704         * text2.C (status): small cleanup, no logic change
4705
4706 2002-08-01  John Levon  <levon@movementarian.org>
4707
4708         * buffer.h:
4709         * buffer.C (writeFile): don't output alerts, caller
4710           handles this
4711
4712         * bufferlist.C:
4713         * lyx_cb.C: from above
4714
4715         * lyxfunc.C: allow to open non-existent files
4716
4717 2002-07-31  John Levon  <levon@movementarian.org>
4718
4719         * lyxserver.C: don't let incidental errors get
4720           in the way (errno)
4721
4722 2002-07-30  John Levon  <levon@movementarian.org>
4723
4724         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4725
4726 2002-07-30  John Levon  <levon@movementarian.org>
4727
4728         * lyxserver.h:
4729         * lyxserver.C: remove I/O callback too
4730
4731 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4732
4733         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4734         log.
4735
4736 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * many files: strip,frontStrip -> trim,ltrim,rtrim
4739
4740 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * PrinterParams.h: remove extern containsOnly, and include
4743         support/lstrings.h instead.
4744
4745         * LaTeX.C (scanAuxFile): modify because of strip changes
4746         (deplog): ditto
4747         * buffer.C (makeLaTeXFile): ditto
4748         * bufferparams.C (writeFile): ditt
4749         * lyxfont.C (stateText): ditto
4750         * lyxserver.C (read_ready): ditto
4751         * vc-backend.C (scanMaster): ditto
4752
4753         * BufferView_pimpl.h: ws changes
4754
4755         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4756
4757 2002-07-26  André Pönitz <poenitz@gmx.net>
4758
4759         * kb_sequence.C: remove unnedred usings
4760
4761 2002-07-26  Juergen Vigna  <jug@sad.it>
4762
4763         * lyxfind.C (LyXReplace): we have to check better if the returned
4764         text is not of theLockingInset()->getLockingInset().
4765
4766 2002-07-25  Juergen Vigna  <jug@sad.it>
4767
4768         * lyxfind.C (LyXReplace): don't replace if we don't get the
4769         right LyXText.
4770
4771         * undo_funcs.C (createUndo): remove debugging code.
4772
4773 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
4774
4775         * buffer.C (parseSingleLyXformat2Token): Use default placement
4776         when reading old floats.
4777
4778         * FloatList.C (FloatList): Change the default placement of figure
4779         and tables to "tbp".
4780
4781 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
4782
4783         * MenuBackend.C: using std::max
4784
4785 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4786
4787         * MenuBackend.C (expandToc):
4788         (expandToc2): code moved from xforms menu frontend. It is now
4789         generic and TOCs are transparent to menu frontends.
4790
4791 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4792
4793         * toc.C (getTocList): protect against buf=0
4794
4795         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4796         Menu as first parameter. Now, this calls itself recursively to
4797         expand a whole tree (this will be useful for TOC handling)
4798         (expandFloatInsert): remove 'wide' version of floats
4799
4800         * MenuBackend.h (submenuname): returns the name of the submenu.
4801         (submenu): returns the submenu itself, provided it has been
4802         created by MenuBackend::expand
4803
4804 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4805
4806         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4807         insets which have noFontChange == true. (bug #172)
4808
4809 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4810
4811         * BufferView_pimpl.C: add connection objects and use them...
4812         (Pimpl): here.
4813
4814 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4815
4816         * MenuBackend.C (expandLastfiles):
4817         (expandDocuments):
4818         (expandFormats):
4819         (expandFloatListInsert):
4820         (expandFloatInsert):
4821         (expand): split expand in parts
4822
4823 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4824
4825         * lyx_gui.C: use lyx_gui::exit()
4826
4827 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4828
4829         * LyXAction.C: show the failing pseudo action
4830
4831 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
4832
4833         * buffer.C (readFile): Run the lyxconvert script in order to read
4834         old files.
4835
4836 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4837
4838         * LyXAction.C:
4839         * commandtags.h:
4840         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4841
4842 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4843
4844         * LyXAction.C:
4845         * commandtags.h:
4846         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4847
4848 2002-07-22  Herbert Voss  <voss@lyx.org>
4849
4850         * lengthcommon.C:
4851         * lyxlength.[Ch]: add support for the vertical lengths
4852
4853 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
4854
4855         * toc.[Ch]: std:: fixes
4856
4857 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4858
4859         * lyxrc.C: do not include lyx_main.h
4860
4861         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4862         for layouts
4863
4864         * lyxrc.C:
4865         * encoding.C:
4866         * bufferlist.C:
4867         * BufferView2.C: include "lyxlex.h"
4868
4869         * tabular.h:
4870         * bufferparams.h: do not #include "lyxlex.h"
4871
4872         * lyxtextclasslist.C (Add): remove method
4873         (classlist): renamed to classlist_
4874
4875         * paragraph_pimpl.C:
4876         * paragraph.C:
4877         * text2.C:
4878         * CutAndPaste.C:
4879         * bufferview_funcs.C:
4880         * bufferlist.C:
4881         * text.C:
4882         * LaTeXFeatures.C:
4883         * buffer.C:
4884         * toc.C (getTocList): use BufferParams::getLyXTextClass
4885
4886         * toc.C (getTocList): use InsetFloat::addToToc
4887
4888         * toc.[Ch]: new files, containing helper functions to handle table
4889         of contents
4890
4891         * lyxfunc.C (dispatch): no need to remove spaces around command
4892         given as a string
4893         (getStatus): handle LFUN_SEQUENCE by returning the status of the
4894         first command of the sequence; it is not very clever, but I do not
4895         have a better idea, actually
4896
4897         * LyXAction.C (LookupFunc): make sure to remove space at the
4898         beginning and end of the command
4899
4900 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4901
4902         * MenuBackend.C (getMenubar): new method: return the menubar of
4903         this menu set
4904         (read): treat differently reading of menu and menubar (in
4905         particular, the menubar has no name now)
4906         (Menu::menubar): remove
4907
4908         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4909         saving is finished
4910
4911 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
4912
4913         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4914         a bibitem inset in a RTL paragraph.
4915
4916 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
4917
4918         * paragraph_pimpl.C: constify
4919
4920         * BufferView_pimpl.C:
4921         * LaTeX.C:
4922         * lyxfunc.C: fix dispatch in a nicer way
4923
4924 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4925
4926         * lyxfunc.C (dispatch):
4927         * BufferView_pimpl.C:
4928         * BufferView_pimpl.h:
4929         * BufferView.C:
4930         * BufferView.h: rename Dispatch() to dispatch()
4931
4932         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4933
4934         * lyxlayout.C (Read): honor DependsOn tag
4935
4936         * lyxlayout.[Ch] (depends_on): new method
4937
4938         * version.C.in: update lyx_docversion
4939
4940         * LaTeXFeatures.C (getMacros): only define \LyX when needed
4941
4942         * paragraph.C (validate): remove from here...
4943         * paragraph_pimpl.C (validate): ... and move here
4944         (isTextAt): make it const
4945
4946         * buffer.C (getLists): ws cleanup
4947
4948 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
4949
4950         * language.C (read): Use iso8859-1 encoding in latex_lang
4951         (this prevents LyX from crashing when using iso10646-1 encoding).
4952
4953 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4954
4955         * text2.C (toggleInset): if cursor is inside an inset, close the
4956         inset and leave cursor _after_ it
4957
4958 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
4959
4960         * lyxfunc.C: move minibuffer completion handling out of here
4961
4962 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
4963
4964         * BufferView_pimpl.C:
4965         * LaTeX.C: fix dispatch calls
4966
4967 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
4968
4969         * text.C (drawChars): Fix Arabic text rendering.
4970
4971 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
4972
4973         * LyXAction.C:
4974         * commandtags.h:
4975         * lyxfunc.C: remove message-push/pop
4976
4977         * lyxserver.C:
4978         * lyxfunc.h:
4979         * lyxfunc.C: rationalise some code by removing verboseDispatch
4980           in favour of a bool argument to dispatch()
4981
4982 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4983
4984         * lyx_main.C (init): make sure to read symlinks as absolute paths
4985
4986 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
4987
4988         * lyxfunc.h:
4989         * lyxfunc.C: no need for commandshortcut to be a member
4990
4991 2002-07-15  André Pönitz <poenitz@gmx.net>
4992
4993         * converter.C: add support for $$s (scripts from lib/scripts dir)
4994         * lyx_main.C: white space
4995
4996 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
4997
4998         * bufferlist.C:
4999         * lyxrc.h:
5000         * lyxrc.C: remove second exit confirmation
5001
5002 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5003
5004         * BufferView.h:
5005         * BufferView.C:
5006         * BufferView2.C:
5007         * BufferView_pimpl.h:
5008         * BufferView_pimpl.C:
5009         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5010
5011 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5012
5013         * MenuBackend.C (expand): add numeric shortcuts to document menu
5014
5015         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5016
5017 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5018
5019         * lyxfont.C (setLyXFamily):
5020         (setLyXSeries):
5021         (setLyXShape):
5022         (setLyXSize):
5023         (setLyXMisc):
5024         (lyxRead):
5025         * debug.C (value):
5026         * buffer.C (asciiParagraph): use ascii_lowercase
5027
5028 2002-07-15  Mike Fabian  <mfabian@suse.de>
5029
5030         * lyxlex_pimpl.C (search_kw):
5031         * lyxlex.C (getLongString):
5032         * converter.h (operator<):
5033         * converter.C (operator<):
5034         * buffer.C (parseSingleLyXformat2Token):
5035         (asciiParagraph):
5036         * ToolbarDefaults.C (read):
5037         * MenuBackend.C (checkShortcuts):
5038         (read):
5039         * LColor.C (getFromGUIName):
5040         (getFromLyXName): use the compare_ascii_no_case instead of
5041         compare_no_case, because in turkish, 'i' is not the lowercase
5042         version of 'I', and thus turkish locale breaks parsing of tags.
5043
5044 2002-07-16  Angus Leeming  <leeming@lyx.org>
5045
5046         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5047         now takes a Buffer const & argument.
5048
5049 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5050
5051         * BufferView.C (resize): check there's a buffer to resize
5052
5053 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5054
5055         * lyxfunc.C: remove dead code
5056
5057         * lyxserver.h:
5058         * lyxserver.C: use lyx_guii::set_read_callback
5059
5060 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5061
5062         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5063         an inset in a RTL paragraph.
5064
5065 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5066
5067         * lyxfunc.C: repaint after a font size update
5068
5069 2002-07-15  André Pönitz <poenitz@gmx.net>
5070
5071         * lyxlength.C: inBP should be able to return negative values
5072
5073 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5074
5075         * lyxfunc.C: use lyx_gui::update_fonts()
5076
5077 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5078
5079         * lyxfunc.C: use lyx_gui::update_color()
5080
5081 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5082
5083         * bufferlist.C:
5084         * lyxfunc.h:
5085         * lyxfunc.C:
5086         * lyxrc.h:
5087         * lyxrc.C: remove file->new asks for name option, and let
5088           buffer-new take an argument
5089
5090 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5091
5092         * BufferView_pimpl.C: remove unneeded extra repaint()
5093
5094 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5095
5096         * LyXAction.C: allow command-sequence with NoBuffer
5097
5098         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5099
5100 2002-07-10  Angus Leeming  <leeming@lyx.org>
5101
5102         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5103
5104 2002-07-09  Angus Leeming  <leeming@lyx.org>
5105
5106         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5107
5108 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5109
5110         * lengthcommon.h: whitespace
5111
5112         * lyxfunc.C: update scrollbar after goto paragraph
5113
5114         * lyxtext.h: factor out page break drawing, and fix it so
5115           page break/added space paints as selected nicely
5116
5117 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5118
5119         * BufferView_pimpl.C: add FIXMEs, clean up a little
5120
5121 2002-07-09  André Pönitz <poenitz@gmx.net>
5122
5123         * lyxfont.[Ch]: support for wasy symbols
5124
5125 2002-07-08  André Pönitz <poenitz@gmx.net>
5126
5127         * BufferView_pimpl.C: apply John's patch for #93.
5128
5129 2002-07-05  Angus Leeming  <leeming@lyx.org>
5130
5131         * BufferView_pimpl.C (buffer): generate previews if desired.
5132
5133         * LColor.h: add "preview" to the color enum.
5134
5135         * LColor.C (LColor): add a corresponding entry to the items array.
5136
5137         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5138         with this buffer.
5139
5140 2002-07-05  Angus Leeming  <leeming@lyx.org>
5141
5142         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5143         The body of the code is now in the method that is passed an ostream &
5144         rather than a file name.
5145         Pass an additional only_preamble parameter, useful for the forthcoming
5146         preview stuff.
5147
5148 2002-07-03  André Pönitz <poenitz@gmx.net>
5149
5150         * lyxfunc.C: simplify getStatus() a bit for math stuff
5151
5152 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5153
5154         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5155
5156 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5157
5158         * text.C (changeRegionCase): do not change case of all the
5159         document when region ends at paragraph end (bug #461)
5160
5161 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5162
5163         * paragraph.C (startTeXParParams):
5164         (endTeXParParams): add \protect when necessary
5165
5166 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5167
5168         * BufferView_pimpl.C (workAreaExpose): remove warning
5169
5170 2002-06-27  Angus Leeming  <leeming@lyx.org>
5171
5172         * Makefile.am: add lyxlayout_ptr_fwd.h.
5173
5174 2002-06-26  André Pönitz <poenitz@gmx.net>
5175
5176         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5177
5178 2002-06-25  Angus Leeming  <leeming@lyx.org>
5179
5180         * lyxfunc.C (dispatch): Comment out the call to
5181         grfx::GCache::changeDisplay. The method no longer exists now that the
5182         pixmap generation part of the graphics loader has been moved into
5183         InsetGraphics.
5184
5185 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5186
5187         * text2.C: layout as layout
5188
5189         * text.C: layout as layout
5190
5191         * tabular.C (OldFormatRead): layout as layout
5192
5193         * paragraph_pimpl.C (TeXDeeper): layout as layout
5194         (realizeFont): layout as layout
5195
5196         * paragraph.C (writeFile): layout as layout
5197         (validate): layout as layout
5198         (getFont): layout as layout
5199         (getLabelFont): layout as layout
5200         (getLayoutFont): layout as layout
5201         (breakParagraph): layout as layout
5202         (stripLeadingSpaces): layout as layout
5203         (getEndLabel): layout as layout
5204         (getMaxDepthAfter): layout as layout
5205         (applyLayout): layout as layout
5206         (TeXOnePar): layout as layout
5207         (simpleTeXOnePar): layout as layout
5208         (TeXEnvironment): layout as layout
5209         (layout): layout as layout
5210         (layout): layout as layout
5211
5212         * lyxtextclass.C (compare_name): new functor to work with
5213         shared_ptr, layout as layout
5214         (Read): layout as layout
5215         (hasLayout): layout as layout
5216         (operator): layout as layout
5217         (delete_layout): layout as layout
5218         (defaultLayout): layout as layout
5219
5220         * lyxlayout_ptr_fwd.h: new file
5221
5222         * lyxlayout.C (Read): layout as layout
5223
5224         * lyx_cb.C (MenuInsertLabel): layout as layout
5225
5226         * bufferlist.C (newFile): layout as layout
5227
5228         * buffer.C (readLyXformat2): layout as layout
5229         (parseSingleLyXformat2Token): layout as layout
5230         (insertStringAsLines): layout as layout
5231         (asciiParagraph): layout as layout
5232         (latexParagraphs): layout as layout
5233         (makeLinuxDocFile): layout as layout
5234         (simpleLinuxDocOnePar): layout as layout
5235         (makeDocBookFile): layout as layout
5236         (simpleDocBookOnePar): layout as layout
5237         (getLists): layout as layout
5238
5239         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5240
5241         * CutAndPaste.C (cutSelection): layout as layout
5242         (pasteSelection): layout as layout
5243         (SwitchLayoutsBetweenClasses): layout as layout
5244
5245         * BufferView_pimpl.C (Dispatch): layout as layout
5246         (smartQuote): layout as layout
5247
5248         * BufferView2.C (unlockInset): layout as layout
5249
5250 2002-06-24  André Pönitz <poenitz@gmx.net>
5251
5252         * lyxfunc.C: fix #487
5253
5254 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5255
5256         * lyxrc.h:
5257         * lyxrc.C:
5258         * lyxfunc.C: remove display_shortcuts, show_banner
5259
5260 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5261
5262         * Buffer_pimpl.C: oops, update on resize
5263
5264 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5265
5266         * buffer.C:
5267         * converter.C:
5268         * exporter.C:
5269         * lyxfunc.C:
5270         * BufferView.h:
5271         * BufferView.C: use repaint()
5272
5273         * BufferView_pimpl.h:
5274         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5275           as it's a clearer description. Remove superfluous
5276           redraws.
5277
5278 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5279
5280         * text.C: fix bug 488. Not ideal, but getting
5281           getWord() to work properly for the insets that
5282           matter is more difficult ...
5283
5284 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5285
5286         * BufferView_pimpl.C:
5287         * LyXAction.C:
5288         * commandtags.h:
5289         * lyxfunc.C: remove the six million index lyxfuncs to just
5290           one, and DTRT (bug 458)
5291
5292 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5293
5294         * BufferView.h:
5295         * BufferView.C:
5296         * BufferView_pimpl.h:
5297         * BufferView_pimpl.C: clean up resize() stuff,
5298           and unnecessary updateScreen()s
5299
5300 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5301
5302         * BufferView.h:
5303         * BufferView.C:
5304         * BufferView_pimpl.h:
5305         * BufferView_pimpl.C:
5306         * lyxfind.h:
5307         * lyxfind.C:
5308         * minibuffer.C: remove focus management of workarea,
5309           not needed. Use screen's greyOut()
5310
5311 2002-06-17  Herbert Voss  <voss@lyx.org>
5312
5313         * converter.C: (convert) do not post a message, when converting
5314         fails, let the calling function decide what to do in this case
5315
5316 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5317
5318         * lyxfunc.C: tidy up a little
5319
5320 2002-06-16    <alstrup@diku.dk>
5321
5322         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5323         Got rid of FORMS_H_LOCATION include. Now we are
5324         GUII.
5325
5326 2002-06-15  LyX Development team  <lyx@rilke>
5327
5328         * buffer.[Ch] (sgmlOpenTag):
5329         (sgmlCloseTag): Added support for avoiding pernicious mixed
5330         content. Return number of lines written.
5331
5332         (makeLinuxDocFile):
5333         (makeDocBookFile): Fixed calls to sgml*Tag.
5334         Simple white space clean.
5335
5336         (simpleDocBookOnePar): Simple white space clean.
5337
5338         * tabular.[Ch] (docBook): Renamed to docbook and got another
5339         argument to related with the pernicious mixed content.
5340
5341         (docbookRow): Fixed calls for docbook inset method.
5342
5343 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5344
5345         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5346         so it's X11 independent.
5347
5348         * kb*.[Ch]: ditto.
5349
5350         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5351
5352 2002-06-15  Lyx Development team  <lyx@electronia>
5353
5354         * intl.h: Renamed getTrans to getTransManager.
5355
5356 2002-06-14  Angus Leeming  <leeming@lyx.org>
5357
5358         * Makefile.am: nuke forgotten stl_string_fwd.h.
5359
5360 2002-06-12  Angus Leeming  <leeming@lyx.org>
5361
5362         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5363
5364 2002-06-13  Angus Leeming  <leeming@lyx.org>
5365
5366         * LaTeX.C:
5367         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5368
5369 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5370
5371         * kbmap.C (getiso): add support for cyrillic and greek
5372
5373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5374
5375         * BufferView.h:
5376         * BufferView.C:
5377         * BufferView_pimpl.h:
5378         * BufferView_pimpl.C: move bogus scrolling logic
5379           to xforms
5380
5381 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5382
5383         * lyxfunc.C:
5384         * BufferView_pimpl.C: view->resize() change
5385
5386 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5387
5388         * BufferView_pimpl.C: topCursorVisible
5389           prototype change
5390
5391 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5392
5393         * Makefile.am:
5394         * lyx_gui.h:
5395         * lyx_gui.C: move to frontends/
5396
5397         * main.C:
5398         * lyx_main.h:
5399         * lyx_main.C: changes from above
5400
5401 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5402
5403         * intl.C:
5404         * intl.h:
5405         * kbmap.C:
5406         * kbsequence.C:
5407         * lyx_cb.C:
5408         * lyx_main.C: minor tidy
5409
5410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5411
5412         * BufferView_pimpl.h:
5413         * BufferView_pimpl.C:
5414         * BufferView.h:
5415         * BufferView.C: make painter() const,
5416           remove dead code
5417
5418         * BufferView2.C: use screen() accessor
5419
5420         * lyx_main.h:
5421         * lyx_main.C: some minor cleanup
5422
5423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5424
5425         * BufferView_pimpl.h:
5426         * BufferView_pimpl.C: remove enter/leaveView,
5427           use workHeight()
5428
5429 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5430
5431         * BufferView.h:
5432         * BufferView.C:
5433         * BufferView2.C:
5434         * BufferView_pimpl.h:
5435         * BufferView_pimpl.C: only construct screen once,
5436           rename
5437
5438         * lyxrc.C: remove pointless comment
5439
5440 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5441
5442         * BufferView.h:
5443         * BufferView.C: remove active() and belowMouse()
5444
5445         * BufferView_pimpl.h:
5446         * BufferView_pimpl.C: use workarea() not workarea_,
5447           and make it use a scoped_ptr instead
5448
5449 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5450
5451         * lyx_gui.C: add debug message on BadWindow
5452
5453 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5454
5455         * sp_spell.C: fdopen is not part of the C++ standard.
5456
5457         * paragraph.C (InsetIterator): use >= instead of ==
5458
5459 2002-06-07  Angus Leeming  <leeming@lyx.org>
5460
5461         Fixes needed to compile with Compaq cxx 6.5.
5462         * BufferView_pimpl.C:
5463         * DepTable.C:
5464         * buffer.C:
5465         * converter.C:
5466         * encoding.C:
5467         * lyx_gui.C:
5468         * lyx_main.C:
5469         * lyxtextclasslist.C:
5470         * minibuffer.C:
5471         * sp_spell.C:
5472         * tabular_funcs.C:
5473         * vc-backend.C:
5474         all c-library variables have been moved into namespace std. Wrap
5475         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5476
5477         * lyxlength.C:
5478         * tabular-old.C:
5479         * tabular.C:
5480         Add a using std::abs declaration.
5481
5482         * kbmap.h (modifier_pair):
5483         * paragraph.h (InsetTable, InsetList):
5484         * lyxfont.h (FontBits):
5485         type definition made public.
5486
5487         * bufferlist.C (emergencyWriteAll): the compiler complains that
5488         there is more than one possible lyx::class_fun template to choose from.
5489         I re-named the void specialisation as lyx::void_class_fun.
5490
5491         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5492
5493         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5494         the compiler is is unable to find tostr in write_attribute.
5495
5496 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5497
5498         * buffer.C (sgmlError): hide #warning
5499
5500 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5501
5502         * xtl/*: get rid of xtl, which is not in use anyway
5503
5504         * LyXAction.C (init):
5505         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5506         were unimplemented xtl experimentation
5507
5508 2002-06-04  André Pönitz <poenitz@gmx.net>
5509
5510         * lyxfunc.C: disable array operation on simple formulae
5511
5512 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5513
5514         * converter.C: constify a bit
5515
5516 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5517
5518         * lyx_gui.C: check xforms version correctly
5519
5520 2002-04-30  Herbert Voss  <voss@lyx.org>
5521
5522         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5523         "keep" option
5524
5525 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5526
5527         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5528           attempt to register it with a VCS)
5529
5530 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5531
5532         * lyx_main.C (init): honor variables LYX_DIR_13x and
5533         LYX_USERDIR_13x
5534
5535 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5536
5537         * buffer.h:
5538         * buffer.C:
5539         * lyx_main.C: fix a crash on bad command line,
5540           and give a useful exit status on error
5541
5542         * lyxfunc.C (doImport): allow -i lyx to work
5543
5544 2002-03-30  André Pönitz <poenitz@gmx.net>
5545
5546         * lyxfunc.C: mathed font changes
5547
5548 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5549
5550         * LaTeX.C:
5551         * importer.h:
5552         * importer.C:
5553         * lyx_sty.h:
5554         * lyx_sty.C:
5555         * lyxlex.C:
5556         * lyxrow.h:
5557         * lyxtext.h:
5558         * paragraph.h:
5559         * paragraph.C:
5560         * texrow.h:
5561         * texrow.C:
5562         * text.C:
5563         * trans_mgr.h: srcdocs, and some minor cleanups
5564
5565 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5566
5567         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5568         call getFont all the time)
5569
5570 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5571
5572         * switch from SigC signals to boost::signals
5573
5574 2002-05-29  André Pönitz <poenitz@gmx.net>
5575
5576         * paragraph_pimpl.C (getChar): don't call size() too often...
5577
5578 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5579
5580         * paragraph_pimpl.C (insertChar): do not try to update tables when
5581         appending (pos == size())
5582
5583         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5584         in order to reduce drastically the number of comparisons needed to
5585         parse a large document
5586
5587 2002-05-29  André Pönitz <poenitz@gmx.net>
5588
5589         * text.C:
5590         * text2.C:
5591         * lyxtextclass.C:
5592         * sp_pspell.h:
5593         * textclasslist.[Ch]:
5594         * sp_ispell.h: whitespace change
5595
5596 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5597
5598         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5599         lyxaction directly now.
5600
5601 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
5602
5603         * trans.C:
5604         * lyxfont.C:
5605         * lyxvc.C: remove unused headers
5606
5607 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5608
5609         * Makefile.am:
5610         * buffer.h:
5611         * undostack.h:
5612         * undostack.C:
5613         * undo_funcs.h:
5614         * undo_funcs.C: some cleanups. Use shared_ptr
5615           and a template for the undo stacks.
5616
5617 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5618
5619         * BufferView_pimpl.h:
5620         * BufferView_pimpl.C:
5621         * kbmap.h:
5622         * kbmap.C:
5623         * kbsequence.h:
5624         * kbsequence.C:
5625         * lyxfunc.h:
5626         * lyxfunc.C:
5627         * text2.C: use key_state/mouse_state
5628
5629 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5630
5631         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5632         and LSubstring
5633
5634         * chset.C: change include order
5635         (loadFile): use boost regex and get rid of LRegex and LSubstring
5636
5637         * Makefile.am (BOOST_LIBS): new variable
5638         (lyx_LDADD): use it
5639
5640         * LaTeX.C: change include order.
5641         (scanAuxFile): use boost regex and get rid of LRegex and
5642         LSubstring
5643         (deplog): ditto
5644
5645 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5646
5647         * ColorHandler.h:
5648         * ColorHandler.C:
5649         * FontInfo.h:
5650         * FontInfo.C: moved to frontends/xforms/
5651
5652         * FontLoader.h:
5653         * FontLoader.C: moved into frontends for GUIIzation
5654
5655         * Makefile.am:
5656         * lyx_gui.C:
5657         * lyxfont.C:
5658         * lyxfunc.C: changes from above
5659
5660 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5661
5662         * LColor.C: remove spurious X include
5663
5664         * BufferView_pimpl.C:
5665         * Makefile.am:
5666         * font.h:
5667         * font.C:
5668         * text.C:
5669         * text2.C: move font metrics to frontends/
5670
5671 2002-05-24  Juergen Vigna  <jug@sad.it>
5672
5673         * undo_funcs.C (textHandleUndo): fix the cursor selection after
5674         setting the undo_cursor.
5675
5676         * ParagraphParameters.h: include local includes first.
5677
5678 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5679
5680         * BufferView_pimpl.C:
5681         * BufferView_pimpl.h:
5682         * Makefile.am:
5683         * WorkArea.h:
5684         * WorkArea.C:
5685         * screen.C: move WorkArea into frontends/
5686
5687         * lyxscreen.h:
5688         * screen.C:
5689         * text.C:
5690         * BufferView.C:
5691         * BufferView2.C: move LyXScreen into frontends/
5692
5693         * lyxlookup.h:
5694         * lyxlookup.C:
5695         * lyx_gui.C: move lyxlookup into frontends/xforms/
5696
5697 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5698
5699         * BufferView2.C:
5700         * BufferView_pimpl.C:
5701         * FontLoader.C:
5702         * LyXView.h:
5703         * LyXView.C:
5704         * Makefile.am:
5705         * WorkArea.C:
5706         * XFormsView.h:
5707         * XFormsView.C:
5708         * buffer.C:
5709         * bufferlist.C:
5710         * bufferview_funcs.C:
5711         * converter.C:
5712         * importer.C:
5713         * lyx_cb.C:
5714         * lyx_gui.C:
5715         * lyx_main.C:
5716         * lyx_find.C:
5717         * lyxfunc.C:
5718         * lyxvc.C:
5719         * minibuffer.C:
5720         * text.C:
5721         * text2.C:
5722         * trans.C:
5723         * vc-backend.C: move LyX/XFormsView into frontends/
5724
5725 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5726
5727         * Makefile.am:
5728         * PainterBase.C:
5729         * PainterBase.h:
5730         * Painter.C:
5731         * Painter.h:
5732         * WorkArea.C:
5733         * WorkArea.h:
5734         * screen.C:
5735         * tabular.C:
5736         * text.C:
5737         * text2.C: move Painter to frontends/
5738
5739 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5740
5741         * buffer.C: comment out some some code that depend upon lyx_format
5742         < 220
5743
5744         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5745         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5746
5747         * buffer.h (NO_COMPABILITY): turn off compability
5748
5749         * ColorHandler.C: include scoped_array.hpp
5750
5751         * font.C: Use more specific smart_ptr header.
5752         * Painter.C: ditto
5753         * gettext.C: ditto
5754         * ShareContainer.h: ditto
5755         * lyx_main.h: ditto
5756         * kbmap.h: ditto
5757         * FontInfo.h: ditto
5758         * BufferView_pimpl.h: ditto
5759         * ColorHandler.h: ditto
5760
5761         * kbmap.C (defkey): change call to shared_ptr::reset
5762
5763 2002-05-21  Juergen Vigna  <jug@sad.it>
5764
5765         * buffer.C (insertErtContents): fix to insert ert asis if it is
5766         non empty. Skip it completely if it contains only whitespaces.
5767
5768 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
5769
5770         * BufferView_pimpl.C:
5771         * BufferView2.C: clear selection on paste (bug 393)
5772
5773 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5774
5775         * DepTable.C: include ctime
5776
5777 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
5778
5779         * buffer.C (latexParagraphs): Add new argument (moving_arg).
5780
5781 2002-05-14  Juergen Vigna  <jug@sad.it>
5782
5783         * text.C (breakParagraph): fixed function to honor the keepempty
5784         layout in the right maner and also to permit the right breaking
5785         algorithm on empty or non empyt keepempty paragraphs.
5786
5787         * paragraph.C (breakParagraph): we have to check also if the par
5788         is really empty (!size()) for isempty otherwise we do the wrong
5789         paragraph break.
5790
5791 2002-05-10  Juergen Vigna  <jug@sad.it>
5792
5793         * buffer.[Ch] : The following are only changes to the ert
5794         compatibility read reading old LaTeX layout and font stuff and
5795         convert it to ERTInsets.
5796
5797         * buffer.h: added isErtInset().
5798
5799         * buffer.C (struct ErtComp): add a fromlayout bool to check
5800         if we're inside a LaTeX layout.
5801         (isErtInset): new helper function.
5802         (insertErtContents): look for other ert insets before this one
5803         and insert the contents there, so that we don't have subsequent
5804         ERT insets with nothing between them. This way we create only one
5805         inset with multiple paragraphs. Also check if we don't insert only
5806         spaces ' ' as they are ignored anyway afterwards in the .tex file
5807         so if we have only spaces we will ignore this latex part in the
5808         new file.
5809         (parseSingleLyXformat2Token \\layout): better compatibility when
5810         reading layout-latex stuff.
5811         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5812         language tag.
5813         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5814         stuff after reading the inset only get the information back from
5815         the stack.
5816
5817 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
5818
5819         * buffer.C (makeLaTeXFile): Put language options after loading babel.
5820
5821         * LaTeXFeatures.C (getBabelOptions): New method.
5822
5823 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5824
5825         * BufferView_pimpl.C (Dispatch): work around missing argument for
5826         'layout'
5827
5828 2002-05-08  Juergen Vigna  <jug@sad.it>
5829
5830         * text.C (leftMargin): handle paragraph leftindent.
5831
5832         * paragraph.C (writeFile): write the new \\leftindent tag.
5833         (validate): handle leftindent code.
5834         (TeXEnvironment): handle paragraphleftindent code again.
5835
5836         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5837
5838         * buffer.C (parseSingleLyXformat2Token): added compatibility code
5839         for paragrap_extra indent code and new token \\leftindent.
5840         (latexParagraphs): handle the leftindent as environment.
5841
5842         * ParameterStruct.h: added leftindent support.
5843
5844         * ParagraphParameters.C (leftIndent): added support functions for
5845         the paragraph left indent.
5846
5847         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5848         more appropriate.
5849
5850 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
5851
5852         * paragraph.C (isRightToLeftPar): Return false for a paragraph
5853         inside insetERT.
5854
5855         * text.C (computeBidiTables): No bidi in insetERT.
5856
5857         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5858         in RTL documents.
5859
5860 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5861
5862         * version.C.in: pre 5
5863
5864 2002-05-02  José Matos  <jamatos@fep.up.pt>
5865         * buffer.C (makeDocBookFile): white space changes, add newline to
5866         command styles.
5867         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5868
5869         * tabular.C (docBook): fix typo.
5870
5871 2002-05-03  Juergen Vigna  <jug@sad.it>
5872
5873         * screen.C (drawFromTo): recalculate the rowpointer if we had a
5874         change in LyXText as we can not be sure it was not freed.
5875         (drawOneRow): remove unused code.
5876
5877         * text.C (drawInset): redo the calculation of the need_break_row as
5878         it could have a row which was already freed.
5879         (draw): look at the return value of drawInset and return false if
5880         it also returned false.
5881         (paintRowText): look at the return value of draw and return false if
5882         it also returned false.
5883
5884         * lyxtext.h: added bool return type to drawInset() and draw() so that
5885         if we have a change in the row so that the rowbreak has to be redone
5886         we abort drawing as it will be called again.
5887
5888 2002-05-02  Juergen Vigna  <jug@sad.it>
5889
5890         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5891         a change in the maintext also if we're inside an inset.
5892         (Dispatch): set the cursor again after a break line and after the
5893         screen has been updated as it could be we're in a different row.
5894
5895         * text2.C (fixCursorAfterDelete): check to make sure we don't request
5896         to set the cursor behind the pargraph with > size().
5897         (setCursor): check also for the same paragraph when checking where
5898         to put the cursor if we have a NFR inset.
5899
5900         * buffer.C (parseSingleLyXformat2Token): move the compatibility
5901         parts of layout read further up as it still was in the wrong
5902         position.
5903
5904 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5905
5906         * screen.C (drawFromTo): change sine fullRebreak always return
5907         true.
5908
5909         * buffer.C (parseSingleLyXformat2Token): reindent some
5910
5911         * BufferView_pimpl.C (update): change since fullRebreak always
5912         return true.
5913         (Dispatch): git rid of the last hardcoded "Standard"s.
5914
5915 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5916
5917         * text2.[Ch] (fullRebreak): make it return void now that we always
5918         returned true.
5919
5920 2002-04-30  Juergen Vigna  <jug@sad.it>
5921
5922         * buffer.C (parseSingleLyXformat2Token): reset the font before the
5923         ert compatibility check for "latex" layout.
5924
5925 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
5926
5927         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5928         minipages: use col% instead of p%, and also use the current font.
5929         (makeLaTeXFile): Fix use babel condition.
5930         (parseSingleLyXformat2Token): Correct font when reading old floats.
5931
5932 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
5933
5934         * BufferView_pimpl.C (Dispatch): Check that float type exists when
5935         inserting list of floats.
5936
5937 2002-04-25  Herbert Voss  <voss@lyx.org>
5938
5939         * MenuBackend.C (expand): don't add the graphics extensions to the
5940         export menu
5941
5942 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5943
5944         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5945         non-existing layout, do not complain if it was the default layout
5946         of the original class (bug #342)
5947
5948 2002-04-24  Juergen Vigna  <jug@sad.it>
5949
5950         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5951         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5952
5953 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
5954
5955         * buffer.C (getBibkeyList): If using \bibliography, return the
5956         option field with the reference itself. Enables us to provide natbib
5957         support when using \bibliography.
5958
5959 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
5960
5961         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5962
5963         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5964         natbib is provided by the LaTeX class.
5965
5966 2002-04-23  Juergen Vigna  <jug@sad.it>
5967
5968         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5969         Wakeup functions.
5970
5971         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5972
5973 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5974
5975         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5976
5977         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5978         ensuremath around textordmasculine, textordfeminine and
5979         textdegree.
5980
5981 2002-04-19  Juergen Vigna  <jug@sad.it>
5982
5983         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5984         reinitializing the buffer otherwise row-dimensions may be wrong.
5985         (update): reset also the selection cursors if they do exits otherwise
5986         their x/y positions may be wrong.
5987
5988         * text2.C (cursorDown): don't enter the inset if we came from a row
5989         above and are one row over the inset.
5990
5991         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5992         really leaving an inset.
5993
5994 2002-04-18  Juergen Vigna  <jug@sad.it>
5995
5996         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5997         of the selected paragraph does not have the selected layout also if
5998         the last one had!
5999
6000         * text2.C (setLayout): fixed bug which did not change last selected
6001         paragraph.
6002
6003         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6004         changed the read and substituted \\end_float with \\end_inset!
6005
6006         * BufferView_pimpl.C (cursorPrevious):
6007         (cursorNext): fixed to make it work with rows heigher than the work
6008         area without moving the cursor only the draw of the row.
6009         (workAreaMotionNotify): fix jumping over high rows.
6010
6011 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6012
6013         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6014         Ressler.
6015
6016 2002-04-16  Juergen Vigna  <jug@sad.it>
6017
6018         * text2.C (setCursor): set also the irow().
6019         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6020         (cursorUp):
6021         (cursorDown): support for locking an inset if the x_fix value goes
6022         inside it. That way I can transverse insets too with cursor up/down.
6023
6024         * lyxrow.h: added irow helper function same as other (i) functions.
6025
6026         * BufferView_pimpl.C (cursorPrevious):
6027         (cursorNext): fixed for insets!
6028
6029 2002-04-15  Juergen Vigna  <jug@sad.it>
6030
6031         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6032         position otherwise it is wrong in some cases.
6033
6034         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6035         inside the inset before the call.
6036
6037 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6038
6039         * buffer.[Ch] (getBibkeyList): make it const.
6040
6041 2002-04-12  Juergen Vigna  <jug@sad.it>
6042
6043         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6044
6045         * text2.C (getCursorX): new helper function
6046         (setCursor): compute also ix_
6047         (setCursorFromCoordinates): set also ix.
6048
6049         * lyxcursor.h: added ix_ and helper functions.
6050
6051         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6052
6053         * buffer.C (insertStringAsLines): dont break paragraph if the this
6054         paragraph is inside an inset which does not permit it!
6055
6056         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6057         also with no chars on this paragraph.
6058         (paintRowText): only paint stuff if it's inside the workarea!
6059
6060         * paragraph.C (breakParagraph): honor keepempty flag and break the
6061         paragraph always below not above.
6062
6063         * BufferView2.C (unlockInset): update the paragraph layout on inset
6064         unlock as we changed paragraph in such a case.
6065
6066         * lyxfind.C (LyXFind): clear the former selection if not found!
6067
6068         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6069         again called in insertChar().
6070
6071         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6072         an inset which uses the whole row!
6073         (rightMargin): ditto.
6074         (insertChar): force a rebreak if we inserted an inset!
6075
6076 2002-03-28  Herbert Voss  <voss@lyx.org>
6077
6078         * lyxlength.[Ch]: add inBP() to get the right PS-point
6079         units (BigPoint). With inPixels we have rounding errors
6080
6081 2002-04-11  Juergen Vigna  <jug@sad.it>
6082
6083         * text2.C (setCursorFromCoordinates): set iy to the right value.
6084         (setCursor): add check if row->previous exists!
6085
6086         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6087         an old float_type as this was the case in the old code!
6088
6089         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6090
6091         * BufferView2.C (showLockedInsetCursor): use iy
6092         (fitLockedInsetCursor): ditto
6093
6094         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6095         locked insets as there we have the right value now.
6096
6097         * lyxcursor.C: added iy_ variable and iy functions to set to the
6098         baseline of cursor-y of the locked inset.
6099
6100         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6101         (setCursor): fixed for insets which need a full row.
6102
6103         * text.C (rowLastPrintable): don't ignore the last space when before
6104         an inset which needs a full row.
6105         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6106         as last character of a row when before a inset which needs a full row.
6107
6108 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6109
6110         * version.C.in: update date
6111
6112         * text2.C (fullRebreak): try to always return true and see what
6113         happens...
6114
6115 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6116
6117         * MenuBackend.C (expand): use Floating::listName
6118
6119         * FloatList.C (FloatList): add listName argument to the built-in
6120         floats
6121
6122         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6123         text associated with the float.
6124
6125 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6126
6127         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6128
6129 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6130
6131         * ShareContainer.h: add a couple of missing typenames.
6132
6133 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6134
6135         * lyxrc.C (getDescription): use _() correctly rather than N_().
6136
6137 2002-03-28  Herbert Voss  <voss@lyx.org>
6138
6139         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6140         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6141
6142 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6143
6144         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6145         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6146
6147 2002-03-29  Juergen Vigna  <jug@sad.it>
6148
6149         * lyxfunc.C (dispatch): add a missing fitCursor call.
6150
6151         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6152         it was scrolled by a cursor move, so return the bool status.
6153
6154         * BufferView.C (fitCursor): return the bool flag also to the outside
6155         world as this is needed.
6156
6157         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6158
6159         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6160         call the edit() as it is not needed (and wrong) IMO.
6161         (workAreaButtonPress): set the screen_first variable before evt.
6162         unlock the inset as this may change screen_first and then we have
6163         a wrong y position for the click!
6164
6165 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6166
6167         * MenuBackend.C (expand): another translation that I missed
6168
6169 2002-03-28  Juergen Vigna  <jug@sad.it>
6170
6171         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6172
6173         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6174
6175 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6176
6177         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6178
6179         * MenuBackend.C (expand): fix export/view/update when there is no
6180         document open.
6181
6182 2002-03-27  Herbert Voss  <voss@lyx.org>
6183
6184         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6185         and text%
6186
6187 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6188
6189         * bufferview_funcs.C (currentState): only show paragraph number
6190         for is DEVEL_VERSION is set.
6191
6192         * lyxfunc.C (dispatch): put warning in INFO channel
6193
6194         * MenuBackend.C (expand): translate the name of floats
6195
6196         * FloatList.C (FloatList): mark the float names for translation
6197
6198         * converter.C (convert): use LibScriptSearch
6199
6200 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6201
6202         * MenuBackend.C (defaults): fix default menu (we might as well get
6203         rid of it...)
6204
6205 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6206
6207         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6208         directory.
6209
6210 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6211
6212         * lyxvc.C: reorder includes.
6213
6214 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6215
6216         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6217           properly
6218
6219 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6220
6221         * CutAndPaste.C: change layouts earlier on paste
6222           to avoid crashing when calling getFont()
6223
6224 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6225
6226         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6227         irritating #error.
6228
6229 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6230
6231         * WorkArea.C: remove 'Pending' debug message.
6232
6233         * most files: ws cleanup
6234
6235         * buffer.[Ch]: ws changes
6236
6237         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6238
6239 2002-03-21  Juergen Vigna  <jug@sad.it>
6240
6241         * tabular.C (SetMultiColumn): collapse also the contents of the
6242         cells and set the last border right. Added a Buffer const * param.
6243
6244 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6245
6246         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6247         linking or not.
6248
6249 2002-03-19  Juergen Vigna  <jug@sad.it>
6250
6251         * text2.C (clearSelection): reset also xsel_cache.
6252
6253         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6254         where it needs to be called (John tells us to do so too :)
6255         (selectionLost): reset sel_cache.
6256
6257         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6258
6259 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6260
6261         * text2.C (setCursorIntern): put debuging code in INSETS channel
6262
6263 2002-03-19  André Pönitz <poenitz@gmx.net>
6264
6265         * lyxfunc.C: tiny whitespace change
6266
6267 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6268
6269         * ToolbarDefaults.C (init):
6270         * LyXAction.C (init):
6271         * commandtags.h:
6272         * BufferView_pimpl.C (Dispatch):
6273         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6274
6275 2002-03-19  Allan Rae  <rae@lyx.org>
6276
6277         * exporter.C (Export): removeAutoInsets before doing anything else.
6278         While I've just introduced a dependency on BufferView this really is
6279         the best place to clean the buffer otherwise you need to cleanup in
6280         a dozen places before calling export or cleanup in a dozen functions
6281         that export calls.
6282
6283         * converter.C (runLaTeX):
6284         (scanLog): Better handling of removeAutoInsets and screen updates.
6285
6286         * lyxfunc.C (dispatch): small whitespace changes
6287
6288 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6289
6290         * WorkArea.C (C_WorkAreaEvent): return a value.
6291         (event_cb): return 1 if we handled the event, 0 otherwise.
6292
6293         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6294
6295 2002-03-18  Juergen Vigna  <jug@sad.it>
6296
6297         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6298         (GetAdditionalWidth): ditto.
6299         (RightLine): ditto.
6300         (LeftLine): ditto.
6301
6302         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6303         inset if we're there actually (probably not used right now but this
6304         is the direction to go for unifying code).
6305         (paste): disable code to clear the selection.
6306
6307         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6308         inside an InsetText and move the check further up as it is in the
6309         wrong place.
6310
6311         * text2.C (pasteSelection): set a selection over the pasted text.
6312
6313 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6314
6315         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6316         and libgraphics to build on Cygwin.
6317
6318 2002-03-15  Juergen Vigna  <jug@sad.it>
6319
6320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6321         inserting an Inset into the paragraph. I know this is not the best
6322         fix but we already use current_view in CutAndPaste so we will remove
6323         all of it's using at the same time.
6324
6325         * buffer.C (sgmlError): deactivated function till it is rewritten in
6326         the right mode, now it can create problems.
6327
6328         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6329         before accessing it.
6330
6331 2002-03-14  Juergen Vigna  <jug@sad.it>
6332
6333         * undo_funcs.C (textHandleUndo): do the right thing when updating
6334         the inset after the undo/redo.
6335
6336         * text2.C (setCursor): just some testcode for #44 not ready yet.
6337
6338         * undo_funcs.C (textHandleUndo): set the next() and previous()
6339         pointers of the paragraph to 0 before deleting otherwise we have
6340         problems with the Paragraph::[destructor].
6341
6342         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6343         on a paragraph insertion.
6344
6345 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6346
6347         * buffer.C (asciiParagraph): use += operator for char append to
6348         string.
6349
6350         * paragraph.C (getFontSettings): compare >= not just >
6351         (highestFontInRange): ditto
6352         (setFont): ditto
6353
6354 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6355
6356         * paragraph.C: change several algorithm to be more appripriate for
6357         the problem domain. This is lookip in FontList and in the InsetList.
6358
6359 2002-03-13  André Pönitz <poenitz@gmx.net>
6360
6361         * commandtags.h:
6362         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6363
6364 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6365
6366         * commandtags.h:
6367         * LyXAction.C:
6368         * lyxfunc.C:
6369         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6370
6371 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6372
6373         * Painter.C (display): anon helper function, adjust code for this
6374         change.
6375         (pixmap): remove function.
6376
6377         * Painter.h: remove private display variable.
6378
6379         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6380
6381 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6382
6383         * WorkArea.[Ch]: remove figinset_canvas cruft.
6384
6385 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6386
6387         * lyxtextclass.C (operator): add one item cache optimization.
6388
6389         * bufferlist.h: doxy changes
6390
6391         * bufferlist.C: ws changes
6392
6393         * DepTable.[Ch] (ext_exist): place const in the right spot.
6394
6395         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6396         call resizeInsets.
6397         (workAreaExpose): call resizeInsets when the with BufferView changes.
6398         (Dispatch): adjust for protectedBlank removal
6399         (specialChar): call updateInset if the insert went ok.
6400
6401         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6402         specialChar instead.
6403
6404         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6405
6406         * BufferView.h: doxy change
6407
6408         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6409
6410         * lyxtextclass.C (operator[]): remove non-const version
6411         (defaultLayout): remove non-const version
6412
6413 2002-03-12  Juergen Vigna  <jug@sad.it>
6414
6415         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6416         did resize the LyXText too.
6417
6418         * buffer.C (readLyXformat2): set layout information on newly allocated
6419         paragraphs.
6420
6421         * tabular.C (OldFormatRead): set layout information on the paragraph.
6422
6423 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6424
6425         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6426
6427 2002-03-11  Juergen Vigna  <jug@sad.it>
6428
6429         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6430         plainly wrong.
6431         (resizeCurrentBuffer): force also the insets to resize themselfes.
6432         (moveCursorUpdate): fixed up for InsetText.
6433
6434 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6435
6436         * commandtags.h:
6437         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6438         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6439         value of Dialogs::tooltipsEnabled().
6440         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6441
6442 2002-03-08  Juergen Vigna  <jug@sad.it>
6443
6444         * BufferView_pimpl.C (updateInset): update inset inside inset also
6445         if it isn't inside theLockingInset().
6446
6447 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6448
6449         * buffer.C (asciiParagraph): redo some of the word and line length
6450         handling.
6451         (getLists): look for Caption instead of caption.
6452
6453 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6454
6455         * buffer.C (Buffer): initialize niceFile to true
6456         (makeLaTeXFile):
6457         (makeLinuxDocFile):
6458         (makeDocBookFile): make sure niceFile is true on exit
6459
6460 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6461
6462         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6463
6464 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6465
6466         * LyXSendto.C: remove.
6467         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6468         * lyx_gui.C: remove now-redundant comment.
6469         * ColorHandler.h: remove forward declaration of class WorkArea.
6470         * lyxfunc.C: remove #include "WorkArea.h".
6471
6472 2002-03-07  Juergen Vigna  <jug@sad.it>
6473
6474         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6475         got moved away with the DEPM and also set the inset_owner always
6476         right which before could have been omitted.
6477
6478 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6479
6480         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6481         wanted layout is not found.
6482
6483 2002-03-07  Juergen Vigna  <jug@sad.it>
6484
6485         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6486
6487 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6488
6489         * paragraph.C (breakParagraph): use default layout not layout of
6490         prev paragraph.
6491         (Paragraph): clear ParagraphParameters.
6492
6493 2002-03-06  Juergen Vigna  <jug@sad.it>
6494
6495         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6496         otherwise it would not be a valid lenght. Fixed a special case in
6497         the minipage compatibility read where we end the document with a
6498         minipage.
6499
6500         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6501         was set as it could be 0 for InsetTexts first entry.
6502
6503 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6504
6505         * paragraph.C (writeFile): if layout is empty write out
6506         defaultLayoutName().
6507
6508         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6509         file without named layout we set layout to defaultLayoutName().
6510
6511 2002-03-06  Juergen Vigna  <jug@sad.it>
6512
6513         * CutAndPaste.C (copySelection): set layout for new paragraph.
6514
6515         * text.C (prepareToPrint): leave ERT inset left aligned
6516         (leftMargin): don't indent paragraphs inside ERT insets
6517
6518 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6519
6520         * paragraph.C (breakParagraph): dont call clear do the work manually
6521
6522         * paragraph.[Ch] (clear): remove function
6523
6524 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6525
6526         * paragraph.C (Paragraph): dont call clear, the work has already
6527         been done.
6528
6529         * lyxtextclass.C (operator): assert if n is empty
6530
6531         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6532         work manually instead.
6533
6534 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * BufferView_pimpl.C: protect selectionLost against text == 0
6537
6538 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6539
6540         * text.C (breakParagraph): fix a setting layout to '0' problem.
6541
6542 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6543
6544         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6545         final location of file, for the included files, and graphics.
6546
6547 2002-03-05  Juergen Vigna  <jug@sad.it>
6548
6549         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6550
6551 2002-03-04  Juergen Vigna  <jug@sad.it>
6552
6553         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6554
6555         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6556         last column of multicolumn cells.
6557         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6558
6559 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6560
6561         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6562         file if it doesn't go to a temporary file.
6563
6564         * buffer.C (sgmlOpenTag):
6565         (sgmlCloseTag):  remove extra newline insertion.
6566
6567 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6568
6569         * text.C (getRowNearY): comment out debug msg
6570
6571 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6572
6573         * text2.C: first -> first_y
6574
6575         * text.C (getRowNearY): add some attemts at a possible
6576         optimization, not working.
6577
6578         * tabular.[Ch]: add BufferParams to several function so that newly
6579         created paragraph can be initialized to he default layotu for the
6580         buffers textclass.
6581
6582         * tabular-old.C (ReadOld): add buf->params to call of Init
6583
6584         * screen.C: rename text->first to text->first_y
6585
6586         * paragraph.C (breakParagraph): always set layout in the broken
6587         paragraph
6588
6589         * lyxtextclass.C (Read): remove lowercase
6590         (hasLayout): ditto
6591         (operator): ditto
6592         (delete_layout): ditto
6593
6594         * lyxtext.h: rename first -> first_y
6595
6596         * lyxlayout.C (Read): remove lowercase
6597         (name): ditto
6598         (setName): ditto
6599         (obsoleted_by): ditto
6600
6601         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6602
6603         * buffer.C (insertErtContents): add params are to InsetERT
6604         (parseSingleLyXformat2Token): add code to check if a paragraphs
6605         layout really exist.
6606         (parseSingleLyXformat2Token): add params to several inset
6607         constructors
6608         (asciiParagraph): remove lowercase, do the layout comparisons with
6609         no_case
6610
6611         * BufferView_pimpl.C (cursorNext): first -> first_y
6612         (resizeCurrentBuffer): first -> first_y
6613         (updateScrollbar): first -> first_y
6614         (scrollCB): first -> first_y
6615         (workAreaMotionNotify): first -> first_y
6616         (workAreaButtonPress): first -> first_y
6617         (checkInsetHit): first -> first_y
6618         (cursorPrevious): first -> first_y
6619         (cursorNext): first -> first_y
6620         (Dispatch): add buffer_->params to severl inset contructors
6621
6622 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6623
6624         * lyxlayout.C (Read): remove some debug info that I forgot.
6625
6626         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6627         clean up the code slightly.
6628         (makeLinuxDocFile): ditto
6629         (makeDocBookFile): ditto
6630
6631         * text2.C: layout as string
6632
6633         * text.C: layout as string
6634
6635         * paragraph_pimpl.C: layout as string
6636
6637         * paragraph.[Ch]: layout as string
6638
6639         * lyxtextclasslist.[Ch]: layout as string
6640
6641         * lyxtextclass.[Ch]: layout as string
6642
6643         * lyxtext.h: layout as string
6644
6645         * lyxlayout.[Ch]: layout as string
6646
6647         * lyx_cb.C: layout as string
6648
6649         * bufferview_funcs.C: layout as string
6650
6651         * bufferparams.C: layout as string
6652
6653         * buffer.C: layout as string
6654
6655         * LyXView.[Ch]: layout as string
6656
6657         * LaTeXFeatures.[Ch]: layout as string
6658
6659         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6660
6661         * BufferView_pimpl.C: change current_layout to string, remove
6662         lyx::layout_type.
6663         (Dispatch):
6664         (smartQuote):
6665         (insertInset):
6666         (workAreaButtonRelease): layout as string
6667
6668         * BufferView2.C (unlockInset): adjust
6669
6670         * vspace.C (asLatexCommand): use an explict temp variable.
6671
6672 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6673
6674         * Makefile.am: use FRONTEND_*
6675
6676 2002-03-01  Juergen Vigna  <jug@sad.it>
6677
6678         * tabular.C (SetWidthOfMulticolCell): changed to something better
6679         I hope but still work in progress.
6680         (recalculateMulticolumnsOfColumn): renamed function from
6681         recalculateMulticolCells as it is more appropriate now.
6682         (SetWidthOfCell): calculate multicols better.
6683
6684 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6685
6686         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6687
6688         * lyxfunc.C (processKeySym): print sequence also if it is
6689         `deleted' (complete)
6690
6691         * kbsequence.C (print): print sequence even if it is deleted
6692         (complete would be a better word, actually).
6693
6694         * lyxfunc.C (dispatch): print complete options after a prefix key
6695
6696         * vspace.C (asLatexCommand): rewrite in a slightly different form.
6697
6698 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
6699
6700         * text2.C (setCharFont): eliminate setCharFont code duplication.
6701
6702 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * BufferView_pimpl.C (Dispatch): remove bogus handling of
6705         LFUN_TABULAR_FEATURE (bug #177)
6706
6707 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
6708
6709         * Makefile.am: remove figure.h
6710
6711 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
6712
6713         * Bufferview_pimpl.C:
6714         * CutAndPasteC:
6715         * LaTeX.C:
6716         * LyXSendto.C:
6717         * buffer.C:
6718         * bufferlist.C:
6719         * converter.C:
6720         * language.C:
6721         * lyxfunc.C:
6722         * lyxvc.C:
6723         * paragraph.C:
6724         * text.C:
6725         * text2.C: remove #include "lyx_gui_misc.h".
6726
6727         * LaTeX.C: added #include <cstdio>
6728
6729 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6732         that the paragraph following this one can have.
6733
6734         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6735
6736         * vspace.C (asLatexCommand): fix bogus gcc warning
6737
6738         * Makefile.am (lyx_SOURCES): remove vms_defines.h
6739
6740 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
6741
6742         * text2.C (setLayout): get rid of redundant code
6743
6744 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
6745
6746         * text2.C (incDepth): make sure depth cannot be increased beyond
6747         reasonable values.
6748
6749 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
6750
6751         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6752         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6753
6754         * PainterBase.h (image):
6755         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6756         a LyXImage const *.
6757
6758 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6759
6760         * BufferView.C:
6761         * BufferView.h:
6762         * BufferView_pimpl.C:
6763         * BufferView_pimpl.h:
6764         * LaTeXFeatures.C:
6765         * LyXAction.C:
6766         * LyXView.C:
6767         * Makefile.am:
6768         * UpdateList.h:
6769         * UpdateList.C:
6770         * buffer.C:
6771         * figure.h:
6772         * figureForm.C:
6773         * figureForm.h:
6774         * figure_form.C:
6775         * figure_form.h:
6776         * lyx_cb.C:
6777         * lyx_gui.C:
6778         * lyx_gui_misc.C:
6779         * lyxfunc.C:
6780         * sp_base.h:
6781         * sp_ispell.h:
6782         * sp_pspell.h:
6783         * sp_spell.C: remove fig inset, and the crap house of
6784           cards that follows it
6785
6786 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6787
6788         * Makefile.am:
6789         * lyxserver.C:
6790         * os2_defines.h:
6791         * os2_errortable.h:
6792         * nt_defines.h: move .h into support/
6793
6794         * vms_defines.h: remove
6795
6796         * WorkArea.C: add space in debug output
6797
6798         * text2.C:
6799         * paragraph.C:
6800         * buffer.C: add WITH_WARNINGS
6801
6802         * vc-backend.h:
6803         * vc-backend.C:
6804         * bufferlist.C: s/retrive/retrieve/, add docs
6805
6806         * vspace.h:
6807         * vspace.C:
6808         * kbmap.h:
6809         * lyxlength.h:
6810         * lyxgluelength.h:
6811         * length_common.h:
6812         * chset.h:
6813         * chset.C: add docs
6814
6815         * lyxgui.C: add ID to X error handler
6816
6817         * lyxtestclass.c: fix typo
6818
6819 2002-02-26  Juergen Vigna  <jug@sad.it>
6820
6821         * tabular_funcs.C (write_attribute): changed so that some default
6822         attributes are not written at all.
6823         (getTokenValue): set default values before trying to read the
6824         value so we have the return value always set as default if we don't
6825         find the token we search for.
6826
6827         * tabular.C (Write): write bools as bools not as strings!
6828
6829 2002-02-22  Juergen Vigna  <jug@sad.it>
6830
6831         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6832         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6833
6834         * text.C (leftMargin): don't add an indent for paragraphs inside
6835         tabular cells (fix #208).
6836
6837 2002-02-21  José Matos  <jamatos@fep.up.pt>
6838
6839         * tabular.C (docBook): fixed support for long tables.
6840
6841 2002-02-20  Juergen Vigna  <jug@sad.it>
6842
6843         * text2.C (getFont): get the drawing font of the Inset if this
6844         paragraph is inside an inset (only important for InsetERT for now).
6845
6846         * buffer.C (insertErtContents): use new lanugage params in ERT
6847         constructor.
6848
6849         * CutAndPaste.C: commenting out seemingly uneeded code.
6850
6851 2002-02-19  Allan Rae  <rae@lyx.org>
6852
6853         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6854         Iterators might be simple to use but they also get invalidated.
6855         (removeAutoInsets): renamed saved cursor tracking variables and added
6856         some comments to clarify what everything does.
6857
6858 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
6859
6860         * Chktex.C:
6861         * LaTeX.C:
6862         * LyXSendto.C:
6863         * converter.C:
6864         * lyx_cb.C:
6865         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6866         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6867
6868         * lyxfunc.C:
6869         * vc-backend.h: remove #include "support/syscall.h"
6870
6871         * LaTeX.C:
6872         * LyXSendto.C:
6873         * converter.C: rearrange #includes in Lars' approved fashion.
6874
6875         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6876         forward declare class Timeout in the header file.
6877
6878         * XFormsView.C: changes due to the above.
6879
6880         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6881         similar to LyXView.
6882
6883         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6884         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6885
6886 2002-02-18  José Matos  <jamatos@fep.up.pt>
6887
6888         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6889         insets contents.
6890
6891 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6892
6893         * a lot of small ws changes
6894         * add a lot of using std::XXX
6895         * use std construcs some places where approp.
6896         * use some exisint stuff from lyxfunctional where approp.
6897         * Make file changes to use partial linking (lets test this now...)
6898
6899 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
6900
6901         * Chktex.C:
6902         * buffer.C:
6903         remove #include "support/syscontr.h" as it's redundant. Always has been.
6904
6905         * Chktex.C:
6906         * LaTeX.C:
6907         * LyXSendto.C:
6908         * converter.C:
6909         * lyx_cb.C:
6910         * vc-backend.C:
6911         change Systemcalls::System to Systemcalls::Wait and
6912         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6913         No change of functionality, just reflects the stripped down Systemcalls
6914         class.
6915
6916 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
6917
6918         * debug.[Ch]: add a GRAPHICS type to the enum.
6919
6920 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6921
6922         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6923
6924         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6925         there is an inset.
6926
6927 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6928
6929         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6930         match the changes below.
6931
6932         * text2.C (toggleInset): if there is not editable inset at cursor
6933         position, try to see if cursor is _inside_ a collapsable inset
6934         and close it.
6935
6936 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6937
6938         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6939         document menu has a nice checkbox
6940
6941 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6942
6943         * lyxlength.C (asLatexString): change PW to output as percent of
6944         \textwidth.
6945
6946         * lengthcommon.C: change '%' to 't%'
6947
6948         * lyxfunc.C (dispatch): a few comments from Martin
6949
6950 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
6951
6952         * WorkArea.h:
6953         * WorkArea.C:
6954         * BufferView_pimpl.h:
6955         * BufferView_pimpl.C: clear our selection when X tells us we've lost
6956           the X selection.
6957
6958 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6959
6960         * vspace.C (inPixels): fix compiler warning
6961
6962 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6963
6964         * lyxfunc.C (getStatus): fix status message for disabled commands.
6965
6966 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
6967
6968         * BufferView_pimpl.C: fix crash on close buffer
6969         during selection (#227)
6970
6971 2002-01-27  Herbert Voss  <voss@lyx.org>
6972
6973         * buffer.C: link old Figure to new graphic inset
6974
6975 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
6976
6977         * FontLoader.C (getFontinfo): Change the latex font names in order
6978         to match the names of type1inst.
6979
6980 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6981
6982         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6983
6984         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6985         (extchanged): ditto
6986         (ext_exist): ditto
6987         (remove_files_with_extension): ditto
6988         (remove_file): ditto
6989         (write): ditto
6990
6991         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6992         document is smaller than the work area height. Do not initialize
6993         static variables to 0.
6994
6995 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6996
6997         * lyx_gui.C (init): give the toolbar tooltips a normal font.
6998
6999         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7000         LFUN_LAYOUT_PARAGRAPHS.
7001
7002         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7003         tabular. It is possible to provide a possible cell, which will
7004         typically be the actcell from the corresponding insettabular
7005
7006         * lyxfunc.C (getStatus): small cleanup; disable
7007         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7008         true
7009
7010 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7011
7012         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7013
7014         * paragraph.C (startTeXParParams):
7015         (endTeXParParams): new methods. The LaTeX code to
7016         start/end paragraph formatting
7017         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7018         empty (fixes bug #200)
7019
7020         * vspace.C (inPixels): adapt to the change below
7021         (inPixels): [later] more cleanups (remove unused variables)
7022
7023         * lyxlength.C (inPixels): change to use a width and a height as
7024         parameter.
7025
7026 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7027
7028         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7029         Replaced with \paperwidth
7030
7031         * DepTable.C (insert): add std:: qualifier
7032
7033 2002-01-18  Allan Rae  <rae@lyx.org>
7034
7035         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7036         updated also?
7037
7038         * text.C (drawInset): Turned out I didn't know enough about how
7039         rebreaking worked.  This fixes most of the redraw problems.  I see
7040         an occasional cursor trail when a line is broken now and the cursor
7041         placement can seem out by a few pixels also after a rebreak.
7042
7043 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7044
7045         * buffer.C (parseSingleLyXformat2Token): update because minipage
7046         width is now a LyXLength
7047
7048         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7049
7050         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7051         math insets
7052
7053 2002-01-17  Juergen Vigna  <jug@sad.it>
7054
7055         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7056
7057         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7058         is set correctly and the inset is updated correctly.
7059
7060 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7061
7062         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7063         the beginning of the loop.
7064
7065 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7066
7067         * lyxrc.C: improve help for use_scalable_fonts
7068
7069 2002-01-17  Allan Rae  <rae@lyx.org>
7070
7071         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7072
7073 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7074
7075         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7076         make sure to set their inset_owner to the right value (bug #171)
7077
7078 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7079
7080         * DepTable.h
7081         * DepTable.C: Implement mtime checking to reduce time spent doing
7082         CRCs.
7083
7084 2002-01-16  Juergen Vigna  <jug@sad.it>
7085
7086         * tabular.C (GetAdditionalHeight): one of error fixed.
7087
7088         * lyxrc.C (output): small fix in writing use_pspell.
7089
7090 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7091
7092         * sp_base.h: #include LString.h
7093
7094 2002-01-16  Allan Rae  <rae@lyx.org>
7095
7096         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7097         Can someone check this please?
7098
7099         * text.C (drawInset): It was possible that p.row would be removed by
7100         breakAgainOneRow upsetting a few other settings.  There may be another
7101         small tweak possible by setting need_break_row = 0 when p.row has been
7102         removed but I don't know enough about the logic here.
7103
7104 2002-01-15  Allan Rae  <rae@lyx.org>
7105
7106         * text.C (insertChar): removed conditional truism.
7107
7108         * BufferView2.C (removeAutoInsets): More tweaks.
7109         cur_par_prev could be a stray pointer.  Check for trailing empty line
7110         in case last line was cur_par and only had an error inset on it.
7111
7112 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7113
7114         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7115         absolute
7116
7117         * vc-backend.C (most methods):
7118         * exporter.C (Export):
7119         * converter.C (convert):
7120         (runLaTeX):
7121         * LyXSendto.C (SendtoApplyCB):
7122         * lyxfunc.C (dispatch):
7123         (menuNew):
7124         (open):
7125         (doImport):
7126         * lyx_cb.C (AutoSave):
7127         (InsertAsciiFile):
7128         * BufferView_pimpl.C (MenuInsertLyXFile):
7129         * buffer.C (runChktex): use Buffer::filePath().
7130
7131         * buffer.h: rename filename to filename_; rename filepath to
7132         filepath_ and make it private
7133         (filePath): new method
7134
7135         * buffer.C (writeFile): use fileName()
7136         (getLatexName):
7137
7138         * lyx_main.C (init): fix starting  of LyX when the binary is a
7139         link from so,ewhere else.
7140
7141         * minibuffer.C: include <cctype> for isprint
7142
7143 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7144
7145         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7146         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7147         name clash with InsetCollapsable's width function.
7148
7149 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7150
7151         * lastfiles.C: include <iterator>
7152
7153 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7154
7155         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7156         std::count.
7157
7158         * buffer.C (makeLaTeXFile): ditto.
7159         Also make loop operation more transparent.
7160
7161 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7162
7163         * ToolbarDefaults.C: remove trailing comma closing namespace.
7164
7165         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7166
7167         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7168         as in WorkArea.
7169
7170         * trans.C (Load): comment out unused variable, allowed.
7171
7172 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7173
7174         * minibuffer.[Ch] (append_char): new method to recieve input from the
7175         drop-down completion browser. If a key was pressed, then recieve this
7176         char and append it to the existing string.
7177         (peek_event): modify the positioning data passed to the completion
7178         browser so that it can be placed above the minibuffer rather than below.
7179 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7180
7181         * LyXAction.C (init): alloe error-next for readonly documents.
7182
7183         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7184         count.
7185
7186 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7187
7188         * bufferlist.C (readFile): create the buffer _after_ checking that
7189         the file exists.
7190
7191         * lyxfunc.C (verboseDispatch): fix handling of arguments
7192
7193         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7194
7195         * lyxrc.C: use string::erase() instead of initializing to "".
7196
7197
7198 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7199
7200         * BufferView_pimpl.h:
7201         * BufferView_pimpl.C:
7202         * WorkArea.h:
7203         * WorkArea.C:
7204         * text2.C: tell X when we have made a selection for copying
7205
7206 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7207
7208         * BufferView_pimpl.C (MenuInsertLyXFile):
7209         * lyxfunc.C (menuNew):
7210         (open):
7211         (doImport): add shortcuts to directory buttons
7212
7213         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7214         open a float)
7215
7216         * lyxfunc.C (setStatusMessage):
7217         (getStatusMessage): new methods
7218         (getStatus):use setStatusMessage instead of setErrorMessage
7219         (dispatch): when function is disabled, set error message here
7220         [instead of in getStatus previously]
7221
7222         * BufferView_pimpl.C (workAreaButtonRelease): update
7223         toolbar/menubar here too.
7224
7225 2002-01-13  Allan Rae  <rae@lyx.org>
7226
7227         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7228         Now seems indestructible.  Remaining task is to audit all other
7229         code affected by deleteEmptyParagraphMechanism.  One small quirk
7230         left is that an empty document with an error in the preamble can
7231         be made to report an error but no error box appears.  I don't know
7232         where it goes.
7233         (removeAutoInsets): Improved comments.
7234
7235 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7236
7237         * Thesaurus.h:
7238         * Thesaurus.C: update for Aiksaurus 0.14
7239
7240 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7241
7242         * text2.C (firstParagraph): removed member function, all uses
7243         replaces with ownerParagraph
7244         (redoParagraphs): here
7245         (updateInset): here
7246         (toggleAppendix): here
7247         * BufferView2.C (insertErrors): here
7248         (setCursorFromRow): here
7249
7250 2002-01-13  Allan Rae  <rae@lyx.org>
7251
7252         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7253         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7254         There is still a way to segfault this although you may have to do this
7255         multiple times: Have an InsetERT with an unknown command in it.
7256         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7257         <down-arrow>, <Enter> again, View->DVI, BANG!
7258
7259         * text2.C (setCursor):
7260         (deleteEmptyParagraphMechanism):
7261         * lyxtext.h (setCursor):
7262         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7263         Making use of the return value may help fix other bugs.
7264
7265 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7266
7267         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7268
7269         * LyXView.C (updateMenubar): call MenuBar::update here
7270         (updateToolbar): but not here
7271         (showState): do not update toolbar/menubar
7272
7273         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7274         should need to care about that.
7275
7276         * lyxfunc.C (verboseDispatch): simplify a bit
7277         (getStatus): have a version which takes a pseudoaction, and
7278         another which requires a (kb_action,string).
7279
7280         * LyXAction.C (retrieveActionArg): make it work also when action
7281         is not a pseudo-action.
7282         (getActionName): simplify a bit
7283         (helpText):
7284
7285 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * lyxfunc.C (verboseDispatch): new families of methods with
7288         several ways to specify a command and a bool to indicate whether
7289         the command name and shortcut should be displayed in minibuffer
7290         (eventually, we could extend that to a finer bitmask like
7291         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7292         (dispatch): the pristine dispatch command which just, well,
7293         dispatchs! Note it still sets its result to minibuffer; I'm not
7294         sure we want that.
7295
7296         * lyxfunc.h: remove setHintMessage
7297
7298         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7299
7300 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7301
7302         * BufferView_pimpl.C (specialChar): delete new inset if we have
7303         not been able to insert it.
7304
7305         * kbmap.C: revert to using int instead of kb_action, since all we
7306         are dealing with is pseudo-actions.
7307
7308         * LyXAction.C (searchActionArg): change to return int instead of
7309         kb_action, since the result is a pseudoaction.
7310
7311 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * buffer.C (insertErtContents): Fix (partially) the font bug.
7314
7315 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7316
7317         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7318         as the other one is broken on my machine!
7319
7320 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7321
7322         * commandtags.h:
7323         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7324
7325 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7326
7327         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7328         reflect their actual use. Provide compatibility code for older lyxrc
7329         files.
7330
7331         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7332         FL_NORMAL_STYLE.
7333         change names of popup font variables in line with the changes to lyxrc.C
7334
7335 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7336
7337         * buffer.C (asciiParagraph): avoid outputing a word twice after
7338         an inset.
7339
7340         * lyxrc.C (getDescription): document that document_path and
7341         template_path can be empty.
7342
7343 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7344
7345         * LaTeXFeatures.C (getMacros):
7346         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7347
7348         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7349
7350         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7351         getPackages.
7352         (getPackages): rename feature "floats" to "float". Use an array to
7353         iterate over 'simple' features (i.e. just a \usepackage). Add
7354         handling of "amsmath" (renamed from "amsstyle").
7355
7356 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7357
7358         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7359         features list.
7360
7361 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7362
7363         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7364         FuncStaus::FuncStatus & FuncStaus::some_method().
7365
7366 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7367
7368         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7369         of the func_satus stuff. Edited and massaged in various ways by
7370         JMarc.
7371
7372         * lyxfunc.C (getStatus): use FuncStatus
7373
7374 2002-01-08  Juergen Vigna  <jug@sad.it>
7375
7376         * text.C (nextBreakPoint): use function Inset::isChar().
7377
7378         * paragraph.C (TeXOnePar): use function
7379         Inset::forceDefaultParagraphs.
7380
7381         * buffer.C (latexParagraphs): use function
7382         Inset::forceDefaultParagraphs.
7383
7384 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7385
7386         * lyx_gui.C (init): set the style of the menu popups to
7387         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7388
7389 2002-01-07  Juergen Vigna  <jug@sad.it>
7390
7391         * text.C (setHeightOfRow): small fix
7392         (prepareToPrint): don't look at alignment if we don't have the place
7393         for doing it.
7394
7395 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7396
7397         * box.C: New file. Move the Box methods and functions out of box.h,
7398         following Lars' suggestion.
7399
7400 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7401
7402         * box.h: #include "support/LOstream.h", needed for inlined function.
7403
7404         * lyxtextclass.C:
7405         * lyxtextclasslist.C: added some using std declarations.
7406
7407 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7408
7409         * box.h: make signed dimensions to allow insets wider than
7410           the screen (bug #162)
7411
7412         * BufferView_pimpl.C: add some insetHit debug
7413
7414 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7415
7416         * vc-backend.C: add FIXME
7417
7418 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7419
7420         * lyxfunc.C (getStatus): enable code for showing math font status
7421         in toolbar/menu.
7422
7423 2002-01-07  Juergen Vigna  <jug@sad.it>
7424
7425         * text.C (nextBreakPoint): removed debug output not needed anymore.
7426
7427 2002-01-06  Juergen Vigna  <jug@sad.it>
7428
7429         * text.C (nextBreakPoint): fixed up this function we had this bug
7430         since ever but now hopefully we break row better.
7431         (insertChar): we have to check if an inset is the next char as it
7432         could now happen that a large inset is causing a break.
7433
7434 2002-01-05  Juergen Vigna  <jug@sad.it>
7435
7436         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7437         if it doesn't like to be drawed.
7438
7439 2002-01-04  Juergen Vigna  <jug@sad.it>
7440
7441         * BufferView2.C (lockInset): forgot to set a cursor.
7442
7443         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7444
7445 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7446
7447         * FormMathsPanel.C:
7448         * FormMathsPanel.h
7449         * MathsSymbols.C:
7450         * form_maths_panel.C:
7451         * form_maths_panel.h:
7452         * form_maths_panel.fd: implemented sub- and super- buttons in math
7453         panel.
7454
7455         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7456         (or ^ space) to be used as in TeX (req'd by André).
7457
7458         * lyxfunc.C: Allow ^ and _ again to be used both as
7459         super/subscript (mathed) and as themselves (in text).
7460
7461 2002-01-03  Allan Rae  <rae@lyx.org>
7462
7463         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7464         "LyX" or the filename of the current buffer if it has one.  This is a
7465         modified form of John Levon's patch.
7466
7467         * XFormsView.C (setWindowTitle): also set icon title.
7468
7469         * LyXView.h (setWindowTitle): signature changed.
7470         * XFormsView.h (setWindowTitle): ditto.
7471
7472 2002-01-02  Juergen Vigna  <jug@sad.it>
7473
7474         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7475
7476 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7477
7478         * screen.C (topCursorVisible): introduce a temp var for
7479         text->cursor.row(), handle the case where this row is null. (kindo
7480         hachish)
7481
7482         * text2.C (setCursor): add a couple of asserts.
7483
7484         * paragraph.h (inset_iterator): add -> operator
7485
7486         * paragraph.[Ch] (autoDeleteInsets): remove member function
7487
7488         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7489         cursor pos correctly and handle inset deletion by itself.
7490         (insertErrors): move iterator declaration out of for expression
7491
7492         * lyxtextclass.C: add <algorithm>
7493
7494         * Makefile.am: added the new files to sources, removed layout.C
7495
7496         * layout.C: removed file
7497
7498         * layout.h: remove LYX_DUMMY_LAYOUT
7499
7500         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7501         layout.
7502
7503         * lyxlayout.[Ch]:
7504         * lyxtextclass.[Ch]:
7505         * lyxtextclasslist.[Ch]: new files
7506
7507         * include order changes to a lot of files, also changes because of
7508         the six new files.
7509
7510 2001-12-27  Juergen Vigna  <jug@sad.it>
7511
7512         * buffer.C (asciiParagraph): more fixes.
7513
7514         * tabular.C (ascii): make ascii export support export of only the
7515         data separated by a column-delimiter.
7516         (ascii): better support for ascii export.
7517
7518         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7519
7520 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7521
7522         * tabular_funcs.C: use a "using std::getline" instead of the
7523         previous fix from Angus (necessary for cxx + lyxstring)
7524
7525 2001-12-24  Juergen Vigna  <jug@sad.it>
7526
7527         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7528
7529         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7530         problems. First check a minipage also if we have some ert-contents
7531         (not only on par->size(), second set the right depth of the paragraph
7532         on the relink to the root-paragraph-list!
7533
7534         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7535         which then did not anymore update the main paragraphs on undo/redo!
7536
7537 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7538
7539         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7540         code. Support all font-changing funcs (even those which are not in
7541         menu currently). Support for reporting font settings in
7542         mathed (disabled until Andre provides a function on mathed's side).
7543
7544         * func_status.h (toggle): small helper function to set toggle
7545         state on a flag.
7546
7547 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7548
7549         * tabular_funcs.C: getline -> std::getline
7550
7551 2001-12-21  Juergen Vigna  <jug@sad.it>
7552
7553         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7554         accessed and could be 0 (I couldn't generate this but it seems
7555         Michael could!).
7556
7557 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7558
7559         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7560         * tabular_funcs.h: here and include iosfwd
7561
7562 2001-12-20  Juergen Vigna  <jug@sad.it>
7563
7564         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7565         inside inset but undo_par was.
7566
7567 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7568
7569         * Thesaurus.C: always include <config.h> in sources.
7570
7571         * Painter.h:
7572         * lyxlookup.h:
7573         * box.h: do not include <config.h> in header files
7574
7575         * text.C (paintLastRow): remove unused variable
7576
7577         * text.C (transformChar):
7578         (insertChar):
7579         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7580
7581         * Painter.C (text):
7582         * font.C (width): rewrite to use uppercase() instead of
7583         islower/toupper.
7584
7585         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7586
7587 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * lyxfind.C: clean up of find failure position change
7590
7591 2001-12-20  Juergen Vigna  <jug@sad.it>
7592
7593         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7594
7595         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7596         (TeXRow): added to LaTeX a single tabular row.
7597         (TeXLongtableHeaderFooter): added to output LT-h/f data.
7598         (Latex): simplified and finally good LT-h/f support.
7599         (various_functions): just small adaptions for LT-h/f support.
7600
7601         * tabular_funcs.[hC]: added and moved here all not classfunctions
7602         of LyXTabular.
7603
7604 2001-12-19  Juergen Vigna  <jug@sad.it>
7605
7606         * tabular.[Ch]: better support for longtabular options (not finished
7607         yet!)
7608
7609 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7610
7611         * text.C (paintLastRow): use the label font instead of the font of
7612         the last character to compute the size of *_BOX. This makes more
7613         sense and avoids a crash with empty paragraphs.
7614         Use Painter::rectangle to draw EMPTY_BOX.
7615
7616 2001-12-19  Juergen Vigna  <jug@sad.it>
7617
7618         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7619         the paragraphs if the replaced paragraph is not the first one!
7620         Tried to delete not used paragraphs but does not work yet so for
7621         now it's inside #ifdef's and by default off!
7622
7623 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * MenuBackend.C: include "lyx_main.h" instead of declaring
7626         lastfiles (actually was declared as LastFiles* instead of a
7627         scoped_ptr).
7628
7629 2001-12-17  Juergen Vigna  <jug@sad.it>
7630
7631         * tabular.C (AppendColumn): applied John's fix
7632
7633 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * BufferView.h:
7636         * BufferView.C:
7637         * BufferView_pimpl.h:
7638         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7639
7640         * Makefile.am:
7641         * box.h: new start of class for above
7642
7643         * lyxfunc.C: ignore space-only minibuffer dispatches.
7644           Show the command name when it doesn't exist
7645
7646         * minibuffer.C: don't add empty lines to the history
7647
7648         * minibuffer.C: add a space on dropdown completion
7649
7650 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * text.C: fix line above/below drawing in insets
7653
7654 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7655
7656         * lyxlength.C (LyXLength): Initialize private variables.
7657
7658 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
7659
7660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7661         when inserting error insets.
7662
7663 2001-12-13  Juergen Vigna  <jug@sad.it>
7664
7665         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7666         actually sometimes the before-paragraph.
7667         (setUndo): don't clear the redostack if we're not actually undoing!
7668
7669 2001-12-06  Juergen Vigna  <jug@sad.it>
7670
7671         * undo_funcs.C (textHandleUndo): well after John's hint I got here
7672         and fixed redoing of main paragraph, so we can use it now ;)
7673
7674         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7675
7676 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7677
7678         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7679         Juergen's request
7680
7681 2001-12-13  André Pönitz <poenitz@gmx.net>
7682
7683         * undostack.[Ch]:
7684         * undo_func.C: minor cleanup
7685
7686 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7687
7688         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7689         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7690         font in urw-fonts package which is marked as -urw-fontspecific and
7691         does not work (incidentally, changing the encoding in the
7692         fonts.dir of this package to -adobe-fontspecific fixes the
7693         problem).
7694
7695         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7696         is a crash when undoing first paragraph (Juergen, please take a
7697         look). THis does not mean the undo fix is wrong, just that it
7698         uncovers problems.
7699
7700         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7701         the (Paragraph*) version when needed instead of duplicating the
7702         code.
7703
7704         * text.C (workWidth): use Inset::parOwner to find out where the
7705         inset has been inserted. This is a huge performance gain for large
7706         documents with lots of insets. If Inset::parOwner is not set, fall
7707         back on the brute force method
7708
7709         * paragraph_pimpl.C (insertInset):
7710         * paragraph.C (Paragraph):
7711         (cutIntoMinibuffer): set parOwner of insets when
7712         inserting/removing them
7713
7714         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7715
7716 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
7717
7718         * commandtags.h:
7719         * LyXAction.C:
7720         * lyx_main.C:
7721         * lyxfunc.C:
7722         * mathed/formulabase.C:
7723         * mathed/math_cursor.[Ch]:
7724         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7725
7726
7727 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * lyxlength.[Ch] (operator!=): new function
7730
7731 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * text.C (workWidth): use Inset::parOwner to find out where the
7734         inset has been inserted. This is a huge performance gain for large
7735         documents with lots of insets. If Inset::parOwner is not set, fall
7736         back on the brute force method
7737
7738         * paragraph_pimpl.C (insertInset):
7739         * paragraph.C (Paragraph):
7740         (cutIntoMinibuffer): set parOwner of insets when
7741         inserting/removing them
7742
7743         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7744
7745 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7746
7747         * tabular-old.C (getTokenValue):
7748         * tabular.C (getTokenValue):
7749         (write_attribute): new versions for LyXLength
7750         (everywhere): adjust the use of widths
7751
7752         * tabular.h: change the type of widths from string to LyXLength
7753
7754 2001-12-11  Ben Stanley <bds02@uow.edu.au>
7755
7756         * paragraph.C: fixed missing line number count when exporting
7757         Environments to LaTeX file
7758
7759         * buffer.C: added informational message for checking line numbers.
7760
7761 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7762
7763         * text2.C (deleteEmptyParagraphMechanism): if there is only one
7764         paragraph, do the 'double space' part, but not the 'empty
7765         paragraph' one.
7766
7767         * text.C (workWidth): small optimization
7768         (getLengthMarkerHeight): use minimal size for negative lengths.
7769
7770 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7773
7774         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7775
7776 2001-12-11  André Pönitz <poenitz@gmx.net>
7777
7778         * FontLoader.C:
7779         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7780
7781 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * text2.C: keep selection on a setFont()
7784
7785 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * lyx_cb.C: another bv->text misuse, from insert label
7788
7789 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * kbsequence.h:
7792         * kbsequence.C: re-instate nmodifier mask
7793
7794 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
7795
7796         * lyx_main.h: make lyxGUI private.
7797
7798 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7799
7800         * lyxfind.C: place the cursor correctly on failed search
7801
7802 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * text.C (getLengthMarkerHeight): for small heights, the arrows
7805         are not always on top/bottom of the text
7806         (drawLengthMarker): smaller arrows; take the left margin in
7807         account; draw also vfills.
7808         (paintFirstRow):
7809         (paintLastRow): remove special code for vfill and standard spaces,
7810         since everything is handled in drawLengthMarker now.
7811
7812 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7813
7814         * buffer.C (insertErtContents): try to handle font and language
7815         interaction a bit better.g
7816
7817         * ColorHandler.C (updateColor): change the hash to cover the whole
7818         LColor enum, ws cleanup
7819         (getGCLinepars): ditto
7820         (getGCLinepars): only lookup in the linecache once.
7821
7822 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
7823
7824         * iterators.C (operator++): Make the iterator more robust
7825
7826         * BufferView2.C (removeAutoInsets): Use paragraph iterators
7827         (John's patch)
7828         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7829
7830 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * lyxtext.h:
7833         * text.C: better added space drawing
7834
7835 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * LyXView.C:
7838         * BufferView2.C: fix layout combo update on inset unlock
7839
7840 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7841
7842         * Makefile.am: don't compile unused files
7843
7844 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7845
7846         * lyxfunc.C:
7847         * commandtags.h:
7848         * LyXAction.C: remove old LFUN_LAYOUTNO
7849
7850 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * paragraph_pimpl.h:
7853         * paragraph_pimpl.C: isTextAt() doesn't need font param
7854
7855 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7856
7857         * lyxlex.h:
7858         * lyxlex.C: little cleanup
7859
7860 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * BufferView_pimpl.C: fix insertAscii for insets
7863
7864 2001-12-05  Juergen Vigna  <jug@sad.it>
7865
7866         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7867         set the right font on the "multi" paragraph paste!
7868
7869 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7870
7871         * trans_decl.h:
7872         * trans_mgr.[Ch]:
7873         * trans.[Ch]:
7874         * lyxgluelength.C:
7875         * lyxlength.C: remove out-commented code.
7876
7877         * BufferView_pimpl:
7878         * CutAndPaste.C:
7879         * DepTable.C:
7880         * buffer.C:
7881         * chset.C:
7882         * lastfiles.C:
7883         * lyxlex.C:
7884         * lyxlex_pimpl.C:
7885         * lyxserver.C:
7886         * screen.C:
7887         * tabular-old.C:
7888         * tabular.C:
7889         * text.C:
7890         * trans_mgr.C:
7891         * vc-backend.C: change "while(" to "while ("
7892
7893         * lyxlength.[Ch]: add zero function to check if length is zero or
7894         not
7895         * lyxgluelength.C: use it
7896
7897 2001-12-05  Allan Rae  <rae@lyx.org>
7898
7899         * lyxlength.C: Attempted a fix for the abs(int) header selection.
7900         Works for 2.95.3, from what I understand of Garst's reports this should
7901         work for other g++ versions.  We're screwed if the abs(int) definition
7902         changed between bugfix releases of gcc.
7903
7904 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * text.C: fix chapter label offset !
7907
7908 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * lyxtext.h:
7911         * text.C: fix hfill at end of line, clean up
7912
7913 2001-12-04  Juergen Vigna  <jug@sad.it>
7914
7915         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7916         that we force an update of the inset and it's owners if neccessary.
7917
7918 2001-12-03  Juergen Vigna  <jug@sad.it>
7919
7920         * text.C (rowLast): simplified code
7921
7922 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
7923
7924         * lyxfunc.C: fix show options on timeout
7925
7926 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7927
7928         * screen.C (topCursorVisible): scroll half a page when the cursor
7929         reached top of bottom of screen
7930
7931 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
7932
7933         * minibuffer.C: deactivate on loss of focus
7934
7935 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7936
7937         * vspace.[Ch] (operator!=): add operator.
7938
7939 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
7940
7941         * BufferView_pimpl.C: refuse to open an inset when
7942         there's a selection.
7943
7944 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * BufferView_pimpl.C: allow to click on RHS of full row insets
7947
7948 2001-11-30  Juergen Vigna  <jug@sad.it>
7949
7950         * tabular.C (LyXTabular): add a same_id to set the same id's in the
7951         insets for undo reasons.
7952
7953 2001-11-28  André Pönitz <poenitz@gmx.net>
7954
7955         * vspace.[Ch]: cosmetical changes
7956
7957 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7958
7959         * LyXAction.h:
7960         * LyXAction.C:
7961         * lyxfunc.h:
7962         * lyxfunc.C:
7963         * kbmap.h:
7964         * kbmap.C:
7965         * lyxrc.C:
7966         * kbsequence.h:
7967         * kbsequence.C: part re-write of old kb code
7968
7969         * Painter.C:
7970         * WorkArea.C: remove Lgb_bug_find_hack
7971
7972 2001-11-30  José Matos <jamatos@fep.up.pt>
7973
7974         * buffer.C (makeDocBookFile): add a comment to point a hack.
7975         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7976         Fixed a double write of labels.
7977
7978 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7979
7980         * LaTeX.C:
7981         * LaTeX.h Fixed bug in LaTeX class where it would not
7982         re-run latex if no depfiles were changed, but the .dvi was removed.
7983
7984 2001-11-28  André Pönitz <poenitz@gmx.net>
7985
7986         * all the files from the change on 2001/11/26:
7987         use lyx::layout_type instead of LyXTextClass::size_type
7988         use lyx::textclass_type instead of LyXTextClassList::size_type
7989
7990 2001-11-29  Juergen Vigna  <jug@sad.it>
7991
7992         * text.C: added support for paragraph::isFreeSpacing()
7993
7994         * buffer.C: same as above
7995
7996         * paragraph.h: inserted isFreeSpacing() function to enable
7997         FreeSpacing inside InsetERT.
7998
7999         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8000         of the paragraph's in the cut/copy buffer to 0!
8001
8002         * text2.C (removeRow): remove the assert as it can!
8003
8004         * lyxtext.h: added helper function firstRow returning firstrow and
8005         made firstrow private again.
8006
8007         * BufferView2.C (lockInset): don't relock if we're already locked!
8008
8009         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8010         the only paragraph.
8011         (removeRow): added Assert::(firstrow)
8012
8013         * debug.C: forgot to add INSETTEXT here.
8014
8015 2001-11-28  Juergen Vigna  <jug@sad.it>
8016
8017         * sp_spell.C (initialize): changed error text to more general
8018         spellchecker command use (not only ispell!)
8019
8020         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8021
8022         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8023
8024 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * vspace.C: initialise lyxgluelength on failure
8027
8028 2001-11-28  Allan Rae  <rae@lyx.org>
8029
8030         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8031         declaration & definition that looks like a function declaration.
8032
8033 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8034
8035         * BufferView2.C (copy):
8036         (copyEnvironment): do not clear the selection when doing a copy.
8037
8038         * text.C (paintFirstRow): compilation fix
8039
8040 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8041
8042         * tabular.C (Latex): correct line count when writing latex.
8043
8044 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8045
8046         * paragraph_pimpl.h:
8047         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8048           bug a bit
8049
8050 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8051
8052         * text.C:
8053         * LColor.h:
8054         * LColor.C: change vfillline->added_space
8055
8056         * text.C: add markers and text for added space
8057
8058         * vspace.C: fix comment
8059
8060 2001-11-28  André Pönitz <poenitz@gmx.net>
8061
8062         * paragraph.C: whitespace changes
8063         * all the other files from the change on 2001/11/26:
8064         change *::pos_type into lyx::pos_type
8065
8066 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8067
8068         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8069         language of the document when inserting error insets.
8070
8071 2001-11-26  André Pönitz <poenitz@gmx.net>
8072
8073         * BufferView_pimpl.[Ch]:
8074         *       CutAndPaste.C:
8075         * buffer.[Ch]:
8076         * lyxcursor.[Ch]:
8077         * lyxfind.C:
8078         * lyxfunc.C:
8079         * lyxrow.[Ch]:
8080         * paragraph.[Ch]:
8081         * paragraph_pimpl.[Ch]:
8082         * sp_spell.C:
8083         * text.C:
8084         * text2.C: reduce header dependencies, introduce type for positions
8085
8086 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * <various>: change to use Alert.h
8089
8090 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8091
8092         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8093         when encountering an unknown token.
8094         (readLyXformat2): Show an error message if there were unknown tokens.
8095
8096 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8097
8098         * BufferView2.C:
8099         * BufferView_pimpl.C:
8100         * buffer.C:
8101         * paragraph.h:
8102         * text.C:
8103         * text2.C: use par->isInset()
8104
8105 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * paragraph_pimpl.h:
8108         * paragraph_pimpl.C: cleanup
8109
8110 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8111
8112         * text2.C (removeRow):
8113         * text.C (setHeightOfRow): remove useless (and costly) call to
8114         getRow.
8115
8116 2001-11-20  Allan Rae  <rae@lyx.org>
8117
8118         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8119         Now need Inset*::checkInsertChar() to return true for appropriate
8120         cases so that the characters in the minibuffer will actually be
8121         inserted.
8122
8123 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8124
8125         * text.C: change the order of the includes.
8126         (workWidth): initialize it at once.
8127         (workWidth): make maxw unsigned
8128         (setHeightOfRow): remove unused variable (inset)
8129         (selectSelectedWord): remove unused variable (inset)
8130         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8131
8132 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8133
8134         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8135         server is not running.
8136         (openConnection):
8137         (closeConnection): add debug info when server is disabled.
8138
8139         * ColorHandler.C (getGCForeground): send debug message to GUI
8140         channel.
8141
8142         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8143
8144         * kbmap.C (bind): modify because return conventions of
8145         kb_sequence::parse have changed.
8146
8147         * kbsequence.C (parse): only ignore spaces and not any stupid
8148         control character. This avoids tests like s[i] <= ' ', which are
8149         guaranteed to fail with 8bit characters and signed chars.
8150         Change return code to string::npos when there have been no error
8151         (0 was a bad idea when error is at first character)
8152
8153 2001-11-14  José Matos  <jamatos@fep.up.pt>
8154
8155         * buffer.h:
8156         * buffer.C (simpleDocBookOnePar): removed unused argument.
8157
8158 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8159
8160         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8161         insets which are part of a word. Paragraph::isLetter takes care of
8162         that now. Use Paragraph::isInset to identify insets.
8163         (selectSelectedWord): do not test for hyphenation break.
8164
8165         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8166         that protected spaces are considered as spaces.
8167
8168         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8169         Inset::isLetter.
8170
8171 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * lyxserver.h:
8174         * lyxserver.C: fix it. and small cleanup.
8175
8176 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * BufferView_pimpl.C: use inline helpers
8179
8180         * LaTeXFeatures.h:
8181         * LaTeXFeatures.C: fix typos
8182
8183         * Spacing.h:
8184         * Spacing.C: move spacing_string into class
8185
8186         * ToolbarDefaults.C: move stuff into namespace anon
8187
8188         * layout.h: update enum
8189
8190         * lyxfunc.C: use better debug
8191
8192         * minibuffer.h: fix typo
8193
8194         * debug.h:
8195         * debug.C:
8196         * WorkArea.C: add and use Debug::WORKAREA
8197
8198         * lyxtext.h:
8199         * text.C:
8200         * text2.C: code re-organisation, inline helpers
8201
8202 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8203
8204         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8205         std::vector.empty().
8206
8207 2001-11-09  Allan Rae  <rae@lyx.org>
8208
8209         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8210         '\n's after tables.  Tabular and ERT inset work now makes this no
8211         longer necessary.
8212
8213 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * minibuffer.h:
8216         * minibuffer.C: fix crash, improve drop-down completion
8217
8218 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8219
8220         * lyxserver.h:
8221         * lyxserver.C: invalidate fd's when doing endPipe()
8222
8223 2001-11-08  José Matos  <jamatos@fep.up.pt>
8224
8225         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8226         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8227
8228         * paragraph.h:
8229         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8230
8231 2001-11-07  José Matos  <jamatos@fep.up.pt>
8232
8233         * buffer.h:
8234         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8235         const qualifier.
8236
8237         * buffer.C (sgmlOpenTag):
8238         * buffer.C (sgmlCloseTag): removed debug info.
8239
8240         * buffer.h (sgmlOpenTag):
8241         * buffer.h (sgmlCloseTag): made public.
8242
8243 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8244
8245         * buffer.C (saveParamsAsDefaults):
8246         * lyx_cb.C (MenuLayoutSave): remove
8247
8248         * LyXAction.C (init):
8249         * commandtags.h:
8250         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8251
8252 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8253
8254         * buffer.C (setPaperStuff): removed from here...
8255
8256         * bufferparams.C (setPaperStuff): ... and moved there.
8257
8258 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * minibuffer.h:
8261         * minibuffer.C:
8262         * XFormsView.C: add support for drop-down completion
8263
8264 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8265
8266         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8267         commands.
8268
8269 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8270
8271         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8272         disabled.
8273
8274 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8275
8276         * lyx_main.C: change ref to known bugs
8277
8278 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8279
8280         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8281         to work around older babel problems.
8282
8283 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8284
8285         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8286
8287 2001-10-24  Juergen Vigna  <jug@sad.it>
8288
8289         * tabular-old.C (ReadOld): below variable changes reflected.
8290
8291         * tabular.[Ch]: added ltType struct for longtable header/footer
8292         defines and changed all instances where they are used. Added
8293         future support for double top/bottom rows.
8294
8295 2001-10-24  José Matos  <jamatos@fep.up.pt>
8296
8297         * buffer.h (docbookHandleCaption):
8298         * buffer.C (docbookHandleCaption): removed unused function.
8299         (makeDocBookFile): moved docbook supported version to v4.1.
8300
8301 2001-10-24  José Matos  <jamatos@fep.up.pt>
8302
8303         * tabular.h:
8304         * tabular.C (docbookRow): new function to export docbook code of a row.
8305         (DocBook): now honors the longtable flags.
8306
8307 2001-10-23  José Matos  <jamatos@fep.up.pt>
8308
8309         * LaTeXFeatures.h:
8310         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8311         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8312
8313         * buffer.C (makeLinuxDocFile):
8314         (makeDocBookFile): reworked the preamble, more clean, and with
8315         support for lyx defined entities. Changed the document declaration
8316         to be more XML friendly.
8317
8318         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8319         if we need to output XML that should be done with a filter.
8320
8321 2001-10-22  Juergen Vigna  <jug@sad.it>
8322
8323         * sp_pspell.h (class PSpell): add alive function needed in the
8324         controller to see if the spellchecker could be started.
8325
8326 2001-10-22  Juergen Vigna  <jug@sad.it>
8327
8328         * buffer.C (insertStringAsLines): modify the font for inserting
8329         chars in certain conditions by calling checkInsertChar(font).
8330
8331 2001-10-19  Juergen Vigna  <jug@sad.it>
8332
8333         * text.C (workWidth): use getRow instead of wrong algorithm.
8334         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8335
8336 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8337
8338         * lyxserver.h:
8339         * lyxserver.C:
8340         * lyx_main.h:
8341         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8342
8343 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8344
8345         * text.C (workWidth): do not search for the exact row when
8346         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8347         optimization for big documents.
8348
8349 2001-10-18  Juergen Vigna  <jug@sad.it>
8350
8351         * text.C (workWidth): new function with added Inset * parameter.
8352
8353 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8354
8355         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8356
8357         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8358         change return type of getColumnNearX.
8359
8360
8361         * text.C (changeRegionCase): use uppercase/lowercase instead of
8362         toupper/tolower.
8363         (leftMargin):
8364         (rightMargin): simplify code by factoring out the uses of
8365         textclasslist.
8366         (labelFill):
8367         (numberOfHfills):
8368         (setHeightOfRow):
8369         (appendParagraph): use Paragraph::size_type
8370
8371 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8372
8373         * vspace.C (asLatexString): add a missing break
8374
8375 2001-10-15  Herbert Voss  <voss@perce.de>
8376
8377         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8378
8379 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8380
8381         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8382         is not available.
8383
8384 2001-10-10  André Pönitz <poenitz@gmx.net>
8385
8386         * lyxfunc.C: removed greek_kb_flag.
8387
8388 2001-10-10  Herbert Voss  <voss@perce.de>
8389
8390         * lyx_main.C: delete global string help_lyxdir.
8391
8392 2001-10-09  Herbert Voss  <voss@perce.de>
8393
8394         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8395
8396         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8397
8398         * lyx_main.C: added global string help_lyxdir.
8399
8400         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8401
8402 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8403
8404         * lyxrc.C (set_font_norm_type): support iso8859-4
8405
8406 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8407
8408         * LaTeX.C (deplog): add another regex for MikTeX
8409
8410 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8411
8412         * lyxrc.C (set_font_norm_type): support iso8859-3
8413
8414 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8415
8416         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8417
8418         * LaTeXFeatures.C: remove special case of french and index
8419
8420         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8421         before \begin{document}). This solves several incompatibilities.
8422
8423 2001-10-03  Garst Reese  <reese@isn.net>
8424
8425         * lyx_cb.C: change CheckTex error msg.
8426
8427 2001-10-03  José Matos  <jamatos@fep.up.pt>
8428
8429         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8430
8431 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8432
8433         * .cvsignore: update
8434
8435         * lyx_main.C (commandLineVersionInfo): use new style version info.
8436
8437         * buffer.C (writeFile):
8438         (makeLaTeXFile):
8439         (makeLinuxDocFile):
8440         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8441
8442         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8443
8444         * version.h: update to use stuff in version.C
8445
8446         * version.C.in: new file. Contains version information determined
8447         at compile time. This is a merging of version.h and
8448         version_info.h.in.
8449
8450 2001-10-03  Juergen Vigna  <jug@sad.it>
8451
8452         * BufferView_pimpl.C (update): don't change "dirty" status in
8453         updateInset call.
8454
8455 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8456
8457         * WorkArea.C (c-tor): re-position version string slightly.
8458
8459 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8460
8461         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8462         revert to previous code.
8463
8464         WorkArea.[Ch]: (show, destroySplash): methods removed.
8465
8466         WorkArea.C: rework code so that it's an amalgam of the codes before and
8467         after the splash screen was moved to WorkArea.
8468
8469 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8470
8471         * lyxrc.C (read):
8472         * vspace.C (inPixels):
8473         (lyx_advance):
8474         * kbmap.C (bind):
8475         * buffer.C (insertStringAsLines):
8476         (asciiParagraph): fix types to be large enough
8477
8478         * lyxlex_pimpl.h: change member status from short to int
8479
8480         * layout.h: fix type of endlabeltype
8481
8482         * kbmap.C (bind):
8483         * kbsequence.C (parse): change return type to string::size_type
8484
8485         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8486         variable
8487
8488         * Bullet.C (bulletSize):
8489         (bulletEntry): do not use short ints as parameters
8490
8491         * BufferView2.C (insertLyXFile): change a char to an int.
8492
8493         * WorkArea.C (WorkArea): remove unneeded floats in computation
8494
8495 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8496
8497         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8498
8499         * paragraph.C (asString): Do not ignore newline/hfill chars when
8500         copying to the clipboard.
8501
8502 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8503
8504         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8505         after a multi-line inset.
8506
8507 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8508
8509         * paragraph.C (validate): Set NeedLyXFootnoteCode
8510
8511 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8512
8513         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8514         and decrease-error to decrease.
8515
8516 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8517
8518         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8519         it more readable (should be equivalent)
8520
8521 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8522
8523         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8524
8525 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8526
8527         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8528         of a cursor (row, etc.) after a character has been deleted
8529         (deleteEmptyParagraphMechanism): call the method above on _all_
8530         cursors held by the LyXText when a double space has been
8531         detected/deleted.
8532
8533 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8534
8535         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8536         pixmap.
8537         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8538
8539         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8540         background. Use greyOut() and the new show() methods to toggle between
8541         the foreground and background. Add code to remove the splash after
8542         its initial showing.
8543
8544         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8545         (create_forms): no longer call Dialogs::showSplash.
8546
8547 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8548
8549         * .cvsignore: add version_info.h
8550
8551 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8552
8553         * version_info.h.in: new file
8554
8555         * Makefile.am: add version_info.h.in
8556
8557         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8558         version_info.h instead of VERSION_INFO
8559
8560 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8561
8562         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8563         The ERT inset now returns string().
8564
8565 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8566
8567         * lyxtext.h, text.C (selectNextWord): renamed as
8568         selectNextWordToSpellcheck.
8569
8570         * text.C (selectNextWordToSpellcheck): Modified to not select
8571         words inside an ERT inset.
8572
8573 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * lyx_cb.C (MenuLayoutSave): change a bit the question
8576
8577         * sp_base.h: include <sys/types.h>
8578
8579 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
8580
8581         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8582
8583 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
8584
8585         * several files: fix typos in user-visible strings
8586
8587 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * text2.C (pasteSelection): do not set the selection, since it
8590         will be cleared later. Actually, the intent was to fix the way the
8591         selection was set, but I figured rmoving the code was just as good.
8592
8593 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
8594
8595         * FontLoader.C (available): Check if font is available without
8596         loading the font.
8597
8598 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8599
8600         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8601
8602 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
8603
8604         * lyxrc.[Ch]: added display_graphics variable and associated code.
8605
8606 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8607
8608         * bufferparams.C (hasClassDefaults): new method. Returns true if
8609         the buffer parameters correspond to known class defaults
8610
8611 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
8612
8613         * XFormsView.C (show): set minimum size to the main window.
8614
8615 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8616
8617         * text2.C (copySelection):
8618         (cutSelection):
8619         * lyxfind.C (LyXReplace):
8620         * BufferView_pimpl.C (Dispatch): pass the correct flag to
8621         LyXText::selectionAsString.
8622
8623         * paragraph.C (asString): add "label" argument to the second form
8624
8625         * text2.C (selectionAsString): add "label" argument and pass it to
8626         Paragraph::asString.
8627
8628 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8629
8630         * lyx_main.C (commandLineHelp): remove version information
8631
8632 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
8633
8634         * lyx_main.C: add -version commandline option
8635
8636 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * paragraph.h: make the optional constructor arg required instead.
8639         some modifications to other files because of this.
8640
8641         * minibuffer.C (C_MiniBuffer_peek_event): make it static
8642
8643         * lyxserver.C (C_LyXComm_callback): make it static
8644
8645         * lyx_main.C (error_handler): make it static
8646
8647         * lyx_gui.C (LyX_XErrHandler): make it static
8648
8649         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8650
8651         * WorkArea.C: make the extern "C" methods static.
8652
8653         * Makefile.am (lyx_LDADD): simplify
8654
8655 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8656
8657         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8658         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8659
8660         * LyXAction.C (init):
8661         * lyxfunc.C (dispatch): associated code removal.
8662
8663 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8664
8665         * lyxfont.h (isSymbolFont): shut off warning
8666
8667         * text.C (setHeightOfRow):
8668         (getVisibleRow): fix crash with empty paragraphs which have a
8669         bottom line
8670
8671 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
8672
8673         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8674         code.
8675
8676 2001-09-04  José Matos  <jamatos@fep.up.pt>
8677         * buffer.C
8678         * buffer.h
8679         * tabular.C (docbook): rename docBook method to docbook.
8680
8681 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8682
8683         * Makefile.am: add dependencies to main.o.
8684
8685 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * FontLoader.C (available): Return false if !lyxrc.use_gui
8688
8689 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
8690
8691         * FontInfo.C (query):
8692         * converter.C (view):
8693         * importer.C (Import):
8694         * exporter.C (Export): Can not -> cannot.
8695
8696 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * BufferView_pimpl.C: allow to create index inset even if
8699           string is empty
8700
8701 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8702
8703         * buffer.C (getLists): replace boost::tie code with an explicit pair
8704         as boost::tie can break some compilers.
8705
8706         * iterators.h: Added a std:: declaration to the return type of
8707         ParIterator::size.
8708
8709 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * lyxrc.C: add help for view_dvi_paper_option, default to safe
8712           case.
8713
8714 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
8715
8716         * iterators.[Ch]: New files. Provide paragraph iterators.
8717
8718         * buffer.C (changeLanguage): Use paragraph iterators.
8719         (isMultiLingual): ditto
8720
8721         * BufferView2.C (ChangeInsets): Use paragraph iterators.
8722
8723 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
8724
8725         * FontLoader.C: Support for cmr font.
8726
8727 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
8728
8729         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8730         (available): New method.
8731
8732         * FontInfo.C (getFontname): Use scalable fonts even when
8733         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8734         found.
8735
8736 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8737
8738         * converter.C (Formats::view): reverted! Incorrect fix.
8739
8740 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8741
8742         * converter.C (Formats::view): only output the -paper option
8743         if the dvi viewer is xdvi, thereby fixing bug #233429.
8744
8745 2001-08-23  Herbert Voss  <voss@perce>
8746
8747         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8748
8749 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * Spacing.h (Spacing): Set space to Default on in the default
8752         constructor.
8753
8754 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * vc-backend.h (RCS::versionString): add RCS to version
8757         (CVS::versionString): add CVS to version
8758
8759         * vc-backend.C (scanMaster): do not add CVS to version.
8760         (scanMaster): do not add RCS to version
8761
8762         * lyxvc.C (versionString): new method
8763
8764         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8765
8766 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8767
8768         * Spacing.C (set): initialize fval
8769
8770 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
8771
8772         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8773         " or \.
8774
8775 2001-08-16  Juergen Vigna  <jug@sad.it>
8776
8777         * lyxfunc.C (dispatch): implemented the new FINISHED states.
8778
8779 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * BufferView_pimpl.C:
8782         * figureForm.C:
8783         * lyxtext.h:
8784         * text2.C: setParagraph takes linespacing now
8785
8786 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
8787
8788         * LyxAction.C: add internal LFUN_CITATION_INSERT
8789
8790         * LyXView.C: actually apply fix
8791
8792         * bufferlist.C: fix open non-existent file
8793
8794         * lyxfind.C: fix indentation
8795
8796         * lyxfunc.C: remove unneeded assert, fix typo
8797
8798 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * MenuBackend.C: use "Floatname List"
8801
8802 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
8803
8804         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8805         when converting LaTeX layout to insetERT.
8806         Generate a non-collapsed float when reading old float
8807
8808 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8809
8810         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8811         ERT insets.
8812
8813 2001-08-13  Juergen Vigna  <jug@sad.it>
8814
8815         * text.C (fill): return 0 instead of 20 as this seems to be the more
8816         correct value.
8817
8818 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8819
8820         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8821         lyxrc.font_norm.
8822
8823 2001-08-13  Juergen Vigna  <jug@sad.it>
8824
8825         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8826         casesensitive off.
8827         (SearchBackward): comment out the unlocking of the inset_owner this
8828         should not be needed!
8829
8830 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
8831
8832         * Many files: Remove inherit_language, and add latex_language
8833
8834         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8835         collapsible insets.
8836
8837 2001-08-10  Juergen Vigna  <jug@sad.it>
8838
8839         * text.C (prepareToPrint): fixed hfill-width in draw!
8840
8841         * BufferView2.C (selectLastWord): save the selection cursor as this
8842         now is cleared in the function LyXText::clearSelection!
8843
8844 2001-08-08  Juergen Vigna  <jug@sad.it>
8845
8846         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8847         BACKSPACE type functions.
8848
8849         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8850         is only cutted from the document but not put in the cut-buffer, where
8851         still the old stuff should be.
8852
8853         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8854
8855         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8856
8857         * tabular.C (SetWidthOfCell): fixed special case where the width
8858         was not updated!
8859         (LeftLine): handle '|' in align_special.
8860         (RightLine): ditto
8861         (LeftAlreadyDrawed): ditto
8862         (SetWidthOfCell): ditto
8863
8864 2001-08-07  Juergen Vigna  <jug@sad.it>
8865
8866         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8867
8868 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8869
8870         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8871         * lyxlex.[hC]: ditto
8872
8873 2001-08-06  Juergen Vigna  <jug@sad.it>
8874
8875         * text.C (getVisibleRow): fix up row clearing a bit.
8876
8877 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * minibuffer.C: make sure the X server sees the changes in the input.
8880
8881 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * paragraph.C (getFont): split into...
8884         (getLabelFont): this
8885         (getLayoutFont): and this
8886         * paragraph_pimpl.C (realizeFont): calling this
8887
8888         * text2.C (getFont): split into...
8889         (getLayoutFont): this
8890         (getLabelFont): and this
8891         (realizeFont): all three calling this
8892
8893         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8894         files where used.
8895
8896 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8897
8898         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8899
8900 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
8901
8902         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8903         layouts from the Quote inset insertion.
8904
8905 2001-08-03  Juergen Vigna  <jug@sad.it>
8906
8907         * BufferView_pimpl.C (update): do the fitCursor only at the end!
8908
8909         * screen.C (drawFromTo): don't call fitcursor here and do the loop
8910         only if status not is already CHANGED_IN_DRAW (second level).
8911
8912         * text.C (draw): don't set the need_break_row when inside an
8913         InsetText LyXText.
8914
8915 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8916
8917         * buffer.C (parseSingleLyXformat2Token): handle more latex
8918         conversion cases.
8919
8920         * bufferview_funcs.[hC]: change function names to
8921         begin with small char, adjust other files.
8922
8923 2001-08-02  André Pönitz <poenitz@gmx.net>
8924
8925         * lyxfunc.C:
8926         BufferView_pimpl.C: remove broken special code for math-greek
8927
8928 2001-08-02  Juergen Vigna  <jug@sad.it>
8929
8930         * BufferView_pimpl.C (update): redone this function so that we
8931         update the text again if there was a CHANGE_IN_DRAW.
8932
8933         * screen.C (cursorToggle): removed LyXText parameter and recoded.
8934         (drawFromTo): added a new internal bool which is used by draw() and
8935         redraw() function.
8936         (general): some cursor drawing problems fixed.
8937
8938 2001-08-01  Juergen Vigna  <jug@sad.it>
8939
8940         * lyxfind.C (LyXFind): fixed
8941         (SearchForward): ditto
8942         (SearchBackward): ditto
8943
8944         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8945         spurius drawing of the cursor in the main area.
8946
8947         * text2.C (status): small fix which could lead to a segfault!
8948         (clearSelection): remove unneeded BufferView param.
8949
8950 2001-08-01  André Pönitz <poenitz@gmx.net>
8951
8952         * lyxfunc.C: small change due to changed mathed interface
8953
8954 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8955
8956         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8957
8958 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * lyxfunc.c: fail gracefully if file doesn't exist
8961
8962         * LyXSendto.C:
8963         * buffer.C:
8964         * lyxfunc.C:
8965         * BufferView_pimpl.C: IsDirWriteable() proto changed
8966
8967         * LyXView.C: fix updateWindowTitle() to store the last title
8968
8969 2001-07-31  Juergen Vigna  <jug@sad.it>
8970
8971         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8972         the font (wrong since using of Paragraph::highestFontInRange).
8973
8974         * paragraph.C (highestFontInRange): added a default_size parameter.
8975
8976         * text.C (getVisibleRow): minor clear row changes (still not perfect).
8977         (setHeightOfRow): reformat
8978
8979 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * converter.[hC] + affected files: move to (inital-char)lowercase
8982         function names.
8983
8984         * ParagraphParameters.C (ParagraphParameters): remove commented code
8985
8986         * PainterBase.[Ch]: remove commented code
8987
8988         * LaTeXFeatures.h: add "bool floats" for float.sty
8989
8990         * LaTeXFeatures.C (LaTeXFeatures): init floats
8991         (require): handle float
8992         (getPackages): do it with floats
8993
8994 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8995
8996         * BufferView_pimpl.C (Dispatch): improve handling of
8997         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8998
8999         * commandtags.h: #include lyxfont.h here temporarily to avoid
9000         keybinding bug.
9001
9002         * bufferlist.h: include LString.h here.
9003
9004 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9005
9006         * text2.C (getStringToIndex): new method.
9007
9008 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9009
9010         * *: Reduced header file dependencies all over.
9011
9012 2001-07-30  Baruch Even  <baruch@lyx.org>
9013
9014         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9015
9016 2001-07-29  Baruch Even  <baruch@lyx.org>
9017
9018         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9019
9020 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * ParameterStruct.h (endif): add a default constructor to make
9023         sure that all variables is initialized.
9024
9025         * ParagraphParameters.C (ParagraphParameters): adjust
9026
9027 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9028
9029         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9030         index; also, check that there is something to index, and that it
9031         does not span over several paragraphs.
9032         (doubleClick): use WHOLE_WORD_STRICT for double click.
9033
9034         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9035
9036         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9037         scheme.
9038
9039 2001-07-26  Baruch Even  <baruch@lyx.org>
9040
9041         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9042         an InsetFig figure, backwards compatible reading of old figure code.
9043
9044 2001-07-27  Juergen Vigna  <jug@sad.it>
9045
9046         * text2.C: font.realize function adaption.
9047
9048         * text.C (draw): add a warnings lyxerr text if needed.
9049
9050         * layout.C: font.realize function adaption.
9051
9052         * language.C: add inherit_language and implement it's handlings
9053
9054         * bufferview_funcs.C (StyleReset): remove language parameter from
9055         font creation (should be language_inherit now).
9056
9057         * bufferparams.C (writeFile): handle ignore_language.
9058
9059         * paragraph.C (getFontSettings): the language has to be resolved
9060         otherwise we have problems in LyXFont!
9061
9062         * lyxfont.C (lyxWriteChanges): added document_language parameter
9063         (update): removed unneeded language parameter
9064
9065         * paragraph.C (validate): fixed wrong output of color-package when
9066         using interface colors for certain fonts in certain environments,
9067         which should not seen as that on the final output.
9068
9069 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * BufferView_pimpl.C:
9072         * Thesaurus.h:
9073         * Thesaurus.C:
9074         * Makefile.am:
9075         * commandtags.h:
9076         * LyXAction.C: add thesaurus support
9077
9078         * lyxfind.h:
9079         * lyxfind.C: add "once" parameter, for thesaurus, to not
9080           move to the next match
9081
9082 2001-07-26  Juergen Vigna  <jug@sad.it>
9083
9084         * lyxfont.C (realize): honor ignore_language too!
9085         (resolved): ditto.
9086
9087         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9088
9089         * text.C (draw): one place more for ignore_language to not draw
9090         itself!
9091
9092 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9093
9094         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9095
9096 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9097
9098         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9099         the minipage conversion problem.
9100
9101 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9104         insert an inset.
9105
9106 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * BufferView.h: don't forward declare WorkArea
9109
9110         * BufferView.C: don't include WorkArea.h
9111
9112 2001-07-25  André Pönitz <poenitz@gmx.net>
9113
9114         * commandtags.h:
9115         * LyXAction.C:
9116         * lyxfunc.C:  new LFUN 'math-space'
9117
9118         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9119
9120 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9121
9122         * text2.C (toggleInset): call open/close
9123
9124 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9125
9126         * lyxfunc.C (dispatch): add debug for the disabled case
9127
9128         * font.C (buttonText): make similar to rectText
9129
9130         * buffer.C (readInset): comment out parsing of insetlist and
9131         insttheorem
9132
9133         * PainterBase.C (rectText): small correction
9134
9135         * BufferView_pimpl.C: comment out insettheorem and insetlist
9136         * LyXAction.C: ditto
9137         * commandtags.h: ditto
9138
9139 2001-07-24  Juergen Vigna  <jug@sad.it>
9140
9141         * text.C (draw): honor the ignore_language.
9142
9143         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9144
9145 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9146
9147         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9148         char inset.
9149
9150 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9151
9152         * lyxtext.h: remove unused (and unimplemented) methods
9153
9154 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9155
9156         * text.C (getVisibleRow): honor background color
9157
9158         * PainterBase.h:
9159         * Painter.h: remove default color argument for fillRectangle
9160
9161         * text.C (backgroundColor): new method
9162
9163 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * text.C (getVisibleRow): adjust
9166
9167         * font.[Ch] (rectText): new method, metrics
9168         (buttonText): new method, metrics
9169
9170         * PainterBase.[hC]: make rectText and buttonText always draw and take
9171         fewer paramteres.
9172
9173 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9174
9175         * ToolbarDefaults.C (read):
9176         * MenuBackend.C (read): allow escaping in all strings
9177
9178         * BufferView_pimpl.C (insertAndEditInset): new method.
9179         (Dispatch): use insertAndEditInset whenever appropriate.
9180
9181         * BufferView_pimpl.C (insertNote): removed
9182
9183         * BufferView_pimpl.C (smartQuote): new method, moved from
9184         BufferView; if an insetquote cannot be inserted, insert a '"'
9185         character instead.
9186
9187         * BufferView2.C: remove insertCorrectQuote();
9188
9189         * lyxfunc.C (getStatus): Add support for all remaingin
9190         inset-insert lfuns.
9191
9192         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9193
9194         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9195         command (necessary to pass " as parameter of self-insert.
9196
9197         * text.C (selectWordWhenUnderCursor):
9198         (selectWord): add word_location parameter
9199         (selectWordWhenUnderCursor): same + remove special code for word
9200         boundary.
9201         (selectNextWord): use kind() to guess type of insetspecialchar,
9202         not latex().
9203
9204         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9205         (insertErtContents): create ert insets as collapsed.
9206         (readInset): better compatibility code for Info inset.
9207
9208 2001-07-20  Juergen Vigna  <jug@sad.it>
9209
9210         * lyxfunc.C (dispatch): use always LyXFind now!
9211
9212         * text2.C (init): add a reinit flag so that the LyXText can be
9213         reinited instead of deleted and reallocated (used in InsetText).
9214
9215         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9216
9217         * text.C: ditto
9218
9219         * text2.C: ditto
9220
9221 2001-07-18  Juergen Vigna  <jug@sad.it>
9222
9223         * text.C (selectNextWord): handle insets inside inset by calling
9224         always the bv->text functions so that we can go up the_locking_inset!
9225
9226         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9227         in strange locations when inside an inset!
9228
9229         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9230         handling to include insets.
9231
9232         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9233
9234 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9235
9236         * LyXAction.C (init):
9237         * commandtags.h:
9238         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9239         LIGATURE_BREAK, since the name is so stupid.
9240
9241 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9242
9243         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9244         InsetInfos.
9245
9246         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9247
9248         * sp_form.[Ch]: remove.
9249
9250         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9251
9252         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9253         InsetInfo.
9254
9255         * src/buffer.C (readInset): ditto.
9256
9257 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9258
9259         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9260         menuSeparator(), endOfSentenceDot(), ldots() and
9261         hyphenationPoint(), which are therefore removed.
9262         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9263
9264         * LyXAction.C (init):
9265         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9266
9267         * paragraph.C (getWord): removed.
9268
9269         * BufferView_pimpl.C (Dispatch): use last word or selection for
9270         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9271
9272         * lyx_main.C (queryUserLyXDir): do not ask before creating
9273         user_dir, except if it has been named explicitely.
9274
9275 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9276
9277         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9278         a document of zero size.
9279
9280 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9281
9282         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9283         approriately in the c-tor and in require().
9284         (getPackages): output the appropriate LaTeX for natbib support.
9285
9286         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9287         variables "use_natbib" and "use_numerical_citations" when reading the
9288         LyX file.
9289         (readInset): read the various natbib cite commands.
9290         (validate): white-space change.
9291
9292         * bufferparams.[Ch]: new variables "bool use_natbib" and
9293         "bool use_numerical_citations".
9294         (writeFile): output them in the LyX file.
9295
9296 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9297
9298         * lyxfunc.C (getStatus): add support for all the inset insertion
9299         commands.
9300
9301         * text2.C (insertInset):
9302         * paragraph.C (insetAllowed):
9303         * BufferView_pimpl.C (insertInset): update to take in account the
9304         renaming of insertInsetAllowed
9305
9306         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9307
9308         * text2.C (getInset): new method. returns inset at cursor position.
9309
9310         * BufferView_pimpl.C (Dispatch): changes because of this.
9311
9312         * LyXAction.C (init): rename open-stuff to inset-toggle.
9313
9314         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9315
9316         * text2.C (toggleInset): renamed from openStuff; use
9317         Inset::open().
9318
9319 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9320
9321         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9322
9323         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9324
9325 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9326
9327         * buffer.C (readLyXformat2): Add filename to the error dialog
9328
9329 2001-07-18  Juergen Vigna  <jug@sad.it>
9330
9331         * tabular.C (GetCellNumber): put an assert here instead of the check!
9332
9333 2001-07-17  Juergen Vigna  <jug@sad.it>
9334
9335         * BufferView_pimpl.C (toggleSelection): adapted too.
9336
9337         * text.C (selectNextWord): adapted for use with insets.
9338         (selectSelectedWord): ditto
9339
9340 2001-07-17  Juergen Vigna  <jug@sad.it>
9341
9342         * sp_spell.C (PSpell): fix initialitation order.
9343
9344 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9345
9346         * paragraph.C: spacing
9347
9348 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9349
9350         * sp_spell.C: repair language selection for pspell
9351
9352 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * lyxfunc.h: change more methods to begin with lower char.
9355
9356 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9357
9358         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9359         for unknown layouts.
9360
9361 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9362
9363         * buffer.C (readLyXformat2): Generate an error dialog if there are
9364         unknown layouts.
9365
9366 2001-07-16  Juergen Vigna  <jug@sad.it>
9367
9368         * sp_spell.C: always compile ISpell part.
9369
9370         * lyxrc.C: added use_pspell entry and it's handling.
9371
9372 2001-07-13  Juergen Vigna  <jug@sad.it>
9373
9374         * sp_spell.C: removed double includes.
9375
9376 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9377
9378         Consistent use of Lsstream.h:
9379         * Lsstream.h: added using std::stringstream for consistencies sake.
9380
9381         * buffer.C: removed using std::stringstream
9382
9383         * lyxfont.C (stateText):
9384         * paragraph.C (asString):
9385         * text.C (selectNextWord, selectSelectedWord):
9386         * text2.C (setCounter):
9387         * vspace.C (asString, asLatexString):
9388         std::ostringstream -> ostringstream.
9389
9390 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9391
9392         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9393         * commandtags.h: add LFUN_HELP_ABOUTLYX
9394         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9395
9396 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9397
9398         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9399         cursorToggle()
9400         * lyx_gui_misc.C: remove spellchecker
9401         * lyxfunc.C: showSpellchecker
9402         * sp_base.h: added
9403         * sp_ispell.h: added
9404         * sp_pspell.h: added
9405         * sp_spell.C: added
9406         * sp_form.[Ch]: removed
9407         * spellchecker.[Ch]: removed
9408
9409 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9410
9411         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9412         is set.
9413         (simpleTeXSpecialChars): Simply print the input character without
9414         any special translation if pass_thru is set.
9415
9416         * layout.h: Added bool pass_thru to layout class for being able to
9417         implement pass through of a paragraph for Literate Programming.
9418
9419         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9420         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9421         * layout.C (Read): add "passthru" to list of layout tags and add
9422         code to set the pass_thru boolean when it is read.
9423
9424 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9425
9426         * trans_decl.h: remove allowed from KmodInfo
9427
9428         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9429         remove allowed code
9430         (Load): adjust
9431
9432         * paragraph_pimpl.C (erase): use boost::prior
9433
9434         * Painter.C (text): use data() instead of c_str() when length is
9435         also provided.
9436         * WorkArea.C (putClipboard): ditto
9437         * font.h (width): ditto
9438
9439         * BufferView2.C: use it-> instead of (*it). for iterators
9440         * texrow.C: ditto
9441         * paragraph_pimpl.C: ditto
9442         * paragraph.C: ditto
9443         * minibuffer.C: ditto
9444         * language.C: ditto
9445         * kbmap.C: ditto
9446         * encoding.C: ditto
9447         * counters.C: ditto
9448         * converter.C: ditto
9449         * chset.C: ditto
9450         * Variables.C: ditto
9451         * TextCache.C: ditto
9452         * MenuBackend.C: ditto
9453         * LyXAction.C: ditto
9454         * LColor.C: ditto
9455         * FloatList.C: ditto
9456         * DepTable.C: ditto
9457         * ColorHandler.C (LyXColorHandler): ditto
9458
9459 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9460
9461         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9462
9463         * text2.C (openStuff): reintroduce this method (which had been
9464         nuked in NEW_INSETS frenzy).
9465
9466         * lyxfunc.C (Dispatch): when an action has not been handled, use
9467         its name in the error message, not its number.
9468
9469         * paragraph.C (inInset): change method name to begin with lowercase.
9470
9471         * undo_funcs.C:
9472         * text2.C: updates because of this.
9473
9474 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9475
9476         * ToolbarDefaults.C (add): add spaces in error message
9477
9478 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9479
9480         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9481         (readLyXformat2): rename return_par to first_par, use lyxlex's
9482         pushToken and remove the manual push handling.
9483         (parseSingleLyXformat2Token): add another ert comp. variable:
9484         in_tabular, rename return_par to first_par. handle newlines better
9485
9486 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9487
9488         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9489
9490 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9491
9492         * text2.C (getParFromID): removed
9493
9494         * buffer.C (getParFromID): new method moved form lyxtext.
9495         * BufferView2.C (insertErrors): adjust
9496         (setCursorFromRow): adjust
9497         * BufferView_pimpl.C (restorePosition): adjust
9498         * lyxfunc.C (Dispatch): adjust
9499         * undo_funcs.C (textUndo): adjust
9500         (textRedo): adjust
9501         (textHandleUndo): adjust
9502         (textHandleUndo): adjust
9503
9504 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9505
9506         * buffer.C: up' the LYX_FORMAT
9507
9508         * lyxfont.h: turn NO_LATEX on as default
9509
9510         * buffer.C (insertErtContents): new methods of tex style compability.
9511         (parseSingleLyXformat2Token): use it several places.
9512         * tabular.C (OldFormatRead): and here
9513
9514 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9515
9516         * text2.C: remove some commented code.
9517         reindent file.
9518
9519         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9520         * trans.C: changes because of the above.
9521
9522 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9523
9524         * text2.C (setCounter): Fix counters bug with bibliography layout.
9525
9526 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9529         own member functions
9530         (simpleTeXSpecialChars): ditto
9531
9532 2001-07-06  Juergen Vigna  <jug@sad.it>
9533
9534         * a lot of files: changed the access to LyXText::status and the
9535         call of undo-functions.
9536
9537         * undo.[Ch]: added a inset_id to the undo informations.
9538
9539         * undo_funcs.[Ch]: added and moved here all undo functions.
9540
9541         * lyxtext.h: give the status enum a weight, made status_ a private
9542         variable and made accessor functions for it, removed the whole bunch
9543         of undo-functions as they are now in their own file, make some
9544         functions publically available. Added function ownerParagraph with
9545         int parameter.
9546
9547         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9548         made InInset() a const function, added getParFromID() function.
9549
9550         * buffer.[Ch]: added const version for inset_iterator functions,
9551         added getInsetFromID() function.
9552
9553         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9554         changed undo functions for new version.
9555
9556 2001-07-05  Juergen Vigna  <jug@sad.it>
9557
9558         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9559         unknow mechanism does not call the proper constructor but only this
9560         one also if I request the other!?
9561
9562 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9563
9564         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9565
9566         * text2.C (LyXText): use initialization lists.
9567
9568         * lyxtext.h (Selection): initialize set_ and mark_
9569         (init): remove method
9570
9571 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9574
9575 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9576
9577         * screen.[Ch]: change method names to begin with lowercase
9578
9579         * BufferView_pimpl.C (updateScrollbar): simplify further and
9580         hopefully make it a bit faster.
9581
9582 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9585         calling directly xforms functions.
9586
9587         * Painter.C (Painter):
9588         * lyx_cb.C (MenuWrite):
9589         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9590         fl_display.
9591
9592         * lyx_gui.C: remove bogus guiruntime extern declaration.
9593
9594 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9595
9596         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9597         in NEW_INSETS
9598         (redoDrawingOfParagraph): ditto
9599         (redoParagraphs): ditto
9600         (cutSelection): don't create a object for CutAndPaste use the
9601         static method directly
9602         (pasteSelection): ditto
9603
9604         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9605         LyXview (+ rename)
9606
9607 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9608
9609         * modifications to some other files because of this.
9610
9611         * Makefile.am (lyx_SOURCES): add XFormsView
9612
9613         * XFormsView.[Ch]: new files
9614
9615         * LyXView.[Ch]: make LyXView a base class for the gui handling for
9616         the main window. Move the gui dependent stuff to XFormsView
9617
9618 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9619
9620         * tabular.C (GetCellInset): update cur_cell also in the row/col
9621         version of this function.
9622
9623         * lyxfunc.C: no need to include figure_form.h here.
9624
9625         * FontLoader.h:
9626         * lyxfunc.h:
9627         * lyxscreen.h:
9628         * text2.C:
9629         * lyxvc.C: no need to include forms.h here.
9630
9631 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9632
9633         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9634
9635         * lyxfunc.C (Dispatch):
9636         * Spacing.C (set):
9637         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9638         constructor argument.
9639
9640 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9641
9642         * paragraph.C (Paragraph): dont't clear, and just set layout.
9643         (makeSameLayout): use params's copy contructor.
9644
9645         * ParagraphParameters.[Ch] (makeSame): delete method
9646
9647 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
9648
9649         * Variables.[Ch]: fix indentation, rename set to isSet
9650
9651 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9652
9653         * lyxfunc.C (Dispatch): fix typo
9654
9655 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9656
9657         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9658         upper_bound.
9659
9660         * bufferlist.C: include assert.h for emergencyWrite().
9661
9662 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9665           give up at last (bug #425202) !
9666
9667 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * lyx_gui_misc.C:
9670         * sp_form.h:
9671         * sp_form.C:
9672         * spellchecker.h:
9673         * spellchecker.C: strip spellchecker options and bring up
9674           preferences tab instead
9675
9676 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9679         the istringstream constructor
9680
9681 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9682
9683         * paragraph.C (getLayout): fix return value
9684
9685         * paragraph.h: do not declare getLayout as inline.
9686
9687         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9688
9689 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9690
9691         * lyxcursor.h (operator<): new func
9692         (operator>): new func
9693         (operator>=): new func
9694         (operator<=): new func
9695
9696         * text.C (changeCase): use selection.start and selection.end
9697         (changeRegionCase): require from to be <= to. Require par to be a
9698         valid paragraph.
9699
9700         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9701
9702 2001-06-27  Juergen Vigna  <jug@sad.it>
9703
9704         * text.C (cursorLeftOneWord): changed to return the cursor and added
9705         overlay with BufferView * parameter which calls this one.
9706         (getWord): added
9707         (selectWord): use new getWord function.
9708         (changeCase): renamed from changeWordCase as and extended to work
9709         also on selections.
9710
9711         * lyxtext.h: added enum word_location
9712
9713         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9714         changeCase as this operates now also on selections.
9715
9716 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
9717
9718         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9719
9720         * many files: send debug output to Debug::INFO instead of
9721         Debug::ANY.
9722
9723         * converter.C (View):
9724         (Convert):
9725         (Move): send debug output to Debug::FILES instead of console.
9726
9727 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
9728
9729         * lyxfunc.C (getStatus): use func_status
9730
9731         * func_status.h: new header, describing the results of
9732         LyXFunc::getStatus;
9733
9734         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9735         LFUN_MATH_HALIGN.
9736
9737 2001-06-25  The LyX Project  <jug@sad.it>
9738
9739         * buffer.C (sgmlOpenTag):
9740         (sgmlCloseTag):
9741         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
9742
9743 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9744
9745         * text2.C: remove some dead code
9746
9747         * tabular.C (GetCellInset): store the last cell checked (gotten)
9748
9749         * tabular.h: add the helper for the speedup
9750
9751         * lyxtext.h: remove some dead code
9752
9753 2001-06-26  The LyX Project  <Asger>
9754
9755         * paragraph.C: Change export to LaTeX of alignment to
9756         \begin{center} and family for better roundtrip work with reLyX.
9757
9758         * Tune the math drawing a bit.
9759
9760 2001-06-25  The LyX Project  <Asger>
9761
9762         * LColor.C (LColor): New color for math background. New color
9763         for buttons.
9764
9765 2001-06-25  The LyX Project  <jug@sad.it>
9766
9767         * lyxfunc.C (MenuNew): remove extra check for .lyx file
9768
9769         * lyxfunc.C (Open):
9770         * bufferlist.C (newFile): do not restrict to files ending with
9771         .lyx
9772
9773         * BufferView_pimpl.C (MenuInsertLyXFile):
9774
9775 2001-06-24  The LyX Project  <jug@sad.it>
9776
9777         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9778         of compare_no_case
9779
9780 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9781
9782         * lyxtext.h: rename most methods to begin with a small char.
9783         Lots of changes because of this.
9784
9785         * paragraph.C (Paragraph): do not call fitToSize
9786         (erase): call Pimpl::erase
9787         (insertChar): call Pimpl::insertChar
9788         (insertInset): call Pipl::insertInset
9789         (breakParagraph): do not call fitToSize
9790         (breakParagraphConservative): do not call fitToSize
9791         (fitToSize): remove method
9792
9793         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9794
9795 2001-06-24  The LyX Project  <Asger>
9796
9797         * Fix Qt compilation^2
9798
9799 2001-06-24  The LyX Project  <jug@sad.it>
9800
9801         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9802         depthHook(getDepth()-1).
9803
9804         * paragraph.h:
9805         * ParagraphParameters.h:
9806         * ParameterStruct.h: change type of depth to unsigned int ==
9807         depth_type. Many adaptations to other files before of that.
9808
9809 2001-06-24  The LyX Project  <Asger>
9810
9811         * Fix Qt compilation.
9812
9813 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9814
9815         * paragraph.h: renamed several methods to begin with small letter.
9816         several changes to many parts of the code because of this.
9817
9818 2001-06-23  The LyX Project  <jug@sad.it>
9819
9820         * text2.C (InsertStringAsLines): renamed from InsertStringA;
9821         rewritten to discard all double spaces when KeepEmpty is off
9822         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9823         to only handle newlines but not fiddle with spaces and friends.
9824
9825         * lyxfunc.C (MenuNew): when doing 'new from template', use
9826         template_path as default directory
9827
9828 2001-06-23  The LyX Project  <Asger>
9829
9830         * Clean-up of header file includes all over
9831         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9832
9833 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9834
9835         * paragraph.h: renamed from lyxparagraph.h
9836
9837 2001-06-23  Asger  <lyx@violet.home.sad.it>
9838
9839         * Buffer.h: Removed Buffer::resize
9840         * BufferList.h: Removed BufferList::resize
9841         * LyXView.h: Added LyXView::resize. This way, we will only reflow
9842         the document lazily when we change the width, or the font settings.
9843
9844 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9845
9846         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9847
9848 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * buffer.h: remove out of date comment
9851
9852 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * lyxscreen.h:
9855         * screen.C: fix "theoretical" GC leak
9856
9857 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9858
9859         * LaTeX.C (scanAuxFile):
9860         (deplog): remove trailing \r when reading stream (useful under
9861         win32)
9862
9863 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
9864
9865         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9866         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9867         and BufferView::theLockingInset(Inset*), so should use them and not
9868         access bv_->text->the_locking_inset directly.
9869
9870         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9871
9872 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * Makefile.am:
9875         * tex-defs.h: remove old unused file
9876
9877 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * BufferView_pimpl.C: fix typo, remove minibuffer message
9880           when buffer has loaded
9881
9882 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * lyxfunc.C (Dispatch): use stringstream
9885         (MenuNew): use stringstream
9886         (Open): use stringstream
9887
9888         * importer.C (Import): use stringstream
9889
9890         * bufferview_funcs.C (CurrentState): use stringstream
9891
9892         * LaTeX.C (run): use stringstream
9893
9894         * BufferView_pimpl.C (savePosition): use stringstream
9895         (restorePosition): use stringstream
9896         (MenuInsertLyXFile): use stringstream
9897
9898 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
9899
9900         * BufferView.C:
9901         * Bullet.C:
9902         * ColorHandler.C:
9903         * FontInfo.C:
9904         * FontLoader.C:
9905         * LColor.C:
9906         * LaTeXFeatures.C:
9907         * Painter.C:
9908         * gettext.C:
9909         * lyx_gui_misc.C:
9910         * lyxserver.C:
9911         * vspace.C: removed // -*- C++ -*- as first line.
9912
9913         * lyxfind.h:
9914         * version.h: added // -*- C++ -*- as first line.
9915
9916 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9917
9918         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9919
9920         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9921         of string
9922
9923 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9924
9925         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9926         of floats.
9927
9928 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * gettext.C: include LString.h even when --disable-nls is on.
9931
9932 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
9933
9934         * converter.h (Get): changed argument type from int to
9935         FormatList::size_type to avoid unnecessary conversion.
9936
9937         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9938         before using it.
9939
9940 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9941
9942         * gettext.h: include LString.h even when --disable-nls is on.
9943
9944 2001-06-07  Juergen Vigna  <jug@sad.it>
9945
9946         * text.C (BreakAgain): subst spaces with tabs.
9947
9948         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9949         (resizeInsetsLyXText): set force on resizeLyXText.
9950
9951 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9952
9953         * gettext.h (gettext_init):
9954         (locale_init): use a real definition instead of a macro
9955
9956 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * Bufferview_pimpl.C:
9959         * LColor.h:
9960         * LColor.C: further lcolor tidies
9961
9962 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9963
9964         * BufferView_pimpl.C (updateScrollbar): simplify.
9965
9966         * BufferView2.C: don't include insets/insetinfo.h, change
9967         prototype for insertInset and call the Pimpl version. let
9968         updateInset call Pimpl version.
9969
9970         * BufferView.h: move inset_slept to BufferView::Pimpl, move
9971         gotoInset to BufferView::Pimpl
9972
9973 2001-06-01  Juergen Vigna  <jug@sad.it>
9974
9975         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9976         inside a LockingInset (is the update needed at all?).
9977
9978 2001-05-31  Juergen Vigna  <jug@sad.it>
9979
9980         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9981         here not the old one otherwise how should we compare it afterwards
9982         if it's the same!
9983
9984 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9985
9986         * lyxfont.C:
9987         * tabular.C:
9988         * tabular-old.C:
9989         * FontInfo.C: bring C functions into global namespace when
9990         necessary
9991
9992 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9993
9994         * LString.h: make sure config.h has been loaded before LString.h.
9995
9996         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9997         (one for each char read by EatLine!).
9998
9999         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10000         variables.
10001
10002 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10003
10004         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10005         to the same as the par we break from
10006
10007 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10010
10011         * MenuBackend.C (expand): also create menu entries for wide
10012         versions of the floats.
10013
10014         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10015
10016         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10017
10018         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10019         frontends/Makefile.am
10020
10021         * text2.C: adjust
10022         * text.C: adjust
10023
10024
10025         * tabular.C (getTokenValue): add std::
10026
10027         * tabular-old.C (getTokenValue): add std::
10028         (getTokenValue): ditto
10029         (getTokenValue): ditto
10030
10031         * screen.C (ToggleSelection): adjust
10032
10033         * lyxtext.h: put selection cursors inside a Selection struct.
10034
10035         * lyxfunc.C (moveCursorUpdate): adjust
10036
10037         * lyxfont.C (latexWriteStartChanges): add std::
10038
10039         * lyxfind.C: adjust
10040
10041         * font.h: delete with(char const *, LyXFont const &)
10042
10043         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10044
10045         * FontInfo.C (getFontname): add std::
10046
10047         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10048         (workAreaButtonPress): adjust
10049         (tripleClick): adjust
10050         (update): adjust
10051         (moveCursorUpdate): adjust
10052         (Dispatch): adjust
10053
10054         * BufferView2.C (gotoInset): adjust
10055
10056 2001-05-30  Juergen Vigna  <jug@sad.it>
10057
10058         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10059         to check pspell I add this as default as I now have new pspell
10060         libraries and they seem to use this.
10061
10062 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10063
10064         * text2.C (CutSelection): make the cursor valid before the call to
10065         ClearSelection.
10066
10067 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10068
10069         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10070         relied on 0 terminated strings and other horrors. Bug found due to
10071         the new assert in lyxstring!
10072
10073         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10074         KP_ keys.
10075
10076 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10077
10078         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10079         to latinkeys.bind.
10080
10081         * lyxfunc.C (processKeySym): change method of getting to the
10082         self-insert char.
10083
10084         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10085         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10086         * BufferView_pimpl.[Ch]: here as private methods.
10087
10088 2001-05-28  Juergen Vigna  <jug@sad.it>
10089
10090         * text.C (SetHeightOfRow): added the update() call again as it is
10091         needed to initialize inset dimensions!
10092
10093 2001-05-16  Juergen Vigna  <jug@sad.it>
10094
10095         * text2.C (SetCharFont): Add new function with BufferView * and
10096         bool toggleall parameters for setting insets internal fonts.
10097         (SetFont): Freeze the undo as we may change fonts in Insets and
10098         all this change should be inside only one Undo!
10099
10100         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10101         setting font's in insets as for them we have the SetFont function!
10102
10103 2001-05-15  Juergen Vigna  <jug@sad.it>
10104
10105         * text2.C (ClearSelection): to be sure we REALLY don't have any
10106         selection anymore!
10107
10108         * tabular.C (TeXCellPreamble): fixed the left border problem for
10109         multicolumn cells.
10110
10111 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10112
10113         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10114         dependancy file
10115
10116 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10117
10118         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10119         LFUN_BREAKPARAGRAPH.
10120
10121         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10122         help test to "internal only", similar for LFUN_INSERT_URL
10123
10124         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10125         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10126         auto_region_delete and deadkeys.
10127
10128 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * LColor.h:
10131         * LColor.C: remove some dead entries, tidy a little
10132
10133 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10134
10135         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10136         commented code.
10137         (Dispatch): implement LFUN_ESCAPE
10138
10139         * commandtags.h: add LFUN_ESCAPE
10140
10141         * LyXAction.C (init): add entry for LFUN_ESCAPE
10142
10143         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10144         Remove commented code.
10145         (insertNote): moved here
10146         (open_new_inset): moved here
10147
10148         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10149         BufferView_pimpl
10150
10151 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10152
10153         * kbmap.C (findbinding): clean it up and make it work correctly.
10154
10155         * lyx_main.C (init): do not pass argc and argv as parameters
10156
10157 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10158
10159         * buffer.C: fix path for OS/2 & Win32
10160
10161         * lyx_gui.C:
10162         * lyx_main:
10163         * lyx_main.C: Added os:: class.
10164
10165         * os2_defines.h: update
10166
10167 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10170         better by trying again with reduced state.
10171
10172 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10173
10174         * lyxrc.C (read): print error about invalid key sequence only when
10175         debugging (because not all latinX keysyms are known to some X
10176         servers)
10177
10178         * kbsequence.C (getiso): add a few std:: qualifiers
10179         (getiso): comment out extra return statement.
10180
10181 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10182
10183         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10184         handling.
10185         (Dispatch): enhance the accent inset a bit. (not perfect)
10186
10187 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10190
10191 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * bufferlist.C (emergencyWrite): fix assert() call
10194
10195 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10196
10197         * text.C (InsertChar): Added trivial patch to only send the "you
10198         can not do multiple spaces this way" message once during a
10199         session.
10200
10201 2001-05-08  Baruch Even  <baruch@lyx.org>
10202
10203         * Makefile.am: Changed order of libraries to get LyX to link properly
10204         with the gnome frontend.
10205
10206 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * LaTeXFeatures.h: add a std:: qualifier
10209
10210 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10211
10212         * paragraph.C (String): use stringstream
10213
10214 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10215
10216         * paragraph.C (writeFile): remove footflag arg
10217
10218         * buffer.C (makeLaTeXFile): use stringstream
10219         (latexParagraphs): remove footnot gurba
10220
10221         * LaTeXFeatures.C (getPackages): use stringstream
10222         (getMacros): likewise
10223         (getTClassPreamble): likewise
10224         (getFloatDefinitions): new method
10225
10226         * paragraph.C (writeFile): reindent
10227         (Erase): reindent
10228
10229         * WorkArea.h: revert the xpos + etc changes.
10230
10231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10232
10233         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10234
10235         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10236         (pasteSelection): likewise
10237         * text2.C (CreateUndo): likewise
10238
10239 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240
10241         * minibuffer.C (peek_event): temporarily reduce the functionality
10242         of the minibuffer (to allow args on lfuns)
10243
10244         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10245         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10246
10247         * buffer.C (readInset): add compability reading of old float
10248         lists, add reading of new style float list.
10249         (readInset): avoid reevaluation of inscmd.getCmdName()
10250         (getLists): reindent
10251
10252         * MenuBackend.C (MenuItem): implement parsing of
10253         md_floatlistinsert and md_floatinsert.
10254         (expand::LastFiles): move initalizaton of iterators out of loop,
10255         avoid reevaluation.
10256         (expand::Documents): introduce typdedef vector<string> Strings,
10257         and use it.
10258         (expand::ExportFormats): introduce typedef vector<Format const *>
10259         Formats, and use it.
10260         (expand): implement FloatListInsert and FloatInsert.
10261
10262         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10263         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10264         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10265
10266         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10267         handling.
10268         (Dispatch::LFUN_FLOAT_LIST): implement
10269
10270 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10271
10272         * LaTeX.C (run): Fix problem with --export code.
10273
10274 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10275
10276         * BufferView.[Ch] (workarea): removed.
10277         (getClipboard) new method; wrapper for workarea()->getClipboard()
10278
10279         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10280         bug.
10281
10282         * WorkArea.h (width, height, xpos, ypos): These methods all
10283         returned the dimensions of the work_area sub-area of WorkArea,
10284         resulting in a position error if the WorkArea were resized. Now
10285         return the dimensions of the entire WorkArea.
10286
10287         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10288
10289 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10290
10291         * LaTeX.C (deplog): correct the syntax of regex reg1
10292
10293 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * undo.C: remove !NEW_INSETS cruft
10296
10297 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * text2.C: remove !NEW_INSETS cruft
10300
10301         * text.C: remove !NEW_INSETS cruft
10302
10303         * tabular.C: remove !NEW_INSETS cruft
10304
10305         * spellchecker.C: remove !NEW_INSETS cruft
10306
10307         * lyxtext.h: remove !NEW_INSETS cruft
10308
10309         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10310
10311         * lyxfunc.C: remove !NEW_INSETS cruft
10312
10313         * lyxfind.C: remove !NEW_INSETS cruft
10314
10315         * lyx_cb.C: remove !NEW_INSETS cruft
10316
10317         * figureForm.C: remove  !NEW_INSETS cruft
10318
10319         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10320
10321         * buffer.[Ch]: remove !NEW_INSETS cruft
10322
10323         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10324
10325         * CutAndPaste.C: remove !NEW_INSETS cruft
10326
10327         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10328
10329         * BufferView2.C: remove !NEW_INSETS cruft
10330
10331         * BufferView.h: remove !NEW_INSETS cruft
10332
10333 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10334
10335         * Lsstream.h: include LString.h before the sstream headers to
10336         fix problem with gcc 2.95.3 and lyxstring
10337
10338 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * lyx_main.C: add using directives when needed for C functions
10341         declared in std:: namespace.
10342
10343 2001-04-27  Juergen Vigna  <jug@sad.it>
10344
10345         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10346         (SetHeightOfRow): comment out the update call should not be needed!
10347
10348 2001-04-13  Juergen Vigna  <jug@sad.it>
10349
10350         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10351         (LyXTabular): tried to minimize operator= operations (and realized
10352         hopfully Lars wish).
10353
10354 2001-04-27  Juergen Vigna  <jug@sad.it>
10355
10356         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10357
10358 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10361
10362         * buffer.C (readInset): hack to make listof algorithm work
10363
10364         * BufferView_pimpl.C: hack to make listof algorithm work
10365
10366 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * LyXAction.C: removed all !NEW_INSETS cruft
10369         (init): moved lfun_item in method
10370
10371         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10372
10373 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10374
10375         * BufferView2.C (theLockingInset): white space.
10376
10377 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * minibuffer.C: include <iostream>
10380
10381         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10382
10383         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10384
10385         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10386
10387         * text.[Ch] (TransposeChars): new method
10388
10389 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10390
10391         * call message directly through LyXView instead of through LyXFunc
10392         * BufferView2.C: adjust
10393         * BufferView_pimpl.C: adjust
10394         * FontLoader.C: adjust
10395         * buffer.C: adjust
10396         * bufferview_funcs.C: adjust
10397         * converter.C: adjust
10398         * figureForm.C: adjust
10399         * importer.C: adjust
10400         * lyx_cb.C: adjust
10401         * lyx_gui_misc.C: adjust
10402         * lyxfunc.C: adjust
10403         * lyxvc.C: adjust
10404         * text2.C: adjust
10405         + more files in subdirs
10406
10407         * lyxparagraph.h (size): move up int file
10408         (GetLayout): ditto
10409
10410         * adjust all uses of Assert to lyx::Assert.
10411
10412         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10413         lyxfunctional in namespace lyx
10414         * layout.C (hasLayout): ditto
10415         (GetLayout): ditto
10416         (GetLayout): ditto
10417         (delete_layout): ditto
10418         (NumberOfClass): ditto
10419         * converter.C (GetFormat): ditto
10420         (GetNumber): ditto
10421         (Add): ditto
10422         (Delete): ditto
10423         (SetViewer): ditto
10424         * bufferlist.C (getFileNames): ditto
10425         (emergencyWriteAll): ditto
10426         (exists): ditto
10427         (getBuffer): ditto
10428         * MenuBackend.C (hasSubmenu): ditto
10429         (hasMenu): ditto
10430         (getMenu): ditto
10431         * BufferView_pimpl.C (getInsetByCode): ditto
10432
10433 2001-04-18  Juergen Vigna  <jug@sad.it>
10434
10435         * vspace.C (asLatexString): fixed the 100% problem.
10436
10437 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * lyxfunc.C (Dispatch):
10440         * minibuffer.C:
10441         * minibuffer.h: add a few std:: qualifiers
10442
10443 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * minibuffer.[Ch]: reimplement so that commands is initiated and
10446         run from lyxfunc, simplified som handling, and made the completion
10447         and history code for complete. wip.
10448
10449         * lyxfunc.C (processKeySym): call message
10450         (miniDispatch): new temporary method
10451         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10452         (LFUN_MESSAGE): implement
10453         (LFUN_MESSAGE_PUSH): implement
10454         (LFUN_MESSAGE_POP): implement
10455         (initMiniBuffer): the initial/defualt minibuffer message.
10456
10457         * lyxfont.[Ch]: inline some more getters
10458
10459         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10460
10461         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10462
10463         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10464         (AutoSave): use LFUN_MESSAGE
10465         (Reconfigure): ditto
10466
10467         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10468
10469         * figureForm.C: use LFUN_MESSAGE
10470
10471         * converter.C (runLaTeX): use LFUN_MESSAGE
10472
10473         * bufferview_funcs.C: use LFUN_MESSAGE
10474         (Melt): ditto
10475         (changeDepth): ditto
10476
10477         * bufferparams.h: use boost::
10478
10479         * bufferlist.h: inherit privately from noncopyable
10480
10481         * bufferlist.C (loadLyXFile): remove some commented code.
10482
10483         * buffer.C (runChktex): use LFUN_MESSAGE
10484
10485         * ShareContainer.h: inherit privately from noncopyable
10486
10487         * ParagraphParameters.[hC] (depth): inline it.
10488
10489         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10490         methods.
10491         (message): new method
10492         (messagePush): ditto
10493         (messagePop): ditto
10494         (show): init minibuffer
10495         (showState): direct call
10496
10497         * LaTeX.[Ch]: inherit privately from noncopyable
10498         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10499         instead of WriteStatus.
10500
10501         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10502
10503         * BufferView_pimpl.C (buffer): don't init minibuffer
10504         (workAreaButtonPress): use LFUN_MESSAGE
10505         (workAreaButtonRelease): ditto
10506         (savePosition): ditto
10507         (restorePosition): ditto
10508         (MenuInsertLyXFile): ditto
10509         (workAreaExpose): don't init minibuffer
10510         (update): remove commented code, simplify
10511
10512         * BufferView2.C (openStuff): use LFUN_MESSAGE
10513         (toggleFloat): ditto
10514         (menuUndo): ditto
10515         (menuRedo): ditto
10516         (copyEnvironment): ditto
10517         (pasteEnvironment): ditto
10518         (copy): ditto
10519         (cut): ditto
10520         (paste): ditto
10521         (gotoInset): ditto
10522         (updateInset): remove some commented code
10523
10524         * lastfiles.h: inherit privately from noncopyable
10525         * layout.h: ditto
10526         * lyx_gui.h: ditto
10527         * lyx_main.h: ditto
10528         * lyxlex.h: ditto
10529         * lyxlex_pimpl.h: ditto
10530
10531         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10532         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10533         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10534
10535         * LyXAction.h: inherit privately from noncopyable, add methods
10536         func_begin, func_end, returning iterators to the func map.
10537
10538         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10539         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10540         (func_begin): new method
10541         (func_end): new method
10542
10543         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10544         and not)
10545         (copySelection): ditto
10546         (pasteSelection): ditto
10547
10548         * BufferView.C: whitespace change
10549         * BufferView.h: inherit privately from noncopyable
10550
10551 2001-04-16  Allan Rae  <rae@lyx.org>
10552
10553         * tabular-old.C (l_getline):
10554         * spellchecker.C (sc_check_word):
10555         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10556         an unrecognised preprocessor directive.  So ensure they're wrapped.
10557
10558 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * src/exporter.C (Export): Give an error message when path to file
10561         contains spaces.
10562
10563 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * LaTeX.C (deplog): Always check that foundfile exists.
10566
10567 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10568
10569         * lyx_main.h:
10570         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10571
10572 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10573
10574         * tabular.[Ch] (getLabelList): implement new method
10575
10576         * minibuffer.h: comment ouf setTiimer
10577
10578         * minibuffer.C (ExecutingCB): constify res
10579         (peek_event): constify s
10580         (Set): constify ntext
10581         (Init): constify nicename
10582
10583         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10584
10585         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10586         (savePosition): use two params to Minibuffer::Set
10587         (restorePosition): ditto
10588
10589 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10590
10591         * lyx_main.C: include language.h
10592
10593         * Makefile.am (lyx_main.o): add language.h
10594
10595 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10596
10597         * exporter.C:
10598         * paragraph.C:
10599         * screen.C:
10600         * tabular.C:
10601         * CutAndPaste.C: include gettext.h
10602
10603         * lyxfont.h: remove old hack with ON and OFF.
10604
10605         * lyxparagraph.h:
10606         * lyxfont.h: do not include language.h...
10607
10608         * BufferView2.C:
10609         * LaTeXFeatures.C:
10610         * Painter.C:
10611         * bufferview_funcs.C:
10612         * font.C:
10613         * lyxfont.C:
10614         * text.C:
10615         * text2.C:
10616         * trans_mgr.C:
10617         * paragraph.C: ... but do it here instead
10618
10619 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10622
10623         * tabular.C: small reformat
10624
10625         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10626         NEW_INSETS version
10627         (GetChar): ditto
10628         (BreakParagraph): ditto
10629         (SetOnlyLayout): ditto
10630         (SetLayout): ditto
10631
10632         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10633         with one arg less.
10634
10635         * lastfiles.C: removed most using decl, add std:: where needed
10636
10637         * buffer.C: ws changes
10638
10639         * MenuBackend.C (class compare_format): put into anon namespace
10640         (expand): constify label, names, action, action2
10641         (expand):
10642
10643         * text.C (SingleWidth): constify font
10644         (IsBoundary): constify rtl2
10645         (GetVisibleRow): constify ww
10646
10647         * LaTeX.C (deplog): constify logfile
10648
10649         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10650         start_x, end_x
10651         (workAreaExpose): constify widthChange, heightChange
10652
10653         * lyxrow.C (par): moved
10654         (height): moved
10655         (next): moved
10656         * lyxrow.h: as inlines here
10657
10658         * lyxfont.h (shape): moved from lyxfont.C
10659         (emph): moved from lyxfont.C
10660
10661         * lyxfont.C (LyXFont): use initialization list for all
10662         constructors
10663         (shape): move to lyxfont.h as inline
10664         (emph): move to lyxfont.h as inline
10665
10666
10667 2001-04-04  Juergen Vigna  <jug@sad.it>
10668
10669         * vspace.C: had to include stdio.h for use of sscanf
10670
10671 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
10672
10673         * BufferView.h:
10674         * BufferView_pimpl.h: remove xforms cruft. Both classes are
10675         independent of xforms.
10676
10677 2001-04-02  Juergen Vigna  <jug@sad.it>
10678
10679         * spellchecker.C: fixed namespace placing!
10680
10681 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
10682
10683         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10684         the LyXParagraph * is 0.
10685
10686 2001-03-29  Juergen Vigna  <jug@sad.it>
10687
10688         * vspace.C: added support for %, c%, p%, l%.
10689         (stringFromUnit): added helper function.
10690         (asLatexString): changed to give right results for the %-values.
10691
10692         * buffer.C: convert the widthp in a width%.
10693
10694 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
10695
10696         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10697         figureForm.[Ch].
10698
10699         * figureForm.[Ch]: stripped the FD_from_figure manipulation
10700         code out of lux_cb.[Ch], ready for its (imminent?) removal.
10701
10702         * lyx_cb.[Ch]: see above.
10703
10704         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10705         form1.[Ch].
10706
10707         * form1.[Ch]:
10708         * lyx.[Ch]: replaced by figure_form.[Ch].
10709
10710         * lyx_gui.C:
10711         * lyx_gui_misc.C:
10712         * lyxfunc.C: changed headers associated with above changes.
10713
10714 2001-03-27  Juergen Vigna  <jug@sad.it>
10715
10716         * BufferView_pimpl.C: set the temporary cursor right!
10717
10718 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
10719
10720         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10721
10722 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
10723
10724         * LString.h: removed "using std::getline"!
10725
10726         * BufferView_pimpl.C (Dispatch): changes due to changes in
10727         InsetInclude::Params.
10728
10729         * buffer.C (tag_name): removed redundant break statements as they were
10730         producing lots of warnings with my compiler.
10731
10732 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10733
10734         * LString.h: add "using std::getline" when using the real <string>.
10735
10736 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
10737
10738         * buffer.C: removed bitset usage.
10739         PAR_TAG moved to an anonymous name space.
10740         (tag_name): new funtion, also in the anonymous namespace.
10741         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10742         (makeDocBookFile): clean code. Completed transition from string arrays
10743         to string vectors.
10744         (SimpleDocBookOnePar): code clean.
10745
10746 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10747
10748         * tabular.C: add some comments.
10749
10750 2001-03-22  Juergen Vigna  <jug@sad.it>
10751
10752         * buffer.C (parseSingleLyXformat2Token): redone the minipage
10753         compatibility read a bit and fixed bug with minipage in different
10754         depth.
10755
10756 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
10757
10758         * buffer.C (pop_tag): removed.
10759         (push_tag): removed.
10760         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10761         array replaced with vector. Added support for CDATA sections.
10762         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10763         at any nest level.
10764         (makeDocBookFile): XML conformant declaration of CDATA section,
10765         fixed bug related to <emphasis> in the first paragraph char.
10766         (sgmlOpenTag): exclude empty tags.
10767         (sgmlCloseTag): ditto.
10768
10769         * buffer.h (pop_tag): removed.
10770         (push_tag): removed.
10771
10772 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
10773
10774         * language.h (Languages): added size_type and size().
10775
10776 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10777
10778         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10779         response on compability reading of minipages. One probliem is that
10780         the old usage of minipages was «flertydig»
10781
10782         * several files here and in subdirs: don't use static at file
10783         scope use anon namespaces instead.
10784
10785 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
10786
10787         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10788         LaTeX output. This is necessary for Literate document
10789         processing.
10790
10791 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10792
10793         * buffer.C: insert hfill when needed.
10794
10795         * tabular.C (l_getline): use string::erase, small whitespace change.
10796
10797         * BufferView_pimpl.C: try the anon namespace.
10798         * WorkArea.C: ditto
10799
10800 2001-03-16  Juergen Vigna  <jug@sad.it>
10801
10802         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10803         otherwise it won't open options-dialogs.
10804
10805         * buffer.C: honor pextraWidth(p) on converting minipages.
10806
10807         * tabular.C (l_getline): changed the functions to strip trailing \r.
10808
10809 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         * BufferView_pimpl.C:
10812         * minibuffer..C: added "using SigC::slot" declaration.
10813
10814 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10815
10816         * lyxlex_pimpl.h: noncopyable is in namespace boost.
10817
10818         * text2.C: ditto
10819
10820         * text.C: ditto
10821
10822         * paragraph.C: ditto
10823
10824         * lyxtext.h: NO_PEXTRA
10825
10826         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10827
10828         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10829         * ParameterStruct.h: ditto
10830         * ParagraphParameters.h: ditto
10831         * lyxparagraph.h: ditto
10832
10833 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10834
10835         * buffer.C: add compability for minipage alignment.
10836         (latexParagraphs): remove unwanted pextra check.
10837
10838         * several files: remove CXX_WORKING_NAMESPACES
10839
10840         * buffer.C (pop_tag): tie is in namespace boost
10841
10842         * BufferView.h: noncopyable is in namespace boost
10843         * lyxlex.h: ditto
10844         * lyx_main.h: ditto
10845         * lyx_gui.h: ditto
10846         * layout.h: ditto
10847         * lastfiles.h: ditto
10848         * bufferlist.h: ditto
10849         * ShareContainer.h: ditto
10850         * LyXView.h: ditto
10851         * LyXAction.h: ditto
10852         * LaTeX.h: ditto
10853
10854 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
10855
10856         * Merging changes from BRANCH_MVC back into HEAD.
10857
10858         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10859
10860 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * BufferView_pimpl.C: change from intl.C
10863
10864         * combox.h:
10865         * combox.C:
10866         * Makefile.am: move combox.*
10867
10868         * form1.h:
10869         * form1.C:
10870         * lyx_gui.C:
10871         * intl.h:
10872         * intl.C: remove dialog (covered by prefs)
10873
10874 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * lyxfunc.C (Dispatch): removed redundant break statement.
10877
10878 2001-03-14  Juergen Vigna  <jug@sad.it>
10879
10880         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10881
10882 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10883
10884         * buffer.C: add hack to fix compability reading of minipages.
10885
10886 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
10887
10888         * buffer.C (getLists): Cleanup.
10889
10890 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * lyxfont.C (update): don't honor toggleall on font size.
10893
10894 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * bmtable.c:
10897         * bmtable.h:
10898         * Makefile.am: moved to frontends/xforms/
10899
10900         * lyx_gui_misc.C:
10901         * lyxfunc.C:
10902         * BufferView_pimpl.C: changes for moved mathpanel
10903
10904 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * gettext.h: fix gettext_init() in --disable-nls
10907
10908 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10909
10910         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10911
10912 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lyx.C:
10915         * lyx.h: strip external form
10916
10917 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * BufferView_pimpl.C: add comment, destroySplash()
10920
10921 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * BufferView_pimpl.C:
10924         * LyXAction.C:
10925         * buffer.C:
10926         * commandtags.h:
10927         * lyxfunc.C: use re-worked insetinclude
10928
10929 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10930
10931         * buffer.C: add using std::stringstream.
10932
10933         * lyx_cb.C: readd using std::ios.
10934
10935         * buffer.C: add using std::map.
10936
10937         * BufferView_pimpl.C: add using std::vector.
10938
10939         * ShareContainer.h: add std:: to swap.
10940
10941         * buffer.h: add some typedefs
10942         * buffer.C (getLists): use them
10943         (getLists): renamed from getTocList.
10944         add a counter for the different float types and use it in the
10945         generated string.
10946         (getLists): use the same counter for the NEW_INSETS and the "non"
10947         NEW_INSETS
10948
10949         * lyx_cb.h: remove unused items, includes, using etc.
10950
10951         * ShareContainer.h: remove some commented code, add more comments
10952         and "documentation".
10953
10954 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10955
10956         * buffer.C (getTocList): make the list also when NEW_INSETS is
10957         defined.
10958
10959         * buffer.h: remove TocType
10960
10961         * buffer.C (getTocList): change to return a map<string,
10962         vector<TocItem> >, implement for dynamic number of list.
10963
10964         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10965         * text2.C (PasteSelection): adjust
10966         * CutAndPaste.C (pasteSelection): adjust
10967
10968         * FloatList.C (FloatList): update from the new_insets branch.
10969         * Floating.[Ch]: ditto
10970         * LaTeXFeatures.C: ditto
10971         * buffer.C: ditto
10972         * lyxlex_pimpl.C: ditto
10973
10974         * paragraph.C (Last): remove when NEW_INSETS is defined.
10975
10976         * other file: changes because of the above.
10977
10978 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10979
10980         * lyxparagraph.h: rename next to next_, previous to previous_,
10981         make them private for NEW_INSETS. Rename Next() to next(),
10982         Previous() to previous().
10983
10984         * other files: changes because of the above.
10985
10986 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * BufferView.h:
10989         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10990         problem.
10991
10992 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10993
10994         * main.C (main): pass lyx_localedir to gettext_init().
10995
10996         * gettext.h: remove locale_init and gettext_init macros
10997
10998         * gettext.C (locale_init): new function
10999         (gettext_init): new function
11000
11001         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11002         setlocale().
11003
11004 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11005
11006         * Moved credits to frontends:
11007         * credits.[Ch]: removed
11008         * credits_form.[Ch]: removed
11009         * lyx_gui_misc.C: remove credits stuff
11010         * Makefile.am:
11011
11012 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11013
11014         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11015
11016         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11017         unneeded destructor.
11018
11019         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11020         a standalone pointer again.
11021
11022         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11023
11024 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * Makefile.am:
11027         * filedlg.h:
11028         * filedlg.C:
11029         * LyXAction.C:
11030         * ToolbarDefaults.C:
11031         * bufferlist.C:
11032         * commandtags.h:
11033         * form1.C:
11034         * form1.h:
11035         * lyx_cb.C:
11036         * lyx_cb.h:
11037         * lyxfunc.h:
11038         * lyxfunc.C:
11039         * BufferView_pimpl.C: use new file dialog in GUII
11040
11041         * lyx_cb.h:
11042         * lyx_cb.C: remove LayoutsCB to Toolbar
11043
11044 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11045
11046         * ShareContainer.h (get): add std:: qualifier
11047
11048 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11049
11050         * ShareContainer.h: define a proper ShareContainer::value_type
11051         type (and use typename to please compaq cxx)
11052
11053 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11054
11055         * lyxparagraph.h: move serveral local vars to
11056         ParameterStruct/ParagraphParameters., use ShareContainer in
11057         FontTable., make vars in FontTable private and add getter and
11058         setter.
11059
11060         * paragraph.C: changes because of the above.
11061
11062         * lyxfont.h: remove copy constructor and copy assignment. (the
11063         default ones is ok), move number inside FontBits. move inlines to
11064         lyxfont.C
11065
11066         * lyxfont.C: add number to initializaton of statics, move several
11067         inlines here. constify several local vars. some whitespace
11068         cleanup. Dont hide outerscope variables.
11069
11070         * Spacing.h: add two new constructors to match the set methods.
11071
11072         * ShareContainer.h: new file, will perhaps be moved to support
11073
11074         * ParameterStruct.h: new file
11075
11076         * ParagraphParameters.h: new file
11077
11078         * ParagraphParameters.C: new file
11079
11080         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11081         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11082
11083         * BufferView_pimpl.C: ParagraphParameter changes.
11084         * buffer.C: Likewise.
11085         * bufferview_funcs.C: Likewise.
11086         * text.C: Likewise.
11087         * text2.C: Likewise.
11088
11089 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11090
11091         * lyxfind.C (LyXReplace): do not redefine default argument in
11092         implementation.
11093         (IsStringInText): ditto
11094         (SearchForward): ditto
11095         (SearchBackward): ditto
11096
11097 2001-03-06  Juergen Vigna  <jug@sad.it>
11098
11099         * lyxfind.C (IsStringInText): put parentes around expressions.
11100
11101 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11102
11103         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11104
11105 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11108
11109         * stl_string_fwd.h: add comment
11110
11111         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11112
11113         * tabular.h:
11114         * tabular.C: remove unused DocBook methods
11115
11116         * intl.C:
11117         * language.C:
11118         * paragraph.C:
11119         * buffer.C:
11120         killed DO_USE_DEFAULT_LANGUAGE
11121
11122 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11123
11124         * lyx_gui.C: do not include language.h.
11125
11126         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11127         arguments in function implementation.
11128
11129 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11130
11131         * BufferView_pimpl.C: add <ctime>
11132
11133 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11134
11135         * BufferView_pimpl.C: add using std::find_if
11136
11137 2001-02-27  José Matos  <jamatos@fep.up.pt>
11138
11139         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11140         by OnlyPath.
11141
11142 2001-02-11  José Matos  <jamatos@fep.up.pt>
11143
11144         * buffer.C (makeDocBookFile): command styles now have a parameter as
11145         "title" by default.
11146
11147 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11148
11149         * layout_forms.[Ch]: removed
11150         * lyx_cb.[Ch]: out character
11151         * lyx_gui.C: out character
11152         * lyx_gui_misc.C: out character
11153         * bufferview_funcs.C: : out character,
11154         added toggleall as parameter in ToggleAndShow
11155
11156 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11157
11158         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11159
11160         * text2.C (SetCurrentFont): Disable number property at boundary.
11161
11162 2001-02-26  Juergen Vigna  <jug@sad.it>
11163
11164         * lyxfunc.C (getStatus): added a string argument override function so
11165         that this is correctly called from LyXFunc::Dispatch if it contains a
11166         do_not_use_argument which is used!
11167         (Dispatch): added check for "custom" export and call appropriate func.
11168
11169 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * lyxrc.C: Add language_command_local, language_use_babel and
11172         language_global_options.
11173
11174         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11175
11176         * buffer.C (makeLaTeXFile): Use language_use_babel and
11177         language_global_options.
11178
11179 2001-02-23  Juergen Vigna  <jug@sad.it>
11180
11181         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11182         which works with LyXText and putted it inside BufferView. Here now we
11183         only call for that part the BufferView::Dispatch() function.
11184
11185         * BufferView.C (Dispatch): added.
11186
11187         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11188         functions which needs to use a LyXText over from LyXFunc.
11189         (MenuInsertLyXFile): added
11190         (getInsetByCode): added
11191         (moveCursorUpdate): added
11192         (static TEXT): added
11193
11194 2001-02-22  Juergen Vigna  <jug@sad.it>
11195
11196         * BufferView_pimpl.C (update): call a status update to see if LyXText
11197         needs it.
11198
11199 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11200
11201         * vc-backend.C (revert): implement for CVS
11202         (getLog): implement for CVS
11203
11204 2001-02-20  Juergen Vigna  <jug@sad.it>
11205
11206         * text2.C (ClearSelection): added BufferView param for inset_owner call
11207
11208         * lyxfunc.C (TEXT): added this function and use it instead of
11209         directly owner->view()-text of getLyXText().
11210
11211 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11212
11213         * src/layout_forms.C: out preamble
11214         * src/layout_forms.h: out preamble
11215         * src/lyx_cb.C: out preamble
11216         * src/lyx_cb.h: out preamble
11217         * src/lyx_gui.C: out preamble
11218         * src/lyx_gui_misc.C: out preamble
11219         * src/lyxfunc.C: connect with guii preamble
11220
11221 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11222
11223         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11224
11225 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11228         whether to run bibtex.
11229
11230 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11233
11234 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11235
11236         * Makefile.am (lyx_SOURCES): removed bibforms.h
11237
11238         * vspace.h: doxygen
11239
11240         * text.C (GetVisibleRow): make several local vars const
11241
11242         * tabular.C: small cleanup.
11243
11244         * lyxserver.C (callback): use compare instead of strncmp
11245
11246         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11247         inlines to after class or to paragraph.C
11248
11249         * lyxfont.h: remove friend operator!=
11250
11251         * converter.h: move friend bool operator< to non friend and after
11252         class def.
11253
11254         * combox.h: small cleanup
11255
11256         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11257         to inlines after class def.
11258
11259         * buffer.C (pop_tag): use string operations instead of strcmp
11260
11261         * bmtable.c: doxygen, small cleanup
11262
11263         * LaTeX.h: remove friend operator==
11264
11265 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11266
11267         * screen.C:
11268         * lyxrc.[Ch]:
11269         * lyxfunc.C:
11270         * lyxfont.[Ch]:
11271         * lyx_cb.C:
11272         * intl.[Ch]:
11273         * commandtags.h:
11274         * buffer.C:
11275         * WorkArea.[Ch]:
11276         * LyXAction.C:
11277         * BufferView_pimpl.C:
11278         * BufferView.[Ch]: remove cruft
11279
11280 2001-02-14  Juergen Vigna  <jug@sad.it>
11281
11282         * lyxfunc.C: removed #if 0 unused code
11283
11284         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11285
11286         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11287
11288         * text2.C (SetSelection): added a BufferView * parameter
11289
11290 2001-02-13  Juergen Vigna  <jug@sad.it>
11291
11292         * lyxfunc.C (Dispatch): fixed protected blank problem.
11293         * BufferView2.C (protectedBlank): added LyxText * parameter.
11294
11295         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11296         (AppendColumn): same as above for column_info.
11297
11298         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11299         (moveCursorUpdate): use a LyXText param for support of InsetText.
11300
11301         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11302         (tripleClick): ditto
11303
11304         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11305
11306         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11307
11308         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11309
11310         * text2.C (SetSelection): set correct update status if inset_owner
11311         (ToggleFree): ditto
11312
11313 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11314
11315         * tabular.C: remove some commented code.
11316
11317 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView_pimpl.C: call hideSplash()
11320
11321         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11322
11323         * include_form.h:
11324         * bibforms.h: remove
11325
11326         * lyxfunc.C:
11327         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11328           add LFUN_CHILD_CREATE
11329
11330         * counters.h: fix tiny typo
11331
11332         * lyx_cb.C:
11333         * lyx.h:
11334         * lyx_gui.C:
11335         * lyx.C: move splash to frontends/xforms/
11336
11337         * lyx_gui_misc.C: move Include and Bibform to frontends
11338
11339         * lyxvc.h: clarify comment
11340
11341         * vspace.C: tiny housekeeping
11342
11343 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11344
11345         * text.C (PrepareToPrint): RTL Fix.
11346
11347         * paragraph.C (GetUChar): New method.
11348         (String):  Use GetUChar.
11349
11350         * buffer.C (asciiParagraph): Use GetUChar.
11351
11352 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11355
11356 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * buffer.h:
11359         * buffer.C: rename to getLogName(), handle
11360           build log / latex log nicely
11361
11362 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11363
11364         * MenuBackend.C:
11365         * MenuBackend.h: remove support for reference menuitem type.
11366
11367 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * BufferView_pimpl.C: housekeeping
11370         * BufferView_pimpl.h:
11371         * LyXView.h:
11372         * Makefile.am:
11373         * Timeout.C:
11374         * Timeout.h:
11375         * minibuffer.h: move Timeout GUI-I
11376
11377 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11378
11379         * lyxrc.C (read): Update converters data-structures.
11380
11381 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11382
11383         * LaTeX.h (operator!=): add operator != for Aux_Info
11384
11385 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11388
11389         * LaTeXLog.C: deleted, useful code moved to Buffer
11390
11391         * buffer.h:
11392         * buffer.C: new function getLatexLogName()
11393
11394         * lyx_gui_misc.C:
11395         * lyx_gui.C:
11396         * lyxvc.C:
11397         * lyxvc.h:
11398         * lyxfunc.C: use frontends for LaTeX and VC logs
11399
11400 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * LaTeX.h: yet another std:: that Allan forgot.
11403
11404         * Variables.C (set): renamed from isset(), because this clashes
11405         with some HP-UX macros (grr).
11406
11407 2001-02-06  Allan Rae  <rae@lyx.org>
11408
11409         * LaTeX.h: Another bug fix.  Missing std:: this time.
11410
11411 2001-02-04  Allan Rae  <rae@lyx.org>
11412
11413         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11414         floats problem. I've left it commented out because it's not quite
11415         correct.  It should also test that the current object is a table or
11416         figure inset.  But I haven't gotten around to figuring out how to do
11417         that.  I *think* it'll be something like: "table" == inset.type()
11418
11419         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11420         bool.
11421
11422 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11423
11424         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11425         all the citation/databases/styles in the auxilary file.
11426         (run): Rerun latex if there was a babel language error.
11427
11428 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11429
11430         * text.C (Backspace): Preserve the font when changing newline char
11431         with a space.
11432         (BreakParagraph): If the cursor is before a space, delete the space.
11433
11434         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11435
11436 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11437
11438         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11439         new argument (code).
11440         (ChangeCitationsIfUnique): New method.
11441
11442         * paragraph.C (GetPositionOfInset): Handle bibkey.
11443
11444 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * BufferView_pimpl.h: change type of Position::par_pos to
11447         LyXParagraph::size_type.
11448
11449 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * BufferView_pimpl.C (savePosition, restorePosition): Write
11452         messages to minibuffer.
11453
11454 2001-01-28  José Matos  <jamatos@fep.up.pt>
11455
11456         * buffer.C (makeDocBookFile): adds support for document language.
11457         A silly restriction on the name of LatexCommand types where removed.
11458         Added support for CDATA sections, allows to chars unescaped, used
11459         among others in code, to avoid escape < and >.
11460
11461 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11462
11463         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11464         saved positions instrad of a stack. Furthermore, a position is
11465         stored using paragraph id/paragraph position.
11466
11467         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11468         Remove LFUN_REF_BACK.
11469
11470 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11471
11472         * converter.C (dvipdfm_options): New method.
11473
11474 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11475
11476         * vspace.C (isValidLength): Fix for empty input string.
11477
11478 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11479
11480         * LyXAction.C (init): change description of LFUN_FIGURE to
11481         "Insert Graphics"
11482
11483 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11484
11485         * LaTeX.C: add using directive
11486
11487 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * MenuBackend.C (expand): Fix the sorting of the formats.
11490
11491 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * lyx_main.C: tiny error message fix
11494
11495 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11496
11497         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11498         calling fl_initialize(). This fixes the problem with ',' as
11499         decimal separator in text files.
11500
11501 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11502
11503         * trans.C (process): Fix the keymap bug.
11504
11505 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11506
11507         * LaTeX.C (scanAuxFiles): New method. Provides support for
11508         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11509         (scanLogFile) Scan for "run BibTeX" messages.
11510
11511         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11512         OT1 font encoding. Also, load the aecompl package if the ae
11513         package is loaded.
11514
11515         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11516
11517 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11518
11519         * texrow.C (increasePos): turn two error messages into debug
11520         messages.
11521
11522 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11523
11524         * LaTeX.C (scanAux): Handle the \@input macro.
11525         (runBibTeX): Use scanAux().
11526
11527         * language.C (latex_options_): New field.
11528
11529         * LaTeXFeatures.C (getMacros): Add language macros.
11530
11531         * buffer.C (makeLaTeXFile): Small fix.
11532
11533 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11534
11535         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11536
11537         * text2.C: add a using directive.
11538
11539 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * BufferView2.C:
11542         * lyx_gui_misc.h:
11543         * lyxfr1.C:
11544         * lyxfunc.C: kill LyXBell.
11545
11546 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11547
11548         * text.C (IsBoundary): Remove the error message
11549
11550         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11551
11552         * lyxrc.C (setDefaults): Correct initialization value for
11553         font_norm_type.
11554
11555 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11556
11557         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11558         gotoError().
11559
11560         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11561         and GotoNextNote().
11562
11563         * src/LyXAction.C: Added reference-next.
11564
11565         * text.C (InsertChar): Use contains instead of strchr.
11566
11567         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11568
11569 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11570
11571         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11572         alignment commands (when needed).
11573
11574         * text.C (InsertChar): Add ':' to number separator chars.