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