]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
da9c31955db901f9070c23e0a642258ae5d29842
[lyx.git] / src / ChangeLog
1
2 2004-02-20  André Pönitz  <poenitz@gmx.net>
3
4         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
5
6 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * text2.C (setCursorFromCoordinates): switch to absolute coords
9         (cursorUp): adjust
10         (cursorDown): adjust
11         * text3.C (dispatch): adjust
12
13 2004-02-16  André Pönitz  <poenitz@gmx.net>
14
15         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
16           insets/ChangeLog)
17
18         * cursor_slice.[Ch]: remove unneeded acessor function
19
20         * lyxtext.h: rename rtl() to isRTL()
21
22         * rowpainter.C:
23         * tabular.C:
24         * text.C:
25         * text2.C:
26         * text3.C: adjust
27
28
29 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * rowpainter.C (paintSelection): coord fix
32
33 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
34
35         * Spacing.C: compile fix
36
37 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
38
39         * cursor.C (dispatch): restore current_ before returning
40
41 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * text2.C (cursorUp, cursorDown): fix coords
44         (moveUp): fix crash
45
46 2004-02-12  André Pönitz  <poenitz@gmx.net>
47
48         * lyxtext.h:
49         * text.C:
50         * text2.C:
51         * text3.C: add LCursor & parameter to most cursor movement functions
52           remove usage of LyXText::cursorRow() and cursorPar()
53
54         * cursor.[Ch]: add textRow() needed members
55
56         * BufferView.C:
57         * BufferView_pimpl.C:
58         * paragraph.[Ch]:
59         * BufferView.C:
60         * BufferView_pimpl.C: adjust
61
62 2004-02-11  André Pönitz  <poenitz@gmx.net>
63
64         * lyxfunc.C:
65         * BufferView.[Ch]:
66         * BufferView_pimpl.C: shift undo/redo handling
67
68         * cursor.[Ch]: fix mathed crash
69
70         * lyxfind.C:
71         * lyxtext.h: move selectionAsText to LCursor
72
73         * output_latex.C:
74         * paragraph.C:
75         * text.C:
76         * text2.C:
77         * text3.C: adjust
78
79         * rowpainter.C: fix excessive drawing
80
81 2004-02-06  André Pönitz  <poenitz@gmx.net>
82
83         * BufferView.[Ch]:
84         * BufferView_pimpl.[Ch]:
85         * text3.C: move some text specific LFUN handling
86
87 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
88
89         * text3.C (checkInsetHit): adjust coords
90         * text2.C (getColumnNearX): adjust coords
91         (edit): adjust coords
92         * text.C (getRowNearY): add two asserts
93
94 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * converter.C:
97         * format.C: add using std::distance to compile on gcc 2.95/stlport
98
99 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
102
103 2004-02-04  André Pönitz  <poenitz@gmx.net>
104
105         * BufferView.[Ch] (insertInset):
106         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
107
108         * text2.C:
109         * text3.C: adjust
110
111 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
112
113         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
114         on the default clause of the switch
115         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
116         wasn't catched by LCursor::dispatch
117
118 2004-02-03  André Pönitz  <poenitz@gmx.net>
119
120         * BufferView.C:
121         * cursor.[Ch]: some additional asserts
122
123         * undo.[Ch]: remove LyXText dependency in interface
124
125         * lyxfunc.C: adjust
126
127         * lyxtext.h (firstPar, lastPar): remove dead functions 
128
129         * text.C:
130         * text2.C:
131         * text3.C:
132         * paragraph.[Ch]: adjust
133
134 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * lyxfind.C (find): fix argument order in call to ::find
137
138 2004-02-02  André Pönitz  <poenitz@gmx.net>
139
140         * cursor.[Ch]: remove direct access to anchor
141
142         * text.C: remove findText() hack
143
144 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * iterators.[Ch] (lockPath): remove in favour of...
147         * BufferView.[Ch] (setCursor): this addition
148         * BufferView.C (putSelectionAt): adjust
149         * undo.C (performUndoOrRedo): adjust
150         * lyxfunc.C (dispatch): adjust
151
152 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
153
154         * iterators.C (lockPath): add a missing slice
155         * undo.C (performUndoOrRedo): remove redundant positioning code
156
157 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
158
159         * vc-backend.C (scanMaster): ";" -> ';'
160
161 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
162
163         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
164         std::binary_function
165
166         * lyxtextclass.C (compare_name): rename to...
167         (LayoutNamesEqual): ...this
168
169         * lyxlex_pimpl.C (compare_tags): inherit from
170         std::binary_function, put back into anon namespace
171
172         * lyxfind.C (MatchString): inherig from std::binary_function
173         (findChange): use empty() istead of !size()
174
175         * format.C (FormatNamesEqual): new functor
176         (getFormat): use it
177         (getNumber): use it
178         (add): use it
179         (erase): use it
180         (setViewer): use it
181
182         * converter.C (compare_Converter): rename to...
183         (ConverterEqual): ...this, and fixup a bit.
184         (getConverter): use it, and make function const
185         (getNumber): use it, and make function const
186         (add): use it
187         (erase): use it:
188
189         * bufferlist.C: add using boost::bind
190
191         * MenuBackend.C (MenuNamesEqual): new functor
192         (hasMenu): use it, and make function const
193         (hasSubmenu): use nested bind to get rid of compare_memfun.
194
195 2004-01-30  André Pönitz  <poenitz@gmx.net>
196
197         * BufferView_pimpl.C:
198         * cursor.C:
199         * cursor.h:
200         * cursor_slice.[Ch]:
201         * lyxfunc.C:
202         * lyxtext.h:
203         * paragraph_funcs.C:
204         * paragraph_funcs.h:
205         * rowpainter.C:
206         * text.C:
207         * text2.C:
208         * text3.C: move some of the edit(x,y) handling to the insets
209         some coordinate changes.
210
211 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
212
213         * text.C: add using statements for std::advance and std::distance
214
215         * paragraph.C: add using statement for std::distance
216
217         * lyxfind.C: add using statement for std::advance
218
219         * cursor.C (region): remove std:: from swap
220         (openable): use nucleus in stead of operator->
221
222         * BufferView.C: add using statements for std::distance and std::swap
223
224 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * iterators.C: Remove the pimple, move the needed structures to
227         the header file. Create accessor for the positions stack.
228         (asPosIterator): remove function
229
230         * PosIterator.C (PosIterator): move constructors to top of file
231         (PosIterator): reimplement the constructor taking a ParIterator in
232         terms of setFrom.
233         (setFrom): new function
234         (operator!=): inline it
235
236 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
237
238         * lyxfind.C (replaceAll): use std::advance
239
240         * iterators.h: inherit from std::iterator.
241
242         * PosIterator.C (advance, distance): remove
243         * PosIterator.h: interit from std::iterator.
244
245 2004-01-26  André Pönitz  <poenitz@gmx.net>
246
247         * BufferView.[Ch]:
248         * BufferView_pimpl.[Ch]:
249         * InsetList.[Ch]:
250         * PosIterator.[Ch]:
251         * buffer.h:
252         * bufferview_funcs.C:
253         * cursor.[Ch]:
254         * cursor_slice.h:
255         * factory.[Ch]:
256         * iterators.[Ch]:
257         * lyxfind.C:
258         * lyxfunc.C:
259         * lyxtext.h:
260         * output_docbook.C:
261         * output_latex.C:
262         * output_linuxdoc.C:
263         * output_plaintext.C:
264         * paragraph.[Ch]:
265         * paragraph_funcs.[Ch]:
266         * paragraph_pimpl.[Ch]:
267         * rowpainter.C:
268         * tabular.C:
269         * tabular.h:
270         * text.C:
271         * text2.C:
272         * text3.C: more IU:  dumps most of the rest of the mathcursor
273     implementation into cursor.[Ch]; "globalize" a bit of it.
274
275 2004-01-25  Angus Leeming  <leeming@lyx.org>
276
277         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
278
279 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * LaTeXFeatures.h: add nice_ and nice() const
282         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
283
284 2004-01-20  André Pönitz  <poenitz@gmx.net>
285
286         * BufferView.[Ch]:
287         * BufferView_pimpl.C:
288         * PosIterator.C:
289         * bufferview_funcs.C:
290         * cursor.[Ch]:
291         * cursor_slice.[Ch]:
292         * factory.C:
293         * iterators.C:
294         * lyx_cb.C:
295         * lyxfind.C:
296         * lyxfunc.C:
297         * lyxtext.h:
298         * rowpainter.C:
299         * text.C:
300         * text2.C:
301         * text3.C:
302         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
303           LCursor and mathcursor parts to LCursor and InsetBase.
304
305 2004-01-15  André Pönitz  <poenitz@gmx.net>
306
307         * cursor_slice.[Ch]: add a few covienience functions
308
309         * funcrequest.[Ch]: remove BufferView * member
310
311         * BufferView_pimpl.C:
312         * cursor.C:
313         * factory.[Ch]:
314         * lyxfind.[Ch]:
315         * lyxfunc.C:
316         * lyxtext.h:
317         * text3.C:
318         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
319
320 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
323         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
324
325 2004-01-13  André Pönitz  <poenitz@gmx.net>
326
327         * textcursor.[Ch]:
328         * lyxtext.h: hide cursor and selection anchor behind accessor function
329
330         * BufferView.C:
331         * BufferView_pimpl.[Ch]:
332         * PosIterator.C:
333         * bufferview_funcs.C:
334         * cursor.h:
335         * lyxfind.C:
336         * lyxfunc.C:
337         * text.C:
338         * text2.C:
339         * text3.C:
340         * undo.C: adjust
341
342         * cursor.h:
343         * cursor_slice.[Ch]: some integer type changes for inset unification
344
345         * lyxcursor.[hC]: remove, it's CursorSlice now.
346
347         * Makefile.am:
348         * BufferView_pimpl.[Ch]:
349         * bufferview_funcs.C:
350         * cursor_slice.C:
351         * lyxtext.h:
352         * text.C:
353         * text2.C:
354         * text3.C:
355         * textcursor.[Ch]: adjust
356
357 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * text2.C (undoSpan): add and use
360         * text.C (breakParagraph): use undoSpan (fix bug 578)
361         * lyxtext.h: adjust
362
363 2004-01-08  Angus Leeming  <leeming@lyx.org>
364
365         * BufferView_pimpl.C (MenuInsertLyXFile):
366         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
367         * lyxfunc.C (menuNew, open, doImport):
368         FileFilterList change to the FileDialog open and save functions.
369
370 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * ShareContainer.h: make isEqual and isUnique adaptable
373
374         * CutAndPaste.C: make resetOwnerAndChanges adaptable
375
376 2004-01-07  Angus Leeming  <leeming@lyx.org>
377
378         * LyXAction.C:
379         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
380
381         * BufferView_pimpl.C (dispatch): act on these LFUNs.
382
383         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
384         functions replacing find, replace and replaceAll.
385
386         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
387         LFUN_WORDFIND(FORWARD|BACKWARD).
388
389 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
390
391         * text.C (breakParagraph): remove an outdated #warning
392
393 2004-01-07  André Pönitz  <poenitz@gmx.net>
394
395         * lyxfind.C: somewhat clearer logic
396
397         * text.C: prevent crash in cursorX on unitialized row cache
398
399 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * lyxcursor.[Ch] (operator>): add
402         * textcursor.C (selStart, selEnd): use std::min and std::max
403
404 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * Chktex.C: include boost/format.hpp
407
408 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
409
410         * InsetList.C: replace functor MathcIt with adaptable functor
411         InsetTablePosLess
412         (insetIterator): modify accordingly
413
414         * BranchList.h: move the BranchNamesEqual functor here from...
415         * BranchList.C: ... to here
416
417         * BranchList.C: new BranchListEqual fuctor, use it. Remove
418         SameName and match.
419         (add): replace a finding loop with std::find_if.
420
421 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * output_docbook.C: moving LatexParam functionality into
424         .layout files
425
426 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
427
428         * buffer.C: increment format to 229.
429
430 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
431
432         * LaTeXFeatures.C:
433         * lyx_sty.[Ch]: remove minipageindent_def
434
435         * LyXAction.C:
436         * factory.C:
437         * lfuns.h:
438         * lyxfunc.C:
439         * text3.C: remove LFUN_INSET_MINIPAGE
440
441 2003-12-28  Angus Leeming  <leeming@lyx.org>
442
443         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
444
445 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * text2.C (setParagraph): fix off-by-one crash
448
449 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
450
451         * output_docbook.C: header stuff for AGU
452
453 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
454
455         * text2.C (redoCursor): remove
456         * text.C:
457         * text3.C:
458         * BufferView_pimpl.C: remove calls to redoCursor and
459         setCursor(cursor.par(), cursor.pos()) all around
460
461 2003-12-15  Angus Leeming  <leeming@lyx.org>
462
463         * buffer.C: up the format to 228.
464
465 2003-12-15  André Pönitz  <poenitz@gmx.net>
466
467         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
468         slices
469
470         * Makefile.am:
471
472         * BufferView_pimpl.C:
473         * cursor.[Ch]:
474         * lyxcursor.[Ch]:
475         * rowpainter.[Ch]:
476         * lyxtext.h:
477         * text.C:
478         * text2.C:
479         * text3.C: adjust
480
481 2003-12-15  Angus Leeming  <leeming@lyx.org>
482
483         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
484         than getFromGUIName to manipulate the color.
485
486 2003-12-14  Angus Leeming  <leeming@lyx.org>
487
488         * BranchList.[Ch]: minimize the API.
489         (Branch::getBranch, getColor): now return a 'const &'.
490         (Branch::setSelected) now returns a bool set to true if the
491         selection status changes.
492         (BranchList::clear, size, getColor, setColor, setSelected,
493         allBranches, allSelected, separator): removed.
494         (BranchList::find): new functions, returning the Branch with
495         the given name.
496         (BranchList::add, remove): return a bool indicating that
497         the operation was successful.
498
499         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
500         new InsetBranch::isBranchSlected member function.
501
502         * LColor.[Ch]: mimimize the API.
503         (fill): renamed as addColor and made private.
504         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
505         versions of these functions taking a string arg have been removed.
506
507         * bufferparams.C (readToken):
508         * lyxfunc.C (dispatch):
509         * lyxrc.C (read): changes due to the altered BranchList and
510         LColor APIs.
511
512         * factory.C (createInset, readInset): changes due to altered
513         InsetBranch c-tor.
514
515 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * factory.C:
518         * lyxfunc.C: remove insetminipage. "minipage-insert"
519         now produces a frameless minipage box inset.
520
521 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
522
523         * textcursor.[Ch] (selStart,selEnd): add new methods
524         remove selection::start, end, use LyXCursor::operator<
525         * lyxcursor.[Ch] (operator<): add
526         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
527         * BufferView.[Ch] (unsetXSel): add
528         * text2.C (clearSelection): use unsetXSel,adjust
529         * text.C: adjust
530         * text3.C: adjust
531         * rowpainter.C: adjust
532         * bufferview_funcs.C (put_selection_at): adjust
533
534 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * BufferView_pimpl.C: small coord. correction
537
538 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
541         dragging over the splash screen.
542
543 2003-12-11  Angus Leeming  <leeming@lyx.org>
544
545         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
546         as it is now handled in LyXText::dispatch.
547
548         * text3.C (doInsertInset): remove a level of nesting.
549
550 2003-12-11  Angus Leeming  <leeming@lyx.org>
551
552         * factory.C (createInset): changes due to the changed interface to
553         InsetCommandMailer::string2params.
554
555 2003-12-10  Angus Leeming  <leeming@lyx.org>
556
557         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
558         'dialog-show-new-inset <inset name>'
559
560 2003-12-10  Angus Leeming  <leeming@lyx.org>
561
562         * buffer.C: up the format to 227.
563
564         * factory.C: the box inset is now identified simply by 'Box'.
565
566 2003-12-10  Angus Leeming  <leeming@lyx.org>
567
568         * buffer.C: up the format to 226.
569
570         * factory.C: the note inset is now identified simply by 'Note'.
571
572 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
573
574         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
575         when a pit is enough. Standarize a couple of loops.
576
577 2003-12-05  Angus Leeming  <leeming@lyx.org>
578
579         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
580         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
581         data to the re-worked "log" dialog.
582
583 2003-12-03  André Pönitz  <poenitz@gmx.net>
584
585         * PosIterator.C:
586         * iterators.C:
587         * lyxtext.h:
588         * output_latex.C:
589         * paragraph_funcs.C:
590         * text.C:
591         * text2.C: use Inset::getText instead of Inset::getParagraph
592
593 2003-12-03  André Pönitz  <poenitz@gmx.net>
594
595         * buffer.[Ch]:
596         * lyxtext.h:
597         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
598         InsetText::read() as LyXText::read()
599
600 2003-12-02  Angus Leeming  <leeming@lyx.org>
601
602         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
603         type. Add a comment in the implementation that the function uses
604         the stream's bad() function rather than fail() as the std::streams
605         would do.
606
607 2003-12-02  André Pönitz  <poenitz@gmx.net>
608
609         * lyxlex.[Ch]: make interface more similar to std::stream
610
611         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
612
613 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
616
617 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
618
619         * vspace.[Ch]: remove VSpace::NONE
620
621 2003-12-01  André Pönitz  <poenitz@gmx.net>
622
623         * buffer.[Ch]:
624         * lyxtext.h: move ParagraphList member to LyXText
625         rename LyXText::ownerParagraphs to LyXText::paragraph
626
627         * CutAndPaste.C:
628         * bufferview_funcs.C:
629         * iterators.[Ch]:
630         * lyx_cb.C:
631         * paragraph.C:
632         * rowpainter.C:
633         * tabular.C:
634         * text.C:
635         * text2.C:
636         * text3.C: adjust
637
638         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
639
640         * undo.C: fix cursor positioning
641
642 2003-12-01  John Levon  <levon@movementarian.org>
643
644         * BufferView_pimpl.C: fix a crash on exit with
645         a buffer open
646
647 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * BranchList.C: fix setSelected() method.
650
651 2003-11-28  André Pönitz  <poenitz@gmx.net>
652
653         * ParagraphParameters.[Ch]:
654         * ParameterStruct.h: remove space above/below from Paragraph to
655          InsetVSpace
656
657         * BufferView_pimpl.C:
658         * factory.C:
659         * lyxfunc.C:
660         * lyxtext.h:
661         * output_latex.C:
662         * paragraph.C:
663         * paragraph_funcs.C:
664         * rowpainter.[Ch]:
665         * text.C:
666         * text2.C:
667         * text3.C: adjust
668
669 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
670
671         * factory.C: Syntax change for CharStyles
672
673 2003-11-28  André Pönitz  <poenitz@gmx.net>
674
675         * BufferView.[Ch]:
676         * BufferView.[Ch]:
677         * buffer.[Ch]:
678         * buffer.[Ch]: move LyXText member
679
680 2003-11-28  André Pönitz  <poenitz@gmx.net>
681
682         * BufferView.[Ch]: make LyXText * text a private member
683
684         * BufferView_pimpl.C:
685         * cursor.C:
686         * iterators.C:
687         * lyx_cb.C:
688         * lyxfind.C:
689         * lyxtext.h:
690         * rowpainter.[Ch]:
691         * text.C:
692         * text2.C:
693         * undo.C: adjust
694
695         * output_plaintext.C: cleanup
696
697 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * buffer.C:
700         * lyxtextclass.[Ch]: parametrize SGML document header
701
702 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
703
704         * converter.[Ch]:
705         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
706         getFlavor().
707
708 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
709
710         * text2.C (setFont): rework using PosIterator (no more recursive)
711         (setCharFont): no more needed
712         (setLayout): no more selection cursors fiddling (done by redoCursor)
713         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
714         destroy remaining ones)
715
716 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
717
718         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
719         * lyxtext.h: ditto
720         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
721         selection cursors
722         * lyxfunc.C: adjust
723         * text3.C: adjust + re-allow multi par depth changes
724         * textcursor.C: simplify a bit
725
726 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
727
728         * src/buffer.C:
729         * src/lyxlayout.C:
730         * src/lyxlayout.h:
731         * src/lyxtext.h:
732         * src/output_docbook.C:
733         * src/output_latex.C:
734         * src/paragraph.C:
735         * src/paragraph.h:
736         * src/sgml.C:
737         * src/sgml.h:
738         * src/text2.C: Introducing a number of tags parametrizing various
739         XML formats that we may want to support
740
741 2003-11-25  André Pönitz  <poenitz@gmx.net>
742
743         * InsetList.[Ch] (begein, end): inline as suggested by profiler
744
745         * lyxtext.h (leftMargin/rightMargin): simplify interface
746
747         * rowpainter.C:
748         * text.C:
749         * text2.C:
750         * text3.C: adjust
751
752 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
753
754         * lyxfunc.C (dispatch): propogate the bibtex databases from the
755         master file to any child files. Fixes bug 546.
756
757 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
760
761 2003-11-24  André Pönitz  <poenitz@gmx.net>
762
763         * rowpainter.C: simplification
764
765         * text2.C (updateCounters): remove call to redoParagraph on
766         changed labels as this is far too expensive.
767
768 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * converter.C (convert): fix a crash: this function gets
771         called with buffer == 0 from importer code.
772
773 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
774
775         * text3.C (cursorPrevious): make sure that we do not compare
776         iterators form different containers.
777         (cursorNext): ditto
778
779         * rowpainter.C (paintSelection): make sure that we do not compare
780         iterators from different containers.
781
782         * text3.C (dispatch): [PRIOR] make sure that we do not compare
783         iterators from different ParagraphList containers.
784         [NEXT] ditto
785
786         * text2.C (LyXText): change order of initialization slightly
787         (operator=): new function. copy all variables except cache_par_
788         (moveUp): make sure that we do not compare iterators from
789         different ParagraphList constainers.
790         (moveDown): ditto
791
792         * text.C (firstPar): new function
793         (lastPar): new function
794         (endPar): new function
795
796         * lyxtext.h: move things around and group public functions, public
797         variables, private functions, private variables
798
799 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
800
801         * factory.C: change call to InsetERT constructor to avoid
802         additional invocation of method status
803         * text2.C (toggleInset): remove redundant update() call
804         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
805         instead of a Bufferview pointer
806
807 2003-11-21  André Pönitz  <poenitz@gmx.net>
808
809         * rowpainter.C: simplification
810
811 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
812
813         * text3.C (dispatch): make possible to extend a word/row selection
814         with the mouse
815
816 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * lyxtext.h: x0_,y0_ -> xo_,yo_
819         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
820         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
821         * rowpainter.C (paintRows): paint full paragraphs
822
823 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
824
825         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
826         screen coordinates)
827
828 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * lyxtext.h: add x0_, y0_
831         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
832         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
833
834 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * text2.C (setCursorIntern): move the x_target update here *
837         * text3.C: change some bv() to true/false in calls to
838         cursorUp/Down/Right/Left
839         * cursor.C: use helper function.
840
841 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
842
843         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
844         * paragraph_funcs.[Ch]: correct comment
845         * rowpainter.C: do not paint selections away from bv->cursor()
846         Fix a long standing selection painting bug.
847         * text3.C: generalize mouse-selection code to LyXTexts other that
848         top one
849         * textcursor.C: do not use y coords if we can use par offsets
850
851 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
852
853         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
854         cursor position after e.g. inset insert)
855
856 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * lyxfind.C (replace): adjust to locking removal + some
859         code simplification
860
861 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
862
863         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
864         of the path
865
866 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
867
868         * lyxlayout.[Ch]:
869         * output_docbook.C: XML sanitation: new layout
870         parameters InnerTag and CommandDepth
871
872 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
873
874         * BufferView_pimpl.C:
875         * factory.C:
876         * text3.C: Fix the insertion and modification of button-style
877         insets
878
879 2003-11-13  André Pönitz  <poenitz@gmx.net>
880
881         * InsetList.[Ch]: remove deleteLyXText
882
883         * paragraph.[Ch]: cache beginOfBody position
884
885         * Bidi.C:
886         * text.C:
887         * text2.C:
888         * text3.C: remove superfluous update() calls
889
890         * vspace.C: cleanup
891
892 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
893
894         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
895         * BufferView.C (fitLockedInsetCursor): remove
896         * cursor.[Ch] (getDim): add
897         * text.C (getRowNearY): add faster version
898         * text3.C: remove some update calls
899
900 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
901
902         * LaTeXFeatures.C:
903         * LyXAction.C:
904         * MenuBackend.C:
905         * MenuBackend.h:
906         * dispatchresult.h:
907         * factory.C:
908         * lfuns.h:
909         * lyxfunc.C:
910         * lyxtextclass.C:
911         * lyxtextclass.h:
912         * text3.C: The Character Style /XML short element patch.
913
914 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * text3.C:
917         * factory.C: Small step to solving 'unable to insert some insets'
918         problem
919
920 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * cursor.[Ch] (updatePos): new function for updating the y
923         position of the tip inset
924         * bufferview_funcs.C (put_selection_at):
925         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
926
927 2003-11-11  André Pönitz  <poenitz@gmx.net>
928
929         * text.C: remove big comment on invalid Paragraph pointers as it is
930         not valid anymore
931
932 2003-11-11  André Pönitz  <poenitz@gmx.net>
933
934         * text_funcs.[Ch]: merge with ...
935
936         * text.C: ... this
937
938         * lyxtext.h:
939         * text2.C:
940         * text3.C: adjust
941
942         * Makefile.am: remove text_funcs.[Ch]
943
944 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
945
946         * cursor.C (getPos): return absolute cached y coord
947
948         * BufferView_pimpl.C (fitCursor): new simplistic code
949         (workAreaDispatch): add a fitCursor call
950
951 2003-11-10  André Pönitz  <poenitz@gmx.net>
952
953         * BufferView.[Ch]:
954         * BufferView_pimpl.[Ch]: merge update() and updateInset()
955
956 2003-11-10  André Pönitz  <poenitz@gmx.net>
957
958         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
959         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
960         indicate that the cursor needs to leave an inset
961
962         * lyxtext.h: remove inset locking
963
964         * cursor.[Ch]: re-implement functionality provided by inset locking
965
966         * BufferView.[Ch]:
967         * BufferView_pimpl.[Ch]:
968         * LyXAction.C:
969         * bufferview_funcs.[Ch]:
970         * factory.C:
971         * funcrequest.[Ch]:
972         * iterators.C:
973         * lyx_cb.C:
974         * lyxfind.C:
975         * lyxfunc.C:
976         * text.C:
977         * text2.C:
978         * text3.C:
979         * undo.C: adjust
980
981 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
982
983         * PosIterator.[Ch]: replace the stack with a vector, add inset
984         accesor
985         * iterators.[C]: adjust
986
987 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
988
989         * lyxfind.C (replaceAll): mark the buffer dirty if something was
990         replaced
991         * paragraph_funcs.C (readParToken): put the correct id in the
992         error item, not the id of the top paragraph
993
994 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
995
996         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
997         * bufferview_funcs.C (put_selection_at): use the above
998
999 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1000
1001         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1002
1003 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1004
1005         * output_linuxdoc.h:
1006         * output_plaintext.h:
1007         * output.h:
1008         * output_docbook.h: add #include statements
1009
1010 2003-11-05  José Matos  <jamatos@lyx.org>
1011
1012         * output_docbook.[Ch]:
1013         * output_latex.[Ch]:
1014         * output_linuxdoc.[Ch]:
1015         * output_plaintext.[Ch]: New files for output formats.
1016         * output.[Ch]: New file for helper functions.
1017
1018         * buffer.[Ch]:
1019         * paragraph_funcs.[Ch]: output functions moved to new files.
1020
1021         * outputparams.h: rename of latexrunparams.h
1022
1023         * LaTeX.[Ch]:
1024         * buffer.[Ch]:
1025         * bufferlist.[Ch]:
1026         * converter.[Ch]:
1027         * exporter.C:
1028         * paragraph.[Ch]:
1029         * paragraph_funcs.[Ch]:
1030         * paragraph_pimpl.[Ch]:
1031         * tabular.[Ch]: rename ascii to plaintext
1032         and LatexRunParams to OutputParams.
1033
1034 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1035
1036         * iterators.[Ch] (text): require bv argument
1037         * undo.C (recordUndo):
1038         * lyxfunc.C (dispatch):
1039         * bufferview_funcs.C (put_selection_at): adjust
1040
1041 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1042
1043         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1044
1045 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1046
1047         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1048         nestings
1049
1050 2003-11-04  André Pönitz  <poenitz@gmx.net>
1051
1052         * cursor.[Ch]: restructure
1053
1054         * BufferView.[Ch]:
1055         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1056
1057         * iterators.[Ch] (asCursor): remove
1058
1059         * lfuns.h: remove LFUN_INSET_EDIT
1060
1061         * lyxfunc.C:
1062         * tabular.C:
1063         * text.C:
1064         * text2.C:
1065         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1066
1067 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1068
1069         * lyxfind.[Ch]: complete overhaul
1070         * BufferView_pimpl.C:
1071         * lyxfunc.C: adjust
1072         * paragraph.[Ch] (insert): add
1073
1074 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * BufferView.[Ch]:
1077         * lyxtext.h:
1078         * text.C: remove dead spellcheck code
1079
1080 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1081
1082         * dispatchresult.h: add a val setter
1083
1084         * cursor.C (dispatch): use a tempvar for data_[i]
1085
1086 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1087
1088         * PosIterator.[Ch]: compile fix
1089
1090 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1091
1092         * text.C (cursorPar): deactivate the cursor cache
1093
1094 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1095
1096         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1097
1098 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1099
1100         * text3.C (dispatch): adjust for new DisptchResult semantics.
1101
1102         * lyxfunc.C (dispatch): handle update when return from
1103         Cursor::dispatch, adjust for new DispatchResult semantics.
1104
1105         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1106         DispatchResult(true) mean to not update. Add class functions for
1107         setting dispatched and update, as well as reading.
1108
1109         * cursor.C (dispatch): don't handle update here
1110
1111 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1112
1113         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1114         * trans_mgr.C: adjust
1115
1116         * paragraph_funcs.C (readParToken): exception safety
1117
1118         * lyxvc.h: store the vcs pointer in a scoped_ptr
1119         * lyxvc.C: adjust
1120
1121         * lyxsocket.C (serverCallback): exception safety
1122
1123         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1124
1125         * ispell.C (clone): make it return a auto_ptr
1126
1127         * factory.C (createInset): exception safety
1128         (readInset): exception safety
1129
1130         * bufferlist.C (newBuffer): exception safety
1131
1132         * Thesaurus.C (Thesaurus): use initialization for aik_
1133
1134         * MenuBackend.C (expandToc): exception safety.
1135
1136 2003-11-03  André Pönitz  <poenitz@gmx.net>
1137
1138         * buffer.C:
1139         * buffer.h:
1140         * bufferview_funcs.C: remove getInsetFromId()
1141
1142         * lyxcursor.[Ch]:
1143         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1144
1145         * lyxfunc.C:
1146         * text2.C:
1147         * text3.C: adjust
1148
1149 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1150
1151         * PosIterator.C (distance, advance): new
1152         * bufferview_funcs.[Ch] (put_selection_at): new
1153         * iterators.[Ch] (lockPath): new
1154
1155 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * iterators.[Ch] (asPosIterator): added
1158         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1159         * PosIterator.[Ch]: added
1160
1161 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1162
1163         * text3.C:
1164         * lyxfunc.C:
1165         * cursor.C (dispatch):
1166         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1167
1168         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1169         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1170         contructor, add a class function dispatched. Remove operator>=
1171
1172 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1173
1174         * debug.C: only use the default constructor for debugstream
1175         (lyxerr) here.
1176
1177         * main.C (main): include debug.h and setup the lyxerr streambuf
1178         here.
1179
1180 2003-10-31  José Matos  <jamatos@lyx.org>
1181
1182         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1183
1184         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1185         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1186         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1187         * paragraph_pimpl.C (simpleTeXSpecialC):
1188         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1189         add LatexRunParams argument.
1190
1191         * exporter.C (Export): change call accordingly.
1192
1193         * latexrunparams.h: add new member to take care of the other backends.
1194 2003-10-30  José Matos  <jamatos@lyx.org>
1195
1196         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1197         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1198         factorise code for paragraph output.
1199         * buffer.[Ch]:
1200         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1201         move functions.
1202
1203 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1204
1205         * text3.C (dispatch):
1206         * lyxfunc.C (dispatch):
1207         * cursor.C (dispatch):
1208         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1209
1210         * dispatchresult.h: make the dispatch_result_t ctor explicit
1211
1212 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1213
1214         * sgml.[Ch]:
1215         * buffer.C: small refactoring of docbook stuff
1216
1217 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1220         meaning.
1221
1222 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1223
1224         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1225         operator dispatch_result_t, and operators for == != and >=
1226
1227         * cursor.C (dispatch): adjust for operator dispatch_result_t
1228         removal. comment out call to update
1229
1230         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1231
1232 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * text3.C:
1235         * text2.C:
1236         * text.C:
1237         * lyxtext.h:
1238         * lyxfunc.C:
1239         * cursor.C:
1240         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1241         (dispatch):
1242
1243         * dispatchresult.h: new file, DispatchResult broken out of
1244         insets/insetbase.h
1245
1246         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1247
1248 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1249
1250         * text.C (rowBreakPoint): put a hack inside #if 0
1251
1252 2003-10-28  André Pönitz  <poenitz@gmx.net>
1253
1254         * lyxtext.h:
1255         * metricsinfo.C:
1256         * paragraph_funcs.C:
1257         * rowpainter.C:
1258         * text.C:
1259         * text2.C: general cleanup (lots of small stuff)
1260
1261 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1262
1263         * text2.C (cursorEnd): simple fix to the "end key goes to one
1264         before the end on last row" bug
1265
1266 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1267
1268         * text.C (backspace): fix the "zombie characters"
1269
1270 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1271
1272         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1273
1274 2003-10-27  André Pönitz  <poenitz@gmx.net>
1275
1276         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1277
1278         * factory.C: handle new InsetPagebreak, InsetLine
1279
1280         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1281         and move handling into new InsetPagebreak, InsetLine
1282
1283         * BufferView_pimpl.C:
1284         * LyXAction.C:
1285         * ParagraphParameters.C:
1286         * ParameterStruct.h:
1287         * lyxfunc.C:
1288         * lyxtext.h:
1289         * paragraph.C:
1290         * paragraph.h:
1291         * paragraph_funcs.C:
1292         * paragraph_pimpl.C:
1293         * rowpainter.C:
1294         * text.C:
1295         * text2.C:
1296         * text3.C: adjust
1297
1298 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1299
1300         * text.C:
1301         * lyxrow_funcs.[Ch]:
1302         * Bidi.C:
1303         * paragraph.C:
1304         * lyxtext.h:
1305         * rowpainter.C:
1306         * text2.C:
1307         * text3.C: remove lastPos uses in favour of Row::endpos
1308
1309 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1310
1311         * undo.C (performUndoOrRedo): fix two crashes by setting a
1312         cursor by hand and reordering some calls. Use bv->lockInset instead
1313         of inset->edit because the latter loses cursor information
1314
1315 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1316
1317         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1318         by Martin
1319         (rowBreakPoint): fix width. change point to point + 1.
1320         Add a missing check.
1321
1322 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * MenuBackend.C:
1325         * lyxfunc.C: fix (at least partly) the problems
1326         with the Nav menu and headers inside branch insets
1327         reported by Kayvan
1328
1329 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1330
1331         * paragraph.C (getChar): add strong asserts
1332
1333         * lyxrow_funcs.C (lastPos): remove hideous hack
1334
1335         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1336         (fill): adjust to that (avoid an infinite loop)
1337
1338 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1341
1342 2003-10-23  André Pönitz  <poenitz@gmx.net>
1343
1344         * RowList_fwd.h: change list<> to vector<> to gain speed
1345         after suggestion from Alfredo
1346
1347 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * lyxtext.h: move the bidi stuff from here...
1350         * text.C: and here
1351         * text2.C: and here
1352         * Bidi.[Ch]: ... to here
1353
1354 2003-10-23  André Pönitz  <poenitz@gmx.net>
1355
1356         * lyxtext.h:
1357         * text.C (isLastRow, isFirstRow): new functions
1358
1359         * paragraph.h: new width cache member
1360
1361         * rowpainter.C: replace RowList::iterator with Row & where possible
1362
1363         * lyxfunc.C: replace several view()->text with a single call
1364
1365         * toc.C: fix 'unused' warning
1366
1367 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1368
1369         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1370         when woring with stream::pos_type
1371         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1372
1373 2003-10-22  André Pönitz  <poenitz@gmx.net>
1374
1375         * lyxtext.h:
1376         * text.C: use Row & instead of RowList::iterator
1377
1378         * lyxrow.h: rename end() to endpos()
1379
1380         * rowpainter.C:
1381         * text.C:
1382         * text2.C: adjust
1383
1384 2003-10-22  Angus Leeming  <leeming@lyx.org>
1385
1386         * buffer.[Ch] (fully_loaded): new member function, returning true
1387         only when the file has been loaded fully.
1388         Used to prevent the premature generation of previews and by the
1389         citation inset to prevent computation of the natbib-style label.
1390
1391         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1392         templates are all set up.
1393
1394         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1395
1396 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1397
1398         * text.C: fixed an "oops" in the "is a bit silly"
1399         bug fix
1400
1401 2003-10-21  André Pönitz  <poenitz@gmx.net>
1402
1403         * FuncStatus.[Ch]: small stuff, whitespace
1404
1405         * lyxfont.[Ch]: operator<<() for debug reasons
1406
1407         * lyxfunc.C:
1408         * lyxrow_funcs.C:
1409         * lyxtext.h: whitespace, spelling
1410
1411         * paragraph.C: naming of variables
1412
1413         * text.C:
1414         * text2.C: small stuff
1415
1416
1417 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1418
1419         * text.C: (1) finish off the inset display() work;
1420         (2) fix the "is a bit silly" bug (accessing char
1421         past end of par).
1422
1423 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * text.C: re-introduce display() for insets, fixing the
1426         various bugs (stretch of line above, math inset
1427         positioning, ...)
1428
1429 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * text.C (rightMargin): remove spurious semicolon
1432
1433         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1434         1415)
1435
1436 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1437
1438         * text3.C: fix one crash due to wrong cursor def
1439
1440 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * vc-backend.C (scanMaster): make the regex static
1443
1444         * LaTeX.C (scanAuxFile): make the regexs static
1445
1446         * text3.C (doInsertInset, dispatch, dispatch):
1447         * text2.C (cursorUp, cursorDown):
1448         * text.C (selectNextWordToSpellcheck):
1449         * BufferView_pimpl.C (dispatch):
1450         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1451
1452 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * lyxsocket.C: include <cerrno>
1455
1456 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1457
1458         * lyxfunc.C (dispatch): remove textcache stuff
1459
1460         * bufferlist.C (release): remove textcache stuff
1461         (closeAll): ditto
1462
1463         * TextCache.C: delete file
1464         * TextCache.h: delete file
1465
1466         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1467
1468         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1469         delete of the bv_->text.
1470         (resizeCurrentBuffer): remove texcache stuff
1471         (workAreaResize): ditto
1472
1473 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1474
1475         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1476         action.
1477
1478 2003-10-16  André Pönitz  <poenitz@gmx.net>
1479
1480         * lyxrow.[Ch]:
1481         * paragraph.h:
1482         * rowpainter.C:
1483         * text.C:
1484         * text2.C:
1485         * text3.C: speed up by storing y positions per paragraph plus per-row
1486         offset instead of having a 'full' y position in the row.
1487
1488 2003-10-15  André Pönitz  <poenitz@gmx.net>
1489
1490         * iterators.[Ch]:
1491         * iterators.[Ch]:
1492         * undo.[Ch]: make undo aware of inner insets
1493
1494 2003-10-14  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1497         static member functions LyX::ref() and LyX::cref.
1498         (lastfiles): new accessor functions for the new lastfiles_ member var.
1499         (addLyXView, views_): add a new LyXView to the list of views_.
1500         (updateInset): loop over all LyXViews to call their own updateInset
1501         member function, returning a pointer to the Buffer owning the inset.
1502
1503         * BufferView_pimpl.C (loadLyXFile):
1504         * MenuBackend.C (expandLastfiles):
1505         * bufferlist.C (MenuWrite, QuitLyX):
1506         lastfiles is no longer a global variable.
1507         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1508
1509         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1510         static function. Access through LyX::cref().emergencyCleanup().
1511
1512 2003-10-14  André Pönitz  <poenitz@gmx.net>
1513
1514         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1515
1516         * undo.[Ch]: restoring part of 'undo in insets'
1517
1518         * Makefile.am:
1519         * undo_funcs.[Ch]: merge with undo.[Ch]
1520
1521         * tabular.C: small cleansing stuff
1522
1523 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * paragraph_funcs.C (readParToken): report unknown insets as error
1526         boxes. Use the outer paragraph as location (also for unknown
1527         tokens).
1528
1529         * factory.C (readInset): do not abort on reading an unknown inset.
1530         Eat it and return 0.
1531
1532 2003-10-13  Angus Leeming  <leeming@lyx.org>
1533
1534         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1535
1536         * lyxrc.C: displayTranslator is now a function,
1537         declared in GraphicsTypes.h.
1538
1539 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1540
1541         * format.C: new placeholder $$a to pass the socket address.
1542
1543         * bufferlist.[Ch]: new function getBufferFromTmp.
1544
1545         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1546           files in the temporary dir.
1547
1548 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1549
1550         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1551
1552         * Makefile.am: add lyxsocket.[Ch].
1553
1554         * lyx_main.C (error_handler): handle SIGPIPE.
1555
1556 2003-10-13  André Pönitz  <poenitz@gmx.net>
1557
1558         * BufferView_pimpl.C:
1559         * lyxtext.h:
1560         * text.C:
1561         * text2.C:
1562         * text3.C:
1563         * undo_funcs.[Ch]: use paroffset_type instead of
1564           ParagraphList::iterators to prevent multiple conversion
1565           (and get a more robust interface)
1566
1567 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1570         * lyxtext.h: ditto
1571         * text3.C (dispatch): ditto
1572
1573 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1576         move the onlyfile, use onlyfile instead of foundfile in a couple
1577         of places.
1578
1579         * DepTable.C (update): flush the error stream a bit more
1580
1581 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * lyxserver.C (callback): adjust
1584
1585         * lyxfunc.C (getStatus): add a missing brace in commented code
1586         (ensureBufferClean): reindent
1587         (dispatch): delete version taking a string
1588
1589 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1590
1591         * LaTeX.C (deplog): move found file handlig from here...
1592         (handleFoundFile): .. to new function here.
1593         (deplog): make sure to discover several files mentioned on the
1594         same log line.
1595
1596 2003-10-10  André Pönitz  <poenitz@gmx.net>
1597
1598         * lyxfunc.C:
1599         * lyxtext.h:
1600         * tabular.C:
1601         * text.C:
1602         * text2.C:
1603         * text3.C: fix some of the tabular crashes
1604
1605 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1606
1607         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1608
1609         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1610
1611 2003-10-09  André Pönitz  <poenitz@gmx.net>
1612
1613         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1614
1615         * BufferView.C:
1616         * BufferView_pimpl.C:
1617         * bufferview_funcs.C:
1618         * lyx_cb.C:
1619         * lyxcursor.C:
1620         * lyxfind.C:
1621         * lyxfunc.C:
1622         * lyxtext.h:
1623         * text.C:
1624         * text2.C:
1625         * text3.C:
1626         * text_funcs.[Ch]:
1627         * textcursor.[Ch]:
1628         * undo_funcs.C: adjust
1629
1630 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * text2.C (incrementItemDepth): new function, use a backtracking
1633         algorithm to discover the correct item depth.
1634         (resetEnumCounterIfNeeded): new function, use a backtracking
1635         algorithm to discover if counter reset is needed.
1636         (setCounter): use them. Simplify a bit. Add different labels for
1637         different item depths for itemize.
1638
1639         * paragraph.C (Paragraph): remove initialization of enumdepth
1640         (operator=): ditto
1641
1642         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1643         enumerate and itemize. Change the type of itemdepth to signed char.
1644
1645 2003-10-08  André Pönitz  <poenitz@gmx.net>
1646
1647         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1648           thing assignable.
1649         * text.C:
1650         * text2.C: adjust
1651
1652         * tabular.[Ch]: fix crash after 'row-insert'
1653
1654 2003-10-08  Angus Leeming  <leeming@lyx.org>
1655
1656         Fix doxygen warnings.
1657
1658         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1659         Remove CutAndPaste:: prefix from header file declaration.
1660
1661         * LColor.h (fill): remove LColor:: prefix from declaration.
1662
1663         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1664         use lyx::depth_type rather than Paragraph::depth_type so that
1665         header file and .C file match.
1666
1667         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1668
1669         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1670         * aspell.C: \file aspell_local.C -> \file aspell.C
1671         * gettext.C: \file gettext.C -> \file src/gettext.C
1672         * gettext.h: \file gettext.h -> \file src/gettext.h
1673         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1674         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1675         * text.C: \file text.C -> \file src/text.C
1676
1677         * toc.C: move comment so that doxygen is not confused.
1678
1679 2003-10-07  Angus Leeming  <leeming@lyx.org>
1680
1681         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1682
1683 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1684
1685         * aspell.C:
1686         * aspell_local.h: add forgotten std::string's.
1687
1688 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1689
1690         * LaTeXFeatures.C:
1691         * LyXAction.C:
1692         * factory.C:
1693         * lfuns.h:
1694         * lyxfunc.C:
1695         * text3.C: The Box patch. Fancybox support, minipage, parbox
1696
1697 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1698
1699         * CutAndPaste.h:
1700         * DepTable.h:
1701         * FloatList.h:
1702         * LaTeXFeatures.h:
1703         * ParagraphParameters.h:
1704         * TextCache.h:
1705         * Thesaurus.h:
1706         * bufferlist.h:
1707         * exporter.h:
1708         * importer.h:
1709         * lastfiles.h:
1710         * lyxfind.h:
1711         * lyxfont.h:
1712         * lyxlex.h:
1713         * lyxtextclasslist.h:
1714         * messages.h:
1715         * paragraph.h:
1716         * paragraph_pimpl.C:
1717         * textcursor.h: add <string> and other small fixes to make Lars'
1718         std::string patch compile with STLport.
1719
1720 2003-10-06  Angus Leeming  <leeming@lyx.org>
1721
1722         * LColor.h: Add missing #include <string>.
1723
1724 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * All most all file in all subdirs: Make <string> be the prefered
1727         way of getting to std::string, add using declarations.
1728
1729 2003-10-06  André Pönitz  <poenitz@gmx.net>
1730
1731         * metricsinfo.C: initialize LyXFont before changing attribute.
1732         (fixes the 'math in \emph is upright' bug)
1733
1734 2003-10-06  André Pönitz  <poenitz@gmx.net>
1735
1736         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1737
1738 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * graph.C:
1741         * paragraph_pimpl.C: Small fixes to build using STLport
1742
1743 2003-10-02  André Pönitz  <poenitz@gmx.net>
1744
1745         * lyxfunc.C:
1746         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1747
1748 2003-10-01  André Pönitz  <poenitz@gmx.net>
1749
1750         * factory.C: assert early
1751
1752 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1753
1754         * lyx_main.C: remove the global debug object
1755
1756         * debug.h: adjust for new debugstream
1757
1758         * debug.C: adjust for new debugstream and keep the global debug
1759         object here.
1760
1761 2003-09-22  Angus Leeming  <leeming@lyx.org>
1762
1763         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1764         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1765         an incomplete class LyXFont.
1766
1767 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1768
1769         * factory.C: bug fix in branches
1770
1771 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1772
1773         * lyxfunc.C (processKeySym): adjust
1774         (dispatch): adjust
1775         (dispatch): change arg name from ev to func, adjust
1776         (sendDispatchMessage): ditto
1777
1778         * lyx_main.C (defaultKeyBindings): adjust keybindings
1779         (deadKeyBindings): ditto
1780
1781         * kbsequence.C (addkey): return a FuncRequest
1782
1783         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1784
1785         * kbmap.C (bind): take a FuncRequest as arg, adjust
1786         (read): adjust
1787         (lookup): adjust
1788         (defkey): change to take a FuncRequest as arg, adjust
1789         (findbinding): take a FuncRequest as arg, adjust.
1790
1791         * funcrequest.h (operator=): added
1792
1793         * funcrequest.C (FuncRequest): default kb_action changed from
1794         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1795
1796         * buffer.C (dispatch): simplify
1797         (dispatch): adjust to take a FuncRequest as arg, adjust
1798
1799         * boost.C (assertion_failed): change assertion message slightly
1800
1801         * ToolbarBackend.C (read): simplify
1802
1803         * MenuBackend.C (binding): adjust call to findbinding, add a
1804         message if no binding is found.
1805         (read): simplify
1806         (expandToc): correct by adding a empty FuncRequest
1807
1808         * LyXAction.C: include <boost/assert.hpp>
1809         (isPseudoAction): delete function
1810         (LookupFunc): change name to...
1811         (lookupFunc): this. change return type to FuncRequest.
1812         (getActionName): take kb_action as arg, simplify
1813         (funcHasFlag): add an assert, simplify.
1814
1815 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1816
1817         * toc.C (action): return a FuncRequest, simplify
1818
1819         * lyxfunc.C (processKeySym): adjust
1820         (getStatus): delete version that takes an int.
1821         (getStatus): adjust
1822         (dispatch): delete version that takes action as int
1823         (dispatch): adjust
1824         (sendDispatchMessage): simplify and adjust
1825
1826         * funcrequest.C (getArg): take unsigned int as arg
1827
1828         * ToolbarBackend.C (read): adjust
1829         (add): delete version that takes func as a string.
1830         (getIton): take a FuncRequest as arg
1831
1832         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1833         action.
1834
1835         * MenuBackend.C (MenuItem): add a new construct that only takes a
1836         Kind, simplify the constructor use for submenus.
1837         (add): adjust
1838         (expandLastfiles): adjust
1839         (expandDocuments): adjust
1840         (expandFormats): adjust
1841         (expandFloatListInsert): adjust
1842         (expandFloatInsert): adjust
1843         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1844
1845         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1846         Remove class variables lyx_pseudo_map and lyx_arg_map
1847
1848         * LyXAction.C (searchActionArg): delete function
1849         (getPseudoAction): delete function
1850         (retrieveActionArg): delete function
1851         (LookupFunc): make it return kb_action, simplify.
1852         (getActionName): simplify
1853
1854         * factory.C (createInset): fix new bug
1855
1856 2003-09-19  Angus Leeming  <leeming@lyx.org>
1857
1858         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1859         masterFilename_ parameter in the include inset.
1860
1861         * factory.C (createInset): changes due to the changes to InsetInclude.
1862
1863 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1864
1865         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1866
1867 2003-09-18  Angus Leeming  <leeming@lyx.org>
1868
1869         * buffer.C:
1870         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1871         Inset::fillWithBibKeys.
1872         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1873
1874 2003-09-18  Angus Leeming  <leeming@lyx.org>
1875
1876         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1877         variables.
1878         (ctor): pass and store a 'Buffer const &'
1879         (buffer): new member function.
1880
1881         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1882         '*this' to the LaTeXFeatures ctor.
1883
1884 2003-09-18  Angus Leeming  <leeming@lyx.org>
1885
1886         * LColor.h:
1887         * lyxfont.C:
1888         * lyxfont.h:
1889         * lyxtext.h:
1890         * text.C: rename EnumLColor as LColor_color.
1891
1892 2003-09-18  Angus Leeming  <leeming@lyx.org>
1893
1894         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1895         remove #include "insets/insetbase.h" from cursor.h.
1896
1897 2003-09-18  Angus Leeming  <leeming@lyx.org>
1898
1899         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1900         InsetOld_code to remove #include "inset.h".
1901
1902         * iterators.C: add #include "insets/inset.h"
1903
1904 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1905
1906         * BufferView.C: remove more locking stuff that apparently doesn't
1907         do anything sensible.
1908
1909 2003-09-16  André Pönitz  <poenitz@gmx.net>
1910
1911         * paragraph.[Ch]:
1912         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1913           performance boost.
1914
1915 2003-09-16  Angus Leeming  <leeming@lyx.org>
1916
1917         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1918
1919         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1920         arg/return type.
1921
1922         * paragraph.h: remove #include "lyxfont.h". Forward declare
1923         LyXFont_size.
1924
1925 2003-09-16  Angus Leeming  <leeming@lyx.org>
1926
1927         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1928         of support/textutils.h.
1929         (isWord): move the contents of support/textutils.h's IsWordChar here.
1930
1931         * buffer.C:
1932         * lyxfind.C:
1933         * rowpainter.C:
1934         * text.C:
1935         * text2.C: add #include "paragraph.h".
1936
1937         * rowpainter.C:
1938         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1939
1940 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * main.C:
1943         * lyx_main.C:
1944         * lyx_cb.C:
1945         * buffer.C:
1946         * LaTeX.C: use namespace alias for lyx::support::os
1947
1948 2003-09-16  Angus Leeming  <leeming@lyx.org>
1949
1950         * bufferparams.C:
1951         * bufferview_funcs.C:
1952         * factory.C:
1953         * lyxfunc.C:
1954         * paragraph_pimpl.C:
1955         * rowpainter.C:
1956         * text.C: add #include "LColor.h".
1957
1958 2003-09-16  Angus Leeming  <leeming@lyx.org>
1959
1960         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1961         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1962         return LyXFont &.
1963         Store the FontBits::color variable as an int rather than as an
1964         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1965         file.
1966
1967         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1968         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1969         string calls together.
1970
1971         * lyxrc.C: add #include "LColor.h".
1972
1973 2003-09-15  Angus Leeming  <leeming@lyx.org>
1974
1975         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1976         a cow_ptr.
1977
1978 2003-09-15  Angus Leeming  <leeming@lyx.org>
1979
1980         * LColor.h: add an EnumLColor wrapper for LColor::color.
1981
1982         * lyxfont.[Ch] (color, setColor, realColor):
1983         * lyxtext.h, text.C (backgroundColor):
1984         pass EnumLColor args to/from the functions, rather than LColor::color
1985         ones.
1986
1987         * lyxfont.h:
1988         * lyxtext.h: forward declare EnumLColor.
1989
1990         * lyx_main.C: add #include "LColor.h".
1991
1992 2003-09-15  Angus Leeming  <leeming@lyx.org>
1993
1994         * .cvsignore: add lyx-gtk.
1995
1996 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1997
1998         * Chktex.C
1999         * LaTeX.C
2000         * LaTeXFeatures.C
2001         * ParagraphParameters.C
2002         * Spacing.C
2003         * buffer.C
2004         * bufferparams.C
2005         * bufferview_funcs.C
2006         * chset.C
2007         * counters.C
2008         * funcrequest.C
2009         * lyxfont.C
2010         * lyxgluelength.C
2011         * lyxlength.C
2012         * paragraph.C
2013         * paragraph_funcs.C
2014         * text3.C
2015         * vc-backend.C: remove usage of STRCONV
2016
2017 2003-09-15  Angus Leeming  <leeming@lyx.org>
2018
2019         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2020         explicitly define the color passed to the painter.
2021
2022 2003-09-15  Angus Leeming  <leeming@lyx.org>
2023
2024         * bufferparams.C (BufferParams): reorder member initializers to avoid
2025         compiler warning.
2026
2027 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2028
2029         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2030         * text.C (updateRowPositions): remove an unusual nop
2031
2032 2003-09-12  André Pönitz  <poenitz@gmx.net>
2033
2034         * BufferView_pimpl.C:
2035         * Bullet.C:
2036         * layout.h:
2037         * lyxfunc.C:
2038         * lyxlayout.[Ch]:
2039         * lyxtextclass.C:
2040         * rowpainter.C:
2041         * text.C:
2042         * text2.C:
2043         * Counters.[Ch]: finish the 'automatic counters' job
2044
2045 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2046
2047         * aspell.C: include <boost/assert.cpp> (compile fix)
2048
2049 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2050
2051         * boost.C (assertion_failed): use lyx::support::abort instead of
2052         assert.
2053
2054 2003-09-10  Angus Leeming  <leeming@lyx.org>
2055
2056         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2057         with their _fwd progeny.
2058
2059 2003-09-09  Angus Leeming  <leeming@lyx.org>
2060
2061         134 files throughtout the source tree: replace 'using namespace abc;'
2062         directives with the appropriate 'using abc::xyz;' declarations.
2063
2064 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2065
2066         * boost.C (emergencyCleanup): moved here from LAssert.c
2067         (assertion_failed): new function, called by BOOST_ASSERT
2068
2069         * several files: change Assert to BOOST_ASSERT
2070
2071 2003-09-09  Angus Leeming  <leeming@lyx.org>
2072
2073         * buffer.[Ch]: Add an Impl class and move Buffer's member
2074         variables into it. As a result move several header files out of
2075         buffer.h.
2076
2077         Add header files to lots of .C files all over the tree as a result.
2078
2079 2003-09-09  Angus Leeming  <leeming@lyx.org>
2080
2081         * buffer.[Ch]: make Buffer's member variables private. Add
2082         accessor functions.
2083
2084         Lots of changes all over the tree as a result.
2085
2086 2003-09-08  Angus Leeming  <leeming@lyx.org>
2087
2088         * graph.C: #include <config.h>.
2089
2090 2003-09-08  Angus Leeming  <leeming@lyx.org>
2091
2092         * BranchList.C:
2093         * BufferView.C:
2094         * BufferView_pimpl.C:
2095         * CutAndPaste.C:
2096         * DepTable.C:
2097         * LaTeX.C:
2098         * LaTeXFeatures.C:
2099         * LyXAction.C:
2100         * MenuBackend.C:
2101         * TextCache.C:
2102         * aspell.C:
2103         * buffer.C:
2104         * bufferlist.C:
2105         * changes.C:
2106         * chset.C:
2107         * converter.C:
2108         * counters.C:
2109         * debug.C:
2110         * graph.C:
2111         * ispell.C:
2112         * lyx_cb.C:
2113         * lyxfind.C:
2114         * lyxfunc.C:
2115         * lyxlex_pimpl.C:
2116         * lyxrc.C:
2117         * lyxrow.C:
2118         * paragraph.C:
2119         * rowpainter.C:
2120         * texrow.C:
2121         * text.C:
2122         * text2.C:
2123         * toc.C: remove redundant using directives.
2124
2125 2003-09-07  Angus Leeming  <leeming@lyx.org>
2126
2127         * LaTeXFeatures.h: remove #include "support/types.h".
2128         * ToolbarBackend.h: remove #include <algorithm>.
2129         * changes.h: remove #include <ctime>.
2130         * debug.h: remove #include <iosfwd>.
2131         * graph.h: remove #include "support/std_string.h".
2132         * lyx_main.h: remove #include <csignal>.
2133         * lyxlex_pimpl.h: remove #include <fstream>.
2134         * sgml.h: remove #include <algorithm>, <utility>.
2135         * toc.h: remove #include "support/std_ostream.h".
2136         Add #include <iosfwd>.
2137
2138 2003-09-07  Angus Leeming  <leeming@lyx.org>
2139
2140         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2141
2142         * converter.h: forward declare LatexRunParams.
2143         * encoding.h: remove #include "lyxrc.h".
2144         * lyxtext.h: remove #include "LColor.h".
2145         * lyxtextclass.h: remove #include "support/types.h".
2146         * trans.h: remove #include "tex-accent.h".
2147         * trans_mgr.h: remove #include "tex-accent.h".
2148         * insets/inset.h: remove #include "support/types.h", <vector>.
2149         * insets/insetcollapsable.h: remove #include "LColor.h".
2150         * insets/insetinclude.h: remove #include "dimension.h".
2151         * insets/insetlatexaccent.h: remove #include "dimension.h".
2152         * insets/insetoptarg.h:: remove #include "insettext.h".
2153         * insets/insettext.h: remove #include "dimension.h",
2154         <boost/shared_ptr.hpp>
2155
2156         * insets/renderers.h: add #include "dimension.h".
2157         * insets/updatableinset.h: add #include "support/types.h".
2158
2159         * many .C files: Associated changes.
2160
2161 2003-09-06  Angus Leeming  <leeming@lyx.org>
2162
2163         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2164         one, inside testInvariant.
2165
2166         * PrinterParams.C: new file.
2167         * PrinterParams.[Ch]: move the function bodies out of line.
2168
2169 2003-09-06  Angus Leeming  <leeming@lyx.org>
2170
2171         * ParagraphParameters.h: forward declare ParameterStruct rather than
2172         including its header file.
2173         (depth): moved out-of-line.
2174
2175 2003-09-06  Angus Leeming  <leeming@lyx.org>
2176
2177         * BufferView_pimpl.h:
2178         * kbmap.h:
2179         * kbsequence.h:
2180         * lyxfunc.h: forward declare LyXKeySym rather than
2181         #include "frontends/LyXKeySym.h".
2182
2183         * BufferView_pimpl.C:
2184         * kbmap.C:
2185         * kbsequence.C:
2186         * lyxfunc.C: associated changes.
2187
2188 2003-09-06  Angus Leeming  <leeming@lyx.org>
2189
2190         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2191         As a result, can remove the #include "insets/inset.h" from BufferView.h
2192
2193 2003-09-06  Angus Leeming  <leeming@lyx.org>
2194
2195         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2196         As a result, can remove the #include "insets/inset.h" from BufferView.h
2197
2198 2003-09-06  Angus Leeming  <leeming@lyx.org>
2199
2200         * buffer_funcs.C:
2201         * buffer.h:
2202         * bufferlist.C:
2203         * BufferView.C:
2204         * bufferview_funcs.C:
2205         * BufferView_pimpl.C:
2206         * CutAndPaste.C:
2207         * lyx_cb.C:
2208         * lyxfunc.C:
2209         * paragraph.h:
2210         * ParagraphParameters.C:
2211         * tabular.C:
2212         * text3.C:
2213         * toc.C:
2214         * undo_funcs.C:
2215         * frontends/controllers/ControlDocument.C:
2216         * insets/insetcaption.C: rearrange the #includes into some sort of
2217         coherent order.
2218
2219         * buffer.h: remove #includes ErrorList.h, undo.h
2220
2221 2003-09-06  Angus Leeming  <leeming@lyx.org>
2222
2223         * support/types.h: add a 'depth_type' typedef, used to store the
2224         nesting depth of a paragraph.
2225
2226         * paragraph.h:
2227         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2228         defining explicitly.
2229
2230         * buffer.h:
2231         * paragraph_funcs.h:
2232         * ParagraphParameters.h:
2233         * sgml.h: use lyx::depth_type rather than Paragraph or
2234         ParameterStruct's depth_type.
2235
2236         * buffer.h
2237         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2238
2239         * BufferView.C:
2240         * BufferView_pimpl.C:
2241         * CutAndPaste.C:
2242         * ParagraphParameters.C:
2243         * buffer_funcs.C:
2244         * bufferlist.C:
2245         * bufferview_funcs.C:
2246         * lyx_cb.C:
2247         * lyxfunc.C:
2248         * tabular.C:
2249         * text3.C:
2250         * toc.C:
2251         * undo_funcs.C:
2252         * frontends/LyXView.C:
2253         * frontends/controllers/ControlDocument.C:
2254         * frontends/controllers/ControlErrorList.C:
2255         * insets/insetbibitem.C:
2256         * insets/insetbranch.C:
2257         * insets/insetcaption.C:
2258         * insets/insetcollapsable.C:
2259         * insets/insetenv.C:
2260         * insets/insetert.C:
2261         * insets/insetfloat.C:
2262         * insets/insetfoot.C:
2263         * insets/insetfootlike.C:
2264         * insets/insetnewline.C:
2265         * insets/insetquotes.C:
2266         * insets/insettabular.C:
2267         * insets/insettext.C:
2268         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2269
2270         * frontends/controllers/ControlChanges.C: #include "changes.h".
2271
2272 2003-09-06  Angus Leeming  <leeming@lyx.org>
2273
2274         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2275         than #including paragraph.h.
2276
2277         * ParagraphList.h:
2278         * RowList.h: deleted. Superfluous.
2279
2280         * CutAndPaste.h:
2281         * iterators.h:
2282         * lyxcursor.h:
2283         * lyxtext.h:
2284         * text_funcs.h:
2285         * undo.h:
2286         * undo_funcs.h:
2287         * insets/inset.h:
2288         * insets/insettext.h: use ParagraphList_fwd.h rather than
2289         ParagraphList.h.
2290
2291         * paragraph.h: don't forward declare ParagraphList.
2292
2293         * buffer.h:
2294         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2295         rather than ParagraphList.h. paragraph.h is still needed for the
2296         Paragraph::depth_type parameters.
2297
2298         * textcursor.h: enable it to compile stand-alone in light of the
2299         above changes.
2300
2301         * bufferview_funcs.C:
2302         * iterators.C:
2303         * lyxfunc.C:
2304         * lyxrow_funcs.C:
2305         * paragraph.C:
2306         * rowpainter.C:
2307         * text.C:
2308         * text2.C:
2309         * text3.C:
2310         * text_funcs.C:
2311         * textcursor.C:
2312         * undo.C:
2313         * frontends/controllers/ControlParagraph.C:
2314         * frontends/controllers/ControlTabular.C:
2315         * insets/insetmarginal.C:
2316         * insets/insetminipage.C:
2317         * insets/insetnote.C:
2318         * insets/insetoptarg.C: add header files needed to compile again.
2319
2320 2003-09-06  Angus Leeming  <leeming@lyx.org>
2321
2322         * RowList_fwd.h: new file, forward-declaring Row rather than
2323         #including lyxrow.h.
2324
2325         * lyxrow_funcs.h:
2326         * lyxtext.h:
2327         * paragraph.h:
2328         * insets/insettext.h: use it instead of RowList.h
2329
2330         * bufferview_funcs.C:
2331         * lyxfunc.C:
2332         * lyxrow_funcs.C:
2333         * paragraph.C:
2334         * rowpainter.C:
2335         * text.C:
2336         * text2.C:
2337         * text3.C: #include "RowList.h".
2338
2339 2003-09-05  Angus Leeming  <leeming@lyx.org>
2340
2341         * factory.C (createInset):
2342         * vspace.C (c-tor): replace sscanf call with an istringstream.
2343         * ispell.C: re-add missing HP/UX headers.
2344         * lyxserver.C: re-add missing  os2 headers.
2345
2346 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2347
2348         * BranchList.C:
2349         * graph.C:
2350         * ispell.C:
2351         * lastfiles.C:
2352         * lyx_cb.C:
2353         * lyxserver.C:
2354         * texrow.C:
2355         * text3.C: re-add missing system headers, needed for 2.95.2.
2356
2357 2003-09-05  Angus Leeming  <leeming@lyx.org>
2358
2359         Changes most place everywhere due to the removal of using directives
2360         from support/std_sstream.h.
2361
2362 2003-09-05  Angus Leeming  <leeming@lyx.org>
2363
2364         Replace LString.h with support/std_string.h,
2365         Lsstream.h with support/std_sstream.h,
2366         support/LIstream.h with support/std_istream.h,
2367         support/LOstream.h with support/std_ostream.h.
2368
2369         Changes resulting throughout the tree.
2370
2371 2003-09-05  Angus Leeming  <leeming@lyx.org>
2372
2373         * sgml.h: ensure that the header file can be compiled stand-alone.
2374         * *.C: strip out redundant #includes. (320 in total.)
2375
2376 2003-09-04  Angus Leeming  <leeming@lyx.org>
2377
2378         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2379         here (from getPackages).
2380
2381         * debug.[Ch]: add a new EXTERNAL tag.
2382
2383 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2384
2385         * text2.C (cursorEnd): simplify
2386         (setCursor): adjust
2387         (getColumnNearX): adjust
2388
2389         * text.C (computeBidiTables): adjust
2390         (fill): adjust
2391
2392         * rowpainter.C (paintChars): adjust
2393         (paintSelection): adjust
2394         (paintChangeBar): adjust
2395         (paintText): adjust
2396
2397         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2398         lastPos instead.
2399         (numberOfSeparators): adjust
2400
2401 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * LyXAction.C:
2404         * box.[Ch]:
2405         * lfuns.h:
2406         * lyxfunc.C:
2407         * text3.C: Restricts the mouse click functionality
2408         of insets like bibtex, include, toc and floatlist to the visible
2409         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2410         up the dialogs. Cursor has to be in front of the inset (i.e.
2411         start of row) for this to function.
2412
2413 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2414
2415         * bufferview_funcs.C (currentState): output row information
2416
2417 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2418
2419         * bufferview_funcs.C (currentState): output paragraph position
2420
2421 2003-09-04  Angus Leeming  <leeming@lyx.org>
2422
2423         * FloatList.h: move out #include "Floating.h".
2424         * LaTeX.h: move out #include "DepTable.h".
2425         * LyXAction.h: move out #include "funcrequest.h".
2426         * buffer.h: move out #include "author.h", "iterators.h".
2427         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2428         * lyx_main.h: move out #include "errorlist.h".
2429         * lyxfunc.h: move out #include "FuncStatus.h".
2430         * lyxtext: move out #include "lyxcursor.h".
2431         * paragraph_pimpl.h: move out #include "counters.h".
2432
2433 2003-09-03  Angus Leeming  <leeming@lyx.org>
2434
2435         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2436         preamble_snippets list, enabling us to add snippets to the preamble
2437         only if the snippet was not there already.
2438
2439 2003-09-04  Angus Leeming  <leeming@lyx.org>
2440
2441         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2442
2443 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2446         update
2447
2448 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2449
2450         * BranchList.C: point fix, earlier forgotten
2451
2452 2003-09-02  Angus Leeming  <leeming@lyx.org>
2453
2454         * box.C (contains): renamed from 'contained' after a fantastic
2455         amount of hot air.
2456
2457 2003-09-02  John Levon  <levon@movementarian.org>
2458
2459         * BufferView.C:
2460         * lyxcursor.h:
2461         * lyxcursor.C:
2462         * lyxfunc.C:
2463         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2464
2465 2003-09-02  John Levon  <levon@movementarian.org>
2466
2467         * text2.C: simplification of cursorEnd(), including partial
2468         fix for bug 1376
2469
2470 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * buffer.C (readFile): add a space
2473
2474 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2475
2476         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2477
2478 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * buffer.C (readFile): new function, take a filename and a
2481         ParagraphList::iterator
2482         (readFile): adjust
2483         (readFile): adjust, make it private. don't use setStream, make
2484         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2485         always contain the filename.
2486
2487         * BufferView.C (insertLyXFile): simplify and make it work for
2488         gzipped files.
2489
2490 2003-08-30  John Levon  <levon@movementarian.org>
2491
2492         * Makefile.am: fix dist (from Kayvan)
2493
2494 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * most files: change to use const Buffer refs
2497
2498 2003-08-27  André Pönitz  <poenitz@gmx.net>
2499
2500         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2501         on top of ownerPar().
2502
2503 2003-08-27  John Levon  <levon@movementarian.org>
2504
2505         * funcrequest.C: properly initialise POD members
2506
2507 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2508
2509         * lyxtext.h (top_y): move top_y from here
2510         * text.C:
2511         * text2.C:
2512         * text3.C:
2513         * BufferView.[Ch]:
2514         * BufferView_pimpl.[Ch]: to here
2515         * frontends/screen.C:
2516         * insets/insettabular.C:
2517         * insets/insettext.C: adjust
2518         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2519
2520 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * BufferView.[Ch]:
2523         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2524
2525 2003-08-26  André Pönitz  <poenitz@gmx.net>
2526
2527         * paragraph_func.[Ch] (outerPar): new function
2528
2529         * paragraph.C:
2530         * paragraph_funcs.C:
2531         * paragraph_funcs.h:
2532         * paragraph_pimpl.C:
2533         * text2.C: remove Inset::par_owner
2534
2535 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2536
2537         * lyxrow_funcs.C:
2538         * lyxtext.h:
2539         * text.C:
2540         * text2.C: eliminates the needFullRow/display() stuff
2541         altogether, putting the logic in metrics/draw in the insets.
2542
2543 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2544
2545         * text2.C (redoParagraphInternal, redoParagraphs):
2546         * text.C (redoParagraph): add a call to updateRowPositions at the
2547         end of each 'metrics-like' call. Remove all others.
2548         (getRow): remove the 'y-computing' version.
2549         (getRowNearY): do not compute nor return the real y. Solve the
2550         'y < 0' problem and simplify.
2551
2552 2003-08-22  Angus Leeming  <leeming@lyx.org>
2553
2554         * *.[Ch]: clean-up of licence and author blurbs.
2555         Also move config.h out of a few .h files and into a few .C files.
2556
2557 2003-08-22  André Pönitz  <poenitz@gmx.net>
2558
2559         * lyxrow.[Ch]: add x_ and *fill_ members
2560
2561         * lyxtext.h:
2562         * text.C:
2563         * rowpainter.C:
2564         * text2.C: adjust/remove prepareToPrint() calls
2565
2566 2003-08-22  André Pönitz  <poenitz@gmx.net>
2567
2568         * lyxrow.[Ch]: add  end_ member
2569
2570         * lyxrow_funcs.C: use LyXRow::end_
2571
2572         * lyxtext.h (singleWidth): add LyXFont parameter
2573
2574         * rowpainter.C:
2575         * text2.C: adjust LyXText::singleWidth() calls
2576
2577         * text.C (redoParagraph): simplify row breaking logic
2578
2579
2580 2003-08-19  André Pönitz  <poenitz@gmx.net>
2581
2582         * funcrequest.C: initialize button_ member
2583
2584         * text3.C:
2585         * rowpainter.[Ch]: interface consolidation
2586
2587 2003-08-18  André Pönitz  <poenitz@gmx.net>
2588
2589         * BufferView.C:
2590         * BufferView_pimpl.C:
2591         * lyxfind.C:
2592         * paragraph_funcs.C:
2593         * rowpainter.C:
2594         * text3.C: remove LyXScreen::draw() and fitCursor calls
2595
2596         * BranchList.h: remove spurious semicolons
2597
2598         * MenuBackend.C: fix branchlist related crash
2599
2600 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2601
2602         * BranchList.[Ch]:
2603         * InsetList.[Ch]:
2604         * LColor.[Ch]:
2605         * LyXAction.C:
2606         * Makefile.am:
2607         * MenuBackend.[Ch]:
2608         * bufferparams.[Ch]:
2609         * factory.C:
2610         * lfuns.h:
2611         * lyxfunc.C:
2612         * text3.C: implements the 'branch inset'
2613         idea. This allows the output of various versions of a document
2614         from a single source version, selectively outputing or suppressing
2615         output of parts of the text.
2616         This implementation contains a 'branch list editor' in a separate
2617         tab of the document settings dialog. Branches are user definable
2618         and have a "display colour" to distinguish them on-screen.
2619
2620         ColorHandler was somewhat cleaned up.
2621         (1) make possible a dynamically growing LColor list by allowing
2622         the graphic context cache to grow along (vector);
2623         (2) eliminate an IMHO unnecessary step in colour allocation.
2624
2625 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2626
2627         * BufferView_pimpl.C: compile fix
2628
2629 2003-08-15  André Pönitz  <poenitz@gmx.net>
2630
2631         * rowpainter.C: remove extra metrics calls
2632
2633         * lyxtext.h: merge the two constructors into a single one,
2634           pass reference to owner's par list
2635
2636         * BufferView_pimpl.C:
2637         * text.C:
2638         * text2.C: adjust
2639
2640 2003-08-15  André Pönitz  <poenitz@gmx.net>
2641
2642         * lyxrow_funcs.[Ch]:
2643         * lyxtext.h:
2644         * paragraph.h:
2645         * paragraph_funcs.C:
2646         * rowpainter.C:
2647         * text.C:
2648         * text2.C:
2649         * text3.C:
2650         * text_funcs.C: split LyXText::rowlist_ into individual
2651         Paragraph::rows_ chunks
2652
2653         * BufferView.[Ch]:
2654         * BufferView_pimpl.[Ch]:
2655         * lyxfind.C:
2656         * lyxtext.h:
2657         * text3.C: remove toggleSelection()
2658
2659 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2660
2661         * bufferlist.C: beautify two alerts (shorter text of buttons)
2662         * buffer.C: Remove redundant ' ' from message
2663         * tabular.h:
2664         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2665         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2666         rename VALIGN_CENTER to VALIGN_MIDDLE
2667
2668 2003-08-11  André Pönitz  <poenitz@gmx.net>
2669
2670         * lyxtext.h (getPar):
2671         * text.C: new function
2672
2673 2003-08-11  André Pönitz  <poenitz@gmx.net>
2674
2675         * Makefile.am:
2676         * tracer.[Ch]: remove unneeded files
2677
2678         * InsetList.[Ch]: remove resizeInsetsLyXText()
2679
2680         * lyxtext.h:
2681         * text.C:
2682         * text2.C:
2683         * text3.C: merge insertParagraphs() and appendParagraph()
2684         remove breakAgain(), update()
2685
2686         * BufferView_pimpl.[Ch]:
2687         * bufferview_funcs.[Ch]:
2688         * lyxfunc.C:
2689         * paragraph.[Ch]:
2690         * rowpainter.C:
2691         * tabular.C: adjust after text & InsetList changes.
2692
2693 2003-08-08  André Pönitz  <poenitz@gmx.net>
2694
2695         * text.C (insertChar, backspace): replace rowlist fiddling
2696         with rebreak of full par
2697
2698         * lyxtext.h:
2699         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2700         checkParagraph, updateInset): removed
2701
2702 2003-08-07  André Pönitz  <poenitz@gmx.net>
2703
2704         * paragraph.C:
2705         * text3.C: merge some LFUN handlers, remove dead code
2706
2707 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2708
2709         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2710
2711 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * text2.C (DEPM): fix part of bug 1255 and 1256
2714
2715 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2716
2717         * BufferView_pimpl.C (workAreaDispatch): change to use
2718         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2719         that are no mouse related.
2720
2721 2003-08-05  André Pönitz  <poenitz@gmx.net>
2722
2723         * BufferView.[Ch]:
2724         * BufferView_pimpl.[Ch]:
2725         * bufferview_funcs.C:
2726         * text2.C:
2727         * text3.C: rip out "deep update"
2728
2729         * textcursor.[Ch] (last_sel_cursor): remove unused member
2730
2731 2003-08-04  André Pönitz  <poenitz@gmx.net>
2732
2733         * BufferView.[Ch]:
2734         * BufferView_pimpl.[Ch]:
2735         * ParagraphParameters.C:
2736         * bufferview_funcs.C:
2737         * lyx_cb.C:
2738         * lyxfind.C:
2739         * lyxfunc.C:
2740         * text.C:
2741         * text2.C:
2742         * text3.C: replace "complicated" BufferView::update(...) calls with
2743         simpler ones.
2744
2745         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2746
2747 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2748
2749         * Makefile.am (lyx_SOURCES): add paper.h
2750
2751 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2752
2753         * Makefile.am: move things around so that both lyx-qt and
2754         lyx-xforms can be built (according to --with-frontend). Then lyx
2755         is a symbolic link to lyx-[firstfrontend]
2756
2757 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2758
2759         * Always use std::endl with lyxerr
2760
2761 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2762
2763         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2764
2765 2003-08-01  André Pönitz  <poenitz@gmx.net>
2766
2767         * BufferView.[Ch]:
2768         * BufferView_pimpl.[Ch]:
2769         * lyxfunc.C:
2770         * text3.C: merge BufferView::repaint() and BufferView::update()
2771
2772 2003-08-01  José Matos  <jamatos@lyx.org>
2773
2774         * buffer.[Ch]: file_format is no longer a buffer data element.
2775
2776 2003-08-01  André Pönitz  <poenitz@gmx.net>
2777
2778         * BufferView.C:
2779         * lyxtext.h:
2780         * text.C:
2781         * text2.C: make redoParagraph more independent of current cursor
2782
2783         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2784         * text.C:
2785         * text2.C: remove unneeded members
2786
2787 2003-07-30  André Pönitz  <poenitz@gmx.net>
2788
2789         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2790
2791         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2792           create a single function...
2793
2794         * paragraph_funcs.C (moveItem): ... here.
2795
2796         * text.C:
2797           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2798
2799 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2800
2801         * LColor.[Ch]: Add comment and greyedout logical colors.
2802
2803 2003-07-30  André Pönitz  <poenitz@gmx.net>
2804
2805         * tabular.C: don't use Assert too heavily. This crashes where it
2806           shouldn't
2807
2808 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2811         is disabled (bug 1232)
2812
2813 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2814
2815         * factory.C: limited 'arg' scope
2816
2817 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * factory.C: fixed Note submenu issues
2820
2821 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * factory.C: submenu for Note/Comment/Greyedout
2824
2825 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2826
2827         * lyx_main.C (LyX):
2828         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2829
2830 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2831
2832         * LaTeXFeatures.C:
2833         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2834         greyedout. Patch provided by Jürgen Spitzmüller.
2835
2836 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * kbmap.C (read): fix error message when reading bind files
2839
2840 2003-07-29  Angus Leeming  <leeming@lyx.org>
2841
2842         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2843         certainly does not do what it purports to do. I am doing it, and
2844         us, a favour by killing it.
2845
2846 2003-07-28  José Matos  <jamatos@lyx.org>
2847
2848         * buffer.C (readBody, do_writeFile):
2849         * paragraph.C(readParagraph): \end_document replaces \the_end.
2850
2851 2003-07-29  André Pönitz  <poenitz@gmx.net>
2852
2853         * BufferView.[Ch]:
2854         * BufferView_pimpl.[Ch]:
2855         * lyxfunc.C:
2856         * text2.C:
2857         * text3.C:
2858         * textcursor.[Ch]: remove toggleToggle & Co
2859
2860 2003-07-28  José Matos  <jamatos@fep.up.pt>
2861
2862         * buffer.C (readParagraph):
2863         * params_func (readParToken, readParagraph):
2864         * paragraph.C (write): \layout -> \begin_layout.
2865
2866 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * lyxlex_pimpl.C (setFile): clean up slightly.
2869
2870         * bufferparams.h: add compressed var
2871
2872         * buffer_funcs.C (readFile): adjust for LyXLex change
2873         (newFile): ditto + simplify
2874
2875         * buffer.C (writeFile): handle writing of compressed files
2876
2877         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2878         Check if the file is compressed and set a bufferparm if so.
2879
2880         * Makefile.am (lyx_LDADD): remove explicit -lz
2881
2882 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2885         makeDocBookFile): put the real LyX version in the first line of
2886         the file
2887
2888         * version.h:
2889         * version.C.in: remove lyx_docversion
2890
2891         * tabular.C (write_attribute): add a template-based version to
2892         write enums properly
2893
2894 2003-07-28  André Pönitz  <poenitz@gmx.net>
2895
2896         * lyxtext.h:
2897         * text.C:
2898         * text2.C:
2899         * text3.C: use doubles again for x-coordinates. They are needed.
2900
2901 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * messages.C (getLocaleDir): use lyx_localedir()
2904
2905         * lyxlex_pimpl.C (setFile): compress stuff
2906
2907         * buffer.C (writeFile): add some compression stuff
2908         (do_writeFile): new func, dont call expliti close... will this
2909         breake anything?
2910
2911         * Makefile.am (lyx_LDADD): add -lz
2912
2913 2003-07-28  José Matos  <jamatos@fep.up.pt>
2914
2915         * buffer.C: increment file format.
2916         * paragraph_funcs (readParagraph, readParToken):
2917         * paragraph.C (readParagraph): add \end_layout.
2918
2919 2003-07-27  Angus Leeming  <leeming@lyx.org>
2920
2921         * Makefile.am: remove special casing for configure-time setting of
2922         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2923
2924         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2925         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2926
2927 2003-07-26  André Pönitz  <poenitz@gmx.net>
2928
2929         * paragraph_func.[Ch]:
2930         * paragraph.C (realizeFont): inline it whereever it is used
2931
2932         * rowpainter.C:
2933         * text.C:
2934         * text2.C:
2935         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2936
2937
2938 2003-07-26  André Pönitz  <poenitz@gmx.net>
2939
2940         *       lyxtext.h:
2941         * text.C:
2942         * text2.C: get rid of LyXText::need_break_row
2943
2944 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * toc.[Ch]: put namespace toc inside namespace lyx
2947
2948         * MenuBackend.C (expandToc2): adjust for lyx::toc
2949         (expandToc): ditto
2950
2951         * lyxfunc.C (dispatch): adjust for lyx::find
2952
2953         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2954         lyx::find instead. Reorganize a bit.
2955         (LyXReplace): rename to replace
2956         (LyXFind): rename to find
2957
2958         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2959         (dispatch): ditto
2960
2961 2003-07-26  André Pönitz  <poenitz@gmx.net>
2962
2963         * text.C (setHeightOfRow): restrict scope of temporary variable
2964
2965         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2966           code (never has been used?)
2967
2968 2003-07-27  Asger Alstrup  <alstrup@local>
2969
2970         * text.C (fill): Optimise algorithm to exploit that we can reuse
2971         the LyXFont for many characters.
2972         (setHeightOfRow): Same thing.
2973         (rowBreakPoint): Same thing.
2974
2975 2003-07-26  Asger Alstrup  <alstrup@local>
2976
2977         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2978
2979         * text.C (singleWidth): Spurious font copying in hot-spot
2980         singleWidth avoided. Reorder tests for arabic for efficiency.
2981
2982         * text.C (fill): handle empty paragraphs better.
2983
2984 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2985
2986         * ispell.C:
2987         * encoding.h: add includes
2988
2989         * lyxrc.C: remove reading of bind files
2990
2991         * lyx_main.C (init): setup bindings and menus only if we have a
2992         gui.
2993
2994         * kbmap.C (read): new method. Do the actual reading of bind
2995         files.
2996
2997         * converter.C (dvipdfm_options):
2998         * bufferparams.C:
2999         * lyxrc.C (read):
3000         (output): adapt PAPER_* enums.
3001
3002         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3003
3004         * bufferparams.h: remove paper-related enums from there
3005
3006         * paper.h: New file. A trivial header file to hold paper-related
3007         enums. It should later expand to contain many paper-related
3008         horrors access.
3009
3010         * lyxrc.C: declare extern displayTranslator
3011
3012 2003-07-27  José Matos  <jamatos@fep.up.pt>
3013
3014         * tabular.[Ch] (linuxdoc): add support for tables and figures
3015         (linuxdoc).
3016
3017 2003-07-27  José Matos  <jamatos@fep.up.pt>
3018
3019         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3020         consistency in both functions.
3021         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3022
3023 2003-07-26  Asger Alstrup  <alstrup@local>
3024
3025         * rowpainter.C (paintRows): Change algorithm to work directly on
3026         the insets rather than asking every character in the document
3027         whether its an inset.
3028
3029 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3030
3031         * buffer.C (openFileWrite): factorize some code
3032
3033 2003-07-26  Angus Leeming  <leeming@lyx.org>
3034
3035         * lyx_cb.C:
3036         * lyx_main.[Ch]: replace occurances of system_tempdir with
3037         os::getTmpDir().
3038
3039 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * rename Inset to InsetOld
3042
3043 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3044
3045         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3046         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3047         which I think is a bit clearer. EDIT is gone, since it was
3048         premature optimisation, and broken for mathed anyway.
3049         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3050         with cursor positioning in insets as well (math insets still do not
3051         work, but that's a different story anyway.) It mysteriously
3052         crashes sometimes with undo in the first paragraph, but I'm fairly
3053         confident that this is a compiler bug.
3054
3055 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * paragraph.C (Paragraph): adjust for new clone return type
3058         (operator==): ditto
3059         (copyIntoMinibuffer): ditto
3060
3061 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3062
3063         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3064         by not having a special case, and always doing a full rebreak of
3065         the document after undo.
3066
3067 2003-07-23  Angus Leeming  <leeming@lyx.org>
3068
3069         * factory.C (createInset): InsetExternal::setParams now takes a
3070         Buffer const * arg.
3071
3072 2003-07-23  Angus Leeming  <leeming@lyx.org>
3073
3074         * factory.C (createInset): changed interface to the external and
3075         graphics mailers' string2params functions.
3076
3077 2003-07-23  Angus Leeming  <leeming@lyx.org>
3078
3079         * factory.C (createInset): pass a
3080         Buffer const * parameter to InsetExternalMailer's string2params.
3081
3082 2003-07-22  John Levon  <levon@movementarian.org>
3083
3084         * Thesaurus.h: include the right aiksaurus header
3085
3086 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3087
3088         * MenuBackend.C (expand): check menu shortcuts unconditionally
3089
3090 2003-07-21  Angus Leeming  <leeming@lyx.org>
3091
3092         * factory.C (createInset): pass a
3093         buffer_path parameter to InsetGraphicsMailer's string2params.
3094
3095 2003-07-21  Angus Leeming  <leeming@lyx.org>
3096
3097         * BufferView_pimpl.C (buffer):
3098         * buffer.C (d-tor):
3099         * lyx_main.C (LyX):
3100         * lyxfunc.C (dispatch):
3101         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3102         rather than the grfx shortcut.
3103
3104 2003-07-21  André Pönitz  <poenitz@gmx.net>
3105
3106         * rowpainter.C: remove unused variables
3107
3108         * tabular_funcs.C:
3109         * tabular_funcs.h: move to tabular.C
3110         * Makefile.am: adjust
3111
3112         * tabular.[Ch]: basic optical cleaning
3113
3114         * author.h: pass references, not values
3115
3116 2003-07-18  André Pönitz  <poenitz@gmx.net>
3117
3118         * lyxtext.h:
3119         * metricsinfo.C:
3120         * metricsinfo.h:
3121         * rowpainter.C:
3122         * text.C:
3123         * text2.C:
3124         * text3.C: two-phase drawing for InsetText and InsetTabular
3125         some float -> int changes.
3126
3127 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3128
3129         * lyx_main.C: fix the fix
3130
3131 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3132
3133         * lyx_main.C: fix a crash in batch mode if no files specified
3134         * converter.C: ws
3135
3136 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * format.[Ch] (papersize): moved to BufferParams
3139         * converter.[Ch] (dvips_options): moved to BufferParams
3140         (dvipdfm_options): moved to anon namespace
3141         * bufferparams.[Ch]: added above functions.
3142
3143 2003-07-17  André Pönitz  <poenitz@gmx.net>
3144
3145         * lyxtext.h:
3146         * rowpainter.C:
3147         * text2.C: don't call inset->update() anymore
3148
3149         * metricsinfo.[Ch]: add convenience constructor
3150
3151 2003-07-16  André Pönitz  <poenitz@gmx.net>
3152
3153         * lyxcursor.[Ch]:
3154         * lyxfunc.[Ch]:
3155         * text.C:
3156         * text2.C: replace the LyXCursor::irow_ member with
3157          on-demand computation of the value
3158
3159 2003-07-16  John Levon  <levon@movementarian.org>
3160
3161         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3162
3163 2003-07-15  André Pönitz  <poenitz@gmx.net>
3164
3165         * text.C:
3166         * text2.C: remove no more needed refresh_row
3167
3168 2003-07-15  André Pönitz  <poenitz@gmx.net>
3169
3170         * lyxtext.h:
3171         * rowpainter.C:
3172         * text2.C:
3173         * text3.C: refresh_status tristate -> need_update bool
3174
3175 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3176
3177         * lyxtext.h (init): remove reinit argument (act as if always true)
3178         * text2.C: adjust to that
3179
3180 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3181
3182         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3183         * text3.C: use it to delete selections in some cases
3184         (bugs 441, 673, 702, 954).
3185
3186 2003-07-14  André Pönitz  <poenitz@gmx.net>
3187
3188         * rowpainter.[Ch]: reduce interface
3189
3190 2003-07-14  André Pönitz  <poenitz@gmx.net>
3191
3192         * BufferView_pimpl.C:
3193         * text2.C: adjust after removing unused BufferView * argument
3194
3195 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3196
3197         * text2.C (init): fix a crash fired on resize
3198
3199 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3200
3201         * buffer.[Ch]: added new closing signal
3202         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3203         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3204         BufferView::Pimpl via the closing the signal
3205
3206 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * buffer.[Ch]: take out all bv-related from buffer
3209         * BufferView.C:
3210         * BufferView_pimpl.[Ch]: connect to new signals
3211         * CutAndPaste.C: removed useless asserts
3212         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3213         * lyxvc.[Ch]:
3214         * vc-backend.[Ch]:
3215         * lyxfunc.C: moved view-related funciontality from vc here
3216         * paragraph.C: removed outdated comments
3217         * text.C: ws
3218
3219 2003-07-10  André Pönitz  <poenitz@gmx.net>
3220
3221         * BufferView_pimpl.C:
3222         * tabular.h:
3223         * tabular_funcs.C:
3224         * text.C:
3225         * text2.C: remove InsetText::InnerCache, clean up consequences
3226
3227 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3228
3229         * ispell.C: fix two typos in error messages
3230
3231 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3232
3233         * Extend Note inset to other forms of annotation like Comment
3234         and Greyedout. Right button click gives dialog.
3235
3236         Files modified or added (+):
3237
3238         * insetnote.[Ch]
3239         * FormNote.[Ch]      +
3240         * ControlNote.[Ch]   +
3241         * form_note.fd       +
3242         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3243         frontends/controllers
3244         * xforms/Dialogs.C
3245         * factory.C
3246
3247 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3248
3249         * aspell.C: add missing namespace lyx::support
3250
3251 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * BufferView.[Ch] (newFile): Add
3254         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3255         * LaTeX.[Ch] (message): added this signal and use it
3256         * buffer.[Ch] (busy, message): added these signals and use them
3257         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3258         * converter.C:
3259         * exporter.C:
3260         * format.C:
3261         * importer.C: use buffer signals instead of direct bv calling
3262         * lyx_cb.[Ch] (ShowMessage): removed
3263         * lyx_main.C:
3264         * lyxfunc.C:
3265         * paragraph_funcs.C:
3266         * text2.C: use buffer signals
3267
3268 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * introduce namespace lyx::graphics
3271
3272 2003-07-02  André Pönitz  <poenitz@gmx.net>
3273
3274         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3275
3276 2003-07-01  André Pönitz  <poenitz@gmx.net>
3277
3278         * text.C:
3279         * text2.C:
3280         * text3.C:
3281         * text_funcs.[Ch]:
3282         * textcursor.h:
3283         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3284           text*.C to text_func.C
3285
3286 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3287
3288         * introduce namespace lyx::support
3289
3290 2003-06-30  André Pönitz  <poenitz@gmx.net>
3291
3292         * Chktex.C:
3293         * funcrequest.C:
3294         * lyxtext.h:
3295         * text.C: re-enable --with-included-string
3296
3297 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * textcursor.C: add <config.h>
3300
3301         * text.C (getWord): remove const from word_location arg
3302
3303         * lyxvc.C (getLogFile): fix const type order
3304
3305         * lyxtext.h: remove const from word_location arg, add arg name
3306
3307         * lyxlayout.h: currect type on labeltype.
3308
3309         * importer.C: correct \file
3310
3311         * converter.C (intToFormat): use std:: on ret val, ws changes
3312
3313         * bufferlist.h: correct \file
3314
3315         * buffer.C (makeLinuxDocFile): fix const type order
3316         (makeDocBookFile): ditto
3317         (fillWithBibKeys): use std:: on stdlib args.
3318
3319         * CutAndPaste.C: fix authors.
3320         (availableSelections): use std:: on return vector
3321
3322 2003-06-27  André Pönitz  <poenitz@gmx.net>
3323
3324         * BufferView_pimpl.C:
3325         * bufferview_funcs.C:
3326         * lyxcursor.C:
3327         * lyxcursor.h:
3328         * lyxfunc.C:
3329         * lyxtext.h:
3330         * rowpainter.C:
3331         * text.C:
3332         * text2.C:
3333         * text3.C: remove LyXCursor::row_ member
3334
3335         * lyxtext.h:
3336         * text.C: rename fullRebreak() to partialRebreak() and implement
3337           a fullRebreak() that really bereks fully
3338
3339         * textcursor.h: new struct for cursor-related data
3340
3341 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3342
3343         * lyx_main.C (LyX): get full path of document loaded on the
3344         command line
3345
3346 2003-06-26  André Pönitz  <poenitz@gmx.net>
3347
3348         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3349           remove unused/broken operator>,<,>=.
3350
3351         *       text.C: remove only use of broken operator<= in an Assert().
3352
3353 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3356         moved errorlist_.clear to showErrorList
3357
3358 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * converter.C (scanLog, runLaTeX):
3361         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3362         move the bv->showErrorList call to the callers
3363         * lyxfunc.C: i.e. here...
3364         * text2.C: and here
3365         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3366         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3367         namespace, the second to...
3368         * buffer_funcs (BufferFormat, parseErrors): added
3369         * errorlist.C (ErrorList(TeXErrors const &)): removed
3370
3371 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3372
3373         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3374
3375 2003-06-24  "Garst R. Reese" <reese@isn.net>
3376
3377         * debug.C: fix typo
3378
3379 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3380
3381         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3382
3383         * version.C.in: change docversion to 1.4
3384
3385 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * buffer.C: fix a bug just introduced
3388
3389 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * buffer.[Ch]: added the parseError signal and use it, removed
3392         sgmlError
3393         * BufferView.[Ch] (addError): moved to ...
3394         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3395         to the Buffer::parseError signal to catch (guess what) parse errors
3396         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3397
3398 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3401         ability to create a buffer and to return an existing one from
3402         the list. Moved these functions to...
3403         * buffer_funcs.[Ch]: added
3404         * BufferView.[Ch] (loadLyXFile): added
3405         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3406         job removed from bufferlist::loadLyXFile.
3407         * buffer.C (setReadOnly): make it work without view
3408         (i.e added an if (users))
3409
3410 2003-06-19  Angus Leeming  <leeming@lyx.org>
3411
3412         * lfuns.h:
3413         * LyXAction.C (init):
3414         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3415         with LFUN_DIALOG_SHOW <name> <data>.
3416
3417 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3418
3419         * CutAndPaste.C (availableSelections): small compilation fix for
3420         ancient (gcc 2.9x) compilers
3421
3422 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text3.C (cursorNext): add tmp var
3425
3426         * text2.C (updateCounters): for function calling out of for clause
3427         (replaceSelectionWithString): ditto
3428         (insertStringAsParagraphs): ditto
3429         (getColumnNearX): add tmp var
3430         (setCursorFromCoordinates): add tmp var
3431         (cursorDownParagraph): add tmp var
3432         (deleteEmptyParagraphMechanism): add tmp var
3433
3434         * text.C (insertChar): add tmp var
3435
3436         * rowpainter.C (paintDepthBar): add tmp var
3437
3438         * CutAndPaste.C (availableSelections): potentially check all
3439         paragraphs in a cut to fill the shown strings.
3440
3441 2003-06-18  André Pönitz  <poenitz@gmx.net>
3442
3443         * kbmap.[Ch]: use vector<> instead of list<>
3444
3445 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3446
3447         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3448         pasteSelection with index
3449
3450         * text2.C (pasteSelection): modify, call pasteSelection with index
3451
3452         * paragraph.C (asString): reimplement version with no interval to
3453         call the one with interval.
3454
3455         * lyxtext.h: add index arg to pasteSelection
3456
3457         * MenuBackend.C (MenuItem): handle PasteRecent
3458         (Menu::read::Menutags): add md_pasterecent
3459         (read): handle it
3460         (expandPasteRecent): new function
3461         (expand): use it
3462
3463         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3464
3465         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3466         the limited stack
3467         (availableSelections): new function
3468
3469 2003-06-17  Angus Leeming  <leeming@lyx.org>
3470
3471         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3472
3473 2003-06-17  Angus Leeming  <leeming@lyx.org>
3474
3475         * lfuns.h:
3476         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3477
3478         * lyxfunc.C (dispatch): invoke it.
3479
3480 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3481
3482         * iterators.C (operator++, ParPosition): reintroduce some
3483         const_cast for the benefit of older compilers.
3484
3485 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3486
3487         * text3.C (dispatch): do not modify clipboard when doing
3488         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3489         LFUN_DELETE_SKIP on a selection selection
3490
3491 2003-06-16  André Pönitz  <poenitz@gmx.net>
3492
3493         * BufferView.C:
3494         * buffer.C:
3495         * buffer.h:
3496         * paragraph.C:
3497         * tabular.[Ch]: IU of clone() and getLabelList();
3498
3499 2003-06-13  André Pönitz  <poenitz@gmx.net>
3500
3501         * tabular.h: compactification
3502
3503 2003-06-12  André Pönitz  <poenitz@gmx.net>
3504
3505         * tabular.C:
3506         * tabular.h:
3507         * tabular_funcs.h: some renaming plus whitespace
3508
3509 2003-06-12  André Pönitz  <poenitz@gmx.net>
3510
3511         * BufferView.C:
3512         * BufferView_pimpl.C:
3513         * CutAndPaste.C:
3514         * buffer.C:
3515         * iterators.[Ch]:
3516         * lyxfunc.C:
3517         * text.C:
3518         * toc.C: Return a Paragraph & for ParIterator::operator*()
3519
3520 2003-06-11  John Levon  <levon@movementarian.org>
3521
3522         * lyx_main.C:
3523         * ToolbarBackend.h:
3524         * ToolbarBackend.C: add "Toolbars" section and
3525         put the flags there
3526
3527 2003-06-10  Angus Leeming  <leeming@lyx.org>
3528
3529         * lfuns.h:
3530         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3531
3532         * lyxfunc.C (dispatch): invoke it.
3533
3534 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * main.C: protect <ios> with HAVE_IOS
3537         (main): protect sync_with_stdio with HAVE_IOS
3538
3539 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3540
3541         * text2.C (cutSelection): adjust
3542         (pasteSelection): adjust
3543
3544         * messages.C: handle get of empty string
3545
3546         * main.C (main): use sync_with_stdio(false)
3547
3548         * lyxfunc.C (dispatch): adjust
3549
3550         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3551         (WriteAs): remove unneeded BufferView arg.
3552
3553         * bufferparams.h: use correct types on papersize, papersize2 and
3554         paperpackage.
3555
3556         * bufferparams.C (readToken): adjust for type
3557         (writeLaTeX): add missing cases to switch.
3558
3559         * bufferlist.C (quitWriteBuffer): adjust
3560         (close): adjust
3561
3562         * buffer.C (asciiParagraph): remove some commented code.
3563
3564         * CutAndPaste.C: remove current_view extern variable.
3565         (cutSelection): add BufferParams arg.
3566         (eraseSelection): add BufferParams arg.
3567         (pasteSelection): add Buffer const & arg
3568
3569 2003-06-07  John Levon  <levon@movementarian.org>
3570
3571         * buffer.C:
3572         * paragraph_funcs.C:
3573         * paragraph_pimpl.C:
3574         * text.C:
3575         * text2.C:
3576         * paragraph.h:
3577         * paragraph.C: allow InsetERT to freely space lines,
3578         and some consolidation of code
3579
3580 2003-06-06  José Matos  <jamatos@fep.up.pt>
3581
3582         * buffer.C (makeDocBookFile): fix bug #821
3583
3584 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3587
3588 2003-06-04  Angus Leeming  <leeming@lyx.org>
3589
3590         * buffer.C: bump format to 224.
3591
3592 2003-06-05  André Pönitz  <poenitz@gmx.net>
3593
3594         * text2.C (redoParagraphs): remove two const_cast<>
3595
3596 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3597
3598         * ParagraphList.h: remove last remnants of NO_STD_LIST
3599
3600 2003-06-03  Angus Leeming  <leeming@lyx.org>
3601
3602         * factory.C (createInset): small change to the way InsetExternal's params
3603         are set.
3604
3605 2003-06-04  André Pönitz  <poenitz@gmx.net>
3606
3607         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3608
3609         * paragraph_pimpl.h:
3610         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3611
3612         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3613
3614         * undo_funcs.C: make some simple cases of undo work again
3615
3616 2003-06-03  John Levon  <levon@movementarian.org>
3617
3618         * ispell.C: HPUX doesn't have sys/select.h
3619         (from Albert Chin)
3620
3621 2003-06-03  John Levon  <levon@movementarian.org>
3622
3623         * CutAndPaste.C: update tabular and include inset
3624         buffer references
3625
3626         * buffer.h:
3627         * paragraph.h:
3628         * paragraph.C: remove owningBuffer(), don't pass Buffer
3629         to clone()
3630
3631         * factory.C: insetGraphicsParams changed
3632
3633 2003-06-02  John Levon  <levon@movementarian.org>
3634
3635         * LyXAction.C:
3636         * factory.C:
3637         * lfuns.h:
3638         * lyxfunc.C:
3639         * text3.C: remove insetparent
3640
3641 2003-06-02  John Levon  <levon@movementarian.org>
3642
3643         * buffer.h:
3644         * buffer.C: fix inset_iterator.end(), move out of line
3645         (bug 1149)
3646
3647 2003-06-01  John Levon  <levon@movementarian.org>
3648
3649         * text3.C: use a proper cut/paste when doing inset
3650         insert (from Jürgen Spitzmüller)
3651
3652 2003-06-01  John Levon  <levon@movementarian.org>
3653
3654         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3655
3656 2003-05-30  André Pönitz  <poenitz@gmx.net>
3657
3658         * rowpainter.C: unify second drawing phase
3659
3660 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * trans_mgr.C: remove one case of current_view
3663
3664         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3665
3666         * paragraph_funcs.h: remove paragraph.h include
3667
3668         * paragraph.h: delete NO_STD_LIST stuff
3669
3670         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3671
3672         * buffer.h: remove paragraph.h include
3673
3674         * ParagraphList.C: delete file
3675
3676         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3677
3678         * toc.C (getTocList): adjust
3679
3680         * paragraph_pimpl.C (validate): adjust
3681
3682         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3683
3684         * paragraph.C (Paragraph): adjust
3685         (getPositionOfInset): use const_iterator, adjust
3686         (bibitem): use const_iterator, adjust
3687         (setInsetOwner): adjust
3688
3689         * iterators.C (operator++): adjust
3690
3691         * InsetList.[Ch]: Replace selfmade iterator with standard
3692         vector::iterator also introduce const_iterator. Remove getPos,
3693         getInset and setInset from InsetTable. Adjust accordingly.
3694
3695         * BufferView.C (lockInset): adjust
3696         (ChangeInsets): adjust
3697
3698         * tabular.[Ch]: delete commented same_id functions
3699
3700 2003-05-28  John Levon  <levon@movementarian.org>
3701
3702         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3703
3704 2003-05-28  André Pönitz  <poenitz@gmx.net>
3705
3706         * metricsinfo.[Ch]: remove 'fullredraw' member
3707
3708 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3709
3710         * lyxtextclass.C (operator): remove caching.
3711
3712 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * text3.C: adjust
3715
3716         * text2.C (cursorBottom): adjust
3717         (setCounter): use ParagraphList::find, adjust
3718
3719         * text.C (workWidth): use ParagraphList::find, adjust
3720
3721         * lyxcursor.C (LyXCursor): adjust
3722
3723         * buffer.C (inset_iterator): adjust
3724
3725         * ParagraphList.h: make iterator(value_type) private, make
3726         ParagraphList a friend of iterator.
3727
3728         * ParagraphList.C (find): new function
3729
3730         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3731
3732 2003-05-27  André Pönitz  <poenitz@gmx.net>
3733
3734         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3735
3736 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3737
3738         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3739
3740 2003-05-26  John Levon  <levon@movementarian.org>
3741
3742         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3743
3744 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * remove same_id from function signatures, adjust.
3747
3748 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3751
3752         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3753
3754         * paragraph.C (Paragraph): get rid of same_ids parameter
3755
3756         * ParagraphList.C (insert): adjust
3757         (push_back): adjust
3758
3759 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * paragraph_funcs.C (breakParagraph): adjust
3762         (breakParagraphConservative): adjust
3763
3764         * buffer.C (readParagraph): adjust
3765
3766         * ParagraphList.C (insert): take a reference instead of a pointer
3767         (insert): adjust
3768
3769         * paragraph.[Ch] (id): new function
3770
3771         * bufferlist.C (newFile): adjust
3772
3773         * ParagraphList.C (ParagraphList): adjust
3774         (assign): adjust
3775         (push_back): take a reference instead of a pointer.
3776
3777         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3778
3779         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3780         instead.
3781
3782         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3783         set else use old code.
3784
3785         * ParagraphList.C: remove all NO_NEXT code and only compile this
3786         code of NO_STD_LIST is set.
3787
3788 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3789
3790         * BufferView_pimpl.C:
3791         * TextCache.C:
3792         * TextCache.h:
3793         * bufferlist.C:
3794         * errorlist.h:
3795         * format.C:
3796         * format.h:
3797         * graph.C:
3798         * lyxfunc.C:
3799         * lyxrc.C:
3800         * graphics/GraphicsConverter.C:
3801         * graphics/PreviewLoader.C: header adjustment
3802
3803 2003-05-23  Angus Leeming  <leeming@lyx.org>
3804
3805         * LaTeXFeatures.[Ch] (useBabel): new method.
3806         * bufferparams.C (writeLaTeX): use it.
3807
3808 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * ParagraphList.h (set): remove unused function.
3811
3812 2003-05-23  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.C:
3815         * BufferView_pimpl.C:
3816         * buffer.C:
3817         * buffer.h:
3818         * lyxfunc.C:
3819         * undo_funcs.C: setUndo reworked
3820
3821         * iterators.[Ch]: add access to topmost ParagraphList
3822
3823         * lyxtext.[Ch] (workWidth): add a const
3824
3825 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3826
3827         * texrow.[Ch] (increasePos): remove function
3828         * exporter.C (export): removed unused var and outdated comment
3829
3830 2003-05-23  Angus Leeming  <leeming@lyx.org>
3831
3832         * latexrunparams.h: rename fragile as moving_arg.
3833         * paragraph.C (simpleTeXOnePar): ditto.
3834         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3835
3836 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3839         (createUndo): ditto
3840         (textUndoOrRedo): comment out a currently unused var.
3841
3842         * paragraph.h (NO_NEXT): enable NO_NEXT
3843
3844         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3845
3846         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3847
3848         * exporter.C (Export): adjust for removeAutoInsets removal.
3849
3850         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3851
3852         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3853
3854         * BufferView.[Ch] (removeAutoInsets): delete function
3855
3856 2003-05-22  Angus Leeming  <leeming@lyx.org>
3857
3858         * latexrunparams.h: add a free_spacing variable.
3859
3860         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3861         to pass moving_arg, as the data is stored in runparams.fragile.
3862
3863         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3864         to Inset::latexOptional or to simpleTeXOnePar.
3865
3866         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3867         free_spacing arg to Inset::latexOptional.
3868
3869         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3870         free_spacing arg.
3871
3872 2003-05-22  Angus Leeming  <leeming@lyx.org>
3873
3874         * latexrunparams.h: add fragile and use_babel variables.
3875
3876         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3877         * buffer.C (makeLaTeXFile): store this returned value in
3878         runparams.use_babel, thus passing it to the inset::latex methods.
3879
3880         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3881         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3882
3883         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3884         longer has a fragile arg, as it is stored in runparams.fragile.
3885
3886         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3887         moving_arg parameter as the data is stored in runparams.fragile.
3888
3889         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3890         a fragile parameter as the data is stored in runparams.fragile.
3891
3892 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3895
3896 2003-05-22  Angus Leeming  <leeming@lyx.org>
3897
3898         * latexrunparams.h: add a 'bool nice' which defaults to false.
3899
3900         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3901         now encapsulated within runparams.
3902
3903         * bufferlist.C (updateIncludedTeXfiles):
3904         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3905
3906 2003-05-22  Angus Leeming  <leeming@lyx.org>
3907
3908         * latexrunparams.h: new file containing struct LatexRunParams.
3909         * Makefile.am: add new file.
3910
3911         * LaTeX.[Ch] (c-tor, run):
3912         * buffer.[Ch] (makeLaTeXFile):
3913         * bufferlist.[Ch] (updateIncludedTeXfiles):
3914         * converter.C (convert, scanLog):
3915         * converter.[Ch] (runLaTeX):
3916         * exporter.C (Export):
3917         * paragraph.[Ch] (simpleTeXOnePar):
3918         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3919         * paragraph_funcs.[Ch] (latexParagraphs):
3920         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3921         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3922         pass around a LatexRunParams parameter.
3923
3924 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * paragraph.[Ch]: remove unused constructor
3927
3928         * ParagraphList.C (erase): new function, taking two iterators
3929
3930 2003-05-22  André Pönitz  <poenitz@gmx.net>
3931
3932         * undo_funcs.C: remove duplicated code
3933
3934         * iterator.[Ch]: operator=
3935
3936 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * tabular.C (SetMultiColumn): ws changes
3939
3940         * rowpainter.C (paintFirst): get rid of a ->previous
3941
3942         * lyx_cb.C (getPossibleLabel): parlist simplification
3943
3944         * BufferView.C (ChangeInsets): simplify slightly.
3945
3946 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3947
3948         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3949         * lfuns.h: new LFUN_SPACE
3950         * lyxfunc.C: protected space has a new lfun
3951         * paragraph_funcs.C: read new space insets
3952         * text3.C:
3953         * factory.C: handle new space insets
3954
3955 2003-05-22  André Pönitz  <poenitz@gmx.net>
3956
3957         * BufferView.C:
3958         * BufferView_pimpl.C:
3959         * buffer.[Ch]:
3960         * lyxfunc.C:
3961         * undo_funcs.C: return a ParIterator from getParFromID.
3962
3963         * iterators.[Ch]: add two const's
3964
3965 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * toc.C (getTocList): adjust
3968
3969         * iterators.[Ch]: rework for parlist
3970
3971         * buffer.C (par_iterator_begin): adjust
3972         (par_iterator_end): adjust
3973
3974         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3975
3976         * BufferView.C (removeAutoInsets): adjust
3977         (ChangeInsets): adjust
3978
3979 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * text.C (top_y): fix bug 1110
3982
3983 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3984
3985         * errorlist.[Ch]: added
3986         * buffer.C:
3987         * BufferView.[Ch]:
3988         * BufferView_pimpl.C:
3989         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3990         instead
3991
3992 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * Makefile.am: ensure that lyx is relinked upon changes to the
3995         various "convenience" libs.
3996
3997 2003-05-20  Angus Leeming  <leeming@lyx.org>
3998
3999         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4000         files are compiled in alphabetical order again.
4001
4002         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4003
4004 2003-05-19  Angus Leeming  <leeming@lyx.org>
4005
4006         * gettext.[Ch]: remove "char const * _(char const *)".
4007
4008 2003-05-19  André Pönitz  <poenitz@gmx.net>
4009
4010         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4011
4012         * Makefile.am:
4013         * BufferView.C:
4014         * DepTable.h:
4015         * LaTeXFeatures.C:
4016         * buffer.C:
4017         * lyxfont.C:
4018         * lyxlex.h:
4019         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4020
4021 2003-05-19  André Pönitz  <poenitz@gmx.net>
4022
4023         * buffer.C:
4024         * lyxlayout.[Ch]:
4025         * lyxtextclass.[Ch]:
4026         * paragraph.C:
4027         * paragraph_funcs.[Ch]:
4028         * text2.C:
4029         * text3.C: more insetenv work
4030
4031 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * ParagraphParameters.C (params2string): small bug fixed
4034
4035 2003-05-16  André Pönitz  <poenitz@gmx.net>
4036
4037         * debug.C:
4038         * bufferview_funcs.C: patch from Kornel Benko to prevent
4039           crash when _(...) is called twice in a statement
4040
4041 2003-05-16  André Pönitz  <poenitz@gmx.net>
4042
4043         * BufferView.C:
4044         * lyxfunc.C:
4045         * text.C:
4046         * text2.C:
4047         * text3.C:
4048         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4049
4050 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4051
4052         * lyx_main.C (init): remove spurious static_cast
4053
4054 2003-05-14  André Pönitz  <poenitz@gmx.net>
4055
4056         * BufferView.C: fix format string
4057
4058 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4059
4060         * BufferView.[Ch] (insertErrors): removed
4061         * BufferView.[Ch] (showErrorList): added
4062         * buffer.C (runChkTeX):
4063         * converter.C (scanLog): call showErrorList instead of inserterrors
4064
4065 2003-05-13  André Pönitz  <poenitz@gmx.net>
4066
4067         * BufferView_pimpl.C:
4068         * buffer.C:
4069         * bufferview_func.C:
4070         * MenuBackend.C:
4071         * lyxfunc.C:
4072         * lyxrc.C:
4073         * tex-accent.C:
4074         * text3.C:
4075         * toc.C:
4076         * tabular_funcs.h: tostr() from its own header
4077
4078         * ParagraphParameters.C:
4079         * ToolbarBackend.C:
4080         * bufferparams.C:
4081         * format.C:
4082         * lyxlex_pimpl.C:
4083         * text3.C: STRCONV()
4084
4085 2003-05-12  André Pönitz  <poenitz@gmx.net>
4086
4087         * BufferView.C:
4088         * BufferView_pimpl.C:
4089         * CutAndPaste.C:
4090         * LaTeX.C:
4091         * LaTeXFeatures.C:
4092         * ParagraphParameters.C:
4093         * buffer.C:
4094         * bufferlist.C:
4095         * bufferparams.C:
4096         * bufferview_funcs.C:
4097         * converter.C:
4098         * counters.C:
4099         * debug.C:
4100         * exporter.C:
4101         * format.C:
4102         * importer.C:
4103         * lyx_cb.C:
4104         * lyx_main.C:
4105         * lyxfont.C:
4106         * lyxfunc.C:
4107         * lyxvc.C:
4108         * paragraph.C:
4109         * paragraph_funcs.C:
4110         * tabular.C:
4111         * tabular_funcs.C:
4112         * text2.C:
4113         * text3.C:  boost::format -> bformat  all over the place
4114
4115
4116 2003-05-09  André Pönitz  <poenitz@gmx.net>
4117
4118         * LColor.[Ch]: Pimpl the #include <map> away
4119
4120 2003-05-09  John Levon  <levon@movementarian.org>
4121
4122         * bufferlist.C: never remove emergency saves
4123
4124 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * Makefile.am: better lib building
4127
4128 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4131         instead.
4132         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4133         (simpleTeXSpecialChars): adjust
4134         (simpleTeXSpecialChars): adjust
4135         * paragraph.C (simpleTeXOnePar): adjust
4136         * buffer.C (makeLaTeXFile): adjust
4137
4138         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4139
4140         * text2.C (changeDepth): parlist cleanup
4141         (getColumnNearX): ditto
4142
4143         * rowpainter.C (getLabelFont): parlist cleanup
4144
4145         * bufferlist.C (newFile): parlist cleanup
4146
4147         * CutAndPaste.C (eraseSelection): parlist cleanup
4148
4149         * BufferView_pimpl.C (trackChanges): parlist cleanup
4150         (dispatch): ditto
4151
4152         * BufferView.C (lockInset): parlist cleanup.
4153         (ChangeInsets): ditto
4154
4155 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * CutAndPaste.h: Update file header.
4158
4159         * CutAndPaste.C: Update file header.
4160         Store the parts cut out of the Document in a limited_stack.
4161         (copySelection): adjust
4162         (pasteSelection): new function, takes the index in the limited stack.
4163         (nrOfParagraphs): adjust
4164         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4165         simplify error inset insertion.
4166         (checkPastePossible): adjust
4167
4168 2003-05-06  John Levon  <levon@movementarian.org>
4169
4170         * text2.C: don't cast wrap inset to float
4171
4172 2003-05-05  André Pönitz  <poenitz@gmx.net>
4173
4174         * iterator.C:
4175         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4176
4177         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4178           few naked Paragraph *.
4179
4180 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4181
4182         * bufferparams.C: Output warning if a document with missing
4183         TeX document class is loaded
4184         * exporter.C: Disable TeX exports if the document class is missing
4185         * lyxtextclass.C:
4186         * lyxtextclass.h:
4187         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4188         isTeXClassAvailable()
4189
4190 2003-05-03  John Levon  <levon@movementarian.org>
4191
4192         * BufferView.h:
4193         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4194         explicit cursor show/hide
4195
4196         * BufferView_pimpl.h:
4197         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4198         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4199
4200         * lyxfunc.C: hide cursor before dispatching.
4201
4202         * lyx_cb.C:
4203         * lyxfind.C:
4204         * text.C:
4205         * text3.C: remove explicit cursor hides
4206
4207 2003-05-02  André Pönitz  <poenitz@gmx.net>
4208
4209         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4210
4211         * undo_funcs.C:
4212         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4213           linked lists
4214
4215         * text2.C: tiny whitespace
4216
4217 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * undo_funcs.C: almost only ws changes.
4220
4221         * ParagraphList.C (splice): just return if pl is empty.
4222
4223 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * ParagraphList.C (splice): new function.
4226
4227         * CutAndPaste.C (pasteSelection): use it
4228
4229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * CutAndPaste.C (pasteSelection): remove the last next and
4232         previous from this file.
4233
4234 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * CutAndPaste.C (pasteSelection): more clean up, user proper
4237         ParagraphList functions for pasteing.
4238
4239         * ParagraphList.C (insert): new function, three arg insert
4240
4241 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * ParagraphList.C (insert): new function, three arg insert
4244
4245         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4246         not on paragraphs.
4247
4248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4251
4252 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4255
4256 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4259         (copySelection): clean up a bit.
4260         (pasteSelection): use make_pair
4261
4262         * ParagraphList.C (ParagraphList): implement copy constructor
4263         (operator=): implement, base on copy constructor.
4264         (assign): new func
4265
4266         * paragraph.C (erase): return a bool
4267
4268         * paragraph_pimpl.C (erasePos): remove function, move contents...
4269         (erase): ... here. Return a bool.
4270         (erase): call erase instead of erasePos.
4271
4272 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4273
4274         * ParagraphList.h: define PitPosPair
4275         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4276         ParagraphList, fix a bug on pasting multiple pars
4277         * text2.C: change interface to C&P
4278
4279 2003-04-30  André Pönitz  <poenitz@gmx.net>
4280
4281         * undo_func.C: revert part of yesterday's patch 2
4282
4283 2003-04-30  John Levon  <levon@movementarian.org>
4284
4285         * LColor.C: s/tabular/table/
4286
4287 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * text3.C (dispatch): do not convert iterator -> pointer
4290         * undo_funcs.C (setCursorParUndo): ditto
4291         * text_funcs.C (transposeChars): ditto
4292
4293         * text2.C (setLayout): ws changes only
4294
4295         * text.C (breakParagraph): do not convert iterator -> pointer
4296         (insertChar): ditto
4297         (acceptChange): ditto
4298         (rejectChange): ditto
4299         (changeCase): ditto
4300         (Delete): ditto
4301         (backspace): ditto
4302
4303         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4304         pointer
4305
4306 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * text3.C (gotoInset): YABG (yet another bad getChar)
4309
4310 2003-04-29  André Pönitz  <poenitz@gmx.net>
4311
4312         * paragraph.h: make operator= private unimplemented as long as
4313           it is unusable
4314
4315         * ParagraphList.C: whitespace
4316
4317         * paragraph.[Ch]:
4318         * paragraph_pimpl.[Ch]:
4319         * paragraph_funcs.C:
4320         * CutAndPaste.C:
4321         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4322
4323         * text2.C:
4324           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4325
4326 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4329         * paragraph.[Ch] (erase):
4330         * paragraph_pimpl.[Ch] (erase): change return type and value
4331         * text2.C (cutSelection): some rework
4332
4333 2003-04-28  John Levon  <levon@movementarian.org>
4334
4335         * bufferlist.C: changes for unsaved changes dialog
4336
4337 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * bufferlist.C (newFile): set language (messages_) for new
4340         documents also.
4341
4342         * buffer.C (readFile): ws changes only.
4343
4344 2003-04-28  André Pönitz  <poenitz@gmx.net>
4345
4346         * undo_funcs.C:
4347         * lyxfunc.C:
4348         * buffer.[Ch]:
4349         * BufferView_pimpl.C:
4350         * BufferView.C: getParFromID related ParagraphList::iterator changes
4351
4352 2003-04-28  André Pönitz  <poenitz@gmx.net>
4353
4354         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4355           Changes
4356
4357 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * messages.C: remove one more localedir class variable.
4360
4361 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * messages.C (getLocaleDir): singleton generation function
4364         (Pimpl): use it.
4365         (Messages): add a default constructor.
4366
4367         * main.C (main): do not setup localedir here, do not call
4368         gettext_init.
4369
4370         * gettext.C (_): use it.
4371         (gettext_init): delete funciton
4372
4373 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * gettext.C (getLyXMessages): new singleton generating function.
4376
4377         * buffer.C (updateDocLang): adjust
4378
4379         * Makefile.am (messages.o): add target
4380         (main.o): remove target
4381
4382 2003-04-27  John Levon  <levon@movementarian.org>
4383
4384         * bufferlist.C:
4385         * lyx_cb.C:
4386         * lyxfunc.C:
4387         * lyxvc.C: specify cancel button in Alert::prompt
4388
4389 2003-04-26  John Levon  <levon@movementarian.org>
4390
4391         * text3.C:
4392         * lyxfunc.C:
4393         * lfuns.h:
4394         * LyXAction.C: add LFUN_INSET_SETTINGS
4395
4396         * lyxfunc.C: don't enable tabular-feature when there's
4397         just any locking inset
4398
4399 2003-04-26  John Levon  <levon@movementarian.org>
4400
4401         * bufferlist.C: re-add Cancel to buffer close question
4402
4403         * lyxfunc.C: fix import UI a bit
4404
4405 2003-04-25  John Levon  <levon@movementarian.org>
4406
4407         * gettext.C: remove the broken asserts for now
4408
4409 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * messages.C: make case where setlocale cannot comply work better.
4412
4413         * buffer.C (updateDocLang): new function
4414         (changeLanguage): use it
4415         (readFile): use it
4416
4417         * text2.C (setCounter): use B_ a bit.
4418
4419         * lyxlayout.C (Read): be sure to trim the label strings.
4420
4421         * messages.C (Messages): fix typo in comment
4422
4423         * buffer.C (readFile): set message_ after file is loaded.
4424         (makeDocBookFile): remove double return
4425         (changeLanguage): reset message_ upon language change.
4426         (B_): new func, use this to get translated buffer strings.
4427
4428         * main.C: add myself and Jean Marc as authors.
4429
4430 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * messages.[hC]: pimplify Messages, and three different pimpls to be
4433         used in different circumstances.
4434
4435         * gettext.[Ch]: change for use with new message code.
4436
4437 2003-04-24 André Pönitz <poenitz@gmx.net>
4438
4439         * factory.C: support for eqref
4440
4441 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * messages.[Ch]: add missing char
4444
4445         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4446
4447         * messages.[Ch]: New files
4448
4449 2003-04-18  John Levon  <levon@movementarian.org>
4450
4451         * BufferView.h:
4452         * BufferView.C:
4453         * BufferView_pimpl.C:
4454         * lfuns.h:
4455         * LyXAction.C:
4456         * lyxtext.h:
4457         * text2.C: remove layout-copy/paste (bug 778)
4458
4459 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4462
4463 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4466         if they succeed. Act accordingly.
4467
4468 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * text2.C (setCharFont): adjust
4471         (setCounter): adjust
4472         (insertStringAsLines): adjust
4473
4474         * text.C (leftMargin): adjust
4475         (setHeightOfRow): adjust
4476
4477         * rowpainter.C (paintFirst): adjust
4478         (paintLast): adjust
4479
4480         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4481         (outerHook): ditto
4482         (isFirstInSequence): ditto
4483         (getEndLabel): ditto
4484         (outerFont): adjust
4485
4486         * paragraph.C (getParLanguage): comment out some hard stuff.
4487
4488         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4489         (sgmlError): ditto
4490         (simpleDocBookOnePar): ditto
4491         (makeDocBookFile): use ParagraphList::iterator
4492
4493         * CutAndPaste.C (pasteSelection): adjust
4494
4495 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4496
4497         * text2.C (getFont): adjust
4498         (getLayoutFont): adjust
4499         (getLabelFont): adjust
4500
4501         * paragraph_funcs.C (TeXOnePar): adjust
4502
4503         * buffer.C (simpleLinuxDocOnePar): adjust
4504         (simpleDocBookOnePar): adjust
4505
4506         * CutAndPaste.C (pasteSelection): adjust
4507
4508         * BufferView.C (getEncoding): adjust
4509
4510         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4511
4512 2003-04-16  John Levon  <levon@movementarian.org>
4513
4514         * lyxfind.C: use parlist stuff for search/changes
4515
4516 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4519
4520         * text2.C (deleteEmptyParagraphMechanism): adjust
4521
4522         * text2.[Ch] (ownerParagraph): delete func (both of them
4523
4524 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4527
4528 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * ParagraphList.C: prepare for NO_NEXT
4531
4532 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * text2.C (getFont): adjust
4535         (getLayoutFont): adjust
4536         (getLabelFont): adjust
4537
4538         * paragraph.C (getFont): adjust
4539         (getLabelFont): adjust
4540         (getLayoutFont): adjust
4541
4542         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4543
4544 2003-04-15  John Levon  <levon@movementarian.org>
4545
4546         From Angus Leeming
4547
4548         * lyx_main.C: handle Include in .ui files
4549
4550 2003-04-15  John Levon  <levon@movementarian.org>
4551
4552         * MenuBackend.C: make the doc files length shorter
4553
4554         * ToolbarBackend.h:
4555         * ToolbarBackend.C: handle toolbar placement flags,
4556         Minibuffer
4557
4558 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4561         adjust
4562
4563         * paragraph_funcs.C (TeXOnePar): adjust
4564
4565         * paragraph.C (getLabelFont): add outerfont arg, adjust
4566         (getLayoutFont): ditto
4567         (simpleTeXOnePar): adjust
4568
4569         * paragraph_pimpl.C (realizeFont): delete func
4570
4571 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4572
4573         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4574         row argument, constify cur argument.
4575
4576 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * text2.C (getFont): adjust
4579         (getLayoutFont): adjust
4580         (getLabelFont): adjust
4581
4582         * paragraph_funcs.C (TeXOnePar): adjust
4583         (outerFont): new func...
4584         (realizeFont): ...moved out from here, changed this to facilitate
4585         transition
4586
4587         * paragraph.C (getFont): take outerfont as arg, adjust
4588         (simpleTeXOnePar): add outerfont arg, adjust
4589
4590         * buffer.C (simpleLinuxDocOnePar): adjust
4591         (simpleDocBookOnePar): adjust
4592
4593         * CutAndPaste.C (pasteSelection): adjust
4594
4595         * BufferView.C (getEncoding): adjust
4596
4597 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * text2.C (setCharFont): adjust
4600         (setCounter): adjust
4601
4602         * text.C (leftMargin): adjust
4603         (setHeightOfRow): adjust
4604
4605         * rowpainter.C (paintFirst): adjust
4606         (paintLast): adjust
4607
4608         * paragraph_pimpl.C (realizeFont): adjust
4609
4610         * paragraph.C (isFirstInSequence): move from here...
4611         * paragraph_funcs.C (isFirstInSequence): ...to here
4612
4613         * paragraph.C (outerHook): move from here...
4614         * paragraph_funcs.C (outerHook): ...to here
4615
4616         * paragraph.C (depthHook): move from here...
4617         * paragraph_funcs.C (depthHook): ...to here
4618
4619         * paragraph.C (getEndLabel): move from here...
4620         * paragraph_funcs.C (getEndLabel): ...to here
4621
4622         * text2.C (realizeFont): move from here...
4623         * paragraph_funcs.C (realizeFont): ...to here
4624
4625 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4628
4629 2003-04-14  Angus Leeming  <leeming@lyx.org>
4630
4631         * LColor.[Ch]: scrap LColor mathcursor.
4632
4633 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * lyxlex.[Ch] (text): delete function
4636         * trans.C (Load): adjust
4637         * paragraph_funcs.C (readParToken): adjust
4638
4639 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4642         vector<char> instead of a char[].
4643
4644         * lyxlex_pimpl.C (getString): adjust
4645         (next): adjust
4646         (lex): use getString
4647         (eatLine): adjust
4648         (nextToken): adjust
4649
4650         * lyxlex.C (text): use pimpl_->getString()
4651         (getBool): ditto
4652         (findToken): ditto
4653
4654 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4655
4656         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4657         (makeFontEntriesLayoutSpecific): temp var for par.size()
4658         (setLayout): temp var for ownerParagraphs().end()
4659         (fullRebreak): temp var for rows().end()
4660         (selectionAsString): temp var for boost::next(startpit), realize
4661         that the while really is a regular for loop.
4662         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4663         setCursor in one place.
4664         (setParagraph): temp vr for ownerParagraphs().end()
4665         (updateCounters): make the while loop a for loop
4666         (cutSelection): temp var for ownerParagraphs().end()
4667         (updateInset): make the do {} while() a regular for loop
4668         (getCursorX): use temp vars
4669         (setCurrentFont): use temp vars
4670         (getColumnNearX): use temp vars
4671
4672 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * text.C (transformChar): use temp var for getChar
4675         (computeBidiTables): use temp var for row->par()
4676         (fill): move temp vars for row->par() and pit->layout() earlier in
4677         the function.
4678         (labelFill): use temp var for row->par()
4679         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4680         asc and desc, realize that pit never changes and that firstpit is
4681         just a duplicate and not needed. Exchange rit->par() with pit in a
4682         lot of places.
4683         (breakAgain): use a temp var for boost::next(rit)
4684         (breakAgainOneRow): ditto
4685         (breakParagraph): use a temp var for rows().begin()
4686         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4687         (cursorRightOneWord): use temp var for cursor.par() and
4688         cursor.pos(), remove usage of tmpcursor.
4689         (cursorLeftOneWord): use temp var for cursor.par() and
4690         cursor.pos() only set cur at end of function.
4691
4692 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * text.C, text2.C: exchange all usage of Paragraph::next with
4695         boost::next(ParagraphList::iterator)
4696
4697         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4698
4699         * text2.C (cursorTop): simplify implementation
4700         (cursorBottom): ditto
4701         (setParagraph): use ParagraphList::iterator
4702         (setCurrentFont): adjust
4703         (getColumnNearX): adjust
4704         (cursorRight): adjust
4705         (cursorLeft): remove usage of Paragraph::previous
4706         (cursorUpParagraph): ditto
4707         (deleteEmptyParagraphMechanism): slight cleanup
4708
4709         * text.C (isBoundary): take a Paragraph const & instead of a
4710         pointer as arg.
4711         (addressBreakPoint): ditto
4712         (leftMargin): remove usage of Paragraph::previous.
4713         (setHeightOfRow): ditto
4714         (cursorLeftOneWord): ditto
4715         (selectNextWordToSpellcheck): ditto
4716         (Delete): ditto
4717         (backspace): ditto
4718         (breakParagraph): remove one usage of Paragraph::next
4719         (redoParagraph): ditto
4720         (acceptChange): ditto
4721         (insertChar): adjust
4722         (rowBreakPoint): adjust
4723
4724         * bufferview_funcs.C (toggleAndShow): adjust
4725
4726 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4729         methods to access it.
4730         * lyxtext.h:
4731         * text.C: Added updateRowPositions to compute all row positions.
4732         Make top_y and getRowNearY() to use the cached y position
4733
4734 2003-04-11  John Levon  <levon@movementarian.org>
4735
4736         * text.C (rowBreakPoint): reintroduce the labelEnd
4737         checks, code copied from the row fill stuff. Deep voodoo.
4738
4739         * text.C (fill): add a comment and debugging for the
4740         next poor soul.
4741
4742 2003-04-11  John Levon  <levon@movementarian.org>
4743
4744         * text.C: make sure fullrow insets get wrapped to the next line,
4745         even when they're in a manual label
4746
4747 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * text2.C (insertParagraph): make it take ParagraphList::iterator
4750         as arg.
4751         (setLayout): make it return ParagraphList::iterator
4752         (redoParagraphs): ditto
4753         (setCounter): ditto
4754         (checkParagraph): ditto
4755
4756         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4757
4758         * text2.C: adjust several funcs.
4759         (realizeFont): take a ParagraphList::iterator as arg.
4760         (getLayoutFont): ditto
4761         (getLabelFont): ditto
4762         (setCharFont): ditto
4763
4764         * text.C: adjust several funcs.
4765
4766 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * text.C (selectNextWordToSpellcheck): don't accidentally
4769         skip insets
4770
4771 2003-04-10  John Levon  <levon@movementarian.org>
4772
4773         * ToolbarBackend.C (getIcon): special handling for
4774         LFUN_MATH_DELIM
4775
4776 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * text2.C (cursorRight): a getChar assert fixed
4779
4780 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * text2.C (getFont): change to take a ParagraphList::iterator
4783         instead of Paragraph*
4784         Adjust several functions.
4785
4786         * text.C (transformChar): change to take a ParagraphList::iterator
4787         instead of Paragraph*
4788         (singleWidth): ditto
4789         Adjust several functions.
4790
4791         * rowpainter.C: adjust several functions
4792         * rowpainter.h:store a ParagraphList::iterator and not a
4793         Paragraph&.
4794
4795
4796 2003-04-09  John Levon  <levon@movementarian.org>
4797
4798         * lyxfunc.C:
4799         * lfuns.h:
4800         * LyXAction.h:
4801         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4802         and the "help" bits as well
4803
4804 2003-04-09  John Levon  <levon@movementarian.org>
4805
4806         * ToolbarBackend.h:
4807         * ToolbarBackend.C: allow multiple toolbars
4808
4809 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * undo_funcs.C (setCursorParUndo): adjust
4812
4813         * text_funcs.C (transposeChars): adjust
4814
4815         * text3.C (gotoNextInset): adjust
4816         (dispatch): adjust
4817
4818         * text2.C (setLayout): adjust
4819         (changeDepth): adjust
4820         (setFont): adjust
4821         (redoParagraphs): adjust
4822         (selectionAsString): adjust
4823         (setParagraph): adjust
4824         (insertInset): adjust
4825         (cutSelection): adjust
4826         (copySelection): adjust
4827         (pasteSelection): adjust
4828         (insertStringAsLines): adjust
4829         (updateInset): adjust
4830         (setCursor): change to take a ParagraphList::iterator parameter
4831         (setCursorIntern): change to take a ParagraphList::iterator parameter
4832         (setCurrentFont): adjust
4833         (cursorLeft): adjust
4834         (cursorRight): adjust
4835         (deleteEmptyParagraphMechanism): adjust
4836
4837         * text.C (breakParagraph): adjust
4838         (insertChar): adjust
4839         (acceptChange): adjust
4840         (rejectChange): adjust
4841         (selectNextWordToSpellcheck): adjust
4842         (changeCase): adjust
4843         (Delete): adjust
4844         (backspace): adjust
4845
4846         * lyxfind.C (SearchForward): adjust
4847         (SearchBackward): adjust
4848         (nextChange): adjust
4849
4850         * lyxcursor.C (par): adjust
4851
4852         * lyxcursor.h: store a ParagraphList::iterator instead of a
4853         Paragraph*
4854
4855         * lyx_cb.C (getPossibleLabel): adjust
4856
4857         * bufferview_funcs.C (toggleAndShow): adjust
4858
4859         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4860         (dispatch): adjust
4861
4862         * BufferView.C (removeAutoInsets): adjust
4863         (lockedInsetStoreUndo): adjust
4864
4865 2003-04-09  John Levon  <levon@movementarian.org>
4866
4867         * ToolbarBackend.C: try icon without argument
4868         if with argument fails
4869
4870 2003-04-08  John Levon  <levon@movementarian.org>
4871
4872         * ToolbarBackend.h:
4873         * ToolbarBackend.C: add getIcon(), handle tooltip,
4874         and change from "Icon" to "Item".
4875
4876 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * BufferView.C (lockInset): another bad getchar crunched
4879
4880 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4883         again)
4884
4885 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyxfind.C (searchForward, searchBackwards): bug 782
4888
4889 2003-04-07  John Levon  <levon@movementarian.org>
4890
4891         * paragraph.C: remove dead comment
4892
4893         * text.C: remove troublesome depth-fiddling code
4894         in leftMargin() and rightMargin() (bug 1017)
4895
4896         * text.C: fix breaking of rows in nested lists
4897         (bug 1004)
4898
4899         * text2.C (updateCounters): fix up depth values
4900         (bug 1013)
4901
4902 2003-04-07  John Levon  <levon@movementarian.org>
4903
4904         * BufferView_pimpl.C: clear message when doc finishes resizing,
4905         and after a mouse event
4906
4907         * lyxfunc.C: clear message after exiting inset
4908
4909 2003-04-07  John Levon  <levon@movementarian.org>
4910
4911         * bufferview_funcs.C: show math status not outside
4912         status in the statusbar
4913
4914 2003-04-07  John Levon  <levon@movementarian.org>
4915
4916         * lyxfunc.C: note status changed after a depth change
4917
4918 2003-04-04  Angus Leeming  <leeming@lyx.org>
4919
4920         * LaTeX.h: move AuxInfo operator==, != out of line.
4921         Remove LaTeX virtual destructor; nothing derives from it.
4922         Move operator()() out of public area and rename it startscript().
4923         Change protected for private.
4924
4925 2003-04-04  Angus Leeming  <leeming@lyx.org>
4926
4927         * lyxfunc.C:
4928         * text2.C: remove unneeded #includes.
4929
4930 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * text2.C (dEPM): fix the heigth of the next row
4933
4934 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text.C: squashed an invalid getChar requester + some ws changes
4937
4938 2003-04-03  John Levon  <levon@movementarian.org>
4939
4940         * bufferview_funcs.h:
4941         * bufferview_funcs.C:
4942         * lyxfunc.C:
4943         * lyxtext.h:
4944         * text2.C: make getStatus work for the env depth lfuns
4945
4946 2003-04-03  John Levon  <levon@movementarian.org>
4947
4948         * bufferview_funcs.h:
4949         * bufferview_funcs.C:
4950         * lyxfunc.C:
4951         * lyxtext.h:
4952         * text2.C: parlistize decDepth(), by merging it with incDepth()
4953
4954 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * lyxrow.h: store a ParagraphList::iterator instead of a
4957         Paragraph* and adjust other class functions to suit.
4958
4959         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4960         above.
4961
4962 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * text2.C (setCursor): do not anchor to cursor row for the time being
4965
4966 2003-04-02  John Levon  <levon@movementarian.org>
4967
4968         * LyXAction.C:
4969         * lfuns.h:
4970         * lyx_main.C:
4971         * lyxtext.h:
4972         * text.C:
4973         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4974
4975 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * paragraph.h: make ParagraphList and ParagraphList::iterator
4978         friends of Paragraph.
4979
4980         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4981
4982         * ParagraphList.C: Use the private next_ and previous_ from
4983         Paragraph.
4984
4985 2003-04-01  John Levon  <levon@movementarian.org>
4986
4987         * ToolbarBackend.h:
4988         * ToolbarBackend.C:
4989         * Makefile.am: rename, remove defaults gunk
4990
4991         * MenuBackend.h:
4992         * MenuBackend.C: remove defaults gunk
4993
4994         * Languages.h:
4995         * Languages.C: remove defaults gunk
4996
4997         * lyx_main.h:
4998         * lyx_main.C: error out if files couldn't be found.
4999
5000 2003-04-02  John Levon  <levon@movementarian.org>
5001
5002         * text2.C: make incDepth() use parlist
5003
5004 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * undo_funcs.C (firstUndoParagraph): adjust
5007
5008         * text3.C (gotoInset): adjust
5009         (dispatch): adjust, and rewrite loop.
5010
5011         * text2.C (init): adjust, and rewrite loop.
5012         (redoParagraphs): adjust
5013         (updateInset): adjust, and rewrite loop.
5014         (deleteEmptyParagraphMechanism): adjust
5015
5016         * tabular.C (LyXTabular): adjust
5017         (SetMultiColumn): adjust
5018         (TeXRow): adjust
5019
5020         * lyxtext.[Ch] (ownerParagraph): delete function
5021         (ownerParagraphs): new function returns a ParagraphList.
5022
5023         * BufferView.C (removeAutoInsets): adjust
5024         (insertErrors): adjust
5025         (setCursorFromRow): adjust
5026
5027 2003-04-01  Angus Leeming  <leeming@lyx.org>
5028
5029         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5030         in the frontends.
5031
5032 2003-04-02  John Levon  <levon@movementarian.org>
5033
5034         * lyxtext.h:
5035         * text.C:
5036         * Makefile.am:
5037         * text_funcs.h:
5038         * text_funcs.C: make transposeChars a free function
5039
5040         * lyxrow_funcs.C: remove wrong comment
5041
5042 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * lyxtext.h: adjust
5045         * rowpainter.C: adjust
5046         * text.C: adjust
5047         * text2.C: adjust
5048         * text3.C: adjust
5049
5050         * lyxrow_funcs. [Ch]: new files
5051
5052         * lyxrow.[Ch]: remove next and previous pointers
5053         (next,previous): remove accessor functions
5054         (isParEnd): move to lyxrow_funcs
5055         (lastPos): move to lyxrow_funcs
5056         (nextRowIsAllInset): move to lyxrow_funcs
5057         (lastPrintablePos): move to lyxrow_funcs
5058         (numberOfSeparators): move to lyxrow_funcs
5059         (numberOfHfills): move to lyxrow_funcs
5060         (numberOfLabelHfills): move to lyxrow_funcs
5061         (hfillExpansion): move to lyxrow_funcs
5062
5063         * lyxfunc.C: adjust
5064
5065         * bufferview_funcs.C (toggleAndShow): adjust
5066
5067         * RowList.h: Remove class RowList from file leave just a
5068         std::list<Row>.
5069
5070         * RowList.C: delete file
5071
5072         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5073         and lyxrow_funcs.h
5074
5075 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * text3.C (cursorPrevious): adjust
5078         (cursorNext): adjust
5079         (dispatch): adjust
5080
5081         * text2.C (redoHeightOfParagraph): adjust
5082         (redoDrawingOfParagraph): adjust
5083         (setCursor): adjust
5084
5085         * text.C (breakParagraph): adjust
5086         (insertChar): adjust
5087         (backspace): adjust
5088
5089         * rowpainter.C (RowPainter): adjust
5090         (leftMargin): simplify and adjust
5091         (most rowpainter functions): adjust.
5092
5093         * rowpainter.h: store the row as RowList::iterator not as Row*
5094
5095         * lyxcursor.C (row): taka RowList::iterator as arg
5096         (irow): ditto
5097
5098         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5099         of Row*.
5100
5101 2003-04-01  Angus Leeming  <leeming@lyx.org>
5102
5103         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5104         stuff like bool Bool.
5105
5106 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5109         rewrite a loop
5110
5111 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5114         RowList::iterator.
5115
5116         * lyxtext.h (rows): drop one version and leve a const variant that
5117         returns a RowList::iterator.
5118
5119 2003-03-31  Angus Leeming  <leeming@lyx.org>
5120
5121         * text.C (fill): ensure that the signature is the same as that in the
5122         header file.
5123
5124 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * text2.C (redoParagraphs): adjust
5127         (updateCounters): adjust
5128         (checkParagraph): adjust
5129         (getColumnNearX): adjust and reformat a bit.
5130
5131         * text.C (top_y): adjust
5132         (workWidth): adjust
5133         (leftMargin): adjust
5134         (prepareToPrint): adjust
5135         (getRow): adjust
5136         (getRowNearY): adjust
5137
5138         * lyxtext.h: make rowlist_ mutable.
5139
5140         * RowList.h: add const_iterator
5141         * RowList.C: adjust for RowList::const_iterator.
5142
5143         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5144         adjust.
5145
5146 2003-03-31  John Levon  <levon@movementarian.org>
5147
5148         * lyxrc.h:
5149         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5150
5151         * lyx_main.C: set default fonts from using lyx_gui funcs
5152
5153         * exporter.C: pdf_mode moved from lyxrc
5154
5155         * lyx_cb.C:
5156         * lyxfunc.C: changes from above
5157
5158 2003-03-31  John Levon  <levon@movementarian.org>
5159
5160         * lyx_main.C: fix to the last fix
5161
5162 2003-03-31  John Levon  <levon@movementarian.org>
5163
5164         * bufferlist.C: "Load original" -> "Load Original"
5165
5166         * converter.C:
5167         * exporter.C:
5168         * importer.C:
5169         * lyx_main.C:
5170         * format.C: more Alert cleanups
5171
5172 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * text2.C (removeParagraph): make it take a RowList::iterator as
5175         arg, adjust.
5176         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5177         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5178
5179         * text.C (anchor_row): make it take a RowList::iterator as arg,
5180         adjust.
5181         (computeBidiTables): make it take a const reference to Row instead
5182         of Row pointer, adjust.
5183         (leftMargin): make it take a RowList::iterator as arg, adjust.
5184         (rowBreakPoint): adjust
5185         (breakAgainOneRow): make it take a RowList::iterator as arg,
5186         adjust.
5187         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5188
5189         * bufferview_funcs.C (toggleAndShow): adjust
5190
5191 2003-03-30  John Levon  <levon@movementarian.org>
5192
5193         * Makefile.am:
5194         * BoostFormat.h:
5195         * boost-inst.C: moved to support
5196
5197         * several files: changes as a result
5198
5199 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * text2.C (LyXText): adjust.
5202         (init): adjust
5203         (removeRow): make it take a RowList::iterator as arg, adjust.
5204         (fullRebreak): adjust
5205         (deleteEmptyParagraphMechanism): adjust
5206         (clearPaint): adjust
5207         (postPaint): adjust
5208
5209         * text.C (top_y): adjust
5210         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5211         (breakAgain): make it take a RowList::iterator as arg, adjust.
5212         (breakParagraph): adjust
5213         (insertChar): adjust
5214         (backspace): adjust
5215
5216         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5217         need_break_row, and refresh_row.
5218
5219         * text3.C (dispatch): adjust
5220
5221         * text2.C (checkParagraph): adjust
5222         (setCursor): adjust
5223         (setCursorFromCoordinates): adjust
5224
5225         * text.C (top_y): adjust
5226         (workWidth): adjust
5227         (getRow): make it return a RowList::iterator, adjust
5228         (getRowNearY): make it return a RowList::iterator, adjust
5229
5230         * text2.C (init): adjust
5231         (insertRow): remove function
5232         (insertParagraph): adjust
5233         (redoParagraphs): adjust
5234         (fullRebreak): adjust
5235         (updateCounters): adjust
5236
5237         * text.C (top_y): rewrite to use RowList iterators.
5238         (top_y): adjust
5239         (setHeightOfRow): rewrite to sue RowList iterators.
5240         (appendParagraph): adjust
5241         (breakAgain): adjust
5242         (breakAgainOneRow): adjust
5243         (breakParagraph): adjust
5244         (getRow): adjust
5245         (getRowNearY): adjust, and remove commented code.
5246
5247         * lyxtext.h (firstRow): delete function
5248         (lastRow): delete function
5249         (rows): new function (const and non-const versions.)
5250         (insertRow): delete function
5251
5252         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5253
5254 2003-03-29  John Levon  <levon@movementarian.org>
5255
5256         * BufferView_pimpl.C: always update scrollbar top
5257         because pasting text when we're anchored could mean we
5258         miss an update altogether
5259
5260 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * text2.C (init): use rowlist_.end() and not 0.
5263         (insertRow): change to take a RowList::iterator as arg, adjust
5264         for this.
5265         (insertParagraph): change to take a RowList::iterator as arg,
5266         adjust for this.
5267         (redoParagraphs): remove some debug msgs.
5268
5269         * text.C (appendParagraph): change to take a RowList::iterator
5270         arg, adjust for this.
5271         (breakAgain): add an assert
5272         (breakAgainOneRow): ditto
5273
5274 2003-03-29  John Levon  <levon@movementarian.org>
5275
5276         * text2.C: do not clear selection after inc/decDepth
5277         (bug 550)
5278
5279 2003-03-29  John Levon  <levon@movementarian.org>
5280
5281         * BufferView.C:
5282         * buffer.C: fix broken strerrors according to Lars
5283
5284 2003-03-29  John Levon  <levon@movementarian.org>
5285
5286         * converters.C: more Alert cleanups
5287
5288 2003-03-29  John Levon  <levon@movementarian.org>
5289
5290         * bufferview_funcs.C: remove pointless Alert
5291
5292         * buffer.C: fix confusing error message when
5293         a template is chmoded 000
5294
5295 2003-03-29  John Levon  <levon@movementarian.org>
5296
5297         * BufferView.C:
5298         * BufferView.h:
5299         * BufferView_pimpl.C: Alert fixes
5300
5301         * Makefile.am:
5302         * tabular.C:
5303         * tabular-old.C: remove unused table compat reading
5304
5305 2003-03-29  John Levon  <levon@movementarian.org>
5306
5307         * BufferView.C:
5308         * buffer.C:
5309         * lyx_cb.h:
5310         * lyx_cb.C: more Alert cleanups
5311
5312         * lyxfunc.C: don't allow chktex if not latex document
5313
5314 2003-03-29  John Levon  <levon@movementarian.org>
5315
5316         * lyx_cb.C:
5317         * BufferView.C:
5318         * buffer.C: warnings pushed down from support/,
5319         kill err_alert
5320
5321 2003-03-29  John Levon  <levon@movementarian.org>
5322
5323         * lyxfunc.C: safety check for C-r (revert)
5324
5325 2003-03-29  John Levon  <levon@movementarian.org>
5326
5327         * bufferlist.h:
5328         * bufferlist.C: several UI fixes using Alert::prompt.
5329         Fix the pointless looping quit code. Fix stupid revert
5330         behaviour (bug 938)
5331
5332         * lyxvc.h:
5333         * lyxvc.C:
5334         * lyx_cb.C: use Alert::prompt
5335
5336         * lyx_main.C: remove a silly question
5337
5338         * lyxfunc.C: remove a couple of silly questions,
5339         use Alert::prompt
5340
5341 2003-03-28  John Levon  <levon@movementarian.org>
5342
5343         * text2.C: fix bug 974 (End on empty par)
5344
5345 2003-03-28  John Levon  <levon@movementarian.org>
5346
5347         * BufferView_pimpl.C:
5348         * LyXAction.C:
5349         * lfuns.h: remove do-nothing math greek lfuns
5350
5351 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * lyxgluelength.h (isValidGlueLength): add default arg on
5354         parameter 2. Remove default arg from friend in class.
5355
5356         * lyxlength.h (isValidLength): add default arg on parameter 2.
5357         Remove default arg from friend in class.
5358
5359         * text2.C (LyXText): adjust, initialize refresh_row.
5360         (init): adjust
5361         (removeRow): adjust
5362         (insertRow): adjust
5363         (insertParagraph): adjst
5364         (redoParagraphs): adjust
5365         (fullRebreak): adjust
5366         (updateCounters): adjust
5367         (deleteEmptyParagraphMechanism): first attempt at fixing a
5368         crashing bug.
5369
5370         * text.C (top_y): adjust
5371         (setHeightOfRow): adjust
5372         (getRow): adjust
5373         (getRowNearY): adjust
5374
5375         * lyxtext.h: include RowList.h
5376         (~LyXText): not needed anymore, deleted.
5377         (firstRow): modify for RowList
5378         (lastRow): new function
5379         Delete firstrow and lastrow class variables, add a Rowlist
5380         rowlist_ class variable.
5381
5382         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5383         paragraph is empty.
5384
5385         * RowList.C (insert): fix case where it == begin().
5386
5387 2003-03-26  Angus Leeming  <leeming@lyx.org>
5388
5389         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5390         the thesaurus dialog.
5391
5392 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5395
5396         * RowList.[Ch]: new files
5397
5398         * ParagraphList.C (erase): handle the case where it == begin
5399         correctly.
5400
5401 2003-03-25  John Levon  <levon@movementarian.org>
5402
5403         * Makefile.am:
5404         * aspell_local.h:
5405         * aspell.C: add new aspell support
5406
5407         * lyxrc.h:
5408         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5409         have it accessible.
5410
5411 2003-03-25  Angus Leeming  <leeming@lyx.org>
5412
5413         * lfuns.h:
5414         * LyXAction.C (init): new LFUN_INSET_INSERT.
5415
5416         * BufferView_pimpl.C (dispatch): split out part of the
5417         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5418
5419         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5420         LFUN_INSET_APPLY.
5421
5422 2003-03-25  Angus Leeming  <leeming@lyx.org>
5423
5424         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5425
5426 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * text2.C:
5429         * text3.C: remove useless row->height(0)
5430
5431 2003-03-25  John Levon  <levon@movementarian.org>
5432
5433         * lyxtext.h:
5434         * text2.C:
5435         * text3.C: rename the refreshing stuff to better names
5436
5437 2003-03-24  John Levon  <levon@movementarian.org>
5438
5439         * BufferView_pimpl.h:
5440         * BufferView_pimpl.C: update layout choice on a mouse
5441         press/release
5442
5443 2003-03-23  John Levon  <levon@movementarian.org>
5444
5445         * Makefile.am: fix commandtags.h reference
5446
5447 2003-03-22  John Levon  <levon@movementarian.org>
5448
5449         * BufferView_pimpl.C:
5450         * lyxtext.h:
5451         * rowpainter.C:
5452         * rowpainter.h:
5453         * text.C:
5454         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5455
5456 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5457
5458         * lyxtext.h:
5459         * text.C: take the rtl methods out of line
5460
5461 2003-03-21 André Pönitz <poenitz@gmx.net>
5462
5463         * metricsinfo.[Ch]: new files containing structures to be passed around
5464         during the two-phase-drawing...
5465
5466 2003-03-21 André Pönitz <poenitz@gmx.net>
5467
5468         * lyxtextclass.C: read 'environment' tag.
5469
5470 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5471
5472         * text2.C (removeRow): fix bug 964
5473
5474 2003-03-20  John Levon  <levon@movementarian.org>
5475
5476         * rowpainter.C:
5477         * text.C:
5478         * text2.C: paint cleanups. Inset::update() dropped font
5479         parameter
5480
5481 2003-03-19  John Levon  <levon@movementarian.org>
5482
5483         * lyxfunc.C: only fitcursor/markDirty if available()
5484
5485 2003-03-19  John Levon  <levon@movementarian.org>
5486
5487         * commandtags.h: rename to ...
5488
5489         * lfuns.h: ... this, and renumber / cleanup
5490
5491 2003-03-19  John Levon  <levon@movementarian.org>
5492
5493         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5494         fit the cursor after an lfun
5495
5496         * BufferView.h:
5497         * BufferView.C:
5498         * BufferView_pimpl.h:
5499         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5500
5501         * LyXAction.C: layout-character should have ReadOnly
5502
5503         * ParagraphParameters.C:
5504         * buffer.C:
5505         * bufferview_funcs.C:
5506         * lyx_cb.C:
5507         * lyxfind.C:
5508         * lyxtext.h:
5509         * text.C:
5510         * text2.C:
5511         * text3.C:
5512         * undo_funcs.C: changes from above
5513
5514 2003-03-18  John Levon  <levon@movementarian.org>
5515
5516         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5517         remove it from update()
5518
5519         * lyxfunc.C: update layout choice after an lfun
5520
5521         * text3.C: remove extra updateLayoutChoice()s
5522
5523 2003-03-18  John Levon  <levon@movementarian.org>
5524
5525         * text.C: top_y change means full repaint, fix
5526         a drawing bug with cursor movement
5527
5528 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5529
5530         * lyxtext.h:
5531         * text.C:
5532         * text2.C: anchor row on setCursor
5533
5534 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5535
5536         * lyxtext.h: remove almost all mutable keywords
5537         * text.C:
5538         * text2.C:
5539         * text3.C: remove const keywords accordingly
5540
5541 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5544         anon namespace
5545         (TeXEnvironment): ditto
5546         (TeXOnePar): ditto
5547
5548 2003-03-17  John Levon  <levon@movementarian.org>
5549
5550         * text.C (rowBreakPoint): remove attempt to fix displayed
5551         math insets inside a manual label
5552
5553 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * lyxtext.h: remove BufferView* as first arg from almost all class
5556         functions.
5557         * other files: adjust.
5558
5559 2003-03-17  John Levon  <levon@movementarian.org>
5560
5561         * lyxtext.h:
5562         * undo_funcs.C:
5563         * text2.C: more paint cleanups
5564
5565         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5566
5567         * rowpainter.h:
5568         * rowpainter.C: remove "smart" background painting code
5569
5570 2003-03-16  John Levon  <levon@movementarian.org>
5571
5572         * lyxtext.h:
5573         * text.C:
5574         * text2.C:
5575         * text3.C: add helper functions for setting refresh_row/y
5576
5577 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5578
5579         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5580         newline inset which *can* get inserted in the pass_thru layouts.
5581         This is primarily for literate documents.
5582
5583 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5584
5585         * buffer.C: increment LYX_FORMAT to 223
5586
5587 2003-03-14 André Pönitz <poenitz@gmx.net>
5588
5589         * textclass.h: prepare for environment handling, ws changes
5590         * lyxlayout.C: read latexheader and latexfooter tags
5591
5592 2003-03-14  John Levon  <levon@movementarian.org>
5593
5594         * text2.C: rewrite ::status() a bit
5595
5596 2003-03-13  John Levon  <levon@movementarian.org>
5597
5598         * lyxtext.h: add some docs
5599
5600 2003-03-13  John Levon  <levon@movementarian.org>
5601
5602         * lyxtext.h:
5603         * text.C:
5604         * text2.C:
5605         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5606
5607 2003-03-13  John Levon  <levon@movementarian.org>
5608
5609         * text3.C: fix appendix redrawing
5610
5611 2003-03-13  John Levon  <levon@movementarian.org>
5612
5613         * text.C (setHeightOfRow):
5614         * rowpainter.h:
5615         * rowpainter.C: make appendix mark have the text
5616           "Appendix" so the user knows what it is
5617
5618         * LColor.h:
5619         * LColor.C: s/appendixline/appendix/ from above
5620
5621 2003-03-13  John Levon  <levon@movementarian.org>
5622
5623         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5624
5625         * text.C: fix a getChar(pos) bug properly
5626
5627 2003-03-13  Angus Leeming  <leeming@lyx.org>
5628
5629         * commandtags.h:
5630         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5631         Probably only temporary. Let's see how things pan out.
5632
5633         * BufferView.C (unlockInset):
5634         * BufferView_pimpl.C (fitCursor):
5635         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5636
5637         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5638         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5639
5640         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5641         new functions that convert ParagraphParameters to and from a string.
5642
5643         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5644         BufferView::Pimpl's dispatch.
5645         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5646
5647 2003-03-13 André Pönitz <poenitz@gmx.net>
5648
5649         * lyxfunc.C:
5650         * text3.C:
5651         * factory.C: make it aware of InsetEnv
5652
5653 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * text2.C (setCursor): never ask for one past last
5656         (setCursor): add some debugging messages.
5657
5658         * text.C (singleWidth): never ask for one past last
5659         (singleWidth): ditto
5660         (leftMargin): ditto
5661         (rightMargin): ditto
5662         (rowBreakPoint): ditto
5663         (setHeightOfRow): ditto
5664         (prepareToPrint): ditto
5665
5666         * rowpainter.C (paintBackground): never ask for one past last
5667         (paintText): never ask for one past last
5668
5669         * paragraph_pimpl.C (getChar): make the assert stricter, never
5670         allow the one past last pos to be taken
5671
5672         * paragraph.C (getChar): ws changes only
5673
5674         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5675         (numberOfSeparators): ditto
5676         (numberOfHfills): ditto
5677
5678 2003-03-12  John Levon  <levon@movementarian.org>
5679
5680         * author.h:
5681         * author.C:
5682         * bufferparams.h:
5683         * bufferparams.C:
5684         * paragraph_funcs.C: fix per-buffer authorlists
5685
5686 2003-03-12  John Levon  <levon@movementarian.org>
5687
5688         * text.C: fix newline in right address
5689
5690 2003-03-12  Angus Leeming  <leeming@lyx.org>
5691
5692         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5693         duplicate those in LyXFunc::dispatch.
5694
5695         * commandtags.h:
5696         * LyXAction.C:
5697         * ToolbarDefaults.C:
5698         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5699         Add LFUN_FONTFREE_UPDATE.
5700
5701         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5702         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5703
5704         * bufferview_func.[Ch]: several new functions to facilliate
5705         transfer of data to and from the character dialog.
5706
5707 2003-03-12  John Levon  <levon@movementarian.org>
5708
5709         * buffer.C:
5710         * paragraph.h:
5711         * paragraph.C:
5712         * paragraph_funcs.C:
5713         * paragraph_pimpl.C:
5714         * sgml.C:
5715         * tabular.C:
5716         * text.C:
5717         * text3.C: remove META_NEWLINE in favour of an inset
5718
5719         * rowpainter.h:
5720         * rowpainter.C: remove paintNewline (done by inset)
5721
5722 2003-03-12  John Levon  <levon@movementarian.org>
5723
5724         * paragraph_pimpl.C: complain about bad getChar()s
5725         for a while at least
5726
5727 2003-03-12  John Levon  <levon@movementarian.org>
5728
5729         * buffer.h:
5730         * buffer.C: move paragraph read into a separate function,
5731         a little renaming to reflect that.
5732
5733         * bufferparams.h:
5734         * bufferparams.C: remove the author_ids map, not necessary now
5735
5736         * factory.h:
5737         * factory.C: moved Buffer::readInset to here
5738
5739         * paragraph_funcs.h:
5740         * paragraph_funcs.C: readParagraph free function moved from
5741         buffer.C
5742
5743         * tabular.C: name change
5744
5745 2003-03-12  John Levon  <levon@movementarian.org>
5746
5747         * buffer.C:
5748         * ParagraphParameters.C: move par params input to
5749         a read() method
5750
5751         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5752         behave like a normal read from the stream wrt reading
5753         a line vs. a \\token
5754
5755 2003-03-12  John Levon  <levon@movementarian.org>
5756
5757         * paragraph.C:
5758         * ParagraphParameters.h:
5759         * ParagraphParameters.C: move output code to a
5760         ::write() method
5761
5762 2003-03-12  John Levon  <levon@movementarian.org>
5763
5764         * BufferView.C (insertLyXFile):
5765         * buffer.h:
5766         * buffer.C:
5767         * tabular.C: use a parlist iterator for creating the
5768           document.
5769
5770 2003-03-12  John Levon  <levon@movementarian.org>
5771
5772         * buffer.C: make current_change static local not
5773           static file-scope
5774
5775 2003-03-12  John Levon  <levon@movementarian.org>
5776
5777         * buffer.C: fix insertStringAsLines for change tracking
5778
5779 2003-03-12  John Levon  <levon@movementarian.org>
5780
5781         * BufferView.C:
5782         * tabular.C:
5783         * buffer.h:
5784         * buffer.C:
5785         * bufferparams.h:
5786         * bufferparams.C: move author list into params. Rename some
5787           functions. Move the header reading into a separate token
5788           loop. Move the header token reading into BufferParams.
5789
5790 2003-03-12  John Levon  <levon@movementarian.org>
5791
5792         * changes.C: put debug inside lyxerr.debugging() checks
5793
5794 2003-03-11 André Pönitz <poenitz@gmx.net>
5795
5796         * factory.C: make it aware of InsetHFill
5797
5798 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5799
5800         * buffer.C (latexParagraphs): move function from here...
5801         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5802         args.
5803
5804 2003-03-10  Angus Leeming  <leeming@lyx.org>
5805
5806         * LyXAction.C (init): fix bug in poplating array with multiple entries
5807         with the same LFUN (spotted by JMarc).
5808
5809 2003-03-10  John Levon  <levon@movementarian.org>
5810
5811         * text.C:
5812         * text2.C: move getColumnNearX() near its
5813         only call site
5814
5815 2003-03-10  John Levon  <levon@movementarian.org>
5816
5817         * text.C: fix break before a minipage
5818
5819 2003-03-10  John Levon  <levon@movementarian.org>
5820
5821         * text.C: fix the last commit
5822
5823 2003-03-09  John Levon  <levon@movementarian.org>
5824
5825         * lyxtext.h:
5826         * text.C:
5827         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5828         bug 365 (don't break before insets unless needed). Don't
5829         return a value > last under any circumstances.
5830
5831 2003-03-09  Angus Leeming  <leeming@lyx.org>
5832
5833         * BufferView_pimpl.C (trackChanges, dispatch): call
5834         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5835
5836 2003-03-09  Angus Leeming  <leeming@lyx.org>
5837
5838         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5839         than Dialogs::showAboutlyx().
5840
5841 2003-03-09  Angus Leeming  <leeming@lyx.org>
5842
5843         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5844         than Dialogs::showTabularCreate().
5845
5846 2003-03-09  John Levon  <levon@movementarian.org>
5847
5848         * lyxtext.h:
5849         * text.C:
5850         * text2.C: 3rd arg to nextBreakPoint was always the same.
5851           Use references.
5852
5853 2003-03-08  John Levon  <levon@movementarian.org>
5854
5855         * lyxrow.C:
5856         * paragraph.C:
5857         * paragraph.h:
5858         * rowpainter.C:
5859         * text.C:
5860         * text2.C: Remove the "main" bit from the "main body"
5861           notion.
5862
5863 2003-03-08  John Levon  <levon@movementarian.org>
5864
5865         * text.C (leftMargin): The left margin of an empty
5866         manual label paragraph should not include the label width
5867         string length.
5868
5869         * text.C (prepareToPrint): don't attempt to measure hfills
5870         for empty manual label paragraphs - the answer should be 0
5871
5872 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * CutAndPaste.C: remove commented code and reindent.
5875
5876 2003-03-08  John Levon  <levon@movementarian.org>
5877
5878         * lyxfunc.h:
5879         * lyxfunc.C: move reloadBuffer()
5880
5881         * BufferView.h:
5882         * BufferView.C: to here
5883
5884         * lyxvc.C: add comment
5885
5886         * vc-backend.h:
5887         * vc-backend.C: call bv->reload() to avoid
5888           getStatus() check on MENURELOAD
5889
5890 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5891
5892         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5893         to an old format .dep file.
5894
5895 2003-03-07  Angus Leeming  <leeming@lyx.org>
5896
5897         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5898         when the LFUN_MOUSE_RELEASE should have been handled by
5899         inset->localDispatch.
5900
5901 2003-03-07  Angus Leeming  <leeming@lyx.org>
5902
5903         * BufferView_pimpl.C (dispatch):
5904         * LyXAction.C (init):
5905         * ToolbarDefaults.C (init):
5906         * commandtags.h:
5907         * lyxfunc.C (getStatus):
5908         remove LFUN_INSET_GRAPHICS.
5909
5910         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5911
5912 2003-03-07  Angus Leeming  <leeming@lyx.org>
5913
5914         * commandtags.h:
5915         * LyXAction.C (init):
5916         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5917
5918         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5919
5920         * commandtags.h:
5921         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5922
5923         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5924         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5925
5926 2003-03-07  Angus Leeming  <leeming@lyx.org>
5927
5928         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5929         remove "ert".
5930
5931 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * ParagraphList.C (front): new function
5934         (back): implement
5935
5936 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5939         and top_row_offset_. removed var first_y.
5940         * text.C (top_y):
5941         * text2.C (LyXText, removeRow):
5942         * text3.C:
5943         * BufferView_pimpl.C:
5944         use these methods instead of using first_y
5945
5946 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * text2.C (pasteSelection): adjust for checkPastePossible
5949
5950         * CutAndPaste.C: remove Paragraph * buf and replace with
5951         ParagraphList paragraphs.
5952         (DeleteBuffer): delete
5953         (cutSelection): change the tc type to textclass_type
5954         (copySelection): change the tc type to textclass_type
5955         (copySelection): adjust for ParagraphList
5956         (pasteSelection): change the tc type to textclass_type
5957         (pasteSelection): adjust for Paragraphlist
5958         (nrOfParagraphs): simplify for ParagraphList
5959         (checkPastePossible): simplify for ParagraphList
5960         (checkPastePossible): remove unused arg
5961
5962         * ParagraphList.C (insert): handle the case where there are no
5963         paragraphs yet.
5964
5965         * CutAndPaste.h: make CutAndPaste a namespace.
5966
5967         * text3.C (dispatch): adjust
5968
5969         * text.C (breakParagraph): add a ParagraphList as arg
5970
5971         * paragraph_funcs.C (breakParagraph): change to take a
5972         BufferParams and a ParagraphList as args.
5973         (breakParagraphConservative): ditto
5974         (mergeParagraph): ditto
5975         (TeXDeeper): add a ParagraphList arg
5976         (TeXEnvironment): ditto
5977         (TeXOnePar): ditto
5978
5979         * buffer.C (readLyXformat2): adjust
5980         (insertStringAsLines): adjust
5981         (latexParagraphs): adjust
5982
5983         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5984         (cutSelection): adjust
5985         (pasteSelection): adjust
5986
5987         * BufferView_pimpl.C (insertInset): adjust
5988
5989 2003-03-05  Angus Leeming  <leeming@lyx.org>
5990
5991         * commandtags.h:
5992         * LyXAction.C (init):
5993         * BufferView_pimpl.C (dispatch):
5994         * lyxfunc.C (getStatus):
5995         remove LFUN_CHILD_INSERT.
5996
5997         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5998
5999 2003-03-05  Angus Leeming  <leeming@lyx.org>
6000
6001         * commandtags.h:
6002         * LyXAction.C (init):
6003         * src/factory.C (createInset):
6004         * lyxfunc.C (getStatus):
6005         * text3.C (dispatch):
6006         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6007
6008         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6009
6010 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * ParagraphList.C (insert): handle insert right before end()
6013         (erase): fix cases where it can be first or last paragraph.
6014
6015 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6018         Paragraph::next and Paragraph::previous
6019         (TeXOnePar): ditto
6020
6021         * text.C (breakParagraph): adjust
6022
6023         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6024         BufferParams& as arg.
6025         (breakParagraph): use ParagraphList::insert
6026         (breakParagraphConservative): take a Buffer* instead of a
6027         BufferParams& as arg.
6028         (breakParagraphConservative): use ParagraphList::insert.
6029
6030         * buffer.C (insertStringAsLines): un-const it
6031         (insertStringAsLines): adjust
6032
6033         * ParagraphList.C (insert): new function
6034
6035         * CutAndPaste.C (pasteSelection): adjust
6036
6037         * text.C (backspace): adjust
6038
6039         * tabular.C (SetMultiColumn): adjust
6040
6041         * CutAndPaste.C (cutSelection): adjust
6042         (pasteSelection): adjust
6043
6044         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6045         Buffer const * as arg
6046
6047         * ParagraphList.C (erase): new function
6048         * paragraph_funcs.C (mergeParagraph): use it
6049         (mergeParagraph): make it take a Buffer* instead of a
6050         BufferParams* as arg
6051
6052         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6053         as arg
6054         (breakParagraphConservative): ditto
6055
6056         * paragraph.h: remove the breakParagraph friend
6057
6058         * paragraph.C (eraseIntern): new function
6059         (setChange): new function
6060
6061         * paragraph_funcs.C (mergeParagraph): make it take a
6062         ParagraphList::iterator instead of a Paragraph *, adjust
6063         accordingly.
6064
6065         * paragraph.h: move an #endif so that the change tracking stuff
6066         also works in the NO_NEXT case.
6067
6068 2003-03-04  Angus Leeming  <leeming@lyx.org>
6069
6070         * commandtags.h:
6071         * LyXAction.C: new LFUN_INSET_MODIFY.
6072
6073         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6074         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6075
6076 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * several files: ws changes only
6079
6080         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6081         (TeXEnvironment): ditto
6082         (TeXDeeper): ditto
6083
6084         * buffer.C (makeLaTeXFile): adjust
6085         (latexParagraphs): make it take ParagraphList::iterator as args
6086
6087 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * buffer.C (latexParagraphs): adjust
6090
6091         * paragraph.C (TeXOnePar): move function...
6092         (optArgInset): move function...
6093         (TeXEnvironment): move function...
6094         * paragraph_pimpl.C (TeXDeeper): move function...
6095         * paragraph_funcs.C: ...here
6096
6097         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6098
6099 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * buffer.C (readInset): remove compability code for old Figure and
6102         InsetInfo insets
6103
6104 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * buffer.C: ws changes
6107         (readInset):
6108
6109         * BufferView_pimpl.C: ditto
6110         * author.C: ditto
6111         * buffer.h: ditto
6112         * bufferlist.h: ditto
6113         * changes.h: ditto
6114         * lyxfunc.C: ditto
6115
6116 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6117
6118         * converter.[Ch]: split into itself +
6119         * graph.[Ch]
6120         * format.[Ch]
6121         * Makefile.am: += graph.[Ch] + format.[Ch]
6122         * MenuBackend.C
6123         * buffer.C
6124         * exporter.C
6125         * importer.C
6126         * lyx_main.C
6127         * lyxfunc.C
6128         * lyxrc.C: added #include "format.h"
6129
6130 2003-02-27  Angus Leeming  <leeming@lyx.org>
6131
6132         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6133           a label.
6134
6135         * factory.C (createInset): add "label" to the factory.
6136
6137         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6138           string and do no more.
6139
6140 2003-02-27  Angus Leeming  <leeming@lyx.org>
6141
6142         * commandtags.h:
6143         * LyXAction.C (init):
6144         * factory.C (createInset):
6145         * BufferView_pimpl.C (dispatch):
6146           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6147
6148         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6149
6150         * lyxfunc.C (dispatch):
6151         * text3.C (dispatch): pass name to params2string.
6152
6153 2003-02-26  Angus Leeming  <leeming@lyx.org>
6154
6155         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6156           blocks together.
6157           Rearrange the ~includes. Strip out the unnecessary ones.
6158
6159         * factory.C (createInset): reformat.
6160           create new insets for the various LFUN_XYZ_APPLY lfuns.
6161
6162 2003-02-26  John Levon  <levon@movementarian.org>
6163
6164         * lyxrow.h:
6165         * lyxrow.C: add isParStart,isParEnd helpers
6166
6167         * paragraph.h: make isInserted/DeletedText take refs
6168
6169         * paragraph_funcs.h:
6170         * paragraph_funcs.C: remove #if 0'd code
6171
6172         * lyxtext.h:
6173         * text3.C:
6174         * text2.C:
6175         * text.C: use lyxrow helpers above.
6176           Move draw and paint routines to RowPainter.
6177           Make several methods use refs not pointers.
6178           Make backgroundColor() const.
6179           Add markChangeInDraw(), isInInset().
6180           Merge changeRegionCase into changeCase.
6181           Make workWidth() shouldn't-happen code into an Assert.
6182
6183         * rowpainter.h:
6184         * rowpainter.C: new class for painting a row.
6185
6186         * vspace.h:
6187         * vspace.C: make inPixels take a ref
6188
6189 2003-02-26  Angus Leeming  <leeming@lyx.org>
6190
6191         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6192         LFUN_REF_APPLY.
6193
6194 2003-02-25  John Levon  <levon@movementarian.org>
6195
6196         * ispell.C: give the forked command a more accurate name
6197
6198 2003-02-22  John Levon  <levon@movementarian.org>
6199
6200         * toc.h:
6201         * toc.C: make TocItem store an id not a Paragraph *
6202           (bug #913)
6203
6204 2003-02-21  Angus Leeming  <leeming@lyx.org>
6205
6206         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6207           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6208           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6209           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6210           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6211           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6212
6213         * BufferView_pimpl.C (dispatch):
6214         * LyXAction.C (init):
6215         * factory.C (createInset):
6216         * lyxfunc.C (getStatus, dispatch):
6217         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6218
6219 2003-02-21  Angus Leeming  <leeming@lyx.org>
6220
6221         * BufferView_pimpl.C (MenuInsertLyXFile):
6222         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6223         * lyxfunc.C (menuNew, open, doImport):
6224           no longer pass a LyXView & to fileDlg.
6225
6226 2003-02-21  Angus Leeming  <leeming@lyx.org>
6227
6228         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6229         * LyXAction.C: change, BIBKEY to BIBITEM.
6230         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6231         Change InsetBibKey to InsetBibitem.
6232         Change BIBKEY_CODE to BIBITEM_CODE.
6233         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6234         * factory.C: replace insetbib.h with insetbibitem.h.
6235         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6236         * paragraph.C: replace insetbib.h with insetbibitem.h.
6237         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6238         Change bibkey() to bibitem().
6239         * text.C: remove insetbib.h.
6240         * text2.C: replace insetbib.h with insetbibitem.h.
6241         change bibkey() to bibitem().
6242         * text3.C: remove insetbib.h.
6243         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6244
6245 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6246
6247         * lyxrc.C (output): enclose user email in quotes (in case there are
6248         several words)
6249
6250 2003-02-18  John Levon  <levon@movementarian.org>
6251
6252         * buffer.h: add std::
6253
6254 2003-02-17  John Levon  <levon@movementarian.org>
6255
6256         * SpellBase.h:
6257         * ispell.h:
6258         * ispell.C:
6259         * pspell.h:
6260         * pspell.C: reworking. Especially in ispell, a large
6261           number of clean ups and bug fixes.
6262
6263         * lyxfunc.C: fix revert to behave sensibly
6264
6265 2003-02-17 André Pönitz <poenitz@gmx.net>
6266
6267         * LyXAction.C:
6268         * commandtags.h: new LFUN_INSERT_BIBKEY
6269
6270         * layout.h:
6271         * lyxlayout.C:
6272         * buffer.C:
6273         * factory.C:
6274         * text.C:
6275         * text2.C:
6276         * text3.C:
6277         * paragraph.[Ch]:
6278         * paragraph_func.C: remove special bibkey handling
6279
6280 2003-02-17  John Levon  <levon@movementarian.org>
6281
6282         * text.C (Delete): fix case where delete at the end of
6283           the very first paragraph would not merge the pars
6284
6285 2003-02-17  John Levon  <levon@movementarian.org>
6286
6287         * lyxrow.C: fix lastPrintablePos()
6288
6289 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6290
6291         * bufferparams.C (writeLaTeX): add a std:here
6292
6293         * buffer.C: and remove a using directive there
6294
6295 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6296
6297         * buffer.C (makeLaTeXFile): move the code that generates the
6298           preamble...
6299
6300         * bufferparams.C (writeLaTeX): ... in this new method
6301
6302         * LaTeXFeatures.C (getEncodingSet): make const
6303           (getLanguages): make const
6304
6305         * MenuBackend.C (binding): returns the binding associated to this
6306           action
6307           (add): sets the status of each item by calling getStatus. Adds
6308           some intelligence.
6309           (read): add support for OptSubMenu
6310           (expand): remove extra separator at the end of expanded menu
6311
6312 2003-02-15  John Levon  <levon@movementarian.org>
6313
6314         * BufferView.C:
6315         * BufferView_pimpl.C:
6316         * bufferlist.h:
6317         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6318           inset code that had no actual effect. Remove unneeded status
6319           code.
6320
6321 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6322
6323         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6324           in preamble
6325
6326 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6327
6328         * text.C (drawLengthMarker): also draw an arrow marker for
6329           symbolic lengths (medskip...)
6330
6331 2003-02-14  John Levon  <levon@movementarian.org>
6332
6333         * tabular.h:
6334         * tabular.C: better method names
6335
6336 2003-02-14  John Levon  <levon@movementarian.org>
6337
6338         * BufferView_pimpl.C:
6339         * bufferlist.C:
6340         * buffer.C:
6341         * converter.C:
6342         * lyx_cb.C:
6343         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6344           it's a more accurate name. Remove some pointless uses.
6345
6346 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6347
6348         * text2.C (LyXText): change order of initilizers to shut off
6349           warnings
6350
6351 2003-02-14  John Levon  <levon@movementarian.org>
6352
6353         * buffer.C: use ParIterator for getParFromID()
6354
6355         * paragraph.h:
6356         * paragraph.C:
6357         * paragraph_pimpl.h:
6358         * paragraph_pimpl.C: remove unused getParFromID()
6359
6360 2003-02-14  John Levon  <levon@movementarian.org>
6361
6362         * buffer.C: remove some very old #if 0'd parse code
6363
6364 2003-02-13  John Levon  <levon@movementarian.org>
6365
6366         * text.h:
6367         * text.C:
6368         * text2.C: move hfillExpansion(), numberOfSeparators(),
6369           rowLast(), rowLastPrintable(), numberofHfills(),
6370           numberOfLabelHfills() ...
6371
6372         * lyxrow.h:
6373         * lyxrow.C: ... to member functions here.
6374
6375         * paragraph.h:
6376         * paragraph.C:
6377         * lyxtext.h:
6378         * text.C: remove LyXText::beginningOfMainBody(), and call
6379           p->beginningOfMainBody() directly. Move the check for
6380           LABEL_MANUAL into the latter.
6381
6382         * text.h:
6383         * text.C:
6384         * text2.C:
6385         * vspace.C:
6386         * BufferView.h:
6387         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6388
6389         * text.h:
6390         * text.C:
6391         * text2.C:
6392         * text3.C:
6393         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6394           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6395
6396 2003-02-13  John Levon  <levon@movementarian.org>
6397
6398         * CutAndPaste.C: remove debug
6399
6400 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6401
6402         * paragraph.C (asString): remove two unused variables
6403
6404         * lyxtextclass.C (readTitleType):
6405           (Read):
6406           (LyXTextClass): handle new members titletype_ and titlename_
6407
6408         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6409
6410 2003-02-09  John Levon  <levon@movementarian.org>
6411
6412         * buffer.h:
6413         * buffer.C: replace hand-coded list with a map for the dep clean
6414
6415 2003-02-08  John Levon  <levon@movementarian.org>
6416
6417         * LaTeX.C: consolidate code into showRunMessage() helper
6418
6419 2003-02-08  John Levon  <levon@movementarian.org>
6420
6421         * lyxfind.C:
6422         * lyxtext.h:
6423         * text2.C:
6424         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6425           and pass the size in explicitly
6426
6427         * BufferView_pimpl.h:
6428         * BufferView_pimpl.C:
6429         * BufferView.h:
6430         * BufferView.C: add getCurrentChange()
6431
6432         * BufferView_pimpl.h:
6433         * BufferView_pimpl.C: handle change lfuns
6434
6435         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6436           for changes. Mark pasted paragraphs as new.
6437
6438         * support/lyxtime.h:
6439         * support/lyxtime.C:
6440         * DepTable.C: abstract time_t as lyx::time_type
6441
6442         * LColor.h:
6443         * LColor.C: add colours for new text, deleted text, changebars
6444
6445         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6446           package use "usenames" option.
6447
6448         * commandtags.h:
6449         * lyxfunc.C:
6450         * LyXAction.C: add change lfuns
6451
6452         * Makefile.am:
6453         * author.h:
6454         * author.C: author handling
6455
6456         * buffer.h:
6457         * buffer.C: add a per-buffer author list, with first entry as
6458           current author. Handle new .lyx tokens for change tracking. Output
6459           author list to .lyx file. Output dvipost stuff to .tex preamble.
6460           Bump lyx format to 222.
6461
6462         * bufferlist.h:
6463         * bufferlist.C: add setCurrentAuthor() to reset current author details
6464           in all buffers.
6465
6466         * bufferparams.h:
6467         * bufferparams.C: add param for tracking
6468
6469         * bufferview_funcs.C: output change info in minibuffer
6470
6471         * Makefile.am:
6472         * changes.h:
6473         * changes.C: add change-tracking structure
6474
6475         * debug.h:
6476         * debug.C: add CHANGES debug flag
6477
6478         * lyxfind.h:
6479         * lyxfind.C: add code for finding the next change piece
6480
6481         * lyxrc.h:
6482         * lyxrc.C: add user_name and user_email
6483
6484         * lyxrow.h:
6485         * lyxrow.C: add a metric for the top of the text line
6486
6487         * lyxtext.h:
6488         * text.C: implement accept/rejectChange()
6489
6490         * lyxtext.h:
6491         * text.C: paint changebars. Paint new/deleted text in the chosen
6492         colours. Strike through deleted text.
6493
6494         * paragraph.h:
6495         * paragraph.C:
6496         * paragraph_pimpl.h:
6497         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6498           in the current change to the insert functions. Rework erase to
6499           mark text as deleted, adding an eraseIntern() and a range-based
6500           erase(). Implement per-paragraph change lookup and
6501           accept/reject.
6502
6503         * paragraph_funcs.C: Fixup paste for change tracking.
6504
6505         * tabular.C: mark added row/columns as new.
6506
6507         * text.C: fix rowLast() to never return -1. Don't allow
6508           spellchecking of deleted text. Track transpose changes. Don't
6509           allow paragraph break or merge where appropriate.
6510
6511         * text2.C: leave cursor at end of selection after a cut.
6512
6513 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6514
6515         * text.C (getLengthMarkerHeight):
6516         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6517         visible on screen too.
6518
6519 2003-02-07  John Levon  <levon@movementarian.org>
6520
6521         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6522
6523 2003-02-05  Angus Leeming  <leeming@lyx.org>
6524
6525         * lyxserver.C (read_ready): revert my patch of 11 September last year
6526         as it sends PC cpu through the roof. Presumably this means that
6527         the lyxserver will no longer run on an Alpha...
6528
6529 2003-01-30  Angus Leeming  <leeming@lyx.org>
6530
6531         * factory.C (createInset): create an InsetCommandParam of type "index"
6532         and use it to 'do the right thing'.
6533
6534         * text2.C (getStringToIndex): ensure that cursor position is always
6535         reset to the reset_cursor position.
6536
6537 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6538
6539         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6540         disabled.
6541
6542 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6543
6544         * bufferview.C:
6545         * lyxcb.C:
6546         * lyxfunc.C: Output messages with identical spelling, punctuation,
6547         and spaces
6548
6549 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6550
6551         * MenuBackend.C (expandFormats): List only viewable export formats
6552         in "View" menu
6553
6554         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6555         message
6556
6557         * lyxfunc.C (getStatus): Make sure that formats other than
6558         "fax" can also be disabled
6559
6560 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6561
6562         * text3.C (dispatch): put the lfuns that insert insets in 3
6563         groups, and call doInsertInset with appropriate arguments.
6564         (doInsertInset): new function, that creates an inset and inserts
6565         it according to some boolean parameters.
6566
6567 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * buffer.C (readFile): remember to pass on 'par' when calling
6570         readFile recursively.
6571
6572 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6573
6574         * MenuBackend.C (expandFormats): add "..." to import formats.
6575
6576 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6577
6578         * paragraph.C (asString): Remove XForms RTL hacks.
6579
6580 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6581         * buffer.C: fix typo
6582
6583 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * Makefile.am (LIBS): delete var
6586         (lyx_LDADD): add @LIBS@ here instead.
6587
6588 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6589
6590         * Clarify the meaning of "wheel mouse jump"
6591
6592 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6593
6594         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6595         tabular in a float
6596
6597 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6598
6599         * importer.C (Loaders): do not preallocate 3 elements in the
6600         vector, since one ends up with 6 elements otherwise
6601
6602 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6603
6604         * DepTable.C (write): write the file name as last element of the
6605         .dep file (because it may contain spaces)
6606         (read): read info in the right order
6607
6608 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6609
6610         * paragraph_pimpl.C (simpleTeXBlanks):
6611         (simpleTeXSpecialChars):
6612         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6613
6614         * tabular.C (latex): add some missing case statements. Reindent.
6615
6616         * MenuBackend.C (expandToc): remove unused variable.
6617
6618 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6619
6620         * LColor.C:
6621         * LaTeX.C:
6622         * LyXAction.C:
6623         * MenuBackend.C:
6624         * buffer.C:
6625         * exporter.C:
6626         * lyxfunc.C:
6627         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6628         and the like.
6629
6630 2003-01-05  John Levon  <levon@movementarian.org>
6631
6632         * BufferView.h:
6633         * BufferView.C: add getEncoding()
6634
6635         * kbsequence.h:
6636         * kbsequence.C: do not store last keypress
6637
6638         * lyxfunc.h:
6639         * lyxfunc.C: store last keypress here instead. Pass encoding
6640           to getISOEncoded()
6641
6642 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6643
6644         * lyx_main.C (init): remove annoying error message when following
6645         symbolic links (bug #780)
6646
6647 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6648
6649         * text.C (insertChar):
6650         * lyxrc.C (getDescription): remove extra spaces
6651
6652 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6653
6654         * lyxrc.C (getDescription): remove extra spaces
6655
6656 2002-12-20  John Levon  <levon@movementarian.org>
6657
6658         * text3.C: hack fix for page up/down across tall rows
6659
6660 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6661
6662         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6663         not been invoked
6664
6665 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6666
6667         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6668         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6669         thesaurus is not compiled in
6670
6671 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6672
6673         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6674
6675 2002-12-16  Angus Leeming  <leeming@lyx.org>
6676
6677         * lyxrc.[Ch]:
6678         * lyx_main.C (init): remove override_x_deadkeys stuff.
6679
6680 2002-12-12  John Levon  <levon@movementarian.org>
6681
6682         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6683           insert. Only remove shift modifier under strict
6684           circumstances.
6685
6686 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * MenuBackend.C (expandToc): fix crash.
6689
6690 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * MenuBackend.C (expandToc): gettext on float names.
6693
6694 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6695
6696         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6697         implement bool empty() [bug 490]
6698
6699 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6702
6703 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * several files: ws changes
6706
6707 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * text2.C (setCounter): clean up a bit, use boost.format.
6710         (updateCounters): initialize par upon declaration.
6711
6712         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6713         if the layout exists. We do not just store the layout any more.
6714         (SwitchLayoutsBetweenClasses): use boost.format
6715
6716 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6717
6718         * converter.C (convert): if from and to files are the same, use a
6719         temporary files as intermediary
6720
6721 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6722
6723         * commandtags.h:
6724         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6725
6726 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6727
6728         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6729
6730 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6731
6732         * tabular.C (asciiPrintCell): use string(size, char) instead of
6733         explicit loop.
6734
6735         * sgml.C (openTag): fix order of arguments to string constructor
6736         (closeTag): ditto
6737
6738         * lyxfunc.C (dispatch): use boost.format
6739
6740         * lots of files: change "c" -> 'c'
6741
6742 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6743
6744         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6745
6746 2002-11-25  Angus Leeming  <leeming@lyx.org>
6747
6748         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6749
6750         * lyx_main.C (init): compile fix.
6751
6752 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * lyx_cb.C (start): boost.formatify
6755         do not include <iostream>
6756
6757         * lengthcommon.C: ws only
6758
6759         * boost-inst.C,BoostFormat.h: add more explict instantations
6760
6761 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * lots of files: handle USE_BOOST_FORMAT
6764
6765 2002-11-21  John Levon  <levon@movementarian.org>
6766
6767         * pspell.C: fix compile
6768
6769 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6770
6771         * lyxfunc.C (dispatch): use boost::format
6772         (open): ditto
6773         (doImport): ditto
6774
6775         * lyxfont.C (stateText): use boost::format
6776
6777         * lyx_main.C (LyX): use boost::format
6778         (init): ditto
6779         (queryUserLyXDir): ditto
6780         (readRcFile): ditto
6781         (parse_dbg): ditto
6782         (typedef boost::function): use the recommened syntax.
6783
6784         * importer.C (Import): use boost::format
6785
6786         * debug.C (showLevel): use boost::format
6787
6788         * converter.C (view): use boost::format
6789         (convert): ditto
6790         (move): ditto
6791         (scanLog): ditto
6792
6793         * bufferview_funcs.C (currentState): use boost::format
6794
6795         * bufferlist.C (emergencyWrite): use boost::format
6796
6797         * buffer.C (readLyXformat2): use boost::format
6798         (parseSingleLyXformat2Token): ditto
6799
6800         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6801
6802         * LaTeX.C (run): use boost::format
6803
6804         * Chktex.C (scanLogFile): use boost::format
6805
6806         * BufferView_pimpl.C (savePosition): use boost::format
6807         (restorePosition): ditto
6808         (MenuInsertLyXFile): ditto
6809
6810         * BoostFormat.h: help file for explicit instation.
6811
6812 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6813
6814         * tabular.C (latex): Support for block alignment in fixed width
6815         columns.
6816
6817 2002-11-17  John Levon  <levon@movementarian.org>
6818
6819         * BufferView_pimpl.C:
6820         * lyx_cb.C:
6821         * lyxfunc.C: split filedialog into open/save
6822
6823 2002-11-08  Juergen Vigna  <jug@sad.it>
6824
6825         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6826         by my last patch (hopefully).
6827
6828 2002-11-08  John Levon  <levon@movementarian.org>
6829
6830         * iterators.h:
6831         * iterators.C:
6832         * buffer.h:
6833         * buffer.C:
6834         * paragraph.h:
6835         * paragraph.C:
6836         * toc.h:
6837         * toc.C: ParConstIterator, and use it (from Lars)
6838
6839 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6840
6841         * lyxtextclass.[Ch]: revise and add doxygen comments
6842
6843 2002-11-07  John Levon  <levon@movementarian.org>
6844
6845         * text.C: fix progress value for spellchecker
6846
6847         * toc.C: fix navigate menu for insetwrap inside minipage
6848
6849         * paragraph_funcs.C: added FIXME for suspect code
6850
6851 2002-11-07  John Levon  <levon@movementarian.org>
6852
6853         * BufferView_pimpl.C: fix redrawing of insets
6854           on buffer switch
6855
6856 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6857
6858         * text2.C (updateCounters): fix bug 668
6859
6860 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6861
6862         * text3.C (dispatch): Do not make the buffer dirty when moving the
6863         cursor.
6864
6865 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * vc-backend.C: STRCONV
6868         (scanMaster): ditto
6869
6870         * text2.C (setCounter): STRCONV
6871
6872         * paragraph.C (asString): STRCONV
6873
6874         * lyxlength.C (asString): STRCONV
6875         (asLatexString): ditto
6876
6877         * lyxgluelength.C (asString): STRCONV
6878         (asLatexString): ditto
6879
6880         * lyxfunc.C (dispatch): STRCONV
6881         (open): ditto
6882
6883         * lyxfont.C (stateText): STRCONV
6884
6885         * importer.C (Import): STRCONV
6886
6887         * counters.C (labelItem): STRCONV
6888         (numberLabel): ditto
6889         (numberLabel): remove unused ostringstream o
6890
6891         * chset.C: STRCONV
6892         (loadFile): ditto
6893
6894         * bufferview_funcs.C (currentState): STRCONV
6895
6896         * buffer.C (readFile): STRCONV
6897         (asciiParagraph): ditto
6898         (makeLaTeXFile): ditto
6899
6900         * Spacing.C (writeEnvirBegin): STRCONV
6901
6902         * LaTeXFeatures.C (getLanguages): STRCONV
6903         (getPackages): ditto
6904         (getMacros): ditto
6905         (getBabelOptions): ditto
6906         (getTClassPreamble): ditto
6907         (getLyXSGMLEntities): ditto
6908         (getIncludedFiles): ditto
6909
6910         * LaTeX.C: STRCONV
6911         (run): ditto
6912         (scanAuxFile): ditto
6913         (deplog): ditto
6914
6915         * LString.h: add the STRCONV macros
6916
6917         * BufferView_pimpl.C (savePosition): STRCONV
6918         (restorePosition): ditto
6919         (MenuInsertLyXFile): ditto
6920
6921         * vc-backend.C (scanMaster): change from submatch[...] to
6922         submatch.str(...)
6923
6924         * funcrequest.C: include config.h
6925
6926         * factory.C: include config.h
6927
6928         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6929
6930         * box.C: include config.h
6931
6932         * LaTeX.C (scanAuxFile): change from submatch[...] to
6933         submatch.str(...)
6934         (deplog): ditto
6935
6936 2002-10-25  Angus Leeming  <leeming@lyx.org>
6937
6938         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6939
6940         * ispell.[Ch] (setError): new method.
6941         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6942         Use setError() insetead of goto END.
6943
6944         * lyx_cb.C (AutoSave): move out child process into new class
6945         AutoSaveBuffer.
6946
6947 2002-10-30  John Levon  <levon@movementarian.org>
6948
6949         * text3.C: make start appendix undoable
6950
6951 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6952
6953         * lyxlength.C (inPixels): Fix returned value.
6954
6955         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6956         environment.
6957
6958 2002-10-24  Angus Leeming  <leeming@lyx.org>
6959
6960         * lyxgluelength.h: no need to forward declare BufferParams
6961         or BufferView, so don't.
6962
6963 2002-10-21  John Levon  <levon@movementarian.org>
6964
6965         * BufferView.C: menuUndo ->undo, redo
6966
6967         * BufferView.h: document, remove dead, make some methods private
6968
6969         * paragraph_funcs.h:
6970         * paragraph_funcs.C:
6971         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6972
6973         * buffer.h:
6974         * buffer.C:
6975         * sgml.h:
6976         * sgml.C: move sgml open/close tag into sgml.C
6977
6978         * bufferview_funcs.h: unused prototype
6979
6980         * lyxfunc.h:
6981         * lyxfunc.C: remove unused
6982
6983         * lyxtext.h:
6984         * text.C: remove unused
6985
6986 2002-10-21  John Levon  <levon@movementarian.org>
6987
6988         * BufferView.h:
6989         * BufferView.C:
6990         * BufferView_pimpl.h:
6991         * BufferView_pimpl.C: fix mouse wheel handling based on
6992           patch from Darren Freeman
6993
6994 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6995
6996         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6997
6998 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6999
7000         * lyxlength.C (inPixels): Fix hanfling of negative length.
7001         Fix LyXLength::MU case.
7002
7003 2002-10-16  John Levon  <levon@movementarian.org>
7004
7005         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7006
7007 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7008
7009         * converter.C (view): add support for $$i (file name) and $$p
7010         (file path) for the viewer command. If $$i is not specified, then
7011         it is appended to the command (for compatibility with old syntax)
7012
7013 2002-10-14  Juergen Vigna  <jug@sad.it>
7014
7015         * undo_funcs.C (textHandleUndo): alter the order in which the
7016         new undopar is added to the LyXText, as we have to set first
7017         the right prev/next and then add it as otherwise the rebuild of
7018         LyXText is not correct. Also reset the cursor to the right paragraph,
7019         with this IMO we could remove the hack in "redoParagraphs()".
7020
7021 2002-10-09  Angus Leeming  <leeming@lyx.org>
7022
7023         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7024         to turn off an optimisation if a new inset is to be inserted.
7025
7026 2002-10-11 André Pönitz <poenitz@gmx.net>
7027
7028         * lyxtext.h: make some functions public to allow access
7029         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7030
7031 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7032
7033         * text3.C (dispatch): when changing layout, avoid an infinite loop
7034         [bug #652]
7035
7036 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7037
7038         * lyxrc.C (read): treat a viewer or converter command of "none" as
7039         if it were empty.
7040
7041         * MenuBackend.C (expandFormats): for an update, also allow the
7042         formats that are not viewable
7043
7044         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7045         script if it is newer than the lyxrc.defaults in user directory
7046
7047 2002-10-07 André Pönitz <poenitz@gmx.net>
7048
7049         * text.C: Vitaly Lipatov's small i18n fix
7050
7051 2002-09-25  Angus Leeming  <leeming@lyx.org>
7052
7053         * ispell.h: doxygen fix.
7054
7055 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7056
7057         * buffer.h (readFile): Add a new argument to the method, to allow
7058         reading of old-format templates.
7059
7060 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7061
7062         * toc.C (getTocList): Get TOC from InsetWrap.
7063
7064 2002-09-16  John Levon  <levon@movementarian.org>
7065
7066         * lyxfunc.C: check tabular for cut/copy too
7067
7068 2002-09-12  John Levon  <levon@movementarian.org>
7069
7070         * LyXAction.C: tidy
7071
7072         * factory.h:
7073         * factory.C: add header
7074
7075         * paragraph_funcs.h:
7076         * paragraph_funcs.C: cleanup
7077
7078 2002-09-11  John Levon  <levon@movementarian.org>
7079
7080         * PrinterParams.h: odd/even default to true
7081
7082 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7083
7084         * PrinterParams.h: update printer parameters for new xforms dialog
7085
7086 2002-09-11  Angus Leeming  <leeming@lyx.org>
7087
7088         * lyxserver.C (read_ready): re-write to make it more transparent
7089         and to make it work in coherent fashion under Tru64 Unix.
7090
7091 2002-09-11  André Pönitz <poenitz@gmx.net>
7092
7093         * commandtags.h:
7094         * LyXAction.C:
7095         * text3.C: implement LFUN_WORDSEL
7096
7097 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7100         make floatlist_ a boost::shared_ptr<FloatList>
7101
7102         * lyxtextclass.C: include FloatList.h
7103         (LyXTextClass): initialize floatlist_
7104         (TextClassTags): add TC_NOFLOAT
7105         (Read): match "nofloat" to TC_NOFLOAT and use it.
7106         (readFloat): modify call to floatlist_
7107         (floats): ditto
7108         (floats): ditto
7109
7110         * FloatList.[Ch] (FloatList): remove commented out float
7111         initialization.
7112         (erase): new function
7113
7114 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7115
7116         * MenuBackend.C (expandToc): fix crash when there is no document
7117         open
7118
7119 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7120
7121         * many files: Add insetwrap.
7122
7123 2002-09-09  John Levon  <levon@movementarian.org>
7124
7125         * text2.C: remove confusing and awkward depth wraparound
7126
7127 2002-09-09  John Levon  <levon@movementarian.org>
7128
7129         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7130
7131         * buffer.h:
7132         * buffer.C: remove getIncludeonlyList()
7133
7134         * paragraph.C:
7135         * lyxfunc.C: remove headers
7136
7137 2002-09-09  Juergen Vigna  <jug@sad.it>
7138
7139         * text.C (getColumnNearX): fix form Michael this is most
7140         probably a cut&paste bug.
7141
7142 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7145
7146         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7147         references, ws changes.
7148
7149         * text2.C (init): update counters after init
7150         (insertParagraph): no need to set counter on idividual paragraphs.
7151         (setCounter): access the counters object in the textclass object
7152         on in the buffer object.
7153         (updateCounters): ditto
7154
7155         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7156         shared_ptr<Counters> to avoid loading counters.h in all
7157         compilation units.
7158         (LyXTextClass): initialize ctrs_
7159         (TextClassTags): add TC_COUNTER, and ...
7160         (Read): use it here.
7161         (CounterTags): new tags
7162         (readCounter): new function
7163         (counters): new funtion
7164         (defaultLayoutName): return a const reference
7165
7166         * counters.C (Counters): remove contructor
7167         (newCounter): remove a couple of unneeded statements.
7168         (newCounter): simplify a bit.
7169         (numberLabel): some small formatting changes.
7170
7171         * buffer.[Ch]: remove all traces of counters, move the Counters
7172         object to the LyXTextClass.
7173
7174 2002-09-06  Alain Castera  <castera@in2p3.fr>
7175
7176         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7177         package to set the horizontal alignment on fixed width columns.
7178
7179         * lyx_sty.C:
7180         * lyx_sty.h: added tabularnewline macro def.
7181
7182         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7183
7184 2002-09-06  John Levon  <levon@movementarian.org>
7185
7186         * LyXAction.C: tooltips for sub/superscript
7187
7188         * MenuBackend.C: a bit more verbose
7189
7190         * lyxfunc.C: tiny clean
7191
7192         * undo_funcs.C: document undo_frozen
7193
7194 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * counters.C (Counters): add missing algorithm counter.
7197
7198         * text2.C (setCounter): lookup the counter with layouts latexname
7199         instead of by section number.
7200         (setCounter): use a hackish way to lookup the correct enum
7201         counter.
7202         a float name->type change
7203         reset enum couners with counter name directly instead of depth value.
7204
7205         * counters.C (Counters): remove the push_backs, change to use the
7206         float type not the float name.
7207         (labelItem): remove unused string, float name->type change
7208
7209         * counters.h: don't include vector, loose the enums and sects vectors
7210
7211 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7214         (Read): add float->TC_FLOAT to textclassTags
7215         (Read): and handle it in the switch
7216         (readFloat): new function
7217
7218         * FloatList.C (FloatList): comment out the hardcoded float
7219         definitions.
7220
7221         * lyxlayout.h: ws change.
7222
7223 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7224
7225         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7226
7227 2002-09-03  Angus Leeming  <leeming@lyx.org>
7228
7229         * BufferView_pimpl.h: qualified name is not allowed in member
7230         declaration: WorkArea & Pimpl::workarea() const;
7231
7232         * factory.C: added using std::endl directive.
7233
7234         * text3.C: added using std::find and std::vector directives.
7235
7236 2002-08-29  André Pönitz <poenitz@gmx.net>
7237
7238         * lyxtext.h:
7239         * text2.C: remove unused member number_of_rows
7240
7241         * Makefile.am:
7242         * BufferView2.C: remove file, move contents to...
7243         * BufferView.C: ... here
7244
7245         * BufferView_pimpl.C:
7246         * factory.C: move more inset creation to factory
7247
7248         * vspace.C: avoid direct usage of LyXText, ws changes
7249
7250         * BufferView.[Ch]:
7251                 don't provide direct access to WorkArea, use two simple
7252                 acessors haveSelction() and workHeight() instead
7253
7254
7255 2002-08-29  John Levon  <levon@movementarian.org>
7256
7257         * BufferView_pimpl.C (dispatch): do not continue when
7258           no buffer
7259
7260 2002-08-28  André Pönitz <poenitz@gmx.net>
7261
7262         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7263
7264         * BufferView.h:
7265         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7266
7267 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7268
7269         * buffer.C: increment LYX_FORMAT to 221
7270
7271         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7272         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7273
7274         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7275
7276         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7277
7278 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7279
7280         * factory.C (createInset): use LyXTextClass::floats
7281
7282         * MenuBackend.C (expandFloatListInsert):
7283         (expandFloatInsert):
7284         (expandToc):
7285
7286         * text2.C (setCounter):
7287
7288         * LaTeXFeatures.C (useFloat):
7289         (getFloatDefinitions):
7290
7291         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7292
7293         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7294         floatlist_, with accessor floats().
7295
7296         * FloatList.h: remove global FloatList
7297
7298 2002-08-26  André Pönitz <poenitz@gmx.net>
7299
7300         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7301
7302         * BufferView.h:
7303         * BufferView2.C:
7304         * BufferView_pimpl.C:
7305         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7306
7307 2002-08-25  John Levon  <levon@movementarian.org>
7308
7309         * LyXAction.C: fix margin note description
7310
7311 2002-08-24  John Levon  <levon@movementarian.org>
7312
7313         * buffer.C:
7314         * bufferlist.C:
7315         * bufferview_funcs.C:
7316         * lyxfont.C:
7317         * undo_funcs.C: cleanups
7318
7319         * lyxfunc.C: disable CUT/COPY when no selection
7320
7321 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7322
7323         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7324         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7325
7326         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7327         Add backward compatibility to "mono", "gray" and "no".
7328
7329 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7330
7331         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7332         (and file_format >= 200).
7333
7334 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7335
7336         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7337
7338 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7339
7340         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7341
7342 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7343
7344         * BufferView_pimpl.C:
7345         * LyXAction.C:
7346         * buffer.C:
7347         * commandtags.h:
7348         * lyxfunc.C:
7349         * paragraph.[Ch]:
7350         * text2.C:
7351         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7352         inset and code to make it  work with the paragraph code. The inset
7353         can be anywhere in the paragraph, but will only do the expected
7354         thing in LaTeX if the layout file contains the parameter line
7355                         OptionalArgs    1
7356         (or more generally, a nonzero value) for that layout.
7357
7358 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * paragraph.h: remove the declaration of undefined counters class
7361         function.
7362
7363 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7364
7365         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7366         Dr. Richard Hawkins.
7367
7368 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7369
7370         * paragraph_funcs.h: remove some unneeded includes
7371
7372         * text.C (backspace): pasteParagraph now in global scipe
7373
7374         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7375         (pasteSelection): ditto
7376
7377         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7378         * paragraph_funcs.C (pasteParagraph): ... here
7379
7380 2002-08-20  André Pönitz <poenitz@gmx.net>
7381
7382         * commandtags.h: new LFUNs for swapping/copying table row/colums
7383
7384         * LyXAction.C:
7385         * lyxfunc.C: support for new lfuns
7386
7387 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * tabular.C:
7390         * buffer.[Ch]: remove NO_COMPABILITY stuff
7391
7392 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * boost.C (throw_exception): new file, with helper function for
7395         boost compiled without exceptions.
7396
7397         * paragraph.h:
7398         * lyxlength.C:
7399         * buffer.C:
7400         * ParameterStruct.h:
7401         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7402
7403         * bufferlist.C (emergencyWriteAll): use boost bind
7404
7405         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7406
7407         * text.C: include paragraph_funcs.h
7408         (breakParagraph): breakParagraph is now in global scope
7409
7410         * paragraph_funcs.[Ch]: new files
7411
7412         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7413         global scope
7414
7415         * buffer.C: include paragraph_funcs.h
7416         (insertStringAsLines): breakParagraph is now in global scope
7417
7418         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7419         paragraph_funcs.C
7420
7421         * CutAndPaste.C: include paragraph_funcs.h
7422         (cutSelection): breakParagraphConservative is now in global scope
7423         (pasteSelection): ditto
7424
7425         * buffer.h: declare oprator== and operator!= for
7426         Buffer::inset_iterator
7427
7428         * bufferlist.C (emergencyWrite): don't use fmt(...)
7429
7430         * text3.C: add using std::endl
7431
7432         * BufferView.C (moveCursorUpdate): remove default arg
7433
7434 2002-08-20  André Pönitz <poenitz@gmx.net>
7435
7436         * buffer.[Ch]: move inline functions to .C
7437
7438         * BufferView2.C:
7439         * BufferView_pimpl.C:
7440         * text.C:
7441         * buffer.[Ch]: use improved inset_iterator
7442
7443         * buffer.C:
7444         * paragraph.[Ch]: write one paragraph at a time
7445
7446 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7447
7448         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7449         style if style is not specified.
7450
7451 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7452
7453         * text2.C (setCounter): when searching for right label for a
7454         caption, make sure to recurse to parent insets (so that a caption
7455         in a minipage in a figure float works) (bug #568)
7456
7457 2002-08-20  André Pönitz <poenitz@gmx.net>
7458
7459         * text3.C: new file for LyXText::dispatch() and helpers
7460
7461         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7462
7463         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7464
7465 2002-08-19  André Pönitz <poenitz@gmx.net>
7466
7467         * lyxtext.h:
7468         * text.C: new LyXText::dispatch()
7469
7470         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7471
7472 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7473
7474         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7475
7476         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7477         Hebrew text.
7478
7479 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7480
7481         * Makefile.am: use $(variables) instead of @substitutions@
7482
7483 2002-08-15  André Pönitz <poenitz@gmx.net>
7484
7485         * lyxfunc.C:
7486         * BufferView_pimpl.C: streamlining mathed <-> outer world
7487         interaction
7488
7489         * commandtags.h:
7490         * LyXAction.C: remove unused LFUN_MATH
7491
7492 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7495
7496 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7497
7498         * paragraph.C (Paragraph): reformat a bit
7499         (cutIntoMinibuffer): use builtin InsetList function instad of
7500         doing it manually.
7501         (getInset): ditto
7502
7503         * buffer.C: include boost/bind.hpp, add using std::for_each
7504         (writeFileAscii): use ParagraphList iterators
7505         (validate): use for_each for validate traversal of paragraphs
7506         (getBibkeyList): use ParagraphList iterators
7507         (resizeInsets): use for_each to resizeInsetsLyXText for all
7508         paragraphs.
7509         (getParFromID): use ParagraphList iterators
7510
7511         * BufferView2.C (lockInset): use paragraph list and iterators
7512
7513 2002-08-14  John Levon  <levon@movementarian.org>
7514
7515         * lyxserver.C: remove spurious xforms include
7516
7517 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7520
7521 2002-08-13  André Pönitz <poenitz@gmx.net>
7522
7523         * LyXAction.[Ch]:
7524         * lyxfunc.C: further cleaning
7525
7526 2002-08-13  André Pönitz <poenitz@gmx.net>
7527
7528         * funcrequest.h: new constructor
7529
7530         * funcrequest.C: move stuff here from .h
7531
7532         * Makefile.am:
7533         * BufferView_pimpl.C:
7534         * LyXAction.C:
7535         * toc.C:
7536         * lyxfunc.C: subsequent changes
7537
7538         * lyxfunc.h: new view() member function
7539
7540         * lyxfunc.C: subsequent changes
7541
7542 2002-08-13  Angus Leeming  <leeming@lyx.org>
7543
7544         * BufferView2.C:
7545         * BufferView_pimpl.C:
7546         * buffer.C:
7547         * converter.C:
7548         * importer.C:
7549         * lyxfunc.C:
7550         * lyxvc.C:
7551         * toc.C:
7552         * vc-backend.C:
7553         changes due to the changed LyXView interface that now returns references
7554         to member variables not pointers.
7555
7556 2002-08-13  Angus Leeming  <leeming@lyx.org>
7557
7558         * WordLangTuple (word, lang_code): return references to strings,
7559         not strings.
7560
7561         * BufferView.h:
7562         * SpellBase.h:
7563         * lyxtext.h: forward-declare WordLangTuple.
7564
7565         * BufferView2.C:
7566         * ispell.C:
7567         * pspell.C:
7568         * text.C: #include "WordLangTuple.h".
7569
7570         * lyxtext.h:
7571         * text.C: (selectNextWordToSpellcheck): constify return type.
7572
7573 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7574
7575         * buffer.C:
7576         * buffer.h:
7577         * lyxtext.h:
7578         * paragraph.C:
7579         * paragraph_pimpl.h:
7580         * text.C:
7581         * text2.C:
7582         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7583         suggested by Angus.
7584         Made updateCounter always count from start of buffer, and removed
7585         second argument (par).
7586         Reverted floats number display to '#'. Perhaps I'll try again when the
7587         code base is sanitized a bit.
7588
7589 2002-08-12  Angus Leeming  <leeming@lyx.org>
7590
7591         * buffer.[Ch] (getLabelList): constify.
7592
7593 2002-08-07  André Pönitz <poenitz@gmx.net>
7594
7595         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7596
7597         * funcrequest.h: extension to keep mouse (x,y) position
7598
7599 2002-08-12  Juergen Vigna  <jug@sad.it>
7600
7601         * BufferView2.C (insertErrors): forbid undo when inserting error
7602         insets.
7603
7604         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7605
7606 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * ParagraphList.[Ch]: new files
7609
7610         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7611
7612         * BufferView2.C (lockInset): ParagraphList changes
7613         * toc.C: ditto
7614         * text2.C: ditto
7615         * bufferlist.C: ditto
7616         * buffer.h: ditto
7617         * buffer.C: ditto
7618
7619 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7622         unused class variable counter_,
7623
7624         * paragraph.[Ch] (getFirstCounter): delete unused function
7625
7626         * counters.C: include LAssert.h
7627         (reset): add a new function with no arg, change other version to
7628         not have def. arg and to not allow empty arg.
7629
7630         * text2.C (setCounter): remove empty arg from call to Counters::reset
7631
7632 2002-08-11  John Levon  <levon@movementarian.org>
7633
7634         * Makefile.am: add WordLangTuple.h
7635
7636 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7639         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7640
7641         * insets/insettext.C: InsetList changes
7642
7643         * graphics/GraphicsSupport.C (operator()): InsetList changes
7644
7645         * toc.C (getTocList): InsetList changes
7646
7647         * paragraph_pimpl.[Ch]: InsetList changes
7648
7649         * paragraph.[Ch]: InsetList changes
7650
7651         * buffer.C (inset_iterator): InsetList changes
7652         (setParagraph): ditto
7653         * buffer.h (inset_iterator): ditto
7654         * iterators.C (operator++): ditto
7655         * iterators.h: ditto
7656
7657         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7658
7659         * InsetList.[Ch]: new files, most InsetList handling moved out of
7660         paragraph.C.
7661
7662         * BufferView2.C (removeAutoInsets): InsetList changes
7663         (lockInset): ditto
7664         (ChangeInsets): ditto
7665
7666 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * paragraph_pimpl.h (empty): new function
7669
7670         * paragraph.[Ch] (empty): new function
7671
7672         * other files: use the new Paragraph::empty function
7673
7674 2002-08-09  John Levon  <levon@movementarian.org>
7675
7676         * lyxtext.h: remove unused refresh_height
7677
7678 2002-08-09  John Levon  <levon@movementarian.org>
7679
7680         * Makefile.am:
7681         * sgml.h:
7682         * sgml.C:
7683         * buffer.C:
7684         * paragraph.h:
7685         * paragraph.C: move sgml char escaping out of paragraph
7686
7687         * paragraph.h:
7688         * paragraph.C: remove id setter
7689
7690         * buffer.C:
7691         * paragraph.C:
7692         * paragraph_pimpl.C: remove dead tex_code_break_column
7693
7694         * bufferview_funcs.C: small cleanup
7695
7696         * lyxfunc.C: remove dead proto
7697
7698         * lyxtext.h: make some stuff private. Remove some dead stuff.
7699
7700         * lyxgluelength.C: make as[LyX]String() readable
7701
7702 2002-08-08  John Levon  <levon@movementarian.org>
7703
7704         * LyXAction.h:
7705         * LyXAction.C:
7706         * MenuBackend.C:
7707         * ToolbarDefaults.C:
7708         * lyxfunc.C:
7709         * lyxrc.C:
7710         * toc.C: lyxaction cleanup
7711
7712 2002-08-08  John Levon  <levon@movementarian.org>
7713
7714         * BufferView2.C: small cleanup
7715
7716         * lyxfind.h:
7717         * lyxfind.C: move unnecessary header into the .C
7718
7719 2002-08-08  John Levon  <levon@movementarian.org>
7720
7721         * funcrequest.h: just tedious nonsense
7722
7723         * lyx_main.h:
7724         * lyx_main.C: cleanups
7725
7726         * buffer.C:
7727         * vspace.C: remove dead header lyx_main.h
7728
7729 2002-08-07  Angus Leeming  <leeming@lyx.org>
7730
7731         * Paragraph.[Ch]:
7732         * paragraph_pimpl.h:
7733         Forward declare class Counters in paragraph.h by moving the ctrs member
7734         variable into Paragraph::Pimpl.
7735         (counters): new method, returning a reference to pimpl_->ctrs.
7736
7737         * text2.C: ensuing changes.
7738
7739 2002-08-07  John Levon  <levon@movementarian.org>
7740
7741         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7742
7743         * BufferView_pimpl.C: announce X selection on double/triple
7744           click
7745
7746         * lyx_main.C: use correct bool in batch dispatch
7747
7748         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7749
7750 2002-08-07  André Pönitz <poenitz@gmx.net>
7751
7752         * funcrequest.h: new class to wrap a kb_action and its argument
7753
7754         * BufferView.[Ch]:
7755         * BufferView_pimpl[Ch]:
7756         * LaTeX.C:
7757         * LyXAction.[Ch]:
7758         * lyxfunc.[Ch]:
7759         * lyxrc.C: subsequent changes
7760
7761
7762 2002-08-07  John Levon  <levon@movementarian.org>
7763
7764         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7765           document options change.
7766
7767 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7768
7769         * counters.[Ch]
7770         * text2.C
7771         * paragraph.[Ch]
7772         * makefile.am: move counters functionality over from
7773         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7774
7775 2002-08-06  John Levon  <levon@movementarian.org>
7776
7777         * WordLangTuple.h: new file for word + language code tuple
7778
7779         * SpellBase.h:
7780         * pspell.h:
7781         * pspell.C:
7782         * ispell.h:
7783         * ispell.C:
7784         * lyxtext.h:
7785         * text.C:
7786         * text2.C:
7787         * BufferView.h:
7788         * BufferView2.C: use WordLangTuple
7789
7790         * layout.h:
7791         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7792
7793 2002-08-06  John Levon  <levon@movementarian.org>
7794
7795         * lyx_main.C: fix cmdline batch handling
7796
7797 2002-08-06  André Pönitz <poenitz@gmx.net>
7798
7799         * lyxrc.C: set default for show_banner to true
7800
7801 2002-08-06  John Levon  <levon@movementarian.org>
7802
7803         * pspell.C: fix a crash, and allow new aspell to work
7804
7805 2002-08-06  John Levon  <levon@movementarian.org>
7806
7807         * lyxfunc.C:
7808         * kbmap.C: small cleanup
7809
7810         * vspace.h:
7811         * vspace.C: add const
7812
7813 2002-08-05  John Levon  <levon@movementarian.org>
7814
7815         * LyXAction.C: back to tabular-insert
7816
7817 2002-08-04  John Levon  <levon@movementarian.org>
7818
7819         * BufferView.h:
7820         * BufferView.C: cosmetic change
7821
7822         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7823
7824         * bufferlist.C:
7825         * buffer.h:
7826         * buffer.C:
7827         * lyxcb.h:
7828         * lyxcb.C:
7829         * lyxserver.C:
7830         * lyxvc.C:
7831         * vc-backend.C:
7832         * BufferView2.C: purge all "Lyx" not "LyX" strings
7833
7834         * lyxcursor.h:
7835         * lyxcursor.C: attempt to add some documentation
7836
7837         * lyxfunc.C:
7838         * commandtags.h:
7839         * LyXAction.C:
7840         * ToolbarDefaults.C:
7841         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7842           merge with LFUN_TABULAR_INSERT
7843
7844         * Makefile.am:
7845         * SpellBase.h:
7846         * ispell.h:
7847         * ispell.C:
7848         * pspell.h:
7849         * pspell.C: split up i/pspell implementations into separate
7850           files, many cleanups
7851
7852         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7853
7854         * text2.C: some cleanup
7855
7856         * lyxfunc.C: don't check for isp_command == "none" any more, it
7857           didn't make any sense
7858
7859 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7860
7861         * counters.[Ch]
7862         * text2.C
7863         * paragraph.[Ch]
7864         * makefile.am: move counters functionality over
7865         from text2.C/paragraph.[Ch] to counters.[Ch], and
7866         make proper C++.
7867 2002-08-02  John Levon  <levon@movementarian.org>
7868
7869         * buffer.C: s/lyxconvert/lyx2lyx/
7870
7871 2002-08-02  Angus Leeming  <leeming@lyx.org>
7872
7873         * lyxlex.C: revert John's change as it breaks reading of the user
7874         preamble.
7875
7876 2002-08-02  Angus Leeming  <leeming@lyx.org>
7877
7878         * importer.C (Import):
7879         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7880         changes due to LyXView::view() now returning a boost::shared_ptr.
7881
7882 2002-08-02  John Levon  <levon@movementarian.org>
7883
7884         * lyxlex.C: small cleanup
7885
7886 2002-08-02  John Levon  <levon@movementarian.org>
7887
7888         * text2.C (status): small cleanup, no logic change
7889
7890 2002-08-01  John Levon  <levon@movementarian.org>
7891
7892         * buffer.h:
7893         * buffer.C (writeFile): don't output alerts, caller
7894           handles this
7895
7896         * bufferlist.C:
7897         * lyx_cb.C: from above
7898
7899         * lyxfunc.C: allow to open non-existent files
7900
7901 2002-07-31  John Levon  <levon@movementarian.org>
7902
7903         * lyxserver.C: don't let incidental errors get
7904           in the way (errno)
7905
7906 2002-07-30  John Levon  <levon@movementarian.org>
7907
7908         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7909
7910 2002-07-30  John Levon  <levon@movementarian.org>
7911
7912         * lyxserver.h:
7913         * lyxserver.C: remove I/O callback too
7914
7915 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7916
7917         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7918         log.
7919
7920 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * many files: strip,frontStrip -> trim,ltrim,rtrim
7923
7924 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * PrinterParams.h: remove extern containsOnly, and include
7927         support/lstrings.h instead.
7928
7929         * LaTeX.C (scanAuxFile): modify because of strip changes
7930         (deplog): ditto
7931         * buffer.C (makeLaTeXFile): ditto
7932         * bufferparams.C (writeFile): ditt
7933         * lyxfont.C (stateText): ditto
7934         * lyxserver.C (read_ready): ditto
7935         * vc-backend.C (scanMaster): ditto
7936
7937         * BufferView_pimpl.h: ws changes
7938
7939         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7940
7941 2002-07-26  André Pönitz <poenitz@gmx.net>
7942
7943         * kb_sequence.C: remove unnedred usings
7944
7945 2002-07-26  Juergen Vigna  <jug@sad.it>
7946
7947         * lyxfind.C (LyXReplace): we have to check better if the returned
7948         text is not of theLockingInset()->getLockingInset().
7949
7950 2002-07-25  Juergen Vigna  <jug@sad.it>
7951
7952         * lyxfind.C (LyXReplace): don't replace if we don't get the
7953         right LyXText.
7954
7955         * undo_funcs.C (createUndo): remove debugging code.
7956
7957 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7958
7959         * buffer.C (parseSingleLyXformat2Token): Use default placement
7960         when reading old floats.
7961
7962         * FloatList.C (FloatList): Change the default placement of figure
7963         and tables to "tbp".
7964
7965 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7966
7967         * MenuBackend.C: using std::max
7968
7969 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7970
7971         * MenuBackend.C (expandToc):
7972         (expandToc2): code moved from xforms menu frontend. It is now
7973         generic and TOCs are transparent to menu frontends.
7974
7975 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7976
7977         * toc.C (getTocList): protect against buf=0
7978
7979         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7980         Menu as first parameter. Now, this calls itself recursively to
7981         expand a whole tree (this will be useful for TOC handling)
7982         (expandFloatInsert): remove 'wide' version of floats
7983
7984         * MenuBackend.h (submenuname): returns the name of the submenu.
7985         (submenu): returns the submenu itself, provided it has been
7986         created by MenuBackend::expand
7987
7988 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7989
7990         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7991         insets which have noFontChange == true. (bug #172)
7992
7993 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7994
7995         * BufferView_pimpl.C: add connection objects and use them...
7996         (Pimpl): here.
7997
7998 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * MenuBackend.C (expandLastfiles):
8001         (expandDocuments):
8002         (expandFormats):
8003         (expandFloatListInsert):
8004         (expandFloatInsert):
8005         (expand): split expand in parts
8006
8007 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8008
8009         * lyx_gui.C: use lyx_gui::exit()
8010
8011 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8012
8013         * LyXAction.C: show the failing pseudo action
8014
8015 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8016
8017         * buffer.C (readFile): Run the lyxconvert script in order to read
8018         old files.
8019
8020 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * LyXAction.C:
8023         * commandtags.h:
8024         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8025
8026 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * LyXAction.C:
8029         * commandtags.h:
8030         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8031
8032 2002-07-22  Herbert Voss  <voss@lyx.org>
8033
8034         * lengthcommon.C:
8035         * lyxlength.[Ch]: add support for the vertical lengths
8036
8037 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * toc.[Ch]: std:: fixes
8040
8041 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * lyxrc.C: do not include lyx_main.h
8044
8045         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8046         for layouts
8047
8048         * lyxrc.C:
8049         * encoding.C:
8050         * bufferlist.C:
8051         * BufferView2.C: include "lyxlex.h"
8052
8053         * tabular.h:
8054         * bufferparams.h: do not #include "lyxlex.h"
8055
8056         * lyxtextclasslist.C (Add): remove method
8057         (classlist): renamed to classlist_
8058
8059         * paragraph_pimpl.C:
8060         * paragraph.C:
8061         * text2.C:
8062         * CutAndPaste.C:
8063         * bufferview_funcs.C:
8064         * bufferlist.C:
8065         * text.C:
8066         * LaTeXFeatures.C:
8067         * buffer.C:
8068         * toc.C (getTocList): use BufferParams::getLyXTextClass
8069
8070         * toc.C (getTocList): use InsetFloat::addToToc
8071
8072         * toc.[Ch]: new files, containing helper functions to handle table
8073         of contents
8074
8075         * lyxfunc.C (dispatch): no need to remove spaces around command
8076         given as a string
8077         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8078         first command of the sequence; it is not very clever, but I do not
8079         have a better idea, actually
8080
8081         * LyXAction.C (LookupFunc): make sure to remove space at the
8082         beginning and end of the command
8083
8084 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8085
8086         * MenuBackend.C (getMenubar): new method: return the menubar of
8087         this menu set
8088         (read): treat differently reading of menu and menubar (in
8089         particular, the menubar has no name now)
8090         (Menu::menubar): remove
8091
8092         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8093         saving is finished
8094
8095 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8096
8097         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8098         a bibitem inset in a RTL paragraph.
8099
8100 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * paragraph_pimpl.C: constify
8103
8104         * BufferView_pimpl.C:
8105         * LaTeX.C:
8106         * lyxfunc.C: fix dispatch in a nicer way
8107
8108 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8109
8110         * lyxfunc.C (dispatch):
8111         * BufferView_pimpl.C:
8112         * BufferView_pimpl.h:
8113         * BufferView.C:
8114         * BufferView.h: rename Dispatch() to dispatch()
8115
8116         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8117
8118         * lyxlayout.C (Read): honor DependsOn tag
8119
8120         * lyxlayout.[Ch] (depends_on): new method
8121
8122         * version.C.in: update lyx_docversion
8123
8124         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8125
8126         * paragraph.C (validate): remove from here...
8127         * paragraph_pimpl.C (validate): ... and move here
8128         (isTextAt): make it const
8129
8130         * buffer.C (getLists): ws cleanup
8131
8132 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8133
8134         * language.C (read): Use iso8859-1 encoding in latex_lang
8135         (this prevents LyX from crashing when using iso10646-1 encoding).
8136
8137 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8138
8139         * text2.C (toggleInset): if cursor is inside an inset, close the
8140         inset and leave cursor _after_ it
8141
8142 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * lyxfunc.C: move minibuffer completion handling out of here
8145
8146 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * BufferView_pimpl.C:
8149         * LaTeX.C: fix dispatch calls
8150
8151 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * text.C (drawChars): Fix Arabic text rendering.
8154
8155 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * LyXAction.C:
8158         * commandtags.h:
8159         * lyxfunc.C: remove message-push/pop
8160
8161         * lyxserver.C:
8162         * lyxfunc.h:
8163         * lyxfunc.C: rationalise some code by removing verboseDispatch
8164           in favour of a bool argument to dispatch()
8165
8166 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * lyx_main.C (init): make sure to read symlinks as absolute paths
8169
8170 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * lyxfunc.h:
8173         * lyxfunc.C: no need for commandshortcut to be a member
8174
8175 2002-07-15  André Pönitz <poenitz@gmx.net>
8176
8177         * converter.C: add support for $$s (scripts from lib/scripts dir)
8178         * lyx_main.C: white space
8179
8180 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * bufferlist.C:
8183         * lyxrc.h:
8184         * lyxrc.C: remove second exit confirmation
8185
8186 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * BufferView.h:
8189         * BufferView.C:
8190         * BufferView2.C:
8191         * BufferView_pimpl.h:
8192         * BufferView_pimpl.C:
8193         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8194
8195 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8196
8197         * MenuBackend.C (expand): add numeric shortcuts to document menu
8198
8199         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8200
8201 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * lyxfont.C (setLyXFamily):
8204         (setLyXSeries):
8205         (setLyXShape):
8206         (setLyXSize):
8207         (setLyXMisc):
8208         (lyxRead):
8209         * debug.C (value):
8210         * buffer.C (asciiParagraph): use ascii_lowercase
8211
8212 2002-07-15  Mike Fabian  <mfabian@suse.de>
8213
8214         * lyxlex_pimpl.C (search_kw):
8215         * lyxlex.C (getLongString):
8216         * converter.h (operator<):
8217         * converter.C (operator<):
8218         * buffer.C (parseSingleLyXformat2Token):
8219         (asciiParagraph):
8220         * ToolbarDefaults.C (read):
8221         * MenuBackend.C (checkShortcuts):
8222         (read):
8223         * LColor.C (getFromGUIName):
8224         (getFromLyXName): use the compare_ascii_no_case instead of
8225         compare_no_case, because in turkish, 'i' is not the lowercase
8226         version of 'I', and thus turkish locale breaks parsing of tags.
8227
8228 2002-07-16  Angus Leeming  <leeming@lyx.org>
8229
8230         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8231         now takes a Buffer const & argument.
8232
8233 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8234
8235         * BufferView.C (resize): check there's a buffer to resize
8236
8237 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8238
8239         * lyxfunc.C: remove dead code
8240
8241         * lyxserver.h:
8242         * lyxserver.C: use lyx_guii::set_read_callback
8243
8244 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8247         an inset in a RTL paragraph.
8248
8249 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8250
8251         * lyxfunc.C: repaint after a font size update
8252
8253 2002-07-15  André Pönitz <poenitz@gmx.net>
8254
8255         * lyxlength.C: inBP should be able to return negative values
8256
8257 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * lyxfunc.C: use lyx_gui::update_fonts()
8260
8261 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8262
8263         * lyxfunc.C: use lyx_gui::update_color()
8264
8265 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8266
8267         * bufferlist.C:
8268         * lyxfunc.h:
8269         * lyxfunc.C:
8270         * lyxrc.h:
8271         * lyxrc.C: remove file->new asks for name option, and let
8272           buffer-new take an argument
8273
8274 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8275
8276         * BufferView_pimpl.C: remove unneeded extra repaint()
8277
8278 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * LyXAction.C: allow command-sequence with NoBuffer
8281
8282         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8283
8284 2002-07-10  Angus Leeming  <leeming@lyx.org>
8285
8286         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8287
8288 2002-07-09  Angus Leeming  <leeming@lyx.org>
8289
8290         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8291
8292 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * lengthcommon.h: whitespace
8295
8296         * lyxfunc.C: update scrollbar after goto paragraph
8297
8298         * lyxtext.h: factor out page break drawing, and fix it so
8299           page break/added space paints as selected nicely
8300
8301 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8302
8303         * BufferView_pimpl.C: add FIXMEs, clean up a little
8304
8305 2002-07-09  André Pönitz <poenitz@gmx.net>
8306
8307         * lyxfont.[Ch]: support for wasy symbols
8308
8309 2002-07-08  André Pönitz <poenitz@gmx.net>
8310
8311         * BufferView_pimpl.C: apply John's patch for #93.
8312
8313 2002-07-05  Angus Leeming  <leeming@lyx.org>
8314
8315         * BufferView_pimpl.C (buffer): generate previews if desired.
8316
8317         * LColor.h: add "preview" to the color enum.
8318
8319         * LColor.C (LColor): add a corresponding entry to the items array.
8320
8321         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8322         with this buffer.
8323
8324 2002-07-05  Angus Leeming  <leeming@lyx.org>
8325
8326         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8327         The body of the code is now in the method that is passed an ostream &
8328         rather than a file name.
8329         Pass an additional only_preamble parameter, useful for the forthcoming
8330         preview stuff.
8331
8332 2002-07-03  André Pönitz <poenitz@gmx.net>
8333
8334         * lyxfunc.C: simplify getStatus() a bit for math stuff
8335
8336 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8337
8338         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8339
8340 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * text.C (changeRegionCase): do not change case of all the
8343         document when region ends at paragraph end (bug #461)
8344
8345 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * paragraph.C (startTeXParParams):
8348         (endTeXParParams): add \protect when necessary
8349
8350 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8351
8352         * BufferView_pimpl.C (workAreaExpose): remove warning
8353
8354 2002-06-27  Angus Leeming  <leeming@lyx.org>
8355
8356         * Makefile.am: add lyxlayout_ptr_fwd.h.
8357
8358 2002-06-26  André Pönitz <poenitz@gmx.net>
8359
8360         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8361
8362 2002-06-25  Angus Leeming  <leeming@lyx.org>
8363
8364         * lyxfunc.C (dispatch): Comment out the call to
8365         grfx::GCache::changeDisplay. The method no longer exists now that the
8366         pixmap generation part of the graphics loader has been moved into
8367         InsetGraphics.
8368
8369 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * text2.C: layout as layout
8372
8373         * text.C: layout as layout
8374
8375         * tabular.C (OldFormatRead): layout as layout
8376
8377         * paragraph_pimpl.C (TeXDeeper): layout as layout
8378         (realizeFont): layout as layout
8379
8380         * paragraph.C (writeFile): layout as layout
8381         (validate): layout as layout
8382         (getFont): layout as layout
8383         (getLabelFont): layout as layout
8384         (getLayoutFont): layout as layout
8385         (breakParagraph): layout as layout
8386         (stripLeadingSpaces): layout as layout
8387         (getEndLabel): layout as layout
8388         (getMaxDepthAfter): layout as layout
8389         (applyLayout): layout as layout
8390         (TeXOnePar): layout as layout
8391         (simpleTeXOnePar): layout as layout
8392         (TeXEnvironment): layout as layout
8393         (layout): layout as layout
8394         (layout): layout as layout
8395
8396         * lyxtextclass.C (compare_name): new functor to work with
8397         shared_ptr, layout as layout
8398         (Read): layout as layout
8399         (hasLayout): layout as layout
8400         (operator): layout as layout
8401         (delete_layout): layout as layout
8402         (defaultLayout): layout as layout
8403
8404         * lyxlayout_ptr_fwd.h: new file
8405
8406         * lyxlayout.C (Read): layout as layout
8407
8408         * lyx_cb.C (MenuInsertLabel): layout as layout
8409
8410         * bufferlist.C (newFile): layout as layout
8411
8412         * buffer.C (readLyXformat2): layout as layout
8413         (parseSingleLyXformat2Token): layout as layout
8414         (insertStringAsLines): layout as layout
8415         (asciiParagraph): layout as layout
8416         (latexParagraphs): layout as layout
8417         (makeLinuxDocFile): layout as layout
8418         (simpleLinuxDocOnePar): layout as layout
8419         (makeDocBookFile): layout as layout
8420         (simpleDocBookOnePar): layout as layout
8421         (getLists): layout as layout
8422
8423         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8424
8425         * CutAndPaste.C (cutSelection): layout as layout
8426         (pasteSelection): layout as layout
8427         (SwitchLayoutsBetweenClasses): layout as layout
8428
8429         * BufferView_pimpl.C (Dispatch): layout as layout
8430         (smartQuote): layout as layout
8431
8432         * BufferView2.C (unlockInset): layout as layout
8433
8434 2002-06-24  André Pönitz <poenitz@gmx.net>
8435
8436         * lyxfunc.C: fix #487
8437
8438 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * lyxrc.h:
8441         * lyxrc.C:
8442         * lyxfunc.C: remove display_shortcuts, show_banner
8443
8444 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8445
8446         * Buffer_pimpl.C: oops, update on resize
8447
8448 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * buffer.C:
8451         * converter.C:
8452         * exporter.C:
8453         * lyxfunc.C:
8454         * BufferView.h:
8455         * BufferView.C: use repaint()
8456
8457         * BufferView_pimpl.h:
8458         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8459           as it's a clearer description. Remove superfluous
8460           redraws.
8461
8462 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8463
8464         * text.C: fix bug 488. Not ideal, but getting
8465           getWord() to work properly for the insets that
8466           matter is more difficult ...
8467
8468 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView_pimpl.C:
8471         * LyXAction.C:
8472         * commandtags.h:
8473         * lyxfunc.C: remove the six million index lyxfuncs to just
8474           one, and DTRT (bug 458)
8475
8476 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8477
8478         * BufferView.h:
8479         * BufferView.C:
8480         * BufferView_pimpl.h:
8481         * BufferView_pimpl.C: clean up resize() stuff,
8482           and unnecessary updateScreen()s
8483
8484 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * BufferView.h:
8487         * BufferView.C:
8488         * BufferView_pimpl.h:
8489         * BufferView_pimpl.C:
8490         * lyxfind.h:
8491         * lyxfind.C:
8492         * minibuffer.C: remove focus management of workarea,
8493           not needed. Use screen's greyOut()
8494
8495 2002-06-17  Herbert Voss  <voss@lyx.org>
8496
8497         * converter.C: (convert) do not post a message, when converting
8498         fails, let the calling function decide what to do in this case
8499
8500 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8501
8502         * lyxfunc.C: tidy up a little
8503
8504 2002-06-16    <alstrup@diku.dk>
8505
8506         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8507         Got rid of FORMS_H_LOCATION include. Now we are
8508         GUII.
8509
8510 2002-06-15  LyX Development team  <lyx@rilke>
8511
8512         * buffer.[Ch] (sgmlOpenTag):
8513         (sgmlCloseTag): Added support for avoiding pernicious mixed
8514         content. Return number of lines written.
8515
8516         (makeLinuxDocFile):
8517         (makeDocBookFile): Fixed calls to sgml*Tag.
8518         Simple white space clean.
8519
8520         (simpleDocBookOnePar): Simple white space clean.
8521
8522         * tabular.[Ch] (docBook): Renamed to docbook and got another
8523         argument to related with the pernicious mixed content.
8524
8525         (docbookRow): Fixed calls for docbook inset method.
8526
8527 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8528
8529         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8530         so it's X11 independent.
8531
8532         * kb*.[Ch]: ditto.
8533
8534         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8535
8536 2002-06-15  Lyx Development team  <lyx@electronia>
8537
8538         * intl.h: Renamed getTrans to getTransManager.
8539
8540 2002-06-14  Angus Leeming  <leeming@lyx.org>
8541
8542         * Makefile.am: nuke forgotten stl_string_fwd.h.
8543
8544 2002-06-12  Angus Leeming  <leeming@lyx.org>
8545
8546         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8547
8548 2002-06-13  Angus Leeming  <leeming@lyx.org>
8549
8550         * LaTeX.C:
8551         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8552
8553 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8554
8555         * kbmap.C (getiso): add support for cyrillic and greek
8556
8557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8558
8559         * BufferView.h:
8560         * BufferView.C:
8561         * BufferView_pimpl.h:
8562         * BufferView_pimpl.C: move bogus scrolling logic
8563           to xforms
8564
8565 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * lyxfunc.C:
8568         * BufferView_pimpl.C: view->resize() change
8569
8570 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8571
8572         * BufferView_pimpl.C: topCursorVisible
8573           prototype change
8574
8575 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * Makefile.am:
8578         * lyx_gui.h:
8579         * lyx_gui.C: move to frontends/
8580
8581         * main.C:
8582         * lyx_main.h:
8583         * lyx_main.C: changes from above
8584
8585 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8586
8587         * intl.C:
8588         * intl.h:
8589         * kbmap.C:
8590         * kbsequence.C:
8591         * lyx_cb.C:
8592         * lyx_main.C: minor tidy
8593
8594 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8595
8596         * BufferView_pimpl.h:
8597         * BufferView_pimpl.C:
8598         * BufferView.h:
8599         * BufferView.C: make painter() const,
8600           remove dead code
8601
8602         * BufferView2.C: use screen() accessor
8603
8604         * lyx_main.h:
8605         * lyx_main.C: some minor cleanup
8606
8607 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8608
8609         * BufferView_pimpl.h:
8610         * BufferView_pimpl.C: remove enter/leaveView,
8611           use workHeight()
8612
8613 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8614
8615         * BufferView.h:
8616         * BufferView.C:
8617         * BufferView2.C:
8618         * BufferView_pimpl.h:
8619         * BufferView_pimpl.C: only construct screen once,
8620           rename
8621
8622         * lyxrc.C: remove pointless comment
8623
8624 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * BufferView.h:
8627         * BufferView.C: remove active() and belowMouse()
8628
8629         * BufferView_pimpl.h:
8630         * BufferView_pimpl.C: use workarea() not workarea_,
8631           and make it use a scoped_ptr instead
8632
8633 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * lyx_gui.C: add debug message on BadWindow
8636
8637 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8638
8639         * sp_spell.C: fdopen is not part of the C++ standard.
8640
8641         * paragraph.C (InsetIterator): use >= instead of ==
8642
8643 2002-06-07  Angus Leeming  <leeming@lyx.org>
8644
8645         Fixes needed to compile with Compaq cxx 6.5.
8646         * BufferView_pimpl.C:
8647         * DepTable.C:
8648         * buffer.C:
8649         * converter.C:
8650         * encoding.C:
8651         * lyx_gui.C:
8652         * lyx_main.C:
8653         * lyxtextclasslist.C:
8654         * minibuffer.C:
8655         * sp_spell.C:
8656         * tabular_funcs.C:
8657         * vc-backend.C:
8658         all c-library variables have been moved into namespace std. Wrap
8659         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8660
8661         * lyxlength.C:
8662         * tabular-old.C:
8663         * tabular.C:
8664         Add a using std::abs declaration.
8665
8666         * kbmap.h (modifier_pair):
8667         * paragraph.h (InsetTable, InsetList):
8668         * lyxfont.h (FontBits):
8669         type definition made public.
8670
8671         * bufferlist.C (emergencyWriteAll): the compiler complains that
8672         there is more than one possible lyx::class_fun template to choose from.
8673         I re-named the void specialisation as lyx::void_class_fun.
8674
8675         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8676
8677         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8678         the compiler is is unable to find tostr in write_attribute.
8679
8680 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * buffer.C (sgmlError): hide #warning
8683
8684 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8685
8686         * xtl/*: get rid of xtl, which is not in use anyway
8687
8688         * LyXAction.C (init):
8689         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8690         were unimplemented xtl experimentation
8691
8692 2002-06-04  André Pönitz <poenitz@gmx.net>
8693
8694         * lyxfunc.C: disable array operation on simple formulae
8695
8696 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * converter.C: constify a bit
8699
8700 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * lyx_gui.C: check xforms version correctly
8703
8704 2002-04-30  Herbert Voss  <voss@lyx.org>
8705
8706         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8707         "keep" option
8708
8709 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8712           attempt to register it with a VCS)
8713
8714 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * lyx_main.C (init): honor variables LYX_DIR_13x and
8717         LYX_USERDIR_13x
8718
8719 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * buffer.h:
8722         * buffer.C:
8723         * lyx_main.C: fix a crash on bad command line,
8724           and give a useful exit status on error
8725
8726         * lyxfunc.C (doImport): allow -i lyx to work
8727
8728 2002-03-30  André Pönitz <poenitz@gmx.net>
8729
8730         * lyxfunc.C: mathed font changes
8731
8732 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * LaTeX.C:
8735         * importer.h:
8736         * importer.C:
8737         * lyx_sty.h:
8738         * lyx_sty.C:
8739         * lyxlex.C:
8740         * lyxrow.h:
8741         * lyxtext.h:
8742         * paragraph.h:
8743         * paragraph.C:
8744         * texrow.h:
8745         * texrow.C:
8746         * text.C:
8747         * trans_mgr.h: srcdocs, and some minor cleanups
8748
8749 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8752         call getFont all the time)
8753
8754 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * switch from SigC signals to boost::signals
8757
8758 2002-05-29  André Pönitz <poenitz@gmx.net>
8759
8760         * paragraph_pimpl.C (getChar): don't call size() too often...
8761
8762 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * paragraph_pimpl.C (insertChar): do not try to update tables when
8765         appending (pos == size())
8766
8767         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8768         in order to reduce drastically the number of comparisons needed to
8769         parse a large document
8770
8771 2002-05-29  André Pönitz <poenitz@gmx.net>
8772
8773         * text.C:
8774         * text2.C:
8775         * lyxtextclass.C:
8776         * sp_pspell.h:
8777         * textclasslist.[Ch]:
8778         * sp_ispell.h: whitespace change
8779
8780 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8783         lyxaction directly now.
8784
8785 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8786
8787         * trans.C:
8788         * lyxfont.C:
8789         * lyxvc.C: remove unused headers
8790
8791 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * Makefile.am:
8794         * buffer.h:
8795         * undostack.h:
8796         * undostack.C:
8797         * undo_funcs.h:
8798         * undo_funcs.C: some cleanups. Use shared_ptr
8799           and a template for the undo stacks.
8800
8801 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * BufferView_pimpl.h:
8804         * BufferView_pimpl.C:
8805         * kbmap.h:
8806         * kbmap.C:
8807         * kbsequence.h:
8808         * kbsequence.C:
8809         * lyxfunc.h:
8810         * lyxfunc.C:
8811         * text2.C: use key_state/mouse_state
8812
8813 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8814
8815         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8816         and LSubstring
8817
8818         * chset.C: change include order
8819         (loadFile): use boost regex and get rid of LRegex and LSubstring
8820
8821         * Makefile.am (BOOST_LIBS): new variable
8822         (lyx_LDADD): use it
8823
8824         * LaTeX.C: change include order.
8825         (scanAuxFile): use boost regex and get rid of LRegex and
8826         LSubstring
8827         (deplog): ditto
8828
8829 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8830
8831         * ColorHandler.h:
8832         * ColorHandler.C:
8833         * FontInfo.h:
8834         * FontInfo.C: moved to frontends/xforms/
8835
8836         * FontLoader.h:
8837         * FontLoader.C: moved into frontends for GUIIzation
8838
8839         * Makefile.am:
8840         * lyx_gui.C:
8841         * lyxfont.C:
8842         * lyxfunc.C: changes from above
8843
8844 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * LColor.C: remove spurious X include
8847
8848         * BufferView_pimpl.C:
8849         * Makefile.am:
8850         * font.h:
8851         * font.C:
8852         * text.C:
8853         * text2.C: move font metrics to frontends/
8854
8855 2002-05-24  Juergen Vigna  <jug@sad.it>
8856
8857         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8858         setting the undo_cursor.
8859
8860         * ParagraphParameters.h: include local includes first.
8861
8862 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8863
8864         * BufferView_pimpl.C:
8865         * BufferView_pimpl.h:
8866         * Makefile.am:
8867         * WorkArea.h:
8868         * WorkArea.C:
8869         * screen.C: move WorkArea into frontends/
8870
8871         * lyxscreen.h:
8872         * screen.C:
8873         * text.C:
8874         * BufferView.C:
8875         * BufferView2.C: move LyXScreen into frontends/
8876
8877         * lyxlookup.h:
8878         * lyxlookup.C:
8879         * lyx_gui.C: move lyxlookup into frontends/xforms/
8880
8881 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8882
8883         * BufferView2.C:
8884         * BufferView_pimpl.C:
8885         * FontLoader.C:
8886         * LyXView.h:
8887         * LyXView.C:
8888         * Makefile.am:
8889         * WorkArea.C:
8890         * XFormsView.h:
8891         * XFormsView.C:
8892         * buffer.C:
8893         * bufferlist.C:
8894         * bufferview_funcs.C:
8895         * converter.C:
8896         * importer.C:
8897         * lyx_cb.C:
8898         * lyx_gui.C:
8899         * lyx_main.C:
8900         * lyx_find.C:
8901         * lyxfunc.C:
8902         * lyxvc.C:
8903         * minibuffer.C:
8904         * text.C:
8905         * text2.C:
8906         * trans.C:
8907         * vc-backend.C: move LyX/XFormsView into frontends/
8908
8909 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8910
8911         * Makefile.am:
8912         * PainterBase.C:
8913         * PainterBase.h:
8914         * Painter.C:
8915         * Painter.h:
8916         * WorkArea.C:
8917         * WorkArea.h:
8918         * screen.C:
8919         * tabular.C:
8920         * text.C:
8921         * text2.C: move Painter to frontends/
8922
8923 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * buffer.C: comment out some some code that depend upon lyx_format
8926         < 220
8927
8928         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8929         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8930
8931         * buffer.h (NO_COMPABILITY): turn off compability
8932
8933         * ColorHandler.C: include scoped_array.hpp
8934
8935         * font.C: Use more specific smart_ptr header.
8936         * Painter.C: ditto
8937         * gettext.C: ditto
8938         * ShareContainer.h: ditto
8939         * lyx_main.h: ditto
8940         * kbmap.h: ditto
8941         * FontInfo.h: ditto
8942         * BufferView_pimpl.h: ditto
8943         * ColorHandler.h: ditto
8944
8945         * kbmap.C (defkey): change call to shared_ptr::reset
8946
8947 2002-05-21  Juergen Vigna  <jug@sad.it>
8948
8949         * buffer.C (insertErtContents): fix to insert ert asis if it is
8950         non empty. Skip it completely if it contains only whitespaces.
8951
8952 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * BufferView_pimpl.C:
8955         * BufferView2.C: clear selection on paste (bug 393)
8956
8957 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * DepTable.C: include ctime
8960
8961 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8962
8963         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8964
8965 2002-05-14  Juergen Vigna  <jug@sad.it>
8966
8967         * text.C (breakParagraph): fixed function to honor the keepempty
8968         layout in the right maner and also to permit the right breaking
8969         algorithm on empty or non empyt keepempty paragraphs.
8970
8971         * paragraph.C (breakParagraph): we have to check also if the par
8972         is really empty (!size()) for isempty otherwise we do the wrong
8973         paragraph break.
8974
8975 2002-05-10  Juergen Vigna  <jug@sad.it>
8976
8977         * buffer.[Ch] : The following are only changes to the ert
8978         compatibility read reading old LaTeX layout and font stuff and
8979         convert it to ERTInsets.
8980
8981         * buffer.h: added isErtInset().
8982
8983         * buffer.C (struct ErtComp): add a fromlayout bool to check
8984         if we're inside a LaTeX layout.
8985         (isErtInset): new helper function.
8986         (insertErtContents): look for other ert insets before this one
8987         and insert the contents there, so that we don't have subsequent
8988         ERT insets with nothing between them. This way we create only one
8989         inset with multiple paragraphs. Also check if we don't insert only
8990         spaces ' ' as they are ignored anyway afterwards in the .tex file
8991         so if we have only spaces we will ignore this latex part in the
8992         new file.
8993         (parseSingleLyXformat2Token \\layout): better compatibility when
8994         reading layout-latex stuff.
8995         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8996         language tag.
8997         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8998         stuff after reading the inset only get the information back from
8999         the stack.
9000
9001 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9004
9005         * LaTeXFeatures.C (getBabelOptions): New method.
9006
9007 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9008
9009         * BufferView_pimpl.C (Dispatch): work around missing argument for
9010         'layout'
9011
9012 2002-05-08  Juergen Vigna  <jug@sad.it>
9013
9014         * text.C (leftMargin): handle paragraph leftindent.
9015
9016         * paragraph.C (writeFile): write the new \\leftindent tag.
9017         (validate): handle leftindent code.
9018         (TeXEnvironment): handle paragraphleftindent code again.
9019
9020         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9021
9022         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9023         for paragrap_extra indent code and new token \\leftindent.
9024         (latexParagraphs): handle the leftindent as environment.
9025
9026         * ParameterStruct.h: added leftindent support.
9027
9028         * ParagraphParameters.C (leftIndent): added support functions for
9029         the paragraph left indent.
9030
9031         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9032         more appropriate.
9033
9034 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9035
9036         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9037         inside insetERT.
9038
9039         * text.C (computeBidiTables): No bidi in insetERT.
9040
9041         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9042         in RTL documents.
9043
9044 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * version.C.in: pre 5
9047
9048 2002-05-02  José Matos  <jamatos@fep.up.pt>
9049         * buffer.C (makeDocBookFile): white space changes, add newline to
9050         command styles.
9051         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9052
9053         * tabular.C (docBook): fix typo.
9054
9055 2002-05-03  Juergen Vigna  <jug@sad.it>
9056
9057         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9058         change in LyXText as we can not be sure it was not freed.
9059         (drawOneRow): remove unused code.
9060
9061         * text.C (drawInset): redo the calculation of the need_break_row as
9062         it could have a row which was already freed.
9063         (draw): look at the return value of drawInset and return false if
9064         it also returned false.
9065         (paintRowText): look at the return value of draw and return false if
9066         it also returned false.
9067
9068         * lyxtext.h: added bool return type to drawInset() and draw() so that
9069         if we have a change in the row so that the rowbreak has to be redone
9070         we abort drawing as it will be called again.
9071
9072 2002-05-02  Juergen Vigna  <jug@sad.it>
9073
9074         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9075         a change in the maintext also if we're inside an inset.
9076         (Dispatch): set the cursor again after a break line and after the
9077         screen has been updated as it could be we're in a different row.
9078
9079         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9080         to set the cursor behind the pargraph with > size().
9081         (setCursor): check also for the same paragraph when checking where
9082         to put the cursor if we have a NFR inset.
9083
9084         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9085         parts of layout read further up as it still was in the wrong
9086         position.
9087
9088 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9089
9090         * screen.C (drawFromTo): change sine fullRebreak always return
9091         true.
9092
9093         * buffer.C (parseSingleLyXformat2Token): reindent some
9094
9095         * BufferView_pimpl.C (update): change since fullRebreak always
9096         return true.
9097         (Dispatch): git rid of the last hardcoded "Standard"s.
9098
9099 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9100
9101         * text2.[Ch] (fullRebreak): make it return void now that we always
9102         returned true.
9103
9104 2002-04-30  Juergen Vigna  <jug@sad.it>
9105
9106         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9107         ert compatibility check for "latex" layout.
9108
9109 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9110
9111         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9112         minipages: use col% instead of p%, and also use the current font.
9113         (makeLaTeXFile): Fix use babel condition.
9114         (parseSingleLyXformat2Token): Correct font when reading old floats.
9115
9116 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9117
9118         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9119         inserting list of floats.
9120
9121 2002-04-25  Herbert Voss  <voss@lyx.org>
9122
9123         * MenuBackend.C (expand): don't add the graphics extensions to the
9124         export menu
9125
9126 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9127
9128         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9129         non-existing layout, do not complain if it was the default layout
9130         of the original class (bug #342)
9131
9132 2002-04-24  Juergen Vigna  <jug@sad.it>
9133
9134         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9135         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9136
9137 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9138
9139         * buffer.C (getBibkeyList): If using \bibliography, return the
9140         option field with the reference itself. Enables us to provide natbib
9141         support when using \bibliography.
9142
9143 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9144
9145         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9146
9147         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9148         natbib is provided by the LaTeX class.
9149
9150 2002-04-23  Juergen Vigna  <jug@sad.it>
9151
9152         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9153         Wakeup functions.
9154
9155         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9156
9157 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9160
9161         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9162         ensuremath around textordmasculine, textordfeminine and
9163         textdegree.
9164
9165 2002-04-19  Juergen Vigna  <jug@sad.it>
9166
9167         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9168         reinitializing the buffer otherwise row-dimensions may be wrong.
9169         (update): reset also the selection cursors if they do exits otherwise
9170         their x/y positions may be wrong.
9171
9172         * text2.C (cursorDown): don't enter the inset if we came from a row
9173         above and are one row over the inset.
9174
9175         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9176         really leaving an inset.
9177
9178 2002-04-18  Juergen Vigna  <jug@sad.it>
9179
9180         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9181         of the selected paragraph does not have the selected layout also if
9182         the last one had!
9183
9184         * text2.C (setLayout): fixed bug which did not change last selected
9185         paragraph.
9186
9187         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9188         changed the read and substituted \\end_float with \\end_inset!
9189
9190         * BufferView_pimpl.C (cursorPrevious):
9191         (cursorNext): fixed to make it work with rows heigher than the work
9192         area without moving the cursor only the draw of the row.
9193         (workAreaMotionNotify): fix jumping over high rows.
9194
9195 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9196
9197         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9198         Ressler.
9199
9200 2002-04-16  Juergen Vigna  <jug@sad.it>
9201
9202         * text2.C (setCursor): set also the irow().
9203         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9204         (cursorUp):
9205         (cursorDown): support for locking an inset if the x_fix value goes
9206         inside it. That way I can transverse insets too with cursor up/down.
9207
9208         * lyxrow.h: added irow helper function same as other (i) functions.
9209
9210         * BufferView_pimpl.C (cursorPrevious):
9211         (cursorNext): fixed for insets!
9212
9213 2002-04-15  Juergen Vigna  <jug@sad.it>
9214
9215         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9216         position otherwise it is wrong in some cases.
9217
9218         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9219         inside the inset before the call.
9220
9221 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9222
9223         * buffer.[Ch] (getBibkeyList): make it const.
9224
9225 2002-04-12  Juergen Vigna  <jug@sad.it>
9226
9227         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9228
9229         * text2.C (getCursorX): new helper function
9230         (setCursor): compute also ix_
9231         (setCursorFromCoordinates): set also ix.
9232
9233         * lyxcursor.h: added ix_ and helper functions.
9234
9235         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9236
9237         * buffer.C (insertStringAsLines): dont break paragraph if the this
9238         paragraph is inside an inset which does not permit it!
9239
9240         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9241         also with no chars on this paragraph.
9242         (paintRowText): only paint stuff if it's inside the workarea!
9243
9244         * paragraph.C (breakParagraph): honor keepempty flag and break the
9245         paragraph always below not above.
9246
9247         * BufferView2.C (unlockInset): update the paragraph layout on inset
9248         unlock as we changed paragraph in such a case.
9249
9250         * lyxfind.C (LyXFind): clear the former selection if not found!
9251
9252         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9253         again called in insertChar().
9254
9255         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9256         an inset which uses the whole row!
9257         (rightMargin): ditto.
9258         (insertChar): force a rebreak if we inserted an inset!
9259
9260 2002-03-28  Herbert Voss  <voss@lyx.org>
9261
9262         * lyxlength.[Ch]: add inBP() to get the right PS-point
9263         units (BigPoint). With inPixels we have rounding errors
9264
9265 2002-04-11  Juergen Vigna  <jug@sad.it>
9266
9267         * text2.C (setCursorFromCoordinates): set iy to the right value.
9268         (setCursor): add check if row->previous exists!
9269
9270         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9271         an old float_type as this was the case in the old code!
9272
9273         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9274
9275         * BufferView2.C (showLockedInsetCursor): use iy
9276         (fitLockedInsetCursor): ditto
9277
9278         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9279         locked insets as there we have the right value now.
9280
9281         * lyxcursor.C: added iy_ variable and iy functions to set to the
9282         baseline of cursor-y of the locked inset.
9283
9284         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9285         (setCursor): fixed for insets which need a full row.
9286
9287         * text.C (rowLastPrintable): don't ignore the last space when before
9288         an inset which needs a full row.
9289         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9290         as last character of a row when before a inset which needs a full row.
9291
9292 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * version.C.in: update date
9295
9296         * text2.C (fullRebreak): try to always return true and see what
9297         happens...
9298
9299 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9300
9301         * MenuBackend.C (expand): use Floating::listName
9302
9303         * FloatList.C (FloatList): add listName argument to the built-in
9304         floats
9305
9306         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9307         text associated with the float.
9308
9309 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9312
9313 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9314
9315         * ShareContainer.h: add a couple of missing typenames.
9316
9317 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9318
9319         * lyxrc.C (getDescription): use _() correctly rather than N_().
9320
9321 2002-03-28  Herbert Voss  <voss@lyx.org>
9322
9323         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9324         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9325
9326 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9329         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9330
9331 2002-03-29  Juergen Vigna  <jug@sad.it>
9332
9333         * lyxfunc.C (dispatch): add a missing fitCursor call.
9334
9335         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9336         it was scrolled by a cursor move, so return the bool status.
9337
9338         * BufferView.C (fitCursor): return the bool flag also to the outside
9339         world as this is needed.
9340
9341         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9342
9343         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9344         call the edit() as it is not needed (and wrong) IMO.
9345         (workAreaButtonPress): set the screen_first variable before evt.
9346         unlock the inset as this may change screen_first and then we have
9347         a wrong y position for the click!
9348
9349 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * MenuBackend.C (expand): another translation that I missed
9352
9353 2002-03-28  Juergen Vigna  <jug@sad.it>
9354
9355         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9356
9357         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9358
9359 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9362
9363         * MenuBackend.C (expand): fix export/view/update when there is no
9364         document open.
9365
9366 2002-03-27  Herbert Voss  <voss@lyx.org>
9367
9368         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9369         and text%
9370
9371 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * bufferview_funcs.C (currentState): only show paragraph number
9374         for is DEVEL_VERSION is set.
9375
9376         * lyxfunc.C (dispatch): put warning in INFO channel
9377
9378         * MenuBackend.C (expand): translate the name of floats
9379
9380         * FloatList.C (FloatList): mark the float names for translation
9381
9382         * converter.C (convert): use LibScriptSearch
9383
9384 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * MenuBackend.C (defaults): fix default menu (we might as well get
9387         rid of it...)
9388
9389 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9392         directory.
9393
9394 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * lyxvc.C: reorder includes.
9397
9398 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9399
9400         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9401           properly
9402
9403 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9404
9405         * CutAndPaste.C: change layouts earlier on paste
9406           to avoid crashing when calling getFont()
9407
9408 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9409
9410         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9411         irritating #error.
9412
9413 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * WorkArea.C: remove 'Pending' debug message.
9416
9417         * most files: ws cleanup
9418
9419         * buffer.[Ch]: ws changes
9420
9421         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9422
9423 2002-03-21  Juergen Vigna  <jug@sad.it>
9424
9425         * tabular.C (SetMultiColumn): collapse also the contents of the
9426         cells and set the last border right. Added a Buffer const * param.
9427
9428 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9431         linking or not.
9432
9433 2002-03-19  Juergen Vigna  <jug@sad.it>
9434
9435         * text2.C (clearSelection): reset also xsel_cache.
9436
9437         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9438         where it needs to be called (John tells us to do so too :)
9439         (selectionLost): reset sel_cache.
9440
9441         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9442
9443 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * text2.C (setCursorIntern): put debuging code in INSETS channel
9446
9447 2002-03-19  André Pönitz <poenitz@gmx.net>
9448
9449         * lyxfunc.C: tiny whitespace change
9450
9451 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9452
9453         * ToolbarDefaults.C (init):
9454         * LyXAction.C (init):
9455         * commandtags.h:
9456         * BufferView_pimpl.C (Dispatch):
9457         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9458
9459 2002-03-19  Allan Rae  <rae@lyx.org>
9460
9461         * exporter.C (Export): removeAutoInsets before doing anything else.
9462         While I've just introduced a dependency on BufferView this really is
9463         the best place to clean the buffer otherwise you need to cleanup in
9464         a dozen places before calling export or cleanup in a dozen functions
9465         that export calls.
9466
9467         * converter.C (runLaTeX):
9468         (scanLog): Better handling of removeAutoInsets and screen updates.
9469
9470         * lyxfunc.C (dispatch): small whitespace changes
9471
9472 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * WorkArea.C (C_WorkAreaEvent): return a value.
9475         (event_cb): return 1 if we handled the event, 0 otherwise.
9476
9477         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9478
9479 2002-03-18  Juergen Vigna  <jug@sad.it>
9480
9481         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9482         (GetAdditionalWidth): ditto.
9483         (RightLine): ditto.
9484         (LeftLine): ditto.
9485
9486         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9487         inset if we're there actually (probably not used right now but this
9488         is the direction to go for unifying code).
9489         (paste): disable code to clear the selection.
9490
9491         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9492         inside an InsetText and move the check further up as it is in the
9493         wrong place.
9494
9495         * text2.C (pasteSelection): set a selection over the pasted text.
9496
9497 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9498
9499         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9500         and libgraphics to build on Cygwin.
9501
9502 2002-03-15  Juergen Vigna  <jug@sad.it>
9503
9504         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9505         inserting an Inset into the paragraph. I know this is not the best
9506         fix but we already use current_view in CutAndPaste so we will remove
9507         all of it's using at the same time.
9508
9509         * buffer.C (sgmlError): deactivated function till it is rewritten in
9510         the right mode, now it can create problems.
9511
9512         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9513         before accessing it.
9514
9515 2002-03-14  Juergen Vigna  <jug@sad.it>
9516
9517         * undo_funcs.C (textHandleUndo): do the right thing when updating
9518         the inset after the undo/redo.
9519
9520         * text2.C (setCursor): just some testcode for #44 not ready yet.
9521
9522         * undo_funcs.C (textHandleUndo): set the next() and previous()
9523         pointers of the paragraph to 0 before deleting otherwise we have
9524         problems with the Paragraph::[destructor].
9525
9526         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9527         on a paragraph insertion.
9528
9529 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9530
9531         * buffer.C (asciiParagraph): use += operator for char append to
9532         string.
9533
9534         * paragraph.C (getFontSettings): compare >= not just >
9535         (highestFontInRange): ditto
9536         (setFont): ditto
9537
9538 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9539
9540         * paragraph.C: change several algorithm to be more appripriate for
9541         the problem domain. This is lookip in FontList and in the InsetList.
9542
9543 2002-03-13  André Pönitz <poenitz@gmx.net>
9544
9545         * commandtags.h:
9546         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9547
9548 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * commandtags.h:
9551         * LyXAction.C:
9552         * lyxfunc.C:
9553         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9554
9555 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9556
9557         * Painter.C (display): anon helper function, adjust code for this
9558         change.
9559         (pixmap): remove function.
9560
9561         * Painter.h: remove private display variable.
9562
9563         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9564
9565 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9566
9567         * WorkArea.[Ch]: remove figinset_canvas cruft.
9568
9569 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * lyxtextclass.C (operator): add one item cache optimization.
9572
9573         * bufferlist.h: doxy changes
9574
9575         * bufferlist.C: ws changes
9576
9577         * DepTable.[Ch] (ext_exist): place const in the right spot.
9578
9579         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9580         call resizeInsets.
9581         (workAreaExpose): call resizeInsets when the with BufferView changes.
9582         (Dispatch): adjust for protectedBlank removal
9583         (specialChar): call updateInset if the insert went ok.
9584
9585         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9586         specialChar instead.
9587
9588         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9589
9590         * BufferView.h: doxy change
9591
9592         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9593
9594         * lyxtextclass.C (operator[]): remove non-const version
9595         (defaultLayout): remove non-const version
9596
9597 2002-03-12  Juergen Vigna  <jug@sad.it>
9598
9599         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9600         did resize the LyXText too.
9601
9602         * buffer.C (readLyXformat2): set layout information on newly allocated
9603         paragraphs.
9604
9605         * tabular.C (OldFormatRead): set layout information on the paragraph.
9606
9607 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9608
9609         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9610
9611 2002-03-11  Juergen Vigna  <jug@sad.it>
9612
9613         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9614         plainly wrong.
9615         (resizeCurrentBuffer): force also the insets to resize themselfes.
9616         (moveCursorUpdate): fixed up for InsetText.
9617
9618 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9619
9620         * commandtags.h:
9621         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9622         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9623         value of Dialogs::tooltipsEnabled().
9624         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9625
9626 2002-03-08  Juergen Vigna  <jug@sad.it>
9627
9628         * BufferView_pimpl.C (updateInset): update inset inside inset also
9629         if it isn't inside theLockingInset().
9630
9631 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9632
9633         * buffer.C (asciiParagraph): redo some of the word and line length
9634         handling.
9635         (getLists): look for Caption instead of caption.
9636
9637 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9638
9639         * buffer.C (Buffer): initialize niceFile to true
9640         (makeLaTeXFile):
9641         (makeLinuxDocFile):
9642         (makeDocBookFile): make sure niceFile is true on exit
9643
9644 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9645
9646         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9647
9648 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9649
9650         * LyXSendto.C: remove.
9651         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9652         * lyx_gui.C: remove now-redundant comment.
9653         * ColorHandler.h: remove forward declaration of class WorkArea.
9654         * lyxfunc.C: remove #include "WorkArea.h".
9655
9656 2002-03-07  Juergen Vigna  <jug@sad.it>
9657
9658         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9659         got moved away with the DEPM and also set the inset_owner always
9660         right which before could have been omitted.
9661
9662 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9665         wanted layout is not found.
9666
9667 2002-03-07  Juergen Vigna  <jug@sad.it>
9668
9669         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9670
9671 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9672
9673         * paragraph.C (breakParagraph): use default layout not layout of
9674         prev paragraph.
9675         (Paragraph): clear ParagraphParameters.
9676
9677 2002-03-06  Juergen Vigna  <jug@sad.it>
9678
9679         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9680         otherwise it would not be a valid lenght. Fixed a special case in
9681         the minipage compatibility read where we end the document with a
9682         minipage.
9683
9684         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9685         was set as it could be 0 for InsetTexts first entry.
9686
9687 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * paragraph.C (writeFile): if layout is empty write out
9690         defaultLayoutName().
9691
9692         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9693         file without named layout we set layout to defaultLayoutName().
9694
9695 2002-03-06  Juergen Vigna  <jug@sad.it>
9696
9697         * CutAndPaste.C (copySelection): set layout for new paragraph.
9698
9699         * text.C (prepareToPrint): leave ERT inset left aligned
9700         (leftMargin): don't indent paragraphs inside ERT insets
9701
9702 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * paragraph.C (breakParagraph): dont call clear do the work manually
9705
9706         * paragraph.[Ch] (clear): remove function
9707
9708 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9709
9710         * paragraph.C (Paragraph): dont call clear, the work has already
9711         been done.
9712
9713         * lyxtextclass.C (operator): assert if n is empty
9714
9715         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9716         work manually instead.
9717
9718 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * BufferView_pimpl.C: protect selectionLost against text == 0
9721
9722 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9723
9724         * text.C (breakParagraph): fix a setting layout to '0' problem.
9725
9726 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9727
9728         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9729         final location of file, for the included files, and graphics.
9730
9731 2002-03-05  Juergen Vigna  <jug@sad.it>
9732
9733         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9734
9735 2002-03-04  Juergen Vigna  <jug@sad.it>
9736
9737         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9738
9739         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9740         last column of multicolumn cells.
9741         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9742
9743 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9744
9745         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9746         file if it doesn't go to a temporary file.
9747
9748         * buffer.C (sgmlOpenTag):
9749         (sgmlCloseTag):  remove extra newline insertion.
9750
9751 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9752
9753         * text.C (getRowNearY): comment out debug msg
9754
9755 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9756
9757         * text2.C: first -> first_y
9758
9759         * text.C (getRowNearY): add some attemts at a possible
9760         optimization, not working.
9761
9762         * tabular.[Ch]: add BufferParams to several function so that newly
9763         created paragraph can be initialized to he default layotu for the
9764         buffers textclass.
9765
9766         * tabular-old.C (ReadOld): add buf->params to call of Init
9767
9768         * screen.C: rename text->first to text->first_y
9769
9770         * paragraph.C (breakParagraph): always set layout in the broken
9771         paragraph
9772
9773         * lyxtextclass.C (Read): remove lowercase
9774         (hasLayout): ditto
9775         (operator): ditto
9776         (delete_layout): ditto
9777
9778         * lyxtext.h: rename first -> first_y
9779
9780         * lyxlayout.C (Read): remove lowercase
9781         (name): ditto
9782         (setName): ditto
9783         (obsoleted_by): ditto
9784
9785         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9786
9787         * buffer.C (insertErtContents): add params are to InsetERT
9788         (parseSingleLyXformat2Token): add code to check if a paragraphs
9789         layout really exist.
9790         (parseSingleLyXformat2Token): add params to several inset
9791         constructors
9792         (asciiParagraph): remove lowercase, do the layout comparisons with
9793         no_case
9794
9795         * BufferView_pimpl.C (cursorNext): first -> first_y
9796         (resizeCurrentBuffer): first -> first_y
9797         (updateScrollbar): first -> first_y
9798         (scrollCB): first -> first_y
9799         (workAreaMotionNotify): first -> first_y
9800         (workAreaButtonPress): first -> first_y
9801         (checkInsetHit): first -> first_y
9802         (cursorPrevious): first -> first_y
9803         (cursorNext): first -> first_y
9804         (Dispatch): add buffer_->params to severl inset contructors
9805
9806 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9807
9808         * lyxlayout.C (Read): remove some debug info that I forgot.
9809
9810         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9811         clean up the code slightly.
9812         (makeLinuxDocFile): ditto
9813         (makeDocBookFile): ditto
9814
9815         * text2.C: layout as string
9816
9817         * text.C: layout as string
9818
9819         * paragraph_pimpl.C: layout as string
9820
9821         * paragraph.[Ch]: layout as string
9822
9823         * lyxtextclasslist.[Ch]: layout as string
9824
9825         * lyxtextclass.[Ch]: layout as string
9826
9827         * lyxtext.h: layout as string
9828
9829         * lyxlayout.[Ch]: layout as string
9830
9831         * lyx_cb.C: layout as string
9832
9833         * bufferview_funcs.C: layout as string
9834
9835         * bufferparams.C: layout as string
9836
9837         * buffer.C: layout as string
9838
9839         * LyXView.[Ch]: layout as string
9840
9841         * LaTeXFeatures.[Ch]: layout as string
9842
9843         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9844
9845         * BufferView_pimpl.C: change current_layout to string, remove
9846         lyx::layout_type.
9847         (Dispatch):
9848         (smartQuote):
9849         (insertInset):
9850         (workAreaButtonRelease): layout as string
9851
9852         * BufferView2.C (unlockInset): adjust
9853
9854         * vspace.C (asLatexCommand): use an explict temp variable.
9855
9856 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * Makefile.am: use FRONTEND_*
9859
9860 2002-03-01  Juergen Vigna  <jug@sad.it>
9861
9862         * tabular.C (SetWidthOfMulticolCell): changed to something better
9863         I hope but still work in progress.
9864         (recalculateMulticolumnsOfColumn): renamed function from
9865         recalculateMulticolCells as it is more appropriate now.
9866         (SetWidthOfCell): calculate multicols better.
9867
9868 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9871
9872         * lyxfunc.C (processKeySym): print sequence also if it is
9873         `deleted' (complete)
9874
9875         * kbsequence.C (print): print sequence even if it is deleted
9876         (complete would be a better word, actually).
9877
9878         * lyxfunc.C (dispatch): print complete options after a prefix key
9879
9880         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9881
9882 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9883
9884         * text2.C (setCharFont): eliminate setCharFont code duplication.
9885
9886 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9889         LFUN_TABULAR_FEATURE (bug #177)
9890
9891 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * Makefile.am: remove figure.h
9894
9895 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9896
9897         * Bufferview_pimpl.C:
9898         * CutAndPasteC:
9899         * LaTeX.C:
9900         * LyXSendto.C:
9901         * buffer.C:
9902         * bufferlist.C:
9903         * converter.C:
9904         * language.C:
9905         * lyxfunc.C:
9906         * lyxvc.C:
9907         * paragraph.C:
9908         * text.C:
9909         * text2.C: remove #include "lyx_gui_misc.h".
9910
9911         * LaTeX.C: added #include <cstdio>
9912
9913 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9916         that the paragraph following this one can have.
9917
9918         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9919
9920         * vspace.C (asLatexCommand): fix bogus gcc warning
9921
9922         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9923
9924 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9925
9926         * text2.C (setLayout): get rid of redundant code
9927
9928 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9929
9930         * text2.C (incDepth): make sure depth cannot be increased beyond
9931         reasonable values.
9932
9933 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9934
9935         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9936         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9937
9938         * PainterBase.h (image):
9939         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9940         a LyXImage const *.
9941
9942 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * BufferView.C:
9945         * BufferView.h:
9946         * BufferView_pimpl.C:
9947         * BufferView_pimpl.h:
9948         * LaTeXFeatures.C:
9949         * LyXAction.C:
9950         * LyXView.C:
9951         * Makefile.am:
9952         * UpdateList.h:
9953         * UpdateList.C:
9954         * buffer.C:
9955         * figure.h:
9956         * figureForm.C:
9957         * figureForm.h:
9958         * figure_form.C:
9959         * figure_form.h:
9960         * lyx_cb.C:
9961         * lyx_gui.C:
9962         * lyx_gui_misc.C:
9963         * lyxfunc.C:
9964         * sp_base.h:
9965         * sp_ispell.h:
9966         * sp_pspell.h:
9967         * sp_spell.C: remove fig inset, and the crap house of
9968           cards that follows it
9969
9970 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * Makefile.am:
9973         * lyxserver.C:
9974         * os2_defines.h:
9975         * os2_errortable.h:
9976         * nt_defines.h: move .h into support/
9977
9978         * vms_defines.h: remove
9979
9980         * WorkArea.C: add space in debug output
9981
9982         * text2.C:
9983         * paragraph.C:
9984         * buffer.C: add WITH_WARNINGS
9985
9986         * vc-backend.h:
9987         * vc-backend.C:
9988         * bufferlist.C: s/retrive/retrieve/, add docs
9989
9990         * vspace.h:
9991         * vspace.C:
9992         * kbmap.h:
9993         * lyxlength.h:
9994         * lyxgluelength.h:
9995         * length_common.h:
9996         * chset.h:
9997         * chset.C: add docs
9998
9999         * lyxgui.C: add ID to X error handler
10000
10001         * lyxtestclass.c: fix typo
10002
10003 2002-02-26  Juergen Vigna  <jug@sad.it>
10004
10005         * tabular_funcs.C (write_attribute): changed so that some default
10006         attributes are not written at all.
10007         (getTokenValue): set default values before trying to read the
10008         value so we have the return value always set as default if we don't
10009         find the token we search for.
10010
10011         * tabular.C (Write): write bools as bools not as strings!
10012
10013 2002-02-22  Juergen Vigna  <jug@sad.it>
10014
10015         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10016         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10017
10018         * text.C (leftMargin): don't add an indent for paragraphs inside
10019         tabular cells (fix #208).
10020
10021 2002-02-21  José Matos  <jamatos@fep.up.pt>
10022
10023         * tabular.C (docBook): fixed support for long tables.
10024
10025 2002-02-20  Juergen Vigna  <jug@sad.it>
10026
10027         * text2.C (getFont): get the drawing font of the Inset if this
10028         paragraph is inside an inset (only important for InsetERT for now).
10029
10030         * buffer.C (insertErtContents): use new lanugage params in ERT
10031         constructor.
10032
10033         * CutAndPaste.C: commenting out seemingly uneeded code.
10034
10035 2002-02-19  Allan Rae  <rae@lyx.org>
10036
10037         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10038         Iterators might be simple to use but they also get invalidated.
10039         (removeAutoInsets): renamed saved cursor tracking variables and added
10040         some comments to clarify what everything does.
10041
10042 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10043
10044         * Chktex.C:
10045         * LaTeX.C:
10046         * LyXSendto.C:
10047         * converter.C:
10048         * lyx_cb.C:
10049         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10050         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10051
10052         * lyxfunc.C:
10053         * vc-backend.h: remove #include "support/syscall.h"
10054
10055         * LaTeX.C:
10056         * LyXSendto.C:
10057         * converter.C: rearrange #includes in Lars' approved fashion.
10058
10059         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10060         forward declare class Timeout in the header file.
10061
10062         * XFormsView.C: changes due to the above.
10063
10064         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10065         similar to LyXView.
10066
10067         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10068         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10069
10070 2002-02-18  José Matos  <jamatos@fep.up.pt>
10071
10072         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10073         insets contents.
10074
10075 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10076
10077         * a lot of small ws changes
10078         * add a lot of using std::XXX
10079         * use std construcs some places where approp.
10080         * use some exisint stuff from lyxfunctional where approp.
10081         * Make file changes to use partial linking (lets test this now...)
10082
10083 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10084
10085         * Chktex.C:
10086         * buffer.C:
10087         remove #include "support/syscontr.h" as it's redundant. Always has been.
10088
10089         * Chktex.C:
10090         * LaTeX.C:
10091         * LyXSendto.C:
10092         * converter.C:
10093         * lyx_cb.C:
10094         * vc-backend.C:
10095         change Systemcalls::System to Systemcalls::Wait and
10096         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10097         No change of functionality, just reflects the stripped down Systemcalls
10098         class.
10099
10100 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10101
10102         * debug.[Ch]: add a GRAPHICS type to the enum.
10103
10104 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10107
10108         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10109         there is an inset.
10110
10111 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10114         match the changes below.
10115
10116         * text2.C (toggleInset): if there is not editable inset at cursor
10117         position, try to see if cursor is _inside_ a collapsable inset
10118         and close it.
10119
10120 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10121
10122         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10123         document menu has a nice checkbox
10124
10125 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10126
10127         * lyxlength.C (asLatexString): change PW to output as percent of
10128         \textwidth.
10129
10130         * lengthcommon.C: change '%' to 't%'
10131
10132         * lyxfunc.C (dispatch): a few comments from Martin
10133
10134 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * WorkArea.h:
10137         * WorkArea.C:
10138         * BufferView_pimpl.h:
10139         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10140           the X selection.
10141
10142 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10143
10144         * vspace.C (inPixels): fix compiler warning
10145
10146 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * lyxfunc.C (getStatus): fix status message for disabled commands.
10149
10150 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * BufferView_pimpl.C: fix crash on close buffer
10153         during selection (#227)
10154
10155 2002-01-27  Herbert Voss  <voss@lyx.org>
10156
10157         * buffer.C: link old Figure to new graphic inset
10158
10159 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10160
10161         * FontLoader.C (getFontinfo): Change the latex font names in order
10162         to match the names of type1inst.
10163
10164 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10165
10166         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10167
10168         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10169         (extchanged): ditto
10170         (ext_exist): ditto
10171         (remove_files_with_extension): ditto
10172         (remove_file): ditto
10173         (write): ditto
10174
10175         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10176         document is smaller than the work area height. Do not initialize
10177         static variables to 0.
10178
10179 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10182
10183         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10184         LFUN_LAYOUT_PARAGRAPHS.
10185
10186         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10187         tabular. It is possible to provide a possible cell, which will
10188         typically be the actcell from the corresponding insettabular
10189
10190         * lyxfunc.C (getStatus): small cleanup; disable
10191         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10192         true
10193
10194 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10197
10198         * paragraph.C (startTeXParParams):
10199         (endTeXParParams): new methods. The LaTeX code to
10200         start/end paragraph formatting
10201         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10202         empty (fixes bug #200)
10203
10204         * vspace.C (inPixels): adapt to the change below
10205         (inPixels): [later] more cleanups (remove unused variables)
10206
10207         * lyxlength.C (inPixels): change to use a width and a height as
10208         parameter.
10209
10210 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10213         Replaced with \paperwidth
10214
10215         * DepTable.C (insert): add std:: qualifier
10216
10217 2002-01-18  Allan Rae  <rae@lyx.org>
10218
10219         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10220         updated also?
10221
10222         * text.C (drawInset): Turned out I didn't know enough about how
10223         rebreaking worked.  This fixes most of the redraw problems.  I see
10224         an occasional cursor trail when a line is broken now and the cursor
10225         placement can seem out by a few pixels also after a rebreak.
10226
10227 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * buffer.C (parseSingleLyXformat2Token): update because minipage
10230         width is now a LyXLength
10231
10232         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10233
10234         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10235         math insets
10236
10237 2002-01-17  Juergen Vigna  <jug@sad.it>
10238
10239         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10240
10241         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10242         is set correctly and the inset is updated correctly.
10243
10244 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10247         the beginning of the loop.
10248
10249 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * lyxrc.C: improve help for use_scalable_fonts
10252
10253 2002-01-17  Allan Rae  <rae@lyx.org>
10254
10255         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10256
10257 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10258
10259         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10260         make sure to set their inset_owner to the right value (bug #171)
10261
10262 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10263
10264         * DepTable.h
10265         * DepTable.C: Implement mtime checking to reduce time spent doing
10266         CRCs.
10267
10268 2002-01-16  Juergen Vigna  <jug@sad.it>
10269
10270         * tabular.C (GetAdditionalHeight): one of error fixed.
10271
10272         * lyxrc.C (output): small fix in writing use_pspell.
10273
10274 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10275
10276         * sp_base.h: #include LString.h
10277
10278 2002-01-16  Allan Rae  <rae@lyx.org>
10279
10280         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10281         Can someone check this please?
10282
10283         * text.C (drawInset): It was possible that p.row would be removed by
10284         breakAgainOneRow upsetting a few other settings.  There may be another
10285         small tweak possible by setting need_break_row = 0 when p.row has been
10286         removed but I don't know enough about the logic here.
10287
10288 2002-01-15  Allan Rae  <rae@lyx.org>
10289
10290         * text.C (insertChar): removed conditional truism.
10291
10292         * BufferView2.C (removeAutoInsets): More tweaks.
10293         cur_par_prev could be a stray pointer.  Check for trailing empty line
10294         in case last line was cur_par and only had an error inset on it.
10295
10296 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10299         absolute
10300
10301         * vc-backend.C (most methods):
10302         * exporter.C (Export):
10303         * converter.C (convert):
10304         (runLaTeX):
10305         * LyXSendto.C (SendtoApplyCB):
10306         * lyxfunc.C (dispatch):
10307         (menuNew):
10308         (open):
10309         (doImport):
10310         * lyx_cb.C (AutoSave):
10311         (InsertAsciiFile):
10312         * BufferView_pimpl.C (MenuInsertLyXFile):
10313         * buffer.C (runChktex): use Buffer::filePath().
10314
10315         * buffer.h: rename filename to filename_; rename filepath to
10316         filepath_ and make it private
10317         (filePath): new method
10318
10319         * buffer.C (writeFile): use fileName()
10320         (getLatexName):
10321
10322         * lyx_main.C (init): fix starting  of LyX when the binary is a
10323         link from so,ewhere else.
10324
10325         * minibuffer.C: include <cctype> for isprint
10326
10327 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10328
10329         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10330         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10331         name clash with InsetCollapsable's width function.
10332
10333 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10334
10335         * lastfiles.C: include <iterator>
10336
10337 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10340         std::count.
10341
10342         * buffer.C (makeLaTeXFile): ditto.
10343         Also make loop operation more transparent.
10344
10345 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10346
10347         * ToolbarDefaults.C: remove trailing comma closing namespace.
10348
10349         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10350
10351         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10352         as in WorkArea.
10353
10354         * trans.C (Load): comment out unused variable, allowed.
10355
10356 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10357
10358         * minibuffer.[Ch] (append_char): new method to recieve input from the
10359         drop-down completion browser. If a key was pressed, then recieve this
10360         char and append it to the existing string.
10361         (peek_event): modify the positioning data passed to the completion
10362         browser so that it can be placed above the minibuffer rather than below.
10363 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * LyXAction.C (init): alloe error-next for readonly documents.
10366
10367         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10368         count.
10369
10370 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * bufferlist.C (readFile): create the buffer _after_ checking that
10373         the file exists.
10374
10375         * lyxfunc.C (verboseDispatch): fix handling of arguments
10376
10377         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10378
10379         * lyxrc.C: use string::erase() instead of initializing to "".
10380
10381
10382 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * BufferView_pimpl.h:
10385         * BufferView_pimpl.C:
10386         * WorkArea.h:
10387         * WorkArea.C:
10388         * text2.C: tell X when we have made a selection for copying
10389
10390 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * BufferView_pimpl.C (MenuInsertLyXFile):
10393         * lyxfunc.C (menuNew):
10394         (open):
10395         (doImport): add shortcuts to directory buttons
10396
10397         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10398         open a float)
10399
10400         * lyxfunc.C (setStatusMessage):
10401         (getStatusMessage): new methods
10402         (getStatus):use setStatusMessage instead of setErrorMessage
10403         (dispatch): when function is disabled, set error message here
10404         [instead of in getStatus previously]
10405
10406         * BufferView_pimpl.C (workAreaButtonRelease): update
10407         toolbar/menubar here too.
10408
10409 2002-01-13  Allan Rae  <rae@lyx.org>
10410
10411         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10412         Now seems indestructible.  Remaining task is to audit all other
10413         code affected by deleteEmptyParagraphMechanism.  One small quirk
10414         left is that an empty document with an error in the preamble can
10415         be made to report an error but no error box appears.  I don't know
10416         where it goes.
10417         (removeAutoInsets): Improved comments.
10418
10419 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * Thesaurus.h:
10422         * Thesaurus.C: update for Aiksaurus 0.14
10423
10424 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10425
10426         * text2.C (firstParagraph): removed member function, all uses
10427         replaces with ownerParagraph
10428         (redoParagraphs): here
10429         (updateInset): here
10430         (toggleAppendix): here
10431         * BufferView2.C (insertErrors): here
10432         (setCursorFromRow): here
10433
10434 2002-01-13  Allan Rae  <rae@lyx.org>
10435
10436         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10437         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10438         There is still a way to segfault this although you may have to do this
10439         multiple times: Have an InsetERT with an unknown command in it.
10440         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10441         <down-arrow>, <Enter> again, View->DVI, BANG!
10442
10443         * text2.C (setCursor):
10444         (deleteEmptyParagraphMechanism):
10445         * lyxtext.h (setCursor):
10446         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10447         Making use of the return value may help fix other bugs.
10448
10449 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10450
10451         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10452
10453         * LyXView.C (updateMenubar): call MenuBar::update here
10454         (updateToolbar): but not here
10455         (showState): do not update toolbar/menubar
10456
10457         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10458         should need to care about that.
10459
10460         * lyxfunc.C (verboseDispatch): simplify a bit
10461         (getStatus): have a version which takes a pseudoaction, and
10462         another which requires a (kb_action,string).
10463
10464         * LyXAction.C (retrieveActionArg): make it work also when action
10465         is not a pseudo-action.
10466         (getActionName): simplify a bit
10467         (helpText):
10468
10469 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * lyxfunc.C (verboseDispatch): new families of methods with
10472         several ways to specify a command and a bool to indicate whether
10473         the command name and shortcut should be displayed in minibuffer
10474         (eventually, we could extend that to a finer bitmask like
10475         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10476         (dispatch): the pristine dispatch command which just, well,
10477         dispatchs! Note it still sets its result to minibuffer; I'm not
10478         sure we want that.
10479
10480         * lyxfunc.h: remove setHintMessage
10481
10482         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10483
10484 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10485
10486         * BufferView_pimpl.C (specialChar): delete new inset if we have
10487         not been able to insert it.
10488
10489         * kbmap.C: revert to using int instead of kb_action, since all we
10490         are dealing with is pseudo-actions.
10491
10492         * LyXAction.C (searchActionArg): change to return int instead of
10493         kb_action, since the result is a pseudoaction.
10494
10495 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10496
10497         * buffer.C (insertErtContents): Fix (partially) the font bug.
10498
10499 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10500
10501         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10502         as the other one is broken on my machine!
10503
10504 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10505
10506         * commandtags.h:
10507         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10508
10509 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10510
10511         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10512         reflect their actual use. Provide compatibility code for older lyxrc
10513         files.
10514
10515         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10516         FL_NORMAL_STYLE.
10517         change names of popup font variables in line with the changes to lyxrc.C
10518
10519 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10520
10521         * buffer.C (asciiParagraph): avoid outputing a word twice after
10522         an inset.
10523
10524         * lyxrc.C (getDescription): document that document_path and
10525         template_path can be empty.
10526
10527 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * LaTeXFeatures.C (getMacros):
10530         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10531
10532         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10533
10534         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10535         getPackages.
10536         (getPackages): rename feature "floats" to "float". Use an array to
10537         iterate over 'simple' features (i.e. just a \usepackage). Add
10538         handling of "amsmath" (renamed from "amsstyle").
10539
10540 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10541
10542         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10543         features list.
10544
10545 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10546
10547         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10548         FuncStaus::FuncStatus & FuncStaus::some_method().
10549
10550 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10551
10552         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10553         of the func_satus stuff. Edited and massaged in various ways by
10554         JMarc.
10555
10556         * lyxfunc.C (getStatus): use FuncStatus
10557
10558 2002-01-08  Juergen Vigna  <jug@sad.it>
10559
10560         * text.C (nextBreakPoint): use function Inset::isChar().
10561
10562         * paragraph.C (TeXOnePar): use function
10563         Inset::forceDefaultParagraphs.
10564
10565         * buffer.C (latexParagraphs): use function
10566         Inset::forceDefaultParagraphs.
10567
10568 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10569
10570         * lyx_gui.C (init): set the style of the menu popups to
10571         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10572
10573 2002-01-07  Juergen Vigna  <jug@sad.it>
10574
10575         * text.C (setHeightOfRow): small fix
10576         (prepareToPrint): don't look at alignment if we don't have the place
10577         for doing it.
10578
10579 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10580
10581         * box.C: New file. Move the Box methods and functions out of box.h,
10582         following Lars' suggestion.
10583
10584 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10585
10586         * box.h: #include "support/LOstream.h", needed for inlined function.
10587
10588         * lyxtextclass.C:
10589         * lyxtextclasslist.C: added some using std declarations.
10590
10591 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * box.h: make signed dimensions to allow insets wider than
10594           the screen (bug #162)
10595
10596         * BufferView_pimpl.C: add some insetHit debug
10597
10598 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * vc-backend.C: add FIXME
10601
10602 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10603
10604         * lyxfunc.C (getStatus): enable code for showing math font status
10605         in toolbar/menu.
10606
10607 2002-01-07  Juergen Vigna  <jug@sad.it>
10608
10609         * text.C (nextBreakPoint): removed debug output not needed anymore.
10610
10611 2002-01-06  Juergen Vigna  <jug@sad.it>
10612
10613         * text.C (nextBreakPoint): fixed up this function we had this bug
10614         since ever but now hopefully we break row better.
10615         (insertChar): we have to check if an inset is the next char as it
10616         could now happen that a large inset is causing a break.
10617
10618 2002-01-05  Juergen Vigna  <jug@sad.it>
10619
10620         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10621         if it doesn't like to be drawed.
10622
10623 2002-01-04  Juergen Vigna  <jug@sad.it>
10624
10625         * BufferView2.C (lockInset): forgot to set a cursor.
10626
10627         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10628
10629 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10630
10631         * FormMathsPanel.C:
10632         * FormMathsPanel.h
10633         * MathsSymbols.C:
10634         * form_maths_panel.C:
10635         * form_maths_panel.h:
10636         * form_maths_panel.fd: implemented sub- and super- buttons in math
10637         panel.
10638
10639         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10640         (or ^ space) to be used as in TeX (req'd by André).
10641
10642         * lyxfunc.C: Allow ^ and _ again to be used both as
10643         super/subscript (mathed) and as themselves (in text).
10644
10645 2002-01-03  Allan Rae  <rae@lyx.org>
10646
10647         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10648         "LyX" or the filename of the current buffer if it has one.  This is a
10649         modified form of John Levon's patch.
10650
10651         * XFormsView.C (setWindowTitle): also set icon title.
10652
10653         * LyXView.h (setWindowTitle): signature changed.
10654         * XFormsView.h (setWindowTitle): ditto.
10655
10656 2002-01-02  Juergen Vigna  <jug@sad.it>
10657
10658         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10659
10660 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * screen.C (topCursorVisible): introduce a temp var for
10663         text->cursor.row(), handle the case where this row is null. (kindo
10664         hachish)
10665
10666         * text2.C (setCursor): add a couple of asserts.
10667
10668         * paragraph.h (inset_iterator): add -> operator
10669
10670         * paragraph.[Ch] (autoDeleteInsets): remove member function
10671
10672         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10673         cursor pos correctly and handle inset deletion by itself.
10674         (insertErrors): move iterator declaration out of for expression
10675
10676         * lyxtextclass.C: add <algorithm>
10677
10678         * Makefile.am: added the new files to sources, removed layout.C
10679
10680         * layout.C: removed file
10681
10682         * layout.h: remove LYX_DUMMY_LAYOUT
10683
10684         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10685         layout.
10686
10687         * lyxlayout.[Ch]:
10688         * lyxtextclass.[Ch]:
10689         * lyxtextclasslist.[Ch]: new files
10690
10691         * include order changes to a lot of files, also changes because of
10692         the six new files.
10693
10694 2001-12-27  Juergen Vigna  <jug@sad.it>
10695
10696         * buffer.C (asciiParagraph): more fixes.
10697
10698         * tabular.C (ascii): make ascii export support export of only the
10699         data separated by a column-delimiter.
10700         (ascii): better support for ascii export.
10701
10702         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10703
10704 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10705
10706         * tabular_funcs.C: use a "using std::getline" instead of the
10707         previous fix from Angus (necessary for cxx + lyxstring)
10708
10709 2001-12-24  Juergen Vigna  <jug@sad.it>
10710
10711         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10712
10713         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10714         problems. First check a minipage also if we have some ert-contents
10715         (not only on par->size(), second set the right depth of the paragraph
10716         on the relink to the root-paragraph-list!
10717
10718         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10719         which then did not anymore update the main paragraphs on undo/redo!
10720
10721 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10724         code. Support all font-changing funcs (even those which are not in
10725         menu currently). Support for reporting font settings in
10726         mathed (disabled until Andre provides a function on mathed's side).
10727
10728         * func_status.h (toggle): small helper function to set toggle
10729         state on a flag.
10730
10731 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * tabular_funcs.C: getline -> std::getline
10734
10735 2001-12-21  Juergen Vigna  <jug@sad.it>
10736
10737         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10738         accessed and could be 0 (I couldn't generate this but it seems
10739         Michael could!).
10740
10741 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10744         * tabular_funcs.h: here and include iosfwd
10745
10746 2001-12-20  Juergen Vigna  <jug@sad.it>
10747
10748         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10749         inside inset but undo_par was.
10750
10751 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * Thesaurus.C: always include <config.h> in sources.
10754
10755         * Painter.h:
10756         * lyxlookup.h:
10757         * box.h: do not include <config.h> in header files
10758
10759         * text.C (paintLastRow): remove unused variable
10760
10761         * text.C (transformChar):
10762         (insertChar):
10763         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10764
10765         * Painter.C (text):
10766         * font.C (width): rewrite to use uppercase() instead of
10767         islower/toupper.
10768
10769         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10770
10771 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * lyxfind.C: clean up of find failure position change
10774
10775 2001-12-20  Juergen Vigna  <jug@sad.it>
10776
10777         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10778
10779         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10780         (TeXRow): added to LaTeX a single tabular row.
10781         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10782         (Latex): simplified and finally good LT-h/f support.
10783         (various_functions): just small adaptions for LT-h/f support.
10784
10785         * tabular_funcs.[hC]: added and moved here all not classfunctions
10786         of LyXTabular.
10787
10788 2001-12-19  Juergen Vigna  <jug@sad.it>
10789
10790         * tabular.[Ch]: better support for longtabular options (not finished
10791         yet!)
10792
10793 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10794
10795         * text.C (paintLastRow): use the label font instead of the font of
10796         the last character to compute the size of *_BOX. This makes more
10797         sense and avoids a crash with empty paragraphs.
10798         Use Painter::rectangle to draw EMPTY_BOX.
10799
10800 2001-12-19  Juergen Vigna  <jug@sad.it>
10801
10802         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10803         the paragraphs if the replaced paragraph is not the first one!
10804         Tried to delete not used paragraphs but does not work yet so for
10805         now it's inside #ifdef's and by default off!
10806
10807 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10808
10809         * MenuBackend.C: include "lyx_main.h" instead of declaring
10810         lastfiles (actually was declared as LastFiles* instead of a
10811         scoped_ptr).
10812
10813 2001-12-17  Juergen Vigna  <jug@sad.it>
10814
10815         * tabular.C (AppendColumn): applied John's fix
10816
10817 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * BufferView.h:
10820         * BufferView.C:
10821         * BufferView_pimpl.h:
10822         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10823
10824         * Makefile.am:
10825         * box.h: new start of class for above
10826
10827         * lyxfunc.C: ignore space-only minibuffer dispatches.
10828           Show the command name when it doesn't exist
10829
10830         * minibuffer.C: don't add empty lines to the history
10831
10832         * minibuffer.C: add a space on dropdown completion
10833
10834 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * text.C: fix line above/below drawing in insets
10837
10838 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * lyxlength.C (LyXLength): Initialize private variables.
10841
10842 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10843
10844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10845         when inserting error insets.
10846
10847 2001-12-13  Juergen Vigna  <jug@sad.it>
10848
10849         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10850         actually sometimes the before-paragraph.
10851         (setUndo): don't clear the redostack if we're not actually undoing!
10852
10853 2001-12-06  Juergen Vigna  <jug@sad.it>
10854
10855         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10856         and fixed redoing of main paragraph, so we can use it now ;)
10857
10858         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10859
10860 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10863         Juergen's request
10864
10865 2001-12-13  André Pönitz <poenitz@gmx.net>
10866
10867         * undostack.[Ch]:
10868         * undo_func.C: minor cleanup
10869
10870 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10873         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10874         font in urw-fonts package which is marked as -urw-fontspecific and
10875         does not work (incidentally, changing the encoding in the
10876         fonts.dir of this package to -adobe-fontspecific fixes the
10877         problem).
10878
10879         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10880         is a crash when undoing first paragraph (Juergen, please take a
10881         look). THis does not mean the undo fix is wrong, just that it
10882         uncovers problems.
10883
10884         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10885         the (Paragraph*) version when needed instead of duplicating the
10886         code.
10887
10888         * text.C (workWidth): use Inset::parOwner to find out where the
10889         inset has been inserted. This is a huge performance gain for large
10890         documents with lots of insets. If Inset::parOwner is not set, fall
10891         back on the brute force method
10892
10893         * paragraph_pimpl.C (insertInset):
10894         * paragraph.C (Paragraph):
10895         (cutIntoMinibuffer): set parOwner of insets when
10896         inserting/removing them
10897
10898         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10899
10900 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10901
10902         * commandtags.h:
10903         * LyXAction.C:
10904         * lyx_main.C:
10905         * lyxfunc.C:
10906         * mathed/formulabase.C:
10907         * mathed/math_cursor.[Ch]:
10908         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10909
10910
10911 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10912
10913         * lyxlength.[Ch] (operator!=): new function
10914
10915 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * text.C (workWidth): use Inset::parOwner to find out where the
10918         inset has been inserted. This is a huge performance gain for large
10919         documents with lots of insets. If Inset::parOwner is not set, fall
10920         back on the brute force method
10921
10922         * paragraph_pimpl.C (insertInset):
10923         * paragraph.C (Paragraph):
10924         (cutIntoMinibuffer): set parOwner of insets when
10925         inserting/removing them
10926
10927         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10928
10929 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * tabular-old.C (getTokenValue):
10932         * tabular.C (getTokenValue):
10933         (write_attribute): new versions for LyXLength
10934         (everywhere): adjust the use of widths
10935
10936         * tabular.h: change the type of widths from string to LyXLength
10937
10938 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10939
10940         * paragraph.C: fixed missing line number count when exporting
10941         Environments to LaTeX file
10942
10943         * buffer.C: added informational message for checking line numbers.
10944
10945 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10946
10947         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10948         paragraph, do the 'double space' part, but not the 'empty
10949         paragraph' one.
10950
10951         * text.C (workWidth): small optimization
10952         (getLengthMarkerHeight): use minimal size for negative lengths.
10953
10954 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10955
10956         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10957
10958         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10959
10960 2001-12-11  André Pönitz <poenitz@gmx.net>
10961
10962         * FontLoader.C:
10963         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10964
10965 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * text2.C: keep selection on a setFont()
10968
10969 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * lyx_cb.C: another bv->text misuse, from insert label
10972
10973 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * kbsequence.h:
10976         * kbsequence.C: re-instate nmodifier mask
10977
10978 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * lyx_main.h: make lyxGUI private.
10981
10982 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * lyxfind.C: place the cursor correctly on failed search
10985
10986 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10987
10988         * text.C (getLengthMarkerHeight): for small heights, the arrows
10989         are not always on top/bottom of the text
10990         (drawLengthMarker): smaller arrows; take the left margin in
10991         account; draw also vfills.
10992         (paintFirstRow):
10993         (paintLastRow): remove special code for vfill and standard spaces,
10994         since everything is handled in drawLengthMarker now.
10995
10996 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * buffer.C (insertErtContents): try to handle font and language
10999         interaction a bit better.g
11000
11001         * ColorHandler.C (updateColor): change the hash to cover the whole
11002         LColor enum, ws cleanup
11003         (getGCLinepars): ditto
11004         (getGCLinepars): only lookup in the linecache once.
11005
11006 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * iterators.C (operator++): Make the iterator more robust
11009
11010         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11011         (John's patch)
11012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11013
11014 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * lyxtext.h:
11017         * text.C: better added space drawing
11018
11019 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * LyXView.C:
11022         * BufferView2.C: fix layout combo update on inset unlock
11023
11024 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * Makefile.am: don't compile unused files
11027
11028 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * lyxfunc.C:
11031         * commandtags.h:
11032         * LyXAction.C: remove old LFUN_LAYOUTNO
11033
11034 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * paragraph_pimpl.h:
11037         * paragraph_pimpl.C: isTextAt() doesn't need font param
11038
11039 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * lyxlex.h:
11042         * lyxlex.C: little cleanup
11043
11044 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * BufferView_pimpl.C: fix insertAscii for insets
11047
11048 2001-12-05  Juergen Vigna  <jug@sad.it>
11049
11050         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11051         set the right font on the "multi" paragraph paste!
11052
11053 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11054
11055         * trans_decl.h:
11056         * trans_mgr.[Ch]:
11057         * trans.[Ch]:
11058         * lyxgluelength.C:
11059         * lyxlength.C: remove out-commented code.
11060
11061         * BufferView_pimpl:
11062         * CutAndPaste.C:
11063         * DepTable.C:
11064         * buffer.C:
11065         * chset.C:
11066         * lastfiles.C:
11067         * lyxlex.C:
11068         * lyxlex_pimpl.C:
11069         * lyxserver.C:
11070         * screen.C:
11071         * tabular-old.C:
11072         * tabular.C:
11073         * text.C:
11074         * trans_mgr.C:
11075         * vc-backend.C: change "while(" to "while ("
11076
11077         * lyxlength.[Ch]: add zero function to check if length is zero or
11078         not
11079         * lyxgluelength.C: use it
11080
11081 2001-12-05  Allan Rae  <rae@lyx.org>
11082
11083         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11084         Works for 2.95.3, from what I understand of Garst's reports this should
11085         work for other g++ versions.  We're screwed if the abs(int) definition
11086         changed between bugfix releases of gcc.
11087
11088 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * text.C: fix chapter label offset !
11091
11092 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * lyxtext.h:
11095         * text.C: fix hfill at end of line, clean up
11096
11097 2001-12-04  Juergen Vigna  <jug@sad.it>
11098
11099         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11100         that we force an update of the inset and it's owners if neccessary.
11101
11102 2001-12-03  Juergen Vigna  <jug@sad.it>
11103
11104         * text.C (rowLast): simplified code
11105
11106 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * lyxfunc.C: fix show options on timeout
11109
11110 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * screen.C (topCursorVisible): scroll half a page when the cursor
11113         reached top of bottom of screen
11114
11115 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * minibuffer.C: deactivate on loss of focus
11118
11119 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * vspace.[Ch] (operator!=): add operator.
11122
11123 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * BufferView_pimpl.C: refuse to open an inset when
11126         there's a selection.
11127
11128 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * BufferView_pimpl.C: allow to click on RHS of full row insets
11131
11132 2001-11-30  Juergen Vigna  <jug@sad.it>
11133
11134         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11135         insets for undo reasons.
11136
11137 2001-11-28  André Pönitz <poenitz@gmx.net>
11138
11139         * vspace.[Ch]: cosmetical changes
11140
11141 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * LyXAction.h:
11144         * LyXAction.C:
11145         * lyxfunc.h:
11146         * lyxfunc.C:
11147         * kbmap.h:
11148         * kbmap.C:
11149         * lyxrc.C:
11150         * kbsequence.h:
11151         * kbsequence.C: part re-write of old kb code
11152
11153         * Painter.C:
11154         * WorkArea.C: remove Lgb_bug_find_hack
11155
11156 2001-11-30  José Matos <jamatos@fep.up.pt>
11157
11158         * buffer.C (makeDocBookFile): add a comment to point a hack.
11159         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11160         Fixed a double write of labels.
11161
11162 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11163
11164         * LaTeX.C:
11165         * LaTeX.h Fixed bug in LaTeX class where it would not
11166         re-run latex if no depfiles were changed, but the .dvi was removed.
11167
11168 2001-11-28  André Pönitz <poenitz@gmx.net>
11169
11170         * all the files from the change on 2001/11/26:
11171         use lyx::layout_type instead of LyXTextClass::size_type
11172         use lyx::textclass_type instead of LyXTextClassList::size_type
11173
11174 2001-11-29  Juergen Vigna  <jug@sad.it>
11175
11176         * text.C: added support for paragraph::isFreeSpacing()
11177
11178         * buffer.C: same as above
11179
11180         * paragraph.h: inserted isFreeSpacing() function to enable
11181         FreeSpacing inside InsetERT.
11182
11183         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11184         of the paragraph's in the cut/copy buffer to 0!
11185
11186         * text2.C (removeRow): remove the assert as it can!
11187
11188         * lyxtext.h: added helper function firstRow returning firstrow and
11189         made firstrow private again.
11190
11191         * BufferView2.C (lockInset): don't relock if we're already locked!
11192
11193         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11194         the only paragraph.
11195         (removeRow): added Assert::(firstrow)
11196
11197         * debug.C: forgot to add INSETTEXT here.
11198
11199 2001-11-28  Juergen Vigna  <jug@sad.it>
11200
11201         * sp_spell.C (initialize): changed error text to more general
11202         spellchecker command use (not only ispell!)
11203
11204         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11205
11206         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11207
11208 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * vspace.C: initialise lyxgluelength on failure
11211
11212 2001-11-28  Allan Rae  <rae@lyx.org>
11213
11214         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11215         declaration & definition that looks like a function declaration.
11216
11217 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11218
11219         * BufferView2.C (copy):
11220         (copyEnvironment): do not clear the selection when doing a copy.
11221
11222         * text.C (paintFirstRow): compilation fix
11223
11224 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11225
11226         * tabular.C (Latex): correct line count when writing latex.
11227
11228 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * paragraph_pimpl.h:
11231         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11232           bug a bit
11233
11234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * text.C:
11237         * LColor.h:
11238         * LColor.C: change vfillline->added_space
11239
11240         * text.C: add markers and text for added space
11241
11242         * vspace.C: fix comment
11243
11244 2001-11-28  André Pönitz <poenitz@gmx.net>
11245
11246         * paragraph.C: whitespace changes
11247         * all the other files from the change on 2001/11/26:
11248         change *::pos_type into lyx::pos_type
11249
11250 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11251
11252         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11253         language of the document when inserting error insets.
11254
11255 2001-11-26  André Pönitz <poenitz@gmx.net>
11256
11257         * BufferView_pimpl.[Ch]:
11258         *       CutAndPaste.C:
11259         * buffer.[Ch]:
11260         * lyxcursor.[Ch]:
11261         * lyxfind.C:
11262         * lyxfunc.C:
11263         * lyxrow.[Ch]:
11264         * paragraph.[Ch]:
11265         * paragraph_pimpl.[Ch]:
11266         * sp_spell.C:
11267         * text.C:
11268         * text2.C: reduce header dependencies, introduce type for positions
11269
11270 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * <various>: change to use Alert.h
11273
11274 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11275
11276         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11277         when encountering an unknown token.
11278         (readLyXformat2): Show an error message if there were unknown tokens.
11279
11280 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * BufferView2.C:
11283         * BufferView_pimpl.C:
11284         * buffer.C:
11285         * paragraph.h:
11286         * text.C:
11287         * text2.C: use par->isInset()
11288
11289 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * paragraph_pimpl.h:
11292         * paragraph_pimpl.C: cleanup
11293
11294 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11295
11296         * text2.C (removeRow):
11297         * text.C (setHeightOfRow): remove useless (and costly) call to
11298         getRow.
11299
11300 2001-11-20  Allan Rae  <rae@lyx.org>
11301
11302         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11303         Now need Inset*::checkInsertChar() to return true for appropriate
11304         cases so that the characters in the minibuffer will actually be
11305         inserted.
11306
11307 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * text.C: change the order of the includes.
11310         (workWidth): initialize it at once.
11311         (workWidth): make maxw unsigned
11312         (setHeightOfRow): remove unused variable (inset)
11313         (selectSelectedWord): remove unused variable (inset)
11314         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11315
11316 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11317
11318         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11319         server is not running.
11320         (openConnection):
11321         (closeConnection): add debug info when server is disabled.
11322
11323         * ColorHandler.C (getGCForeground): send debug message to GUI
11324         channel.
11325
11326         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11327
11328         * kbmap.C (bind): modify because return conventions of
11329         kb_sequence::parse have changed.
11330
11331         * kbsequence.C (parse): only ignore spaces and not any stupid
11332         control character. This avoids tests like s[i] <= ' ', which are
11333         guaranteed to fail with 8bit characters and signed chars.
11334         Change return code to string::npos when there have been no error
11335         (0 was a bad idea when error is at first character)
11336
11337 2001-11-14  José Matos  <jamatos@fep.up.pt>
11338
11339         * buffer.h:
11340         * buffer.C (simpleDocBookOnePar): removed unused argument.
11341
11342 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11345         insets which are part of a word. Paragraph::isLetter takes care of
11346         that now. Use Paragraph::isInset to identify insets.
11347         (selectSelectedWord): do not test for hyphenation break.
11348
11349         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11350         that protected spaces are considered as spaces.
11351
11352         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11353         Inset::isLetter.
11354
11355 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * lyxserver.h:
11358         * lyxserver.C: fix it. and small cleanup.
11359
11360 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * BufferView_pimpl.C: use inline helpers
11363
11364         * LaTeXFeatures.h:
11365         * LaTeXFeatures.C: fix typos
11366
11367         * Spacing.h:
11368         * Spacing.C: move spacing_string into class
11369
11370         * ToolbarDefaults.C: move stuff into namespace anon
11371
11372         * layout.h: update enum
11373
11374         * lyxfunc.C: use better debug
11375
11376         * minibuffer.h: fix typo
11377
11378         * debug.h:
11379         * debug.C:
11380         * WorkArea.C: add and use Debug::WORKAREA
11381
11382         * lyxtext.h:
11383         * text.C:
11384         * text2.C: code re-organisation, inline helpers
11385
11386 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11387
11388         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11389         std::vector.empty().
11390
11391 2001-11-09  Allan Rae  <rae@lyx.org>
11392
11393         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11394         '\n's after tables.  Tabular and ERT inset work now makes this no
11395         longer necessary.
11396
11397 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * minibuffer.h:
11400         * minibuffer.C: fix crash, improve drop-down completion
11401
11402 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyxserver.h:
11405         * lyxserver.C: invalidate fd's when doing endPipe()
11406
11407 2001-11-08  José Matos  <jamatos@fep.up.pt>
11408
11409         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11410         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11411
11412         * paragraph.h:
11413         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11414
11415 2001-11-07  José Matos  <jamatos@fep.up.pt>
11416
11417         * buffer.h:
11418         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11419         const qualifier.
11420
11421         * buffer.C (sgmlOpenTag):
11422         * buffer.C (sgmlCloseTag): removed debug info.
11423
11424         * buffer.h (sgmlOpenTag):
11425         * buffer.h (sgmlCloseTag): made public.
11426
11427 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11428
11429         * buffer.C (saveParamsAsDefaults):
11430         * lyx_cb.C (MenuLayoutSave): remove
11431
11432         * LyXAction.C (init):
11433         * commandtags.h:
11434         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11435
11436 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * buffer.C (setPaperStuff): removed from here...
11439
11440         * bufferparams.C (setPaperStuff): ... and moved there.
11441
11442 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * minibuffer.h:
11445         * minibuffer.C:
11446         * XFormsView.C: add support for drop-down completion
11447
11448 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11449
11450         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11451         commands.
11452
11453 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11456         disabled.
11457
11458 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * lyx_main.C: change ref to known bugs
11461
11462 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11463
11464         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11465         to work around older babel problems.
11466
11467 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11468
11469         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11470
11471 2001-10-24  Juergen Vigna  <jug@sad.it>
11472
11473         * tabular-old.C (ReadOld): below variable changes reflected.
11474
11475         * tabular.[Ch]: added ltType struct for longtable header/footer
11476         defines and changed all instances where they are used. Added
11477         future support for double top/bottom rows.
11478
11479 2001-10-24  José Matos  <jamatos@fep.up.pt>
11480
11481         * buffer.h (docbookHandleCaption):
11482         * buffer.C (docbookHandleCaption): removed unused function.
11483         (makeDocBookFile): moved docbook supported version to v4.1.
11484
11485 2001-10-24  José Matos  <jamatos@fep.up.pt>
11486
11487         * tabular.h:
11488         * tabular.C (docbookRow): new function to export docbook code of a row.
11489         (DocBook): now honors the longtable flags.
11490
11491 2001-10-23  José Matos  <jamatos@fep.up.pt>
11492
11493         * LaTeXFeatures.h:
11494         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11495         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11496
11497         * buffer.C (makeLinuxDocFile):
11498         (makeDocBookFile): reworked the preamble, more clean, and with
11499         support for lyx defined entities. Changed the document declaration
11500         to be more XML friendly.
11501
11502         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11503         if we need to output XML that should be done with a filter.
11504
11505 2001-10-22  Juergen Vigna  <jug@sad.it>
11506
11507         * sp_pspell.h (class PSpell): add alive function needed in the
11508         controller to see if the spellchecker could be started.
11509
11510 2001-10-22  Juergen Vigna  <jug@sad.it>
11511
11512         * buffer.C (insertStringAsLines): modify the font for inserting
11513         chars in certain conditions by calling checkInsertChar(font).
11514
11515 2001-10-19  Juergen Vigna  <jug@sad.it>
11516
11517         * text.C (workWidth): use getRow instead of wrong algorithm.
11518         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11519
11520 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * lyxserver.h:
11523         * lyxserver.C:
11524         * lyx_main.h:
11525         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11526
11527 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11528
11529         * text.C (workWidth): do not search for the exact row when
11530         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11531         optimization for big documents.
11532
11533 2001-10-18  Juergen Vigna  <jug@sad.it>
11534
11535         * text.C (workWidth): new function with added Inset * parameter.
11536
11537 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11540
11541         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11542         change return type of getColumnNearX.
11543
11544
11545         * text.C (changeRegionCase): use uppercase/lowercase instead of
11546         toupper/tolower.
11547         (leftMargin):
11548         (rightMargin): simplify code by factoring out the uses of
11549         textclasslist.
11550         (labelFill):
11551         (numberOfHfills):
11552         (setHeightOfRow):
11553         (appendParagraph): use Paragraph::size_type
11554
11555 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * vspace.C (asLatexString): add a missing break
11558
11559 2001-10-15  Herbert Voss  <voss@perce.de>
11560
11561         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11562
11563 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11564
11565         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11566         is not available.
11567
11568 2001-10-10  André Pönitz <poenitz@gmx.net>
11569
11570         * lyxfunc.C: removed greek_kb_flag.
11571
11572 2001-10-10  Herbert Voss  <voss@perce.de>
11573
11574         * lyx_main.C: delete global string help_lyxdir.
11575
11576 2001-10-09  Herbert Voss  <voss@perce.de>
11577
11578         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11579
11580         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11581
11582         * lyx_main.C: added global string help_lyxdir.
11583
11584         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11585
11586 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11587
11588         * lyxrc.C (set_font_norm_type): support iso8859-4
11589
11590 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11591
11592         * LaTeX.C (deplog): add another regex for MikTeX
11593
11594 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11595
11596         * lyxrc.C (set_font_norm_type): support iso8859-3
11597
11598 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11599
11600         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11601
11602         * LaTeXFeatures.C: remove special case of french and index
11603
11604         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11605         before \begin{document}). This solves several incompatibilities.
11606
11607 2001-10-03  Garst Reese  <reese@isn.net>
11608
11609         * lyx_cb.C: change CheckTex error msg.
11610
11611 2001-10-03  José Matos  <jamatos@fep.up.pt>
11612
11613         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11614
11615 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11616
11617         * .cvsignore: update
11618
11619         * lyx_main.C (commandLineVersionInfo): use new style version info.
11620
11621         * buffer.C (writeFile):
11622         (makeLaTeXFile):
11623         (makeLinuxDocFile):
11624         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11625
11626         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11627
11628         * version.h: update to use stuff in version.C
11629
11630         * version.C.in: new file. Contains version information determined
11631         at compile time. This is a merging of version.h and
11632         version_info.h.in.
11633
11634 2001-10-03  Juergen Vigna  <jug@sad.it>
11635
11636         * BufferView_pimpl.C (update): don't change "dirty" status in
11637         updateInset call.
11638
11639 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11640
11641         * WorkArea.C (c-tor): re-position version string slightly.
11642
11643 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11646         revert to previous code.
11647
11648         WorkArea.[Ch]: (show, destroySplash): methods removed.
11649
11650         WorkArea.C: rework code so that it's an amalgam of the codes before and
11651         after the splash screen was moved to WorkArea.
11652
11653 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11654
11655         * lyxrc.C (read):
11656         * vspace.C (inPixels):
11657         (lyx_advance):
11658         * kbmap.C (bind):
11659         * buffer.C (insertStringAsLines):
11660         (asciiParagraph): fix types to be large enough
11661
11662         * lyxlex_pimpl.h: change member status from short to int
11663
11664         * layout.h: fix type of endlabeltype
11665
11666         * kbmap.C (bind):
11667         * kbsequence.C (parse): change return type to string::size_type
11668
11669         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11670         variable
11671
11672         * Bullet.C (bulletSize):
11673         (bulletEntry): do not use short ints as parameters
11674
11675         * BufferView2.C (insertLyXFile): change a char to an int.
11676
11677         * WorkArea.C (WorkArea): remove unneeded floats in computation
11678
11679 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11680
11681         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11682
11683         * paragraph.C (asString): Do not ignore newline/hfill chars when
11684         copying to the clipboard.
11685
11686 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11687
11688         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11689         after a multi-line inset.
11690
11691 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11692
11693         * paragraph.C (validate): Set NeedLyXFootnoteCode
11694
11695 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11698         and decrease-error to decrease.
11699
11700 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11701
11702         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11703         it more readable (should be equivalent)
11704
11705 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11706
11707         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11708
11709 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11710
11711         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11712         of a cursor (row, etc.) after a character has been deleted
11713         (deleteEmptyParagraphMechanism): call the method above on _all_
11714         cursors held by the LyXText when a double space has been
11715         detected/deleted.
11716
11717 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11720         pixmap.
11721         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11722
11723         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11724         background. Use greyOut() and the new show() methods to toggle between
11725         the foreground and background. Add code to remove the splash after
11726         its initial showing.
11727
11728         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11729         (create_forms): no longer call Dialogs::showSplash.
11730
11731 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * .cvsignore: add version_info.h
11734
11735 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11736
11737         * version_info.h.in: new file
11738
11739         * Makefile.am: add version_info.h.in
11740
11741         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11742         version_info.h instead of VERSION_INFO
11743
11744 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11747         The ERT inset now returns string().
11748
11749 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11750
11751         * lyxtext.h, text.C (selectNextWord): renamed as
11752         selectNextWordToSpellcheck.
11753
11754         * text.C (selectNextWordToSpellcheck): Modified to not select
11755         words inside an ERT inset.
11756
11757 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11758
11759         * lyx_cb.C (MenuLayoutSave): change a bit the question
11760
11761         * sp_base.h: include <sys/types.h>
11762
11763 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11766
11767 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11768
11769         * several files: fix typos in user-visible strings
11770
11771 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * text2.C (pasteSelection): do not set the selection, since it
11774         will be cleared later. Actually, the intent was to fix the way the
11775         selection was set, but I figured rmoving the code was just as good.
11776
11777 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11778
11779         * FontLoader.C (available): Check if font is available without
11780         loading the font.
11781
11782 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11783
11784         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11785
11786 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * lyxrc.[Ch]: added display_graphics variable and associated code.
11789
11790 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * bufferparams.C (hasClassDefaults): new method. Returns true if
11793         the buffer parameters correspond to known class defaults
11794
11795 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * XFormsView.C (show): set minimum size to the main window.
11798
11799 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11800
11801         * text2.C (copySelection):
11802         (cutSelection):
11803         * lyxfind.C (LyXReplace):
11804         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11805         LyXText::selectionAsString.
11806
11807         * paragraph.C (asString): add "label" argument to the second form
11808
11809         * text2.C (selectionAsString): add "label" argument and pass it to
11810         Paragraph::asString.
11811
11812 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11813
11814         * lyx_main.C (commandLineHelp): remove version information
11815
11816 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11817
11818         * lyx_main.C: add -version commandline option
11819
11820 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11821
11822         * paragraph.h: make the optional constructor arg required instead.
11823         some modifications to other files because of this.
11824
11825         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11826
11827         * lyxserver.C (C_LyXComm_callback): make it static
11828
11829         * lyx_main.C (error_handler): make it static
11830
11831         * lyx_gui.C (LyX_XErrHandler): make it static
11832
11833         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11834
11835         * WorkArea.C: make the extern "C" methods static.
11836
11837         * Makefile.am (lyx_LDADD): simplify
11838
11839 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11840
11841         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11842         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11843
11844         * LyXAction.C (init):
11845         * lyxfunc.C (dispatch): associated code removal.
11846
11847 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * lyxfont.h (isSymbolFont): shut off warning
11850
11851         * text.C (setHeightOfRow):
11852         (getVisibleRow): fix crash with empty paragraphs which have a
11853         bottom line
11854
11855 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11856
11857         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11858         code.
11859
11860 2001-09-04  José Matos  <jamatos@fep.up.pt>
11861         * buffer.C
11862         * buffer.h
11863         * tabular.C (docbook): rename docBook method to docbook.
11864
11865 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         * Makefile.am: add dependencies to main.o.
11868
11869 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * FontLoader.C (available): Return false if !lyxrc.use_gui
11872
11873 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11874
11875         * FontInfo.C (query):
11876         * converter.C (view):
11877         * importer.C (Import):
11878         * exporter.C (Export): Can not -> cannot.
11879
11880 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView_pimpl.C: allow to create index inset even if
11883           string is empty
11884
11885 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11886
11887         * buffer.C (getLists): replace boost::tie code with an explicit pair
11888         as boost::tie can break some compilers.
11889
11890         * iterators.h: Added a std:: declaration to the return type of
11891         ParIterator::size.
11892
11893 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11896           case.
11897
11898 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * iterators.[Ch]: New files. Provide paragraph iterators.
11901
11902         * buffer.C (changeLanguage): Use paragraph iterators.
11903         (isMultiLingual): ditto
11904
11905         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11906
11907 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11908
11909         * FontLoader.C: Support for cmr font.
11910
11911 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11912
11913         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11914         (available): New method.
11915
11916         * FontInfo.C (getFontname): Use scalable fonts even when
11917         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11918         found.
11919
11920 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11921
11922         * converter.C (Formats::view): reverted! Incorrect fix.
11923
11924 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11925
11926         * converter.C (Formats::view): only output the -paper option
11927         if the dvi viewer is xdvi, thereby fixing bug #233429.
11928
11929 2001-08-23  Herbert Voss  <voss@perce>
11930
11931         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11932
11933 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * Spacing.h (Spacing): Set space to Default on in the default
11936         constructor.
11937
11938 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * vc-backend.h (RCS::versionString): add RCS to version
11941         (CVS::versionString): add CVS to version
11942
11943         * vc-backend.C (scanMaster): do not add CVS to version.
11944         (scanMaster): do not add RCS to version
11945
11946         * lyxvc.C (versionString): new method
11947
11948         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11949
11950 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * Spacing.C (set): initialize fval
11953
11954 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11955
11956         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11957         " or \.
11958
11959 2001-08-16  Juergen Vigna  <jug@sad.it>
11960
11961         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11962
11963 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * BufferView_pimpl.C:
11966         * figureForm.C:
11967         * lyxtext.h:
11968         * text2.C: setParagraph takes linespacing now
11969
11970 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * LyxAction.C: add internal LFUN_CITATION_INSERT
11973
11974         * LyXView.C: actually apply fix
11975
11976         * bufferlist.C: fix open non-existent file
11977
11978         * lyxfind.C: fix indentation
11979
11980         * lyxfunc.C: remove unneeded assert, fix typo
11981
11982 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * MenuBackend.C: use "Floatname List"
11985
11986 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11987
11988         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11989         when converting LaTeX layout to insetERT.
11990         Generate a non-collapsed float when reading old float
11991
11992 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11993
11994         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11995         ERT insets.
11996
11997 2001-08-13  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (fill): return 0 instead of 20 as this seems to be the more
12000         correct value.
12001
12002 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12005         lyxrc.font_norm.
12006
12007 2001-08-13  Juergen Vigna  <jug@sad.it>
12008
12009         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12010         casesensitive off.
12011         (SearchBackward): comment out the unlocking of the inset_owner this
12012         should not be needed!
12013
12014 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12015
12016         * Many files: Remove inherit_language, and add latex_language
12017
12018         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12019         collapsible insets.
12020
12021 2001-08-10  Juergen Vigna  <jug@sad.it>
12022
12023         * text.C (prepareToPrint): fixed hfill-width in draw!
12024
12025         * BufferView2.C (selectLastWord): save the selection cursor as this
12026         now is cleared in the function LyXText::clearSelection!
12027
12028 2001-08-08  Juergen Vigna  <jug@sad.it>
12029
12030         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12031         BACKSPACE type functions.
12032
12033         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12034         is only cutted from the document but not put in the cut-buffer, where
12035         still the old stuff should be.
12036
12037         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12038
12039         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12040
12041         * tabular.C (SetWidthOfCell): fixed special case where the width
12042         was not updated!
12043         (LeftLine): handle '|' in align_special.
12044         (RightLine): ditto
12045         (LeftAlreadyDrawed): ditto
12046         (SetWidthOfCell): ditto
12047
12048 2001-08-07  Juergen Vigna  <jug@sad.it>
12049
12050         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12051
12052 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12055         * lyxlex.[hC]: ditto
12056
12057 2001-08-06  Juergen Vigna  <jug@sad.it>
12058
12059         * text.C (getVisibleRow): fix up row clearing a bit.
12060
12061 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * minibuffer.C: make sure the X server sees the changes in the input.
12064
12065 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * paragraph.C (getFont): split into...
12068         (getLabelFont): this
12069         (getLayoutFont): and this
12070         * paragraph_pimpl.C (realizeFont): calling this
12071
12072         * text2.C (getFont): split into...
12073         (getLayoutFont): this
12074         (getLabelFont): and this
12075         (realizeFont): all three calling this
12076
12077         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12078         files where used.
12079
12080 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12081
12082         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12083
12084 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12085
12086         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12087         layouts from the Quote inset insertion.
12088
12089 2001-08-03  Juergen Vigna  <jug@sad.it>
12090
12091         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12092
12093         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12094         only if status not is already CHANGED_IN_DRAW (second level).
12095
12096         * text.C (draw): don't set the need_break_row when inside an
12097         InsetText LyXText.
12098
12099 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * buffer.C (parseSingleLyXformat2Token): handle more latex
12102         conversion cases.
12103
12104         * bufferview_funcs.[hC]: change function names to
12105         begin with small char, adjust other files.
12106
12107 2001-08-02  André Pönitz <poenitz@gmx.net>
12108
12109         * lyxfunc.C:
12110         BufferView_pimpl.C: remove broken special code for math-greek
12111
12112 2001-08-02  Juergen Vigna  <jug@sad.it>
12113
12114         * BufferView_pimpl.C (update): redone this function so that we
12115         update the text again if there was a CHANGE_IN_DRAW.
12116
12117         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12118         (drawFromTo): added a new internal bool which is used by draw() and
12119         redraw() function.
12120         (general): some cursor drawing problems fixed.
12121
12122 2001-08-01  Juergen Vigna  <jug@sad.it>
12123
12124         * lyxfind.C (LyXFind): fixed
12125         (SearchForward): ditto
12126         (SearchBackward): ditto
12127
12128         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12129         spurius drawing of the cursor in the main area.
12130
12131         * text2.C (status): small fix which could lead to a segfault!
12132         (clearSelection): remove unneeded BufferView param.
12133
12134 2001-08-01  André Pönitz <poenitz@gmx.net>
12135
12136         * lyxfunc.C: small change due to changed mathed interface
12137
12138 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12141
12142 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * lyxfunc.c: fail gracefully if file doesn't exist
12145
12146         * LyXSendto.C:
12147         * buffer.C:
12148         * lyxfunc.C:
12149         * BufferView_pimpl.C: IsDirWriteable() proto changed
12150
12151         * LyXView.C: fix updateWindowTitle() to store the last title
12152
12153 2001-07-31  Juergen Vigna  <jug@sad.it>
12154
12155         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12156         the font (wrong since using of Paragraph::highestFontInRange).
12157
12158         * paragraph.C (highestFontInRange): added a default_size parameter.
12159
12160         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12161         (setHeightOfRow): reformat
12162
12163 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12164
12165         * converter.[hC] + affected files: move to (inital-char)lowercase
12166         function names.
12167
12168         * ParagraphParameters.C (ParagraphParameters): remove commented code
12169
12170         * PainterBase.[Ch]: remove commented code
12171
12172         * LaTeXFeatures.h: add "bool floats" for float.sty
12173
12174         * LaTeXFeatures.C (LaTeXFeatures): init floats
12175         (require): handle float
12176         (getPackages): do it with floats
12177
12178 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * BufferView_pimpl.C (Dispatch): improve handling of
12181         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12182
12183         * commandtags.h: #include lyxfont.h here temporarily to avoid
12184         keybinding bug.
12185
12186         * bufferlist.h: include LString.h here.
12187
12188 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * text2.C (getStringToIndex): new method.
12191
12192 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12193
12194         * *: Reduced header file dependencies all over.
12195
12196 2001-07-30  Baruch Even  <baruch@lyx.org>
12197
12198         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12199
12200 2001-07-29  Baruch Even  <baruch@lyx.org>
12201
12202         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12203
12204 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * ParameterStruct.h (endif): add a default constructor to make
12207         sure that all variables is initialized.
12208
12209         * ParagraphParameters.C (ParagraphParameters): adjust
12210
12211 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12212
12213         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12214         index; also, check that there is something to index, and that it
12215         does not span over several paragraphs.
12216         (doubleClick): use WHOLE_WORD_STRICT for double click.
12217
12218         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12219
12220         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12221         scheme.
12222
12223 2001-07-26  Baruch Even  <baruch@lyx.org>
12224
12225         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12226         an InsetFig figure, backwards compatible reading of old figure code.
12227
12228 2001-07-27  Juergen Vigna  <jug@sad.it>
12229
12230         * text2.C: font.realize function adaption.
12231
12232         * text.C (draw): add a warnings lyxerr text if needed.
12233
12234         * layout.C: font.realize function adaption.
12235
12236         * language.C: add inherit_language and implement it's handlings
12237
12238         * bufferview_funcs.C (StyleReset): remove language parameter from
12239         font creation (should be language_inherit now).
12240
12241         * bufferparams.C (writeFile): handle ignore_language.
12242
12243         * paragraph.C (getFontSettings): the language has to be resolved
12244         otherwise we have problems in LyXFont!
12245
12246         * lyxfont.C (lyxWriteChanges): added document_language parameter
12247         (update): removed unneeded language parameter
12248
12249         * paragraph.C (validate): fixed wrong output of color-package when
12250         using interface colors for certain fonts in certain environments,
12251         which should not seen as that on the final output.
12252
12253 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * BufferView_pimpl.C:
12256         * Thesaurus.h:
12257         * Thesaurus.C:
12258         * Makefile.am:
12259         * commandtags.h:
12260         * LyXAction.C: add thesaurus support
12261
12262         * lyxfind.h:
12263         * lyxfind.C: add "once" parameter, for thesaurus, to not
12264           move to the next match
12265
12266 2001-07-26  Juergen Vigna  <jug@sad.it>
12267
12268         * lyxfont.C (realize): honor ignore_language too!
12269         (resolved): ditto.
12270
12271         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12272
12273         * text.C (draw): one place more for ignore_language to not draw
12274         itself!
12275
12276 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12277
12278         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12279
12280 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12283         the minipage conversion problem.
12284
12285 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12288         insert an inset.
12289
12290 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * BufferView.h: don't forward declare WorkArea
12293
12294         * BufferView.C: don't include WorkArea.h
12295
12296 2001-07-25  André Pönitz <poenitz@gmx.net>
12297
12298         * commandtags.h:
12299         * LyXAction.C:
12300         * lyxfunc.C:  new LFUN 'math-space'
12301
12302         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12303
12304 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * text2.C (toggleInset): call open/close
12307
12308 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * lyxfunc.C (dispatch): add debug for the disabled case
12311
12312         * font.C (buttonText): make similar to rectText
12313
12314         * buffer.C (readInset): comment out parsing of insetlist and
12315         insttheorem
12316
12317         * PainterBase.C (rectText): small correction
12318
12319         * BufferView_pimpl.C: comment out insettheorem and insetlist
12320         * LyXAction.C: ditto
12321         * commandtags.h: ditto
12322
12323 2001-07-24  Juergen Vigna  <jug@sad.it>
12324
12325         * text.C (draw): honor the ignore_language.
12326
12327         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12328
12329 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12332         char inset.
12333
12334 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12335
12336         * lyxtext.h: remove unused (and unimplemented) methods
12337
12338 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12339
12340         * text.C (getVisibleRow): honor background color
12341
12342         * PainterBase.h:
12343         * Painter.h: remove default color argument for fillRectangle
12344
12345         * text.C (backgroundColor): new method
12346
12347 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12348
12349         * text.C (getVisibleRow): adjust
12350
12351         * font.[Ch] (rectText): new method, metrics
12352         (buttonText): new method, metrics
12353
12354         * PainterBase.[hC]: make rectText and buttonText always draw and take
12355         fewer paramteres.
12356
12357 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12358
12359         * ToolbarDefaults.C (read):
12360         * MenuBackend.C (read): allow escaping in all strings
12361
12362         * BufferView_pimpl.C (insertAndEditInset): new method.
12363         (Dispatch): use insertAndEditInset whenever appropriate.
12364
12365         * BufferView_pimpl.C (insertNote): removed
12366
12367         * BufferView_pimpl.C (smartQuote): new method, moved from
12368         BufferView; if an insetquote cannot be inserted, insert a '"'
12369         character instead.
12370
12371         * BufferView2.C: remove insertCorrectQuote();
12372
12373         * lyxfunc.C (getStatus): Add support for all remaingin
12374         inset-insert lfuns.
12375
12376         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12377
12378         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12379         command (necessary to pass " as parameter of self-insert.
12380
12381         * text.C (selectWordWhenUnderCursor):
12382         (selectWord): add word_location parameter
12383         (selectWordWhenUnderCursor): same + remove special code for word
12384         boundary.
12385         (selectNextWord): use kind() to guess type of insetspecialchar,
12386         not latex().
12387
12388         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12389         (insertErtContents): create ert insets as collapsed.
12390         (readInset): better compatibility code for Info inset.
12391
12392 2001-07-20  Juergen Vigna  <jug@sad.it>
12393
12394         * lyxfunc.C (dispatch): use always LyXFind now!
12395
12396         * text2.C (init): add a reinit flag so that the LyXText can be
12397         reinited instead of deleted and reallocated (used in InsetText).
12398
12399         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12400
12401         * text.C: ditto
12402
12403         * text2.C: ditto
12404
12405 2001-07-18  Juergen Vigna  <jug@sad.it>
12406
12407         * text.C (selectNextWord): handle insets inside inset by calling
12408         always the bv->text functions so that we can go up the_locking_inset!
12409
12410         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12411         in strange locations when inside an inset!
12412
12413         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12414         handling to include insets.
12415
12416         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12417
12418 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12419
12420         * LyXAction.C (init):
12421         * commandtags.h:
12422         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12423         LIGATURE_BREAK, since the name is so stupid.
12424
12425 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12426
12427         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12428         InsetInfos.
12429
12430         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12431
12432         * sp_form.[Ch]: remove.
12433
12434         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12435
12436         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12437         InsetInfo.
12438
12439         * src/buffer.C (readInset): ditto.
12440
12441 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12442
12443         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12444         menuSeparator(), endOfSentenceDot(), ldots() and
12445         hyphenationPoint(), which are therefore removed.
12446         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12447
12448         * LyXAction.C (init):
12449         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12450
12451         * paragraph.C (getWord): removed.
12452
12453         * BufferView_pimpl.C (Dispatch): use last word or selection for
12454         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12455
12456         * lyx_main.C (queryUserLyXDir): do not ask before creating
12457         user_dir, except if it has been named explicitely.
12458
12459 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12462         a document of zero size.
12463
12464 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12467         approriately in the c-tor and in require().
12468         (getPackages): output the appropriate LaTeX for natbib support.
12469
12470         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12471         variables "use_natbib" and "use_numerical_citations" when reading the
12472         LyX file.
12473         (readInset): read the various natbib cite commands.
12474         (validate): white-space change.
12475
12476         * bufferparams.[Ch]: new variables "bool use_natbib" and
12477         "bool use_numerical_citations".
12478         (writeFile): output them in the LyX file.
12479
12480 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12481
12482         * lyxfunc.C (getStatus): add support for all the inset insertion
12483         commands.
12484
12485         * text2.C (insertInset):
12486         * paragraph.C (insetAllowed):
12487         * BufferView_pimpl.C (insertInset): update to take in account the
12488         renaming of insertInsetAllowed
12489
12490         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12491
12492         * text2.C (getInset): new method. returns inset at cursor position.
12493
12494         * BufferView_pimpl.C (Dispatch): changes because of this.
12495
12496         * LyXAction.C (init): rename open-stuff to inset-toggle.
12497
12498         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12499
12500         * text2.C (toggleInset): renamed from openStuff; use
12501         Inset::open().
12502
12503 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12504
12505         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12506
12507         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12508
12509 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12510
12511         * buffer.C (readLyXformat2): Add filename to the error dialog
12512
12513 2001-07-18  Juergen Vigna  <jug@sad.it>
12514
12515         * tabular.C (GetCellNumber): put an assert here instead of the check!
12516
12517 2001-07-17  Juergen Vigna  <jug@sad.it>
12518
12519         * BufferView_pimpl.C (toggleSelection): adapted too.
12520
12521         * text.C (selectNextWord): adapted for use with insets.
12522         (selectSelectedWord): ditto
12523
12524 2001-07-17  Juergen Vigna  <jug@sad.it>
12525
12526         * sp_spell.C (PSpell): fix initialitation order.
12527
12528 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12529
12530         * paragraph.C: spacing
12531
12532 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12533
12534         * sp_spell.C: repair language selection for pspell
12535
12536 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * lyxfunc.h: change more methods to begin with lower char.
12539
12540 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12541
12542         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12543         for unknown layouts.
12544
12545 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12546
12547         * buffer.C (readLyXformat2): Generate an error dialog if there are
12548         unknown layouts.
12549
12550 2001-07-16  Juergen Vigna  <jug@sad.it>
12551
12552         * sp_spell.C: always compile ISpell part.
12553
12554         * lyxrc.C: added use_pspell entry and it's handling.
12555
12556 2001-07-13  Juergen Vigna  <jug@sad.it>
12557
12558         * sp_spell.C: removed double includes.
12559
12560 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         Consistent use of Lsstream.h:
12563         * Lsstream.h: added using std::stringstream for consistencies sake.
12564
12565         * buffer.C: removed using std::stringstream
12566
12567         * lyxfont.C (stateText):
12568         * paragraph.C (asString):
12569         * text.C (selectNextWord, selectSelectedWord):
12570         * text2.C (setCounter):
12571         * vspace.C (asString, asLatexString):
12572         std::ostringstream -> ostringstream.
12573
12574 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12575
12576         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12577         * commandtags.h: add LFUN_HELP_ABOUTLYX
12578         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12579
12580 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12581
12582         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12583         cursorToggle()
12584         * lyx_gui_misc.C: remove spellchecker
12585         * lyxfunc.C: showSpellchecker
12586         * sp_base.h: added
12587         * sp_ispell.h: added
12588         * sp_pspell.h: added
12589         * sp_spell.C: added
12590         * sp_form.[Ch]: removed
12591         * spellchecker.[Ch]: removed
12592
12593 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12594
12595         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12596         is set.
12597         (simpleTeXSpecialChars): Simply print the input character without
12598         any special translation if pass_thru is set.
12599
12600         * layout.h: Added bool pass_thru to layout class for being able to
12601         implement pass through of a paragraph for Literate Programming.
12602
12603         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12604         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12605         * layout.C (Read): add "passthru" to list of layout tags and add
12606         code to set the pass_thru boolean when it is read.
12607
12608 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * trans_decl.h: remove allowed from KmodInfo
12611
12612         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12613         remove allowed code
12614         (Load): adjust
12615
12616         * paragraph_pimpl.C (erase): use boost::prior
12617
12618         * Painter.C (text): use data() instead of c_str() when length is
12619         also provided.
12620         * WorkArea.C (putClipboard): ditto
12621         * font.h (width): ditto
12622
12623         * BufferView2.C: use it-> instead of (*it). for iterators
12624         * texrow.C: ditto
12625         * paragraph_pimpl.C: ditto
12626         * paragraph.C: ditto
12627         * minibuffer.C: ditto
12628         * language.C: ditto
12629         * kbmap.C: ditto
12630         * encoding.C: ditto
12631         * counters.C: ditto
12632         * converter.C: ditto
12633         * chset.C: ditto
12634         * Variables.C: ditto
12635         * TextCache.C: ditto
12636         * MenuBackend.C: ditto
12637         * LyXAction.C: ditto
12638         * LColor.C: ditto
12639         * FloatList.C: ditto
12640         * DepTable.C: ditto
12641         * ColorHandler.C (LyXColorHandler): ditto
12642
12643 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12646
12647         * text2.C (openStuff): reintroduce this method (which had been
12648         nuked in NEW_INSETS frenzy).
12649
12650         * lyxfunc.C (Dispatch): when an action has not been handled, use
12651         its name in the error message, not its number.
12652
12653         * paragraph.C (inInset): change method name to begin with lowercase.
12654
12655         * undo_funcs.C:
12656         * text2.C: updates because of this.
12657
12658 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * ToolbarDefaults.C (add): add spaces in error message
12661
12662 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12665         (readLyXformat2): rename return_par to first_par, use lyxlex's
12666         pushToken and remove the manual push handling.
12667         (parseSingleLyXformat2Token): add another ert comp. variable:
12668         in_tabular, rename return_par to first_par. handle newlines better
12669
12670 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12673
12674 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * text2.C (getParFromID): removed
12677
12678         * buffer.C (getParFromID): new method moved form lyxtext.
12679         * BufferView2.C (insertErrors): adjust
12680         (setCursorFromRow): adjust
12681         * BufferView_pimpl.C (restorePosition): adjust
12682         * lyxfunc.C (Dispatch): adjust
12683         * undo_funcs.C (textUndo): adjust
12684         (textRedo): adjust
12685         (textHandleUndo): adjust
12686         (textHandleUndo): adjust
12687
12688 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12689
12690         * buffer.C: up' the LYX_FORMAT
12691
12692         * lyxfont.h: turn NO_LATEX on as default
12693
12694         * buffer.C (insertErtContents): new methods of tex style compability.
12695         (parseSingleLyXformat2Token): use it several places.
12696         * tabular.C (OldFormatRead): and here
12697
12698 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * text2.C: remove some commented code.
12701         reindent file.
12702
12703         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12704         * trans.C: changes because of the above.
12705
12706 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * text2.C (setCounter): Fix counters bug with bibliography layout.
12709
12710 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12713         own member functions
12714         (simpleTeXSpecialChars): ditto
12715
12716 2001-07-06  Juergen Vigna  <jug@sad.it>
12717
12718         * a lot of files: changed the access to LyXText::status and the
12719         call of undo-functions.
12720
12721         * undo.[Ch]: added a inset_id to the undo informations.
12722
12723         * undo_funcs.[Ch]: added and moved here all undo functions.
12724
12725         * lyxtext.h: give the status enum a weight, made status_ a private
12726         variable and made accessor functions for it, removed the whole bunch
12727         of undo-functions as they are now in their own file, make some
12728         functions publically available. Added function ownerParagraph with
12729         int parameter.
12730
12731         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12732         made InInset() a const function, added getParFromID() function.
12733
12734         * buffer.[Ch]: added const version for inset_iterator functions,
12735         added getInsetFromID() function.
12736
12737         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12738         changed undo functions for new version.
12739
12740 2001-07-05  Juergen Vigna  <jug@sad.it>
12741
12742         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12743         unknow mechanism does not call the proper constructor but only this
12744         one also if I request the other!?
12745
12746 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12749
12750         * text2.C (LyXText): use initialization lists.
12751
12752         * lyxtext.h (Selection): initialize set_ and mark_
12753         (init): remove method
12754
12755 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12756
12757         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12758
12759 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * screen.[Ch]: change method names to begin with lowercase
12762
12763         * BufferView_pimpl.C (updateScrollbar): simplify further and
12764         hopefully make it a bit faster.
12765
12766 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12769         calling directly xforms functions.
12770
12771         * Painter.C (Painter):
12772         * lyx_cb.C (MenuWrite):
12773         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12774         fl_display.
12775
12776         * lyx_gui.C: remove bogus guiruntime extern declaration.
12777
12778 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12781         in NEW_INSETS
12782         (redoDrawingOfParagraph): ditto
12783         (redoParagraphs): ditto
12784         (cutSelection): don't create a object for CutAndPaste use the
12785         static method directly
12786         (pasteSelection): ditto
12787
12788         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12789         LyXview (+ rename)
12790
12791 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * modifications to some other files because of this.
12794
12795         * Makefile.am (lyx_SOURCES): add XFormsView
12796
12797         * XFormsView.[Ch]: new files
12798
12799         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12800         the main window. Move the gui dependent stuff to XFormsView
12801
12802 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * tabular.C (GetCellInset): update cur_cell also in the row/col
12805         version of this function.
12806
12807         * lyxfunc.C: no need to include figure_form.h here.
12808
12809         * FontLoader.h:
12810         * lyxfunc.h:
12811         * lyxscreen.h:
12812         * text2.C:
12813         * lyxvc.C: no need to include forms.h here.
12814
12815 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12818
12819         * lyxfunc.C (Dispatch):
12820         * Spacing.C (set):
12821         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12822         constructor argument.
12823
12824 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * paragraph.C (Paragraph): dont't clear, and just set layout.
12827         (makeSameLayout): use params's copy contructor.
12828
12829         * ParagraphParameters.[Ch] (makeSame): delete method
12830
12831 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * Variables.[Ch]: fix indentation, rename set to isSet
12834
12835 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * lyxfunc.C (Dispatch): fix typo
12838
12839 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12842         upper_bound.
12843
12844         * bufferlist.C: include assert.h for emergencyWrite().
12845
12846 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12849           give up at last (bug #425202) !
12850
12851 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * lyx_gui_misc.C:
12854         * sp_form.h:
12855         * sp_form.C:
12856         * spellchecker.h:
12857         * spellchecker.C: strip spellchecker options and bring up
12858           preferences tab instead
12859
12860 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12861
12862         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12863         the istringstream constructor
12864
12865 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12866
12867         * paragraph.C (getLayout): fix return value
12868
12869         * paragraph.h: do not declare getLayout as inline.
12870
12871         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12872
12873 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * lyxcursor.h (operator<): new func
12876         (operator>): new func
12877         (operator>=): new func
12878         (operator<=): new func
12879
12880         * text.C (changeCase): use selection.start and selection.end
12881         (changeRegionCase): require from to be <= to. Require par to be a
12882         valid paragraph.
12883
12884         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12885
12886 2001-06-27  Juergen Vigna  <jug@sad.it>
12887
12888         * text.C (cursorLeftOneWord): changed to return the cursor and added
12889         overlay with BufferView * parameter which calls this one.
12890         (getWord): added
12891         (selectWord): use new getWord function.
12892         (changeCase): renamed from changeWordCase as and extended to work
12893         also on selections.
12894
12895         * lyxtext.h: added enum word_location
12896
12897         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12898         changeCase as this operates now also on selections.
12899
12900 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12901
12902         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12903
12904         * many files: send debug output to Debug::INFO instead of
12905         Debug::ANY.
12906
12907         * converter.C (View):
12908         (Convert):
12909         (Move): send debug output to Debug::FILES instead of console.
12910
12911 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12912
12913         * lyxfunc.C (getStatus): use func_status
12914
12915         * func_status.h: new header, describing the results of
12916         LyXFunc::getStatus;
12917
12918         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12919         LFUN_MATH_HALIGN.
12920
12921 2001-06-25  The LyX Project  <jug@sad.it>
12922
12923         * buffer.C (sgmlOpenTag):
12924         (sgmlCloseTag):
12925         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12926
12927 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text2.C: remove some dead code
12930
12931         * tabular.C (GetCellInset): store the last cell checked (gotten)
12932
12933         * tabular.h: add the helper for the speedup
12934
12935         * lyxtext.h: remove some dead code
12936
12937 2001-06-26  The LyX Project  <Asger>
12938
12939         * paragraph.C: Change export to LaTeX of alignment to
12940         \begin{center} and family for better roundtrip work with reLyX.
12941
12942         * Tune the math drawing a bit.
12943
12944 2001-06-25  The LyX Project  <Asger>
12945
12946         * LColor.C (LColor): New color for math background. New color
12947         for buttons.
12948
12949 2001-06-25  The LyX Project  <jug@sad.it>
12950
12951         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12952
12953         * lyxfunc.C (Open):
12954         * bufferlist.C (newFile): do not restrict to files ending with
12955         .lyx
12956
12957         * BufferView_pimpl.C (MenuInsertLyXFile):
12958
12959 2001-06-24  The LyX Project  <jug@sad.it>
12960
12961         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12962         of compare_no_case
12963
12964 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * lyxtext.h: rename most methods to begin with a small char.
12967         Lots of changes because of this.
12968
12969         * paragraph.C (Paragraph): do not call fitToSize
12970         (erase): call Pimpl::erase
12971         (insertChar): call Pimpl::insertChar
12972         (insertInset): call Pipl::insertInset
12973         (breakParagraph): do not call fitToSize
12974         (breakParagraphConservative): do not call fitToSize
12975         (fitToSize): remove method
12976
12977         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12978
12979 2001-06-24  The LyX Project  <Asger>
12980
12981         * Fix Qt compilation^2
12982
12983 2001-06-24  The LyX Project  <jug@sad.it>
12984
12985         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12986         depthHook(getDepth()-1).
12987
12988         * paragraph.h:
12989         * ParagraphParameters.h:
12990         * ParameterStruct.h: change type of depth to unsigned int ==
12991         depth_type. Many adaptations to other files before of that.
12992
12993 2001-06-24  The LyX Project  <Asger>
12994
12995         * Fix Qt compilation.
12996
12997 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * paragraph.h: renamed several methods to begin with small letter.
13000         several changes to many parts of the code because of this.
13001
13002 2001-06-23  The LyX Project  <jug@sad.it>
13003
13004         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13005         rewritten to discard all double spaces when KeepEmpty is off
13006         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13007         to only handle newlines but not fiddle with spaces and friends.
13008
13009         * lyxfunc.C (MenuNew): when doing 'new from template', use
13010         template_path as default directory
13011
13012 2001-06-23  The LyX Project  <Asger>
13013
13014         * Clean-up of header file includes all over
13015         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13016
13017 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * paragraph.h: renamed from lyxparagraph.h
13020
13021 2001-06-23  Asger  <lyx@violet.home.sad.it>
13022
13023         * Buffer.h: Removed Buffer::resize
13024         * BufferList.h: Removed BufferList::resize
13025         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13026         the document lazily when we change the width, or the font settings.
13027
13028 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13031
13032 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * buffer.h: remove out of date comment
13035
13036 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13037
13038         * lyxscreen.h:
13039         * screen.C: fix "theoretical" GC leak
13040
13041 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13042
13043         * LaTeX.C (scanAuxFile):
13044         (deplog): remove trailing \r when reading stream (useful under
13045         win32)
13046
13047 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13048
13049         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13050         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13051         and BufferView::theLockingInset(Inset*), so should use them and not
13052         access bv_->text->the_locking_inset directly.
13053
13054         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13055
13056 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * Makefile.am:
13059         * tex-defs.h: remove old unused file
13060
13061 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13062
13063         * BufferView_pimpl.C: fix typo, remove minibuffer message
13064           when buffer has loaded
13065
13066 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * lyxfunc.C (Dispatch): use stringstream
13069         (MenuNew): use stringstream
13070         (Open): use stringstream
13071
13072         * importer.C (Import): use stringstream
13073
13074         * bufferview_funcs.C (CurrentState): use stringstream
13075
13076         * LaTeX.C (run): use stringstream
13077
13078         * BufferView_pimpl.C (savePosition): use stringstream
13079         (restorePosition): use stringstream
13080         (MenuInsertLyXFile): use stringstream
13081
13082 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * BufferView.C:
13085         * Bullet.C:
13086         * ColorHandler.C:
13087         * FontInfo.C:
13088         * FontLoader.C:
13089         * LColor.C:
13090         * LaTeXFeatures.C:
13091         * Painter.C:
13092         * gettext.C:
13093         * lyx_gui_misc.C:
13094         * lyxserver.C:
13095         * vspace.C: removed // -*- C++ -*- as first line.
13096
13097         * lyxfind.h:
13098         * version.h: added // -*- C++ -*- as first line.
13099
13100 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13103
13104         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13105         of string
13106
13107 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13110         of floats.
13111
13112 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * gettext.C: include LString.h even when --disable-nls is on.
13115
13116 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * converter.h (Get): changed argument type from int to
13119         FormatList::size_type to avoid unnecessary conversion.
13120
13121         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13122         before using it.
13123
13124 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * gettext.h: include LString.h even when --disable-nls is on.
13127
13128 2001-06-07  Juergen Vigna  <jug@sad.it>
13129
13130         * text.C (BreakAgain): subst spaces with tabs.
13131
13132         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13133         (resizeInsetsLyXText): set force on resizeLyXText.
13134
13135 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * gettext.h (gettext_init):
13138         (locale_init): use a real definition instead of a macro
13139
13140 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13141
13142         * Bufferview_pimpl.C:
13143         * LColor.h:
13144         * LColor.C: further lcolor tidies
13145
13146 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * BufferView_pimpl.C (updateScrollbar): simplify.
13149
13150         * BufferView2.C: don't include insets/insetinfo.h, change
13151         prototype for insertInset and call the Pimpl version. let
13152         updateInset call Pimpl version.
13153
13154         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13155         gotoInset to BufferView::Pimpl
13156
13157 2001-06-01  Juergen Vigna  <jug@sad.it>
13158
13159         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13160         inside a LockingInset (is the update needed at all?).
13161
13162 2001-05-31  Juergen Vigna  <jug@sad.it>
13163
13164         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13165         here not the old one otherwise how should we compare it afterwards
13166         if it's the same!
13167
13168 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * lyxfont.C:
13171         * tabular.C:
13172         * tabular-old.C:
13173         * FontInfo.C: bring C functions into global namespace when
13174         necessary
13175
13176 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13177
13178         * LString.h: make sure config.h has been loaded before LString.h.
13179
13180         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13181         (one for each char read by EatLine!).
13182
13183         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13184         variables.
13185
13186 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13189         to the same as the par we break from
13190
13191 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13194
13195         * MenuBackend.C (expand): also create menu entries for wide
13196         versions of the floats.
13197
13198         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13199
13200         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13201
13202         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13203         frontends/Makefile.am
13204
13205         * text2.C: adjust
13206         * text.C: adjust
13207
13208
13209         * tabular.C (getTokenValue): add std::
13210
13211         * tabular-old.C (getTokenValue): add std::
13212         (getTokenValue): ditto
13213         (getTokenValue): ditto
13214
13215         * screen.C (ToggleSelection): adjust
13216
13217         * lyxtext.h: put selection cursors inside a Selection struct.
13218
13219         * lyxfunc.C (moveCursorUpdate): adjust
13220
13221         * lyxfont.C (latexWriteStartChanges): add std::
13222
13223         * lyxfind.C: adjust
13224
13225         * font.h: delete with(char const *, LyXFont const &)
13226
13227         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13228
13229         * FontInfo.C (getFontname): add std::
13230
13231         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13232         (workAreaButtonPress): adjust
13233         (tripleClick): adjust
13234         (update): adjust
13235         (moveCursorUpdate): adjust
13236         (Dispatch): adjust
13237
13238         * BufferView2.C (gotoInset): adjust
13239
13240 2001-05-30  Juergen Vigna  <jug@sad.it>
13241
13242         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13243         to check pspell I add this as default as I now have new pspell
13244         libraries and they seem to use this.
13245
13246 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * text2.C (CutSelection): make the cursor valid before the call to
13249         ClearSelection.
13250
13251 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13254         relied on 0 terminated strings and other horrors. Bug found due to
13255         the new assert in lyxstring!
13256
13257         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13258         KP_ keys.
13259
13260 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13263         to latinkeys.bind.
13264
13265         * lyxfunc.C (processKeySym): change method of getting to the
13266         self-insert char.
13267
13268         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13269         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13270         * BufferView_pimpl.[Ch]: here as private methods.
13271
13272 2001-05-28  Juergen Vigna  <jug@sad.it>
13273
13274         * text.C (SetHeightOfRow): added the update() call again as it is
13275         needed to initialize inset dimensions!
13276
13277 2001-05-16  Juergen Vigna  <jug@sad.it>
13278
13279         * text2.C (SetCharFont): Add new function with BufferView * and
13280         bool toggleall parameters for setting insets internal fonts.
13281         (SetFont): Freeze the undo as we may change fonts in Insets and
13282         all this change should be inside only one Undo!
13283
13284         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13285         setting font's in insets as for them we have the SetFont function!
13286
13287 2001-05-15  Juergen Vigna  <jug@sad.it>
13288
13289         * text2.C (ClearSelection): to be sure we REALLY don't have any
13290         selection anymore!
13291
13292         * tabular.C (TeXCellPreamble): fixed the left border problem for
13293         multicolumn cells.
13294
13295 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13296
13297         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13298         dependancy file
13299
13300 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13303         LFUN_BREAKPARAGRAPH.
13304
13305         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13306         help test to "internal only", similar for LFUN_INSERT_URL
13307
13308         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13309         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13310         auto_region_delete and deadkeys.
13311
13312 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * LColor.h:
13315         * LColor.C: remove some dead entries, tidy a little
13316
13317 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13320         commented code.
13321         (Dispatch): implement LFUN_ESCAPE
13322
13323         * commandtags.h: add LFUN_ESCAPE
13324
13325         * LyXAction.C (init): add entry for LFUN_ESCAPE
13326
13327         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13328         Remove commented code.
13329         (insertNote): moved here
13330         (open_new_inset): moved here
13331
13332         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13333         BufferView_pimpl
13334
13335 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * kbmap.C (findbinding): clean it up and make it work correctly.
13338
13339         * lyx_main.C (init): do not pass argc and argv as parameters
13340
13341 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13342
13343         * buffer.C: fix path for OS/2 & Win32
13344
13345         * lyx_gui.C:
13346         * lyx_main:
13347         * lyx_main.C: Added os:: class.
13348
13349         * os2_defines.h: update
13350
13351 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13354         better by trying again with reduced state.
13355
13356 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * lyxrc.C (read): print error about invalid key sequence only when
13359         debugging (because not all latinX keysyms are known to some X
13360         servers)
13361
13362         * kbsequence.C (getiso): add a few std:: qualifiers
13363         (getiso): comment out extra return statement.
13364
13365 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13368         handling.
13369         (Dispatch): enhance the accent inset a bit. (not perfect)
13370
13371 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13374
13375 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13376
13377         * bufferlist.C (emergencyWrite): fix assert() call
13378
13379 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13380
13381         * text.C (InsertChar): Added trivial patch to only send the "you
13382         can not do multiple spaces this way" message once during a
13383         session.
13384
13385 2001-05-08  Baruch Even  <baruch@lyx.org>
13386
13387         * Makefile.am: Changed order of libraries to get LyX to link properly
13388         with the gnome frontend.
13389
13390 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13391
13392         * LaTeXFeatures.h: add a std:: qualifier
13393
13394 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * paragraph.C (String): use stringstream
13397
13398 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * paragraph.C (writeFile): remove footflag arg
13401
13402         * buffer.C (makeLaTeXFile): use stringstream
13403         (latexParagraphs): remove footnot gurba
13404
13405         * LaTeXFeatures.C (getPackages): use stringstream
13406         (getMacros): likewise
13407         (getTClassPreamble): likewise
13408         (getFloatDefinitions): new method
13409
13410         * paragraph.C (writeFile): reindent
13411         (Erase): reindent
13412
13413         * WorkArea.h: revert the xpos + etc changes.
13414
13415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13416
13417         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13418
13419         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13420         (pasteSelection): likewise
13421         * text2.C (CreateUndo): likewise
13422
13423 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * minibuffer.C (peek_event): temporarily reduce the functionality
13426         of the minibuffer (to allow args on lfuns)
13427
13428         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13429         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13430
13431         * buffer.C (readInset): add compability reading of old float
13432         lists, add reading of new style float list.
13433         (readInset): avoid reevaluation of inscmd.getCmdName()
13434         (getLists): reindent
13435
13436         * MenuBackend.C (MenuItem): implement parsing of
13437         md_floatlistinsert and md_floatinsert.
13438         (expand::LastFiles): move initalizaton of iterators out of loop,
13439         avoid reevaluation.
13440         (expand::Documents): introduce typdedef vector<string> Strings,
13441         and use it.
13442         (expand::ExportFormats): introduce typedef vector<Format const *>
13443         Formats, and use it.
13444         (expand): implement FloatListInsert and FloatInsert.
13445
13446         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13447         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13448         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13449
13450         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13451         handling.
13452         (Dispatch::LFUN_FLOAT_LIST): implement
13453
13454 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13455
13456         * LaTeX.C (run): Fix problem with --export code.
13457
13458 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * BufferView.[Ch] (workarea): removed.
13461         (getClipboard) new method; wrapper for workarea()->getClipboard()
13462
13463         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13464         bug.
13465
13466         * WorkArea.h (width, height, xpos, ypos): These methods all
13467         returned the dimensions of the work_area sub-area of WorkArea,
13468         resulting in a position error if the WorkArea were resized. Now
13469         return the dimensions of the entire WorkArea.
13470
13471         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13472
13473 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * LaTeX.C (deplog): correct the syntax of regex reg1
13476
13477 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13478
13479         * undo.C: remove !NEW_INSETS cruft
13480
13481 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * text2.C: remove !NEW_INSETS cruft
13484
13485         * text.C: remove !NEW_INSETS cruft
13486
13487         * tabular.C: remove !NEW_INSETS cruft
13488
13489         * spellchecker.C: remove !NEW_INSETS cruft
13490
13491         * lyxtext.h: remove !NEW_INSETS cruft
13492
13493         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13494
13495         * lyxfunc.C: remove !NEW_INSETS cruft
13496
13497         * lyxfind.C: remove !NEW_INSETS cruft
13498
13499         * lyx_cb.C: remove !NEW_INSETS cruft
13500
13501         * figureForm.C: remove  !NEW_INSETS cruft
13502
13503         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13504
13505         * buffer.[Ch]: remove !NEW_INSETS cruft
13506
13507         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13508
13509         * CutAndPaste.C: remove !NEW_INSETS cruft
13510
13511         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13512
13513         * BufferView2.C: remove !NEW_INSETS cruft
13514
13515         * BufferView.h: remove !NEW_INSETS cruft
13516
13517 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * Lsstream.h: include LString.h before the sstream headers to
13520         fix problem with gcc 2.95.3 and lyxstring
13521
13522 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * lyx_main.C: add using directives when needed for C functions
13525         declared in std:: namespace.
13526
13527 2001-04-27  Juergen Vigna  <jug@sad.it>
13528
13529         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13530         (SetHeightOfRow): comment out the update call should not be needed!
13531
13532 2001-04-13  Juergen Vigna  <jug@sad.it>
13533
13534         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13535         (LyXTabular): tried to minimize operator= operations (and realized
13536         hopfully Lars wish).
13537
13538 2001-04-27  Juergen Vigna  <jug@sad.it>
13539
13540         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13541
13542 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13545
13546         * buffer.C (readInset): hack to make listof algorithm work
13547
13548         * BufferView_pimpl.C: hack to make listof algorithm work
13549
13550 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * LyXAction.C: removed all !NEW_INSETS cruft
13553         (init): moved lfun_item in method
13554
13555         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13556
13557 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * BufferView2.C (theLockingInset): white space.
13560
13561 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * minibuffer.C: include <iostream>
13564
13565         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13566
13567         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13568
13569         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13570
13571         * text.[Ch] (TransposeChars): new method
13572
13573 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * call message directly through LyXView instead of through LyXFunc
13576         * BufferView2.C: adjust
13577         * BufferView_pimpl.C: adjust
13578         * FontLoader.C: adjust
13579         * buffer.C: adjust
13580         * bufferview_funcs.C: adjust
13581         * converter.C: adjust
13582         * figureForm.C: adjust
13583         * importer.C: adjust
13584         * lyx_cb.C: adjust
13585         * lyx_gui_misc.C: adjust
13586         * lyxfunc.C: adjust
13587         * lyxvc.C: adjust
13588         * text2.C: adjust
13589         + more files in subdirs
13590
13591         * lyxparagraph.h (size): move up int file
13592         (GetLayout): ditto
13593
13594         * adjust all uses of Assert to lyx::Assert.
13595
13596         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13597         lyxfunctional in namespace lyx
13598         * layout.C (hasLayout): ditto
13599         (GetLayout): ditto
13600         (GetLayout): ditto
13601         (delete_layout): ditto
13602         (NumberOfClass): ditto
13603         * converter.C (GetFormat): ditto
13604         (GetNumber): ditto
13605         (Add): ditto
13606         (Delete): ditto
13607         (SetViewer): ditto
13608         * bufferlist.C (getFileNames): ditto
13609         (emergencyWriteAll): ditto
13610         (exists): ditto
13611         (getBuffer): ditto
13612         * MenuBackend.C (hasSubmenu): ditto
13613         (hasMenu): ditto
13614         (getMenu): ditto
13615         * BufferView_pimpl.C (getInsetByCode): ditto
13616
13617 2001-04-18  Juergen Vigna  <jug@sad.it>
13618
13619         * vspace.C (asLatexString): fixed the 100% problem.
13620
13621 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * lyxfunc.C (Dispatch):
13624         * minibuffer.C:
13625         * minibuffer.h: add a few std:: qualifiers
13626
13627 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * minibuffer.[Ch]: reimplement so that commands is initiated and
13630         run from lyxfunc, simplified som handling, and made the completion
13631         and history code for complete. wip.
13632
13633         * lyxfunc.C (processKeySym): call message
13634         (miniDispatch): new temporary method
13635         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13636         (LFUN_MESSAGE): implement
13637         (LFUN_MESSAGE_PUSH): implement
13638         (LFUN_MESSAGE_POP): implement
13639         (initMiniBuffer): the initial/defualt minibuffer message.
13640
13641         * lyxfont.[Ch]: inline some more getters
13642
13643         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13644
13645         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13646
13647         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13648         (AutoSave): use LFUN_MESSAGE
13649         (Reconfigure): ditto
13650
13651         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13652
13653         * figureForm.C: use LFUN_MESSAGE
13654
13655         * converter.C (runLaTeX): use LFUN_MESSAGE
13656
13657         * bufferview_funcs.C: use LFUN_MESSAGE
13658         (Melt): ditto
13659         (changeDepth): ditto
13660
13661         * bufferparams.h: use boost::
13662
13663         * bufferlist.h: inherit privately from noncopyable
13664
13665         * bufferlist.C (loadLyXFile): remove some commented code.
13666
13667         * buffer.C (runChktex): use LFUN_MESSAGE
13668
13669         * ShareContainer.h: inherit privately from noncopyable
13670
13671         * ParagraphParameters.[hC] (depth): inline it.
13672
13673         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13674         methods.
13675         (message): new method
13676         (messagePush): ditto
13677         (messagePop): ditto
13678         (show): init minibuffer
13679         (showState): direct call
13680
13681         * LaTeX.[Ch]: inherit privately from noncopyable
13682         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13683         instead of WriteStatus.
13684
13685         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13686
13687         * BufferView_pimpl.C (buffer): don't init minibuffer
13688         (workAreaButtonPress): use LFUN_MESSAGE
13689         (workAreaButtonRelease): ditto
13690         (savePosition): ditto
13691         (restorePosition): ditto
13692         (MenuInsertLyXFile): ditto
13693         (workAreaExpose): don't init minibuffer
13694         (update): remove commented code, simplify
13695
13696         * BufferView2.C (openStuff): use LFUN_MESSAGE
13697         (toggleFloat): ditto
13698         (menuUndo): ditto
13699         (menuRedo): ditto
13700         (copyEnvironment): ditto
13701         (pasteEnvironment): ditto
13702         (copy): ditto
13703         (cut): ditto
13704         (paste): ditto
13705         (gotoInset): ditto
13706         (updateInset): remove some commented code
13707
13708         * lastfiles.h: inherit privately from noncopyable
13709         * layout.h: ditto
13710         * lyx_gui.h: ditto
13711         * lyx_main.h: ditto
13712         * lyxlex.h: ditto
13713         * lyxlex_pimpl.h: ditto
13714
13715         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13716         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13717         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13718
13719         * LyXAction.h: inherit privately from noncopyable, add methods
13720         func_begin, func_end, returning iterators to the func map.
13721
13722         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13723         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13724         (func_begin): new method
13725         (func_end): new method
13726
13727         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13728         and not)
13729         (copySelection): ditto
13730         (pasteSelection): ditto
13731
13732         * BufferView.C: whitespace change
13733         * BufferView.h: inherit privately from noncopyable
13734
13735 2001-04-16  Allan Rae  <rae@lyx.org>
13736
13737         * tabular-old.C (l_getline):
13738         * spellchecker.C (sc_check_word):
13739         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13740         an unrecognised preprocessor directive.  So ensure they're wrapped.
13741
13742 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13743
13744         * src/exporter.C (Export): Give an error message when path to file
13745         contains spaces.
13746
13747 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13748
13749         * LaTeX.C (deplog): Always check that foundfile exists.
13750
13751 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * lyx_main.h:
13754         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13755
13756 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * tabular.[Ch] (getLabelList): implement new method
13759
13760         * minibuffer.h: comment ouf setTiimer
13761
13762         * minibuffer.C (ExecutingCB): constify res
13763         (peek_event): constify s
13764         (Set): constify ntext
13765         (Init): constify nicename
13766
13767         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13768
13769         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13770         (savePosition): use two params to Minibuffer::Set
13771         (restorePosition): ditto
13772
13773 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * lyx_main.C: include language.h
13776
13777         * Makefile.am (lyx_main.o): add language.h
13778
13779 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * exporter.C:
13782         * paragraph.C:
13783         * screen.C:
13784         * tabular.C:
13785         * CutAndPaste.C: include gettext.h
13786
13787         * lyxfont.h: remove old hack with ON and OFF.
13788
13789         * lyxparagraph.h:
13790         * lyxfont.h: do not include language.h...
13791
13792         * BufferView2.C:
13793         * LaTeXFeatures.C:
13794         * Painter.C:
13795         * bufferview_funcs.C:
13796         * font.C:
13797         * lyxfont.C:
13798         * text.C:
13799         * text2.C:
13800         * trans_mgr.C:
13801         * paragraph.C: ... but do it here instead
13802
13803 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13806
13807         * tabular.C: small reformat
13808
13809         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13810         NEW_INSETS version
13811         (GetChar): ditto
13812         (BreakParagraph): ditto
13813         (SetOnlyLayout): ditto
13814         (SetLayout): ditto
13815
13816         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13817         with one arg less.
13818
13819         * lastfiles.C: removed most using decl, add std:: where needed
13820
13821         * buffer.C: ws changes
13822
13823         * MenuBackend.C (class compare_format): put into anon namespace
13824         (expand): constify label, names, action, action2
13825         (expand):
13826
13827         * text.C (SingleWidth): constify font
13828         (IsBoundary): constify rtl2
13829         (GetVisibleRow): constify ww
13830
13831         * LaTeX.C (deplog): constify logfile
13832
13833         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13834         start_x, end_x
13835         (workAreaExpose): constify widthChange, heightChange
13836
13837         * lyxrow.C (par): moved
13838         (height): moved
13839         (next): moved
13840         * lyxrow.h: as inlines here
13841
13842         * lyxfont.h (shape): moved from lyxfont.C
13843         (emph): moved from lyxfont.C
13844
13845         * lyxfont.C (LyXFont): use initialization list for all
13846         constructors
13847         (shape): move to lyxfont.h as inline
13848         (emph): move to lyxfont.h as inline
13849
13850
13851 2001-04-04  Juergen Vigna  <jug@sad.it>
13852
13853         * vspace.C: had to include stdio.h for use of sscanf
13854
13855 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * BufferView.h:
13858         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13859         independent of xforms.
13860
13861 2001-04-02  Juergen Vigna  <jug@sad.it>
13862
13863         * spellchecker.C: fixed namespace placing!
13864
13865 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13868         the LyXParagraph * is 0.
13869
13870 2001-03-29  Juergen Vigna  <jug@sad.it>
13871
13872         * vspace.C: added support for %, c%, p%, l%.
13873         (stringFromUnit): added helper function.
13874         (asLatexString): changed to give right results for the %-values.
13875
13876         * buffer.C: convert the widthp in a width%.
13877
13878 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13879
13880         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13881         figureForm.[Ch].
13882
13883         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13884         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13885
13886         * lyx_cb.[Ch]: see above.
13887
13888         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13889         form1.[Ch].
13890
13891         * form1.[Ch]:
13892         * lyx.[Ch]: replaced by figure_form.[Ch].
13893
13894         * lyx_gui.C:
13895         * lyx_gui_misc.C:
13896         * lyxfunc.C: changed headers associated with above changes.
13897
13898 2001-03-27  Juergen Vigna  <jug@sad.it>
13899
13900         * BufferView_pimpl.C: set the temporary cursor right!
13901
13902 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13903
13904         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13905
13906 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13907
13908         * LString.h: removed "using std::getline"!
13909
13910         * BufferView_pimpl.C (Dispatch): changes due to changes in
13911         InsetInclude::Params.
13912
13913         * buffer.C (tag_name): removed redundant break statements as they were
13914         producing lots of warnings with my compiler.
13915
13916 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13917
13918         * LString.h: add "using std::getline" when using the real <string>.
13919
13920 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13921
13922         * buffer.C: removed bitset usage.
13923         PAR_TAG moved to an anonymous name space.
13924         (tag_name): new funtion, also in the anonymous namespace.
13925         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13926         (makeDocBookFile): clean code. Completed transition from string arrays
13927         to string vectors.
13928         (SimpleDocBookOnePar): code clean.
13929
13930 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13931
13932         * tabular.C: add some comments.
13933
13934 2001-03-22  Juergen Vigna  <jug@sad.it>
13935
13936         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13937         compatibility read a bit and fixed bug with minipage in different
13938         depth.
13939
13940 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13941
13942         * buffer.C (pop_tag): removed.
13943         (push_tag): removed.
13944         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13945         array replaced with vector. Added support for CDATA sections.
13946         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13947         at any nest level.
13948         (makeDocBookFile): XML conformant declaration of CDATA section,
13949         fixed bug related to <emphasis> in the first paragraph char.
13950         (sgmlOpenTag): exclude empty tags.
13951         (sgmlCloseTag): ditto.
13952
13953         * buffer.h (pop_tag): removed.
13954         (push_tag): removed.
13955
13956 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13957
13958         * language.h (Languages): added size_type and size().
13959
13960 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13961
13962         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13963         response on compability reading of minipages. One probliem is that
13964         the old usage of minipages was «flertydig»
13965
13966         * several files here and in subdirs: don't use static at file
13967         scope use anon namespaces instead.
13968
13969 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13970
13971         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13972         LaTeX output. This is necessary for Literate document
13973         processing.
13974
13975 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13976
13977         * buffer.C: insert hfill when needed.
13978
13979         * tabular.C (l_getline): use string::erase, small whitespace change.
13980
13981         * BufferView_pimpl.C: try the anon namespace.
13982         * WorkArea.C: ditto
13983
13984 2001-03-16  Juergen Vigna  <jug@sad.it>
13985
13986         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13987         otherwise it won't open options-dialogs.
13988
13989         * buffer.C: honor pextraWidth(p) on converting minipages.
13990
13991         * tabular.C (l_getline): changed the functions to strip trailing \r.
13992
13993 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13994
13995         * BufferView_pimpl.C:
13996         * minibuffer..C: added "using SigC::slot" declaration.
13997
13998 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13999
14000         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14001
14002         * text2.C: ditto
14003
14004         * text.C: ditto
14005
14006         * paragraph.C: ditto
14007
14008         * lyxtext.h: NO_PEXTRA
14009
14010         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14011
14012         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14013         * ParameterStruct.h: ditto
14014         * ParagraphParameters.h: ditto
14015         * lyxparagraph.h: ditto
14016
14017 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14018
14019         * buffer.C: add compability for minipage alignment.
14020         (latexParagraphs): remove unwanted pextra check.
14021
14022         * several files: remove CXX_WORKING_NAMESPACES
14023
14024         * buffer.C (pop_tag): tie is in namespace boost
14025
14026         * BufferView.h: noncopyable is in namespace boost
14027         * lyxlex.h: ditto
14028         * lyx_main.h: ditto
14029         * lyx_gui.h: ditto
14030         * layout.h: ditto
14031         * lastfiles.h: ditto
14032         * bufferlist.h: ditto
14033         * ShareContainer.h: ditto
14034         * LyXView.h: ditto
14035         * LyXAction.h: ditto
14036         * LaTeX.h: ditto
14037
14038 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * Merging changes from BRANCH_MVC back into HEAD.
14041
14042         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14043
14044 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14045
14046         * BufferView_pimpl.C: change from intl.C
14047
14048         * combox.h:
14049         * combox.C:
14050         * Makefile.am: move combox.*
14051
14052         * form1.h:
14053         * form1.C:
14054         * lyx_gui.C:
14055         * intl.h:
14056         * intl.C: remove dialog (covered by prefs)
14057
14058 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14059
14060         * lyxfunc.C (Dispatch): removed redundant break statement.
14061
14062 2001-03-14  Juergen Vigna  <jug@sad.it>
14063
14064         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14065
14066 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14067
14068         * buffer.C: add hack to fix compability reading of minipages.
14069
14070 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14071
14072         * buffer.C (getLists): Cleanup.
14073
14074 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * lyxfont.C (update): don't honor toggleall on font size.
14077
14078 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * bmtable.c:
14081         * bmtable.h:
14082         * Makefile.am: moved to frontends/xforms/
14083
14084         * lyx_gui_misc.C:
14085         * lyxfunc.C:
14086         * BufferView_pimpl.C: changes for moved mathpanel
14087
14088 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14089
14090         * gettext.h: fix gettext_init() in --disable-nls
14091
14092 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14095
14096 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14097
14098         * lyx.C:
14099         * lyx.h: strip external form
14100
14101 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14102
14103         * BufferView_pimpl.C: add comment, destroySplash()
14104
14105 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * BufferView_pimpl.C:
14108         * LyXAction.C:
14109         * buffer.C:
14110         * commandtags.h:
14111         * lyxfunc.C: use re-worked insetinclude
14112
14113 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14114
14115         * buffer.C: add using std::stringstream.
14116
14117         * lyx_cb.C: readd using std::ios.
14118
14119         * buffer.C: add using std::map.
14120
14121         * BufferView_pimpl.C: add using std::vector.
14122
14123         * ShareContainer.h: add std:: to swap.
14124
14125         * buffer.h: add some typedefs
14126         * buffer.C (getLists): use them
14127         (getLists): renamed from getTocList.
14128         add a counter for the different float types and use it in the
14129         generated string.
14130         (getLists): use the same counter for the NEW_INSETS and the "non"
14131         NEW_INSETS
14132
14133         * lyx_cb.h: remove unused items, includes, using etc.
14134
14135         * ShareContainer.h: remove some commented code, add more comments
14136         and "documentation".
14137
14138 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14139
14140         * buffer.C (getTocList): make the list also when NEW_INSETS is
14141         defined.
14142
14143         * buffer.h: remove TocType
14144
14145         * buffer.C (getTocList): change to return a map<string,
14146         vector<TocItem> >, implement for dynamic number of list.
14147
14148         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14149         * text2.C (PasteSelection): adjust
14150         * CutAndPaste.C (pasteSelection): adjust
14151
14152         * FloatList.C (FloatList): update from the new_insets branch.
14153         * Floating.[Ch]: ditto
14154         * LaTeXFeatures.C: ditto
14155         * buffer.C: ditto
14156         * lyxlex_pimpl.C: ditto
14157
14158         * paragraph.C (Last): remove when NEW_INSETS is defined.
14159
14160         * other file: changes because of the above.
14161
14162 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14163
14164         * lyxparagraph.h: rename next to next_, previous to previous_,
14165         make them private for NEW_INSETS. Rename Next() to next(),
14166         Previous() to previous().
14167
14168         * other files: changes because of the above.
14169
14170 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * BufferView.h:
14173         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14174         problem.
14175
14176 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14177
14178         * main.C (main): pass lyx_localedir to gettext_init().
14179
14180         * gettext.h: remove locale_init and gettext_init macros
14181
14182         * gettext.C (locale_init): new function
14183         (gettext_init): new function
14184
14185         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14186         setlocale().
14187
14188 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14189
14190         * Moved credits to frontends:
14191         * credits.[Ch]: removed
14192         * credits_form.[Ch]: removed
14193         * lyx_gui_misc.C: remove credits stuff
14194         * Makefile.am:
14195
14196 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14197
14198         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14199
14200         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14201         unneeded destructor.
14202
14203         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14204         a standalone pointer again.
14205
14206         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14207
14208 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * Makefile.am:
14211         * filedlg.h:
14212         * filedlg.C:
14213         * LyXAction.C:
14214         * ToolbarDefaults.C:
14215         * bufferlist.C:
14216         * commandtags.h:
14217         * form1.C:
14218         * form1.h:
14219         * lyx_cb.C:
14220         * lyx_cb.h:
14221         * lyxfunc.h:
14222         * lyxfunc.C:
14223         * BufferView_pimpl.C: use new file dialog in GUII
14224
14225         * lyx_cb.h:
14226         * lyx_cb.C: remove LayoutsCB to Toolbar
14227
14228 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * ShareContainer.h (get): add std:: qualifier
14231
14232 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * ShareContainer.h: define a proper ShareContainer::value_type
14235         type (and use typename to please compaq cxx)
14236
14237 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14238
14239         * lyxparagraph.h: move serveral local vars to
14240         ParameterStruct/ParagraphParameters., use ShareContainer in
14241         FontTable., make vars in FontTable private and add getter and
14242         setter.
14243
14244         * paragraph.C: changes because of the above.
14245
14246         * lyxfont.h: remove copy constructor and copy assignment. (the
14247         default ones is ok), move number inside FontBits. move inlines to
14248         lyxfont.C
14249
14250         * lyxfont.C: add number to initializaton of statics, move several
14251         inlines here. constify several local vars. some whitespace
14252         cleanup. Dont hide outerscope variables.
14253
14254         * Spacing.h: add two new constructors to match the set methods.
14255
14256         * ShareContainer.h: new file, will perhaps be moved to support
14257
14258         * ParameterStruct.h: new file
14259
14260         * ParagraphParameters.h: new file
14261
14262         * ParagraphParameters.C: new file
14263
14264         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14265         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14266
14267         * BufferView_pimpl.C: ParagraphParameter changes.
14268         * buffer.C: Likewise.
14269         * bufferview_funcs.C: Likewise.
14270         * text.C: Likewise.
14271         * text2.C: Likewise.
14272
14273 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * lyxfind.C (LyXReplace): do not redefine default argument in
14276         implementation.
14277         (IsStringInText): ditto
14278         (SearchForward): ditto
14279         (SearchBackward): ditto
14280
14281 2001-03-06  Juergen Vigna  <jug@sad.it>
14282
14283         * lyxfind.C (IsStringInText): put parentes around expressions.
14284
14285 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14286
14287         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14288
14289 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14290
14291         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14292
14293         * stl_string_fwd.h: add comment
14294
14295         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14296
14297         * tabular.h:
14298         * tabular.C: remove unused DocBook methods
14299
14300         * intl.C:
14301         * language.C:
14302         * paragraph.C:
14303         * buffer.C:
14304         killed DO_USE_DEFAULT_LANGUAGE
14305
14306 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * lyx_gui.C: do not include language.h.
14309
14310         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14311         arguments in function implementation.
14312
14313 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14314
14315         * BufferView_pimpl.C: add <ctime>
14316
14317 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14318
14319         * BufferView_pimpl.C: add using std::find_if
14320
14321 2001-02-27  José Matos  <jamatos@fep.up.pt>
14322
14323         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14324         by OnlyPath.
14325
14326 2001-02-11  José Matos  <jamatos@fep.up.pt>
14327
14328         * buffer.C (makeDocBookFile): command styles now have a parameter as
14329         "title" by default.
14330
14331 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14332
14333         * layout_forms.[Ch]: removed
14334         * lyx_cb.[Ch]: out character
14335         * lyx_gui.C: out character
14336         * lyx_gui_misc.C: out character
14337         * bufferview_funcs.C: : out character,
14338         added toggleall as parameter in ToggleAndShow
14339
14340 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14341
14342         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14343
14344         * text2.C (SetCurrentFont): Disable number property at boundary.
14345
14346 2001-02-26  Juergen Vigna  <jug@sad.it>
14347
14348         * lyxfunc.C (getStatus): added a string argument override function so
14349         that this is correctly called from LyXFunc::Dispatch if it contains a
14350         do_not_use_argument which is used!
14351         (Dispatch): added check for "custom" export and call appropriate func.
14352
14353 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14354
14355         * lyxrc.C: Add language_command_local, language_use_babel and
14356         language_global_options.
14357
14358         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14359
14360         * buffer.C (makeLaTeXFile): Use language_use_babel and
14361         language_global_options.
14362
14363 2001-02-23  Juergen Vigna  <jug@sad.it>
14364
14365         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14366         which works with LyXText and putted it inside BufferView. Here now we
14367         only call for that part the BufferView::Dispatch() function.
14368
14369         * BufferView.C (Dispatch): added.
14370
14371         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14372         functions which needs to use a LyXText over from LyXFunc.
14373         (MenuInsertLyXFile): added
14374         (getInsetByCode): added
14375         (moveCursorUpdate): added
14376         (static TEXT): added
14377
14378 2001-02-22  Juergen Vigna  <jug@sad.it>
14379
14380         * BufferView_pimpl.C (update): call a status update to see if LyXText
14381         needs it.
14382
14383 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14384
14385         * vc-backend.C (revert): implement for CVS
14386         (getLog): implement for CVS
14387
14388 2001-02-20  Juergen Vigna  <jug@sad.it>
14389
14390         * text2.C (ClearSelection): added BufferView param for inset_owner call
14391
14392         * lyxfunc.C (TEXT): added this function and use it instead of
14393         directly owner->view()-text of getLyXText().
14394
14395 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14396
14397         * src/layout_forms.C: out preamble
14398         * src/layout_forms.h: out preamble
14399         * src/lyx_cb.C: out preamble
14400         * src/lyx_cb.h: out preamble
14401         * src/lyx_gui.C: out preamble
14402         * src/lyx_gui_misc.C: out preamble
14403         * src/lyxfunc.C: connect with guii preamble
14404
14405 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14406
14407         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14408
14409 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14410
14411         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14412         whether to run bibtex.
14413
14414 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14415
14416         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14417
14418 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14419
14420         * Makefile.am (lyx_SOURCES): removed bibforms.h
14421
14422         * vspace.h: doxygen
14423
14424         * text.C (GetVisibleRow): make several local vars const
14425
14426         * tabular.C: small cleanup.
14427
14428         * lyxserver.C (callback): use compare instead of strncmp
14429
14430         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14431         inlines to after class or to paragraph.C
14432
14433         * lyxfont.h: remove friend operator!=
14434
14435         * converter.h: move friend bool operator< to non friend and after
14436         class def.
14437
14438         * combox.h: small cleanup
14439
14440         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14441         to inlines after class def.
14442
14443         * buffer.C (pop_tag): use string operations instead of strcmp
14444
14445         * bmtable.c: doxygen, small cleanup
14446
14447         * LaTeX.h: remove friend operator==
14448
14449 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14450
14451         * screen.C:
14452         * lyxrc.[Ch]:
14453         * lyxfunc.C:
14454         * lyxfont.[Ch]:
14455         * lyx_cb.C:
14456         * intl.[Ch]:
14457         * commandtags.h:
14458         * buffer.C:
14459         * WorkArea.[Ch]:
14460         * LyXAction.C:
14461         * BufferView_pimpl.C:
14462         * BufferView.[Ch]: remove cruft
14463
14464 2001-02-14  Juergen Vigna  <jug@sad.it>
14465
14466         * lyxfunc.C: removed #if 0 unused code
14467
14468         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14469
14470         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14471
14472         * text2.C (SetSelection): added a BufferView * parameter
14473
14474 2001-02-13  Juergen Vigna  <jug@sad.it>
14475
14476         * lyxfunc.C (Dispatch): fixed protected blank problem.
14477         * BufferView2.C (protectedBlank): added LyxText * parameter.
14478
14479         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14480         (AppendColumn): same as above for column_info.
14481
14482         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14483         (moveCursorUpdate): use a LyXText param for support of InsetText.
14484
14485         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14486         (tripleClick): ditto
14487
14488         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14489
14490         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14491
14492         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14493
14494         * text2.C (SetSelection): set correct update status if inset_owner
14495         (ToggleFree): ditto
14496
14497 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14498
14499         * tabular.C: remove some commented code.
14500
14501 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * BufferView_pimpl.C: call hideSplash()
14504
14505         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14506
14507         * include_form.h:
14508         * bibforms.h: remove
14509
14510         * lyxfunc.C:
14511         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14512           add LFUN_CHILD_CREATE
14513
14514         * counters.h: fix tiny typo
14515
14516         * lyx_cb.C:
14517         * lyx.h:
14518         * lyx_gui.C:
14519         * lyx.C: move splash to frontends/xforms/
14520
14521         * lyx_gui_misc.C: move Include and Bibform to frontends
14522
14523         * lyxvc.h: clarify comment
14524
14525         * vspace.C: tiny housekeeping
14526
14527 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14528
14529         * text.C (PrepareToPrint): RTL Fix.
14530
14531         * paragraph.C (GetUChar): New method.
14532         (String):  Use GetUChar.
14533
14534         * buffer.C (asciiParagraph): Use GetUChar.
14535
14536 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14537
14538         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14539
14540 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * buffer.h:
14543         * buffer.C: rename to getLogName(), handle
14544           build log / latex log nicely
14545
14546 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * MenuBackend.C:
14549         * MenuBackend.h: remove support for reference menuitem type.
14550
14551 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14552
14553         * BufferView_pimpl.C: housekeeping
14554         * BufferView_pimpl.h:
14555         * LyXView.h:
14556         * Makefile.am:
14557         * Timeout.C:
14558         * Timeout.h:
14559         * minibuffer.h: move Timeout GUI-I
14560
14561 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * lyxrc.C (read): Update converters data-structures.
14564
14565 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14566
14567         * LaTeX.h (operator!=): add operator != for Aux_Info
14568
14569 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14572
14573         * LaTeXLog.C: deleted, useful code moved to Buffer
14574
14575         * buffer.h:
14576         * buffer.C: new function getLatexLogName()
14577
14578         * lyx_gui_misc.C:
14579         * lyx_gui.C:
14580         * lyxvc.C:
14581         * lyxvc.h:
14582         * lyxfunc.C: use frontends for LaTeX and VC logs
14583
14584 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * LaTeX.h: yet another std:: that Allan forgot.
14587
14588         * Variables.C (set): renamed from isset(), because this clashes
14589         with some HP-UX macros (grr).
14590
14591 2001-02-06  Allan Rae  <rae@lyx.org>
14592
14593         * LaTeX.h: Another bug fix.  Missing std:: this time.
14594
14595 2001-02-04  Allan Rae  <rae@lyx.org>
14596
14597         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14598         floats problem. I've left it commented out because it's not quite
14599         correct.  It should also test that the current object is a table or
14600         figure inset.  But I haven't gotten around to figuring out how to do
14601         that.  I *think* it'll be something like: "table" == inset.type()
14602
14603         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14604         bool.
14605
14606 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14609         all the citation/databases/styles in the auxilary file.
14610         (run): Rerun latex if there was a babel language error.
14611
14612 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * text.C (Backspace): Preserve the font when changing newline char
14615         with a space.
14616         (BreakParagraph): If the cursor is before a space, delete the space.
14617
14618         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14619
14620 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14623         new argument (code).
14624         (ChangeCitationsIfUnique): New method.
14625
14626         * paragraph.C (GetPositionOfInset): Handle bibkey.
14627
14628 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * BufferView_pimpl.h: change type of Position::par_pos to
14631         LyXParagraph::size_type.
14632
14633 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * BufferView_pimpl.C (savePosition, restorePosition): Write
14636         messages to minibuffer.
14637
14638 2001-01-28  José Matos  <jamatos@fep.up.pt>
14639
14640         * buffer.C (makeDocBookFile): adds support for document language.
14641         A silly restriction on the name of LatexCommand types where removed.
14642         Added support for CDATA sections, allows to chars unescaped, used
14643         among others in code, to avoid escape < and >.
14644
14645 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14646
14647         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14648         saved positions instrad of a stack. Furthermore, a position is
14649         stored using paragraph id/paragraph position.
14650
14651         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14652         Remove LFUN_REF_BACK.
14653
14654 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14655
14656         * converter.C (dvipdfm_options): New method.
14657
14658 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14659
14660         * vspace.C (isValidLength): Fix for empty input string.
14661
14662 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * LyXAction.C (init): change description of LFUN_FIGURE to
14665         "Insert Graphics"
14666
14667 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * LaTeX.C: add using directive
14670
14671 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14672
14673         * MenuBackend.C (expand): Fix the sorting of the formats.
14674
14675 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * lyx_main.C: tiny error message fix
14678
14679 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14682         calling fl_initialize(). This fixes the problem with ',' as
14683         decimal separator in text files.
14684
14685 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14686
14687         * trans.C (process): Fix the keymap bug.
14688
14689 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * LaTeX.C (scanAuxFiles): New method. Provides support for
14692         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14693         (scanLogFile) Scan for "run BibTeX" messages.
14694
14695         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14696         OT1 font encoding. Also, load the aecompl package if the ae
14697         package is loaded.
14698
14699         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14700
14701 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * texrow.C (increasePos): turn two error messages into debug
14704         messages.
14705
14706 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14707
14708         * LaTeX.C (scanAux): Handle the \@input macro.
14709         (runBibTeX): Use scanAux().
14710
14711         * language.C (latex_options_): New field.
14712
14713         * LaTeXFeatures.C (getMacros): Add language macros.
14714
14715         * buffer.C (makeLaTeXFile): Small fix.
14716
14717 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14720
14721         * text2.C: add a using directive.
14722
14723 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * BufferView2.C:
14726         * lyx_gui_misc.h:
14727         * lyxfr1.C:
14728         * lyxfunc.C: kill LyXBell.
14729
14730 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14731
14732         * text.C (IsBoundary): Remove the error message
14733
14734         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14735
14736         * lyxrc.C (setDefaults): Correct initialization value for
14737         font_norm_type.
14738
14739 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14740
14741         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14742         gotoError().
14743
14744         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14745         and GotoNextNote().
14746
14747         * src/LyXAction.C: Added reference-next.
14748
14749         * text.C (InsertChar): Use contains instead of strchr.
14750
14751         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14752
14753 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14756         alignment commands (when needed).
14757
14758         * text.C (InsertChar): Add ':' to number separator chars.